diff options
author | Brinda Santh <brindasanth@in.ibm.com> | 2019-04-12 17:13:02 -0400 |
---|---|---|
committer | Alexis de Talhouƫt <adetalhouet89@gmail.com> | 2019-04-16 10:38:51 -0400 |
commit | b93bdeef411a1593060852da641475a65b3e9f64 (patch) | |
tree | 78a1673a2c5f76cf95c053a4c9d1d4a5277ddba3 /components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/remote_scripts.json | |
parent | bc95a55c61685694a930d659bef336989a04df2f (diff) |
Add remote scripts cba
Change-Id: Icc11ed1f2e229c92a7b46611087bb868ccd265b4
Issue-ID: CCSDK-1215
Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
Diffstat (limited to 'components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/remote_scripts.json')
-rw-r--r-- | components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/remote_scripts.json | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/remote_scripts.json b/components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/remote_scripts.json new file mode 100644 index 000000000..b978506d2 --- /dev/null +++ b/components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/remote_scripts.json @@ -0,0 +1,78 @@ +{ + "tosca_definitions_version": "controller_blueprint_1_0_0", + "metadata": { + "template_author": "Brinda Santh Muthuramalingam", + "author-email": "brindasanth@in.ibm.com", + "user-groups": "ADMIN, OPERATION", + "template_name": "remote_scripts", + "template_version": "1.0.0", + "template_tags": "brinda, tosca" + }, + "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": { + "execute-remote-python": { + "steps": { + "execute-script": { + "description": "Execute Remote Python Script", + "target": "execute-remote-python", + "activities": [ + { + "call_operation": "" + } + ] + } + }, + "inputs": {} + } + }, + "node_templates": { + "execute-remote-python": { + "type": "component-remote-python-executor", + "interfaces": { + "ComponentRemotePythonExecutor": { + "operations": { + "process": { + "implementation": { + "primary": "component-script", + "dependencies": [ + "ncclient" + ] + }, + "inputs": { + "endpoint-selector": "default" + }, + "outputs": { + "response-data": "", + "status": "success" + } + } + } + } + }, + "artifacts": { + "component-script": { + "type": "artifact-script-python", + "file": "Scripts/python/SamplePython.py" + } + } + } + } + } +}
\ No newline at end of file |