* This patch adds a utility that helps serialize data into a JSON
string that might contain some non-standard data types like
generators iterators and frozen dicts coming from YAQL. The
utility uses oslo.serialization project that already takes care
of iterators and any kinds of custom dicts. And in addition, it
handles generators (assuming a generator represents an iterable
similar to an iterator).
* Unit tests.
* Added YAQL into requirements and bumped the version of
oslo.serialization to make sure to have the "fallback" parameter
in "jsonutils.to_primitive"
Change-Id: I2fe891525bc86beb92aecf9ac2d8a490837c47d3
Babel is used for i18n - we can re-add it if needed.
Neither testscenarios, testtools or oslotest are used in the current tests.
These provide testing utilities and can be added later if we use them.
Change-Id: If2ba0ddd902671d29b765497b420e7b4a4b14963
This patch includes the initial data types, serialization,
string utilities, base exception classes and defines a
base action that includes a context argument.
The mistral_lib.api namespace was also removed in favor of
following the python convention of using an underscore to
denote private methods and considering all other methods
public.
This patch removes code previously added as a placeholder
to match the spec. As of the Atlanta PTG, the purpose of
this library is now to store common code used within Mistral
ecosystem and 3rd party integration interfaces including
the Custom Actions API and Custom YAQL Functions API.
Change-Id: I77da3cd6eba6c5a9953656d432bc959bd3747ada
Partially-Implements: blueprint mistral-custom-actions-api
Partially-Implements: blueprint mistral-actions-api-main-entities