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