mistral/mistral
Renat Akhmerov 453c2a6561 Add YAQL sanitizing for iterators
* This patch also adds handling for iterators in the sanitizing
  function for YAQL results. JSON serialization for iterators now
  works correctly but the issue is that they can be used only once.
  So, for example, if we got a result from YAQL and performed JSON
  serialization for it, then the iterator is already empty and
  the data structure is just corrupted. So we can't further pass
  to executors and other subsystems. The solution is just to sanitize
  iterators after they're just returned from YAQL.
* Added a test to make sure that action input reaches an executor
  not corrupted, although it gets saved into DB and hence serialized
  into JSON.
* Changed the Sphinx entry in requirements.txt so that the version
  3.0.0 is now excluded (it breaks the build).

Closes-Bug: #1871567
Change-Id: I47abe0904b49d72e33eb10080c71fb81980d44da
2020-04-08 16:51:04 +00:00
..
actions Fix serialization of structures that might contain YAQL types 2020-04-02 07:50:41 +00:00
api Fix the global publish for task 2019-10-12 12:21:02 +00:00
auth make user_info_endpoint_url independent of auth_url 2018-10-14 09:21:52 +03:00
cmd Fix YAQL engine initialization 2020-02-26 07:21:19 +00:00
db Fix serialization of structures that might contain YAQL types 2020-04-02 07:50:41 +00:00
engine Add "convert_output_data" config property for YAQL 2020-02-19 16:29:44 +00:00
event_engine [Event-engine] Allow event_engine to work in HA 2018-10-17 16:30:17 +00:00
executors Make action heartbeats work for all executor types 2019-11-18 10:54:21 +00:00
expressions Add YAQL sanitizing for iterators 2020-04-08 16:51:04 +00:00
ext Use the Mistral syntax highlighting on the dsl v2 page 2017-04-06 10:20:34 +01:00
hacking Fix the pep8 commands failed 2017-07-27 22:15:12 +08:00
lang Add "convert_output_data" config property for YAQL 2020-02-19 16:29:44 +00:00
notifiers moved generic util functions from mistral to mistral-lib 2019-09-13 04:06:27 +00:00
policies Add a policy to control the right to publish resources 2018-07-05 11:46:52 +02:00
resources Fix for YaqlEvaluationException in std.create_instance workflow. 2016-07-12 00:29:23 -04:00
rpc Make action heartbeats work for all executor types 2019-11-18 10:54:21 +00:00
scheduler moved generic util functions from mistral to mistral-lib 2019-09-13 04:06:27 +00:00
service moved generic util functions from mistral to mistral-lib 2019-09-13 04:06:27 +00:00
services Set the delayed call "key" field to the right value 2020-02-06 04:17:04 +00:00
tests Add YAQL sanitizing for iterators 2020-04-08 16:51:04 +00:00
utils Fix serialization of structures that might contain YAQL types 2020-04-02 07:50:41 +00:00
workflow Merge "Fix ContextView JSON serialization" into stable/train 2020-03-19 19:52:27 +00:00
__init__.py Remove eventlet monkey patch in mistral __init__ 2015-02-20 07:49:56 +00:00
_i18n.py Update and optimize documentation links 2017-07-19 17:10:49 +08:00
config.py Add "convert_output_data" config property for YAQL 2020-02-19 16:29:44 +00:00
context.py moved generic util functions from mistral to mistral-lib 2019-09-13 04:06:27 +00:00
exceptions.py Change 403 exception message to something more informative and accurate 2019-09-16 10:28:01 +00:00
messaging.py Fix misspell word 2019-09-06 16:04:51 +08:00
version.py Update version.version_string to actually be a string 2018-10-09 11:30:10 -05:00