Correct CBA package for vFW_CNF_CDS usecase
[demo.git] / heat / vFW_CNF_CDS / templates / cba-dd.json
1 [
2     {
3         "name": "k8s-rb-profile-namespace",
4         "tags": "k8s, cnf, profile",
5         "data_type": "string",
6         "description": "Profile namespace used in multicloud/k8s plugin",
7         "entry_schema": "string",
8         "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
9         "definition": {
10             "tags": "k8s-rb-profile-namespace",
11             "name": "k8s-rb-profile-namespace",
12             "property": {
13                 "description": "Profile name used in multicloud/k8s plugin",
14                 "type": "string"
15             },
16             "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
17             "sources": {
18                 "input": {
19                     "type": "source-input"
20                 },
21                 "default": {
22                     "type": "source-default",
23                     "properties": {}
24                 },
25                 "sdnc": {
26                     "type": "source-rest",
27                     "properties": {
28                         "verb": "GET",
29                         "type": "JSON",
30                         "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/k8s-rb-profile-namespace",
31                         "path": "/param/0/value",
32                         "input-key-mapping": {
33                             "service-instance-id": "service-instance-id",
34                             "vnf-id": "vnf-id"
35                         },
36                         "output-key-mapping": {
37                             "k8s-rb-profile-namespace": "value"
38                         },
39                         "key-dependencies": [
40                             "service-instance-id",
41                             "vnf-id"
42                         ]
43                     }
44                 }
45             }
46         }
47     },
48   {
49     "name": "k8s-rb-profile-name",
50     "tags": "k8s, cnf, profile",
51     "data_type": "string",
52     "description": "Profile name used in multicloud/k8s plugin to identify Helm chart(s) where this mapping is providing override values.",
53     "entry_schema": "string",
54     "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
55     "definition": {
56       "tags": "k8s, cnf, profile",
57       "name": "k8s-rb-profile-name",
58       "property": {
59         "description": "Profile name used in multicloud/k8s plugin to identify Helm chart(s) where this mapping is providing override values.",
60         "type": "string"
61       },
62       "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
63       "sources": {
64         "input": {
65           "type": "source-input"
66         },
67         "default": {
68           "type": "source-default",
69           "properties": {}
70         },
71         "sdnc" : {
72            "type" : "source-rest",
73            "properties" : {
74              "verb" : "GET",
75              "type" : "JSON",
76              "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/k8s-rb-profile-name",
77              "path" : "/param/0/value",
78              "input-key-mapping" : {
79                "service-instance-id" : "service-instance-id",
80                "vnf-id" : "vnf-id"
81              },
82              "output-key-mapping" : {
83                "k8s-rb-profile-name" : "value"
84              },
85              "key-dependencies" : [ "service-instance-id", "vnf-id" ]
86            }
87          }
88       }
89     }
90   },
91   {
92     "name": "vf-module-model-invariant-uuid",
93     "tags": "vnf, vf-module",
94     "data_type": "string",
95     "description": "vf module model invariant uuid",
96     "entry_schema": "string",
97     "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
98     "definition": {
99       "tags": "vnf, vf-module",
100       "name": "vf-module-model-invariant-uuid",
101       "property": {
102         "description": "vf module model invariant uuid",
103         "type": "string"
104       },
105       "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
106       "sources": {
107         "input": {
108           "type": "source-input"
109         },
110         "default": {
111           "type": "source-default",
112           "properties": {}
113         },
114         "processor-db" : {
115            "type" : "source-db",
116            "properties" : {
117              "type" : "SQL",
118              "query" : "select sdnctl.VF_MODULE_MODEL.invariant_uuid as vf_module_model_invariant_uuid from sdnctl.VF_MODULE_MODEL where sdnctl.VF_MODULE_MODEL.customization_uuid=:customizationid",
119              "input-key-mapping" : {
120                "customizationid" : "vf-module-model-customization-uuid"
121              },
122              "output-key-mapping" : {
123                "vf-module-model-invariant-uuid" : "vf_module_model_invariant_uuid"
124              },
125              "key-dependencies" : [ "vf-module-model-customization-uuid" ],
126              "endpoint-selector" : "dynamic-db-source"
127            }
128          }
129       }
130     }
131   },
132   {
133     "name": "vf-module-model-version",
134     "tags": "vnf, vf-module",
135     "data_type": "string",
136     "description": "vf module model model version",
137     "entry_schema": "string",
138     "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
139     "definition": {
140       "tags": "vnf, vf-module",
141       "name": "vf-module-model-version",
142       "property": {
143         "description": "vf module model model version",
144         "type": "string"
145       },
146       "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
147       "sources": {
148         "input": {
149           "type": "source-input"
150         },
151         "default": {
152           "type": "source-default",
153           "properties": {}
154         },
155         "processor-db" : {
156            "type" : "source-db",
157            "properties" : {
158              "type" : "SQL",
159              "query" : "select sdnctl.VF_MODULE_MODEL.version as vf_module_model_version from sdnctl.VF_MODULE_MODEL where sdnctl.VF_MODULE_MODEL.customization_uuid=:customizationid",
160              "input-key-mapping" : {
161                "customizationid" : "vf-module-model-customization-uuid"
162              },
163              "output-key-mapping" : {
164                "vf-module-model-version" : "vf-module-model-version"
165              },
166              "key-dependencies" : [ "vf-module-model-customization-uuid" ],
167              "endpoint-selector" : "dynamic-db-source"
168            }
169          }
170       }
171     }
172   },
173   {
174     "name": "int_private1_gw_ip",
175     "tags": "k8s, cnf, int_private1_gw_ip",
176     "data_type": "string",
177     "description": "Private unprotected network gateway ip address",
178     "entry_schema": "string",
179     "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
180     "definition": {
181       "tags": "k8s, cnf, int_private1_gw_ip",
182       "name": "int_private1_gw_ip",
183       "property": {
184         "description": "Private unprotected network gateway ip address",
185         "type": "string"
186       },
187       "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
188       "sources": {
189         "input": {
190           "type": "source-input"
191         },
192         "default": {
193           "type": "source-default",
194           "properties": {}
195         },
196         "sdnc" : {
197            "type" : "source-rest",
198            "properties" : {
199              "verb" : "GET",
200              "type" : "JSON",
201              "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private1_gw_ip",
202              "path" : "/param/0/value",
203              "input-key-mapping" : {
204                "service-instance-id" : "service-instance-id",
205                "vnf-id" : "vnf-id"
206              },
207              "output-key-mapping" : {
208                "int_private1_gw_ip" : "value"
209              },
210              "key-dependencies" : [ "service-instance-id", "vnf-id" ]
211            }
212          }
213       }
214     }
215   },
216   {
217     "name": "int_private1_net_id",
218     "tags": "k8s, cnf, int_private1_net_id",
219     "data_type": "string",
220     "description": "Private unprotected network identification",
221     "entry_schema": "string",
222     "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
223     "definition": {
224       "tags": "k8s, cnf, int_private1_net_id",
225       "name": "int_private1_net_id",
226       "property": {
227         "description": "Private network identification",
228         "type": "string"
229       },
230       "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
231       "sources": {
232         "input": {
233           "type": "source-input"
234         },
235         "default": {
236           "type": "source-default",
237           "properties": {}
238         },
239         "sdnc" : {
240            "type" : "source-rest",
241            "properties" : {
242              "verb" : "GET",
243              "type" : "JSON",
244              "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private1_net_id",
245              "path" : "/param/0/value",
246              "input-key-mapping" : {
247                "service-instance-id" : "service-instance-id",
248                "vnf-id" : "vnf-id"
249              },
250              "output-key-mapping" : {
251                "int_private1_net_id" : "value"
252              },
253              "key-dependencies" : [ "service-instance-id", "vnf-id" ]
254            }
255          }
256       }
257     }
258   },
259   {
260     "name": "int_private1_subnet_id",
261     "tags": "k8s, cnf, int_private1_subnet_id",
262     "data_type": "string",
263     "description": "Private unprotected subnetwork identification",
264     "entry_schema": "string",
265     "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
266     "definition": {
267       "tags": "k8s, cnf, int_private1_subnet_id",
268       "name": "int_private1_subnet_id",
269       "property": {
270         "description": "Private unprotected subnetwork identification",
271         "type": "string"
272       },
273       "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
274       "sources": {
275         "input": {
276           "type": "source-input"
277         },
278         "default": {
279           "type": "source-default",
280           "properties": {}
281         },
282         "sdnc" : {
283            "type" : "source-rest",
284            "properties" : {
285              "verb" : "GET",
286              "type" : "JSON",
287              "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private1_subnet_id",
288              "path" : "/param/0/value",
289              "input-key-mapping" : {
290                "service-instance-id" : "service-instance-id",
291                "vnf-id" : "vnf-id"
292              },
293              "output-key-mapping" : {
294                "int_private1_subnet_id" : "value"
295              },
296              "key-dependencies" : [ "service-instance-id", "vnf-id" ]
297            }
298          }
299       }
300     }
301   },
302   {
303     "name": "int_private2_gw_ip",
304     "tags": "k8s, cnf, int_private2_gw_ip",
305     "data_type": "string",
306     "description": "Private protected network gateway ip address",
307     "entry_schema": "string",
308     "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
309     "definition": {
310       "tags": "k8s, cnf, int_private2_gw_ip",
311       "name": "int_private2_gw_ip",
312       "property": {
313         "description": "Private protected network gateway ip address",
314         "type": "string"
315       },
316       "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
317       "sources": {
318         "input": {
319           "type": "source-input"
320         },
321         "default": {
322           "type": "source-default",
323           "properties": {}
324         },
325         "sdnc" : {
326            "type" : "source-rest",
327            "properties" : {
328              "verb" : "GET",
329              "type" : "JSON",
330              "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private2_gw_ip",
331              "path" : "/param/0/value",
332              "input-key-mapping" : {
333                "service-instance-id" : "service-instance-id",
334                "vnf-id" : "vnf-id"
335              },
336              "output-key-mapping" : {
337                "int_private2_gw_ip" : "value"
338              },
339              "key-dependencies" : [ "service-instance-id", "vnf-id" ]
340            }
341          }
342       }
343     }
344   },
345   {
346     "name": "int_private2_net_id",
347     "tags": "k8s, cnf, int_private2_net_id",
348     "data_type": "string",
349     "description": "Private protected network identification",
350     "entry_schema": "string",
351     "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
352     "definition": {
353       "tags": "k8s, cnf, int_private2_net_id",
354       "name": "int_private2_net_id",
355       "property": {
356         "description": "Private protected network identification",
357         "type": "string"
358       },
359       "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
360       "sources": {
361         "input": {
362           "type": "source-input"
363         },
364         "default": {
365           "type": "source-default",
366           "properties": {}
367         },
368         "sdnc" : {
369            "type" : "source-rest",
370            "properties" : {
371              "verb" : "GET",
372              "type" : "JSON",
373              "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private2_net_id",
374              "path" : "/param/0/value",
375              "input-key-mapping" : {
376                "service-instance-id" : "service-instance-id",
377                "vnf-id" : "vnf-id"
378              },
379              "output-key-mapping" : {
380                "int_private2_net_id" : "value"
381              },
382              "key-dependencies" : [ "service-instance-id", "vnf-id" ]
383            }
384          }
385       }
386     }
387   },
388   {
389     "name": "int_private2_subnet_id",
390     "tags": "k8s, cnf, int_private2_subnet_id",
391     "data_type": "string",
392     "description": "Private protected subnetwork identification",
393     "entry_schema": "string",
394     "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
395     "definition": {
396       "tags": "k8s, cnf, int_private2_subnet_id",
397       "name": "int_private2_subnet_id",
398       "property": {
399         "description": "Private protected subnetwork identification",
400         "type": "string"
401       },
402       "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
403       "sources": {
404         "input": {
405           "type": "source-input"
406         },
407         "default": {
408           "type": "source-default",
409           "properties": {}
410         },
411         "sdnc" : {
412            "type" : "source-rest",
413            "properties" : {
414              "verb" : "GET",
415              "type" : "JSON",
416              "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private2_subnet_id",
417              "path" : "/param/0/value",
418              "input-key-mapping" : {
419                "service-instance-id" : "service-instance-id",
420                "vnf-id" : "vnf-id"
421              },
422              "output-key-mapping" : {
423                "int_private2_subnet_id" : "value"
424              },
425              "key-dependencies" : [ "service-instance-id", "vnf-id" ]
426            }
427          }
428       }
429     }
430   },
431   {
432     "name": "onap_private_gw_ip",
433     "tags": "k8s, cnf, onap_private_gw_ip",
434     "data_type": "string",
435     "description": "Private onap management network gateway ip address",
436     "entry_schema": "string",
437     "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
438     "definition": {
439       "tags": "k8s, cnf, onap_private_gw_ip",
440       "name": "onap_private_gw_ip",
441       "property": {
442         "description": "Private onap management network gateway ip address",
443         "type": "string"
444       },
445       "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
446       "sources": {
447         "input": {
448           "type": "source-input"
449         },
450         "default": {
451           "type": "source-default",
452           "properties": {}
453         },
454         "sdnc" : {
455            "type" : "source-rest",
456            "properties" : {
457              "verb" : "GET",
458              "type" : "JSON",
459              "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/onap_private_gw_ip",
460              "path" : "/param/0/value",
461              "input-key-mapping" : {
462                "service-instance-id" : "service-instance-id",
463                "vnf-id" : "vnf-id"
464              },
465              "output-key-mapping" : {
466                "onap_private_gw_ip" : "value"
467              },
468              "key-dependencies" : [ "service-instance-id", "vnf-id" ]
469            }
470          }
471       }
472     }
473   },
474   {
475       "name": "int_private1_subnet_id",
476       "tags": "k8s, cnf",
477       "data_type": "string",
478       "description": "Private unprotected subnetwork identification",
479       "entry_schema": "string",
480       "updatedBy": "Bańka, Konrad <k.banka@samsung.com>",
481       "definition": {
482           "tags": "k8s, cnf",
483           "name": "int_private1_subnet_id",
484           "property": {
485               "description": "Private unprotected subnetwork identification",
486               "type": "string"
487           },
488           "updated-by": "Bańka, Konrad <k.banka@samsung.com>",
489           "sources": {
490               "input": {
491                   "type": "source-input"
492               },
493               "default": {
494                   "type": "source-default"
495               },
496               "sdnc": {
497                   "type": "source-rest",
498                   "properties": {
499                       "verb": "GET",
500                       "type": "JSON",
501                       "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private1_subnet_id",
502                       "path": "/param/0/value",
503                       "input-key-mapping": {
504                           "service-instance-id": "service-instance-id",
505                           "vnf-id": "vnf-id"
506                       },
507                       "output-key-mapping": {
508                           "int_private1_subnet_id": "value"
509                       },
510                       "key-dependencies": [
511                           "service-instance-id",
512                           "vnf-id"
513                       ]
514                   }
515               }
516           }
517       }
518   }
519 ]