Renat,
Here's the blueprint.
https://blueprints.launchpad.net/mistral/+spec/mistral-runtime-context
I'm proposing to add *args and **kwargs to the __init__ methods of all
actions. The action context can be passed as a dict in the kwargs. The
global context and the env context can be provided here as well. Maybe put
all these different context under a kwarg called context?
For example,
ctx = {
"env": {...},
"global": {...},
"runtime": {
"execution_id": ...,
"task_id": ...,
...
}
}
action = SomeMistralAction(context=ctx)
WDYT?
Winson
_______________________________________________
OpenStack-dev mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev