Aligned attributes of CDS components
[ccsdk/cds.git] / components / model-catalog / definition-type / starter-type / node_type / component-remote-script-executor.json
1 {
2   "description": "Generic Remote Script Component Executor",
3   "version": "1.0.0",
4   "attributes": {
5     "response-data": {
6       "description": "Remote executed response data.",
7       "required": false,
8       "type": "json"
9     },
10     "status": {
11       "description": "Remote execution status.",
12       "required": true,
13       "type": "string"
14     }
15   },
16   "interfaces": {
17     "ComponentRemoteScriptExecutor": {
18       "operations": {
19         "process": {
20           "description": "ComponentRemoteScriptExecutor Operation",
21           "inputs": {
22             "blueprint-version": {
23               "description": "Blueprint version.",
24               "required": true,
25               "type": "string"
26             },
27             "blueprint-name": {
28               "description": "Blueprint name.",
29               "required": true,
30               "type": "string"
31             },
32             "selector": {
33               "description": "Remote GRPC selector or DSL reference or GRPC Json config.",
34               "required": true,
35               "type": "json"
36             },
37             "blueprint-action": {
38               "description": "Blueprint action name.",
39               "required": true,
40               "type": "string"
41             },
42             "timeout": {
43               "description": "Remote execution timeout in sec.",
44               "required": true,
45               "type": "integer",
46               "default": 180
47             },
48             "request-data": {
49               "description": "Dynamic Json Content or DSL Json reference.",
50               "required": false,
51               "type": "json"
52             }
53           },
54           "outputs": {
55             "response-data": {
56               "description": "Execution Response Data.",
57               "required": false,
58               "type": "string"
59             },
60             "status": {
61               "description": "Status of the Component Execution ( success or failure )",
62               "required": true,
63               "type": "string"
64             }
65           }
66         }
67       }
68     }
69   },
70   "derived_from": "tosca.nodes.Component"
71 }