diff options
author | 2019-03-18 18:29:40 +0000 | |
---|---|---|
committer | 2019-03-18 18:29:40 +0000 | |
commit | abbaddfd624d9b9185a1ad68aaeddfabd4546e90 (patch) | |
tree | b02bf044986b91c3ed6dd6d28165e48bd674f302 /components/model-catalog/blueprint-model/test-blueprint/component_invoke/Definitions/component_invoke.json | |
parent | 6afa8a4b2ef4f6fa01e3858ed192bf99bea18778 (diff) | |
parent | c4f36ee4781ab90d343a0fe9d4f75da6ad8d970c (diff) |
Merge "Add workflow node template enrichment"
Diffstat (limited to 'components/model-catalog/blueprint-model/test-blueprint/component_invoke/Definitions/component_invoke.json')
-rw-r--r-- | components/model-catalog/blueprint-model/test-blueprint/component_invoke/Definitions/component_invoke.json | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/components/model-catalog/blueprint-model/test-blueprint/component_invoke/Definitions/component_invoke.json b/components/model-catalog/blueprint-model/test-blueprint/component_invoke/Definitions/component_invoke.json new file mode 100644 index 000000000..eeb9815fa --- /dev/null +++ b/components/model-catalog/blueprint-model/test-blueprint/component_invoke/Definitions/component_invoke.json @@ -0,0 +1,88 @@ +{ + "tosca_definitions_version": "controller_blueprint_1_0_0", + "metadata": { + "template_author": "Brinda Santh <brindasanth@in.ibm.com>", + "template_name": "component_invoke", + "template_version": "1.0.0", + "template_tags": "brinda, component_invoke" + }, + "imports": [ + { + "file": "Definitions/data_types.json" + }, + { + "file": "Definitions/relationship_types.json" + }, + { + "file": "Definitions/artifact_types.json" + }, + { + "file": "Definitions/node_types.json" + }, + { + "file": "Definitions/policy_types.json" + } + ], + "topology_template": { + "workflows": { + "component-invoke": { + "steps": { + "activate-process": { + "description": "Sample Component Invocation flow", + "target": "sample-component", + "activities": [ + { + "call_operation": "sample-component" + } + ] + } + }, + "inputs": { + "request-id": { + "required": true, + "type": "string" + }, + "action-name": { + "required": true, + "type": "string" + }, + "scope-type": { + "required": true, + "type": "string" + }, + "hostname": { + "required": true, + "type": "string" + } + } + } + }, + "node_templates": { + "sample-component": { + "type": "component-sample-executor", + "interfaces": { + "ComponentSampleExecutor": { + "operations": { + "process": { + "inputs": { + "sample-property": "sample-value", + "sample-list-property": [ + "json-parser-service" + ], + "dynamic-properties": { + "prop1": "prop1-value", + "prop2": "prop2-value" + } + }, + "outputs": { + "response-data": "", + "status": "" + } + } + } + } + } + } + } + } +}
\ No newline at end of file |