Merge "Include orig err in CBA upload errmsg"
[ccsdk/cds.git] / components / model-catalog / blueprint-model / test-blueprint / baseconfiguration / Definitions / node_types.json
1 {
2   "node_types": {
3     "component-cli-executor": {
4       "description": "This is CLI Transaction Configuration Component API",
5       "version": "1.0.0",
6       "capabilities": {
7         "component-node": {
8           "type": "tosca.capabilities.Node"
9         }
10       },
11       "interfaces": {
12         "ComponentCliExecutor": {
13           "operations": {
14             "process": {
15               "inputs": {
16                 "script-type": {
17                   "description": "Script type, kotlin type is supported",
18                   "required": true,
19                   "type": "string",
20                   "constraints": [
21                     {
22                       "valid_values": [
23                         "kotlin",
24                         "jython",
25                         "internal"
26                       ]
27                     }
28                   ],
29                   "default": "internal"
30                 },
31                 "script-class-reference": {
32                   "description": "Kotlin Script class name or jython script name.",
33                   "required": true,
34                   "type": "string"
35                 },
36                 "instance-dependencies": {
37                   "description": "Instance names to inject to Jython or Kotlin Script.",
38                   "required": true,
39                   "type": "list",
40                   "entry_schema": {
41                     "type": "string"
42                   }
43                 },
44                 "dynamic-properties": {
45                   "description": "Dynamic Json Content or DSL Json reference.",
46                   "required": false,
47                   "type": "json"
48                 }
49               },
50               "outputs": {
51                 "response-data": {
52                   "description": "Execution Response Data.",
53                   "required": false,
54                   "type": "string"
55                 },
56                 "status": {
57                   "description": "Status of the Component Execution ( success or failure )",
58                   "required": true,
59                   "type": "string"
60                 }
61               }
62             }
63           }
64         }
65       },
66       "derived_from": "tosca.nodes.Component"
67     },
68     "component-jython-executor": {
69       "description": "This is Jython Execution Component.",
70       "version": "1.0.0",
71       "capabilities": {
72         "component-node": {
73           "type": "tosca.capabilities.Node"
74         }
75       },
76       "interfaces": {
77         "ComponentJythonExecutor": {
78           "operations": {
79             "process": {
80               "inputs": {
81                 "instance-dependencies": {
82                   "description": "Instance Names to Inject to Jython Script.",
83                   "required": true,
84                   "type": "list",
85                   "entry_schema": {
86                     "type": "string"
87                   }
88                 },
89                 "dynamic-properties": {
90                   "description": "Dynamic Json Content or DSL Json reference.",
91                   "required": false,
92                   "type": "json"
93                 }
94               },
95               "outputs": {
96                 "response-data": {
97                   "description": "Execution Response Data in JSON format.",
98                   "required": false,
99                   "type": "string"
100                 },
101                 "status": {
102                   "description": "Status of the Component Execution ( success or failure )",
103                   "required": true,
104                   "type": "string"
105                 }
106               }
107             }
108           }
109         }
110       },
111       "derived_from": "tosca.nodes.Component"
112     },
113     "component-netconf-executor": {
114       "description": "This is Netconf Transaction Configuration Component API",
115       "version": "1.0.0",
116       "capabilities": {
117         "component-node": {
118           "type": "tosca.capabilities.Node"
119         }
120       },
121       "requirements": {
122         "netconf-connection": {
123           "capability": "netconf",
124           "node": "vnf-netconf-device",
125           "relationship": "tosca.relationships.ConnectsTo"
126         }
127       },
128       "interfaces": {
129         "ComponentNetconfExecutor": {
130           "operations": {
131             "process": {
132               "inputs": {
133                 "script-type": {
134                   "description": "Script type, kotlin type is supported",
135                   "required": true,
136                   "type": "string",
137                   "constraints": [
138                     {
139                       "valid_values": [
140                         "kotlin",
141                         "jython",
142                         "internal"
143                       ]
144                     }
145                   ],
146                   "default": "internal"
147                 },
148                 "script-class-reference": {
149                   "description": "Kotlin Script class name or jython script name.",
150                   "required": true,
151                   "type": "string"
152                 },
153                 "instance-dependencies": {
154                   "description": "Instance names to inject to Jython or Kotlin Script.",
155                   "required": true,
156                   "type": "list",
157                   "entry_schema": {
158                     "type": "string"
159                   }
160                 },
161                 "dynamic-properties": {
162                   "description": "Dynamic Json Content or DSL Json reference.",
163                   "required": false,
164                   "type": "json"
165                 }
166               },
167               "outputs": {
168                 "response-data": {
169                   "description": "Execution Response Data in JSON format.",
170                   "required": false,
171                   "type": "string"
172                 },
173                 "status": {
174                   "description": "Status of the Component Execution ( success or failure )",
175                   "required": true,
176                   "type": "string"
177                 }
178               }
179             }
180           }
181         }
182       },
183       "derived_from": "tosca.nodes.Component"
184     },
185     "component-resource-resolution": {
186       "description": "This is Resource Assignment Component API",
187       "version": "1.0.0",
188       "attributes": {
189         "assignment-params": {
190           "required": true,
191           "type": "string"
192         }
193       },
194       "capabilities": {
195         "component-node": {
196           "type": "tosca.capabilities.Node"
197         }
198       },
199       "interfaces": {
200         "ResourceResolutionComponent": {
201           "operations": {
202             "process": {
203               "inputs": {
204                 "resolution-key": {
205                   "description": "Key for service instance related correlation.",
206                   "required": false,
207                   "type": "string"
208                 },
209                 "store-result": {
210                   "description": "Whether or not to store the output.",
211                   "required": false,
212                   "type": "boolean"
213                 },
214                 "resource-type": {
215                   "description": "Request type.",
216                   "required": false,
217                   "type": "string"
218                 },
219                 "artifact-prefix-names": {
220                   "description": "Template , Resource Assignment Artifact Prefix names",
221                   "required": true,
222                   "type": "list",
223                   "entry_schema": {
224                     "type": "string"
225                   }
226                 },
227                 "request-id": {
228                   "description": "Request Id, Unique Id for the request.",
229                   "required": true,
230                   "type": "string"
231                 },
232                 "resource-id": {
233                   "description": "Resource Id.",
234                   "required": false,
235                   "type": "string"
236                 },
237                 "action-name": {
238                   "description": "Action Name of the process",
239                   "required": false,
240                   "type": "string"
241                 },
242                 "dynamic-properties": {
243                   "description": "Dynamic Json Content or DSL Json reference.",
244                   "required": false,
245                   "type": "json"
246                 }
247               },
248               "outputs": {
249                 "resource-assignment-params": {
250                   "required": true,
251                   "type": "string"
252                 },
253                 "status": {
254                   "required": true,
255                   "type": "string"
256                 }
257               }
258             }
259           }
260         }
261       },
262       "derived_from": "tosca.nodes.Component"
263     },
264     "component-restconf-executor": {
265       "description": "This is Restconf Transaction Configuration Component API",
266       "version": "1.0.0",
267       "capabilities": {
268         "component-node": {
269           "type": "tosca.capabilities.Node"
270         }
271       },
272       "interfaces": {
273         "ComponentRestconfExecutor": {
274           "operations": {
275             "process": {
276               "inputs": {
277                 "script-type": {
278                   "description": "Script type, kotlin type is supported",
279                   "required": true,
280                   "type": "string",
281                   "constraints": [
282                     {
283                       "valid_values": [
284                         "kotlin",
285                         "jython",
286                         "internal"
287                       ]
288                     }
289                   ],
290                   "default": "internal"
291                 },
292                 "script-class-reference": {
293                   "description": "Kotlin Script class name or jython script name.",
294                   "required": true,
295                   "type": "string"
296                 },
297                 "instance-dependencies": {
298                   "description": "Instance names to inject to Jython or Kotlin Script.",
299                   "required": true,
300                   "type": "list",
301                   "entry_schema": {
302                     "type": "string"
303                   }
304                 },
305                 "dynamic-properties": {
306                   "description": "Dynamic Json Content or DSL Json reference.",
307                   "required": false,
308                   "type": "json"
309                 }
310               },
311               "outputs": {
312                 "response-data": {
313                   "description": "Execution Response Data in JSON format.",
314                   "required": false,
315                   "type": "string"
316                 },
317                 "status": {
318                   "description": "Status of the Component Execution ( success or failure )",
319                   "required": true,
320                   "type": "string"
321                 }
322               }
323             }
324           }
325         }
326       },
327       "derived_from": "tosca.nodes.Component"
328     },
329     "dg-generic": {
330       "description": "This is Generic Directed Graph Type",
331       "version": "1.0.0",
332       "properties": {
333         "content": {
334           "required": true,
335           "type": "string"
336         },
337         "dependency-node-templates": {
338           "description": "Dependent Step Components NodeTemplate name.",
339           "required": true,
340           "type": "list",
341           "entry_schema": {
342             "type": "string"
343           }
344         }
345       },
346       "derived_from": "tosca.nodes.Workflow"
347     },
348     "source-capability": {
349       "description": "This is Component Resource Source Node Type",
350       "version": "1.0.0",
351       "properties": {
352         "script-type": {
353           "required": true,
354           "type": "string",
355           "constraints": [
356             {
357               "valid_values": [
358                 "kotlin",
359                 "internal",
360                 "jython"
361               ]
362             }
363           ],
364           "default": "kotlin"
365         },
366         "script-class-reference": {
367           "description": "Capability reference name for internal and kotlin, for jython script file path",
368           "required": true,
369           "type": "string"
370         },
371         "instance-dependencies": {
372           "description": "Instance dependency Names to Inject to Kotlin / Jython Script.",
373           "required": false,
374           "type": "list",
375           "entry_schema": {
376             "type": "string"
377           }
378         },
379         "key-dependencies": {
380           "description": "Resource Resolution dependency dictionary names.",
381           "required": true,
382           "type": "list",
383           "entry_schema": {
384             "type": "string"
385           }
386         }
387       },
388       "derived_from": "tosca.nodes.ResourceSource"
389     },
390     "source-default": {
391       "description": "This is Default Resource Source Node Type",
392       "version": "1.0.0",
393       "properties": {},
394       "derived_from": "tosca.nodes.ResourceSource"
395     },
396     "source-input": {
397       "description": "This is Input Resource Source Node Type",
398       "version": "1.0.0",
399       "properties": {},
400       "derived_from": "tosca.nodes.ResourceSource"
401     },
402     "source-processor-db": {
403       "description": "This is Database Resource Source Node Type",
404       "version": "1.0.0",
405       "properties": {
406         "type": {
407           "required": true,
408           "type": "string",
409           "constraints": [
410             {
411               "valid_values": [
412                 "SQL",
413                 "PLSQL"
414               ]
415             }
416           ]
417         },
418         "endpoint-selector": {
419           "required": false,
420           "type": "string"
421         },
422         "query": {
423           "required": true,
424           "type": "string"
425         },
426         "input-key-mapping": {
427           "required": false,
428           "type": "map",
429           "entry_schema": {
430             "type": "string"
431           }
432         },
433         "output-key-mapping": {
434           "required": false,
435           "type": "map",
436           "entry_schema": {
437             "type": "string"
438           }
439         },
440         "key-dependencies": {
441           "required": true,
442           "type": "list",
443           "entry_schema": {
444             "type": "string"
445           }
446         }
447       },
448       "derived_from": "tosca.nodes.ResourceSource"
449     },
450     "source-rest": {
451       "description": "This is Rest Resource Source Node Type",
452       "version": "1.0.0",
453       "properties": {
454         "type": {
455           "required": true,
456           "type": "string",
457           "constraints": [
458             {
459               "valid_values": [
460                 "JSON"
461               ]
462             }
463           ],
464           "default": "JSON"
465         },
466         "verb": {
467           "required": true,
468           "type": "string",
469           "constraints": [
470             {
471               "valid_values": [
472                 "GET",
473                 "POST",
474                 "DELETE",
475                 "PUT"
476               ]
477             }
478           ],
479           "default": "GET"
480         },
481         "payload": {
482           "required": false,
483           "type": "string",
484           "default": ""
485         },
486         "endpoint-selector": {
487           "required": false,
488           "type": "string"
489         },
490         "url-path": {
491           "required": true,
492           "type": "string"
493         },
494         "path": {
495           "required": true,
496           "type": "string"
497         },
498         "expression-type": {
499           "required": false,
500           "type": "string",
501           "constraints": [
502             {
503               "valid_values": [
504                 "JSON_PATH",
505                 "JSON_POINTER"
506               ]
507             }
508           ],
509           "default": "JSON_PATH"
510         },
511         "input-key-mapping": {
512           "required": false,
513           "type": "map",
514           "entry_schema": {
515             "type": "string"
516           }
517         },
518         "output-key-mapping": {
519           "required": false,
520           "type": "map",
521           "entry_schema": {
522             "type": "string"
523           }
524         },
525         "key-dependencies": {
526           "required": true,
527           "type": "list",
528           "entry_schema": {
529             "type": "string"
530           }
531         }
532       },
533       "derived_from": "tosca.nodes.ResourceSource"
534     },
535     "tosca.nodes.Component": {
536       "description": "This is default Component Node",
537       "version": "1.0.0",
538       "derived_from": "tosca.nodes.Root"
539     },
540     "tosca.nodes.ResourceSource": {
541       "description": "TOSCA base type for Resource Sources",
542       "version": "1.0.0",
543       "derived_from": "tosca.nodes.Root"
544     },
545     "tosca.nodes.Vnf": {
546       "description": "This is VNF Node Type",
547       "version": "1.0.0",
548       "derived_from": "tosca.nodes.Root"
549     },
550     "tosca.nodes.Workflow": {
551       "description": "This is Directed Graph Node Type",
552       "version": "1.0.0",
553       "derived_from": "tosca.nodes.Root"
554     },
555     "vnf-netconf-device": {
556       "description": "This is VNF Device with Netconf  Capability",
557       "version": "1.0.0",
558       "capabilities": {
559         "netconf": {
560           "type": "tosca.capabilities.Netconf",
561           "properties": {
562             "login-key": {
563               "required": true,
564               "type": "string",
565               "default": "sdnc"
566             },
567             "login-account": {
568               "required": true,
569               "type": "string",
570               "default": "sdnc-tacacs"
571             },
572             "source": {
573               "required": false,
574               "type": "string",
575               "default": "npm"
576             },
577             "target-ip-address": {
578               "required": true,
579               "type": "string"
580             },
581             "port-number": {
582               "required": true,
583               "type": "integer",
584               "default": 830
585             },
586             "connection-time-out": {
587               "required": false,
588               "type": "integer",
589               "default": 30
590             }
591           }
592         }
593       },
594       "derived_from": "tosca.nodes.Vnf"
595     }
596   }
597 }