* 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/564966 /git.openstack. org/cgit/ openstack/ mistral/ commit/ ?id=5e56a28608d 9b3a37a26a89c4d 4bf2a78cfb1683
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 5e56a28608d9b3a 37a26a89c4d4bf2 a78cfb1683
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