mistral/releasenotes/notes/add_dynamic_actions.yaml
ali 9be4f8e119 created a new Api endpoints and added dynamic actions
* added dynamic actions:
     these actions are created and modified in runtime,
     each action needs a code source to be imported from and a
     class name.

 - there are 2 new endpoints:
    - /v2/code_sources/:
       used to add new code sources to mistral.
    - /v2/dynamic_actions/:
      used to add dynamic actions to mistral in runtime

 - a new Action provider (DynamicActionProvider) was added:
    it provides the actions created from the dynamic actions api.

Change-Id: I9fe8c28ffdef71016d9dc13aea60a288c8ebaa0a
Signed-off-by: ali <ali.abdelal@nokia.com>
2020-11-18 10:15:26 +00:00

14 lines
553 B
YAML

---
features:
- |
Now users can upload Python code through the API (code_sources API)
and create actions from it dynamically (using dynamic_actions API).
If needed, actions can be also modified and deleted.
Note that this all doesn't require a Mistral restart.
- |
Added a new endpoint "/v2/code_sources/", this is used to create,
update, delete and get code sources from mistral.
- |
Added a new endpoint "/v2/dynamic_actions/", this is used to create,
update, delete and get dynamic actions from mistral runtime.