Add silentFailure on loop for ss-generate-name
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_self-serve-generate-name.json
1 [
2     {
3         "id": "4715fedb.1ef5f",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 96,
8         "y": 44,
9         "z": "352ca92a.868d0e",
10         "wires": [
11             [
12                 "16eecbde.63796c"
13             ]
14         ]
15     },
16     {
17         "id": "16eecbde.63796c",
18         "type": "service-logic",
19         "name": "GENERIC-RESOURCE-API 1.4.1-SNAPSHOT",
20         "module": "GENERIC-RESOURCE-API",
21         "version": "1.4.1-SNAPSHOT",
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='1.4.1-SNAPSHOT'>",
24         "outputs": 1,
25         "x": 344.5713806152344,
26         "y": 46.428558349609375,
27         "z": "352ca92a.868d0e",
28         "wires": [
29             [
30                 "3e4b7e7e.935232"
31             ]
32         ]
33     },
34     {
35         "id": "3e4b7e7e.935232",
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": 648.1428527832031,
42         "y": 44.99999237060547,
43         "z": "352ca92a.868d0e",
44         "wires": [
45             [
46                 "3835d554.5600ca"
47             ]
48         ]
49     },
50     {
51         "id": "3835d554.5600ca",
52         "type": "block",
53         "name": "block atomic",
54         "xml": "<block atomic=\"true\">\n",
55         "atomic": "false",
56         "comments": "",
57         "outputs": 1,
58         "x": 147.14285278320312,
59         "y": 130.99999237060547,
60         "z": "352ca92a.868d0e",
61         "wires": [
62             [
63                 "cbd7c4ae.654d68",
64                 "7bb73832.6a4648",
65                 "4b1c4a05.4570ec",
66                 "324d6ccc.ba650c",
67                 "5c83d412.2769f4"
68             ]
69         ]
70     },
71     {
72         "id": "3a4d4bdb.4c43d4",
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": 1712.8572082519531,
79         "y": 857.1427688598633,
80         "z": "352ca92a.868d0e",
81         "wires": [
82             []
83         ]
84     },
85     {
86         "id": "cbd7c4ae.654d68",
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": 346.1428527832031,
92         "y": 131.99999237060547,
93         "z": "352ca92a.868d0e",
94         "wires": []
95     },
96     {
97         "id": "7bb73832.6a4648",
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": 375.1428527832031,
104         "y": 223,
105         "z": "352ca92a.868d0e",
106         "wires": [
107             [
108                 "ea0f354c.745cc8",
109                 "48698225.83a23c"
110             ]
111         ]
112     },
113     {
114         "id": "44cc33ed.fb39e4",
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": 1146.6430053710938,
121         "y": 488.4285125732422,
122         "z": "352ca92a.868d0e",
123         "wires": [
124             [
125                 "e2d651ce.c9d9f8"
126             ]
127         ]
128     },
129     {
130         "id": "e2d651ce.c9d9f8",
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": 1389.5000610351562,
137         "y": 488.4285125732422,
138         "z": "352ca92a.868d0e",
139         "wires": [
140             [
141                 "8eb45c00.aa654"
142             ]
143         ]
144     },
145     {
146         "id": "8eb45c00.aa654",
147         "type": "not-found",
148         "name": "true",
149         "xml": "<outcome value='true'>\n",
150         "comments": "",
151         "outputs": 1,
152         "x": 1570.2144165039062,
153         "y": 488.4284973144531,
154         "z": "352ca92a.868d0e",
155         "wires": [
156             [
157                 "4c47b1b9.3083"
158             ]
159         ]
160     },
161     {
162         "id": "83de20b7.804778",
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": 1682.3572082519531,
169         "y": 658.1427688598633,
170         "z": "352ca92a.868d0e",
171         "wires": [
172             [
173                 "2a82f8ce.16638"
174             ]
175         ]
176     },
177     {
178         "id": "ea0f354c.745cc8",
179         "type": "failure",
180         "name": "failure",
181         "xml": "<outcome value='failure'>\n",
182         "comments": "",
183         "outputs": 1,
184         "x": 598.1428527832031,
185         "y": 191,
186         "z": "352ca92a.868d0e",
187         "wires": [
188             [
189                 "cad21146.cbc7e8"
190             ]
191         ]
192     },
193     {
194         "id": "48698225.83a23c",
195         "type": "failure",
196         "name": "not-found",
197         "xml": "<outcome value='not-found'>\n",
198         "comments": "",
199         "outputs": 1,
200         "x": 607.1428527832031,
201         "y": 257,
202         "z": "352ca92a.868d0e",
203         "wires": [
204             [
205                 "cad21146.cbc7e8"
206             ]
207         ]
208     },
209     {
210         "id": "cad21146.cbc7e8",
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": 800.1428527832031,
216         "y": 191,
217         "z": "352ca92a.868d0e",
218         "wires": []
219     },
220     {
221         "id": "9332f863.29e018",
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": 2284.857208251953,
227         "y": 656.1427688598633,
228         "z": "352ca92a.868d0e",
229         "wires": []
230     },
231     {
232         "id": "26b1ee2d.08273a",
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": 1679.8573608398438,
238         "y": 583.9998626708984,
239         "z": "352ca92a.868d0e",
240         "wires": []
241     },
242     {
243         "id": "626a201b.d55578",
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": 1679.8572082519531,
249         "y": 720.1427688598633,
250         "z": "352ca92a.868d0e",
251         "wires": []
252     },
253     {
254         "id": "749d681a.41547",
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": 1685.8572082519531,
260         "y": 785.1427688598633,
261         "z": "352ca92a.868d0e",
262         "wires": []
263     },
264     {
265         "id": "212189e2.756db6",
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": 1715.8572082519531,
272         "y": 911.1427688598633,
273         "z": "352ca92a.868d0e",
274         "wires": [
275             []
276         ]
277     },
278     {
279         "id": "e1ab56a7.feeeb",
280         "type": "failure",
281         "name": "failure",
282         "xml": "<outcome value='failure'>\n",
283         "comments": "",
284         "outputs": 1,
285         "x": 2081.857177734375,
286         "y": 933.1427612304688,
287         "z": "352ca92a.868d0e",
288         "wires": [
289             [
290                 "9997d3e2.8f70c"
291             ]
292         ]
293     },
294     {
295         "id": "d0532823.04f01",
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": 2446.857177734375,
301         "y": 1033.1427612304688,
302         "z": "352ca92a.868d0e",
303         "wires": []
304     },
305     {
306         "id": "7a8d9826.51e62",
307         "type": "failure",
308         "name": "not-found",
309         "xml": "<outcome value='not-found'>\n",
310         "comments": "",
311         "outputs": 1,
312         "x": 2086.857177734375,
313         "y": 1032.1427612304688,
314         "z": "352ca92a.868d0e",
315         "wires": [
316             [
317                 "9997d3e2.8f70c"
318             ]
319         ]
320     },
321     {
322         "id": "9997d3e2.8f70c",
323         "type": "block",
324         "name": "block",
325         "xml": "<block>\n",
326         "atomic": "false",
327         "comments": "",
328         "outputs": 1,
329         "x": 2244.857177734375,
330         "y": 977.1427612304688,
331         "z": "352ca92a.868d0e",
332         "wires": [
333             [
334                 "d17f42c9.165b2",
335                 "d0532823.04f01"
336             ]
337         ]
338     },
339     {
340         "id": "d17f42c9.165b2",
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": 2460.857177734375,
346         "y": 924.1427612304688,
347         "z": "352ca92a.868d0e",
348         "wires": []
349     },
350     {
351         "id": "2c3347a4.1d0d28",
352         "type": "switchNode",
353         "name": "switch capability action assign",
354         "xml": "<switch test=\"`$ss.capability-action == 'assign'`\">",
355         "comments": "",
356         "outputs": 1,
357         "x": 770.3809204101562,
358         "y": 1615.7618560791016,
359         "z": "352ca92a.868d0e",
360         "wires": [
361             [
362                 "be36dff5.5c2408"
363             ]
364         ]
365     },
366     {
367         "id": "be36dff5.5c2408",
368         "type": "not-found",
369         "name": "true",
370         "xml": "<outcome value='true'>\n",
371         "comments": "",
372         "outputs": 1,
373         "x": 1025.0951538085938,
374         "y": 1615.7618560791016,
375         "z": "352ca92a.868d0e",
376         "wires": [
377             [
378                 "1d187540.6f1cc3"
379             ]
380         ]
381     },
382     {
383         "id": "601689b5.f1fb7",
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": 1927.8572082519531,
390         "y": 1213.1427688598633,
391         "z": "352ca92a.868d0e",
392         "wires": [
393             [
394                 "c8739969.39695"
395             ]
396         ]
397     },
398     {
399         "id": "a8ca1153.971238",
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": 2130.857208251953,
406         "y": 1431.1427688598633,
407         "z": "352ca92a.868d0e",
408         "wires": [
409             [
410                 "ae4f2855.b375a8"
411             ]
412         ]
413     },
414     {
415         "id": "ae4f2855.b375a8",
416         "type": "not-found",
417         "name": "true",
418         "xml": "<outcome value='true'>\n",
419         "comments": "",
420         "outputs": 1,
421         "x": 2340.857208251953,
422         "y": 1431.1427688598633,
423         "z": "352ca92a.868d0e",
424         "wires": [
425             [
426                 "ab51cd7c.871d7"
427             ]
428         ]
429     },
430     {
431         "id": "ab51cd7c.871d7",
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": 2537.357208251953,
437         "y": 1432.1427688598633,
438         "z": "352ca92a.868d0e",
439         "wires": []
440     },
441     {
442         "id": "280801a6.6b958e",
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": 1696.8572082519531,
449         "y": 1116.1427688598633,
450         "z": "352ca92a.868d0e",
451         "wires": [
452             []
453         ]
454     },
455     {
456         "id": "c1028f45.2b40b",
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": 1689.8572082519531,
463         "y": 1212.1427688598633,
464         "z": "352ca92a.868d0e",
465         "wires": [
466             [
467                 "601689b5.f1fb7"
468             ]
469         ]
470     },
471     {
472         "id": "c8739969.39695",
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": 2231.857208251953,
479         "y": 1213.1427688598633,
480         "z": "352ca92a.868d0e",
481         "wires": [
482             [
483                 "e6bfc4cb.d914d"
484             ]
485         ]
486     },
487     {
488         "id": "e6bfc4cb.d914d",
489         "type": "outcomeTrue",
490         "name": "true",
491         "xml": "<outcome value='true'>\n",
492         "comments": "",
493         "outputs": 1,
494         "x": 2471.857208251953,
495         "y": 1212.1427688598633,
496         "z": "352ca92a.868d0e",
497         "wires": [
498             [
499                 "e4b648de.412ed"
500             ]
501         ]
502     },
503     {
504         "id": "bc098bd6.7e5e48",
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": 2138.857208251953,
511         "y": 1283.1427688598633,
512         "z": "352ca92a.868d0e",
513         "wires": [
514             []
515         ]
516     },
517     {
518         "id": "7a600bc6.51d61c",
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": 2153.857208251953,
525         "y": 1366.1427688598633,
526         "z": "352ca92a.868d0e",
527         "wires": [
528             []
529         ]
530     },
531     {
532         "id": "e4b648de.412ed",
533         "type": "block",
534         "name": "block",
535         "xml": "<block>\n",
536         "atomic": "false",
537         "comments": "",
538         "outputs": 1,
539         "x": 1922.8572082519531,
540         "y": 1283.1427688598633,
541         "z": "352ca92a.868d0e",
542         "wires": [
543             [
544                 "bc098bd6.7e5e48",
545                 "7a600bc6.51d61c",
546                 "a8ca1153.971238"
547             ]
548         ]
549     },
550     {
551         "id": "4c47b1b9.3083",
552         "type": "block",
553         "name": "block : atomic",
554         "xml": "<block atomic='true'>",
555         "atomic": "true",
556         "comments": "",
557         "outputs": 1,
558         "x": 1472.8572082519531,
559         "y": 584.1427688598633,
560         "z": "352ca92a.868d0e",
561         "wires": [
562             [
563                 "26b1ee2d.08273a",
564                 "83de20b7.804778",
565                 "626a201b.d55578",
566                 "749d681a.41547",
567                 "3a4d4bdb.4c43d4",
568                 "280801a6.6b958e",
569                 "d2661b85.b495e",
570                 "c1028f45.2b40b",
571                 "212189e2.756db6",
572                 "cc68ecc2.dbb0c8"
573             ]
574         ]
575     },
576     {
577         "id": "d2661b85.b495e",
578         "type": "set",
579         "name": "set status as DELETED",
580         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='DELETED' />",
581         "comments": "",
582         "x": 1694.8572082519531,
583         "y": 1166.1427688598633,
584         "z": "352ca92a.868d0e",
585         "wires": []
586     },
587     {
588         "id": "e19d4005.611528",
589         "type": "execute",
590         "name": "execute replace extra comma",
591         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',}' />\n   <parameter name='replacement' value='}' />",
592         "comments": "",
593         "outputs": 1,
594         "x": 1611.5236206054688,
595         "y": 2100.6663970947266,
596         "z": "352ca92a.868d0e",
597         "wires": [
598             []
599         ]
600     },
601     {
602         "id": "52baa22c.b272b4",
603         "type": "for",
604         "name": "for vnf-parameters-data",
605         "xml": "<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key_length`' >\n",
606         "comments": "",
607         "outputs": 1,
608         "x": 1719.0236206054688,
609         "y": 1916.6663970947266,
610         "z": "352ca92a.868d0e",
611         "wires": [
612             [
613                 "53c27f81.6966a"
614             ]
615         ]
616     },
617     {
618         "id": "53c27f81.6966a",
619         "type": "set",
620         "name": "set payload data",
621         "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element_length`\" value='`$j + 1`' />",
622         "comments": "",
623         "x": 1971.5236206054688,
624         "y": 1916.6663970947266,
625         "z": "352ca92a.868d0e",
626         "wires": []
627     },
628     {
629         "id": "168eba65.ac0bfe",
630         "type": "set",
631         "name": "set payload data",
632         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />\n",
633         "comments": "",
634         "x": 1699.9520874023438,
635         "y": 1855.3808135986328,
636         "z": "352ca92a.868d0e",
637         "wires": []
638     },
639     {
640         "id": "3248b7d.b604248",
641         "type": "set",
642         "name": "set payload data",
643         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />\n<parameter name='tmp.gen-name_length' value='`$tmp.gen-name_length + 1`' />",
644         "comments": "",
645         "x": 1701.5236206054688,
646         "y": 1972.6663970947266,
647         "z": "352ca92a.868d0e",
648         "wires": []
649     },
650     {
651         "id": "bb4a1d93.3a86c",
652         "type": "set",
653         "name": "set close payload list",
654         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
655         "comments": "",
656         "x": 1586.5236206054688,
657         "y": 2057.6663360595703,
658         "z": "352ca92a.868d0e",
659         "wires": []
660     },
661     {
662         "id": "71c717dc.1a41b",
663         "type": "execute",
664         "name": "execute replace extra comma",
665         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',]' />\n   <parameter name='replacement' value=']' />",
666         "comments": "",
667         "outputs": 1,
668         "x": 1612.5236206054688,
669         "y": 2151.6663970947266,
670         "z": "352ca92a.868d0e",
671         "wires": [
672             []
673         ]
674     },
675     {
676         "id": "cfb313ac.f6ff68",
677         "type": "failure",
678         "name": "failure",
679         "xml": "<outcome value='failure'>\n",
680         "comments": "",
681         "outputs": 1,
682         "x": 1953.523681640625,
683         "y": 2185.66650390625,
684         "z": "352ca92a.868d0e",
685         "wires": [
686             [
687                 "99ddd056.c45ef8"
688             ]
689         ]
690     },
691     {
692         "id": "4ea93843.2ee25",
693         "type": "returnFailure",
694         "name": "return failure",
695         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error from NameGenerationNode Assign\" />\n",
696         "comments": "",
697         "x": 2318.523681640625,
698         "y": 2285.66650390625,
699         "z": "352ca92a.868d0e",
700         "wires": []
701     },
702     {
703         "id": "48fa407a.74cf2",
704         "type": "failure",
705         "name": "not-found",
706         "xml": "<outcome value='not-found'>\n",
707         "comments": "",
708         "outputs": 1,
709         "x": 1958.523681640625,
710         "y": 2284.66650390625,
711         "z": "352ca92a.868d0e",
712         "wires": [
713             [
714                 "99ddd056.c45ef8"
715             ]
716         ]
717     },
718     {
719         "id": "99ddd056.c45ef8",
720         "type": "block",
721         "name": "block",
722         "xml": "<block>\n",
723         "atomic": "false",
724         "comments": "",
725         "outputs": 1,
726         "x": 2116.523681640625,
727         "y": 2229.66650390625,
728         "z": "352ca92a.868d0e",
729         "wires": [
730             [
731                 "8d122dd3.f5458",
732                 "4ea93843.2ee25"
733             ]
734         ]
735     },
736     {
737         "id": "8d122dd3.f5458",
738         "type": "set",
739         "name": "set status as FAILED",
740         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='FAILED' />",
741         "comments": "",
742         "x": 2332.523681640625,
743         "y": 2176.66650390625,
744         "z": "352ca92a.868d0e",
745         "wires": []
746     },
747     {
748         "id": "9f0b4035.10244",
749         "type": "for",
750         "name": "for vnf-parameters-data",
751         "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
752         "comments": "",
753         "outputs": 1,
754         "x": 1832.5236206054688,
755         "y": 2408.6663970947266,
756         "z": "352ca92a.868d0e",
757         "wires": [
758             [
759                 "ee35f915.82d68"
760             ]
761         ]
762     },
763     {
764         "id": "1e6b1940.cc1657",
765         "type": "switchNode",
766         "name": "switch capability-name",
767         "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
768         "comments": "",
769         "outputs": 1,
770         "x": 2035.5236206054688,
771         "y": 2626.6663970947266,
772         "z": "352ca92a.868d0e",
773         "wires": [
774             [
775                 "9d62a2e2.3a7988"
776             ]
777         ]
778     },
779     {
780         "id": "9d62a2e2.3a7988",
781         "type": "not-found",
782         "name": "true",
783         "xml": "<outcome value='true'>\n",
784         "comments": "",
785         "outputs": 1,
786         "x": 2245.5236206054688,
787         "y": 2626.6663970947266,
788         "z": "352ca92a.868d0e",
789         "wires": [
790             [
791                 "20d781c2.39d966"
792             ]
793         ]
794     },
795     {
796         "id": "20d781c2.39d966",
797         "type": "set",
798         "name": "set set payload data",
799         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n",
800         "comments": "",
801         "x": 2442.0236206054688,
802         "y": 2627.6663970947266,
803         "z": "352ca92a.868d0e",
804         "wires": []
805     },
806     {
807         "id": "14a8a060.42cee8",
808         "type": "execute",
809         "name": "execute jsonStringToCtx",
810         "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.httpResponse\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
811         "comments": "",
812         "outputs": 1,
813         "x": 1593.5236206054688,
814         "y": 2310.6663970947266,
815         "z": "352ca92a.868d0e",
816         "wires": [
817             []
818         ]
819     },
820     {
821         "id": "1441b20e.14024e",
822         "type": "for",
823         "name": "for response elements",
824         "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
825         "comments": "",
826         "outputs": 1,
827         "x": 1585.5236206054688,
828         "y": 2407.6663970947266,
829         "z": "352ca92a.868d0e",
830         "wires": [
831             [
832                 "9f0b4035.10244"
833             ]
834         ]
835     },
836     {
837         "id": "ee35f915.82d68",
838         "type": "execute",
839         "name": "slistringUtils - check value for $",
840         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains'  emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`\" />\n    <parameter name=\"target\" value=\"$\"/>\n  \n",
841         "comments": "",
842         "outputs": 1,
843         "x": 2136.5236206054688,
844         "y": 2408.6663970947266,
845         "z": "352ca92a.868d0e",
846         "wires": [
847             [
848                 "f03c4ce3.3f12"
849             ]
850         ]
851     },
852     {
853         "id": "f03c4ce3.3f12",
854         "type": "outcomeTrue",
855         "name": "true",
856         "xml": "<outcome value='true'>\n",
857         "comments": "",
858         "outputs": 1,
859         "x": 2376.5236206054688,
860         "y": 2407.6663970947266,
861         "z": "352ca92a.868d0e",
862         "wires": [
863             [
864                 "6b8f6d22.f5c394"
865             ]
866         ]
867     },
868     {
869         "id": "8e5f54d5.686b8",
870         "type": "execute",
871         "name": "split resource-resolution-data",
872         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n   <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n   <parameter name='original_string' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`' />\n   <parameter name='regex' value='\\$\\{' />\n",
873         "comments": "",
874         "outputs": 1,
875         "x": 2043.5236206054688,
876         "y": 2478.6663970947266,
877         "z": "352ca92a.868d0e",
878         "wires": [
879             []
880         ]
881     },
882     {
883         "id": "46e9ff0c.f30858",
884         "type": "execute",
885         "name": "split resource-resolution-split-1",
886         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n   <parameter name='ctx_memory_result_key' value='s2' />\n   <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n   <parameter name='regex' value='\\}' />\n",
887         "comments": "",
888         "outputs": 1,
889         "x": 2058.5236206054688,
890         "y": 2561.6663970947266,
891         "z": "352ca92a.868d0e",
892         "wires": [
893             []
894         ]
895     },
896     {
897         "id": "6b8f6d22.f5c394",
898         "type": "block",
899         "name": "block",
900         "xml": "<block>\n",
901         "atomic": "false",
902         "comments": "",
903         "outputs": 1,
904         "x": 1827.5236206054688,
905         "y": 2478.6663970947266,
906         "z": "352ca92a.868d0e",
907         "wires": [
908             [
909                 "8e5f54d5.686b8",
910                 "46e9ff0c.f30858",
911                 "1e6b1940.cc1657"
912             ]
913         ]
914     },
915     {
916         "id": "a809b004.822848",
917         "type": "block",
918         "name": "block : atomic",
919         "xml": "<block atomic='true'>",
920         "atomic": "true",
921         "comments": "",
922         "outputs": 1,
923         "x": 1496.6666870117188,
924         "y": 1834.9520416259766,
925         "z": "352ca92a.868d0e",
926         "wires": [
927             [
928                 "168eba65.ac0bfe",
929                 "52baa22c.b272b4",
930                 "3248b7d.b604248"
931             ]
932         ]
933     },
934     {
935         "id": "cd259e38.191b18",
936         "type": "set",
937         "name": "set status as SUCCESS",
938         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.status`' value='SUCCESS' />",
939         "comments": "",
940         "x": 1592.5236206054688,
941         "y": 2361.6663970947266,
942         "z": "352ca92a.868d0e",
943         "wires": []
944     },
945     {
946         "id": "2a82f8ce.16638",
947         "type": "switchNode",
948         "name": "switch external-key",
949         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.resource-key[$j].name == 'external-key'`\">\n",
950         "comments": "",
951         "outputs": 1,
952         "x": 1920.8572082519531,
953         "y": 657.1427688598633,
954         "z": "352ca92a.868d0e",
955         "wires": [
956             [
957                 "703d680a.0882b8"
958             ]
959         ]
960     },
961     {
962         "id": "703d680a.0882b8",
963         "type": "not-found",
964         "name": "true",
965         "xml": "<outcome value='true'>\n",
966         "comments": "",
967         "outputs": 1,
968         "x": 2104.857208251953,
969         "y": 657.1427688598633,
970         "z": "352ca92a.868d0e",
971         "wires": [
972             [
973                 "9332f863.29e018"
974             ]
975         ]
976     },
977     {
978         "id": "e30790a5.8eada8",
979         "type": "execute",
980         "name": "execute replace extra comma",
981         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',}' />\n   <parameter name='replacement' value='}' />",
982         "comments": "",
983         "outputs": 1,
984         "x": 1832.4762573242188,
985         "y": 4071.3329010009766,
986         "z": "352ca92a.868d0e",
987         "wires": [
988             []
989         ]
990     },
991     {
992         "id": "764d2bf0.389154",
993         "type": "for",
994         "name": "for vnf-parameters-data",
995         "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
996         "comments": "",
997         "outputs": 1,
998         "x": 1120.9761352539062,
999         "y": 3683.3333892822266,
1000         "z": "352ca92a.868d0e",
1001         "wires": [
1002             [
1003                 "3e3dd5d0.a91612"
1004             ]
1005         ]
1006     },
1007     {
1008         "id": "3e3dd5d0.a91612",
1009         "type": "switchNode",
1010         "name": "switch capability-name",
1011         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n",
1012         "comments": "",
1013         "outputs": 1,
1014         "x": 1400.9761352539062,
1015         "y": 3683.3333892822266,
1016         "z": "352ca92a.868d0e",
1017         "wires": [
1018             [
1019                 "50f0868b.978048"
1020             ]
1021         ]
1022     },
1023     {
1024         "id": "50f0868b.978048",
1025         "type": "not-found",
1026         "name": "true",
1027         "xml": "<outcome value='true'>\n",
1028         "comments": "",
1029         "outputs": 1,
1030         "x": 1609.9762573242188,
1031         "y": 3683.3333892822266,
1032         "z": "352ca92a.868d0e",
1033         "wires": [
1034             [
1035                 "f9767b66.ef7fc8"
1036             ]
1037         ]
1038     },
1039     {
1040         "id": "69d0476a.820ed8",
1041         "type": "for",
1042         "name": "for vf-module-parameters",
1043         "xml": "<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key_length`' >\n",
1044         "comments": "",
1045         "outputs": 1,
1046         "x": 1801.9762573242188,
1047         "y": 3872.3329010009766,
1048         "z": "352ca92a.868d0e",
1049         "wires": [
1050             [
1051                 "a1e78eab.0fa1e8"
1052             ]
1053         ]
1054     },
1055     {
1056         "id": "d2c35b36.dd9ed8",
1057         "type": "set",
1058         "name": "set payload data",
1059         "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[0].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[0].element_length`\" value='`$j + 1`' />",
1060         "comments": "",
1061         "x": 2404.4762573242188,
1062         "y": 3870.3329010009766,
1063         "z": "352ca92a.868d0e",
1064         "wires": []
1065     },
1066     {
1067         "id": "50c2e9.703e9d18",
1068         "type": "set",
1069         "name": "set set payload data",
1070         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />\n<parameter name='tmp.gen-name_length' value='1' />",
1071         "comments": "",
1072         "x": 1799.4762573242188,
1073         "y": 3795.3329010009766,
1074         "z": "352ca92a.868d0e",
1075         "wires": []
1076     },
1077     {
1078         "id": "90bc6a2d.4662e8",
1079         "type": "set",
1080         "name": "set payload data",
1081         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />",
1082         "comments": "",
1083         "x": 1799.4762573242188,
1084         "y": 3934.3329010009766,
1085         "z": "352ca92a.868d0e",
1086         "wires": []
1087     },
1088     {
1089         "id": "fc28ae3b.ec6fc8",
1090         "type": "set",
1091         "name": "set close payload list",
1092         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
1093         "comments": "",
1094         "x": 1805.4762573242188,
1095         "y": 3999.3329010009766,
1096         "z": "352ca92a.868d0e",
1097         "wires": []
1098     },
1099     {
1100         "id": "5413abd2.a41a7c",
1101         "type": "execute",
1102         "name": "execute replace extra comma",
1103         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',]' />\n   <parameter name='replacement' value=']' />",
1104         "comments": "",
1105         "outputs": 1,
1106         "x": 1835.4762573242188,
1107         "y": 4125.332901000977,
1108         "z": "352ca92a.868d0e",
1109         "wires": [
1110             []
1111         ]
1112     },
1113     {
1114         "id": "3783fc44.dd5b6c",
1115         "type": "failure",
1116         "name": "failure",
1117         "xml": "<outcome value='failure'>\n",
1118         "comments": "",
1119         "outputs": 1,
1120         "x": 2165.476318359375,
1121         "y": 4147.3330078125,
1122         "z": "352ca92a.868d0e",
1123         "wires": [
1124             [
1125                 "1c744a01.9209ae"
1126             ]
1127         ]
1128     },
1129     {
1130         "id": "cd050f66.de8e9",
1131         "type": "returnFailure",
1132         "name": "return failure",
1133         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error from NameGenerationNode Unassign\" />\n",
1134         "comments": "",
1135         "x": 2530.476318359375,
1136         "y": 4247.3330078125,
1137         "z": "352ca92a.868d0e",
1138         "wires": []
1139     },
1140     {
1141         "id": "73945c44.2de044",
1142         "type": "failure",
1143         "name": "not-found",
1144         "xml": "<outcome value='not-found'>\n",
1145         "comments": "",
1146         "outputs": 1,
1147         "x": 2170.476318359375,
1148         "y": 4246.3330078125,
1149         "z": "352ca92a.868d0e",
1150         "wires": [
1151             [
1152                 "1c744a01.9209ae"
1153             ]
1154         ]
1155     },
1156     {
1157         "id": "1c744a01.9209ae",
1158         "type": "block",
1159         "name": "block",
1160         "xml": "<block>\n",
1161         "atomic": "false",
1162         "comments": "",
1163         "outputs": 1,
1164         "x": 2328.476318359375,
1165         "y": 4191.3330078125,
1166         "z": "352ca92a.868d0e",
1167         "wires": [
1168             [
1169                 "cb9caa42.183ed",
1170                 "cd050f66.de8e9"
1171             ]
1172         ]
1173     },
1174     {
1175         "id": "cb9caa42.183ed",
1176         "type": "set",
1177         "name": "set status as FAILED",
1178         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.status`' value='FAILED' />",
1179         "comments": "",
1180         "x": 2544.476318359375,
1181         "y": 4138.3330078125,
1182         "z": "352ca92a.868d0e",
1183         "wires": []
1184     },
1185     {
1186         "id": "afd0ba60.e2d9f",
1187         "type": "for",
1188         "name": "for vf-module-parameters",
1189         "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
1190         "comments": "",
1191         "outputs": 1,
1192         "x": 2047.4762573242188,
1193         "y": 4427.332901000977,
1194         "z": "352ca92a.868d0e",
1195         "wires": [
1196             [
1197                 "6c40ec43.6ec0dc"
1198             ]
1199         ]
1200     },
1201     {
1202         "id": "83c9c6e9.87388",
1203         "type": "switchNode",
1204         "name": "switch capability-name",
1205         "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
1206         "comments": "",
1207         "outputs": 1,
1208         "x": 2250.4762573242188,
1209         "y": 4645.332901000977,
1210         "z": "352ca92a.868d0e",
1211         "wires": [
1212             [
1213                 "a3d90c5b.ef51f"
1214             ]
1215         ]
1216     },
1217     {
1218         "id": "a3d90c5b.ef51f",
1219         "type": "not-found",
1220         "name": "true",
1221         "xml": "<outcome value='true'>\n",
1222         "comments": "",
1223         "outputs": 1,
1224         "x": 2460.4762573242188,
1225         "y": 4645.332901000977,
1226         "z": "352ca92a.868d0e",
1227         "wires": [
1228             [
1229                 "b737d55d.af5d1"
1230             ]
1231         ]
1232     },
1233     {
1234         "id": "b737d55d.af5d1",
1235         "type": "set",
1236         "name": "set set payload data",
1237         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n",
1238         "comments": "",
1239         "x": 2656.9762573242188,
1240         "y": 4646.332901000977,
1241         "z": "352ca92a.868d0e",
1242         "wires": []
1243     },
1244     {
1245         "id": "3d2cb067.b7ddf8",
1246         "type": "execute",
1247         "name": "execute jsonStringToCtx",
1248         "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.httpResponse\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
1249         "comments": "",
1250         "outputs": 1,
1251         "x": 1816.4762573242188,
1252         "y": 4330.332901000977,
1253         "z": "352ca92a.868d0e",
1254         "wires": [
1255             []
1256         ]
1257     },
1258     {
1259         "id": "5411dd84.42d2fc",
1260         "type": "for",
1261         "name": "for response elements",
1262         "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
1263         "comments": "",
1264         "outputs": 1,
1265         "x": 1809.4762573242188,
1266         "y": 4426.332901000977,
1267         "z": "352ca92a.868d0e",
1268         "wires": [
1269             [
1270                 "afd0ba60.e2d9f"
1271             ]
1272         ]
1273     },
1274     {
1275         "id": "6c40ec43.6ec0dc",
1276         "type": "execute",
1277         "name": "slistringUtils - check value for $",
1278         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains'  emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`\" />\n    <parameter name=\"target\" value=\"$\"/>\n  \n",
1279         "comments": "",
1280         "outputs": 1,
1281         "x": 2351.4762573242188,
1282         "y": 4427.332901000977,
1283         "z": "352ca92a.868d0e",
1284         "wires": [
1285             [
1286                 "cae9e560.df808"
1287             ]
1288         ]
1289     },
1290     {
1291         "id": "cae9e560.df808",
1292         "type": "outcomeTrue",
1293         "name": "true",
1294         "xml": "<outcome value='true'>\n",
1295         "comments": "",
1296         "outputs": 1,
1297         "x": 2591.4762573242188,
1298         "y": 4426.332901000977,
1299         "z": "352ca92a.868d0e",
1300         "wires": [
1301             [
1302                 "a89ce0fc.1e145"
1303             ]
1304         ]
1305     },
1306     {
1307         "id": "b3a6efba.ab4d7",
1308         "type": "execute",
1309         "name": "split resource-resolution-data",
1310         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n   <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n   <parameter name='original_string' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`' />\n   <parameter name='regex' value='\\$\\{' />\n",
1311         "comments": "",
1312         "outputs": 1,
1313         "x": 2258.4762573242188,
1314         "y": 4497.332901000977,
1315         "z": "352ca92a.868d0e",
1316         "wires": [
1317             []
1318         ]
1319     },
1320     {
1321         "id": "be3eae60.aeb878",
1322         "type": "execute",
1323         "name": "split resource-resolution-split-1",
1324         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n   <parameter name='ctx_memory_result_key' value='s2' />\n   <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n   <parameter name='regex' value='\\}' />\n",
1325         "comments": "",
1326         "outputs": 1,
1327         "x": 2273.4762573242188,
1328         "y": 4580.332901000977,
1329         "z": "352ca92a.868d0e",
1330         "wires": [
1331             []
1332         ]
1333     },
1334     {
1335         "id": "a89ce0fc.1e145",
1336         "type": "block",
1337         "name": "block",
1338         "xml": "<block>\n",
1339         "atomic": "false",
1340         "comments": "",
1341         "outputs": 1,
1342         "x": 2042.4762573242188,
1343         "y": 4497.332901000977,
1344         "z": "352ca92a.868d0e",
1345         "wires": [
1346             [
1347                 "b3a6efba.ab4d7",
1348                 "be3eae60.aeb878",
1349                 "83c9c6e9.87388"
1350             ]
1351         ]
1352     },
1353     {
1354         "id": "f9767b66.ef7fc8",
1355         "type": "block",
1356         "name": "block : atomic",
1357         "xml": "<block atomic='true'>",
1358         "atomic": "true",
1359         "comments": "",
1360         "outputs": 1,
1361         "x": 1592.4762573242188,
1362         "y": 3798.3329010009766,
1363         "z": "352ca92a.868d0e",
1364         "wires": [
1365             [
1366                 "50c2e9.703e9d18",
1367                 "69d0476a.820ed8",
1368                 "90bc6a2d.4662e8",
1369                 "fc28ae3b.ec6fc8",
1370                 "e30790a5.8eada8",
1371                 "3d2cb067.b7ddf8",
1372                 "cf08ea1b.928b78",
1373                 "5411dd84.42d2fc",
1374                 "5413abd2.a41a7c",
1375                 "b562a092.868848"
1376             ]
1377         ]
1378     },
1379     {
1380         "id": "cf08ea1b.928b78",
1381         "type": "set",
1382         "name": "set status as DELETED",
1383         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.status`' value='DELETED' />",
1384         "comments": "",
1385         "x": 1814.4762573242188,
1386         "y": 4380.332901000977,
1387         "z": "352ca92a.868d0e",
1388         "wires": []
1389     },
1390     {
1391         "id": "a1e78eab.0fa1e8",
1392         "type": "switchNode",
1393         "name": "switch external-key",
1394         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name == 'external-key'`\">\n",
1395         "comments": "",
1396         "outputs": 1,
1397         "x": 2040.4762573242188,
1398         "y": 3871.3329010009766,
1399         "z": "352ca92a.868d0e",
1400         "wires": [
1401             [
1402                 "c351bced.05391"
1403             ]
1404         ]
1405     },
1406     {
1407         "id": "c351bced.05391",
1408         "type": "not-found",
1409         "name": "true",
1410         "xml": "<outcome value='true'>\n",
1411         "comments": "",
1412         "outputs": 1,
1413         "x": 2224.4762573242188,
1414         "y": 3871.3329010009766,
1415         "z": "352ca92a.868d0e",
1416         "wires": [
1417             [
1418                 "d2c35b36.dd9ed8"
1419             ]
1420         ]
1421     },
1422     {
1423         "id": "4b1c4a05.4570ec",
1424         "type": "switchNode",
1425         "name": "switch capability-type. vnf",
1426         "xml": "<switch test=\"`$ss.capability-type == 'vnf'`\">\n",
1427         "comments": "",
1428         "outputs": 1,
1429         "x": 356.1428527832031,
1430         "y": 301.99999237060547,
1431         "z": "352ca92a.868d0e",
1432         "wires": [
1433             [
1434                 "812c03eb.24e6a8"
1435             ]
1436         ]
1437     },
1438     {
1439         "id": "812c03eb.24e6a8",
1440         "type": "not-found",
1441         "name": "true",
1442         "xml": "<outcome value='true'>\n",
1443         "comments": "",
1444         "outputs": 1,
1445         "x": 559.5714111328125,
1446         "y": 301.2857208251953,
1447         "z": "352ca92a.868d0e",
1448         "wires": [
1449             [
1450                 "32866df4.63e6ea"
1451             ]
1452         ]
1453     },
1454     {
1455         "id": "324d6ccc.ba650c",
1456         "type": "switchNode",
1457         "name": "switch capability-type vf-module",
1458         "xml": "<switch test=\"`$ss.capability-type == 'vf-module'`\">\n",
1459         "comments": "",
1460         "outputs": 1,
1461         "x": 485.4761962890625,
1462         "y": 3465.3333282470703,
1463         "z": "352ca92a.868d0e",
1464         "wires": [
1465             [
1466                 "ac3b4f92.a95c5"
1467             ]
1468         ]
1469     },
1470     {
1471         "id": "ac3b4f92.a95c5",
1472         "type": "not-found",
1473         "name": "true",
1474         "xml": "<outcome value='true'>\n",
1475         "comments": "",
1476         "outputs": 1,
1477         "x": 704.4761962890625,
1478         "y": 3466.3333892822266,
1479         "z": "352ca92a.868d0e",
1480         "wires": [
1481             [
1482                 "e2804051.7cbab"
1483             ]
1484         ]
1485     },
1486     {
1487         "id": "70bd05a3.857634",
1488         "type": "for",
1489         "name": "for vnf-parameters data",
1490         "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
1491         "comments": "",
1492         "outputs": 1,
1493         "x": 1597.5236206054688,
1494         "y": 2587.6663970947266,
1495         "z": "352ca92a.868d0e",
1496         "wires": [
1497             [
1498                 "962e71b2.6cdc38"
1499             ]
1500         ]
1501     },
1502     {
1503         "id": "962e71b2.6cdc38",
1504         "type": "execute",
1505         "name": "slistringUtils - check value for $",
1506         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains'  emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].value`\" />\n    <parameter name=\"target\" value=\"$\"/>\n  \n",
1507         "comments": "",
1508         "outputs": 1,
1509         "x": 1723.1902465820312,
1510         "y": 2718.6663970947266,
1511         "z": "352ca92a.868d0e",
1512         "wires": [
1513             [
1514                 "7337023b.2c5cac"
1515             ]
1516         ]
1517     },
1518     {
1519         "id": "7337023b.2c5cac",
1520         "type": "failure",
1521         "name": "false",
1522         "xml": "<outcome value='false'>\n",
1523         "comments": "",
1524         "outputs": 1,
1525         "x": 1985.1902465820312,
1526         "y": 2774.6663970947266,
1527         "z": "352ca92a.868d0e",
1528         "wires": [
1529             [
1530                 "351fff6a.5eb578"
1531             ]
1532         ]
1533     },
1534     {
1535         "id": "351fff6a.5eb578",
1536         "type": "block",
1537         "name": "block",
1538         "xml": "<block>\n",
1539         "atomic": "false",
1540         "comments": "",
1541         "outputs": 1,
1542         "x": 2201.1902465820312,
1543         "y": 2774.6663970947266,
1544         "z": "352ca92a.868d0e",
1545         "wires": [
1546             [
1547                 "db60e930.c4136",
1548                 "e87c4b29.75482"
1549             ]
1550         ]
1551     },
1552     {
1553         "id": "db60e930.c4136",
1554         "type": "set",
1555         "name": "set capability name",
1556         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.capability-name`' value='INPUT' />",
1557         "comments": "",
1558         "x": 2421.1902465820312,
1559         "y": 2712.6663970947266,
1560         "z": "352ca92a.868d0e",
1561         "wires": []
1562     },
1563     {
1564         "id": "e87c4b29.75482",
1565         "type": "set",
1566         "name": "set status SUCCESS",
1567         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$l].resource-resolution-data.status`' value='SUCCESS' />\n",
1568         "comments": "",
1569         "x": 2431.1902465820312,
1570         "y": 2820.6663970947266,
1571         "z": "352ca92a.868d0e",
1572         "wires": []
1573     },
1574     {
1575         "id": "767ed8a1.4a0fd",
1576         "type": "switchNode",
1577         "name": "switch capability action unassign",
1578         "xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n",
1579         "comments": "",
1580         "outputs": 1,
1581         "x": 813.7142333984375,
1582         "y": 392.1428680419922,
1583         "z": "352ca92a.868d0e",
1584         "wires": [
1585             [
1586                 "d918681a.83f4a"
1587             ]
1588         ]
1589     },
1590     {
1591         "id": "d918681a.83f4a",
1592         "type": "not-found",
1593         "name": "true",
1594         "xml": "<outcome value='true'>\n",
1595         "comments": "",
1596         "outputs": 1,
1597         "x": 1099.4285278320312,
1598         "y": 390.7142791748047,
1599         "z": "352ca92a.868d0e",
1600         "wires": [
1601             [
1602                 "44cc33ed.fb39e4"
1603             ]
1604         ]
1605     },
1606     {
1607         "id": "32866df4.63e6ea",
1608         "type": "block",
1609         "name": "block",
1610         "xml": "<block>\n",
1611         "atomic": "false",
1612         "comments": "",
1613         "outputs": 1,
1614         "x": 563.7142944335938,
1615         "y": 366.42860412597656,
1616         "z": "352ca92a.868d0e",
1617         "wires": [
1618             [
1619                 "767ed8a1.4a0fd",
1620                 "2c3347a4.1d0d28"
1621             ]
1622         ]
1623     },
1624     {
1625         "id": "28134cd4.8102bc",
1626         "type": "for",
1627         "name": "for vnf-parameters-data",
1628         "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
1629         "comments": "",
1630         "outputs": 1,
1631         "x": 1038.0715942382812,
1632         "y": 1778.166763305664,
1633         "z": "352ca92a.868d0e",
1634         "wires": [
1635             [
1636                 "ea821c0d.f138f"
1637             ]
1638         ]
1639     },
1640     {
1641         "id": "ea821c0d.f138f",
1642         "type": "switchNode",
1643         "name": "switch capability-name",
1644         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n",
1645         "comments": "",
1646         "outputs": 1,
1647         "x": 1279.6786499023438,
1648         "y": 1778.166763305664,
1649         "z": "352ca92a.868d0e",
1650         "wires": [
1651             [
1652                 "5fdd4f70.822d6"
1653             ]
1654         ]
1655     },
1656     {
1657         "id": "5fdd4f70.822d6",
1658         "type": "not-found",
1659         "name": "true",
1660         "xml": "<outcome value='true'>\n",
1661         "comments": "",
1662         "outputs": 1,
1663         "x": 1460.3930053710938,
1664         "y": 1778.166763305664,
1665         "z": "352ca92a.868d0e",
1666         "wires": [
1667             [
1668                 "a809b004.822848"
1669             ]
1670         ]
1671     },
1672     {
1673         "id": "6a2168f8.52087",
1674         "type": "not-found",
1675         "name": "true",
1676         "xml": "<outcome value='true'>\n",
1677         "comments": "",
1678         "outputs": 1,
1679         "x": 1192.8572387695312,
1680         "y": 3594.5714263916016,
1681         "z": "352ca92a.868d0e",
1682         "wires": [
1683             [
1684                 "764d2bf0.389154"
1685             ]
1686         ]
1687     },
1688     {
1689         "id": "c27c9e8f.dedd2",
1690         "type": "switchNode",
1691         "name": "switch capability action unassign",
1692         "xml": "<switch test=\"`$ss.capability-action == 'unassign'`\">\n",
1693         "comments": "",
1694         "outputs": 1,
1695         "x": 951.8569946289062,
1696         "y": 3594.5714263916016,
1697         "z": "352ca92a.868d0e",
1698         "wires": [
1699             [
1700                 "6a2168f8.52087"
1701             ]
1702         ]
1703     },
1704     {
1705         "id": "e2804051.7cbab",
1706         "type": "block",
1707         "name": "block",
1708         "xml": "<block>\n",
1709         "atomic": "false",
1710         "comments": "",
1711         "outputs": 1,
1712         "x": 708.8571166992188,
1713         "y": 3531.5714263916016,
1714         "z": "352ca92a.868d0e",
1715         "wires": [
1716             [
1717                 "c27c9e8f.dedd2",
1718                 "d8487376.9bcfd"
1719             ]
1720         ]
1721     },
1722     {
1723         "id": "d8487376.9bcfd",
1724         "type": "switchNode",
1725         "name": "switch capability action assign",
1726         "xml": "<switch test=\"`$ss.capability-action == 'assign'`\">",
1727         "comments": "",
1728         "outputs": 1,
1729         "x": 928.8096313476562,
1730         "y": 5202.334121704102,
1731         "z": "352ca92a.868d0e",
1732         "wires": [
1733             [
1734                 "9fcd1d47.5645c8"
1735             ]
1736         ]
1737     },
1738     {
1739         "id": "9fcd1d47.5645c8",
1740         "type": "not-found",
1741         "name": "true",
1742         "xml": "<outcome value='true'>\n",
1743         "comments": "",
1744         "outputs": 1,
1745         "x": 1157.8096313476562,
1746         "y": 5202.334121704102,
1747         "z": "352ca92a.868d0e",
1748         "wires": [
1749             [
1750                 "9cfc91ea.726d38"
1751             ]
1752         ]
1753     },
1754     {
1755         "id": "920d5892.fd6d68",
1756         "type": "execute",
1757         "name": "execute replace extra comma",
1758         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',}' />\n   <parameter name='replacement' value='}' />",
1759         "comments": "",
1760         "outputs": 1,
1761         "x": 1706.3095092773438,
1762         "y": 5672.584487915039,
1763         "z": "352ca92a.868d0e",
1764         "wires": [
1765             []
1766         ]
1767     },
1768     {
1769         "id": "4f85a78f.b9dd4",
1770         "type": "for",
1771         "name": "for vf-module-parameters",
1772         "xml": "<for index='j' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key_length`' >\n",
1773         "comments": "",
1774         "outputs": 1,
1775         "x": 2024.5595092773438,
1776         "y": 5480.334121704102,
1777         "z": "352ca92a.868d0e",
1778         "wires": [
1779             [
1780                 "172c4c1f.fc374c"
1781             ]
1782         ]
1783     },
1784     {
1785         "id": "172c4c1f.fc374c",
1786         "type": "set",
1787         "name": "set payload data",
1788         "xml": "<set>\n<parameter name=\"tmp.naming-data-payload\" value=\"`$tmp.naming-data-payload + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name + '&quot;:' + '&quot;' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value + '&quot;,'`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].name`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].name`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element[$j].value`\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.resource-key[$j].value`\"/>\n<parameter name=\"`tmp.gen-name[$tmp.gen-name_length].element_length`\" value='`$j + 1`' />",
1789         "comments": "",
1790         "x": 2281.0595092773438,
1791         "y": 5480.334121704102,
1792         "z": "352ca92a.868d0e",
1793         "wires": []
1794     },
1795     {
1796         "id": "f9d872c.140039",
1797         "type": "set",
1798         "name": "set set payload data",
1799         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '{'`\" />",
1800         "comments": "",
1801         "x": 2007.0595092773438,
1802         "y": 5426.334121704102,
1803         "z": "352ca92a.868d0e",
1804         "wires": []
1805     },
1806     {
1807         "id": "63be973.1d659e8",
1808         "type": "set",
1809         "name": "set payload data",
1810         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + '},'`\" />\n<parameter name='tmp.gen-name_length' value='`$tmp.gen-name_length + 1`' />",
1811         "comments": "",
1812         "x": 2013.0595092773438,
1813         "y": 5542.334121704102,
1814         "z": "352ca92a.868d0e",
1815         "wires": []
1816     },
1817     {
1818         "id": "9191c58b.b355c8",
1819         "type": "set",
1820         "name": "set close payload list",
1821         "xml": "<set>\n<parameter name='tmp.naming-data-payload' value=\"`$tmp.naming-data-payload + ']}'`\" />",
1822         "comments": "",
1823         "x": 1676.3095092773438,
1824         "y": 5621.584487915039,
1825         "z": "352ca92a.868d0e",
1826         "wires": []
1827     },
1828     {
1829         "id": "f18ac492.ee4eb",
1830         "type": "execute",
1831         "name": "execute replace extra comma",
1832         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace'>\n   <parameter name='outputPath' value='tmp.naming-data-payload' />\n   <parameter name='source' value='`$tmp.naming-data-payload`' />\n   <parameter name='target' value=',]' />\n   <parameter name='replacement' value=']' />",
1833         "comments": "",
1834         "outputs": 1,
1835         "x": 1709.3095092773438,
1836         "y": 5726.584487915039,
1837         "z": "352ca92a.868d0e",
1838         "wires": [
1839             []
1840         ]
1841     },
1842     {
1843         "id": "965c8b30.02d398",
1844         "type": "failure",
1845         "name": "failure",
1846         "xml": "<outcome value='failure'>\n",
1847         "comments": "",
1848         "outputs": 1,
1849         "x": 2012.3095703125,
1850         "y": 5740.58447265625,
1851         "z": "352ca92a.868d0e",
1852         "wires": [
1853             [
1854                 "f4e23bde.24eef"
1855             ]
1856         ]
1857     },
1858     {
1859         "id": "180b7df9.28995a",
1860         "type": "returnFailure",
1861         "name": "return failure",
1862         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error from NameGenerationNode Assign\" />\n",
1863         "comments": "",
1864         "x": 2377.3095703125,
1865         "y": 5840.58447265625,
1866         "z": "352ca92a.868d0e",
1867         "wires": []
1868     },
1869     {
1870         "id": "1877c29b.11c2e5",
1871         "type": "failure",
1872         "name": "not-found",
1873         "xml": "<outcome value='not-found'>\n",
1874         "comments": "",
1875         "outputs": 1,
1876         "x": 2017.3095703125,
1877         "y": 5839.58447265625,
1878         "z": "352ca92a.868d0e",
1879         "wires": [
1880             [
1881                 "f4e23bde.24eef"
1882             ]
1883         ]
1884     },
1885     {
1886         "id": "f4e23bde.24eef",
1887         "type": "block",
1888         "name": "block",
1889         "xml": "<block>\n",
1890         "atomic": "false",
1891         "comments": "",
1892         "outputs": 1,
1893         "x": 2175.3095703125,
1894         "y": 5784.58447265625,
1895         "z": "352ca92a.868d0e",
1896         "wires": [
1897             [
1898                 "180b7df9.28995a",
1899                 "88545db3.91b2f8"
1900             ]
1901         ]
1902     },
1903     {
1904         "id": "88545db3.91b2f8",
1905         "type": "set",
1906         "name": "set status as FAILED",
1907         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.status`' value='FAILED' />",
1908         "comments": "",
1909         "x": 2391.3095703125,
1910         "y": 5731.58447265625,
1911         "z": "352ca92a.868d0e",
1912         "wires": []
1913     },
1914     {
1915         "id": "787fb15a.391898",
1916         "type": "for",
1917         "name": "for vf-module-parameters",
1918         "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
1919         "comments": "",
1920         "outputs": 1,
1921         "x": 1987.3095092773438,
1922         "y": 6316.584487915039,
1923         "z": "352ca92a.868d0e",
1924         "wires": [
1925             [
1926                 "5f3830ae.3b7538"
1927             ]
1928         ]
1929     },
1930     {
1931         "id": "854fee6.3fdc71",
1932         "type": "switchNode",
1933         "name": "switch capability-name",
1934         "xml": "<switch test='`$s2[0] == $jsonContextPrefix.elements[$n].resource-name`'>\n",
1935         "comments": "",
1936         "outputs": 1,
1937         "x": 2158.3095092773438,
1938         "y": 6474.584487915039,
1939         "z": "352ca92a.868d0e",
1940         "wires": [
1941             [
1942                 "c27fc49d.c8374"
1943             ]
1944         ]
1945     },
1946     {
1947         "id": "c27fc49d.c8374",
1948         "type": "not-found",
1949         "name": "true",
1950         "xml": "<outcome value='true'>\n",
1951         "comments": "",
1952         "outputs": 1,
1953         "x": 2362.3095092773438,
1954         "y": 6472.584487915039,
1955         "z": "352ca92a.868d0e",
1956         "wires": [
1957             [
1958                 "49f045b5.0d39c4"
1959             ]
1960         ]
1961     },
1962     {
1963         "id": "49f045b5.0d39c4",
1964         "type": "set",
1965         "name": "set set payload data",
1966         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`' value=\"`$jsonContextPrefix.elements[$n].resource-value`\" />\n",
1967         "comments": "",
1968         "x": 2556.8095092773438,
1969         "y": 6405.584487915039,
1970         "z": "352ca92a.868d0e",
1971         "wires": []
1972     },
1973     {
1974         "id": "b37ecff9.03eaa8",
1975         "type": "execute",
1976         "name": "execute jsonStringToCtx",
1977         "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"jsonStringToCtx\">\n\t<parameter name=\"source\" value=\"nameGenResponse.httpResponse\" />\n\t<parameter name=\"outputPath\" value=\"jsonContextPrefix\" />\n\t<parameter name=\"isEscaped\" value=\"false\" />\n\n",
1978         "comments": "",
1979         "outputs": 1,
1980         "x": 1690.3095092773438,
1981         "y": 5839.584487915039,
1982         "z": "352ca92a.868d0e",
1983         "wires": [
1984             []
1985         ]
1986     },
1987     {
1988         "id": "f5c7340.140185",
1989         "type": "for",
1990         "name": "for response elements",
1991         "xml": "<for index='n' start='0' end='`$jsonContextPrefix.elements_length`' >\n",
1992         "comments": "",
1993         "outputs": 1,
1994         "x": 1719.3095092773438,
1995         "y": 6317.584487915039,
1996         "z": "352ca92a.868d0e",
1997         "wires": [
1998             [
1999                 "787fb15a.391898"
2000             ]
2001         ]
2002     },
2003     {
2004         "id": "5f3830ae.3b7538",
2005         "type": "execute",
2006         "name": "slistringUtils - check value for $",
2007         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains'  emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`\" />\n    <parameter name=\"target\" value=\"$\"/>\n  \n",
2008         "comments": "",
2009         "outputs": 1,
2010         "x": 2271.3095092773438,
2011         "y": 6320.584487915039,
2012         "z": "352ca92a.868d0e",
2013         "wires": [
2014             [
2015                 "6e6d2e55.ed356"
2016             ]
2017         ]
2018     },
2019     {
2020         "id": "6e6d2e55.ed356",
2021         "type": "outcomeTrue",
2022         "name": "true",
2023         "xml": "<outcome value='true'>\n",
2024         "comments": "",
2025         "outputs": 1,
2026         "x": 2499.3095092773438,
2027         "y": 6317.584487915039,
2028         "z": "352ca92a.868d0e",
2029         "wires": [
2030             [
2031                 "177cba1.8a3a046"
2032             ]
2033         ]
2034     },
2035     {
2036         "id": "76939575.7aa904",
2037         "type": "execute",
2038         "name": "split resource-resolution-data",
2039         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n   <parameter name='ctx_memory_result_key' value='resource-resolution-split' />\n   <parameter name='original_string' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`' />\n   <parameter name='regex' value='\\$\\{' />\n",
2040         "comments": "",
2041         "outputs": 1,
2042         "x": 2166.3095092773438,
2043         "y": 6370.584487915039,
2044         "z": "352ca92a.868d0e",
2045         "wires": [
2046             []
2047         ]
2048     },
2049     {
2050         "id": "bd832c6d.e0325",
2051         "type": "execute",
2052         "name": "split resource-resolution-split-1",
2053         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n   <parameter name='ctx_memory_result_key' value='s2' />\n   <parameter name='original_string' value='`$resource-resolution-split[1]`' />\n   <parameter name='regex' value='\\}' />\n",
2054         "comments": "",
2055         "outputs": 1,
2056         "x": 2179.3095092773438,
2057         "y": 6429.584487915039,
2058         "z": "352ca92a.868d0e",
2059         "wires": [
2060             []
2061         ]
2062     },
2063     {
2064         "id": "177cba1.8a3a046",
2065         "type": "block",
2066         "name": "block",
2067         "xml": "<block>\n",
2068         "atomic": "false",
2069         "comments": "",
2070         "outputs": 1,
2071         "x": 1926.3095092773438,
2072         "y": 6396.584487915039,
2073         "z": "352ca92a.868d0e",
2074         "wires": [
2075             [
2076                 "854fee6.3fdc71",
2077                 "76939575.7aa904",
2078                 "bd832c6d.e0325"
2079             ]
2080         ]
2081     },
2082     {
2083         "id": "e20ed5c.32f5da8",
2084         "type": "block",
2085         "name": "block : atomic",
2086         "xml": "<block atomic='true'>",
2087         "atomic": "true",
2088         "comments": "",
2089         "outputs": 1,
2090         "x": 1800.0595092773438,
2091         "y": 5429.334121704102,
2092         "z": "352ca92a.868d0e",
2093         "wires": [
2094             [
2095                 "4f85a78f.b9dd4",
2096                 "f9d872c.140039",
2097                 "63be973.1d659e8"
2098             ]
2099         ]
2100     },
2101     {
2102         "id": "5e93d51f.0cdb84",
2103         "type": "set",
2104         "name": "set status as SUCCESS",
2105         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.status`' value='SUCCESS' />",
2106         "comments": "",
2107         "x": 1692.3095092773438,
2108         "y": 5891.584487915039,
2109         "z": "352ca92a.868d0e",
2110         "wires": []
2111     },
2112     {
2113         "id": "dfa3d386.e26368",
2114         "type": "for",
2115         "name": "for vnf parameters data",
2116         "xml": "<for index='l' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
2117         "comments": "",
2118         "outputs": 1,
2119         "x": 1714.3095092773438,
2120         "y": 6539.584487915039,
2121         "z": "352ca92a.868d0e",
2122         "wires": [
2123             [
2124                 "f3d23ebf.0d11b"
2125             ]
2126         ]
2127     },
2128     {
2129         "id": "f3d23ebf.0d11b",
2130         "type": "execute",
2131         "name": "slistringUtils - check value for $",
2132         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains'  emitsOutcome='true' >\n    <parameter name=\"source\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].value`\" />\n    <parameter name=\"target\" value=\"$\"/>\n  \n",
2133         "comments": "",
2134         "outputs": 1,
2135         "x": 2020.3095092773438,
2136         "y": 6537.584487915039,
2137         "z": "352ca92a.868d0e",
2138         "wires": [
2139             [
2140                 "4788805e.3ba1d8"
2141             ]
2142         ]
2143     },
2144     {
2145         "id": "4788805e.3ba1d8",
2146         "type": "failure",
2147         "name": "false",
2148         "xml": "<outcome value='false'>\n",
2149         "comments": "",
2150         "outputs": 1,
2151         "x": 2258.3095092773438,
2152         "y": 6537.584487915039,
2153         "z": "352ca92a.868d0e",
2154         "wires": [
2155             [
2156                 "33994871.8869b8"
2157             ]
2158         ]
2159     },
2160     {
2161         "id": "33994871.8869b8",
2162         "type": "block",
2163         "name": "block",
2164         "xml": "<block>\n",
2165         "atomic": "false",
2166         "comments": "",
2167         "outputs": 1,
2168         "x": 2420.3095092773438,
2169         "y": 6531.584487915039,
2170         "z": "352ca92a.868d0e",
2171         "wires": [
2172             [
2173                 "b85bda2d.9d095",
2174                 "bd0032a6.185cd8"
2175             ]
2176         ]
2177     },
2178     {
2179         "id": "b85bda2d.9d095",
2180         "type": "set",
2181         "name": "set capability name",
2182         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].resource-resolution-data.capability-name`' value='INPUT' />\n",
2183         "comments": "",
2184         "x": 2644.3095092773438,
2185         "y": 6497.584487915039,
2186         "z": "352ca92a.868d0e",
2187         "wires": []
2188     },
2189     {
2190         "id": "bd0032a6.185cd8",
2191         "type": "set",
2192         "name": "set status SUCCESS",
2193         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$l].resource-resolution-data.status`' value='SUCCESS' />\n\t",
2194         "comments": "",
2195         "x": 2632.3095092773438,
2196         "y": 6597.584487915039,
2197         "z": "352ca92a.868d0e",
2198         "wires": []
2199     },
2200     {
2201         "id": "5d27e69c.99355",
2202         "type": "for",
2203         "name": "for vnf-parameters data",
2204         "xml": "<for index='cn' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
2205         "comments": "",
2206         "outputs": 1,
2207         "x": 1702.3095092773438,
2208         "y": 5997.584487915039,
2209         "z": "352ca92a.868d0e",
2210         "wires": [
2211             [
2212                 "d4c9fe83.84aac8"
2213             ]
2214         ]
2215     },
2216     {
2217         "id": "d4c9fe83.84aac8",
2218         "type": "switchNode",
2219         "name": "switch param[] name",
2220         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].name == 'vnfc-name'`\">\n",
2221         "comments": "",
2222         "outputs": 1,
2223         "x": 1955.8095092773438,
2224         "y": 5998.584854125977,
2225         "z": "352ca92a.868d0e",
2226         "wires": [
2227             [
2228                 "c85b8b2c.2fc05"
2229             ]
2230         ]
2231     },
2232     {
2233         "id": "c85b8b2c.2fc05",
2234         "type": "success",
2235         "name": "true",
2236         "xml": "<outcome value='true'>\n",
2237         "comments": "",
2238         "outputs": 1,
2239         "x": 2148.8095092773438,
2240         "y": 5999.084732055664,
2241         "z": "352ca92a.868d0e",
2242         "wires": [
2243             [
2244                 "1dc11508.39f67b"
2245             ]
2246         ]
2247     },
2248     {
2249         "id": "1dc11508.39f67b",
2250         "type": "for",
2251         "name": "for j in resource key",
2252         "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",
2253         "comments": "",
2254         "outputs": 1,
2255         "x": 1796.0238647460938,
2256         "y": 6107.870666503906,
2257         "z": "352ca92a.868d0e",
2258         "wires": [
2259             [
2260                 "fdb568af.3349a8"
2261             ]
2262         ]
2263     },
2264     {
2265         "id": "fdb568af.3349a8",
2266         "type": "block",
2267         "name": "block",
2268         "xml": "<block>\n",
2269         "atomic": "false",
2270         "comments": "",
2271         "outputs": 1,
2272         "x": 2066.5953369140625,
2273         "y": 6109.584655761719,
2274         "z": "352ca92a.868d0e",
2275         "wires": [
2276             [
2277                 "c7c8f5c5.e7ace8",
2278                 "5b56627b.8b263c",
2279                 "8553a1d9.e2d5a8",
2280                 "e7c811b5.eee95",
2281                 "52a023ea.e09d54",
2282                 "bf45f76d.ed3c68",
2283                 "ea657b65.61ab28"
2284             ]
2285         ]
2286     },
2287     {
2288         "id": "5b56627b.8b263c",
2289         "type": "switchNode",
2290         "name": "switch model-invariant-uuid",
2291         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'model-invariant-uuid'`\">\n\n",
2292         "comments": "",
2293         "outputs": 1,
2294         "x": 2500.3095092773438,
2295         "y": 5985.584487915039,
2296         "z": "352ca92a.868d0e",
2297         "wires": [
2298             [
2299                 "a1c68f19.01d038"
2300             ]
2301         ]
2302     },
2303     {
2304         "id": "8553a1d9.e2d5a8",
2305         "type": "switchNode",
2306         "name": "switch model-customization-uuid",
2307         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'model-customization-uuid'`\">\n\n",
2308         "comments": "",
2309         "outputs": 1,
2310         "x": 2468.3095092773438,
2311         "y": 6043.584487915039,
2312         "z": "352ca92a.868d0e",
2313         "wires": [
2314             [
2315                 "62bb6ad6.a53de4"
2316             ]
2317         ]
2318     },
2319     {
2320         "id": "e7c811b5.eee95",
2321         "type": "switchNode",
2322         "name": "switch model-uuid",
2323         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'model-uuid'`\">\n\n",
2324         "comments": "",
2325         "outputs": 1,
2326         "x": 2466.3095092773438,
2327         "y": 6105.584487915039,
2328         "z": "352ca92a.868d0e",
2329         "wires": [
2330             [
2331                 "3d8cad4d.93e9ea"
2332             ]
2333         ]
2334     },
2335     {
2336         "id": "52a023ea.e09d54",
2337         "type": "switchNode",
2338         "name": "switch model-version",
2339         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'model-version'`\">\n",
2340         "comments": "",
2341         "outputs": 1,
2342         "x": 2474.3095092773438,
2343         "y": 6167.584487915039,
2344         "z": "352ca92a.868d0e",
2345         "wires": [
2346             [
2347                 "82c20f3a.6eaf3"
2348             ]
2349         ]
2350     },
2351     {
2352         "id": "c7c8f5c5.e7ace8",
2353         "type": "switchNode",
2354         "name": "switch vm-type",
2355         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'vm-type'`\">\n\n",
2356         "comments": "",
2357         "outputs": 1,
2358         "x": 2490.3095092773438,
2359         "y": 5913.584487915039,
2360         "z": "352ca92a.868d0e",
2361         "wires": [
2362             [
2363                 "6f52d21a.388114"
2364             ]
2365         ]
2366     },
2367     {
2368         "id": "6f52d21a.388114",
2369         "type": "success",
2370         "name": "true",
2371         "xml": "<outcome value='true'>\n",
2372         "comments": "",
2373         "outputs": 1,
2374         "x": 2694.3095092773438,
2375         "y": 5909.584487915039,
2376         "z": "352ca92a.868d0e",
2377         "wires": [
2378             [
2379                 "9fa0d09b.7817b"
2380             ]
2381         ]
2382     },
2383     {
2384         "id": "a1c68f19.01d038",
2385         "type": "success",
2386         "name": "true",
2387         "xml": "<outcome value='true'>\n",
2388         "comments": "",
2389         "outputs": 1,
2390         "x": 2694.3095092773438,
2391         "y": 5983.834487915039,
2392         "z": "352ca92a.868d0e",
2393         "wires": [
2394             [
2395                 "437a342d.168b3c"
2396             ]
2397         ]
2398     },
2399     {
2400         "id": "62bb6ad6.a53de4",
2401         "type": "success",
2402         "name": "true",
2403         "xml": "<outcome value='true'>\n",
2404         "comments": "",
2405         "outputs": 1,
2406         "x": 2700.3095092773438,
2407         "y": 6039.584487915039,
2408         "z": "352ca92a.868d0e",
2409         "wires": [
2410             [
2411                 "50785314.d70f24"
2412             ]
2413         ]
2414     },
2415     {
2416         "id": "3d8cad4d.93e9ea",
2417         "type": "success",
2418         "name": "true",
2419         "xml": "<outcome value='true'>\n",
2420         "comments": "",
2421         "outputs": 1,
2422         "x": 2704.3095092773438,
2423         "y": 6097.584487915039,
2424         "z": "352ca92a.868d0e",
2425         "wires": [
2426             [
2427                 "5705e23b.a1cf84"
2428             ]
2429         ]
2430     },
2431     {
2432         "id": "82c20f3a.6eaf3",
2433         "type": "success",
2434         "name": "true",
2435         "xml": "<outcome value='true'>\n",
2436         "comments": "",
2437         "outputs": 1,
2438         "x": 2710.3095092773438,
2439         "y": 6163.584487915039,
2440         "z": "352ca92a.868d0e",
2441         "wires": [
2442             [
2443                 "90e5277b.fe7688"
2444             ]
2445         ]
2446     },
2447     {
2448         "id": "9fa0d09b.7817b",
2449         "type": "set",
2450         "name": "set vm-type",
2451         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].vm-type`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
2452         "comments": "",
2453         "x": 2858.3095092773438,
2454         "y": 5911.584487915039,
2455         "z": "352ca92a.868d0e",
2456         "wires": []
2457     },
2458     {
2459         "id": "437a342d.168b3c",
2460         "type": "set",
2461         "name": "set model-invariant-uuid",
2462         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].onap-model-information.model-invariant-uuid`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
2463         "comments": "",
2464         "x": 2904.3095092773438,
2465         "y": 5977.584487915039,
2466         "z": "352ca92a.868d0e",
2467         "wires": []
2468     },
2469     {
2470         "id": "50785314.d70f24",
2471         "type": "set",
2472         "name": "set model-customization-uuid",
2473         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].onap-model-information.model-customization-uuid`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
2474         "comments": "",
2475         "x": 2948.3095092773438,
2476         "y": 6041.584487915039,
2477         "z": "352ca92a.868d0e",
2478         "wires": []
2479     },
2480     {
2481         "id": "5705e23b.a1cf84",
2482         "type": "set",
2483         "name": "set model-uuid",
2484         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].onap-model-information.model-uuid`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
2485         "comments": "",
2486         "x": 2924.3095092773438,
2487         "y": 6095.584487915039,
2488         "z": "352ca92a.868d0e",
2489         "wires": []
2490     },
2491     {
2492         "id": "90e5277b.fe7688",
2493         "type": "set",
2494         "name": "set model-version",
2495         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].onap-model-information.model-version`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[j].value`' />\n",
2496         "comments": "",
2497         "x": 2870.3095092773438,
2498         "y": 6161.584487915039,
2499         "z": "352ca92a.868d0e",
2500         "wires": []
2501     },
2502     {
2503         "id": "3eb0fb20.3c8784",
2504         "type": "set",
2505         "name": "set model-name",
2506         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].onap-model-information.model-name`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
2507         "comments": "",
2508         "x": 2876.3095092773438,
2509         "y": 6217.584487915039,
2510         "z": "352ca92a.868d0e",
2511         "wires": []
2512     },
2513     {
2514         "id": "7aa119bc.c8649",
2515         "type": "set",
2516         "name": "set  vnfc-name",
2517         "xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-assignments.vms.vm[0].vm-names.vnfc-names[0].vnfc-name`' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].value`' />\n",
2518         "comments": "",
2519         "x": 2894.3095092773438,
2520         "y": 6273.584487915039,
2521         "z": "352ca92a.868d0e",
2522         "wires": []
2523     },
2524     {
2525         "id": "bf45f76d.ed3c68",
2526         "type": "switchNode",
2527         "name": "switch model-name",
2528         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'model-name'`\">\n",
2529         "comments": "",
2530         "outputs": 1,
2531         "x": 2474.3095092773438,
2532         "y": 6219.584487915039,
2533         "z": "352ca92a.868d0e",
2534         "wires": [
2535             [
2536                 "543b01b7.f299f8"
2537             ]
2538         ]
2539     },
2540     {
2541         "id": "ea657b65.61ab28",
2542         "type": "switchNode",
2543         "name": "switch vnfc-name",
2544         "xml": "<switch test=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$cn].resource-resolution-data.resource-key[$j].name == 'vnfc-name'`\">\n",
2545         "comments": "",
2546         "outputs": 1,
2547         "x": 2472.3095092773438,
2548         "y": 6273.584487915039,
2549         "z": "352ca92a.868d0e",
2550         "wires": [
2551             [
2552                 "bdbf1963.90f8d"
2553             ]
2554         ]
2555     },
2556     {
2557         "id": "543b01b7.f299f8",
2558         "type": "success",
2559         "name": "true",
2560         "xml": "<outcome value='true'>\n",
2561         "comments": "",
2562         "outputs": 1,
2563         "x": 2708.3095092773438,
2564         "y": 6217.584487915038,
2565         "z": "352ca92a.868d0e",
2566         "wires": [
2567             [
2568                 "3eb0fb20.3c8784"
2569             ]
2570         ]
2571     },
2572     {
2573         "id": "bdbf1963.90f8d",
2574         "type": "success",
2575         "name": "true",
2576         "xml": "<outcome value='true'>\n",
2577         "comments": "",
2578         "outputs": 1,
2579         "x": 2702.3095092773438,
2580         "y": 6271.584487915038,
2581         "z": "352ca92a.868d0e",
2582         "wires": [
2583             [
2584                 "7aa119bc.c8649"
2585             ]
2586         ]
2587     },
2588     {
2589         "id": "3c8588b.9d7d378",
2590         "type": "for",
2591         "name": "for vnf-parameters-data",
2592         "xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`' >\n",
2593         "comments": "",
2594         "outputs": 1,
2595         "x": 1242.8571166992188,
2596         "y": 5375.571670532227,
2597         "z": "352ca92a.868d0e",
2598         "wires": [
2599             [
2600                 "7a0efead.43ce28"
2601             ]
2602         ]
2603     },
2604     {
2605         "id": "7a0efead.43ce28",
2606         "type": "switchNode",
2607         "name": "switch capability-name",
2608         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$i].resource-resolution-data.capability-name == $ss.capability-name`'>\n",
2609         "comments": "",
2610         "outputs": 1,
2611         "x": 1522.8571166992188,
2612         "y": 5375.571670532227,
2613         "z": "352ca92a.868d0e",
2614         "wires": [
2615             [
2616                 "31adf68d.f27ac2"
2617             ]
2618         ]
2619     },
2620     {
2621         "id": "31adf68d.f27ac2",
2622         "type": "not-found",
2623         "name": "true",
2624         "xml": "<outcome value='true'>\n",
2625         "comments": "",
2626         "outputs": 1,
2627         "x": 1731.8572387695312,
2628         "y": 5375.571670532227,
2629         "z": "352ca92a.868d0e",
2630         "wires": [
2631             [
2632                 "e20ed5c.32f5da8"
2633             ]
2634         ]
2635     },
2636     {
2637         "id": "1d187540.6f1cc3",
2638         "type": "block",
2639         "name": "block : atomic",
2640         "xml": "<block atomic='true'>",
2641         "atomic": "true",
2642         "comments": "",
2643         "outputs": 1,
2644         "x": 817.1071166992188,
2645         "y": 1718.5714263916016,
2646         "z": "352ca92a.868d0e",
2647         "wires": [
2648             [
2649                 "28134cd4.8102bc",
2650                 "b3cbf23b.ff3db8",
2651                 "39c643cc.a6f784"
2652             ]
2653         ]
2654     },
2655     {
2656         "id": "b3cbf23b.ff3db8",
2657         "type": "set",
2658         "name": "set payload data",
2659         "xml": "<set>\n\t<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />\n\t<parameter name='tmp.gen-name_length' value='0' />",
2660         "comments": "",
2661         "x": 1024.8571166992188,
2662         "y": 1719.5714263916016,
2663         "z": "352ca92a.868d0e",
2664         "wires": []
2665     },
2666     {
2667         "id": "39c643cc.a6f784",
2668         "type": "switchNode",
2669         "name": "switch tmp.naming-data-payload is null",
2670         "xml": "<switch test=\"`$tmp.naming-data-payload == ''`\">\n",
2671         "comments": "",
2672         "outputs": 1,
2673         "x": 1072.8571166992188,
2674         "y": 1998.5714263916016,
2675         "z": "352ca92a.868d0e",
2676         "wires": [
2677             [
2678                 "6afda891.090ee8"
2679             ]
2680         ]
2681     },
2682     {
2683         "id": "6afda891.090ee8",
2684         "type": "not-found",
2685         "name": "false",
2686         "xml": "<outcome value='false'>\n",
2687         "comments": "",
2688         "outputs": 1,
2689         "x": 1309.8571166992188,
2690         "y": 1999.5714263916016,
2691         "z": "352ca92a.868d0e",
2692         "wires": [
2693             [
2694                 "5dc815b0.cc07ec"
2695             ]
2696         ]
2697     },
2698     {
2699         "id": "5dc815b0.cc07ec",
2700         "type": "block",
2701         "name": "block : atomic",
2702         "xml": "<block atomic='true'>",
2703         "atomic": "true",
2704         "comments": "",
2705         "outputs": 1,
2706         "x": 1347.8571166992188,
2707         "y": 2057.5714263916016,
2708         "z": "352ca92a.868d0e",
2709         "wires": [
2710             [
2711                 "bb4a1d93.3a86c",
2712                 "e19d4005.611528",
2713                 "71c717dc.1a41b",
2714                 "14a8a060.42cee8",
2715                 "cd259e38.191b18",
2716                 "1441b20e.14024e",
2717                 "70bd05a3.857634",
2718                 "a1fb5091.45b8b8"
2719             ]
2720         ]
2721     },
2722     {
2723         "id": "9cfc91ea.726d38",
2724         "type": "block",
2725         "name": "block : atomic",
2726         "xml": "<block atomic='true'>",
2727         "atomic": "true",
2728         "comments": "",
2729         "outputs": 1,
2730         "x": 993.8571166992188,
2731         "y": 5308.571426391602,
2732         "z": "352ca92a.868d0e",
2733         "wires": [
2734             [
2735                 "19501c77.860e0c",
2736                 "3c8588b.9d7d378",
2737                 "77587c38.f5170c"
2738             ]
2739         ]
2740     },
2741     {
2742         "id": "19501c77.860e0c",
2743         "type": "set",
2744         "name": "set set payload data",
2745         "xml": "<set>\n\t<parameter name='tmp.naming-data-payload' value='{&quot;elements&quot;:[' />\n\t<parameter name='tmp.gen-name_length' value='0' />",
2746         "comments": "",
2747         "x": 1230.8571166992188,
2748         "y": 5307.571426391602,
2749         "z": "352ca92a.868d0e",
2750         "wires": []
2751     },
2752     {
2753         "id": "77587c38.f5170c",
2754         "type": "switchNode",
2755         "name": "switch tmp.naming-data-payload is null",
2756         "xml": "<switch test=\"`$tmp.naming-data-payload == ''`\">\n",
2757         "comments": "",
2758         "outputs": 1,
2759         "x": 1273.1071472167969,
2760         "y": 5498.071548461914,
2761         "z": "352ca92a.868d0e",
2762         "wires": [
2763             [
2764                 "212b3074.a654f"
2765             ]
2766         ]
2767     },
2768     {
2769         "id": "212b3074.a654f",
2770         "type": "not-found",
2771         "name": "false",
2772         "xml": "<outcome value='false'>\n",
2773         "comments": "",
2774         "outputs": 1,
2775         "x": 1506.857177734375,
2776         "y": 5497.821304321289,
2777         "z": "352ca92a.868d0e",
2778         "wires": [
2779             [
2780                 "4671f4c1.916ba4"
2781             ]
2782         ]
2783     },
2784     {
2785         "id": "4671f4c1.916ba4",
2786         "type": "block",
2787         "name": "block : atomic",
2788         "xml": "<block atomic='true'>",
2789         "atomic": "true",
2790         "comments": "",
2791         "outputs": 1,
2792         "x": 1494.607177734375,
2793         "y": 5575.071670532227,
2794         "z": "352ca92a.868d0e",
2795         "wires": [
2796             [
2797                 "9191c58b.b355c8",
2798                 "920d5892.fd6d68",
2799                 "f18ac492.ee4eb",
2800                 "b37ecff9.03eaa8",
2801                 "5e93d51f.0cdb84",
2802                 "5d27e69c.99355",
2803                 "f5c7340.140185",
2804                 "dfa3d386.e26368",
2805                 "f6148def.164458"
2806             ]
2807         ]
2808     },
2809     {
2810         "id": "5c83d412.2769f4",
2811         "type": "execute",
2812         "name": "execute readProperties",
2813         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",
2814         "comments": "",
2815         "outputs": 1,
2816         "x": 359,
2817         "y": 177,
2818         "z": "352ca92a.868d0e",
2819         "wires": [
2820             []
2821         ]
2822     },
2823     {
2824         "id": "f6148def.164458",
2825         "type": "execute",
2826         "name": "execute RestApiCallNode - POST gen-name",
2827         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >    \n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />\n    <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />\n    <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='POST' />\n    <parameter name=\"responsePrefix\" value=\"nameGenResponse\" />\n\n\n",
2828         "comments": "",
2829         "outputs": 1,
2830         "x": 1755,
2831         "y": 5788,
2832         "z": "352ca92a.868d0e",
2833         "wires": [
2834             [
2835                 "965c8b30.02d398",
2836                 "1877c29b.11c2e5"
2837             ]
2838         ]
2839     },
2840     {
2841         "id": "a1fb5091.45b8b8",
2842         "type": "execute",
2843         "name": "execute RestApiCallNode - POST gen-name",
2844         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >    \n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />\n    <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />\n    <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='POST' />\n    <parameter name=\"responsePrefix\" value=\"nameGenResponse\" />\n\n\n",
2845         "comments": "",
2846         "outputs": 1,
2847         "x": 1658,
2848         "y": 2230,
2849         "z": "352ca92a.868d0e",
2850         "wires": [
2851             [
2852                 "cfb313ac.f6ff68",
2853                 "48fa407a.74cf2"
2854             ]
2855         ]
2856     },
2857     {
2858         "id": "b562a092.868848",
2859         "type": "execute",
2860         "name": "execute RestApiCallNode - DELETE gen-name",
2861         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >    \n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />\n    <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />\n    <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='DELETE' />\n    <parameter name=\"responsePrefix\" value=\"nameGenResponse\" />\n\n\n",
2862         "comments": "",
2863         "outputs": 1,
2864         "x": 1875,
2865         "y": 4195,
2866         "z": "352ca92a.868d0e",
2867         "wires": [
2868             [
2869                 "3783fc44.dd5b6c",
2870                 "73945c44.2de044"
2871             ]
2872         ]
2873     },
2874     {
2875         "id": "cc68ecc2.dbb0c8",
2876         "type": "execute",
2877         "name": "execute RestApiCallNode - DELETE gen-name",
2878         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >    \n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.naming.gen-name.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.naming.gen-name.url + $prop.restapi.naming.gen-name.service`' />\n    <parameter name='restapiUser' value='`$prop.naming.gen-name.user`' />\n    <parameter name='restapiPassword' value='`$prop.naming.gen-name.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='DELETE' />\n    <parameter name=\"responsePrefix\" value=\"nameGenResponse\" />\n\n\n",
2879         "comments": "",
2880         "outputs": 1,
2881         "x": 1768,
2882         "y": 980,
2883         "z": "352ca92a.868d0e",
2884         "wires": [
2885             [
2886                 "e1ab56a7.feeeb",
2887                 "7a8d9826.51e62"
2888             ]
2889         ]
2890     },
2891     {
2892         "id": "5e135e40.b1de4",
2893         "type": "comment",
2894         "name": "For Generate Name DG Capability ",
2895         "info": "Support Bulk assign and single delete\nAlso calls Naming gen mS for assign/un-assign\n\nAdded by Ajay Singh(as396y)",
2896         "comments": "",
2897         "x": 822,
2898         "y": 107,
2899         "z": "352ca92a.868d0e",
2900         "wires": []
2901     }
2902 ]