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