mistral/mistral/services
Renat Akhmerov 80a1bed67b Simplify workflow and join completion logic
* action_queue module is replaced with the more generic
  post_tx_queue module that allows to register operations that must
  run after the main DB transaction associated with processing a
  workflow event such as completing action.
* Instead of calling workflow completion check from all places
  where task may possibly complete, Mistral now registers a post
  transactional operation that runs after the main DB transaction
  (to make sure at least one needed consistent DB read) right
  inside the task completion logic. It reduces clutter significantly.
* Workflow completion check is now registered only if the just
  completed task may lead to workflow completion, i.e. if it's the
  last one in a workflow branch.
* Join now checks delayed calls to reduce a number of join
  completion checks created with scheduler and also uses post
  transactional queue for that.

Closes-Bug: #1801872
Change-Id: I90741d4121c48c42606dfa850cfe824557b095d0
2018-11-09 14:17:20 +07:00
..
__init__.py Added periodic events 2013-12-05 19:01:22 +04:00
action_execution_checker.py Simplify workflow and join completion logic 2018-11-09 14:17:20 +07:00
action_execution_reporter.py A mechanism to close stuck running action executions 2018-06-12 14:15:15 +00:00
action_manager.py Use the new action context in MistralHTTPAction 2017-12-11 22:42:48 +00:00
actions.py Rename package 'workbook' to 'lang' 2017-03-06 15:41:37 +07:00
expiration_policy.py Modify log infomation to achieve the same format 2017-11-20 09:04:54 +00:00
periodic.py Make cron-triggers not play catchup 2018-06-14 09:49:24 +01:00
scheduler.py Added the limit on selection of delayed calls 2018-01-21 13:16:50 +04:00
security.py [Triggers] Fix running openstack actions via triggers 2017-08-09 11:49:09 +03:00
triggers.py Fix WF execution getting stuck on null description 2018-04-02 15:00:36 +05:30
workbooks.py Remove extra a specification validation 2018-07-30 11:55:35 +04:00
workflows.py Make task execution logging more readable and informative 2018-10-01 11:37:48 +07:00