murano/murano
Stan Lagun 6dfeee7e69 Function caller was incorrect when called from Parallel block
Current instruction is tracked as a value in yaql context.
But in Parallel block individual instructions executed in separate
threads. As a result when those threads get scheduled current
instruction in caller context already changes to the last one
(which is a synchronization point for the Parallel block).

To solve this all spawned threads need to work in their own
dedicated child contexts. Then each of those contexts will have
its own "current instruction". However this also brings a side effect:
all local variable modifications made by spawned threads will
be go to those new contexts and will be lost upon exit from Parallel.
To solve this context that local variable need to be in is marked with
special flag. When executing "$var: value" expressions DSL will scan
context chain up to the context with that flag. Currently the only
context with the flag is a method context that defines local variable scope.

Change-Id: I0647915c104dfe4e00dd86c17726245d1bbc3beb
Closes-Bug: #1497772
2015-09-20 19:00:06 +00:00
..
api Show public packages for non-admin users 2015-09-18 12:10:35 +03:00
cmd Log refactoring close to new logging spec 2015-09-09 20:54:26 +03:00
common Fix race condition with router creation 2015-09-14 14:24:18 +00:00
db Merge "Show public packages for non-admin users" 2015-09-18 14:21:25 +00:00
dsl Function caller was incorrect when called from Parallel block 2015-09-20 19:00:06 +00:00
engine Fix an error with wrong argument 2015-09-17 18:26:47 +03:00
locale Rename muranoapi to murano 2014-05-27 15:14:44 +04:00
packages Fix pylint errors 'unused variable' 2015-09-04 14:36:22 +00:00
policy Environment modify actions introduced 2015-09-09 12:47:45 +02:00
services Fixed 500 error in get_result API handler 2015-03-26 15:59:19 +00:00
tests Merge "Show public packages for non-admin users" 2015-09-18 14:21:25 +00:00
__init__.py Extract version definition to a separate file 2014-11-10 13:02:56 +04:00
context.py Inherit RequestContext from oslo_context's RequestContext 2015-08-13 15:12:59 +03:00
opts.py Allow setting eventlet.wsgi.MAX_HEADER_LINE 2015-07-21 13:54:15 +03:00
utils.py Log refactoring close to new logging spec 2015-09-09 20:54:26 +03:00
version.py Extract version definition to a separate file 2014-11-10 13:02:56 +04:00