7c279010d8c1a0db5e297c29a684ad3bf4ad62c4
[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         "outputs": {
44           "logs": {
45             "type": "json",
46             "value": {
47               "get_attribute": [
48                 "execute-remote-python",
49                 "execution-logs"
50               ]
51             }
52           }
53         }
54       }
55     },
56     "node_templates": {
57       "execute-remote-python": {
58         "type": "component-remote-python-executor",
59         "interfaces": {
60           "ComponentRemotePythonExecutor": {
61             "operations": {
62               "process": {
63                 "implementation": {
64                   "primary": "component-script",
65                   "dependencies": [
66                     "pyaml"
67                   ]
68                 }
69               }
70             }
71           }
72         },
73         "artifacts": {
74           "component-script": {
75             "type": "artifact-script-python",
76             "file": "Scripts/python/SamplePython.py"
77           }
78         }
79       }
80     }
81   }
82 }