1e02cef4a59913add57d878fe6bae250060693af
[ccsdk/cds.git] /
1 {
2   "node_types": {
3     "component-sample-executor": {
4       "description": "This is Sample Component API",
5       "version": "1.0.0",
6       "interfaces": {
7         "ComponentSampleExecutor": {
8           "operations": {
9             "process": {
10               "inputs": {
11                 "sample-property": {
12                   "description": "Sample Property.",
13                   "required": true,
14                   "type": "string"
15                 },
16                 "sample-list-property": {
17                   "description": "Dependent Step Components NodeTemplate name.",
18                   "required": true,
19                   "type": "list",
20                   "entry_schema": {
21                     "type": "string"
22                   }
23                 },
24                 "dynamic-properties": {
25                   "description": "Dynamic Json Content or DSL Json reference.",
26                   "required": false,
27                   "type": "json"
28                 }
29               },
30               "outputs": {
31                 "response-data": {
32                   "description": "Execution Response Data in JSON format.",
33                   "required": false,
34                   "type": "string"
35                 },
36                 "status": {
37                   "description": "Status of the Component Execution ( success or failure )",
38                   "required": true,
39                   "type": "string"
40                 }
41               }
42             }
43           }
44         }
45       },
46       "derived_from": "tosca.nodes.Component"
47     },
48     "tosca.nodes.Component": {
49       "description": "This is default Component Node",
50       "version": "1.0.0",
51       "derived_from": "tosca.nodes.Root"
52     }
53   }
54 }