0884cd0ff0
* Implemented new object model * Implemented spec validation * Old DSL parser was deleted * All code is replaced by new workbook spec * Also tests are fixed * events -> triggers * Unit tests Implements: blueprint mistral-dsl-model Partially implements: blueprint mistral-dsl-validation Partially implements: blueprint mistral-rename-event-to-trigger Change-Id: I782b7983ddc724375229587f467c55ad9341478b |
||
---|---|---|
doc/source | ||
etc | ||
mistral | ||
scripts | ||
tools | ||
.gitignore | ||
.gitreview | ||
.pylintrc | ||
AUTHORS | ||
LICENSE | ||
openstack-common.conf | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Mistral
Task Orchestration and Scheduling service for OpenStack cloud
Running in development mode
### Installation First of all, in a shell run:
tox
This will install necessary virtual environments and run all the project tests. Installing virtual environments may take significant time (~10-15 mins).
### Running Mistral API server To run Mistral API server perform the following command in a shell:
tox -evenv -- python mistral/cmd/api.py --config-file path_to_config
Note that an example configuration file can be found in etc/mistral.conf.example.
### Running Mistral Task Executors To run Mistral Task Executor instance perform the following command in a shell:
*tox -evenv -- python mistral/cmd/task_executor.py --config-file path_to_config*
Note that at least one Executor instance should be running so that workflow tasks are processed by Mistral.
### Debugging To debug the engine, create etc/mistral.conf with the settings:: [engine] engine = mistral.engine.local.engine [pecan] auth_enable = False
and run in pdb, PyDev or PyCharm:
mistral/cmd/api --config-file etc/mistral.conf --use-debugger