5c9503fc3d4e1131ba9628128ba7d9cc3fd856b9
[ccsdk/cds.git] /
1 {
2   "description": "This is Remote Python Execution Component.",
3   "version": "1.0.0",
4   "attributes": {
5     "prepare-environment-logs": {
6       "required": false,
7       "type": "string"
8     },
9     "execute-command-logs": {
10       "required": false,
11       "type": "string"
12     }
13   },
14   "capabilities": {
15     "component-node": {
16       "type": "tosca.capabilities.Node"
17     }
18   },
19   "interfaces": {
20     "ComponentRemotePythonExecutor": {
21       "operations": {
22         "process": {
23           "inputs": {
24             "endpoint-selector": {
25               "description": "Remote Container or Server selector name.",
26               "required": false,
27               "type": "string",
28               "default": "remote-python"
29             },
30             "dynamic-properties": {
31               "description": "Dynamic Json Content or DSL Json reference.",
32               "required": false,
33               "type": "json"
34             },
35             "command": {
36               "description": "Command to execute.",
37               "required": true,
38               "type": "string"
39             },
40             "packages": {
41               "description": "Packages to install based on type.",
42               "required": true,
43               "type" : "list",
44               "entry_schema" : {
45                 "type" : "dt-system-packages"
46               }
47             }
48           }
49         }
50       }
51     }
52   },
53   "derived_from": "tosca.nodes.Component"
54 }