Multiple self-serve fixes
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_self-serve-generate-name.json
1 [
2     {
3         "id": "9d01f665.242718",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 120,
8         "y": 60,
9         "z": "8ffa18ff.21a748",
10         "wires": [
11             [
12                 "8d2cd10d.7836b8"
13             ]
14         ]
15     },
16     {
17         "id": "8d2cd10d.7836b8",
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": 368.5713806152344,
26         "y": 62.428558349609375,
27         "z": "8ffa18ff.21a748",
28         "wires": [
29             [
30                 "3bb04424.165b2c"
31             ]
32         ]
33     },
34     {
35         "id": "3bb04424.165b2c",
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": 672.1428527832031,
42         "y": 60.99999237060547,
43         "z": "8ffa18ff.21a748",
44         "wires": [
45             [
46                 "f544f42f.79e4c8"
47             ]
48         ]
49     },
50     {
51         "id": "f544f42f.79e4c8",
52         "type": "block",
53         "name": "block atomic",
54         "xml": "<block atomic=\"true\">\n",
55         "atomic": "false",
56         "comments": "",
57         "outputs": 1,
58         "x": 171.14285278320312,
59         "y": 146.99999237060547,
60         "z": "8ffa18ff.21a748",
61         "wires": [
62             [
63                 "af15506f.05852",
64                 "d5abcd9b.9745b",
65                 "9587cb6f.6286",
66                 "c8c9dba8.4a219",
67                 "c465ea91.13fb38"
68             ]
69         ]
70     },
71     {
72         "id": "8b3cd365.e1b4c",
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": 1736.8572082519531,
79         "y": 873.1427688598633,
80         "z": "8ffa18ff.21a748",
81         "wires": [
82             []
83         ]
84     },
85     {
86         "id": "af15506f.05852",
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": 370.1428527832031,
92         "y": 147.99999237060547,
93         "z": "8ffa18ff.21a748",
94         "wires": []
95     },
96     {
97         "id": "d5abcd9b.9745b",
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": 399.1428527832031,
104         "y": 239,
105         "z": "8ffa18ff.21a748",
106         "wires": [
107             [
108                 "7aabee17.1c5ba8",
109                 "8a0a976d.bb54a"
110             ]
111         ]
112     },
113     {
114         "id": "57f8f575.c14294",
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": 1170.6430053710938,
121         "y": 504.4285125732422,
122         "z": "8ffa18ff.21a748",
123         "wires": [
124             [
125                 "45ec186d.6638d8"
126             ]
127         ]
128     },
129     {
130         "id": "45ec186d.6638d8",
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": 1413.5000610351562,
137         "y": 504.4285125732422,
138         "z": "8ffa18ff.21a748",
139         "wires": [
140             [
141                 "c34ee0d3.7925f8"
142             ]
143         ]
144     },
145     {
146         "id": "c34ee0d3.7925f8",
147         "type": "not-found",
148         "name": "true",
149         "xml": "<outcome value='true'>\n",
150         "comments": "",
151         "outputs": 1,
152         "x": 1594.2144165039062,
153         "y": 504.4284973144531,
154         "z": "8ffa18ff.21a748",
155         "wires": [
156             [
157                 "fbccf37.88f999"
158             ]
159         ]
160     },
161     {
162         "id": "d539f25c.c0e5b8",
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": 1706.3572082519531,
169         "y": 674.1427688598633,
170         "z": "8ffa18ff.21a748",
171         "wires": [
172             [
173                 "59762169.0b874"
174             ]
175         ]
176     },
177     {
178         "id": "7aabee17.1c5ba8",
179         "type": "failure",
180         "name": "failure",
181         "xml": "<outcome value='failure'>\n",
182         "comments": "",
183         "outputs": 1,
184         "x": 622.1428527832031,
185         "y": 207,
186         "z": "8ffa18ff.21a748",
187         "wires": [
188             [
189                 "1370aa99.4464d5"
190             ]
191         ]
192     },
193     {
194         "id": "8a0a976d.bb54a",
195         "type": "failure",
196         "name": "not-found",
197         "xml": "<outcome value='not-found'>\n",
198         "comments": "",
199         "outputs": 1,
200         "x": 631.1428527832031,
201         "y": 273,
202         "z": "8ffa18ff.21a748",
203         "wires": [
204             [
205                 "1370aa99.4464d5"
206             ]
207         ]
208     },
209     {
210         "id": "1370aa99.4464d5",
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": 824.1428527832031,
216         "y": 207,
217         "z": "8ffa18ff.21a748",
218         "wires": []
219     },
220     {
221         "id": "c41bbe96.bcfb",
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": 2308.857208251953,
227         "y": 672.1427688598633,
228         "z": "8ffa18ff.21a748",
229         "wires": []
230     },
231     {
232         "id": "5ed4030d.2a373c",
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": 1703.8573608398438,
238         "y": 599.9998626708984,
239         "z": "8ffa18ff.21a748",
240         "wires": []
241     },
242     {
243         "id": "5c5e5f8.5a649a",
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": 1703.8572082519531,
249         "y": 736.1427688598633,
250         "z": "8ffa18ff.21a748",
251         "wires": []
252     },
253     {
254         "id": "30621c93.731054",
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": 1709.8572082519531,
260         "y": 801.1427688598633,
261         "z": "8ffa18ff.21a748",
262         "wires": []
263     },
264     {
265         "id": "ea2a8ca.3b9d37",
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": 1739.8572082519531,
272         "y": 927.1427688598633,
273         "z": "8ffa18ff.21a748",
274         "wires": [
275             []
276         ]
277     },
278     {
279         "id": "97b12709.514e68",
280         "type": "failure",
281         "name": "failure",
282         "xml": "<outcome value='failure'>\n",
283         "comments": "",
284         "outputs": 1,
285         "x": 2105.857177734375,
286         "y": 949.1427612304688,
287         "z": "8ffa18ff.21a748",
288         "wires": [
289             [
290                 "718393eb.a09b34"
291             ]
292         ]
293     },
294     {
295         "id": "f738cd51.cd41e",
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": 2470.857177734375,
301         "y": 1049.1427612304688,
302         "z": "8ffa18ff.21a748",
303         "wires": []
304     },
305     {
306         "id": "d0e601f9.671c6",
307         "type": "failure",
308         "name": "not-found",
309         "xml": "<outcome value='not-found'>\n",
310         "comments": "",
311         "outputs": 1,
312         "x": 2110.857177734375,
313         "y": 1048.1427612304688,
314         "z": "8ffa18ff.21a748",
315         "wires": [
316             [
317                 "718393eb.a09b34"
318             ]
319         ]
320     },
321     {
322         "id": "718393eb.a09b34",
323         "type": "block",
324         "name": "block",
325         "xml": "<block>\n",
326         "atomic": "false",
327         "comments": "",
328         "outputs": 1,
329         "x": 2268.857177734375,
330         "y": 993.1427612304688,
331         "z": "8ffa18ff.21a748",
332         "wires": [
333             [
334                 "bcc4f011.c46088",
335                 "f738cd51.cd41e"
336             ]
337         ]
338     },
339     {
340         "id": "bcc4f011.c46088",
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": 2484.857177734375,
346         "y": 940.1427612304688,
347         "z": "8ffa18ff.21a748",
348         "wires": []
349     },
350     {
351         "id": "d674890d.0b54b8",
352         "type": "switchNode",
353         "name": "switch capability action assign",
354         "xml": "<switch test=\"`$ss.capability-action == 'assign'`\">",
355         "comments": "",
356         "outputs": 1,
357         "x": 794.3809204101562,
358         "y": 1631.7618560791016,
359         "z": "8ffa18ff.21a748",
360         "wires": [
361             [
362                 "20e0c70b.391c68"
363             ]
364         ]
365     },
366     {
367         "id": "20e0c70b.391c68",
368         "type": "not-found",
369         "name": "true",
370         "xml": "<outcome value='true'>\n",
371         "comments": "",
372         "outputs": 1,
373         "x": 1049.0951538085938,
374         "y": 1631.7618560791016,
375         "z": "8ffa18ff.21a748",
376         "wires": [
377             [
378                 "e6d807c0.e53738"
379             ]
380         ]
381     },
382     {
383         "id": "c101db98.1e6f7",
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": 1951.8572082519531,
390         "y": 1229.1427688598633,
391         "z": "8ffa18ff.21a748",
392         "wires": [
393             [
394                 "c97cd966.464808"
395             ]
396         ]
397     },
398     {
399         "id": "16707bfd.c97154",
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": 2154.857208251953,
406         "y": 1447.1427688598633,
407         "z": "8ffa18ff.21a748",
408         "wires": [
409             [
410                 "a824ee12.8cc8e8"
411             ]
412         ]
413     },
414     {
415         "id": "a824ee12.8cc8e8",
416         "type": "not-found",
417         "name": "true",
418         "xml": "<outcome value='true'>\n",
419         "comments": "",
420         "outputs": 1,
421         "x": 2364.857208251953,
422         "y": 1447.1427688598633,
423         "z": "8ffa18ff.21a748",
424         "wires": [
425             [
426                 "c872b3d2.2f9e08"
427             ]
428         ]
429     },
430     {
431         "id": "8cb3cf6f.94a54",
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": 2678.0235595703125,
437         "y": 1425.9205322265625,
438         "z": "8ffa18ff.21a748",
439         "wires": []
440     },
441     {
442         "id": "b9d7571b.298638",
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": 1720.8572082519531,
449         "y": 1132.1427688598633,
450         "z": "8ffa18ff.21a748",
451         "wires": [
452             []
453         ]
454     },
455     {
456         "id": "f2cc0f54.bb60e8",
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": 1713.8572082519531,
463         "y": 1228.1427688598633,
464         "z": "8ffa18ff.21a748",
465         "wires": [
466             [
467                 "c101db98.1e6f7"
468             ]
469         ]
470     },
471     {
472         "id": "c97cd966.464808",
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": 2255.857208251953,
479         "y": 1229.1427688598633,
480         "z": "8ffa18ff.21a748",
481         "wires": [
482             [
483                 "bad123a5.0894c8"
484             ]
485         ]
486     },
487     {
488         "id": "bad123a5.0894c8",
489         "type": "outcomeTrue",
490         "name": "true",
491         "xml": "<outcome value='true'>\n",
492         "comments": "",
493         "outputs": 1,
494         "x": 2495.857208251953,
495         "y": 1228.1427688598633,
496         "z": "8ffa18ff.21a748",
497         "wires": [
498             [
499                 "be18f58.a0ee008"
500             ]
501         ]
502     },
503     {
504         "id": "1bb7fc63.6e9f3c",
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": 2162.857208251953,
511         "y": 1299.1427688598633,
512         "z": "8ffa18ff.21a748",
513         "wires": [
514             []
515         ]
516     },
517     {
518         "id": "d888d83a.b7d8",
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": 2177.857208251953,
525         "y": 1382.1427688598633,
526         "z": "8ffa18ff.21a748",
527         "wires": [
528             []
529         ]
530     },
531     {
532         "id": "fbccf37.88f999",
533         "type": "block",
534         "name": "block : atomic",
535         "xml": "<block atomic='true'>",
536         "atomic": "true",
537         "comments": "",
538         "outputs": 1,
539         "x": 1496.8572082519531,
540         "y": 600.1427688598633,
541         "z": "8ffa18ff.21a748",
542         "wires": [
543             [
544                 "5ed4030d.2a373c",
545                 "d539f25c.c0e5b8",
546                 "5c5e5f8.5a649a",
547                 "30621c93.731054",
548                 "8b3cd365.e1b4c",
549                 "b9d7571b.298638",
550                 "f2cc0f54.bb60e8",
551                 "ea2a8ca.3b9d37",
552                 "4379c30d.8a80a4"
553             ]
554         ]
555     },
556     {
557         "id": "ef4a1fc.34c336",
558         "type": "execute",
559         "name": "execute replace extra comma",
560         "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='}' />",
561         "comments": "",
562         "outputs": 1,
563         "x": 1635.5236206054688,
564         "y": 2116.6663970947266,
565         "z": "8ffa18ff.21a748",
566         "wires": [
567             []
568         ]
569     },
570     {
571         "id": "90f9be75.fa811",
572         "type": "for",
573         "name": "for vnf-parameters-data",
574         "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",
575         "comments": "",
576         "outputs": 1,
577         "x": 1743.0236206054688,
578         "y": 1932.6663970947266,
579         "z": "8ffa18ff.21a748",
580         "wires": [
581             [
582                 "89254dc2.7f4cd8"
583             ]
584         ]
585     },
586     {
587         "id": "89254dc2.7f4cd8",
588         "type": "set",
589         "name": "set payload data",
590         "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`' />",
591         "comments": "",
592         "x": 1995.5236206054688,
593         "y": 1932.6663970947266,
594         "z": "8ffa18ff.21a748",
595         "wires": []
596     },
597     {
598         "id": "3d749bd0.06285c",
599         "type": "set",
600         "name": "set payload data",
601         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />\n",
602         "comments": "",
603         "x": 1723.9520874023438,
604         "y": 1871.3808135986328,
605         "z": "8ffa18ff.21a748",
606         "wires": []
607     },
608     {
609         "id": "3a35a7fe.ef5ea8",
610         "type": "set",
611         "name": "set payload data",
612         "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`' />",
613         "comments": "",
614         "x": 1725.5236206054688,
615         "y": 1988.6663970947266,
616         "z": "8ffa18ff.21a748",
617         "wires": []
618     },
619     {
620         "id": "85561c80.3ef308",
621         "type": "set",
622         "name": "set close payload list",
623         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
624         "comments": "",
625         "x": 1610.5236206054688,
626         "y": 2073.6663360595703,
627         "z": "8ffa18ff.21a748",
628         "wires": []
629     },
630     {
631         "id": "4c175841.300a1",
632         "type": "execute",
633         "name": "execute replace extra comma",
634         "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=']' />",
635         "comments": "",
636         "outputs": 1,
637         "x": 1636.5236206054688,
638         "y": 2167.6663970947266,
639         "z": "8ffa18ff.21a748",
640         "wires": [
641             []
642         ]
643     },
644     {
645         "id": "88d774fa.1d1a38",
646         "type": "failure",
647         "name": "failure",
648         "xml": "<outcome value='failure'>\n",
649         "comments": "",
650         "outputs": 1,
651         "x": 1977.523681640625,
652         "y": 2201.66650390625,
653         "z": "8ffa18ff.21a748",
654         "wires": [
655             [
656                 "c5c5c44f.80e79"
657             ]
658         ]
659     },
660     {
661         "id": "1dbcec72.a673cc",
662         "type": "returnFailure",
663         "name": "return failure",
664         "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",
665         "comments": "",
666         "x": 2342.523681640625,
667         "y": 2301.66650390625,
668         "z": "8ffa18ff.21a748",
669         "wires": []
670     },
671     {
672         "id": "157b3125.a0ffff",
673         "type": "failure",
674         "name": "not-found",
675         "xml": "<outcome value='not-found'>\n",
676         "comments": "",
677         "outputs": 1,
678         "x": 1982.523681640625,
679         "y": 2300.66650390625,
680         "z": "8ffa18ff.21a748",
681         "wires": [
682             [
683                 "c5c5c44f.80e79"
684             ]
685         ]
686     },
687     {
688         "id": "c5c5c44f.80e79",
689         "type": "block",
690         "name": "block",
691         "xml": "<block>\n",
692         "atomic": "false",
693         "comments": "",
694         "outputs": 1,
695         "x": 2140.523681640625,
696         "y": 2245.66650390625,
697         "z": "8ffa18ff.21a748",
698         "wires": [
699             [
700                 "24a305ec.7924e2",
701                 "1dbcec72.a673cc"
702             ]
703         ]
704     },
705     {
706         "id": "24a305ec.7924e2",
707         "type": "set",
708         "name": "set status as FAILED",
709         "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' />",
710         "comments": "",
711         "x": 2356.523681640625,
712         "y": 2192.66650390625,
713         "z": "8ffa18ff.21a748",
714         "wires": []
715     },
716     {
717         "id": "76848f5c.5c31a",
718         "type": "for",
719         "name": "for vnf-parameters-data",
720         "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
721         "comments": "",
722         "outputs": 1,
723         "x": 1856.5236206054688,
724         "y": 2424.6663970947266,
725         "z": "8ffa18ff.21a748",
726         "wires": [
727             [
728                 "d362ce7b.44bc4"
729             ]
730         ]
731     },
732     {
733         "id": "6e2978a6.3a8118",
734         "type": "switchNode",
735         "name": "switch capability-name",
736         "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
737         "comments": "",
738         "outputs": 1,
739         "x": 2059.5236206054688,
740         "y": 2642.6663970947266,
741         "z": "8ffa18ff.21a748",
742         "wires": [
743             [
744                 "6be9a784.88ae8"
745             ]
746         ]
747     },
748     {
749         "id": "6be9a784.88ae8",
750         "type": "not-found",
751         "name": "true",
752         "xml": "<outcome value='true'>\n",
753         "comments": "",
754         "outputs": 1,
755         "x": 2269.5236206054688,
756         "y": 2642.6663970947266,
757         "z": "8ffa18ff.21a748",
758         "wires": [
759             [
760                 "88e1aa71.08c4d"
761             ]
762         ]
763     },
764     {
765         "id": "d351c878.19363",
766         "type": "set",
767         "name": "set set payload data",
768         "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",
769         "comments": "",
770         "x": 2622.6903076171875,
771         "y": 2611.4442138671875,
772         "z": "8ffa18ff.21a748",
773         "wires": []
774     },
775     {
776         "id": "333a840.1d25d7c",
777         "type": "execute",
778         "name": "execute jsonStringToCtx",
779         "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",
780         "comments": "",
781         "outputs": 1,
782         "x": 1617.5236206054688,
783         "y": 2326.6663970947266,
784         "z": "8ffa18ff.21a748",
785         "wires": [
786             []
787         ]
788     },
789     {
790         "id": "f671137e.43c9",
791         "type": "for",
792         "name": "for response elements",
793         "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
794         "comments": "",
795         "outputs": 1,
796         "x": 1609.5236206054688,
797         "y": 2423.6663970947266,
798         "z": "8ffa18ff.21a748",
799         "wires": [
800             [
801                 "76848f5c.5c31a"
802             ]
803         ]
804     },
805     {
806         "id": "d362ce7b.44bc4",
807         "type": "execute",
808         "name": "slistringUtils - check value for $",
809         "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",
810         "comments": "",
811         "outputs": 1,
812         "x": 2160.5236206054688,
813         "y": 2424.6663970947266,
814         "z": "8ffa18ff.21a748",
815         "wires": [
816             [
817                 "9fd05568.528db8"
818             ]
819         ]
820     },
821     {
822         "id": "9fd05568.528db8",
823         "type": "outcomeTrue",
824         "name": "true",
825         "xml": "<outcome value='true'>\n",
826         "comments": "",
827         "outputs": 1,
828         "x": 2400.5236206054688,
829         "y": 2423.6663970947266,
830         "z": "8ffa18ff.21a748",
831         "wires": [
832             [
833                 "70491a0a.6a6a24"
834             ]
835         ]
836     },
837     {
838         "id": "925d0988.c8bd58",
839         "type": "execute",
840         "name": "split resource-resolution-data",
841         "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",
842         "comments": "",
843         "outputs": 1,
844         "x": 2067.5236206054688,
845         "y": 2494.6663970947266,
846         "z": "8ffa18ff.21a748",
847         "wires": [
848             []
849         ]
850     },
851     {
852         "id": "3d173098.20141",
853         "type": "execute",
854         "name": "split resource-resolution-split-1",
855         "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",
856         "comments": "",
857         "outputs": 1,
858         "x": 2082.5236206054688,
859         "y": 2577.6663970947266,
860         "z": "8ffa18ff.21a748",
861         "wires": [
862             []
863         ]
864     },
865     {
866         "id": "70491a0a.6a6a24",
867         "type": "block",
868         "name": "block",
869         "xml": "<block>\n",
870         "atomic": "false",
871         "comments": "",
872         "outputs": 1,
873         "x": 1851.5236206054688,
874         "y": 2494.6663970947266,
875         "z": "8ffa18ff.21a748",
876         "wires": [
877             [
878                 "925d0988.c8bd58",
879                 "3d173098.20141",
880                 "6e2978a6.3a8118"
881             ]
882         ]
883     },
884     {
885         "id": "94a9278.dd98e58",
886         "type": "block",
887         "name": "block : atomic",
888         "xml": "<block atomic='true'>",
889         "atomic": "true",
890         "comments": "",
891         "outputs": 1,
892         "x": 1520.6666870117188,
893         "y": 1850.9520416259766,
894         "z": "8ffa18ff.21a748",
895         "wires": [
896             [
897                 "3d749bd0.06285c",
898                 "90f9be75.fa811",
899                 "3a35a7fe.ef5ea8"
900             ]
901         ]
902     },
903     {
904         "id": "59762169.0b874",
905         "type": "switchNode",
906         "name": "switch external-key",
907         "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",
908         "comments": "",
909         "outputs": 1,
910         "x": 1944.8572082519531,
911         "y": 673.1427688598633,
912         "z": "8ffa18ff.21a748",
913         "wires": [
914             [
915                 "3be873de.5f56e4"
916             ]
917         ]
918     },
919     {
920         "id": "3be873de.5f56e4",
921         "type": "not-found",
922         "name": "true",
923         "xml": "<outcome value='true'>\n",
924         "comments": "",
925         "outputs": 1,
926         "x": 2128.857208251953,
927         "y": 673.1427688598633,
928         "z": "8ffa18ff.21a748",
929         "wires": [
930             [
931                 "c41bbe96.bcfb"
932             ]
933         ]
934     },
935     {
936         "id": "a56c2f8a.64a94",
937         "type": "execute",
938         "name": "execute replace extra comma",
939         "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='}' />",
940         "comments": "",
941         "outputs": 1,
942         "x": 1856.4762573242188,
943         "y": 4087.3329010009766,
944         "z": "8ffa18ff.21a748",
945         "wires": [
946             []
947         ]
948     },
949     {
950         "id": "75bd0dd1.6885f4",
951         "type": "for",
952         "name": "for vnf-parameters-data",
953         "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",
954         "comments": "",
955         "outputs": 1,
956         "x": 1144.9761352539062,
957         "y": 3699.3333892822266,
958         "z": "8ffa18ff.21a748",
959         "wires": [
960             [
961                 "1a936a5a.dcff5e"
962             ]
963         ]
964     },
965     {
966         "id": "1a936a5a.dcff5e",
967         "type": "switchNode",
968         "name": "switch capability-name",
969         "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",
970         "comments": "",
971         "outputs": 1,
972         "x": 1424.9761352539062,
973         "y": 3699.3333892822266,
974         "z": "8ffa18ff.21a748",
975         "wires": [
976             [
977                 "d02ebe6c.238e3"
978             ]
979         ]
980     },
981     {
982         "id": "d02ebe6c.238e3",
983         "type": "not-found",
984         "name": "true",
985         "xml": "<outcome value='true'>\n",
986         "comments": "",
987         "outputs": 1,
988         "x": 1633.9762573242188,
989         "y": 3699.3333892822266,
990         "z": "8ffa18ff.21a748",
991         "wires": [
992             [
993                 "17f1cb31.5694ed"
994             ]
995         ]
996     },
997     {
998         "id": "a4f0128d.13f6b",
999         "type": "for",
1000         "name": "for vf-module-parameters",
1001         "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",
1002         "comments": "",
1003         "outputs": 1,
1004         "x": 1825.9762573242188,
1005         "y": 3888.3329010009766,
1006         "z": "8ffa18ff.21a748",
1007         "wires": [
1008             [
1009                 "206ac6d4.7ae67a"
1010             ]
1011         ]
1012     },
1013     {
1014         "id": "e421640.8a1ea2",
1015         "type": "set",
1016         "name": "set payload data",
1017         "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`' />",
1018         "comments": "",
1019         "x": 2428.4762573242188,
1020         "y": 3886.3329010009766,
1021         "z": "8ffa18ff.21a748",
1022         "wires": []
1023     },
1024     {
1025         "id": "2167bfb4.daf4d",
1026         "type": "set",
1027         "name": "set set payload data",
1028         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />\n<parameter name='tmp.gen-name_length' value='1' />",
1029         "comments": "",
1030         "x": 1823.4762573242188,
1031         "y": 3811.3329010009766,
1032         "z": "8ffa18ff.21a748",
1033         "wires": []
1034     },
1035     {
1036         "id": "b585badd.35b568",
1037         "type": "set",
1038         "name": "set payload data",
1039         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />",
1040         "comments": "",
1041         "x": 1823.4762573242188,
1042         "y": 3950.3329010009766,
1043         "z": "8ffa18ff.21a748",
1044         "wires": []
1045     },
1046     {
1047         "id": "bb4dfba2.da8018",
1048         "type": "set",
1049         "name": "set close payload list",
1050         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
1051         "comments": "",
1052         "x": 1829.4762573242188,
1053         "y": 4015.3329010009766,
1054         "z": "8ffa18ff.21a748",
1055         "wires": []
1056     },
1057     {
1058         "id": "73f361ac.bbceb8",
1059         "type": "execute",
1060         "name": "execute replace extra comma",
1061         "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=']' />",
1062         "comments": "",
1063         "outputs": 1,
1064         "x": 1859.4762573242188,
1065         "y": 4141.332901000977,
1066         "z": "8ffa18ff.21a748",
1067         "wires": [
1068             []
1069         ]
1070     },
1071     {
1072         "id": "cb05a44b.81acd",
1073         "type": "failure",
1074         "name": "failure",
1075         "xml": "<outcome value='failure'>\n",
1076         "comments": "",
1077         "outputs": 1,
1078         "x": 2189.476318359375,
1079         "y": 4163.3330078125,
1080         "z": "8ffa18ff.21a748",
1081         "wires": [
1082             [
1083                 "53f184d5.f04db4"
1084             ]
1085         ]
1086     },
1087     {
1088         "id": "ac469966.f9f0b",
1089         "type": "returnFailure",
1090         "name": "return failure",
1091         "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",
1092         "comments": "",
1093         "x": 2554.476318359375,
1094         "y": 4263.3330078125,
1095         "z": "8ffa18ff.21a748",
1096         "wires": []
1097     },
1098     {
1099         "id": "ba1d7d79.ebca9",
1100         "type": "failure",
1101         "name": "not-found",
1102         "xml": "<outcome value='not-found'>\n",
1103         "comments": "",
1104         "outputs": 1,
1105         "x": 2194.476318359375,
1106         "y": 4262.3330078125,
1107         "z": "8ffa18ff.21a748",
1108         "wires": [
1109             [
1110                 "53f184d5.f04db4"
1111             ]
1112         ]
1113     },
1114     {
1115         "id": "53f184d5.f04db4",
1116         "type": "block",
1117         "name": "block",
1118         "xml": "<block>\n",
1119         "atomic": "false",
1120         "comments": "",
1121         "outputs": 1,
1122         "x": 2352.476318359375,
1123         "y": 4207.3330078125,
1124         "z": "8ffa18ff.21a748",
1125         "wires": [
1126             [
1127                 "d5a758ad.0c7368",
1128                 "ac469966.f9f0b"
1129             ]
1130         ]
1131     },
1132     {
1133         "id": "d5a758ad.0c7368",
1134         "type": "set",
1135         "name": "set status as FAILED",
1136         "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' />",
1137         "comments": "",
1138         "x": 2568.476318359375,
1139         "y": 4154.3330078125,
1140         "z": "8ffa18ff.21a748",
1141         "wires": []
1142     },
1143     {
1144         "id": "8566b45.4555748",
1145         "type": "for",
1146         "name": "for vf-module-parameters",
1147         "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",
1148         "comments": "",
1149         "outputs": 1,
1150         "x": 2071.4762573242188,
1151         "y": 4443.332901000977,
1152         "z": "8ffa18ff.21a748",
1153         "wires": [
1154             [
1155                 "bcafdf43.c97df8"
1156             ]
1157         ]
1158     },
1159     {
1160         "id": "bfa1ad98.e1291",
1161         "type": "switchNode",
1162         "name": "switch capability-name",
1163         "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
1164         "comments": "",
1165         "outputs": 1,
1166         "x": 2274.4762573242188,
1167         "y": 4661.332901000977,
1168         "z": "8ffa18ff.21a748",
1169         "wires": [
1170             [
1171                 "1695dfe6.8492a"
1172             ]
1173         ]
1174     },
1175     {
1176         "id": "1695dfe6.8492a",
1177         "type": "not-found",
1178         "name": "true",
1179         "xml": "<outcome value='true'>\n",
1180         "comments": "",
1181         "outputs": 1,
1182         "x": 2484.4762573242188,
1183         "y": 4661.332901000977,
1184         "z": "8ffa18ff.21a748",
1185         "wires": [
1186             [
1187                 "29601f42.c65388"
1188             ]
1189         ]
1190     },
1191     {
1192         "id": "29601f42.c65388",
1193         "type": "set",
1194         "name": "set set payload data",
1195         "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",
1196         "comments": "",
1197         "x": 2680.9762573242188,
1198         "y": 4662.332901000977,
1199         "z": "8ffa18ff.21a748",
1200         "wires": []
1201     },
1202     {
1203         "id": "e7b4e270.a2e688",
1204         "type": "execute",
1205         "name": "execute jsonStringToCtx",
1206         "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",
1207         "comments": "",
1208         "outputs": 1,
1209         "x": 1840.4762573242188,
1210         "y": 4346.332901000977,
1211         "z": "8ffa18ff.21a748",
1212         "wires": [
1213             []
1214         ]
1215     },
1216     {
1217         "id": "dc4b9b10.f541",
1218         "type": "for",
1219         "name": "for response elements",
1220         "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
1221         "comments": "",
1222         "outputs": 1,
1223         "x": 1833.4762573242188,
1224         "y": 4442.332901000977,
1225         "z": "8ffa18ff.21a748",
1226         "wires": [
1227             [
1228                 "8566b45.4555748"
1229             ]
1230         ]
1231     },
1232     {
1233         "id": "bcafdf43.c97df8",
1234         "type": "execute",
1235         "name": "slistringUtils - check value for $",
1236         "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",
1237         "comments": "",
1238         "outputs": 1,
1239         "x": 2375.4762573242188,
1240         "y": 4443.332901000977,
1241         "z": "8ffa18ff.21a748",
1242         "wires": [
1243             [
1244                 "576f293f.cd5a6"
1245             ]
1246         ]
1247     },
1248     {
1249         "id": "576f293f.cd5a6",
1250         "type": "outcomeTrue",
1251         "name": "true",
1252         "xml": "<outcome value='true'>\n",
1253         "comments": "",
1254         "outputs": 1,
1255         "x": 2615.4762573242188,
1256         "y": 4442.332901000977,
1257         "z": "8ffa18ff.21a748",
1258         "wires": [
1259             [
1260                 "7103d8d3.c872d8"
1261             ]
1262         ]
1263     },
1264     {
1265         "id": "3a69492f.bb2bae",
1266         "type": "execute",
1267         "name": "split resource-resolution-data",
1268         "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",
1269         "comments": "",
1270         "outputs": 1,
1271         "x": 2282.4762573242188,
1272         "y": 4513.332901000977,
1273         "z": "8ffa18ff.21a748",
1274         "wires": [
1275             []
1276         ]
1277     },
1278     {
1279         "id": "c5cb3ca9.bf8848",
1280         "type": "execute",
1281         "name": "split resource-resolution-split-1",
1282         "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",
1283         "comments": "",
1284         "outputs": 1,
1285         "x": 2297.4762573242188,
1286         "y": 4596.332901000977,
1287         "z": "8ffa18ff.21a748",
1288         "wires": [
1289             []
1290         ]
1291     },
1292     {
1293         "id": "7103d8d3.c872d8",
1294         "type": "block",
1295         "name": "block",
1296         "xml": "<block>\n",
1297         "atomic": "false",
1298         "comments": "",
1299         "outputs": 1,
1300         "x": 2066.4762573242188,
1301         "y": 4513.332901000977,
1302         "z": "8ffa18ff.21a748",
1303         "wires": [
1304             [
1305                 "3a69492f.bb2bae",
1306                 "c5cb3ca9.bf8848",
1307                 "bfa1ad98.e1291"
1308             ]
1309         ]
1310     },
1311     {
1312         "id": "17f1cb31.5694ed",
1313         "type": "block",
1314         "name": "block : atomic",
1315         "xml": "<block atomic='true'>",
1316         "atomic": "true",
1317         "comments": "",
1318         "outputs": 1,
1319         "x": 1616.4762573242188,
1320         "y": 3814.3329010009766,
1321         "z": "8ffa18ff.21a748",
1322         "wires": [
1323             [
1324                 "2167bfb4.daf4d",
1325                 "a4f0128d.13f6b",
1326                 "b585badd.35b568",
1327                 "bb4dfba2.da8018",
1328                 "a56c2f8a.64a94",
1329                 "e7b4e270.a2e688",
1330                 "50a18ce1.97fc1c",
1331                 "dc4b9b10.f541",
1332                 "73f361ac.bbceb8",
1333                 "40117641.f32018"
1334             ]
1335         ]
1336     },
1337     {
1338         "id": "50a18ce1.97fc1c",
1339         "type": "set",
1340         "name": "set status as DELETED",
1341         "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' />",
1342         "comments": "",
1343         "x": 1838.4762573242188,
1344         "y": 4396.332901000977,
1345         "z": "8ffa18ff.21a748",
1346         "wires": []
1347     },
1348     {
1349         "id": "206ac6d4.7ae67a",
1350         "type": "switchNode",
1351         "name": "switch external-key",
1352         "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",
1353         "comments": "",
1354         "outputs": 1,
1355         "x": 2064.4762573242188,
1356         "y": 3887.3329010009766,
1357         "z": "8ffa18ff.21a748",
1358         "wires": [
1359             [
1360                 "5fae231d.5272ac"
1361             ]
1362         ]
1363     },
1364     {
1365         "id": "5fae231d.5272ac",
1366         "type": "not-found",
1367         "name": "true",
1368         "xml": "<outcome value='true'>\n",
1369         "comments": "",
1370         "outputs": 1,
1371         "x": 2248.4762573242188,
1372         "y": 3887.3329010009766,
1373         "z": "8ffa18ff.21a748",
1374         "wires": [
1375             [
1376                 "e421640.8a1ea2"
1377             ]
1378         ]
1379     },
1380     {
1381         "id": "9587cb6f.6286",
1382         "type": "switchNode",
1383         "name": "switch capability-type. vnf",
1384         "xml": "<switch test=\"`$ss.capability-type == 'vnf'`\">\n",
1385         "comments": "",
1386         "outputs": 1,
1387         "x": 380.1428527832031,
1388         "y": 317.99999237060547,
1389         "z": "8ffa18ff.21a748",
1390         "wires": [
1391             [
1392                 "aad954ce.802738"
1393             ]
1394         ]
1395     },
1396     {
1397         "id": "aad954ce.802738",
1398         "type": "not-found",
1399         "name": "true",
1400         "xml": "<outcome value='true'>\n",
1401         "comments": "",
1402         "outputs": 1,
1403         "x": 583.5714111328125,
1404         "y": 317.2857208251953,
1405         "z": "8ffa18ff.21a748",
1406         "wires": [
1407             [
1408                 "d4962dde.7144a8"
1409             ]
1410         ]
1411     },
1412     {
1413         "id": "c8c9dba8.4a219",
1414         "type": "switchNode",
1415         "name": "switch capability-type vf-module",
1416         "xml": "<switch test=\"`$ss.capability-type == 'vf-module'`\">\n",
1417         "comments": "",
1418         "outputs": 1,
1419         "x": 509.4761962890625,
1420         "y": 3481.3333282470703,
1421         "z": "8ffa18ff.21a748",
1422         "wires": [
1423             [
1424                 "8771ea99.a3f9d"
1425             ]
1426         ]
1427     },
1428     {
1429         "id": "8771ea99.a3f9d",
1430         "type": "not-found",
1431         "name": "true",
1432         "xml": "<outcome value='true'>\n",
1433         "comments": "",
1434         "outputs": 1,
1435         "x": 728.4761962890625,
1436         "y": 3482.3333892822266,
1437         "z": "8ffa18ff.21a748",
1438         "wires": [
1439             [
1440                 "52b0c642.e848e8"
1441             ]
1442         ]
1443     },
1444     {
1445         "id": "99f26ef3.280eb",
1446         "type": "for",
1447         "name": "for vnf-parameters data",
1448         "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
1449         "comments": "",
1450         "outputs": 1,
1451         "x": 1621.5236206054688,
1452         "y": 2603.6663970947266,
1453         "z": "8ffa18ff.21a748",
1454         "wires": [
1455             [
1456                 "442eaa12.f66c1c"
1457             ]
1458         ]
1459     },
1460     {
1461         "id": "442eaa12.f66c1c",
1462         "type": "execute",
1463         "name": "slistringUtils - check value for $",
1464         "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",
1465         "comments": "",
1466         "outputs": 1,
1467         "x": 1747.1902465820312,
1468         "y": 2734.6663970947266,
1469         "z": "8ffa18ff.21a748",
1470         "wires": [
1471             [
1472                 "b6eb4a26.4fec"
1473             ]
1474         ]
1475     },
1476     {
1477         "id": "b6eb4a26.4fec",
1478         "type": "failure",
1479         "name": "false",
1480         "xml": "<outcome value='false'>\n",
1481         "comments": "",
1482         "outputs": 1,
1483         "x": 2009.1902465820312,
1484         "y": 2790.6663970947266,
1485         "z": "8ffa18ff.21a748",
1486         "wires": [
1487             [
1488                 "67977d8b.c5df04"
1489             ]
1490         ]
1491     },
1492     {
1493         "id": "67977d8b.c5df04",
1494         "type": "block",
1495         "name": "block",
1496         "xml": "<block>\n",
1497         "atomic": "false",
1498         "comments": "",
1499         "outputs": 1,
1500         "x": 2225.1902465820312,
1501         "y": 2790.6663970947266,
1502         "z": "8ffa18ff.21a748",
1503         "wires": [
1504             [
1505                 "829756fc.3cfc5",
1506                 "5eef2fa5.addbc8"
1507             ]
1508         ]
1509     },
1510     {
1511         "id": "829756fc.3cfc5",
1512         "type": "set",
1513         "name": "set capability name",
1514         "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' />",
1515         "comments": "",
1516         "x": 2451.8568115234375,
1517         "y": 2766.4444580078125,
1518         "z": "8ffa18ff.21a748",
1519         "wires": []
1520     },
1521     {
1522         "id": "5eef2fa5.addbc8",
1523         "type": "set",
1524         "name": "set status SUCCESS",
1525         "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",
1526         "comments": "",
1527         "x": 2455.1902465820312,
1528         "y": 2836.6663970947266,
1529         "z": "8ffa18ff.21a748",
1530         "wires": []
1531     },
1532     {
1533         "id": "1fbc0bf7.d9d60c",
1534         "type": "switchNode",
1535         "name": "switch capability action unassign",
1536         "xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n",
1537         "comments": "",
1538         "outputs": 1,
1539         "x": 837.7142333984375,
1540         "y": 408.1428680419922,
1541         "z": "8ffa18ff.21a748",
1542         "wires": [
1543             [
1544                 "efd6575c.f07d5"
1545             ]
1546         ]
1547     },
1548     {
1549         "id": "efd6575c.f07d5",
1550         "type": "not-found",
1551         "name": "true",
1552         "xml": "<outcome value='true'>\n",
1553         "comments": "",
1554         "outputs": 1,
1555         "x": 1123.4285278320312,
1556         "y": 406.7142791748047,
1557         "z": "8ffa18ff.21a748",
1558         "wires": [
1559             [
1560                 "57f8f575.c14294"
1561             ]
1562         ]
1563     },
1564     {
1565         "id": "d4962dde.7144a8",
1566         "type": "block",
1567         "name": "block",
1568         "xml": "<block>\n",
1569         "atomic": "false",
1570         "comments": "",
1571         "outputs": 1,
1572         "x": 587.7142944335938,
1573         "y": 382.42860412597656,
1574         "z": "8ffa18ff.21a748",
1575         "wires": [
1576             [
1577                 "1fbc0bf7.d9d60c",
1578                 "d674890d.0b54b8"
1579             ]
1580         ]
1581     },
1582     {
1583         "id": "177385a3.c043a2",
1584         "type": "for",
1585         "name": "for vnf-parameters-data",
1586         "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
1587         "comments": "",
1588         "outputs": 1,
1589         "x": 1062.0715942382812,
1590         "y": 1794.166763305664,
1591         "z": "8ffa18ff.21a748",
1592         "wires": [
1593             [
1594                 "30d24fbb.704358"
1595             ]
1596         ]
1597     },
1598     {
1599         "id": "30d24fbb.704358",
1600         "type": "switchNode",
1601         "name": "switch capability-name",
1602         "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",
1603         "comments": "",
1604         "outputs": 1,
1605         "x": 1303.6786499023438,
1606         "y": 1794.166763305664,
1607         "z": "8ffa18ff.21a748",
1608         "wires": [
1609             [
1610                 "a88e7b27.acd89"
1611             ]
1612         ]
1613     },
1614     {
1615         "id": "a88e7b27.acd89",
1616         "type": "not-found",
1617         "name": "true",
1618         "xml": "<outcome value='true'>\n",
1619         "comments": "",
1620         "outputs": 1,
1621         "x": 1484.3930053710938,
1622         "y": 1794.166763305664,
1623         "z": "8ffa18ff.21a748",
1624         "wires": [
1625             [
1626                 "94a9278.dd98e58"
1627             ]
1628         ]
1629     },
1630     {
1631         "id": "1954307b.1b2ba8",
1632         "type": "not-found",
1633         "name": "true",
1634         "xml": "<outcome value='true'>\n",
1635         "comments": "",
1636         "outputs": 1,
1637         "x": 1216.8572387695312,
1638         "y": 3610.5714263916016,
1639         "z": "8ffa18ff.21a748",
1640         "wires": [
1641             [
1642                 "75bd0dd1.6885f4"
1643             ]
1644         ]
1645     },
1646     {
1647         "id": "dcef770e.c6ccf8",
1648         "type": "switchNode",
1649         "name": "switch capability action unassign",
1650         "xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n",
1651         "comments": "",
1652         "outputs": 1,
1653         "x": 975.8569946289062,
1654         "y": 3610.5714263916016,
1655         "z": "8ffa18ff.21a748",
1656         "wires": [
1657             [
1658                 "1954307b.1b2ba8"
1659             ]
1660         ]
1661     },
1662     {
1663         "id": "52b0c642.e848e8",
1664         "type": "block",
1665         "name": "block",
1666         "xml": "<block>\n",
1667         "atomic": "false",
1668         "comments": "",
1669         "outputs": 1,
1670         "x": 732.8571166992188,
1671         "y": 3547.5714263916016,
1672         "z": "8ffa18ff.21a748",
1673         "wires": [
1674             [
1675                 "dcef770e.c6ccf8",
1676                 "ef3aabef.23d1a8"
1677             ]
1678         ]
1679     },
1680     {
1681         "id": "ef3aabef.23d1a8",
1682         "type": "switchNode",
1683         "name": "switch capability action assign",
1684         "xml": "<switch test=\"`$ss.capability-action == 'assign'`\">",
1685         "comments": "",
1686         "outputs": 1,
1687         "x": 952.8096313476562,
1688         "y": 5218.334121704102,
1689         "z": "8ffa18ff.21a748",
1690         "wires": [
1691             [
1692                 "83323826.8871c8"
1693             ]
1694         ]
1695     },
1696     {
1697         "id": "83323826.8871c8",
1698         "type": "not-found",
1699         "name": "true",
1700         "xml": "<outcome value='true'>\n",
1701         "comments": "",
1702         "outputs": 1,
1703         "x": 1181.8096313476562,
1704         "y": 5218.334121704102,
1705         "z": "8ffa18ff.21a748",
1706         "wires": [
1707             [
1708                 "b2d3cc7b.89669"
1709             ]
1710         ]
1711     },
1712     {
1713         "id": "9f73d864.8536d8",
1714         "type": "execute",
1715         "name": "execute replace extra comma",
1716         "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='}' />",
1717         "comments": "",
1718         "outputs": 1,
1719         "x": 1730.3095092773438,
1720         "y": 5688.584487915039,
1721         "z": "8ffa18ff.21a748",
1722         "wires": [
1723             []
1724         ]
1725     },
1726     {
1727         "id": "e105813.22ffe8",
1728         "type": "for",
1729         "name": "for vf-module-parameters",
1730         "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",
1731         "comments": "",
1732         "outputs": 1,
1733         "x": 2048.5595092773438,
1734         "y": 5496.334121704102,
1735         "z": "8ffa18ff.21a748",
1736         "wires": [
1737             [
1738                 "9ebe174c.cca8f8"
1739             ]
1740         ]
1741     },
1742     {
1743         "id": "9ebe174c.cca8f8",
1744         "type": "set",
1745         "name": "set payload data",
1746         "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`' />",
1747         "comments": "",
1748         "x": 2305.0595092773438,
1749         "y": 5496.334121704102,
1750         "z": "8ffa18ff.21a748",
1751         "wires": []
1752     },
1753     {
1754         "id": "89efd59e.cf284",
1755         "type": "set",
1756         "name": "set set payload data",
1757         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />",
1758         "comments": "",
1759         "x": 2031.0595092773438,
1760         "y": 5442.334121704102,
1761         "z": "8ffa18ff.21a748",
1762         "wires": []
1763     },
1764     {
1765         "id": "4f8d850b.bbbc44",
1766         "type": "set",
1767         "name": "set payload data",
1768         "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`' />",
1769         "comments": "",
1770         "x": 2037.0595092773438,
1771         "y": 5558.334121704102,
1772         "z": "8ffa18ff.21a748",
1773         "wires": []
1774     },
1775     {
1776         "id": "98c04a64.a011c",
1777         "type": "set",
1778         "name": "set close payload list",
1779         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
1780         "comments": "",
1781         "x": 1700.3095092773438,
1782         "y": 5637.584487915039,
1783         "z": "8ffa18ff.21a748",
1784         "wires": []
1785     },
1786     {
1787         "id": "d2f1471f.d735d",
1788         "type": "execute",
1789         "name": "execute replace extra comma",
1790         "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=']' />",
1791         "comments": "",
1792         "outputs": 1,
1793         "x": 1733.3095092773438,
1794         "y": 5742.584487915039,
1795         "z": "8ffa18ff.21a748",
1796         "wires": [
1797             []
1798         ]
1799     },
1800     {
1801         "id": "7e5bd1ab.209ca",
1802         "type": "failure",
1803         "name": "failure",
1804         "xml": "<outcome value='failure'>\n",
1805         "comments": "",
1806         "outputs": 1,
1807         "x": 2036.3095703125,
1808         "y": 5756.58447265625,
1809         "z": "8ffa18ff.21a748",
1810         "wires": [
1811             [
1812                 "42fc5b6c.345bdc"
1813             ]
1814         ]
1815     },
1816     {
1817         "id": "1e009a1e.612266",
1818         "type": "returnFailure",
1819         "name": "return failure",
1820         "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",
1821         "comments": "",
1822         "x": 2401.3095703125,
1823         "y": 5856.58447265625,
1824         "z": "8ffa18ff.21a748",
1825         "wires": []
1826     },
1827     {
1828         "id": "90a92735.264c5",
1829         "type": "failure",
1830         "name": "not-found",
1831         "xml": "<outcome value='not-found'>\n",
1832         "comments": "",
1833         "outputs": 1,
1834         "x": 2041.3095703125,
1835         "y": 5855.58447265625,
1836         "z": "8ffa18ff.21a748",
1837         "wires": [
1838             [
1839                 "42fc5b6c.345bdc"
1840             ]
1841         ]
1842     },
1843     {
1844         "id": "42fc5b6c.345bdc",
1845         "type": "block",
1846         "name": "block",
1847         "xml": "<block>\n",
1848         "atomic": "false",
1849         "comments": "",
1850         "outputs": 1,
1851         "x": 2199.3095703125,
1852         "y": 5800.58447265625,
1853         "z": "8ffa18ff.21a748",
1854         "wires": [
1855             [
1856                 "1e009a1e.612266",
1857                 "91ff7811.5db32"
1858             ]
1859         ]
1860     },
1861     {
1862         "id": "91ff7811.5db32",
1863         "type": "set",
1864         "name": "set status as FAILED",
1865         "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' />",
1866         "comments": "",
1867         "x": 2415.3095703125,
1868         "y": 5747.58447265625,
1869         "z": "8ffa18ff.21a748",
1870         "wires": []
1871     },
1872     {
1873         "id": "9626c789.309858",
1874         "type": "for",
1875         "name": "for vf-module-parameters",
1876         "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",
1877         "comments": "",
1878         "outputs": 1,
1879         "x": 2011.3095092773438,
1880         "y": 6332.584487915039,
1881         "z": "8ffa18ff.21a748",
1882         "wires": [
1883             [
1884                 "df02f986.45d718"
1885             ]
1886         ]
1887     },
1888     {
1889         "id": "1035d4b9.e79303",
1890         "type": "switchNode",
1891         "name": "switch capability-name",
1892         "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
1893         "comments": "",
1894         "outputs": 1,
1895         "x": 2182.3095092773438,
1896         "y": 6490.584487915039,
1897         "z": "8ffa18ff.21a748",
1898         "wires": [
1899             [
1900                 "d32665c0.ffe428"
1901             ]
1902         ]
1903     },
1904     {
1905         "id": "d32665c0.ffe428",
1906         "type": "not-found",
1907         "name": "true",
1908         "xml": "<outcome value='true'>\n",
1909         "comments": "",
1910         "outputs": 1,
1911         "x": 2386.3095092773438,
1912         "y": 6488.584487915039,
1913         "z": "8ffa18ff.21a748",
1914         "wires": [
1915             [
1916                 "24aa734a.87d674"
1917             ]
1918         ]
1919     },
1920     {
1921         "id": "24aa734a.87d674",
1922         "type": "set",
1923         "name": "set set payload data",
1924         "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",
1925         "comments": "",
1926         "x": 2580.8095092773438,
1927         "y": 6421.584487915039,
1928         "z": "8ffa18ff.21a748",
1929         "wires": []
1930     },
1931     {
1932         "id": "b6489347.bb4308",
1933         "type": "execute",
1934         "name": "execute jsonStringToCtx",
1935         "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",
1936         "comments": "",
1937         "outputs": 1,
1938         "x": 1714.3095092773438,
1939         "y": 5855.584487915039,
1940         "z": "8ffa18ff.21a748",
1941         "wires": [
1942             []
1943         ]
1944     },
1945     {
1946         "id": "c7bfb325.ec2d98",
1947         "type": "for",
1948         "name": "for response elements",
1949         "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
1950         "comments": "",
1951         "outputs": 1,
1952         "x": 1743.3095092773438,
1953         "y": 6333.584487915039,
1954         "z": "8ffa18ff.21a748",
1955         "wires": [
1956             [
1957                 "9626c789.309858"
1958             ]
1959         ]
1960     },
1961     {
1962         "id": "df02f986.45d718",
1963         "type": "execute",
1964         "name": "slistringUtils - check value for $",
1965         "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",
1966         "comments": "",
1967         "outputs": 1,
1968         "x": 2295.3095092773438,
1969         "y": 6336.584487915039,
1970         "z": "8ffa18ff.21a748",
1971         "wires": [
1972             [
1973                 "c66b75af.b35668"
1974             ]
1975         ]
1976     },
1977     {
1978         "id": "c66b75af.b35668",
1979         "type": "outcomeTrue",
1980         "name": "true",
1981         "xml": "<outcome value='true'>\n",
1982         "comments": "",
1983         "outputs": 1,
1984         "x": 2523.3095092773438,
1985         "y": 6333.584487915039,
1986         "z": "8ffa18ff.21a748",
1987         "wires": [
1988             [
1989                 "a8f90ed5.c9b5a8"
1990             ]
1991         ]
1992     },
1993     {
1994         "id": "a4a7fab0.32e9b8",
1995         "type": "execute",
1996         "name": "split resource-resolution-data",
1997         "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",
1998         "comments": "",
1999         "outputs": 1,
2000         "x": 2190.3095092773438,
2001         "y": 6386.584487915039,
2002         "z": "8ffa18ff.21a748",
2003         "wires": [
2004             []
2005         ]
2006     },
2007     {
2008         "id": "b57bbec9.12ea6",
2009         "type": "execute",
2010         "name": "split resource-resolution-split-1",
2011         "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",
2012         "comments": "",
2013         "outputs": 1,
2014         "x": 2203.3095092773438,
2015         "y": 6445.584487915039,
2016         "z": "8ffa18ff.21a748",
2017         "wires": [
2018             []
2019         ]
2020     },
2021     {
2022         "id": "a8f90ed5.c9b5a8",
2023         "type": "block",
2024         "name": "block",
2025         "xml": "<block>\n",
2026         "atomic": "false",
2027         "comments": "",
2028         "outputs": 1,
2029         "x": 1950.3095092773438,
2030         "y": 6412.584487915039,
2031         "z": "8ffa18ff.21a748",
2032         "wires": [
2033             [
2034                 "1035d4b9.e79303",
2035                 "a4a7fab0.32e9b8",
2036                 "b57bbec9.12ea6"
2037             ]
2038         ]
2039     },
2040     {
2041         "id": "9c309af6.f7e4a",
2042         "type": "block",
2043         "name": "block : atomic",
2044         "xml": "<block atomic='true'>",
2045         "atomic": "true",
2046         "comments": "",
2047         "outputs": 1,
2048         "x": 1824.0595092773438,
2049         "y": 5445.334121704102,
2050         "z": "8ffa18ff.21a748",
2051         "wires": [
2052             [
2053                 "e105813.22ffe8",
2054                 "89efd59e.cf284",
2055                 "4f8d850b.bbbc44"
2056             ]
2057         ]
2058     },
2059     {
2060         "id": "3caf0f0c.12a5b8",
2061         "type": "set",
2062         "name": "set status as SUCCESS",
2063         "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' />",
2064         "comments": "",
2065         "x": 1716.3095092773438,
2066         "y": 5907.584487915039,
2067         "z": "8ffa18ff.21a748",
2068         "wires": []
2069     },
2070     {
2071         "id": "267d42ee.73dbde",
2072         "type": "for",
2073         "name": "for vnf parameters data",
2074         "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",
2075         "comments": "",
2076         "outputs": 1,
2077         "x": 1738.3095092773438,
2078         "y": 6555.584487915039,
2079         "z": "8ffa18ff.21a748",
2080         "wires": [
2081             [
2082                 "8fcead9b.0e0b8"
2083             ]
2084         ]
2085     },
2086     {
2087         "id": "8fcead9b.0e0b8",
2088         "type": "execute",
2089         "name": "slistringUtils - check value for $",
2090         "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",
2091         "comments": "",
2092         "outputs": 1,
2093         "x": 2044.3095092773438,
2094         "y": 6553.584487915039,
2095         "z": "8ffa18ff.21a748",
2096         "wires": [
2097             [
2098                 "f158d276.0d8658"
2099             ]
2100         ]
2101     },
2102     {
2103         "id": "f158d276.0d8658",
2104         "type": "failure",
2105         "name": "false",
2106         "xml": "<outcome value='false'>\n",
2107         "comments": "",
2108         "outputs": 1,
2109         "x": 2282.3095092773438,
2110         "y": 6553.584487915039,
2111         "z": "8ffa18ff.21a748",
2112         "wires": [
2113             [
2114                 "3621a169.1458b6"
2115             ]
2116         ]
2117     },
2118     {
2119         "id": "3621a169.1458b6",
2120         "type": "block",
2121         "name": "block",
2122         "xml": "<block>\n",
2123         "atomic": "false",
2124         "comments": "",
2125         "outputs": 1,
2126         "x": 2444.3095092773438,
2127         "y": 6547.584487915039,
2128         "z": "8ffa18ff.21a748",
2129         "wires": [
2130             [
2131                 "fef37cdf.87178",
2132                 "157e032d.744875"
2133             ]
2134         ]
2135     },
2136     {
2137         "id": "fef37cdf.87178",
2138         "type": "set",
2139         "name": "set capability name",
2140         "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",
2141         "comments": "",
2142         "x": 2668.3095092773438,
2143         "y": 6513.584487915039,
2144         "z": "8ffa18ff.21a748",
2145         "wires": []
2146     },
2147     {
2148         "id": "157e032d.744875",
2149         "type": "set",
2150         "name": "set status SUCCESS",
2151         "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",
2152         "comments": "",
2153         "x": 2656.3095092773438,
2154         "y": 6613.584487915039,
2155         "z": "8ffa18ff.21a748",
2156         "wires": []
2157     },
2158     {
2159         "id": "8a66938a.1460b",
2160         "type": "for",
2161         "name": "for vnf-parameters data",
2162         "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",
2163         "comments": "",
2164         "outputs": 1,
2165         "x": 1726.3095092773438,
2166         "y": 6013.584487915039,
2167         "z": "8ffa18ff.21a748",
2168         "wires": [
2169             [
2170                 "e7e744c9.85b75"
2171             ]
2172         ]
2173     },
2174     {
2175         "id": "e7e744c9.85b75",
2176         "type": "switchNode",
2177         "name": "switch param[] name",
2178         "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",
2179         "comments": "",
2180         "outputs": 1,
2181         "x": 1979.8095092773438,
2182         "y": 6014.584854125977,
2183         "z": "8ffa18ff.21a748",
2184         "wires": [
2185             [
2186                 "2a4c76d1.47e9a2"
2187             ]
2188         ]
2189     },
2190     {
2191         "id": "2a4c76d1.47e9a2",
2192         "type": "success",
2193         "name": "true",
2194         "xml": "<outcome value='true'>\n",
2195         "comments": "",
2196         "outputs": 1,
2197         "x": 2172.8095092773438,
2198         "y": 6015.084732055664,
2199         "z": "8ffa18ff.21a748",
2200         "wires": [
2201             [
2202                 "2c6b125a.5ec166"
2203             ]
2204         ]
2205     },
2206     {
2207         "id": "2c6b125a.5ec166",
2208         "type": "for",
2209         "name": "for j in resource key",
2210         "xml": "<for silentFailure='true' 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",
2211         "comments": "",
2212         "outputs": 1,
2213         "x": 1820.0238647460938,
2214         "y": 6123.870666503906,
2215         "z": "8ffa18ff.21a748",
2216         "wires": [
2217             [
2218                 "eb80eaa0.5a981"
2219             ]
2220         ]
2221     },
2222     {
2223         "id": "eb80eaa0.5a981",
2224         "type": "block",
2225         "name": "block",
2226         "xml": "<block>\n",
2227         "atomic": "false",
2228         "comments": "",
2229         "outputs": 1,
2230         "x": 2090.5953369140625,
2231         "y": 6125.584655761719,
2232         "z": "8ffa18ff.21a748",
2233         "wires": [
2234             [
2235                 "e4d68431.8d96a8",
2236                 "ecab974a.9bbd78",
2237                 "314dd1f2.f106d6",
2238                 "435ecba0.88a2c4",
2239                 "18703684.a36359",
2240                 "5a418843.fb8ce",
2241                 "658b4432.deae1c"
2242             ]
2243         ]
2244     },
2245     {
2246         "id": "ecab974a.9bbd78",
2247         "type": "switchNode",
2248         "name": "switch model-invariant-uuid",
2249         "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",
2250         "comments": "",
2251         "outputs": 1,
2252         "x": 2524.3095092773438,
2253         "y": 6001.584487915039,
2254         "z": "8ffa18ff.21a748",
2255         "wires": [
2256             [
2257                 "cf5cb0c4.d1ede8"
2258             ]
2259         ]
2260     },
2261     {
2262         "id": "314dd1f2.f106d6",
2263         "type": "switchNode",
2264         "name": "switch model-customization-uuid",
2265         "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",
2266         "comments": "",
2267         "outputs": 1,
2268         "x": 2492.3095092773438,
2269         "y": 6059.584487915039,
2270         "z": "8ffa18ff.21a748",
2271         "wires": [
2272             [
2273                 "70feaf3a.73ab2"
2274             ]
2275         ]
2276     },
2277     {
2278         "id": "435ecba0.88a2c4",
2279         "type": "switchNode",
2280         "name": "switch model-uuid",
2281         "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",
2282         "comments": "",
2283         "outputs": 1,
2284         "x": 2490.3095092773438,
2285         "y": 6121.584487915039,
2286         "z": "8ffa18ff.21a748",
2287         "wires": [
2288             [
2289                 "40b980ec.ac6338"
2290             ]
2291         ]
2292     },
2293     {
2294         "id": "18703684.a36359",
2295         "type": "switchNode",
2296         "name": "switch model-version",
2297         "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",
2298         "comments": "",
2299         "outputs": 1,
2300         "x": 2498.3095092773438,
2301         "y": 6183.584487915039,
2302         "z": "8ffa18ff.21a748",
2303         "wires": [
2304             [
2305                 "3405bb1d.191ce4"
2306             ]
2307         ]
2308     },
2309     {
2310         "id": "e4d68431.8d96a8",
2311         "type": "switchNode",
2312         "name": "switch vm-type",
2313         "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",
2314         "comments": "",
2315         "outputs": 1,
2316         "x": 2514.3095092773438,
2317         "y": 5929.584487915039,
2318         "z": "8ffa18ff.21a748",
2319         "wires": [
2320             [
2321                 "8cbeeb62.d5961"
2322             ]
2323         ]
2324     },
2325     {
2326         "id": "8cbeeb62.d5961",
2327         "type": "success",
2328         "name": "true",
2329         "xml": "<outcome value='true'>\n",
2330         "comments": "",
2331         "outputs": 1,
2332         "x": 2718.3095092773438,
2333         "y": 5925.584487915039,
2334         "z": "8ffa18ff.21a748",
2335         "wires": [
2336             [
2337                 "57750a1a.165544"
2338             ]
2339         ]
2340     },
2341     {
2342         "id": "cf5cb0c4.d1ede8",
2343         "type": "success",
2344         "name": "true",
2345         "xml": "<outcome value='true'>\n",
2346         "comments": "",
2347         "outputs": 1,
2348         "x": 2718.3095092773438,
2349         "y": 5999.834487915039,
2350         "z": "8ffa18ff.21a748",
2351         "wires": [
2352             [
2353                 "57206663.d5c56"
2354             ]
2355         ]
2356     },
2357     {
2358         "id": "70feaf3a.73ab2",
2359         "type": "success",
2360         "name": "true",
2361         "xml": "<outcome value='true'>\n",
2362         "comments": "",
2363         "outputs": 1,
2364         "x": 2724.3095092773438,
2365         "y": 6055.584487915039,
2366         "z": "8ffa18ff.21a748",
2367         "wires": [
2368             [
2369                 "b4b44bc3.5bb8a8"
2370             ]
2371         ]
2372     },
2373     {
2374         "id": "40b980ec.ac6338",
2375         "type": "success",
2376         "name": "true",
2377         "xml": "<outcome value='true'>\n",
2378         "comments": "",
2379         "outputs": 1,
2380         "x": 2728.3095092773438,
2381         "y": 6113.584487915039,
2382         "z": "8ffa18ff.21a748",
2383         "wires": [
2384             [
2385                 "8cc0d8fe.d3593"
2386             ]
2387         ]
2388     },
2389     {
2390         "id": "3405bb1d.191ce4",
2391         "type": "success",
2392         "name": "true",
2393         "xml": "<outcome value='true'>\n",
2394         "comments": "",
2395         "outputs": 1,
2396         "x": 2734.3095092773438,
2397         "y": 6179.584487915039,
2398         "z": "8ffa18ff.21a748",
2399         "wires": [
2400             [
2401                 "f57a9876.705b68"
2402             ]
2403         ]
2404     },
2405     {
2406         "id": "57750a1a.165544",
2407         "type": "set",
2408         "name": "set vm-type",
2409         "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",
2410         "comments": "",
2411         "x": 2882.3095092773438,
2412         "y": 5927.584487915039,
2413         "z": "8ffa18ff.21a748",
2414         "wires": []
2415     },
2416     {
2417         "id": "57206663.d5c56",
2418         "type": "set",
2419         "name": "set model-invariant-uuid",
2420         "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",
2421         "comments": "",
2422         "x": 2928.3095092773438,
2423         "y": 5993.584487915039,
2424         "z": "8ffa18ff.21a748",
2425         "wires": []
2426     },
2427     {
2428         "id": "b4b44bc3.5bb8a8",
2429         "type": "set",
2430         "name": "set model-customization-uuid",
2431         "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",
2432         "comments": "",
2433         "x": 2972.3095092773438,
2434         "y": 6057.584487915039,
2435         "z": "8ffa18ff.21a748",
2436         "wires": []
2437     },
2438     {
2439         "id": "8cc0d8fe.d3593",
2440         "type": "set",
2441         "name": "set model-uuid",
2442         "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",
2443         "comments": "",
2444         "x": 2948.3095092773438,
2445         "y": 6111.584487915039,
2446         "z": "8ffa18ff.21a748",
2447         "wires": []
2448     },
2449     {
2450         "id": "f57a9876.705b68",
2451         "type": "set",
2452         "name": "set model-version",
2453         "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",
2454         "comments": "",
2455         "x": 2894.3095092773438,
2456         "y": 6177.584487915039,
2457         "z": "8ffa18ff.21a748",
2458         "wires": []
2459     },
2460     {
2461         "id": "ec4b72ee.0d91e8",
2462         "type": "set",
2463         "name": "set model-name",
2464         "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",
2465         "comments": "",
2466         "x": 2900.3095092773438,
2467         "y": 6233.584487915039,
2468         "z": "8ffa18ff.21a748",
2469         "wires": []
2470     },
2471     {
2472         "id": "c2128119.3c59c8",
2473         "type": "set",
2474         "name": "set  vnfc-name",
2475         "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",
2476         "comments": "",
2477         "x": 2918.3095092773438,
2478         "y": 6289.584487915039,
2479         "z": "8ffa18ff.21a748",
2480         "wires": []
2481     },
2482     {
2483         "id": "5a418843.fb8ce",
2484         "type": "switchNode",
2485         "name": "switch model-name",
2486         "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",
2487         "comments": "",
2488         "outputs": 1,
2489         "x": 2498.3095092773438,
2490         "y": 6235.584487915039,
2491         "z": "8ffa18ff.21a748",
2492         "wires": [
2493             [
2494                 "2b96a377.785aec"
2495             ]
2496         ]
2497     },
2498     {
2499         "id": "658b4432.deae1c",
2500         "type": "switchNode",
2501         "name": "switch vnfc-name",
2502         "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",
2503         "comments": "",
2504         "outputs": 1,
2505         "x": 2496.3095092773438,
2506         "y": 6289.584487915039,
2507         "z": "8ffa18ff.21a748",
2508         "wires": [
2509             [
2510                 "2a2a4a91.63c3f6"
2511             ]
2512         ]
2513     },
2514     {
2515         "id": "2b96a377.785aec",
2516         "type": "success",
2517         "name": "true",
2518         "xml": "<outcome value='true'>\n",
2519         "comments": "",
2520         "outputs": 1,
2521         "x": 2732.3095092773438,
2522         "y": 6233.584487915038,
2523         "z": "8ffa18ff.21a748",
2524         "wires": [
2525             [
2526                 "ec4b72ee.0d91e8"
2527             ]
2528         ]
2529     },
2530     {
2531         "id": "2a2a4a91.63c3f6",
2532         "type": "success",
2533         "name": "true",
2534         "xml": "<outcome value='true'>\n",
2535         "comments": "",
2536         "outputs": 1,
2537         "x": 2726.3095092773438,
2538         "y": 6287.584487915038,
2539         "z": "8ffa18ff.21a748",
2540         "wires": [
2541             [
2542                 "c2128119.3c59c8"
2543             ]
2544         ]
2545     },
2546     {
2547         "id": "b9630ea3.d96b18",
2548         "type": "for",
2549         "name": "for vnf-parameters-data",
2550         "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",
2551         "comments": "",
2552         "outputs": 1,
2553         "x": 1266.8571166992188,
2554         "y": 5391.571670532227,
2555         "z": "8ffa18ff.21a748",
2556         "wires": [
2557             [
2558                 "bd4ce803.509a98"
2559             ]
2560         ]
2561     },
2562     {
2563         "id": "bd4ce803.509a98",
2564         "type": "switchNode",
2565         "name": "switch capability-name",
2566         "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",
2567         "comments": "",
2568         "outputs": 1,
2569         "x": 1546.8571166992188,
2570         "y": 5391.571670532227,
2571         "z": "8ffa18ff.21a748",
2572         "wires": [
2573             [
2574                 "a5d1018e.3683e"
2575             ]
2576         ]
2577     },
2578     {
2579         "id": "a5d1018e.3683e",
2580         "type": "not-found",
2581         "name": "true",
2582         "xml": "<outcome value='true'>\n",
2583         "comments": "",
2584         "outputs": 1,
2585         "x": 1755.8572387695312,
2586         "y": 5391.571670532227,
2587         "z": "8ffa18ff.21a748",
2588         "wires": [
2589             [
2590                 "9c309af6.f7e4a"
2591             ]
2592         ]
2593     },
2594     {
2595         "id": "e6d807c0.e53738",
2596         "type": "block",
2597         "name": "block : atomic",
2598         "xml": "<block atomic='true'>",
2599         "atomic": "true",
2600         "comments": "",
2601         "outputs": 1,
2602         "x": 841.1071166992188,
2603         "y": 1734.5714263916016,
2604         "z": "8ffa18ff.21a748",
2605         "wires": [
2606             [
2607                 "177385a3.c043a2",
2608                 "ff615e80.275a08",
2609                 "39178dc5.011a9a"
2610             ]
2611         ]
2612     },
2613     {
2614         "id": "ff615e80.275a08",
2615         "type": "set",
2616         "name": "set payload data",
2617         "xml": "<set>\n\t<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />\n\t<parameter name='tmp.gen-name_length' value='0' />",
2618         "comments": "",
2619         "x": 1048.8571166992188,
2620         "y": 1735.5714263916016,
2621         "z": "8ffa18ff.21a748",
2622         "wires": []
2623     },
2624     {
2625         "id": "39178dc5.011a9a",
2626         "type": "switchNode",
2627         "name": "switch tmp.naming-data-payload is null",
2628         "xml": "<switch test=\"`$tmp.naming-data-payload == ''`\">\n",
2629         "comments": "",
2630         "outputs": 1,
2631         "x": 1096.8571166992188,
2632         "y": 2014.5714263916016,
2633         "z": "8ffa18ff.21a748",
2634         "wires": [
2635             [
2636                 "781da2e9.01d83c"
2637             ]
2638         ]
2639     },
2640     {
2641         "id": "781da2e9.01d83c",
2642         "type": "not-found",
2643         "name": "false",
2644         "xml": "<outcome value='false'>\n",
2645         "comments": "",
2646         "outputs": 1,
2647         "x": 1333.8571166992188,
2648         "y": 2015.5714263916016,
2649         "z": "8ffa18ff.21a748",
2650         "wires": [
2651             [
2652                 "600486cd.2b6308"
2653             ]
2654         ]
2655     },
2656     {
2657         "id": "600486cd.2b6308",
2658         "type": "block",
2659         "name": "block : atomic",
2660         "xml": "<block atomic='true'>",
2661         "atomic": "true",
2662         "comments": "",
2663         "outputs": 1,
2664         "x": 1371.8571166992188,
2665         "y": 2073.5714263916016,
2666         "z": "8ffa18ff.21a748",
2667         "wires": [
2668             [
2669                 "85561c80.3ef308",
2670                 "ef4a1fc.34c336",
2671                 "4c175841.300a1",
2672                 "333a840.1d25d7c",
2673                 "f671137e.43c9",
2674                 "99f26ef3.280eb",
2675                 "80fef6f4.c675b"
2676             ]
2677         ]
2678     },
2679     {
2680         "id": "b2d3cc7b.89669",
2681         "type": "block",
2682         "name": "block : atomic",
2683         "xml": "<block atomic='true'>",
2684         "atomic": "true",
2685         "comments": "",
2686         "outputs": 1,
2687         "x": 1017.8571166992188,
2688         "y": 5324.571426391602,
2689         "z": "8ffa18ff.21a748",
2690         "wires": [
2691             [
2692                 "6a40e563.5a14a4",
2693                 "b9630ea3.d96b18",
2694                 "7640b347.b23714"
2695             ]
2696         ]
2697     },
2698     {
2699         "id": "6a40e563.5a14a4",
2700         "type": "set",
2701         "name": "set set payload data",
2702         "xml": "<set>\n\t<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />\n\t<parameter name='tmp.gen-name_length' value='0' />",
2703         "comments": "",
2704         "x": 1254.8571166992188,
2705         "y": 5323.571426391602,
2706         "z": "8ffa18ff.21a748",
2707         "wires": []
2708     },
2709     {
2710         "id": "7640b347.b23714",
2711         "type": "switchNode",
2712         "name": "switch tmp.naming-data-payload is null",
2713         "xml": "<switch test=\"`$tmp.naming-data-payload == ''`\">\n",
2714         "comments": "",
2715         "outputs": 1,
2716         "x": 1297.1071472167969,
2717         "y": 5514.071548461914,
2718         "z": "8ffa18ff.21a748",
2719         "wires": [
2720             [
2721                 "48235ce0.3408cc"
2722             ]
2723         ]
2724     },
2725     {
2726         "id": "48235ce0.3408cc",
2727         "type": "not-found",
2728         "name": "false",
2729         "xml": "<outcome value='false'>\n",
2730         "comments": "",
2731         "outputs": 1,
2732         "x": 1530.857177734375,
2733         "y": 5513.821304321289,
2734         "z": "8ffa18ff.21a748",
2735         "wires": [
2736             [
2737                 "7c76786f.4904"
2738             ]
2739         ]
2740     },
2741     {
2742         "id": "7c76786f.4904",
2743         "type": "block",
2744         "name": "block : atomic",
2745         "xml": "<block atomic='true'>",
2746         "atomic": "true",
2747         "comments": "",
2748         "outputs": 1,
2749         "x": 1518.607177734375,
2750         "y": 5591.071670532227,
2751         "z": "8ffa18ff.21a748",
2752         "wires": [
2753             [
2754                 "98c04a64.a011c",
2755                 "9f73d864.8536d8",
2756                 "d2f1471f.d735d",
2757                 "b6489347.bb4308",
2758                 "3caf0f0c.12a5b8",
2759                 "8a66938a.1460b",
2760                 "c7bfb325.ec2d98",
2761                 "267d42ee.73dbde",
2762                 "90b8bf99.7de998"
2763             ]
2764         ]
2765     },
2766     {
2767         "id": "c465ea91.13fb38",
2768         "type": "execute",
2769         "name": "execute readProperties",
2770         "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",
2771         "comments": "",
2772         "outputs": 1,
2773         "x": 383,
2774         "y": 193,
2775         "z": "8ffa18ff.21a748",
2776         "wires": [
2777             []
2778         ]
2779     },
2780     {
2781         "id": "90b8bf99.7de998",
2782         "type": "execute",
2783         "name": "execute RestApiCallNode - POST gen-name",
2784         "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",
2785         "comments": "",
2786         "outputs": 1,
2787         "x": 1779,
2788         "y": 5804,
2789         "z": "8ffa18ff.21a748",
2790         "wires": [
2791             [
2792                 "7e5bd1ab.209ca",
2793                 "90a92735.264c5"
2794             ]
2795         ]
2796     },
2797     {
2798         "id": "80fef6f4.c675b",
2799         "type": "execute",
2800         "name": "execute RestApiCallNode - POST gen-name",
2801         "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",
2802         "comments": "",
2803         "outputs": 1,
2804         "x": 1682,
2805         "y": 2246,
2806         "z": "8ffa18ff.21a748",
2807         "wires": [
2808             [
2809                 "88d774fa.1d1a38",
2810                 "157b3125.a0ffff"
2811             ]
2812         ]
2813     },
2814     {
2815         "id": "40117641.f32018",
2816         "type": "execute",
2817         "name": "execute RestApiCallNode - DELETE gen-name",
2818         "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",
2819         "comments": "",
2820         "outputs": 1,
2821         "x": 1899,
2822         "y": 4211,
2823         "z": "8ffa18ff.21a748",
2824         "wires": [
2825             [
2826                 "cb05a44b.81acd",
2827                 "ba1d7d79.ebca9"
2828             ]
2829         ]
2830     },
2831     {
2832         "id": "4379c30d.8a80a4",
2833         "type": "execute",
2834         "name": "execute RestApiCallNode - DELETE gen-name",
2835         "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",
2836         "comments": "",
2837         "outputs": 1,
2838         "x": 1792,
2839         "y": 996,
2840         "z": "8ffa18ff.21a748",
2841         "wires": [
2842             [
2843                 "97b12709.514e68",
2844                 "d0e601f9.671c6"
2845             ]
2846         ]
2847     },
2848     {
2849         "id": "de7f57d6.741e4",
2850         "type": "comment",
2851         "name": "For Generate Name DG Capability ",
2852         "info": "Support Bulk assign and single delete\nAlso calls Naming gen mS for assign/un-assign\n\nAdded by Ajay Singh(as396y)",
2853         "comments": "",
2854         "x": 846,
2855         "y": 123,
2856         "z": "8ffa18ff.21a748",
2857         "wires": []
2858     },
2859     {
2860         "id": "169273ad.322bdc",
2861         "type": "set",
2862         "name": "set status as DELETED",
2863         "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='DELETED' />",
2864         "comments": "",
2865         "x": 2691.1112060546875,
2866         "y": 1477.7779541015625,
2867         "z": "8ffa18ff.21a748",
2868         "wires": []
2869     },
2870     {
2871         "id": "24da0c57.b0398c",
2872         "type": "set",
2873         "name": "set status SUCCESS",
2874         "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",
2875         "comments": "",
2876         "x": 2624.44482421875,
2877         "y": 2671.1112670898438,
2878         "z": "8ffa18ff.21a748",
2879         "wires": []
2880     },
2881     {
2882         "id": "be18f58.a0ee008",
2883         "type": "block",
2884         "name": "block",
2885         "xml": "<block>\n",
2886         "atomic": "false",
2887         "comments": "",
2888         "outputs": 1,
2889         "x": 1946.8572082519531,
2890         "y": 1299.1427688598633,
2891         "z": "8ffa18ff.21a748",
2892         "wires": [
2893             [
2894                 "1bb7fc63.6e9f3c",
2895                 "d888d83a.b7d8",
2896                 "16707bfd.c97154"
2897             ]
2898         ]
2899     },
2900     {
2901         "id": "c872b3d2.2f9e08",
2902         "type": "block",
2903         "name": "block",
2904         "xml": "<block>\n",
2905         "atomic": "false",
2906         "comments": "",
2907         "outputs": 1,
2908         "x": 2498.888916015625,
2909         "y": 1444.4444580078125,
2910         "z": "8ffa18ff.21a748",
2911         "wires": [
2912             [
2913                 "169273ad.322bdc",
2914                 "8cb3cf6f.94a54"
2915             ]
2916         ]
2917     },
2918     {
2919         "id": "88e1aa71.08c4d",
2920         "type": "block",
2921         "name": "block",
2922         "xml": "<block>\n",
2923         "atomic": "false",
2924         "comments": "",
2925         "outputs": 1,
2926         "x": 2417.77783203125,
2927         "y": 2640.0000610351562,
2928         "z": "8ffa18ff.21a748",
2929         "wires": [
2930             [
2931                 "d351c878.19363",
2932                 "24da0c57.b0398c"
2933             ]
2934         ]
2935     }
2936 ]