b978506d227efee7de8585ce1156a421c8c6275b
[ccsdk/cds.git] /
1 {
2   "tosca_definitions_version": "controller_blueprint_1_0_0",
3   "metadata": {
4     "template_author": "Brinda Santh Muthuramalingam",
5     "author-email": "brindasanth@in.ibm.com",
6     "user-groups": "ADMIN, OPERATION",
7     "template_name": "remote_scripts",
8     "template_version": "1.0.0",
9     "template_tags": "brinda, tosca"
10   },
11   "imports": [
12     {
13       "file": "Definitions/data_types.json"
14     },
15     {
16       "file": "Definitions/relationship_types.json"
17     },
18     {
19       "file": "Definitions/artifact_types.json"
20     },
21     {
22       "file": "Definitions/node_types.json"
23     },
24     {
25       "file": "Definitions/policy_types.json"
26     }
27   ],
28   "topology_template": {
29     "workflows": {
30       "execute-remote-python": {
31         "steps": {
32           "execute-script": {
33             "description": "Execute Remote Python Script",
34             "target": "execute-remote-python",
35             "activities": [
36               {
37                 "call_operation": ""
38               }
39             ]
40           }
41         },
42         "inputs": {}
43       }
44     },
45     "node_templates": {
46       "execute-remote-python": {
47         "type": "component-remote-python-executor",
48         "interfaces": {
49           "ComponentRemotePythonExecutor": {
50             "operations": {
51               "process": {
52                 "implementation": {
53                   "primary": "component-script",
54                   "dependencies": [
55                     "ncclient"
56                   ]
57                 },
58                 "inputs": {
59                   "endpoint-selector": "default"
60                 },
61                 "outputs": {
62                   "response-data": "",
63                   "status": "success"
64                 }
65               }
66             }
67           }
68         },
69         "artifacts": {
70           "component-script": {
71             "type": "artifact-script-python",
72             "file": "Scripts/python/SamplePython.py"
73           }
74         }
75       }
76     }
77   }
78 }