deb-mistral/mistral/workbook/v2
Lingxian Kong 7a12e30d07 Refactor get_task_spec using mechanism of polymorphic DSL entities
* Changing the way of getting task spec using polymorphic mechanism,
which is the motivation of this patch.

* Moving the type injection in TaskSpec to WorkflowSpec, the 'type'
param is already there when TaskSpec initializing, and we could also
continue to use that for polymorphic mechanism of TaskSpec, and the
subclasses iteration mechanism can also be removed as well.

* Improving the schema validation for TaskSpec, replace the code logic
of prohibition of co-existance between action and workflow in task spec
with jsonschema restriction.

Change-Id: Ia88ce390298d54afc1ee72ebfb67de9056d9f444
2015-09-15 15:29:05 +08:00
..
__init__.py Initial commit for the new engine 2014-08-06 16:24:26 +07:00
actions.py Raising exception if there aren't start tasks in direct workflow 2015-09-08 15:58:03 +06:00
base.py Harden v2 DSL schema for validation 2015-03-27 05:31:04 +00:00
policies.py Raising exception if there aren't start tasks in direct workflow 2015-09-08 15:58:03 +06:00
retry_policy.py Raising exception if there aren't start tasks in direct workflow 2015-09-08 15:58:03 +06:00
task_defaults.py Raising exception if there aren't start tasks in direct workflow 2015-09-08 15:58:03 +06:00
tasks.py Refactor get_task_spec using mechanism of polymorphic DSL entities 2015-09-15 15:29:05 +08:00
workbook.py Getting rid of "policies" keyword 2015-04-17 16:55:36 +06:00
workflows.py Refactor get_task_spec using mechanism of polymorphic DSL entities 2015-09-15 15:29:05 +08:00