Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I6a4524c3e0458747646995615535e85cde2e155f
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Workflow resource(returned by workflow-get APIs) has a new JSON field
called 'interface', it contains the inputs and the outputs.
-Both input and output are lists.
-The output list contains the output param names.
-The input list contains the inputs, if the input has a default value,
the entry in the list will be a JSON object, with the name of the
input and the default value, otherwise its the input param name.
For example:
{"input": [ "input_with_no_default_value",
{ "string_input": "some_string" },
{"json_input": {
"defaultKey": "defaultValue"
}}],
"output":["output1","output2"]}
Change-Id: Id9be6c1d9bbe4a4c965530364833e71f8b7cacc6
Implements: blueprint mistral-workflow-outputs-in-wf-apis
Signed-off-by: ali <ali.abdelal@nokia.com>
This change intends to add the following policies:
- actions:publicize
- workflows:publicize
A refactor of the policy tests is included to increase the coverage.
Change-Id: I8bd637f7de63f02c63f3c304cb6f5198fc0c5f42
Closes-Bug: 1779293