caab5f7ac1e503adf0067209c88549d243677b31
[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": "list",
12       "entry_schema": {
13         "type": "string"
14       }
15     }
16   },
17   "capabilities": {
18     "component-node": {
19       "type": "tosca.capabilities.Node"
20     }
21   },
22   "interfaces": {
23     "ComponentRemotePythonExecutor": {
24       "operations": {
25         "process": {
26           "inputs": {
27             "endpoint-selector": {
28               "description": "Remote Container or Server selector name.",
29               "required": false,
30               "type": "string",
31               "default": "remote-python"
32             },
33             "dynamic-properties": {
34               "description": "Dynamic Json Content or DSL Json reference.",
35               "required": false,
36               "type": "json"
37             },
38             "argument-properties": {
39               "description": "Argument Json Content or DSL Json reference.",
40               "required": false,
41               "type": "json"
42             },
43             "command": {
44               "description": "Command to execute.",
45               "required": true,
46               "type": "string"
47             },
48             "packages": {
49               "description": "Packages to install based on type.",
50               "required": false,
51               "type" : "list",
52               "entry_schema" : {
53                 "type" : "dt-system-packages"
54               }
55             }
56           }
57         }
58       }
59     }
60   },
61   "derived_from": "tosca.nodes.Component"
62 }