Aligned attributes of CDS components
[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     "status": {
6       "required": true,
7       "type": "string"
8     },
9     "prepare-environment-logs": {
10       "required": false,
11       "type": "string"
12     },
13     "execute-command-logs": {
14       "required": false,
15       "type": "list",
16       "entry_schema": {
17         "type": "string"
18       }
19     },
20     "response-data": {
21       "required": false,
22       "type": "json"
23     }
24   },
25   "capabilities": {
26     "component-node": {
27       "type": "tosca.capabilities.Node"
28     }
29   },
30   "interfaces": {
31     "ComponentRemotePythonExecutor": {
32       "operations": {
33         "process": {
34           "inputs": {
35             "endpoint-selector": {
36               "description": "Remote Container or Server selector name.",
37               "required": false,
38               "type": "string",
39               "default": "remote-python"
40             },
41             "dynamic-properties": {
42               "description": "Dynamic Json Content or DSL Json reference.",
43               "required": false,
44               "type": "json"
45             },
46             "argument-properties": {
47               "description": "Argument Json Content or DSL Json reference.",
48               "required": false,
49               "type": "json"
50             },
51             "command": {
52               "description": "Command to execute.",
53               "required": true,
54               "type": "string"
55             },
56             "packages": {
57               "description": "Packages to install based on type.",
58               "required": false,
59               "type" : "list",
60               "entry_schema" : {
61                 "type" : "dt-system-packages"
62               }
63             },
64             "env-prepare-timeout": {
65               "description": "Time-out for environment preparation.",
66               "required": false,
67               "type": "integer",
68               "default": 120
69             },
70             "execution-timeout": {
71               "description": "Time-out for the execution step.",
72               "required": false,
73               "type": "integer",
74               "default": 180
75             }
76           },
77           "outputs": {
78             "response-data": {
79               "description": "Execution Response Data.",
80               "required": false,
81               "type": "string"
82             },
83             "status": {
84               "description": "Status of the Component Execution ( success or failure )",
85               "required": true,
86               "type": "string"
87             }
88           }
89         }
90       }
91     }
92   },
93   "derived_from": "tosca.nodes.Component"
94 }