diff options
author | 2019-03-18 18:29:40 +0000 | |
---|---|---|
committer | 2019-03-18 18:29:40 +0000 | |
commit | 94c1eb878c45e22ebf40aac47580d584bfb3cc0d (patch) | |
tree | 2feea2121eebf2244c475a19ff0c0ecf56a8dc0a /components/model-catalog/blueprint-model/test-blueprint/component_invoke/Definitions/component_invoke.json | |
parent | 9a5eb36cf6f51b2ebbb77fe67898ecc899125e6f (diff) | |
parent | 356b84dca647aab26f560ce01dfd20fb4bc3e1a2 (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 00000000..eeb9815f --- /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 |