Workflow Service for OpenStack.
Go to file
Renat Akhmerov 019cffb3ab Fix ContextView JSON serialization
* With disabled YAQL data output conversion, YAQL may return
  instances of ContextView which can't be properly saved into
  DB. This happens because Mistral serialization code doesn't
  turn on JSON conversion of custom objects, and they are just
  ignored by the "json" lib when it encounters them.
* Fixed how Mistral serializes context for Javascript evaluation
  to address the same problem.
* Implemented __repr__ method of ContextView.
* Removed logging of "data_context" from YAQL evaluation because
  previously it was always empty (because the string represetation
  of ContextView was always "{}") and now it may be very big, like
  megabytes, and the log gets populated too fast. It makes sense to
  log YAQL data context only when an error happened. In this case
  it helps to investigate an issue.
* Added all required unit tests.
* Fixed the tests for disabled YAQL conversion. In fact, they
  didn't test it properly because data conversion wasn't disabled.

Closes-Bug: #1867899
Change-Id: I12b4d0c5f1f49990d8ae09b72f73c0da96254a86
2020-03-19 17:07:42 +07:00
api-ref/source Remove the invalid toctree 2018-01-31 04:16:42 +00:00
devstack Remove OpenStack actions from mistral 2020-02-26 10:12:01 +02:00
doc Merge "Remove OpenStack actions from mistral" 2020-03-06 09:08:24 +00:00
etc Implement policy in code - event trigger (11) 2017-11-27 02:47:50 +00:00
mistral Fix ContextView JSON serialization 2020-03-19 17:07:42 +07:00
playbooks [ussuri][goal] Drop python 2.7 support and testing 2019-11-16 14:07:57 +00:00
rally-jobs Reduce the concurrency in the 500 wb join Rally task 2018-10-17 09:36:29 +01:00
releasenotes Remove OpenStack actions from mistral 2020-02-26 10:12:01 +02:00
tools Remove OpenStack actions from mistral 2020-02-26 10:12:01 +02:00
.coveragerc Exclude .tox folder from coverage report 2016-12-19 03:33:29 +00:00
.dockerignore Update default Docker configuration and documentation 2018-06-10 19:21:18 -05:00
.gitignore Update default Docker configuration and documentation 2018-06-10 19:21:18 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:37:05 +00:00
.stestr.conf Switch to using stestr 2018-05-30 14:46:25 -04:00
.zuul.yaml Remove OpenStack actions from mistral 2020-02-26 10:12:01 +02:00
CONTRIBUTING.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-24 15:44:25 +08:00
HACKING.rst Fix the pep8 commands failed 2017-07-27 22:15:12 +08:00
LICENSE Adding license and authors file 2013-12-30 13:11:49 +07:00
README.rst Fix readme 2020-02-27 17:49:19 +07:00
bindep.txt Add bindep.txt file for binary dependencies used in unit tests 2019-06-27 14:15:29 +00:00
lower-constraints.txt Fix requirements 2020-02-26 10:12:27 +02:00
requirements.txt Fix requirements 2020-02-26 10:12:27 +02:00
run_tests.sh Cap psycopg2 to 2.8.3 2019-10-23 09:26:22 +00:00
setup.cfg Refactor expressions 2020-02-26 12:36:34 +07:00
setup.py Updated from global requirements 2017-03-03 10:17:44 +00:00
test-requirements.txt Fix requirements 2020-02-26 10:12:27 +02:00
tox.ini Update hacking and fix warnings 2020-01-02 17:18:38 +02:00

README.rst

Team and repository tags

image

Mistral

Workflow Service integrated with OpenStack. This project aims to provide a mechanism to define tasks and workflows in a simple YAML-based language, manage and execute them in a distributed environment.

Project Resources