mistral/mistral/rpc
Renat Akhmerov 467f60af09 Make workflow execution creation idempotent
* Made workflow execution creation idempotent. We can now
  pass an execution ID which is used when creating a new
  execution object. If the object with this ID doesn't exist,
  then a new execution is created and this ID is assigned to,
  and also the corresponding workflow gets started normally.
  If the object exists then the endpoint just returns
  properties of this object in JSON w/o starting the workflow.
  If an execution ID is not passed then the endpoint works as
  before, so it is backwards compatible with the previous
  version.
* Added unit tests to check all possible logic branches
  depending on whether we passed an execution ID.
* Had to add "wf_ex_id" paramter to the "start_workflow"
  method of the Engine API and fix all relevant calls.
* Other minor style changes.

Implements blueprint: mistral-idempotent-execution-create

Change-Id: I1f650efbd23b00298a30e16893ca4f18d87c99b3
2018-01-04 14:07:12 +01:00
..
kombu Don't use oslo context get_logging_values 2017-11-24 14:52:42 +01:00
oslo Set access_policy for messaging's dispatcher 2017-06-15 10:23:41 +05:30
__init__.py Make rpc_backend not engine specific 2017-04-27 20:02:40 +00:00
base.py Use get_rpc_transport instead of get_transport 2017-09-14 00:01:04 +05:30
clients.py Make workflow execution creation idempotent 2018-01-04 14:07:12 +01:00