Merge "Created media folders for ResourceDictionary"
[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                 "occurrence": {
210                   "description": "Number of time to perform the resolution.",
211                   "required": false,
212                   "default": 1,
213                   "type": "integer"
214                 },
215                 "store-result": {
216                   "description": "Whether or not to store the output.",
217                   "required": false,
218                   "type": "boolean"
219                 },
220                 "resource-type": {
221                   "description": "Request type.",
222                   "required": false,
223                   "type": "string"
224                 },
225                 "artifact-prefix-names": {
226                   "required": true,
227                   "description": "Template , Resource Assignment Artifact Prefix names",
228                   "type": "list",
229                   "entry_schema": {
230                     "type": "string"
231                   }
232                 },
233                 "request-id": {
234                   "description": "Request Id, Unique Id for the request.",
235                   "required": true,
236                   "type": "string"
237                 },
238                 "resource-id": {
239                   "description": "Resource Id.",
240                   "required": false,
241                   "type": "string"
242                 },
243                 "action-name": {
244                   "description": "Action Name of the process",
245                   "required": false,
246                   "type": "string"
247                 },
248                 "dynamic-properties": {
249                   "description": "Dynamic Json Content or DSL Json reference.",
250                   "required": false,
251                   "type": "json"
252                 }
253               },
254               "outputs": {
255                 "resource-assignment-params": {
256                   "required": true,
257                   "type": "string"
258                 },
259                 "status": {
260                   "required": true,
261                   "type": "string"
262                 }
263               }
264             }
265           }
266         }
267       },
268       "derived_from": "tosca.nodes.Component"
269     },
270     "component-restconf-executor": {
271       "description": "This is Restconf Transaction Configuration Component API",
272       "version": "1.0.0",
273       "capabilities": {
274         "component-node": {
275           "type": "tosca.capabilities.Node"
276         }
277       },
278       "interfaces": {
279         "ComponentRestconfExecutor": {
280           "operations": {
281             "process": {
282               "inputs": {
283                 "script-type": {
284                   "description": "Script type, kotlin type is supported",
285                   "required": true,
286                   "type": "string",
287                   "constraints": [
288                     {
289                       "valid_values": [
290                         "kotlin",
291                         "jython",
292                         "internal"
293                       ]
294                     }
295                   ],
296                   "default": "internal"
297                 },
298                 "script-class-reference": {
299                   "description": "Kotlin Script class name or jython script name.",
300                   "required": true,
301                   "type": "string"
302                 },
303                 "instance-dependencies": {
304                   "description": "Instance names to inject to Jython or Kotlin Script.",
305                   "required": true,
306                   "type": "list",
307                   "entry_schema": {
308                     "type": "string"
309                   }
310                 },
311                 "dynamic-properties": {
312                   "description": "Dynamic Json Content or DSL Json reference.",
313                   "required": false,
314                   "type": "json"
315                 }
316               },
317               "outputs": {
318                 "response-data": {
319                   "description": "Execution Response Data in JSON format.",
320                   "required": false,
321                   "type": "string"
322                 },
323                 "status": {
324                   "description": "Status of the Component Execution ( success or failure )",
325                   "required": true,
326                   "type": "string"
327                 }
328               }
329             }
330           }
331         }
332       },
333       "derived_from": "tosca.nodes.Component"
334     },
335     "dg-generic": {
336       "description": "This is Generic Directed Graph Type",
337       "version": "1.0.0",
338       "properties": {
339         "content": {
340           "required": true,
341           "type": "string"
342         },
343         "dependency-node-templates": {
344           "description": "Dependent Step Components NodeTemplate name.",
345           "required": true,
346           "type": "list",
347           "entry_schema": {
348             "type": "string"
349           }
350         }
351       },
352       "derived_from": "tosca.nodes.Workflow"
353     },
354     "source-capability": {
355       "description": "This is Component Resource Source Node Type",
356       "version": "1.0.0",
357       "properties": {
358         "script-type": {
359           "required": true,
360           "type": "string",
361           "constraints": [
362             {
363               "valid_values": [
364                 "kotlin",
365                 "internal",
366                 "jython"
367               ]
368             }
369           ],
370           "default": "kotlin"
371         },
372         "script-class-reference": {
373           "description": "Capability reference name for internal and kotlin, for jython script file path",
374           "required": true,
375           "type": "string"
376         },
377         "instance-dependencies": {
378           "description": "Instance dependency Names to Inject to Kotlin / Jython Script.",
379           "required": false,
380           "type": "list",
381           "entry_schema": {
382             "type": "string"
383           }
384         },
385         "key-dependencies": {
386           "description": "Resource Resolution dependency dictionary names.",
387           "required": true,
388           "type": "list",
389           "entry_schema": {
390             "type": "string"
391           }
392         }
393       },
394       "derived_from": "tosca.nodes.ResourceSource"
395     },
396     "source-default": {
397       "description": "This is Default Resource Source Node Type",
398       "version": "1.0.0",
399       "properties": {},
400       "derived_from": "tosca.nodes.ResourceSource"
401     },
402     "source-input": {
403       "description": "This is Input Resource Source Node Type",
404       "version": "1.0.0",
405       "properties": {},
406       "derived_from": "tosca.nodes.ResourceSource"
407     },
408     "source-processor-db": {
409       "description": "This is Database Resource Source Node Type",
410       "version": "1.0.0",
411       "properties": {
412         "type": {
413           "required": true,
414           "type": "string",
415           "constraints": [
416             {
417               "valid_values": [
418                 "SQL",
419                 "PLSQL"
420               ]
421             }
422           ]
423         },
424         "endpoint-selector": {
425           "required": false,
426           "type": "string"
427         },
428         "query": {
429           "required": true,
430           "type": "string"
431         },
432         "input-key-mapping": {
433           "required": false,
434           "type": "map",
435           "entry_schema": {
436             "type": "string"
437           }
438         },
439         "output-key-mapping": {
440           "required": false,
441           "type": "map",
442           "entry_schema": {
443             "type": "string"
444           }
445         },
446         "key-dependencies": {
447           "required": true,
448           "type": "list",
449           "entry_schema": {
450             "type": "string"
451           }
452         }
453       },
454       "derived_from": "tosca.nodes.ResourceSource"
455     },
456     "source-rest": {
457       "description": "This is Rest Resource Source Node Type",
458       "version": "1.0.0",
459       "properties": {
460         "type": {
461           "required": true,
462           "type": "string",
463           "constraints": [
464             {
465               "valid_values": [
466                 "JSON"
467               ]
468             }
469           ],
470           "default": "JSON"
471         },
472         "verb": {
473           "required": true,
474           "type": "string",
475           "constraints": [
476             {
477               "valid_values": [
478                 "GET",
479                 "POST",
480                 "DELETE",
481                 "PUT"
482               ]
483             }
484           ],
485           "default": "GET"
486         },
487         "payload": {
488           "required": false,
489           "type": "string",
490           "default": ""
491         },
492         "endpoint-selector": {
493           "required": false,
494           "type": "string"
495         },
496         "url-path": {
497           "required": true,
498           "type": "string"
499         },
500         "path": {
501           "required": true,
502           "type": "string"
503         },
504         "expression-type": {
505           "required": false,
506           "type": "string",
507           "constraints": [
508             {
509               "valid_values": [
510                 "JSON_PATH",
511                 "JSON_POINTER"
512               ]
513             }
514           ],
515           "default": "JSON_PATH"
516         },
517         "input-key-mapping": {
518           "required": false,
519           "type": "map",
520           "entry_schema": {
521             "type": "string"
522           }
523         },
524         "output-key-mapping": {
525           "required": false,
526           "type": "map",
527           "entry_schema": {
528             "type": "string"
529           }
530         },
531         "key-dependencies": {
532           "required": true,
533           "type": "list",
534           "entry_schema": {
535             "type": "string"
536           }
537         }
538       },
539       "derived_from": "tosca.nodes.ResourceSource"
540     },
541     "tosca.nodes.Component": {
542       "description": "This is default Component Node",
543       "version": "1.0.0",
544       "derived_from": "tosca.nodes.Root"
545     },
546     "tosca.nodes.ResourceSource": {
547       "description": "TOSCA base type for Resource Sources",
548       "version": "1.0.0",
549       "derived_from": "tosca.nodes.Root"
550     },
551     "tosca.nodes.Vnf": {
552       "description": "This is VNF Node Type",
553       "version": "1.0.0",
554       "derived_from": "tosca.nodes.Root"
555     },
556     "tosca.nodes.Workflow": {
557       "description": "This is Directed Graph Node Type",
558       "version": "1.0.0",
559       "derived_from": "tosca.nodes.Root"
560     },
561     "vnf-netconf-device": {
562       "description": "This is VNF Device with Netconf  Capability",
563       "version": "1.0.0",
564       "capabilities": {
565         "netconf": {
566           "type": "tosca.capabilities.Netconf",
567           "properties": {
568             "login-key": {
569               "required": true,
570               "type": "string",
571               "default": "sdnc"
572             },
573             "login-account": {
574               "required": true,
575               "type": "string",
576               "default": "sdnc-tacacs"
577             },
578             "source": {
579               "required": false,
580               "type": "string",
581               "default": "npm"
582             },
583             "target-ip-address": {
584               "required": true,
585               "type": "string"
586             },
587             "port-number": {
588               "required": true,
589               "type": "integer",
590               "default": 830
591             },
592             "connection-time-out": {
593               "required": false,
594               "type": "integer",
595               "default": 30
596             }
597           }
598         }
599       },
600       "derived_from": "tosca.nodes.Vnf"
601     }
602   }
603 }