2d05912d8e347a6c2546332395056c8dfd379336
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_self-serve-generate-name.json
1 [
2     {
3         "id": "44384001.814478",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 112,
8         "y": 43,
9         "z": "b88526e.24a7ad8",
10         "wires": [
11             [
12                 "7f8a6cfc.d713c4"
13             ]
14         ]
15     },
16     {
17         "id": "7f8a6cfc.d713c4",
18         "type": "service-logic",
19         "name": "GENERIC-RESOURCE-API ${project.version}",
20         "module": "GENERIC-RESOURCE-API",
21         "version": "${project.version}",
22         "comments": "",
23         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
24         "outputs": 1,
25         "x": 359.1428527832031,
26         "y": 43.99999237060547,
27         "z": "b88526e.24a7ad8",
28         "wires": [
29             [
30                 "3e607973.034d6e"
31             ]
32         ]
33     },
34     {
35         "id": "3e607973.034d6e",
36         "type": "method",
37         "name": "self-serve-generate-name",
38         "xml": "<method rpc='self-serve-generate-name' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 664.1428527832031,
42         "y": 43.99999237060547,
43         "z": "b88526e.24a7ad8",
44         "wires": [
45             [
46                 "3f9a35f8.8da52a"
47             ]
48         ]
49     },
50     {
51         "id": "3f9a35f8.8da52a",
52         "type": "block",
53         "name": "block atomic",
54         "xml": "<block atomic=\"true\">\n",
55         "atomic": "false",
56         "comments": "",
57         "outputs": 1,
58         "x": 163.14285278320312,
59         "y": 129.99999237060547,
60         "z": "b88526e.24a7ad8",
61         "wires": [
62             [
63                 "7a632215.c0ac2c",
64                 "7f9a3712.0790f",
65                 "f841aff3.13a07",
66                 "571f0673.b8518",
67                 "2a352877.19cd9"
68             ]
69         ]
70     },
71     {
72         "id": "bc633e83.bdfe98",
73         "type": "execute",
74         "name": "execute replace extra comma",
75         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',}' />\n   <parameter name='replacement' value='}' />",
76         "comments": "",
77         "outputs": 1,
78         "x": 1728.8572082519531,
79         "y": 856.1427688598633,
80         "z": "b88526e.24a7ad8",
81         "wires": [
82             []
83         ]
84     },
85     {
86         "id": "7a632215.c0ac2c",
87         "type": "set",
88         "name": "set capability-name",
89         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />\n",
90         "comments": "",
91         "x": 362.1428527832031,
92         "y": 130.99999237060547,
93         "z": "b88526e.24a7ad8",
94         "wires": []
95     },
96     {
97         "id": "7f9a3712.0790f",
98         "type": "call",
99         "name": "call capability-param-resolution",
100         "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-capability-param-resolution' mode='sync' >\n",
101         "comments": "",
102         "outputs": 1,
103         "x": 391.1428527832031,
104         "y": 222,
105         "z": "b88526e.24a7ad8",
106         "wires": [
107             [
108                 "f5bead73.e939c8",
109                 "e210e97d.997518"
110             ]
111         ]
112     },
113     {
114         "id": "f5e94169.5fc978",
115         "type": "for",
116         "name": "for vnf-parameters-data",
117         "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
118         "comments": "",
119         "outputs": 1,
120         "x": 1162.6430053710938,
121         "y": 487.4285125732422,
122         "z": "b88526e.24a7ad8",
123         "wires": [
124             [
125                 "fa4257ae.9fd718"
126             ]
127         ]
128     },
129     {
130         "id": "fa4257ae.9fd718",
131         "type": "switchNode",
132         "name": "switch capability-name",
133         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n",
134         "comments": "",
135         "outputs": 1,
136         "x": 1405.5000610351562,
137         "y": 487.4285125732422,
138         "z": "b88526e.24a7ad8",
139         "wires": [
140             [
141                 "4a6ecd53.d56884"
142             ]
143         ]
144     },
145     {
146         "id": "4a6ecd53.d56884",
147         "type": "not-found",
148         "name": "true",
149         "xml": "<outcome value='true'>\n",
150         "comments": "",
151         "outputs": 1,
152         "x": 1586.2144165039062,
153         "y": 487.4284973144531,
154         "z": "b88526e.24a7ad8",
155         "wires": [
156             [
157                 "a7c641d6.1516b"
158             ]
159         ]
160     },
161     {
162         "id": "9750b026.40e79",
163         "type": "for",
164         "name": "for vnf-parameters-data",
165         "xml": "<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key_length`' >\n",
166         "comments": "",
167         "outputs": 1,
168         "x": 1698.3572082519531,
169         "y": 657.1427688598633,
170         "z": "b88526e.24a7ad8",
171         "wires": [
172             [
173                 "6e26ff1a.e07b88"
174             ]
175         ]
176     },
177     {
178         "id": "f5bead73.e939c8",
179         "type": "failure",
180         "name": "failure",
181         "xml": "<outcome value='failure'>\n",
182         "comments": "",
183         "outputs": 1,
184         "x": 614.1428527832031,
185         "y": 190,
186         "z": "b88526e.24a7ad8",
187         "wires": [
188             [
189                 "322435c8.51411a"
190             ]
191         ]
192     },
193     {
194         "id": "e210e97d.997518",
195         "type": "failure",
196         "name": "not-found",
197         "xml": "<outcome value='not-found'>\n",
198         "comments": "",
199         "outputs": 1,
200         "x": 623.1428527832031,
201         "y": 256,
202         "z": "b88526e.24a7ad8",
203         "wires": [
204             [
205                 "322435c8.51411a"
206             ]
207         ]
208     },
209     {
210         "id": "322435c8.51411a",
211         "type": "returnFailure",
212         "name": "return failure",
213         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error from capability-param-resolution\" />\n",
214         "comments": "",
215         "x": 816.1428527832031,
216         "y": 190,
217         "z": "b88526e.24a7ad8",
218         "wires": []
219     },
220     {
221         "id": "11ec24e5.5f86b3",
222         "type": "set",
223         "name": "set payload data",
224         "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[0].element_length`\" value='`$j + 1`' />",
225         "comments": "",
226         "x": 2300.857208251953,
227         "y": 655.1427688598633,
228         "z": "b88526e.24a7ad8",
229         "wires": []
230     },
231     {
232         "id": "bc87beaf.bad8a",
233         "type": "set",
234         "name": "set set payload data",
235         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />\n<parameter name='tmp.gen-name_length' value='1' />",
236         "comments": "",
237         "x": 1695.8573608398438,
238         "y": 582.9998626708984,
239         "z": "b88526e.24a7ad8",
240         "wires": []
241     },
242     {
243         "id": "3b24af37.62d288",
244         "type": "set",
245         "name": "set payload data",
246         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />",
247         "comments": "",
248         "x": 1695.8572082519531,
249         "y": 719.1427688598633,
250         "z": "b88526e.24a7ad8",
251         "wires": []
252     },
253     {
254         "id": "a94779d8.6d99c",
255         "type": "set",
256         "name": "set close payload list",
257         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
258         "comments": "",
259         "x": 1701.8572082519531,
260         "y": 784.1427688598633,
261         "z": "b88526e.24a7ad8",
262         "wires": []
263     },
264     {
265         "id": "349803e.db927fc",
266         "type": "execute",
267         "name": "execute replace extra comma",
268         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',]' />\n   <parameter name='replacement' value=']' />",
269         "comments": "",
270         "outputs": 1,
271         "x": 1731.8572082519531,
272         "y": 910.1427688598633,
273         "z": "b88526e.24a7ad8",
274         "wires": [
275             []
276         ]
277     },
278     {
279         "id": "8af1d548.36ba08",
280         "type": "failure",
281         "name": "failure",
282         "xml": "<outcome value='failure'>\n",
283         "comments": "",
284         "outputs": 1,
285         "x": 2097.857177734375,
286         "y": 932.1427612304688,
287         "z": "b88526e.24a7ad8",
288         "wires": [
289             [
290                 "c7e4d145.feb3b8"
291             ]
292         ]
293     },
294     {
295         "id": "91f543dc.e9a0c8",
296         "type": "returnFailure",
297         "name": "return failure",
298         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error from NameGenerationNode Unassign\" />\n",
299         "comments": "",
300         "x": 2462.857177734375,
301         "y": 1032.1427612304688,
302         "z": "b88526e.24a7ad8",
303         "wires": []
304     },
305     {
306         "id": "6b5d2c36.36d07c",
307         "type": "failure",
308         "name": "not-found",
309         "xml": "<outcome value='not-found'>\n",
310         "comments": "",
311         "outputs": 1,
312         "x": 2102.857177734375,
313         "y": 1031.1427612304688,
314         "z": "b88526e.24a7ad8",
315         "wires": [
316             [
317                 "c7e4d145.feb3b8"
318             ]
319         ]
320     },
321     {
322         "id": "c7e4d145.feb3b8",
323         "type": "block",
324         "name": "block",
325         "xml": "<block>\n",
326         "atomic": "false",
327         "comments": "",
328         "outputs": 1,
329         "x": 2260.857177734375,
330         "y": 976.1427612304688,
331         "z": "b88526e.24a7ad8",
332         "wires": [
333             [
334                 "6effc421.de541c",
335                 "91f543dc.e9a0c8"
336             ]
337         ]
338     },
339     {
340         "id": "6effc421.de541c",
341         "type": "set",
342         "name": "set status as FAILED",
343         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='FAILED' />",
344         "comments": "",
345         "x": 2476.857177734375,
346         "y": 923.1427612304688,
347         "z": "b88526e.24a7ad8",
348         "wires": []
349     },
350     {
351         "id": "4312cb34.d1fec4",
352         "type": "switchNode",
353         "name": "switch capability action assign",
354         "xml": "<switch test=\"`$ss.capability-action == 'assign'`\">",
355         "comments": "",
356         "outputs": 1,
357         "x": 786.3809204101562,
358         "y": 1614.7618560791016,
359         "z": "b88526e.24a7ad8",
360         "wires": [
361             [
362                 "c588e672.9457"
363             ]
364         ]
365     },
366     {
367         "id": "c588e672.9457",
368         "type": "not-found",
369         "name": "true",
370         "xml": "<outcome value='true'>\n",
371         "comments": "",
372         "outputs": 1,
373         "x": 1041.0951538085938,
374         "y": 1614.7618560791016,
375         "z": "b88526e.24a7ad8",
376         "wires": [
377             [
378                 "96d8122d.bb415"
379             ]
380         ]
381     },
382     {
383         "id": "f5ff6d86.dbc2a8",
384         "type": "for",
385         "name": "for vnf-parameters-data",
386         "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
387         "comments": "",
388         "outputs": 1,
389         "x": 1943.8572082519531,
390         "y": 1212.1427688598633,
391         "z": "b88526e.24a7ad8",
392         "wires": [
393             [
394                 "9f1d9384.e4cf38"
395             ]
396         ]
397     },
398     {
399         "id": "e8412a7e.3847d8",
400         "type": "switchNode",
401         "name": "switch capability-name",
402         "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
403         "comments": "",
404         "outputs": 1,
405         "x": 2146.857208251953,
406         "y": 1430.1427688598633,
407         "z": "b88526e.24a7ad8",
408         "wires": [
409             [
410                 "32086d42.08bf12"
411             ]
412         ]
413     },
414     {
415         "id": "32086d42.08bf12",
416         "type": "not-found",
417         "name": "true",
418         "xml": "<outcome value='true'>\n",
419         "comments": "",
420         "outputs": 1,
421         "x": 2356.857208251953,
422         "y": 1430.1427688598633,
423         "z": "b88526e.24a7ad8",
424         "wires": [
425             [
426                 "8dd8a7af.a18a58"
427             ]
428         ]
429     },
430     {
431         "id": "8dd8a7af.a18a58",
432         "type": "set",
433         "name": "set set payload data",
434         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n",
435         "comments": "",
436         "x": 2553.357208251953,
437         "y": 1431.1427688598633,
438         "z": "b88526e.24a7ad8",
439         "wires": []
440     },
441     {
442         "id": "7ce3d216.f2e854",
443         "type": "execute",
444         "name": "execute jsonStringToCtx",
445         "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.httpResponse\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
446         "comments": "",
447         "outputs": 1,
448         "x": 1712.8572082519531,
449         "y": 1115.1427688598633,
450         "z": "b88526e.24a7ad8",
451         "wires": [
452             []
453         ]
454     },
455     {
456         "id": "174f706f.eb1c4",
457         "type": "for",
458         "name": "for response elements",
459         "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
460         "comments": "",
461         "outputs": 1,
462         "x": 1705.8572082519531,
463         "y": 1211.1427688598633,
464         "z": "b88526e.24a7ad8",
465         "wires": [
466             [
467                 "f5ff6d86.dbc2a8"
468             ]
469         ]
470     },
471     {
472         "id": "9f1d9384.e4cf38",
473         "type": "execute",
474         "name": "slistringUtils - check value for $",
475         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains'  emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`\" />\n    <parameter name=\"target\" value=\"$\"/>\n  \n",
476         "comments": "",
477         "outputs": 1,
478         "x": 2247.857208251953,
479         "y": 1212.1427688598633,
480         "z": "b88526e.24a7ad8",
481         "wires": [
482             [
483                 "ce97b583.de0eb"
484             ]
485         ]
486     },
487     {
488         "id": "ce97b583.de0eb",
489         "type": "outcomeTrue",
490         "name": "true",
491         "xml": "<outcome value='true'>\n",
492         "comments": "",
493         "outputs": 1,
494         "x": 2487.857208251953,
495         "y": 1211.1427688598633,
496         "z": "b88526e.24a7ad8",
497         "wires": [
498             [
499                 "2768322c.982d36"
500             ]
501         ]
502     },
503     {
504         "id": "edf18693.d94aa8",
505         "type": "execute",
506         "name": "split resource-resolution-data",
507         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n   <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n   <parameter name='original_string' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' />\n   <parameter name='regex' value='\\$\\{' />\n",
508         "comments": "",
509         "outputs": 1,
510         "x": 2154.857208251953,
511         "y": 1282.1427688598633,
512         "z": "b88526e.24a7ad8",
513         "wires": [
514             []
515         ]
516     },
517     {
518         "id": "ddf9d245.932de",
519         "type": "execute",
520         "name": "split resource-resolution-split-1",
521         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n   <parameter name='ctx_memory_result_key' value='s2' />\n   <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n   <parameter name='regex' value='\\}' />\n",
522         "comments": "",
523         "outputs": 1,
524         "x": 2169.857208251953,
525         "y": 1365.1427688598633,
526         "z": "b88526e.24a7ad8",
527         "wires": [
528             []
529         ]
530     },
531     {
532         "id": "2768322c.982d36",
533         "type": "block",
534         "name": "block",
535         "xml": "<block>\n",
536         "atomic": "false",
537         "comments": "",
538         "outputs": 1,
539         "x": 1938.8572082519531,
540         "y": 1282.1427688598633,
541         "z": "b88526e.24a7ad8",
542         "wires": [
543             [
544                 "edf18693.d94aa8",
545                 "ddf9d245.932de",
546                 "e8412a7e.3847d8"
547             ]
548         ]
549     },
550     {
551         "id": "a7c641d6.1516b",
552         "type": "block",
553         "name": "block : atomic",
554         "xml": "<block atomic='true'>",
555         "atomic": "true",
556         "comments": "",
557         "outputs": 1,
558         "x": 1488.8572082519531,
559         "y": 583.1427688598633,
560         "z": "b88526e.24a7ad8",
561         "wires": [
562             [
563                 "bc87beaf.bad8a",
564                 "9750b026.40e79",
565                 "3b24af37.62d288",
566                 "a94779d8.6d99c",
567                 "bc633e83.bdfe98",
568                 "7ce3d216.f2e854",
569                 "dcc81210.7b3bb",
570                 "174f706f.eb1c4",
571                 "349803e.db927fc",
572                 "f9afd12e.2d3128"
573             ]
574         ]
575     },
576     {
577         "id": "dcc81210.7b3bb",
578         "type": "set",
579         "name": "set status as DELETED",
580         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='DELETED' />",
581         "comments": "",
582         "x": 1710.8572082519531,
583         "y": 1165.1427688598633,
584         "z": "b88526e.24a7ad8",
585         "wires": []
586     },
587     {
588         "id": "fff738e5.4d0ce",
589         "type": "execute",
590         "name": "execute replace extra comma",
591         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',}' />\n   <parameter name='replacement' value='}' />",
592         "comments": "",
593         "outputs": 1,
594         "x": 1627.5236206054688,
595         "y": 2099.6663970947266,
596         "z": "b88526e.24a7ad8",
597         "wires": [
598             []
599         ]
600     },
601     {
602         "id": "16446b33.aaf505",
603         "type": "for",
604         "name": "for vnf-parameters-data",
605         "xml": "<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key_length`' >\n",
606         "comments": "",
607         "outputs": 1,
608         "x": 1735.0236206054688,
609         "y": 1915.6663970947266,
610         "z": "b88526e.24a7ad8",
611         "wires": [
612             [
613                 "95c09049.cf0398"
614             ]
615         ]
616     },
617     {
618         "id": "95c09049.cf0398",
619         "type": "set",
620         "name": "set payload data",
621         "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element_length`\" value='`$j + 1`' />",
622         "comments": "",
623         "x": 1987.5236206054688,
624         "y": 1915.6663970947266,
625         "z": "b88526e.24a7ad8",
626         "wires": []
627     },
628     {
629         "id": "278f5611.2443c2",
630         "type": "set",
631         "name": "set payload data",
632         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />\n",
633         "comments": "",
634         "x": 1715.9520874023438,
635         "y": 1854.3808135986328,
636         "z": "b88526e.24a7ad8",
637         "wires": []
638     },
639     {
640         "id": "b557bbbd.9b02a",
641         "type": "set",
642         "name": "set payload data",
643         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />\n<parameter name='tmp.gen-name_length' value='`$tmp.gen-name_length + 1`' />",
644         "comments": "",
645         "x": 1717.5236206054688,
646         "y": 1971.6663970947266,
647         "z": "b88526e.24a7ad8",
648         "wires": []
649     },
650     {
651         "id": "88f11c7a.f31688",
652         "type": "set",
653         "name": "set close payload list",
654         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
655         "comments": "",
656         "x": 1602.5236206054688,
657         "y": 2056.6663360595703,
658         "z": "b88526e.24a7ad8",
659         "wires": []
660     },
661     {
662         "id": "f398ae72.bb9338",
663         "type": "execute",
664         "name": "execute replace extra comma",
665         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',]' />\n   <parameter name='replacement' value=']' />",
666         "comments": "",
667         "outputs": 1,
668         "x": 1628.5236206054688,
669         "y": 2150.6663970947266,
670         "z": "b88526e.24a7ad8",
671         "wires": [
672             []
673         ]
674     },
675     {
676         "id": "7136f5d4.61b024",
677         "type": "failure",
678         "name": "failure",
679         "xml": "<outcome value='failure'>\n",
680         "comments": "",
681         "outputs": 1,
682         "x": 1969.523681640625,
683         "y": 2184.66650390625,
684         "z": "b88526e.24a7ad8",
685         "wires": [
686             [
687                 "cce60393.cfd56"
688             ]
689         ]
690     },
691     {
692         "id": "37abde73.8b06c2",
693         "type": "returnFailure",
694         "name": "return failure",
695         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error from NameGenerationNode Assign\" />\n",
696         "comments": "",
697         "x": 2334.523681640625,
698         "y": 2284.66650390625,
699         "z": "b88526e.24a7ad8",
700         "wires": []
701     },
702     {
703         "id": "ef775b29.4a7b",
704         "type": "failure",
705         "name": "not-found",
706         "xml": "<outcome value='not-found'>\n",
707         "comments": "",
708         "outputs": 1,
709         "x": 1974.523681640625,
710         "y": 2283.66650390625,
711         "z": "b88526e.24a7ad8",
712         "wires": [
713             [
714                 "cce60393.cfd56"
715             ]
716         ]
717     },
718     {
719         "id": "cce60393.cfd56",
720         "type": "block",
721         "name": "block",
722         "xml": "<block>\n",
723         "atomic": "false",
724         "comments": "",
725         "outputs": 1,
726         "x": 2132.523681640625,
727         "y": 2228.66650390625,
728         "z": "b88526e.24a7ad8",
729         "wires": [
730             [
731                 "546fd473.2cd5dc",
732                 "37abde73.8b06c2"
733             ]
734         ]
735     },
736     {
737         "id": "546fd473.2cd5dc",
738         "type": "set",
739         "name": "set status as FAILED",
740         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='FAILED' />",
741         "comments": "",
742         "x": 2348.523681640625,
743         "y": 2175.66650390625,
744         "z": "b88526e.24a7ad8",
745         "wires": []
746     },
747     {
748         "id": "e2624cc8.4eb57",
749         "type": "for",
750         "name": "for vnf-parameters-data",
751         "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
752         "comments": "",
753         "outputs": 1,
754         "x": 1848.5236206054688,
755         "y": 2407.6663970947266,
756         "z": "b88526e.24a7ad8",
757         "wires": [
758             [
759                 "be8a0258.a3d64"
760             ]
761         ]
762     },
763     {
764         "id": "5380bfed.f4864",
765         "type": "switchNode",
766         "name": "switch capability-name",
767         "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
768         "comments": "",
769         "outputs": 1,
770         "x": 2051.5236206054688,
771         "y": 2625.6663970947266,
772         "z": "b88526e.24a7ad8",
773         "wires": [
774             [
775                 "94a6c10b.d1c6a"
776             ]
777         ]
778     },
779     {
780         "id": "94a6c10b.d1c6a",
781         "type": "not-found",
782         "name": "true",
783         "xml": "<outcome value='true'>\n",
784         "comments": "",
785         "outputs": 1,
786         "x": 2261.5236206054688,
787         "y": 2625.6663970947266,
788         "z": "b88526e.24a7ad8",
789         "wires": [
790             [
791                 "7afdb21d.b59cb4"
792             ]
793         ]
794     },
795     {
796         "id": "7afdb21d.b59cb4",
797         "type": "set",
798         "name": "set set payload data",
799         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n",
800         "comments": "",
801         "x": 2458.0236206054688,
802         "y": 2626.6663970947266,
803         "z": "b88526e.24a7ad8",
804         "wires": []
805     },
806     {
807         "id": "6d5e56ed.17d75",
808         "type": "execute",
809         "name": "execute jsonStringToCtx",
810         "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.httpResponse\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
811         "comments": "",
812         "outputs": 1,
813         "x": 1609.5236206054688,
814         "y": 2309.6663970947266,
815         "z": "b88526e.24a7ad8",
816         "wires": [
817             []
818         ]
819     },
820     {
821         "id": "a133146c.f8d1c",
822         "type": "for",
823         "name": "for response elements",
824         "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
825         "comments": "",
826         "outputs": 1,
827         "x": 1601.5236206054688,
828         "y": 2406.6663970947266,
829         "z": "b88526e.24a7ad8",
830         "wires": [
831             [
832                 "e2624cc8.4eb57"
833             ]
834         ]
835     },
836     {
837         "id": "be8a0258.a3d64",
838         "type": "execute",
839         "name": "slistringUtils - check value for $",
840         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains'  emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`\" />\n    <parameter name=\"target\" value=\"$\"/>\n  \n",
841         "comments": "",
842         "outputs": 1,
843         "x": 2152.5236206054688,
844         "y": 2407.6663970947266,
845         "z": "b88526e.24a7ad8",
846         "wires": [
847             [
848                 "663752cc.bb14ac"
849             ]
850         ]
851     },
852     {
853         "id": "663752cc.bb14ac",
854         "type": "outcomeTrue",
855         "name": "true",
856         "xml": "<outcome value='true'>\n",
857         "comments": "",
858         "outputs": 1,
859         "x": 2392.5236206054688,
860         "y": 2406.6663970947266,
861         "z": "b88526e.24a7ad8",
862         "wires": [
863             [
864                 "5dfb8377.41af4c"
865             ]
866         ]
867     },
868     {
869         "id": "f365dac0.f6fd5",
870         "type": "execute",
871         "name": "split resource-resolution-data",
872         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n   <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n   <parameter name='original_string' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' />\n   <parameter name='regex' value='\\$\\{' />\n",
873         "comments": "",
874         "outputs": 1,
875         "x": 2059.5236206054688,
876         "y": 2477.6663970947266,
877         "z": "b88526e.24a7ad8",
878         "wires": [
879             []
880         ]
881     },
882     {
883         "id": "f61ff7c0.095698",
884         "type": "execute",
885         "name": "split resource-resolution-split-1",
886         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n   <parameter name='ctx_memory_result_key' value='s2' />\n   <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n   <parameter name='regex' value='\\}' />\n",
887         "comments": "",
888         "outputs": 1,
889         "x": 2074.5236206054688,
890         "y": 2560.6663970947266,
891         "z": "b88526e.24a7ad8",
892         "wires": [
893             []
894         ]
895     },
896     {
897         "id": "5dfb8377.41af4c",
898         "type": "block",
899         "name": "block",
900         "xml": "<block>\n",
901         "atomic": "false",
902         "comments": "",
903         "outputs": 1,
904         "x": 1843.5236206054688,
905         "y": 2477.6663970947266,
906         "z": "b88526e.24a7ad8",
907         "wires": [
908             [
909                 "f365dac0.f6fd5",
910                 "f61ff7c0.095698",
911                 "5380bfed.f4864"
912             ]
913         ]
914     },
915     {
916         "id": "4849f457.b71524",
917         "type": "block",
918         "name": "block : atomic",
919         "xml": "<block atomic='true'>",
920         "atomic": "true",
921         "comments": "",
922         "outputs": 1,
923         "x": 1512.6666870117188,
924         "y": 1833.9520416259766,
925         "z": "b88526e.24a7ad8",
926         "wires": [
927             [
928                 "278f5611.2443c2",
929                 "16446b33.aaf505",
930                 "b557bbbd.9b02a"
931             ]
932         ]
933     },
934     {
935         "id": "a0bc5db0.876ac8",
936         "type": "set",
937         "name": "set status as SUCCESS",
938         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='SUCCESS' />",
939         "comments": "",
940         "x": 1608.5236206054688,
941         "y": 2360.6663970947266,
942         "z": "b88526e.24a7ad8",
943         "wires": []
944     },
945     {
946         "id": "6e26ff1a.e07b88",
947         "type": "switchNode",
948         "name": "switch external-key",
949         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name == 'external-key'`\">\n",
950         "comments": "",
951         "outputs": 1,
952         "x": 1936.8572082519531,
953         "y": 656.1427688598633,
954         "z": "b88526e.24a7ad8",
955         "wires": [
956             [
957                 "983c7546.c67c28"
958             ]
959         ]
960     },
961     {
962         "id": "983c7546.c67c28",
963         "type": "not-found",
964         "name": "true",
965         "xml": "<outcome value='true'>\n",
966         "comments": "",
967         "outputs": 1,
968         "x": 2120.857208251953,
969         "y": 656.1427688598633,
970         "z": "b88526e.24a7ad8",
971         "wires": [
972             [
973                 "11ec24e5.5f86b3"
974             ]
975         ]
976     },
977     {
978         "id": "d8da45ad.01a8a",
979         "type": "execute",
980         "name": "execute replace extra comma",
981         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',}' />\n   <parameter name='replacement' value='}' />",
982         "comments": "",
983         "outputs": 1,
984         "x": 1848.4762573242188,
985         "y": 4070.3329010009766,
986         "z": "b88526e.24a7ad8",
987         "wires": [
988             []
989         ]
990     },
991     {
992         "id": "a3bde9b.3b85798",
993         "type": "for",
994         "name": "for vnf-parameters-data",
995         "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
996         "comments": "",
997         "outputs": 1,
998         "x": 1136.9761352539062,
999         "y": 3682.3333892822266,
1000         "z": "b88526e.24a7ad8",
1001         "wires": [
1002             [
1003                 "4c84b197.b55718"
1004             ]
1005         ]
1006     },
1007     {
1008         "id": "4c84b197.b55718",
1009         "type": "switchNode",
1010         "name": "switch capability-name",
1011         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n",
1012         "comments": "",
1013         "outputs": 1,
1014         "x": 1416.9761352539062,
1015         "y": 3682.3333892822266,
1016         "z": "b88526e.24a7ad8",
1017         "wires": [
1018             [
1019                 "8fbf4fc0.ccf628"
1020             ]
1021         ]
1022     },
1023     {
1024         "id": "8fbf4fc0.ccf628",
1025         "type": "not-found",
1026         "name": "true",
1027         "xml": "<outcome value='true'>\n",
1028         "comments": "",
1029         "outputs": 1,
1030         "x": 1625.9762573242188,
1031         "y": 3682.3333892822266,
1032         "z": "b88526e.24a7ad8",
1033         "wires": [
1034             [
1035                 "37468c59.dd2414"
1036             ]
1037         ]
1038     },
1039     {
1040         "id": "97197bdb.a2cad8",
1041         "type": "for",
1042         "name": "for vf-module-parameters",
1043         "xml": "<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key_length`' >\n",
1044         "comments": "",
1045         "outputs": 1,
1046         "x": 1817.9762573242188,
1047         "y": 3871.3329010009766,
1048         "z": "b88526e.24a7ad8",
1049         "wires": [
1050             [
1051                 "3908bfeb.e84f"
1052             ]
1053         ]
1054     },
1055     {
1056         "id": "28d4f278.d4fa26",
1057         "type": "set",
1058         "name": "set payload data",
1059         "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[0].element_length`\" value='`$j + 1`' />",
1060         "comments": "",
1061         "x": 2420.4762573242188,
1062         "y": 3869.3329010009766,
1063         "z": "b88526e.24a7ad8",
1064         "wires": []
1065     },
1066     {
1067         "id": "73a75422.d8850c",
1068         "type": "set",
1069         "name": "set set payload data",
1070         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />\n<parameter name='tmp.gen-name_length' value='1' />",
1071         "comments": "",
1072         "x": 1815.4762573242188,
1073         "y": 3794.3329010009766,
1074         "z": "b88526e.24a7ad8",
1075         "wires": []
1076     },
1077     {
1078         "id": "46fb189c.966838",
1079         "type": "set",
1080         "name": "set payload data",
1081         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />",
1082         "comments": "",
1083         "x": 1815.4762573242188,
1084         "y": 3933.3329010009766,
1085         "z": "b88526e.24a7ad8",
1086         "wires": []
1087     },
1088     {
1089         "id": "be439e05.fe7ff8",
1090         "type": "set",
1091         "name": "set close payload list",
1092         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
1093         "comments": "",
1094         "x": 1821.4762573242188,
1095         "y": 3998.3329010009766,
1096         "z": "b88526e.24a7ad8",
1097         "wires": []
1098     },
1099     {
1100         "id": "a84918b5.b82848",
1101         "type": "execute",
1102         "name": "execute replace extra comma",
1103         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',]' />\n   <parameter name='replacement' value=']' />",
1104         "comments": "",
1105         "outputs": 1,
1106         "x": 1851.4762573242188,
1107         "y": 4124.332901000977,
1108         "z": "b88526e.24a7ad8",
1109         "wires": [
1110             []
1111         ]
1112     },
1113     {
1114         "id": "e6db3fc2.418c7",
1115         "type": "failure",
1116         "name": "failure",
1117         "xml": "<outcome value='failure'>\n",
1118         "comments": "",
1119         "outputs": 1,
1120         "x": 2181.476318359375,
1121         "y": 4146.3330078125,
1122         "z": "b88526e.24a7ad8",
1123         "wires": [
1124             [
1125                 "c89f9697.3bcd9"
1126             ]
1127         ]
1128     },
1129     {
1130         "id": "54902e1f.a23738",
1131         "type": "returnFailure",
1132         "name": "return failure",
1133         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error from NameGenerationNode Unassign\" />\n",
1134         "comments": "",
1135         "x": 2546.476318359375,
1136         "y": 4246.3330078125,
1137         "z": "b88526e.24a7ad8",
1138         "wires": []
1139     },
1140     {
1141         "id": "add1de2.24bbda",
1142         "type": "failure",
1143         "name": "not-found",
1144         "xml": "<outcome value='not-found'>\n",
1145         "comments": "",
1146         "outputs": 1,
1147         "x": 2186.476318359375,
1148         "y": 4245.3330078125,
1149         "z": "b88526e.24a7ad8",
1150         "wires": [
1151             [
1152                 "c89f9697.3bcd9"
1153             ]
1154         ]
1155     },
1156     {
1157         "id": "c89f9697.3bcd9",
1158         "type": "block",
1159         "name": "block",
1160         "xml": "<block>\n",
1161         "atomic": "false",
1162         "comments": "",
1163         "outputs": 1,
1164         "x": 2344.476318359375,
1165         "y": 4190.3330078125,
1166         "z": "b88526e.24a7ad8",
1167         "wires": [
1168             [
1169                 "ed1d207b.66697",
1170                 "54902e1f.a23738"
1171             ]
1172         ]
1173     },
1174     {
1175         "id": "ed1d207b.66697",
1176         "type": "set",
1177         "name": "set status as FAILED",
1178         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.status`' value='FAILED' />",
1179         "comments": "",
1180         "x": 2560.476318359375,
1181         "y": 4137.3330078125,
1182         "z": "b88526e.24a7ad8",
1183         "wires": []
1184     },
1185     {
1186         "id": "712165ae.c8b134",
1187         "type": "for",
1188         "name": "for vf-module-parameters",
1189         "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
1190         "comments": "",
1191         "outputs": 1,
1192         "x": 2063.4762573242188,
1193         "y": 4426.332901000977,
1194         "z": "b88526e.24a7ad8",
1195         "wires": [
1196             [
1197                 "a8831bf.0add2e8"
1198             ]
1199         ]
1200     },
1201     {
1202         "id": "c4d874bf.c84648",
1203         "type": "switchNode",
1204         "name": "switch capability-name",
1205         "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
1206         "comments": "",
1207         "outputs": 1,
1208         "x": 2266.4762573242188,
1209         "y": 4644.332901000977,
1210         "z": "b88526e.24a7ad8",
1211         "wires": [
1212             [
1213                 "6c8538a0.f116f8"
1214             ]
1215         ]
1216     },
1217     {
1218         "id": "6c8538a0.f116f8",
1219         "type": "not-found",
1220         "name": "true",
1221         "xml": "<outcome value='true'>\n",
1222         "comments": "",
1223         "outputs": 1,
1224         "x": 2476.4762573242188,
1225         "y": 4644.332901000977,
1226         "z": "b88526e.24a7ad8",
1227         "wires": [
1228             [
1229                 "4ab33b35.a84a54"
1230             ]
1231         ]
1232     },
1233     {
1234         "id": "4ab33b35.a84a54",
1235         "type": "set",
1236         "name": "set set payload data",
1237         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n",
1238         "comments": "",
1239         "x": 2672.9762573242188,
1240         "y": 4645.332901000977,
1241         "z": "b88526e.24a7ad8",
1242         "wires": []
1243     },
1244     {
1245         "id": "2bae3b0b.919654",
1246         "type": "execute",
1247         "name": "execute jsonStringToCtx",
1248         "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.httpResponse\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
1249         "comments": "",
1250         "outputs": 1,
1251         "x": 1832.4762573242188,
1252         "y": 4329.332901000977,
1253         "z": "b88526e.24a7ad8",
1254         "wires": [
1255             []
1256         ]
1257     },
1258     {
1259         "id": "bd0c0aec.c12ba",
1260         "type": "for",
1261         "name": "for response elements",
1262         "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
1263         "comments": "",
1264         "outputs": 1,
1265         "x": 1825.4762573242188,
1266         "y": 4425.332901000977,
1267         "z": "b88526e.24a7ad8",
1268         "wires": [
1269             [
1270                 "712165ae.c8b134"
1271             ]
1272         ]
1273     },
1274     {
1275         "id": "a8831bf.0add2e8",
1276         "type": "execute",
1277         "name": "slistringUtils - check value for $",
1278         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains'  emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`\" />\n    <parameter name=\"target\" value=\"$\"/>\n  \n",
1279         "comments": "",
1280         "outputs": 1,
1281         "x": 2367.4762573242188,
1282         "y": 4426.332901000977,
1283         "z": "b88526e.24a7ad8",
1284         "wires": [
1285             [
1286                 "b4bafecc.dbd1d8"
1287             ]
1288         ]
1289     },
1290     {
1291         "id": "b4bafecc.dbd1d8",
1292         "type": "outcomeTrue",
1293         "name": "true",
1294         "xml": "<outcome value='true'>\n",
1295         "comments": "",
1296         "outputs": 1,
1297         "x": 2607.4762573242188,
1298         "y": 4425.332901000977,
1299         "z": "b88526e.24a7ad8",
1300         "wires": [
1301             [
1302                 "37f99340.6371ac"
1303             ]
1304         ]
1305     },
1306     {
1307         "id": "c6f61ac6.058e2",
1308         "type": "execute",
1309         "name": "split resource-resolution-data",
1310         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n   <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n   <parameter name='original_string' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`' />\n   <parameter name='regex' value='\\$\\{' />\n",
1311         "comments": "",
1312         "outputs": 1,
1313         "x": 2274.4762573242188,
1314         "y": 4496.332901000977,
1315         "z": "b88526e.24a7ad8",
1316         "wires": [
1317             []
1318         ]
1319     },
1320     {
1321         "id": "7b6510ed.263a5",
1322         "type": "execute",
1323         "name": "split resource-resolution-split-1",
1324         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n   <parameter name='ctx_memory_result_key' value='s2' />\n   <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n   <parameter name='regex' value='\\}' />\n",
1325         "comments": "",
1326         "outputs": 1,
1327         "x": 2289.4762573242188,
1328         "y": 4579.332901000977,
1329         "z": "b88526e.24a7ad8",
1330         "wires": [
1331             []
1332         ]
1333     },
1334     {
1335         "id": "37f99340.6371ac",
1336         "type": "block",
1337         "name": "block",
1338         "xml": "<block>\n",
1339         "atomic": "false",
1340         "comments": "",
1341         "outputs": 1,
1342         "x": 2058.4762573242188,
1343         "y": 4496.332901000977,
1344         "z": "b88526e.24a7ad8",
1345         "wires": [
1346             [
1347                 "c6f61ac6.058e2",
1348                 "7b6510ed.263a5",
1349                 "c4d874bf.c84648"
1350             ]
1351         ]
1352     },
1353     {
1354         "id": "37468c59.dd2414",
1355         "type": "block",
1356         "name": "block : atomic",
1357         "xml": "<block atomic='true'>",
1358         "atomic": "true",
1359         "comments": "",
1360         "outputs": 1,
1361         "x": 1608.4762573242188,
1362         "y": 3797.3329010009766,
1363         "z": "b88526e.24a7ad8",
1364         "wires": [
1365             [
1366                 "73a75422.d8850c",
1367                 "97197bdb.a2cad8",
1368                 "46fb189c.966838",
1369                 "be439e05.fe7ff8",
1370                 "d8da45ad.01a8a",
1371                 "2bae3b0b.919654",
1372                 "6650d50f.f2a194",
1373                 "bd0c0aec.c12ba",
1374                 "a84918b5.b82848",
1375                 "99585b38.25a06"
1376             ]
1377         ]
1378     },
1379     {
1380         "id": "6650d50f.f2a194",
1381         "type": "set",
1382         "name": "set status as DELETED",
1383         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.status`' value='DELETED' />",
1384         "comments": "",
1385         "x": 1830.4762573242188,
1386         "y": 4379.332901000977,
1387         "z": "b88526e.24a7ad8",
1388         "wires": []
1389     },
1390     {
1391         "id": "3908bfeb.e84f",
1392         "type": "switchNode",
1393         "name": "switch external-key",
1394         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name == 'external-key'`\">\n",
1395         "comments": "",
1396         "outputs": 1,
1397         "x": 2056.4762573242188,
1398         "y": 3870.3329010009766,
1399         "z": "b88526e.24a7ad8",
1400         "wires": [
1401             [
1402                 "5a34ee8b.f9c61"
1403             ]
1404         ]
1405     },
1406     {
1407         "id": "5a34ee8b.f9c61",
1408         "type": "not-found",
1409         "name": "true",
1410         "xml": "<outcome value='true'>\n",
1411         "comments": "",
1412         "outputs": 1,
1413         "x": 2240.4762573242188,
1414         "y": 3870.3329010009766,
1415         "z": "b88526e.24a7ad8",
1416         "wires": [
1417             [
1418                 "28d4f278.d4fa26"
1419             ]
1420         ]
1421     },
1422     {
1423         "id": "f841aff3.13a07",
1424         "type": "switchNode",
1425         "name": "switch capability-type. vnf",
1426         "xml": "<switch test=\"`$ss.capability-type == 'vnf'`\">\n",
1427         "comments": "",
1428         "outputs": 1,
1429         "x": 372.1428527832031,
1430         "y": 300.99999237060547,
1431         "z": "b88526e.24a7ad8",
1432         "wires": [
1433             [
1434                 "58dd98ce.eb99f"
1435             ]
1436         ]
1437     },
1438     {
1439         "id": "58dd98ce.eb99f",
1440         "type": "not-found",
1441         "name": "true",
1442         "xml": "<outcome value='true'>\n",
1443         "comments": "",
1444         "outputs": 1,
1445         "x": 575.5714111328125,
1446         "y": 300.2857208251953,
1447         "z": "b88526e.24a7ad8",
1448         "wires": [
1449             [
1450                 "7b0e8ad8.f3802c"
1451             ]
1452         ]
1453     },
1454     {
1455         "id": "571f0673.b8518",
1456         "type": "switchNode",
1457         "name": "switch capability-type vf-module",
1458         "xml": "<switch test=\"`$ss.capability-type == 'vf-module'`\">\n",
1459         "comments": "",
1460         "outputs": 1,
1461         "x": 501.4761962890625,
1462         "y": 3464.3333282470703,
1463         "z": "b88526e.24a7ad8",
1464         "wires": [
1465             [
1466                 "48a38bbd.e8a77c"
1467             ]
1468         ]
1469     },
1470     {
1471         "id": "48a38bbd.e8a77c",
1472         "type": "not-found",
1473         "name": "true",
1474         "xml": "<outcome value='true'>\n",
1475         "comments": "",
1476         "outputs": 1,
1477         "x": 720.4761962890625,
1478         "y": 3465.3333892822266,
1479         "z": "b88526e.24a7ad8",
1480         "wires": [
1481             [
1482                 "750bfd10.899924"
1483             ]
1484         ]
1485     },
1486     {
1487         "id": "a6e4bc7d.20b678",
1488         "type": "for",
1489         "name": "for vnf-parameters data",
1490         "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
1491         "comments": "",
1492         "outputs": 1,
1493         "x": 1613.5236206054688,
1494         "y": 2586.6663970947266,
1495         "z": "b88526e.24a7ad8",
1496         "wires": [
1497             [
1498                 "ffc03440.e917d"
1499             ]
1500         ]
1501     },
1502     {
1503         "id": "ffc03440.e917d",
1504         "type": "execute",
1505         "name": "slistringUtils - check value for $",
1506         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains'  emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`\" />\n    <parameter name=\"target\" value=\"$\"/>\n  \n",
1507         "comments": "",
1508         "outputs": 1,
1509         "x": 1739.1902465820312,
1510         "y": 2717.6663970947266,
1511         "z": "b88526e.24a7ad8",
1512         "wires": [
1513             [
1514                 "1af41882.7a6b4f"
1515             ]
1516         ]
1517     },
1518     {
1519         "id": "1af41882.7a6b4f",
1520         "type": "failure",
1521         "name": "false",
1522         "xml": "<outcome value='false'>\n",
1523         "comments": "",
1524         "outputs": 1,
1525         "x": 2001.1902465820312,
1526         "y": 2773.6663970947266,
1527         "z": "b88526e.24a7ad8",
1528         "wires": [
1529             [
1530                 "fcd660c4.530c58"
1531             ]
1532         ]
1533     },
1534     {
1535         "id": "fcd660c4.530c58",
1536         "type": "block",
1537         "name": "block",
1538         "xml": "<block>\n",
1539         "atomic": "false",
1540         "comments": "",
1541         "outputs": 1,
1542         "x": 2217.1902465820312,
1543         "y": 2773.6663970947266,
1544         "z": "b88526e.24a7ad8",
1545         "wires": [
1546             [
1547                 "236c01c7.bf3206",
1548                 "bd4596a.19984e8"
1549             ]
1550         ]
1551     },
1552     {
1553         "id": "236c01c7.bf3206",
1554         "type": "set",
1555         "name": "set capability name",
1556         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.capability-name`' value='INPUT' />",
1557         "comments": "",
1558         "x": 2437.1902465820312,
1559         "y": 2711.6663970947266,
1560         "z": "b88526e.24a7ad8",
1561         "wires": []
1562     },
1563     {
1564         "id": "bd4596a.19984e8",
1565         "type": "set",
1566         "name": "set status SUCCESS",
1567         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.status`' value='SUCCESS' />\n",
1568         "comments": "",
1569         "x": 2447.1902465820312,
1570         "y": 2819.6663970947266,
1571         "z": "b88526e.24a7ad8",
1572         "wires": []
1573     },
1574     {
1575         "id": "4bd2a625.600b48",
1576         "type": "switchNode",
1577         "name": "switch capability action unassign",
1578         "xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n",
1579         "comments": "",
1580         "outputs": 1,
1581         "x": 829.7142333984375,
1582         "y": 391.1428680419922,
1583         "z": "b88526e.24a7ad8",
1584         "wires": [
1585             [
1586                 "f5867b52.e6b6c"
1587             ]
1588         ]
1589     },
1590     {
1591         "id": "f5867b52.e6b6c",
1592         "type": "not-found",
1593         "name": "true",
1594         "xml": "<outcome value='true'>\n",
1595         "comments": "",
1596         "outputs": 1,
1597         "x": 1115.4285278320312,
1598         "y": 389.7142791748047,
1599         "z": "b88526e.24a7ad8",
1600         "wires": [
1601             [
1602                 "f5e94169.5fc978"
1603             ]
1604         ]
1605     },
1606     {
1607         "id": "7b0e8ad8.f3802c",
1608         "type": "block",
1609         "name": "block",
1610         "xml": "<block>\n",
1611         "atomic": "false",
1612         "comments": "",
1613         "outputs": 1,
1614         "x": 579.7142944335938,
1615         "y": 365.42860412597656,
1616         "z": "b88526e.24a7ad8",
1617         "wires": [
1618             [
1619                 "4bd2a625.600b48",
1620                 "4312cb34.d1fec4"
1621             ]
1622         ]
1623     },
1624     {
1625         "id": "acaab3ca.702c88",
1626         "type": "for",
1627         "name": "for vnf-parameters-data",
1628         "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
1629         "comments": "",
1630         "outputs": 1,
1631         "x": 1054.0715942382812,
1632         "y": 1777.166763305664,
1633         "z": "b88526e.24a7ad8",
1634         "wires": [
1635             [
1636                 "ae04112f.bd2d08"
1637             ]
1638         ]
1639     },
1640     {
1641         "id": "ae04112f.bd2d08",
1642         "type": "switchNode",
1643         "name": "switch capability-name",
1644         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n",
1645         "comments": "",
1646         "outputs": 1,
1647         "x": 1295.6786499023438,
1648         "y": 1777.166763305664,
1649         "z": "b88526e.24a7ad8",
1650         "wires": [
1651             [
1652                 "1e81a1ec.bd42f6"
1653             ]
1654         ]
1655     },
1656     {
1657         "id": "1e81a1ec.bd42f6",
1658         "type": "not-found",
1659         "name": "true",
1660         "xml": "<outcome value='true'>\n",
1661         "comments": "",
1662         "outputs": 1,
1663         "x": 1476.3930053710938,
1664         "y": 1777.166763305664,
1665         "z": "b88526e.24a7ad8",
1666         "wires": [
1667             [
1668                 "4849f457.b71524"
1669             ]
1670         ]
1671     },
1672     {
1673         "id": "d951a688.ea8908",
1674         "type": "not-found",
1675         "name": "true",
1676         "xml": "<outcome value='true'>\n",
1677         "comments": "",
1678         "outputs": 1,
1679         "x": 1208.8572387695312,
1680         "y": 3593.5714263916016,
1681         "z": "b88526e.24a7ad8",
1682         "wires": [
1683             [
1684                 "a3bde9b.3b85798"
1685             ]
1686         ]
1687     },
1688     {
1689         "id": "90ab2ac1.82262",
1690         "type": "switchNode",
1691         "name": "switch capability action unassign",
1692         "xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n",
1693         "comments": "",
1694         "outputs": 1,
1695         "x": 967.8569946289062,
1696         "y": 3593.5714263916016,
1697         "z": "b88526e.24a7ad8",
1698         "wires": [
1699             [
1700                 "d951a688.ea8908"
1701             ]
1702         ]
1703     },
1704     {
1705         "id": "750bfd10.899924",
1706         "type": "block",
1707         "name": "block",
1708         "xml": "<block>\n",
1709         "atomic": "false",
1710         "comments": "",
1711         "outputs": 1,
1712         "x": 724.8571166992188,
1713         "y": 3530.5714263916016,
1714         "z": "b88526e.24a7ad8",
1715         "wires": [
1716             [
1717                 "90ab2ac1.82262",
1718                 "876d4c7d.f86a88"
1719             ]
1720         ]
1721     },
1722     {
1723         "id": "876d4c7d.f86a88",
1724         "type": "switchNode",
1725         "name": "switch capability action assign",
1726         "xml": "<switch test=\"`$ss.capability-action == 'assign'`\">",
1727         "comments": "",
1728         "outputs": 1,
1729         "x": 944.8096313476562,
1730         "y": 5201.334121704102,
1731         "z": "b88526e.24a7ad8",
1732         "wires": [
1733             [
1734                 "97b1b31a.f402b"
1735             ]
1736         ]
1737     },
1738     {
1739         "id": "97b1b31a.f402b",
1740         "type": "not-found",
1741         "name": "true",
1742         "xml": "<outcome value='true'>\n",
1743         "comments": "",
1744         "outputs": 1,
1745         "x": 1173.8096313476562,
1746         "y": 5201.334121704102,
1747         "z": "b88526e.24a7ad8",
1748         "wires": [
1749             [
1750                 "bf89c636.30aac8"
1751             ]
1752         ]
1753     },
1754     {
1755         "id": "c54c6f8e.b8ff58",
1756         "type": "execute",
1757         "name": "execute replace extra comma",
1758         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',}' />\n   <parameter name='replacement' value='}' />",
1759         "comments": "",
1760         "outputs": 1,
1761         "x": 1722.3095092773438,
1762         "y": 5671.584487915039,
1763         "z": "b88526e.24a7ad8",
1764         "wires": [
1765             []
1766         ]
1767     },
1768     {
1769         "id": "b361600c.eb049",
1770         "type": "for",
1771         "name": "for vf-module-parameters",
1772         "xml": "<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key_length`' >\n",
1773         "comments": "",
1774         "outputs": 1,
1775         "x": 2040.5595092773438,
1776         "y": 5479.334121704102,
1777         "z": "b88526e.24a7ad8",
1778         "wires": [
1779             [
1780                 "b5cdeaa7.6f11d"
1781             ]
1782         ]
1783     },
1784     {
1785         "id": "b5cdeaa7.6f11d",
1786         "type": "set",
1787         "name": "set payload data",
1788         "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element_length`\" value='`$j + 1`' />",
1789         "comments": "",
1790         "x": 2297.0595092773438,
1791         "y": 5479.334121704102,
1792         "z": "b88526e.24a7ad8",
1793         "wires": []
1794     },
1795     {
1796         "id": "8bb2899.7eabb78",
1797         "type": "set",
1798         "name": "set set payload data",
1799         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />",
1800         "comments": "",
1801         "x": 2023.0595092773438,
1802         "y": 5425.334121704102,
1803         "z": "b88526e.24a7ad8",
1804         "wires": []
1805     },
1806     {
1807         "id": "feb610d7.764ab",
1808         "type": "set",
1809         "name": "set payload data",
1810         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />\n<parameter name='tmp.gen-name_length' value='`$tmp.gen-name_length + 1`' />",
1811         "comments": "",
1812         "x": 2029.0595092773438,
1813         "y": 5541.334121704102,
1814         "z": "b88526e.24a7ad8",
1815         "wires": []
1816     },
1817     {
1818         "id": "aba737c8.b673a",
1819         "type": "set",
1820         "name": "set close payload list",
1821         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
1822         "comments": "",
1823         "x": 1692.3095092773438,
1824         "y": 5620.584487915039,
1825         "z": "b88526e.24a7ad8",
1826         "wires": []
1827     },
1828     {
1829         "id": "e94ef6dd.a37908",
1830         "type": "execute",
1831         "name": "execute replace extra comma",
1832         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',]' />\n   <parameter name='replacement' value=']' />",
1833         "comments": "",
1834         "outputs": 1,
1835         "x": 1725.3095092773438,
1836         "y": 5725.584487915039,
1837         "z": "b88526e.24a7ad8",
1838         "wires": [
1839             []
1840         ]
1841     },
1842     {
1843         "id": "1ec3d3c3.85586c",
1844         "type": "failure",
1845         "name": "failure",
1846         "xml": "<outcome value='failure'>\n",
1847         "comments": "",
1848         "outputs": 1,
1849         "x": 2028.3095703125,
1850         "y": 5739.58447265625,
1851         "z": "b88526e.24a7ad8",
1852         "wires": [
1853             [
1854                 "21b0f329.fc401c"
1855             ]
1856         ]
1857     },
1858     {
1859         "id": "7a611dc7.f16d14",
1860         "type": "returnFailure",
1861         "name": "return failure",
1862         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error from NameGenerationNode Assign\" />\n",
1863         "comments": "",
1864         "x": 2393.3095703125,
1865         "y": 5839.58447265625,
1866         "z": "b88526e.24a7ad8",
1867         "wires": []
1868     },
1869     {
1870         "id": "80386656.f0d7d",
1871         "type": "failure",
1872         "name": "not-found",
1873         "xml": "<outcome value='not-found'>\n",
1874         "comments": "",
1875         "outputs": 1,
1876         "x": 2033.3095703125,
1877         "y": 5838.58447265625,
1878         "z": "b88526e.24a7ad8",
1879         "wires": [
1880             [
1881                 "21b0f329.fc401c"
1882             ]
1883         ]
1884     },
1885     {
1886         "id": "21b0f329.fc401c",
1887         "type": "block",
1888         "name": "block",
1889         "xml": "<block>\n",
1890         "atomic": "false",
1891         "comments": "",
1892         "outputs": 1,
1893         "x": 2191.3095703125,
1894         "y": 5783.58447265625,
1895         "z": "b88526e.24a7ad8",
1896         "wires": [
1897             [
1898                 "7a611dc7.f16d14",
1899                 "399dfaf7.a00f2e"
1900             ]
1901         ]
1902     },
1903     {
1904         "id": "399dfaf7.a00f2e",
1905         "type": "set",
1906         "name": "set status as FAILED",
1907         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.status`' value='FAILED' />",
1908         "comments": "",
1909         "x": 2407.3095703125,
1910         "y": 5730.58447265625,
1911         "z": "b88526e.24a7ad8",
1912         "wires": []
1913     },
1914     {
1915         "id": "8744b72d.e0422",
1916         "type": "for",
1917         "name": "for vf-module-parameters",
1918         "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
1919         "comments": "",
1920         "outputs": 1,
1921         "x": 2003.3095092773438,
1922         "y": 6315.584487915039,
1923         "z": "b88526e.24a7ad8",
1924         "wires": [
1925             [
1926                 "26376a44.3bf3e6"
1927             ]
1928         ]
1929     },
1930     {
1931         "id": "c8297614.5665c8",
1932         "type": "switchNode",
1933         "name": "switch capability-name",
1934         "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
1935         "comments": "",
1936         "outputs": 1,
1937         "x": 2174.3095092773438,
1938         "y": 6473.584487915039,
1939         "z": "b88526e.24a7ad8",
1940         "wires": [
1941             [
1942                 "5c1866b1.7ab59"
1943             ]
1944         ]
1945     },
1946     {
1947         "id": "5c1866b1.7ab59",
1948         "type": "not-found",
1949         "name": "true",
1950         "xml": "<outcome value='true'>\n",
1951         "comments": "",
1952         "outputs": 1,
1953         "x": 2378.3095092773438,
1954         "y": 6471.584487915039,
1955         "z": "b88526e.24a7ad8",
1956         "wires": [
1957             [
1958                 "8068dba1.b90f38"
1959             ]
1960         ]
1961     },
1962     {
1963         "id": "8068dba1.b90f38",
1964         "type": "set",
1965         "name": "set set payload data",
1966         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n",
1967         "comments": "",
1968         "x": 2572.8095092773438,
1969         "y": 6404.584487915039,
1970         "z": "b88526e.24a7ad8",
1971         "wires": []
1972     },
1973     {
1974         "id": "cbc78ec6.7ff248",
1975         "type": "execute",
1976         "name": "execute jsonStringToCtx",
1977         "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.httpResponse\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
1978         "comments": "",
1979         "outputs": 1,
1980         "x": 1706.3095092773438,
1981         "y": 5838.584487915039,
1982         "z": "b88526e.24a7ad8",
1983         "wires": [
1984             []
1985         ]
1986     },
1987     {
1988         "id": "1e5d91b7.f1cac6",
1989         "type": "for",
1990         "name": "for response elements",
1991         "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
1992         "comments": "",
1993         "outputs": 1,
1994         "x": 1735.3095092773438,
1995         "y": 6316.584487915039,
1996         "z": "b88526e.24a7ad8",
1997         "wires": [
1998             [
1999                 "8744b72d.e0422"
2000             ]
2001         ]
2002     },
2003     {
2004         "id": "26376a44.3bf3e6",
2005         "type": "execute",
2006         "name": "slistringUtils - check value for $",
2007         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains'  emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`\" />\n    <parameter name=\"target\" value=\"$\"/>\n  \n",
2008         "comments": "",
2009         "outputs": 1,
2010         "x": 2287.3095092773438,
2011         "y": 6319.584487915039,
2012         "z": "b88526e.24a7ad8",
2013         "wires": [
2014             [
2015                 "6638dc1c.c0f774"
2016             ]
2017         ]
2018     },
2019     {
2020         "id": "6638dc1c.c0f774",
2021         "type": "outcomeTrue",
2022         "name": "true",
2023         "xml": "<outcome value='true'>\n",
2024         "comments": "",
2025         "outputs": 1,
2026         "x": 2515.3095092773438,
2027         "y": 6316.584487915039,
2028         "z": "b88526e.24a7ad8",
2029         "wires": [
2030             [
2031                 "49c6c4cb.ae35f4"
2032             ]
2033         ]
2034     },
2035     {
2036         "id": "614640d1.2410b",
2037         "type": "execute",
2038         "name": "split resource-resolution-data",
2039         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n   <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n   <parameter name='original_string' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`' />\n   <parameter name='regex' value='\\$\\{' />\n",
2040         "comments": "",
2041         "outputs": 1,
2042         "x": 2182.3095092773438,
2043         "y": 6369.584487915039,
2044         "z": "b88526e.24a7ad8",
2045         "wires": [
2046             []
2047         ]
2048     },
2049     {
2050         "id": "f159cc8b.de17d",
2051         "type": "execute",
2052         "name": "split resource-resolution-split-1",
2053         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n   <parameter name='ctx_memory_result_key' value='s2' />\n   <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n   <parameter name='regex' value='\\}' />\n",
2054         "comments": "",
2055         "outputs": 1,
2056         "x": 2195.3095092773438,
2057         "y": 6428.584487915039,
2058         "z": "b88526e.24a7ad8",
2059         "wires": [
2060             []
2061         ]
2062     },
2063     {
2064         "id": "49c6c4cb.ae35f4",
2065         "type": "block",
2066         "name": "block",
2067         "xml": "<block>\n",
2068         "atomic": "false",
2069         "comments": "",
2070         "outputs": 1,
2071         "x": 1942.3095092773438,
2072         "y": 6395.584487915039,
2073         "z": "b88526e.24a7ad8",
2074         "wires": [
2075             [
2076                 "c8297614.5665c8",
2077                 "614640d1.2410b",
2078                 "f159cc8b.de17d"
2079             ]
2080         ]
2081     },
2082     {
2083         "id": "80097c84.1bbc38",
2084         "type": "block",
2085         "name": "block : atomic",
2086         "xml": "<block atomic='true'>",
2087         "atomic": "true",
2088         "comments": "",
2089         "outputs": 1,
2090         "x": 1816.0595092773438,
2091         "y": 5428.334121704102,
2092         "z": "b88526e.24a7ad8",
2093         "wires": [
2094             [
2095                 "b361600c.eb049",
2096                 "8bb2899.7eabb78",
2097                 "feb610d7.764ab"
2098             ]
2099         ]
2100     },
2101     {
2102         "id": "d085846f.259da",
2103         "type": "set",
2104         "name": "set status as SUCCESS",
2105         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.status`' value='SUCCESS' />",
2106         "comments": "",
2107         "x": 1708.3095092773438,
2108         "y": 5890.584487915039,
2109         "z": "b88526e.24a7ad8",
2110         "wires": []
2111     },
2112     {
2113         "id": "2d4ee971.9f5306",
2114         "type": "for",
2115         "name": "for vnf parameters data",
2116         "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
2117         "comments": "",
2118         "outputs": 1,
2119         "x": 1730.3095092773438,
2120         "y": 6538.584487915039,
2121         "z": "b88526e.24a7ad8",
2122         "wires": [
2123             [
2124                 "968d7f58.752fa8"
2125             ]
2126         ]
2127     },
2128     {
2129         "id": "968d7f58.752fa8",
2130         "type": "execute",
2131         "name": "slistringUtils - check value for $",
2132         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains'  emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`\" />\n    <parameter name=\"target\" value=\"$\"/>\n  \n",
2133         "comments": "",
2134         "outputs": 1,
2135         "x": 2036.3095092773438,
2136         "y": 6536.584487915039,
2137         "z": "b88526e.24a7ad8",
2138         "wires": [
2139             [
2140                 "b316390f.c223e"
2141             ]
2142         ]
2143     },
2144     {
2145         "id": "b316390f.c223e",
2146         "type": "failure",
2147         "name": "false",
2148         "xml": "<outcome value='false'>\n",
2149         "comments": "",
2150         "outputs": 1,
2151         "x": 2274.3095092773438,
2152         "y": 6536.584487915039,
2153         "z": "b88526e.24a7ad8",
2154         "wires": [
2155             [
2156                 "523d1dc3.a4cfdc"
2157             ]
2158         ]
2159     },
2160     {
2161         "id": "523d1dc3.a4cfdc",
2162         "type": "block",
2163         "name": "block",
2164         "xml": "<block>\n",
2165         "atomic": "false",
2166         "comments": "",
2167         "outputs": 1,
2168         "x": 2436.3095092773438,
2169         "y": 6530.584487915039,
2170         "z": "b88526e.24a7ad8",
2171         "wires": [
2172             [
2173                 "196036c5.88ba19",
2174                 "a33c55dc.d6268"
2175             ]
2176         ]
2177     },
2178     {
2179         "id": "196036c5.88ba19",
2180         "type": "set",
2181         "name": "set capability name",
2182         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].resource-resolution-data.capability-name`' value='INPUT' />\n",
2183         "comments": "",
2184         "x": 2660.3095092773438,
2185         "y": 6496.584487915039,
2186         "z": "b88526e.24a7ad8",
2187         "wires": []
2188     },
2189     {
2190         "id": "a33c55dc.d6268",
2191         "type": "set",
2192         "name": "set status SUCCESS",
2193         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].resource-resolution-data.status`' value='SUCCESS' />\n\t",
2194         "comments": "",
2195         "x": 2648.3095092773438,
2196         "y": 6596.584487915039,
2197         "z": "b88526e.24a7ad8",
2198         "wires": []
2199     },
2200     {
2201         "id": "af0954c0.0ed2a8",
2202         "type": "for",
2203         "name": "for vnf-parameters data",
2204         "xml": "<for index='cn' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
2205         "comments": "",
2206         "outputs": 1,
2207         "x": 1718.3095092773438,
2208         "y": 5996.584487915039,
2209         "z": "b88526e.24a7ad8",
2210         "wires": [
2211             [
2212                 "fcdfe07c.36982"
2213             ]
2214         ]
2215     },
2216     {
2217         "id": "fcdfe07c.36982",
2218         "type": "switchNode",
2219         "name": "switch param[] name",
2220         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].name == 'vnfc-name'`\">\n",
2221         "comments": "",
2222         "outputs": 1,
2223         "x": 1971.8095092773438,
2224         "y": 5997.584854125977,
2225         "z": "b88526e.24a7ad8",
2226         "wires": [
2227             [
2228                 "ecb5c713.928a5"
2229             ]
2230         ]
2231     },
2232     {
2233         "id": "ecb5c713.928a5",
2234         "type": "success",
2235         "name": "true",
2236         "xml": "<outcome value='true'>\n",
2237         "comments": "",
2238         "outputs": 1,
2239         "x": 2164.8095092773438,
2240         "y": 5998.084732055664,
2241         "z": "b88526e.24a7ad8",
2242         "wires": [
2243             [
2244                 "a271047.93a13f8"
2245             ]
2246         ]
2247     },
2248     {
2249         "id": "a271047.93a13f8",
2250         "type": "for",
2251         "name": "for j in resource key",
2252         "xml": "<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key_length`' >\n",
2253         "comments": "",
2254         "outputs": 1,
2255         "x": 1806.3095092773438,
2256         "y": 6112.584487915039,
2257         "z": "b88526e.24a7ad8",
2258         "wires": [
2259             [
2260                 "a54bbb54.f3ff88"
2261             ]
2262         ]
2263     },
2264     {
2265         "id": "a54bbb54.f3ff88",
2266         "type": "block",
2267         "name": "block",
2268         "xml": "<block>\n",
2269         "atomic": "false",
2270         "comments": "",
2271         "outputs": 1,
2272         "x": 2078.3095092773438,
2273         "y": 6108.584487915039,
2274         "z": "b88526e.24a7ad8",
2275         "wires": [
2276             [
2277                 "7a50c097.1fd508",
2278                 "bae1a795.c95818",
2279                 "6cb03d6a.b426e4",
2280                 "fdef5f45.af46b8",
2281                 "d977a0bb.d25038",
2282                 "d4543380.8a8648",
2283                 "80d478e2.ca4f3"
2284             ]
2285         ]
2286     },
2287     {
2288         "id": "bae1a795.c95818",
2289         "type": "switchNode",
2290         "name": "switch model-invariant-uuid",
2291         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'model-invariant-uuid'`\">\n\n",
2292         "comments": "",
2293         "outputs": 1,
2294         "x": 2516.3095092773438,
2295         "y": 5984.584487915039,
2296         "z": "b88526e.24a7ad8",
2297         "wires": [
2298             [
2299                 "e21bbc33.3bd9b8"
2300             ]
2301         ]
2302     },
2303     {
2304         "id": "6cb03d6a.b426e4",
2305         "type": "switchNode",
2306         "name": "switch model-customization-uuid",
2307         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'model-customization-uuid'`\">\n\n",
2308         "comments": "",
2309         "outputs": 1,
2310         "x": 2484.3095092773438,
2311         "y": 6042.584487915039,
2312         "z": "b88526e.24a7ad8",
2313         "wires": [
2314             [
2315                 "26752abf.e0f87e"
2316             ]
2317         ]
2318     },
2319     {
2320         "id": "fdef5f45.af46b8",
2321         "type": "switchNode",
2322         "name": "switch model-uuid",
2323         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'model-uuid'`\">\n\n",
2324         "comments": "",
2325         "outputs": 1,
2326         "x": 2482.3095092773438,
2327         "y": 6104.584487915039,
2328         "z": "b88526e.24a7ad8",
2329         "wires": [
2330             [
2331                 "99545f4f.9552"
2332             ]
2333         ]
2334     },
2335     {
2336         "id": "d977a0bb.d25038",
2337         "type": "switchNode",
2338         "name": "switch model-version",
2339         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'model-version'`\">\n",
2340         "comments": "",
2341         "outputs": 1,
2342         "x": 2490.3095092773438,
2343         "y": 6166.584487915039,
2344         "z": "b88526e.24a7ad8",
2345         "wires": [
2346             [
2347                 "d332c105.d01b6"
2348             ]
2349         ]
2350     },
2351     {
2352         "id": "7a50c097.1fd508",
2353         "type": "switchNode",
2354         "name": "switch vm-type",
2355         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'vm-type'`\">\n\n",
2356         "comments": "",
2357         "outputs": 1,
2358         "x": 2506.3095092773438,
2359         "y": 5912.584487915039,
2360         "z": "b88526e.24a7ad8",
2361         "wires": [
2362             [
2363                 "343730f6.0bde"
2364             ]
2365         ]
2366     },
2367     {
2368         "id": "343730f6.0bde",
2369         "type": "success",
2370         "name": "true",
2371         "xml": "<outcome value='true'>\n",
2372         "comments": "",
2373         "outputs": 1,
2374         "x": 2710.3095092773438,
2375         "y": 5908.584487915039,
2376         "z": "b88526e.24a7ad8",
2377         "wires": [
2378             [
2379                 "10dcd678.f75eb2"
2380             ]
2381         ]
2382     },
2383     {
2384         "id": "e21bbc33.3bd9b8",
2385         "type": "success",
2386         "name": "true",
2387         "xml": "<outcome value='true'>\n",
2388         "comments": "",
2389         "outputs": 1,
2390         "x": 2710.3095092773438,
2391         "y": 5982.834487915039,
2392         "z": "b88526e.24a7ad8",
2393         "wires": [
2394             [
2395                 "ba46d15f.84fe98"
2396             ]
2397         ]
2398     },
2399     {
2400         "id": "26752abf.e0f87e",
2401         "type": "success",
2402         "name": "true",
2403         "xml": "<outcome value='true'>\n",
2404         "comments": "",
2405         "outputs": 1,
2406         "x": 2716.3095092773438,
2407         "y": 6038.584487915039,
2408         "z": "b88526e.24a7ad8",
2409         "wires": [
2410             [
2411                 "ec7f1ff2.18d6b8"
2412             ]
2413         ]
2414     },
2415     {
2416         "id": "99545f4f.9552",
2417         "type": "success",
2418         "name": "true",
2419         "xml": "<outcome value='true'>\n",
2420         "comments": "",
2421         "outputs": 1,
2422         "x": 2720.3095092773438,
2423         "y": 6096.584487915039,
2424         "z": "b88526e.24a7ad8",
2425         "wires": [
2426             [
2427                 "9cb30ad2.947f6"
2428             ]
2429         ]
2430     },
2431     {
2432         "id": "d332c105.d01b6",
2433         "type": "success",
2434         "name": "true",
2435         "xml": "<outcome value='true'>\n",
2436         "comments": "",
2437         "outputs": 1,
2438         "x": 2726.3095092773438,
2439         "y": 6162.584487915039,
2440         "z": "b88526e.24a7ad8",
2441         "wires": [
2442             [
2443                 "78957203.1f8534"
2444             ]
2445         ]
2446     },
2447     {
2448         "id": "10dcd678.f75eb2",
2449         "type": "set",
2450         "name": "set vm-type",
2451         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].vm-type`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
2452         "comments": "",
2453         "x": 2874.3095092773438,
2454         "y": 5910.584487915039,
2455         "z": "b88526e.24a7ad8",
2456         "wires": []
2457     },
2458     {
2459         "id": "ba46d15f.84fe98",
2460         "type": "set",
2461         "name": "set model-invariant-uuid",
2462         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].onap-model-information.model-invariant-uuid`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
2463         "comments": "",
2464         "x": 2920.3095092773438,
2465         "y": 5976.584487915039,
2466         "z": "b88526e.24a7ad8",
2467         "wires": []
2468     },
2469     {
2470         "id": "ec7f1ff2.18d6b8",
2471         "type": "set",
2472         "name": "set model-customization-uuid",
2473         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].onap-model-information.model-customization-uuid`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
2474         "comments": "",
2475         "x": 2964.3095092773438,
2476         "y": 6040.584487915039,
2477         "z": "b88526e.24a7ad8",
2478         "wires": []
2479     },
2480     {
2481         "id": "9cb30ad2.947f6",
2482         "type": "set",
2483         "name": "set model-uuid",
2484         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].onap-model-information.model-uuid`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
2485         "comments": "",
2486         "x": 2940.3095092773438,
2487         "y": 6094.584487915039,
2488         "z": "b88526e.24a7ad8",
2489         "wires": []
2490     },
2491     {
2492         "id": "78957203.1f8534",
2493         "type": "set",
2494         "name": "set model-version",
2495         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].onap-model-information.model-version`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[j].value`' />\n",
2496         "comments": "",
2497         "x": 2886.3095092773438,
2498         "y": 6160.584487915039,
2499         "z": "b88526e.24a7ad8",
2500         "wires": []
2501     },
2502     {
2503         "id": "72d6e55e.c52994",
2504         "type": "set",
2505         "name": "set model-name",
2506         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].onap-model-information.model-name`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
2507         "comments": "",
2508         "x": 2892.3095092773438,
2509         "y": 6216.584487915039,
2510         "z": "b88526e.24a7ad8",
2511         "wires": []
2512     },
2513     {
2514         "id": "f9bda76a.6618c8",
2515         "type": "set",
2516         "name": "set  vnfc-name",
2517         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-name`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
2518         "comments": "",
2519         "x": 2910.3095092773438,
2520         "y": 6272.584487915039,
2521         "z": "b88526e.24a7ad8",
2522         "wires": []
2523     },
2524     {
2525         "id": "d4543380.8a8648",
2526         "type": "switchNode",
2527         "name": "switch model-name",
2528         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'model-name'`\">\n",
2529         "comments": "",
2530         "outputs": 1,
2531         "x": 2490.3095092773438,
2532         "y": 6218.584487915039,
2533         "z": "b88526e.24a7ad8",
2534         "wires": [
2535             [
2536                 "ebf87fd3.da0e28"
2537             ]
2538         ]
2539     },
2540     {
2541         "id": "80d478e2.ca4f3",
2542         "type": "switchNode",
2543         "name": "switch vnfc-name",
2544         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'vnfc-name'`\">\n",
2545         "comments": "",
2546         "outputs": 1,
2547         "x": 2488.3095092773438,
2548         "y": 6272.584487915039,
2549         "z": "b88526e.24a7ad8",
2550         "wires": [
2551             [
2552                 "e0094cf6.191bc"
2553             ]
2554         ]
2555     },
2556     {
2557         "id": "ebf87fd3.da0e28",
2558         "type": "success",
2559         "name": "true",
2560         "xml": "<outcome value='true'>\n",
2561         "comments": "",
2562         "outputs": 1,
2563         "x": 2724.3095092773438,
2564         "y": 6216.584487915038,
2565         "z": "b88526e.24a7ad8",
2566         "wires": [
2567             [
2568                 "72d6e55e.c52994"
2569             ]
2570         ]
2571     },
2572     {
2573         "id": "e0094cf6.191bc",
2574         "type": "success",
2575         "name": "true",
2576         "xml": "<outcome value='true'>\n",
2577         "comments": "",
2578         "outputs": 1,
2579         "x": 2718.3095092773438,
2580         "y": 6270.584487915038,
2581         "z": "b88526e.24a7ad8",
2582         "wires": [
2583             [
2584                 "f9bda76a.6618c8"
2585             ]
2586         ]
2587     },
2588     {
2589         "id": "c88ce4fa.2e3558",
2590         "type": "for",
2591         "name": "for vnf-parameters-data",
2592         "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
2593         "comments": "",
2594         "outputs": 1,
2595         "x": 1258.8571166992188,
2596         "y": 5374.571670532227,
2597         "z": "b88526e.24a7ad8",
2598         "wires": [
2599             [
2600                 "5a20be5b.b3a028"
2601             ]
2602         ]
2603     },
2604     {
2605         "id": "5a20be5b.b3a028",
2606         "type": "switchNode",
2607         "name": "switch capability-name",
2608         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n",
2609         "comments": "",
2610         "outputs": 1,
2611         "x": 1538.8571166992188,
2612         "y": 5374.571670532227,
2613         "z": "b88526e.24a7ad8",
2614         "wires": [
2615             [
2616                 "deb0eb20.bf079"
2617             ]
2618         ]
2619     },
2620     {
2621         "id": "deb0eb20.bf079",
2622         "type": "not-found",
2623         "name": "true",
2624         "xml": "<outcome value='true'>\n",
2625         "comments": "",
2626         "outputs": 1,
2627         "x": 1747.8572387695312,
2628         "y": 5374.571670532227,
2629         "z": "b88526e.24a7ad8",
2630         "wires": [
2631             [
2632                 "80097c84.1bbc38"
2633             ]
2634         ]
2635     },
2636     {
2637         "id": "96d8122d.bb415",
2638         "type": "block",
2639         "name": "block : atomic",
2640         "xml": "<block atomic='true'>",
2641         "atomic": "true",
2642         "comments": "",
2643         "outputs": 1,
2644         "x": 833.1071166992188,
2645         "y": 1717.5714263916016,
2646         "z": "b88526e.24a7ad8",
2647         "wires": [
2648             [
2649                 "acaab3ca.702c88",
2650                 "6764646d.7a6754",
2651                 "e7afeea8.32592"
2652             ]
2653         ]
2654     },
2655     {
2656         "id": "6764646d.7a6754",
2657         "type": "set",
2658         "name": "set payload data",
2659         "xml": "<set>\n\t<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />\n\t<parameter name='tmp.gen-name_length' value='0' />",
2660         "comments": "",
2661         "x": 1040.8571166992188,
2662         "y": 1718.5714263916016,
2663         "z": "b88526e.24a7ad8",
2664         "wires": []
2665     },
2666     {
2667         "id": "e7afeea8.32592",
2668         "type": "switchNode",
2669         "name": "switch tmp.naming-data-payload is null",
2670         "xml": "<switch test=\"`$tmp.naming-data-payload == ''`\">\n",
2671         "comments": "",
2672         "outputs": 1,
2673         "x": 1088.8571166992188,
2674         "y": 1997.5714263916016,
2675         "z": "b88526e.24a7ad8",
2676         "wires": [
2677             [
2678                 "b86e6a12.7ee33"
2679             ]
2680         ]
2681     },
2682     {
2683         "id": "b86e6a12.7ee33",
2684         "type": "not-found",
2685         "name": "false",
2686         "xml": "<outcome value='false'>\n",
2687         "comments": "",
2688         "outputs": 1,
2689         "x": 1325.8571166992188,
2690         "y": 1998.5714263916016,
2691         "z": "b88526e.24a7ad8",
2692         "wires": [
2693             [
2694                 "6e3664a9.34079c"
2695             ]
2696         ]
2697     },
2698     {
2699         "id": "6e3664a9.34079c",
2700         "type": "block",
2701         "name": "block : atomic",
2702         "xml": "<block atomic='true'>",
2703         "atomic": "true",
2704         "comments": "",
2705         "outputs": 1,
2706         "x": 1363.8571166992188,
2707         "y": 2056.5714263916016,
2708         "z": "b88526e.24a7ad8",
2709         "wires": [
2710             [
2711                 "88f11c7a.f31688",
2712                 "fff738e5.4d0ce",
2713                 "f398ae72.bb9338",
2714                 "6d5e56ed.17d75",
2715                 "a0bc5db0.876ac8",
2716                 "a133146c.f8d1c",
2717                 "a6e4bc7d.20b678",
2718                 "93dc5615.04a418"
2719             ]
2720         ]
2721     },
2722     {
2723         "id": "bf89c636.30aac8",
2724         "type": "block",
2725         "name": "block : atomic",
2726         "xml": "<block atomic='true'>",
2727         "atomic": "true",
2728         "comments": "",
2729         "outputs": 1,
2730         "x": 1009.8571166992188,
2731         "y": 5307.571426391602,
2732         "z": "b88526e.24a7ad8",
2733         "wires": [
2734             [
2735                 "86e86da4.4fe67",
2736                 "c88ce4fa.2e3558",
2737                 "b36f7e94.174be"
2738             ]
2739         ]
2740     },
2741     {
2742         "id": "86e86da4.4fe67",
2743         "type": "set",
2744         "name": "set set payload data",
2745         "xml": "<set>\n\t<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />\n\t<parameter name='tmp.gen-name_length' value='0' />",
2746         "comments": "",
2747         "x": 1246.8571166992188,
2748         "y": 5306.571426391602,
2749         "z": "b88526e.24a7ad8",
2750         "wires": []
2751     },
2752     {
2753         "id": "b36f7e94.174be",
2754         "type": "switchNode",
2755         "name": "switch tmp.naming-data-payload is null",
2756         "xml": "<switch test=\"`$tmp.naming-data-payload == ''`\">\n",
2757         "comments": "",
2758         "outputs": 1,
2759         "x": 1289.1071472167969,
2760         "y": 5497.071548461914,
2761         "z": "b88526e.24a7ad8",
2762         "wires": [
2763             [
2764                 "1f8cfbc.8ebb904"
2765             ]
2766         ]
2767     },
2768     {
2769         "id": "1f8cfbc.8ebb904",
2770         "type": "not-found",
2771         "name": "false",
2772         "xml": "<outcome value='false'>\n",
2773         "comments": "",
2774         "outputs": 1,
2775         "x": 1522.857177734375,
2776         "y": 5496.821304321289,
2777         "z": "b88526e.24a7ad8",
2778         "wires": [
2779             [
2780                 "d5e5468.2a80438"
2781             ]
2782         ]
2783     },
2784     {
2785         "id": "d5e5468.2a80438",
2786         "type": "block",
2787         "name": "block : atomic",
2788         "xml": "<block atomic='true'>",
2789         "atomic": "true",
2790         "comments": "",
2791         "outputs": 1,
2792         "x": 1510.607177734375,
2793         "y": 5574.071670532227,
2794         "z": "b88526e.24a7ad8",
2795         "wires": [
2796             [
2797                 "aba737c8.b673a",
2798                 "c54c6f8e.b8ff58",
2799                 "e94ef6dd.a37908",
2800                 "cbc78ec6.7ff248",
2801                 "d085846f.259da",
2802                 "af0954c0.0ed2a8",
2803                 "1e5d91b7.f1cac6",
2804                 "2d4ee971.9f5306",
2805                 "d6d7c682.438ef8"
2806             ]
2807         ]
2808     },
2809     {
2810         "id": "2a352877.19cd9",
2811         "type": "execute",
2812         "name": "execute readProperties",
2813         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",
2814         "comments": "",
2815         "outputs": 1,
2816         "x": 375,
2817         "y": 176,
2818         "z": "b88526e.24a7ad8",
2819         "wires": [
2820             []
2821         ]
2822     },
2823     {
2824         "id": "d6d7c682.438ef8",
2825         "type": "execute",
2826         "name": "execute RestApiCallNode - POST gen-name",
2827         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >    \n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />\n    <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />\n    <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='POST' />\n    <parameter name=\"responsePrefix\" value=\"nameGenResponse\" />\n\n\n",
2828         "comments": "",
2829         "outputs": 1,
2830         "x": 1771,
2831         "y": 5787,
2832         "z": "b88526e.24a7ad8",
2833         "wires": [
2834             [
2835                 "1ec3d3c3.85586c",
2836                 "80386656.f0d7d"
2837             ]
2838         ]
2839     },
2840     {
2841         "id": "93dc5615.04a418",
2842         "type": "execute",
2843         "name": "execute RestApiCallNode - POST gen-name",
2844         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >    \n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />\n    <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />\n    <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='POST' />\n    <parameter name=\"responsePrefix\" value=\"nameGenResponse\" />\n\n\n",
2845         "comments": "",
2846         "outputs": 1,
2847         "x": 1674,
2848         "y": 2229,
2849         "z": "b88526e.24a7ad8",
2850         "wires": [
2851             [
2852                 "7136f5d4.61b024",
2853                 "ef775b29.4a7b"
2854             ]
2855         ]
2856     },
2857     {
2858         "id": "99585b38.25a06",
2859         "type": "execute",
2860         "name": "execute RestApiCallNode - DELETE gen-name",
2861         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >    \n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />\n    <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />\n    <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='DELETE' />\n    <parameter name=\"responsePrefix\" value=\"nameGenResponse\" />\n\n\n",
2862         "comments": "",
2863         "outputs": 1,
2864         "x": 1891,
2865         "y": 4194,
2866         "z": "b88526e.24a7ad8",
2867         "wires": [
2868             [
2869                 "e6db3fc2.418c7",
2870                 "add1de2.24bbda"
2871             ]
2872         ]
2873     },
2874     {
2875         "id": "f9afd12e.2d3128",
2876         "type": "execute",
2877         "name": "execute RestApiCallNode - DELETE gen-name",
2878         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >    \n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />\n    <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />\n    <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='DELETE' />\n    <parameter name=\"responsePrefix\" value=\"nameGenResponse\" />\n\n\n",
2879         "comments": "",
2880         "outputs": 1,
2881         "x": 1784,
2882         "y": 979,
2883         "z": "b88526e.24a7ad8",
2884         "wires": [
2885             [
2886                 "8af1d548.36ba08",
2887                 "6b5d2c36.36d07c"
2888             ]
2889         ]
2890     },
2891     {
2892         "id": "63a7432d.46f304",
2893         "type": "comment",
2894         "name": "For Generate Name DG Capability ",
2895         "info": "Support Bulk assign and single delete\nAlso calls Naming gen mS for assign/un-assign\n\nAdded by Ajay Singh(as396y)",
2896         "comments": "",
2897         "x": 838,
2898         "y": 106,
2899         "z": "b88526e.24a7ad8",
2900         "wires": []
2901     }
2902 ]