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