Merge "Update starter-type"
[ccsdk/cds.git] / components / model-catalog / blueprint-model / test-blueprint / baseconfiguration / Definitions / node_types.json
1 {
2   "node_types": {
3     "component-jython-executor": {
4       "description": "This is Jython Execution Component.",
5       "version": "1.0.0",
6       "capabilities": {
7         "component-node": {
8           "type": "tosca.capabilities.Node"
9         }
10       },
11       "interfaces": {
12         "ComponentJythonExecutor": {
13           "operations": {
14             "process": {
15               "inputs": {
16                 "instance-dependencies": {
17                   "description": "Instance Names to Inject to Jython Script.",
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.Jython"
47     },
48     "component-netconf-executor": {
49       "description": "This is Netconf Transaction Configuration Component API",
50       "version": "1.0.0",
51       "capabilities": {
52         "component-node": {
53           "type": "tosca.capabilities.Node"
54         }
55       },
56       "requirements": {
57         "netconf-connection": {
58           "capability": "netconf",
59           "node": "vnf-netconf-device",
60           "relationship": "tosca.relationships.ConnectsTo"
61         }
62       },
63       "interfaces": {
64         "ComponentNetconfExecutor": {
65           "operations": {
66             "process": {
67               "inputs": {
68                 "script-type": {
69                   "description": "Script type, kotlin type is supported",
70                   "required": true,
71                   "type": "string",
72                   "constraints": [
73                     {
74                       "valid_values": [
75                         "kotlin",
76                         "jython",
77                         "internal"
78                       ]
79                     }
80                   ],
81                   "default": "internal"
82                 },
83                 "script-class-reference": {
84                   "description": "Kotlin Script class name or jython script name.",
85                   "required": true,
86                   "type": "string"
87                 },
88                 "instance-dependencies": {
89                   "description": "Instance names to inject to Jython or Kotlin Script.",
90                   "required": true,
91                   "type": "list",
92                   "entry_schema": {
93                     "type": "string"
94                   }
95                 },
96                 "dynamic-properties": {
97                   "description": "Dynamic Json Content or DSL Json reference.",
98                   "required": false,
99                   "type": "json"
100                 }
101               },
102               "outputs": {
103                 "response-data": {
104                   "description": "Execution Response Data in JSON format.",
105                   "required": false,
106                   "type": "string"
107                 },
108                 "status": {
109                   "description": "Status of the Component Execution ( success or failure )",
110                   "required": true,
111                   "type": "string"
112                 }
113               }
114             }
115           }
116         }
117       },
118       "derived_from": "tosca.nodes.Component"
119     },
120     "component-resource-resolution": {
121       "description": "This is Resource Assignment Component API",
122       "version": "1.0.0",
123       "attributes": {
124         "assignment-params": {
125           "required": true,
126           "type": "string"
127         }
128       },
129       "capabilities": {
130         "component-node": {
131           "type": "tosca.capabilities.Node"
132         }
133       },
134       "interfaces": {
135         "ResourceResolutionComponent": {
136           "operations": {
137             "process": {
138               "inputs": {
139                 "resource-type": {
140                   "description": "Request type.",
141                   "required": false,
142                   "type": "string"
143                 },
144                 "artifact-prefix-names": {
145                   "description": "Template , Resource Assignment Artifact Prefix names",
146                   "required": true,
147                   "type": "list",
148                   "entry_schema": {
149                     "type": "string"
150                   }
151                 },
152                 "request-id": {
153                   "description": "Request Id, Unique Id for the request.",
154                   "required": true,
155                   "type": "string"
156                 },
157                 "resource-id": {
158                   "description": "Resource Id.",
159                   "required": false,
160                   "type": "string"
161                 },
162                 "action-name": {
163                   "description": "Action Name of the process",
164                   "required": false,
165                   "type": "string"
166                 },
167                 "dynamic-properties": {
168                   "description": "Dynamic Json Content or DSL Json reference.",
169                   "required": false,
170                   "type": "json"
171                 }
172               },
173               "outputs": {
174                 "resource-assignment-params": {
175                   "required": true,
176                   "type": "string"
177                 },
178                 "status": {
179                   "required": true,
180                   "type": "string"
181                 }
182               }
183             }
184           }
185         }
186       },
187       "derived_from": "tosca.nodes.Component"
188     },
189     "dg-generic": {
190       "description": "This is Generic Directed Graph Type",
191       "version": "1.0.0",
192       "properties": {
193         "content": {
194           "required": true,
195           "type": "string"
196         },
197         "dependency-node-templates": {
198           "description": "Dependent Step Components NodeTemplate name.",
199           "required": true,
200           "type": "list",
201           "entry_schema": {
202             "type": "string"
203           }
204         }
205       },
206       "derived_from": "tosca.nodes.Workflow"
207     },
208     "source-input": {
209       "description": "This is Input Resource Source Node Type",
210       "version": "1.0.0",
211       "properties": {
212         "key": {
213           "required": false,
214           "type": "string"
215         },
216         "key-dependencies": {
217           "required": true,
218           "type": "list",
219           "entry_schema": {
220             "type": "string"
221           }
222         }
223       },
224       "derived_from": "tosca.nodes.ResourceSource"
225     },
226     "source-processor-db": {
227       "description": "This is Database Resource Source Node Type",
228       "version": "1.0.0",
229       "properties": {
230         "type": {
231           "required": true,
232           "type": "string",
233           "constraints": [
234             {
235               "valid_values": [
236                 "SQL",
237                 "PLSQL"
238               ]
239             }
240           ]
241         },
242         "endpoint-selector": {
243           "required": false,
244           "type": "string"
245         },
246         "query": {
247           "required": true,
248           "type": "string"
249         },
250         "input-key-mapping": {
251           "required": false,
252           "type": "map",
253           "entry_schema": {
254             "type": "string"
255           }
256         },
257         "output-key-mapping": {
258           "required": false,
259           "type": "map",
260           "entry_schema": {
261             "type": "string"
262           }
263         },
264         "key-dependencies": {
265           "required": true,
266           "type": "list",
267           "entry_schema": {
268             "type": "string"
269           }
270         }
271       },
272       "derived_from": "tosca.nodes.ResourceSource"
273     },
274     "source-rest": {
275       "description": "This is Rest Resource Source Node Type",
276       "version": "1.0.0",
277       "properties": {
278         "type": {
279           "required": false,
280           "type": "string",
281           "constraints": [
282             {
283               "valid_values": [
284                 "JSON"
285               ]
286             }
287           ],
288           "default": "JSON"
289         },
290         "endpoint-selector": {
291           "required": false,
292           "type": "string"
293         },
294         "url-path": {
295           "required": true,
296           "type": "string"
297         },
298         "path": {
299           "required": true,
300           "type": "string"
301         },
302         "expression-type": {
303           "required": false,
304           "type": "string",
305           "constraints": [
306             {
307               "valid_values": [
308                 "JSON_PATH",
309                 "JSON_POINTER"
310               ]
311             }
312           ],
313           "default": "JSON_PATH"
314         },
315         "input-key-mapping": {
316           "required": false,
317           "type": "map",
318           "entry_schema": {
319             "type": "string"
320           }
321         },
322         "output-key-mapping": {
323           "required": false,
324           "type": "map",
325           "entry_schema": {
326             "type": "string"
327           }
328         },
329         "key-dependencies": {
330           "required": true,
331           "type": "list",
332           "entry_schema": {
333             "type": "string"
334           }
335         }
336       },
337       "derived_from": "tosca.nodes.ResourceSource"
338     },
339     "tosca.nodes.Component": {
340       "description": "This is default Component Node",
341       "version": "1.0.0",
342       "derived_from": "tosca.nodes.Root"
343     },
344     "tosca.nodes.Workflow": {
345       "description": "This is Directed Graph Node Type",
346       "version": "1.0.0",
347       "derived_from": "tosca.nodes.Root"
348     },
349     "tosca.nodes.ResourceSource": {
350       "description": "TOSCA base type for Resource Sources",
351       "version": "1.0.0",
352       "derived_from": "tosca.nodes.Root"
353     },
354     "tosca.nodes.Vnf": {
355       "description": "This is VNF Node Type",
356       "version": "1.0.0",
357       "derived_from": "tosca.nodes.Root"
358     },
359     "tosca.nodes.component.Jython": {
360       "description": "This is Jython Component",
361       "version": "1.0.0",
362       "derived_from": "tosca.nodes.Root"
363     },
364     "vnf-netconf-device": {
365       "description": "This is VNF Device with Netconf  Capability",
366       "version": "1.0.0",
367       "capabilities": {
368         "netconf": {
369           "type": "tosca.capabilities.Netconf",
370           "properties": {
371             "login-key": {
372               "required": true,
373               "type": "string",
374               "default": "sdnc"
375             },
376             "login-account": {
377               "required": true,
378               "type": "string",
379               "default": "sdnc-tacacs"
380             },
381             "source": {
382               "required": false,
383               "type": "string",
384               "default": "npm"
385             },
386             "target-ip-address": {
387               "required": true,
388               "type": "string"
389             },
390             "port-number": {
391               "required": true,
392               "type": "integer",
393               "default": 830
394             },
395             "connection-time-out": {
396               "required": false,
397               "type": "integer",
398               "default": 30
399             }
400           }
401         }
402       },
403       "derived_from": "tosca.nodes.Vnf"
404     }
405   }
406 }