mistral/mistral/tests/unit/workflow
Renat Akhmerov a4287a5e63 Avoid storing workflow input in task inbound context
* 'in_context' field of task executions changed its semantics to
  not store workflow input and other data stored in the initial
  workflow context such as openstack security context and workflow
  variables, therefore task executions occupy less space in DB
* Introduced ContextView class to avoid having to merge
  dictionaries every time we need to evaluate YAQL functions
  against some context. This class is a composite structure
  built on top of regular dictionaries that provides priority
  based lookup algorithm over these dictionaries. For example,
  if we need to evaluate an expression against a task inbound
  context we just need to build a context view including
  task 'in_context', workflow initial context (wf_ex.context)
  and workflow input dictionary (wf_ex.input). Using this
  class is a significant performance boost
* Fixed unit tests
* Other minor changes

Change-Id: I7fe90533e260e7d78818b69a087fb5175b9d5199
2016-09-21 13:32:44 +03:00
..
__init__.py Implementing DSL specification v2 (partially) 2014-08-13 11:14:29 +07:00
test_direct_workflow.py Avoid storing workflow input in task inbound context 2016-09-21 13:32:44 +03:00
test_reverse_workflow.py Optimize finder functions for task executions 2016-09-07 13:18:19 +02:00
test_states.py Remove unused logging import 2016-01-15 12:42:47 +08:00
test_with_items.py Towards non-locking model: make 'with-items' work w/o locks 2016-08-09 11:20:12 +07:00
test_workflow_base.py Refactor workflow controller and fix a bug in _fail_workflow() 2016-03-28 14:49:36 +07:00