Add workflow node template enrichment
[ccsdk/cds.git] / components / model-catalog / definition-type / starter-type / node_type / component-netconf-executor.json
1 {\r
2   "description": "This is Netconf Transaction Configuration Component API",\r
3   "version": "1.0.0",\r
4   "capabilities": {\r
5     "component-node": {\r
6       "type": "tosca.capabilities.Node"\r
7     }\r
8   },\r
9   "requirements": {\r
10     "netconf-connection": {\r
11       "capability": "netconf",\r
12       "node": "vnf-netconf-device",\r
13       "relationship": "tosca.relationships.ConnectsTo"\r
14     }\r
15   },\r
16   "interfaces": {\r
17     "ComponentNetconfExecutor": {\r
18       "operations": {\r
19         "process": {\r
20           "inputs": {\r
21             "script-type": {\r
22               "description": "Script type, kotlin type is supported",\r
23               "required": true,\r
24               "type": "string",\r
25               "default": "internal",\r
26               "constraints": [\r
27                 {\r
28                   "valid_values": [\r
29                     "kotlin",\r
30                     "jython",\r
31                     "internal"\r
32                   ]\r
33                 }\r
34               ]\r
35             },\r
36             "script-class-reference": {\r
37               "description": "Kotlin Script class name or jython script name.",\r
38               "required": true,\r
39               "type": "string"\r
40             },\r
41             "instance-dependencies": {\r
42               "required": true,\r
43               "description": "Instance names to inject to Jython or Kotlin Script.",\r
44               "type": "list",\r
45               "entry_schema": {\r
46                 "type": "string"\r
47               }\r
48             },\r
49             "dynamic-properties": {\r
50               "description": "Dynamic Json Content or DSL Json reference.",\r
51               "required": false,\r
52               "type": "json"\r
53             }\r
54           },\r
55           "outputs": {\r
56             "response-data": {\r
57               "description": "Execution Response Data in JSON format.",\r
58               "required": false,\r
59               "type": "string"\r
60             },\r
61             "status": {\r
62               "description": "Status of the Component Execution ( success or failure )",\r
63               "required": true,\r
64               "type": "string"\r
65             }\r
66           }\r
67         }\r
68       }\r
69     }\r
70   },\r
71   "derived_from": "tosca.nodes.Component"\r
72 }