* Previously, we had two copies of the workflow environment
passed by a user: one was in the 'params' fields under ke 'env'
key and another one was copied into the 'context' field under
the '__env' key so that we can evaluate expressions involving
the env() function (YAQL or Jinja).
This patch removes the copy from the 'context' field in favor
of using an ad-hoc ContextView structure where we now also
weave in the environment dictionary under the same key '__env'.
Reviewed: https:/ /review. openstack. org/564965 /git.openstack. org/cgit/ openstack/ mistral/ commit/ ?id=22759253022 7d23125694f2a6a 42628109e360de
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 227592530227d23 125694f2a6a4262 8109e360de
Author: Renat Akhmerov <email address hidden>
Date: Thu Apr 26 18:10:18 2018 +0700
Get rid of a extra copy of workflow environment
* Previously, we had two copies of the workflow environment
passed by a user: one was in the 'params' fields under ke 'env'
key and another one was copied into the 'context' field under
the '__env' key so that we can evaluate expressions involving
the env() function (YAQL or Jinja).
This patch removes the copy from the 'context' field in favor
of using an ad-hoc ContextView structure where we now also
weave in the environment dictionary under the same key '__env'.
Related-Bug: #1757966 6787d126136a79d d204ec3af07
Change-Id: I1204b082794b37