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