Add DG for self serve ip assign/unassign (netbox)
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_self-serve-vf-module-assign.json
1 [
2   {
3     "id": "3560e515.54c98a",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 92.5,
8     "y": 37.5,
9     "z": "a1447ddc.1baaf",
10     "wires": [
11       [
12         "70c13e37.da2a2"
13       ]
14     ]
15   },
16   {
17     "id": "403234e5.5ff69c",
18     "type": "block",
19     "name": "block : atomic",
20     "xml": "<block atomic='true'>",
21     "atomic": "true",
22     "comments": "",
23     "outputs": 1,
24     "x": 128.69049072265625,
25     "y": 152.34921646118164,
26     "z": "a1447ddc.1baaf",
27     "wires": [
28       [
29         "6175d91c.80a228",
30         "22313775.627058",
31         "4ac1cccf.0fbdf4",
32         "5f632565.5703cc",
33         "48c02c45.2af764",
34         "1debefb9.6eb29",
35         "1b7280ea.37dc5f",
36         "b1c04da3.0bbee",
37         "61714731.eb3998"
38       ]
39     ]
40   },
41   {
42     "id": "b6f03bb7.965918",
43     "type": "method",
44     "name": "method self-serve-vf-module-assign",
45     "xml": "<method rpc='self-serve-vf-module-assign' mode='sync'>\n",
46     "comments": "",
47     "outputs": 1,
48     "x": 209.26190948486328,
49     "y": 92.20635509490967,
50     "z": "a1447ddc.1baaf",
51     "wires": [
52       [
53         "403234e5.5ff69c"
54       ]
55     ]
56   },
57   {
58     "id": "70c13e37.da2a2",
59     "type": "service-logic",
60     "name": "GENERIC-RESOURCE-API ${project.version}",
61     "module": "GENERIC-RESOURCE-API",
62     "version": "${project.version}",
63     "comments": "",
64     "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
65     "outputs": 1,
66     "x": 367.73819732666016,
67     "y": 37.69049263000488,
68     "z": "a1447ddc.1baaf",
69     "wires": [
70       [
71         "b6f03bb7.965918"
72       ]
73     ]
74   },
75   {
76     "id": "22313775.627058",
77     "type": "switchNode",
78     "name": "switch vf-module-parameters.param_length",
79     "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_length`'>\n",
80     "comments": "",
81     "outputs": 1,
82     "x": 443.7500305175781,
83     "y": 1354.8691635131836,
84     "z": "a1447ddc.1baaf",
85     "wires": [
86       [
87         "f52f2d81.7f35b"
88       ]
89     ]
90   },
91   {
92     "id": "f52f2d81.7f35b",
93     "type": "other",
94     "name": "NULL",
95     "xml": "<outcome value=''>\n",
96     "comments": "",
97     "outputs": 1,
98     "x": 703.7500610351562,
99     "y": 1354.8691635131836,
100     "z": "a1447ddc.1baaf",
101     "wires": [
102       [
103         "9eaaad06.c49f4"
104       ]
105     ]
106   },
107   {
108     "id": "a2c86795.41e7b8",
109     "type": "call",
110     "name": "call GENERIC-RESOURCE-API:self-serve-vfmodule-ra-assignment",
111     "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vfmodule-ra-assignment' mode='sync' >\n",
112     "comments": "",
113     "outputs": 1,
114     "x": 1245.4643096923828,
115     "y": 1402.1549139022827,
116     "z": "a1447ddc.1baaf",
117     "wires": [
118       [
119         "23b5a1bc.c2aeae"
120       ]
121     ]
122   },
123   {
124     "id": "a1932a98.076d38",
125     "type": "returnFailure",
126     "name": "return failure",
127     "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Failed to get RA assignments: ' + $error-message`\" />\n",
128     "comments": "",
129     "x": 1726.1785507202148,
130     "y": 1401.7263174057007,
131     "z": "a1447ddc.1baaf",
132     "wires": []
133   },
134   {
135     "id": "7932bb94.260364",
136     "type": "for",
137     "name": "foreach vf-module-parameters.param[]",
138     "xml": "<for index='pidx' 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",
139     "comments": "",
140     "outputs": 1,
141     "x": 717.6073913574219,
142     "y": 1780.7620267868042,
143     "z": "a1447ddc.1baaf",
144     "wires": [
145       [
146         "c92ff5c8.4909a8",
147         "8cf53757.b98dc8"
148       ]
149     ]
150   },
151   {
152     "id": "6175d91c.80a228",
153     "type": "set",
154     "name": "set ss.capability.execution-order[]",
155     "xml": "<set>\n<parameter name='ss.capability.execution-order[0]' value='generate-name' />\n<parameter name='ss.capability.execution-order[1]' value='alts-entitlement-assign' />\n<parameter name='ss.capability.execution-order[2]' value='alts-license-assign' />\n<parameter name='ss.capability.execution-order[3]' value='vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[4]' value='eipam-ip-assign' />\n<parameter name='ss.capability.execution-order[5]' value='netbox-ip-assign' />\n<parameter name='ss.capability.execution-order[6]' value='eipam-create-pool\"' />\n<parameter name='ss.capability.execution-order[7]' value='mac-address-assign' />\n<parameter name='ss.capability.execution-order[8]' value='create-vpe-pool' />\n<parameter name='ss.capability.execution-order[9]' value='unresolved-composite-data' />\n<parameter name='ss.capability.execution-order_length' value='10' />\n",
156     "comments": "",
157     "x": 415.91666412353516,
158     "y": 1216.9286432266235,
159     "z": "a1447ddc.1baaf",
160     "wires": []
161   },
162   {
163     "id": "4ac1cccf.0fbdf4",
164     "type": "for",
165     "name": "foreach capability-order[]",
166     "xml": "<for index='cidx' start='0' end='`$ss.capability.execution-order_length`' >\n",
167     "comments": "",
168     "outputs": 1,
169     "x": 384.6786193847656,
170     "y": 1520.8690433502197,
171     "z": "a1447ddc.1baaf",
172     "wires": [
173       [
174         "c84bbb7a.0d8378",
175         "b065b955.288328",
176         "761ccae1.c8c314",
177         "7932bb94.260364"
178       ]
179     ]
180   },
181   {
182     "id": "c92ff5c8.4909a8",
183     "type": "switchNode",
184     "name": "switch capability-name param vs. execution",
185     "xml": "<switch test='`$ss.capability-name == $tmp.param.capability-name`'>\n",
186     "comments": "",
187     "outputs": 1,
188     "x": 1084.0002136230469,
189     "y": 1826.4048194885254,
190     "z": "a1447ddc.1baaf",
191     "wires": [
192       [
193         "95873838.1ada78"
194       ]
195     ]
196   },
197   {
198     "id": "95873838.1ada78",
199     "type": "outcomeTrue",
200     "name": "true",
201     "xml": "<outcome value='true'>\n",
202     "comments": "",
203     "outputs": 1,
204     "x": 1347.5002136230469,
205     "y": 1826.6548194885254,
206     "z": "a1447ddc.1baaf",
207     "wires": [
208       [
209         "125e2acd.452975"
210       ]
211     ]
212   },
213   {
214     "id": "23b5a1bc.c2aeae",
215     "type": "failure",
216     "name": "failure",
217     "xml": "<outcome value='failure'>\n",
218     "comments": "",
219     "outputs": 1,
220     "x": 1572.0356559753418,
221     "y": 1401.5835075378418,
222     "z": "a1447ddc.1baaf",
223     "wires": [
224       [
225         "a1932a98.076d38"
226       ]
227     ]
228   },
229   {
230     "id": "c84bbb7a.0d8378",
231     "type": "set",
232     "name": "set ss.capability-name",
233     "xml": "<set>\n<parameter name='ss.capability-name' value='`$ss.capability.execution-order[$cidx]`' />\n\n<!--\nss.capability.execution-order\n-->",
234     "comments": "",
235     "x": 676.0356750488281,
236     "y": 1520.8214950561523,
237     "z": "a1447ddc.1baaf",
238     "wires": []
239   },
240   {
241     "id": "8cf53757.b98dc8",
242     "type": "set",
243     "name": "tmp.param.capability-name",
244     "xml": "<set>\n<parameter name='tmp.param.capability-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[$pidx].resource-resolution-data.capability-name`' />\n",
245     "comments": "",
246     "x": 1033.3572387695312,
247     "y": 1781.0120296478271,
248     "z": "a1447ddc.1baaf",
249     "wires": []
250   },
251   {
252     "id": "761ccae1.c8c314",
253     "type": "set",
254     "name": "set ss.capability.action = assign",
255     "xml": "<set>\n<parameter name='ss.capability-action' value='assign' />\n",
256     "comments": "",
257     "x": 706.7498168945312,
258     "y": 1567.738079071045,
259     "z": "a1447ddc.1baaf",
260     "wires": []
261   },
262   {
263     "id": "7a2cad24.827b84",
264     "type": "set",
265     "name": "set capability-dg with 'self-serve-' + capability-name",
266     "xml": "<set>\n<parameter name='ss.capability-dg' value=\"`'self-serve-' + $ss.capability.execution-order[$cidx]`\" />\n",
267     "comments": "",
268     "x": 1210.5118865966797,
269     "y": 1714.9643115997314,
270     "z": "a1447ddc.1baaf",
271     "wires": []
272   },
273   {
274     "id": "b065b955.288328",
275     "type": "switchNode",
276     "name": "switch ss.capability-name",
277     "xml": "<switch test='`$ss.capability-name`'>\n",
278     "comments": "",
279     "outputs": 1,
280     "x": 690.0118865966797,
281     "y": 1616.714319229126,
282     "z": "a1447ddc.1baaf",
283     "wires": [
284       [
285         "d589a10f.56259",
286         "d6f310d8.7ba42",
287         "b20bfee0.7f91"
288       ]
289     ]
290   },
291   {
292     "id": "d589a10f.56259",
293     "type": "other",
294     "name": "alts-entitlement-assign",
295     "xml": "<outcome value='alts-entitlement-assign'>\n",
296     "comments": "",
297     "outputs": 1,
298     "x": 972.7620086669922,
299     "y": 1617.2143115997314,
300     "z": "a1447ddc.1baaf",
301     "wires": [
302       [
303         "f3917c17.f9b9d"
304       ]
305     ]
306   },
307   {
308     "id": "d6f310d8.7ba42",
309     "type": "other",
310     "name": "alts-license-assign",
311     "xml": "<outcome value='alts-license-assign'>\n",
312     "comments": "",
313     "outputs": 1,
314     "x": 962.0120086669922,
315     "y": 1664.9643115997314,
316     "z": "a1447ddc.1baaf",
317     "wires": [
318       [
319         "f3917c17.f9b9d"
320       ]
321     ]
322   },
323   {
324     "id": "b20bfee0.7f91",
325     "type": "other",
326     "name": "other",
327     "xml": "<outcome value='Other'>\n",
328     "comments": "",
329     "outputs": 1,
330     "x": 926.0119705200195,
331     "y": 1715.2143020629883,
332     "z": "a1447ddc.1baaf",
333     "wires": [
334       [
335         "7a2cad24.827b84"
336       ]
337     ]
338   },
339   {
340     "id": "f3917c17.f9b9d",
341     "type": "set",
342     "name": "set capability-dg to self-serve-alts-assignment",
343     "xml": "<set>\n<parameter name='ss.capability-dg' value='self-serve-alts-assignment' />\n",
344     "comments": "",
345     "x": 1311.5118865966797,
346     "y": 1616.7143115997314,
347     "z": "a1447ddc.1baaf",
348     "wires": []
349   },
350   {
351     "id": "208a43c2.0e1adc",
352     "type": "set",
353     "name": "set sdnc-generated-cloud-resources = true",
354     "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.sdnc-generated-cloud-resources' \n\tvalue='true' />\n",
355     "comments": "",
356     "x": 1037.452392578125,
357     "y": 1103.3573188781738,
358     "z": "a1447ddc.1baaf",
359     "wires": []
360   },
361   {
362     "id": "125e2acd.452975",
363     "type": "switchNode",
364     "name": "switch resource-resolution-data.status",
365     "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[$pidx].resource-resolution-data.status`'>\n",
366     "comments": "",
367     "outputs": 1,
368     "x": 475.0121765136719,
369     "y": 2239.4723148345947,
370     "z": "a1447ddc.1baaf",
371     "wires": [
372       [
373         "5afbede0.2e5544",
374         "30979fb2.cc18a",
375         "bb92d52.d88da28"
376       ]
377     ]
378   },
379   {
380     "id": "5afbede0.2e5544",
381     "type": "other",
382     "name": "PENDING",
383     "xml": "<outcome value='PENDING'>\n",
384     "comments": "",
385     "outputs": 1,
386     "x": 744.3693923950195,
387     "y": 2239.472270965576,
388     "z": "a1447ddc.1baaf",
389     "wires": [
390       [
391         "dcf4c9cf.035d78"
392       ]
393     ]
394   },
395   {
396     "id": "30979fb2.cc18a",
397     "type": "other",
398     "name": "SUCCESS",
399     "xml": "<outcome value='SUCCESS'>\n",
400     "comments": "",
401     "outputs": 1,
402     "x": 747.7978820800781,
403     "y": 2190.9365549087524,
404     "z": "a1447ddc.1baaf",
405     "wires": [
406       [
407         "12260e8d.8fd3c1"
408       ]
409     ]
410   },
411   {
412     "id": "bb92d52.d88da28",
413     "type": "other",
414     "name": "FAILED",
415     "xml": "<outcome value='FAILED'>\n",
416     "comments": "",
417     "outputs": 1,
418     "x": 737.9052085876465,
419     "y": 2290.436601638794,
420     "z": "a1447ddc.1baaf",
421     "wires": [
422       [
423         "dcf4c9cf.035d78"
424       ]
425     ]
426   },
427   {
428     "id": "dcf4c9cf.035d78",
429     "type": "call",
430     "name": "call ss.capability-dg",
431     "xml": "<call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >\n",
432     "comments": "",
433     "outputs": 1,
434     "x": 953.0239410400391,
435     "y": 2291.198452949524,
436     "z": "a1447ddc.1baaf",
437     "wires": [
438       [
439         "129c459b.19b80a",
440         "a5a5795e.0fdfd8"
441       ]
442     ]
443   },
444   {
445     "id": "3da967a9.06f7a8",
446     "type": "returnFailure",
447     "name": "return failure",
448     "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Encountered error from capability: '+ $ss.capability-dg + ', with error: '+ $error-message`\" />\n",
449     "comments": "",
450     "x": 1530.5715065002441,
451     "y": 2699.1750926971436,
452     "z": "a1447ddc.1baaf",
453     "wires": []
454   },
455   {
456     "id": "129c459b.19b80a",
457     "type": "failure",
458     "name": "failure",
459     "xml": "<outcome value='failure'>\n",
460     "comments": "",
461     "outputs": 1,
462     "x": 1148.9165229797363,
463     "y": 2345.198519706726,
464     "z": "a1447ddc.1baaf",
465     "wires": [
466       [
467         "165a93a8.65436c"
468       ]
469     ]
470   },
471   {
472     "id": "165a93a8.65436c",
473     "type": "block",
474     "name": "block : atomic",
475     "xml": "<block atomic='true'>",
476     "atomic": "true",
477     "comments": "",
478     "outputs": 1,
479     "x": 1312.1906394958496,
480     "y": 2344.5080604553223,
481     "z": "a1447ddc.1baaf",
482     "wires": [
483       [
484         "3da967a9.06f7a8",
485         "2753423d.a3875e",
486         "43819fdb.e95ef",
487         "b2d88241.cc91f",
488         "310af886.0bf138",
489         "86f5aff8.0a00c"
490       ]
491     ]
492   },
493   {
494     "id": "2753423d.a3875e",
495     "type": "execute",
496     "name": "execute RestApiCallNode - PUT vf-module",
497     "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ss.vfmodule.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vfmodule-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ss-vfmodule\" />\n\n",
498     "comments": "",
499     "outputs": 1,
500     "x": 1627.738079071045,
501     "y": 2600.882019996643,
502     "z": "a1447ddc.1baaf",
503     "wires": [
504       [
505         "abef3b2b.025c98",
506         "6985b2c8.f2f7bc",
507         "65c63d4e.d39434"
508       ]
509     ]
510   },
511   {
512     "id": "abef3b2b.025c98",
513     "type": "not-found",
514     "name": "not-found",
515     "xml": "<outcome value='not-found'>\n",
516     "comments": "",
517     "outputs": 1,
518     "x": 1902.331745147705,
519     "y": 2654.8801736831665,
520     "z": "a1447ddc.1baaf",
521     "wires": [
522       [
523         "a54a9d48.c66c8"
524       ]
525     ]
526   },
527   {
528     "id": "6985b2c8.f2f7bc",
529     "type": "failure",
530     "name": "failure",
531     "xml": "<outcome value='failure'>\n",
532     "comments": "",
533     "outputs": 1,
534     "x": 1894.7603797912598,
535     "y": 2601.380193710327,
536     "z": "a1447ddc.1baaf",
537     "wires": [
538       [
539         "a54a9d48.c66c8"
540       ]
541     ]
542   },
543   {
544     "id": "65c63d4e.d39434",
545     "type": "success",
546     "name": "success",
547     "xml": "<outcome value='success'>\n",
548     "comments": "",
549     "outputs": 1,
550     "x": 1898.5103721618652,
551     "y": 2547.7372913360596,
552     "z": "a1447ddc.1baaf",
553     "wires": [
554       [
555         "6fb122d8.ceb48c"
556       ]
557     ]
558   },
559   {
560     "id": "6fb122d8.ceb48c",
561     "type": "block",
562     "name": "block",
563     "xml": "<block>\n",
564     "atomic": "false",
565     "comments": "",
566     "outputs": 1,
567     "x": 2074.880603790283,
568     "y": 2547.6437726020813,
569     "z": "a1447ddc.1baaf",
570     "wires": [
571       []
572     ]
573   },
574   {
575     "id": "a54a9d48.c66c8",
576     "type": "block",
577     "name": "block : atomic",
578     "xml": "<block atomic=\"true\">",
579     "atomic": "true",
580     "outputs": 1,
581     "x": 2096.8927040100098,
582     "y": 2601.0244483947754,
583     "z": "a1447ddc.1baaf",
584     "wires": [
585       [
586         "4b2a8851.25ac88"
587       ]
588     ]
589   },
590   {
591     "id": "4b2a8851.25ac88",
592     "type": "configure",
593     "name": "set error-message",
594     "xml": "<set>\n<parameter name=\"error-message\" value=\"Failed to persist self-serve vf-module assignments during assign in MD-SAL\" />\n",
595     "comments": "",
596     "outputs": 1,
597     "x": 2315.1784706115723,
598     "y": 2601.167311668396,
599     "z": "a1447ddc.1baaf",
600     "wires": [
601       []
602     ]
603   },
604   {
605     "id": "1b7280ea.37dc5f",
606     "type": "execute",
607     "name": "printContext",
608     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-vf-assign.log' />\n",
609     "comments": "",
610     "outputs": 1,
611     "x": 341.54361724853516,
612     "y": 4025.90918636322,
613     "z": "a1447ddc.1baaf",
614     "wires": [
615       []
616     ]
617   },
618   {
619     "id": "5f632565.5703cc",
620     "type": "switchNode",
621     "name": "switch vf-module_length",
622     "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`'>\n",
623     "comments": "",
624     "outputs": 1,
625     "x": 381.7022895812988,
626     "y": 271.7619981765747,
627     "z": "a1447ddc.1baaf",
628     "wires": [
629       [
630         "b758ef1f.14be1",
631         "5ba4ce6.5287c3",
632         "f1296022.df39e"
633       ]
634     ]
635   },
636   {
637     "id": "b758ef1f.14be1",
638     "type": "other",
639     "name": "NULL",
640     "xml": "<outcome value=''>\n",
641     "comments": "",
642     "outputs": 1,
643     "x": 594.3332595825195,
644     "y": 201.15478897094727,
645     "z": "a1447ddc.1baaf",
646     "wires": [
647       [
648         "15568bd1.4655e4"
649       ]
650     ]
651   },
652   {
653     "id": "4f3bc7f9.cc1898",
654     "type": "set",
655     "name": "set vf-module-index=0",
656     "xml": "<set>\n<parameter name='vf-module-index' value='0' />\n",
657     "comments": "",
658     "x": 933.4522895812988,
659     "y": 212.0715742111206,
660     "z": "a1447ddc.1baaf",
661     "wires": []
662   },
663   {
664     "id": "5ba4ce6.5287c3",
665     "type": "other",
666     "name": "other",
667     "xml": "<outcome value='Other'>\n",
668     "comments": "",
669     "outputs": 1,
670     "x": 593.5118522644043,
671     "y": 339.9406490325928,
672     "z": "a1447ddc.1baaf",
673     "wires": [
674       [
675         "286a7c53.0dbc64"
676       ]
677     ]
678   },
679   {
680     "id": "dfd62a4a.a5a6a8",
681     "type": "set",
682     "name": "set vf-module-id",
683     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id'\n   value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\n",
684     "comments": "",
685     "x": 949.7379302978516,
686     "y": 494.1816177368164,
687     "z": "a1447ddc.1baaf",
688     "wires": []
689   },
690   {
691     "id": "d95df464.79fc48",
692     "type": "set",
693     "name": "set vf-module-parameters",
694     "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.'\n  value='vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.' />\n",
695     "comments": "",
696     "x": 1114.4285278320312,
697     "y": 1354.0244059562683,
698     "z": "a1447ddc.1baaf",
699     "wires": []
700   },
701   {
702     "id": "ec68163d.860598",
703     "type": "set",
704     "name": "set order-status to PendingCreate",
705     "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-level-oper-status.order-status'\n  value='PendingCreate' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-rpc-action'\n  value='`$vf-module-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.last-action'\n  value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' />\n",
706     "comments": "",
707     "x": 1010.0121002197266,
708     "y": 1056.0448169708252,
709     "z": "a1447ddc.1baaf",
710     "wires": []
711   },
712   {
713     "id": "43819fdb.e95ef",
714     "type": "set",
715     "name": "set vf data for restapi-call-node",
716     "xml": "<set>\n<parameter name='vf.vf-module-id'\n    value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`' />\n<parameter name='vf.vf-module-data.sdnc-request-header.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.`' />\n<parameter name='vf.vf-module-data.request-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.`' />\n<parameter name='vf.vf-module-data.service-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.`' />\n<parameter name='vf.vf-module-data.vnf-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.`' />\n<parameter name='vf.vf-module-data.vf-module-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.`' />\n<parameter name='vf.vf-module-data.vf-module-topology.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.`' />\n<parameter name='vf.vf-module-data.vf-module-level-oper-status.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-level-oper-status.`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.vf-module-input-parameters.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-input-parameters.`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.request-version'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.request-version`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.vf-module-name'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.vf-module-name`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.tenant'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.tenant`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.aic-cloud-region'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-cloud-region`' />\n<parameter name='vf.vf-module-data.vf-module-request-input.aic-clli'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.aic-clli`' />",
717     "comments": "",
718     "x": 1589.2501029968262,
719     "y": 2345.0000371932983,
720     "z": "a1447ddc.1baaf",
721     "wires": []
722   },
723   {
724     "id": "b2d88241.cc91f",
725     "type": "execute",
726     "name": "generate ss-vfmodule url replace service-instance-id",
727     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.ss-vfmodule-assignments`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.service-instance-id`\"/>\n",
728     "comments": "",
729     "outputs": 1,
730     "x": 1655.5000495910645,
731     "y": 2393.000082015991,
732     "z": "a1447ddc.1baaf",
733     "wires": [
734       []
735     ]
736   },
737   {
738     "id": "310af886.0bf138",
739     "type": "execute",
740     "name": "generate ss-vfmodule url - replace vnf-id",
741     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.ss-vfmodule-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n    <parameter name=\"target\" value=\"{vnf-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.vnf-id`\"/>\n",
742     "comments": "",
743     "outputs": 1,
744     "x": 1619.7857475280762,
745     "y": 2441.0589990615845,
746     "z": "a1447ddc.1baaf",
747     "wires": [
748       []
749     ]
750   },
751   {
752     "id": "86f5aff8.0a00c",
753     "type": "execute",
754     "name": "generate ss-vfmodule url - replace vf-module-id",
755     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.ss-vfmodule-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ss-vfmodule-url\"/>\n    <parameter name=\"target\" value=\"{vf-module-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`\"/>\n",
756     "comments": "",
757     "outputs": 1,
758     "x": 1641.7264213562012,
759     "y": 2490.975499153137,
760     "z": "a1447ddc.1baaf",
761     "wires": [
762       []
763     ]
764   },
765   {
766     "id": "802f4199.221d9",
767     "type": "for",
768     "name": "for i in vf-module-parameters.param[]",
769     "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",
770     "comments": "",
771     "outputs": 1,
772     "x": 1144.8215103149414,
773     "y": 3482.250153541565,
774     "z": "a1447ddc.1baaf",
775     "wires": [
776       [
777         "63bbdf3.ba3e92"
778       ]
779     ]
780   },
781   {
782     "id": "63bbdf3.ba3e92",
783     "type": "switchNode",
784     "name": "switch param[$i].name",
785     "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].name`'>\n",
786     "comments": "",
787     "outputs": 1,
788     "x": 1423.5715103149414,
789     "y": 3482.7501249313354,
790     "z": "a1447ddc.1baaf",
791     "wires": [
792       [
793         "f2c0e742.0e6348"
794       ]
795     ]
796   },
797   {
798     "id": "3d984290.7ab9be",
799     "type": "save",
800     "name": "save VNFC object",
801     "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vnfc\" \n\t\tkey=\"vnfc.vnfc-name = $tmp.ss.vnfc-name\" >\n\t<parameter name=\"nfc-function\" value=\"`$tmp.ss.nfc-function`\" />\n\t<parameter name=\"nfc-naming-code\" value=\"`$tmp.ss.nfc-naming-code`\" />\n\t<parameter name=\"orchestration-status\" value=\"pending-create\" />",
802     "comments": "",
803     "outputs": 1,
804     "x": 2346.6788787841797,
805     "y": 3712.2860794067383,
806     "z": "a1447ddc.1baaf",
807     "wires": [
808       [
809         "854ac898.930b48"
810       ]
811     ]
812   },
813   {
814     "id": "f6d62d80.b5987",
815     "type": "block",
816     "name": "block : atomic",
817     "xml": "<block atomic='true'>",
818     "atomic": "true",
819     "comments": "",
820     "outputs": 1,
821     "x": 861.6786270141602,
822     "y": 3399.071201324463,
823     "z": "a1447ddc.1baaf",
824     "wires": [
825       [
826         "802f4199.221d9",
827         "24c71d4a.b584e2",
828         "6c9147d0.5fe2f8"
829       ]
830     ]
831   },
832   {
833     "id": "854ac898.930b48",
834     "type": "failure",
835     "name": "failure",
836     "xml": "<outcome value='failure'>\n",
837     "comments": "",
838     "outputs": 1,
839     "x": 2523.4288635253906,
840     "y": 3711.78604888916,
841     "z": "a1447ddc.1baaf",
842     "wires": [
843       [
844         "69c887d6.9b5348"
845       ]
846     ]
847   },
848   {
849     "id": "f2c0e742.0e6348",
850     "type": "other",
851     "name": "vnfc-name",
852     "xml": "<outcome value='vnfc-name'>\n<!--\n<outcome value='vmxvre_name_0'>\n-->\n",
853     "comments": "",
854     "outputs": 1,
855     "x": 1628.1072387695312,
856     "y": 3483.2501068115234,
857     "z": "a1447ddc.1baaf",
858     "wires": [
859       [
860         "262e2f9.8717ed"
861       ]
862     ]
863   },
864   {
865     "id": "c5bffeb9.14b6f",
866     "type": "switchNode",
867     "name": "switch: resource-key[].name",
868     "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[$kidx].name`'>\n",
869     "comments": "",
870     "outputs": 1,
871     "x": 2094.357452392578,
872     "y": 3585.3220615386963,
873     "z": "a1447ddc.1baaf",
874     "wires": [
875       [
876         "812edad6.13e978",
877         "74178c18.aed7c4"
878       ]
879     ]
880   },
881   {
882     "id": "812edad6.13e978",
883     "type": "outcome",
884     "name": "nfc-function",
885     "xml": "<outcome value='nfc-function'>\n",
886     "comments": "",
887     "outputs": 1,
888     "x": 2324.663101196289,
889     "y": 3633.8219709396362,
890     "z": "a1447ddc.1baaf",
891     "wires": [
892       [
893         "c973f219.41108"
894       ]
895     ]
896   },
897   {
898     "id": "c973f219.41108",
899     "type": "set",
900     "name": "set tmp.ss.nfc-function",
901     "xml": "<set>\n<parameter name='tmp.ss.nfc-function' 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[$kidx].value`' />\n",
902     "comments": "",
903     "x": 2535.163101196289,
904     "y": 3633.5719709396362,
905     "z": "a1447ddc.1baaf",
906     "wires": []
907   },
908   {
909     "id": "4c5fac31.d6e484",
910     "type": "for",
911     "name": "for kidx in resource-key_length",
912     "xml": "<for index=\"kidx\" 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`\">",
913     "comments": "",
914     "outputs": 1,
915     "x": 1809.2185516357422,
916     "y": 3585.182762145996,
917     "z": "a1447ddc.1baaf",
918     "wires": [
919       [
920         "c5bffeb9.14b6f"
921       ]
922     ]
923   },
924   {
925     "id": "74178c18.aed7c4",
926     "type": "outcome",
927     "name": "nfc-naming-code",
928     "xml": "<outcome value='nfc-naming-code'>\n<!--\n<outcome value='NFC_NAMING_CODE'>\n-->\n",
929     "comments": "",
930     "outputs": 1,
931     "x": 2340.80171585083,
932     "y": 3584.8220434188843,
933     "z": "a1447ddc.1baaf",
934     "wires": [
935       [
936         "b4ec70ef.8ec99"
937       ]
938     ]
939   },
940   {
941     "id": "b4ec70ef.8ec99",
942     "type": "set",
943     "name": "set tmp.ss.nfc-naming-code",
944     "xml": "<set>\n<parameter name='tmp.ss.nfc-naming-code' 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[$kidx].value`' />\n",
945     "comments": "",
946     "x": 2579.912666320801,
947     "y": 3584.9330854415894,
948     "z": "a1447ddc.1baaf",
949     "wires": []
950   },
951   {
952     "id": "24c71d4a.b584e2",
953     "type": "set",
954     "name": "set tmp.ss.nfc-naming-code, nfc-function, vnf-name = null",
955     "xml": "<set>\n<parameter name='tmp.ss.nfc-naming-code' value='' />\n<parameter name='tmp.ss.nfc-function' value='' />\n<parameter name='tmp.ss.vnfc-name' value='' />\n",
956     "comments": "",
957     "x": 1210.0195693969727,
958     "y": 3398.9684133529663,
959     "z": "a1447ddc.1baaf",
960     "wires": []
961   },
962   {
963     "id": "a404bb90.d05e78",
964     "type": "break",
965     "name": "break",
966     "xml": "<break>\n",
967     "comments": "",
968     "x": 1926.9644317626953,
969     "y": 3528.535895347595,
970     "z": "a1447ddc.1baaf",
971     "wires": []
972   },
973   {
974     "id": "262e2f9.8717ed",
975     "type": "block",
976     "name": "block",
977     "xml": "<block>\n",
978     "atomic": "false",
979     "comments": "",
980     "outputs": 1,
981     "x": 1769.8215599060059,
982     "y": 3482.8216800689697,
983     "z": "a1447ddc.1baaf",
984     "wires": [
985       [
986         "2ca06e6a.58e632",
987         "a404bb90.d05e78"
988       ]
989     ]
990   },
991   {
992     "id": "2ca06e6a.58e632",
993     "type": "set",
994     "name": "set tmp.ss.vnfc-name",
995     "xml": "<set>\n<parameter name='tmp.ss.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[$i].value`' />\n",
996     "comments": "",
997     "x": 1973.9643325805664,
998     "y": 3482.82168674469,
999     "z": "a1447ddc.1baaf",
1000     "wires": []
1001   },
1002   {
1003     "id": "48c02c45.2af764",
1004     "type": "set",
1005     "name": "set ss.capability-type = vf-module",
1006     "xml": "<set>\n<parameter name='ss.capability-type' value='vf-module' />\n",
1007     "comments": "",
1008     "x": 416.8214569091797,
1009     "y": 1173.9286012649536,
1010     "z": "a1447ddc.1baaf",
1011     "wires": []
1012   },
1013   {
1014     "id": "9eaaad06.c49f4",
1015     "type": "block",
1016     "name": "block : atomic",
1017     "xml": "<block atomic='true'>",
1018     "atomic": "true",
1019     "comments": "",
1020     "outputs": 1,
1021     "x": 879.107153756278,
1022     "y": 1354.749975476946,
1023     "z": "a1447ddc.1baaf",
1024     "wires": [
1025       [
1026         "d95df464.79fc48",
1027         "a2c86795.41e7b8"
1028       ]
1029     ]
1030   },
1031   {
1032     "id": "a5a5795e.0fdfd8",
1033     "type": "success",
1034     "name": "success",
1035     "xml": "<outcome value='success'>\n",
1036     "comments": "",
1037     "outputs": 1,
1038     "x": 1152.2500915527344,
1039     "y": 2291.500045776367,
1040     "z": "a1447ddc.1baaf",
1041     "wires": [
1042       [
1043         "e93974be.fb0998"
1044       ]
1045     ]
1046   },
1047   {
1048     "id": "e93974be.fb0998",
1049     "type": "set",
1050     "name": "set capability-dg to ASSIGNED",
1051     "xml": "<set>\n<parameter name='`$ss.capability-dg`' value='ASSIGNED' />\n",
1052     "comments": "",
1053     "x": 1378.0000762939453,
1054     "y": 2291.250018119812,
1055     "z": "a1447ddc.1baaf",
1056     "wires": []
1057   },
1058   {
1059     "id": "1debefb9.6eb29",
1060     "type": "switchNode",
1061     "name": "switch self-serve-generate-name == ASSIGNED",
1062     "xml": "<switch test=\"`$self-serve-generate-name == 'ASSIGNED'`\">\n",
1063     "comments": "",
1064     "outputs": 1,
1065     "x": 449.5,
1066     "y": 2859.75,
1067     "z": "a1447ddc.1baaf",
1068     "wires": [
1069       [
1070         "717a357f.ca120c",
1071         "e2958e1c.63763"
1072       ]
1073     ]
1074   },
1075   {
1076     "id": "717a357f.ca120c",
1077     "type": "success",
1078     "name": "true",
1079     "xml": "<outcome value='true'>\n",
1080     "comments": "",
1081     "outputs": 1,
1082     "x": 734.2499542236328,
1083     "y": 2884.7499980926514,
1084     "z": "a1447ddc.1baaf",
1085     "wires": [
1086       [
1087         "2f2598c9.3bca08"
1088       ]
1089     ]
1090   },
1091   {
1092     "id": "6c9147d0.5fe2f8",
1093     "type": "switchNode",
1094     "name": "switch tmp.ss.vnfc-name != null",
1095     "xml": "<switch test=\"`$tmp.ss.vnfc-name != ''`\">\n",
1096     "comments": "",
1097     "outputs": 1,
1098     "x": 1128.0000762939453,
1099     "y": 3585.75000667572,
1100     "z": "a1447ddc.1baaf",
1101     "wires": [
1102       [
1103         "1df4e001.bd26c",
1104         "85198951.816258"
1105       ]
1106     ]
1107   },
1108   {
1109     "id": "8b1364a3.1a14f8",
1110     "type": "switchNode",
1111     "name": "switch tmp.ss.vnfc-name && nfc-function != null",
1112     "xml": "<switch test=\"`$tmp.ss.nfc-naming-code != '' and $tmp.ss.nfc-function != ''`\">\n",
1113     "comments": "",
1114     "outputs": 1,
1115     "x": 1861.6786193847656,
1116     "y": 3712.2857913970947,
1117     "z": "a1447ddc.1baaf",
1118     "wires": [
1119       [
1120         "162ae374.daed9d",
1121         "2aa9bfaa.32c2d"
1122       ]
1123     ]
1124   },
1125   {
1126     "id": "1df4e001.bd26c",
1127     "type": "outcomeTrue",
1128     "name": "true",
1129     "xml": "<outcome value='true'>\n",
1130     "comments": "",
1131     "outputs": 1,
1132     "x": 1363.5000457763672,
1133     "y": 3585.999917984009,
1134     "z": "a1447ddc.1baaf",
1135     "wires": [
1136       [
1137         "7ca55b40.817d94"
1138       ]
1139     ]
1140   },
1141   {
1142     "id": "162ae374.daed9d",
1143     "type": "outcomeTrue",
1144     "name": "true",
1145     "xml": "<outcome value='true'>\n",
1146     "comments": "",
1147     "outputs": 1,
1148     "x": 2146.928642272949,
1149     "y": 3712.535834312439,
1150     "z": "a1447ddc.1baaf",
1151     "wires": [
1152       [
1153         "3d984290.7ab9be"
1154       ]
1155     ]
1156   },
1157   {
1158     "id": "e2958e1c.63763",
1159     "type": "outcomeFalse",
1160     "name": "false",
1161     "xml": "<outcome value='false'>\n",
1162     "comments": "",
1163     "outputs": 1,
1164     "x": 732.3571815490723,
1165     "y": 2834.5714950561523,
1166     "z": "a1447ddc.1baaf",
1167     "wires": [
1168       [
1169         "7ada8395.66332c"
1170       ]
1171     ]
1172   },
1173   {
1174     "id": "b68e8e50.8a80e",
1175     "type": "record",
1176     "name": "record",
1177     "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"`'SS: self-serve-generate-name status: ' + $self-serve-generate-name`\"/>",
1178     "comments": "",
1179     "outputs": 1,
1180     "x": 1081.7857627868652,
1181     "y": 2834.5716676712036,
1182     "z": "a1447ddc.1baaf",
1183     "wires": [
1184       []
1185     ]
1186   },
1187   {
1188     "id": "7ada8395.66332c",
1189     "type": "block",
1190     "name": "block : atomic",
1191     "xml": "<block atomic='true'>",
1192     "atomic": "true",
1193     "comments": "",
1194     "outputs": 1,
1195     "x": 898.2143058776855,
1196     "y": 2834.571613584246,
1197     "z": "a1447ddc.1baaf",
1198     "wires": [
1199       [
1200         "b68e8e50.8a80e",
1201         "315e6329.e71c3c"
1202       ]
1203     ]
1204   },
1205   {
1206     "id": "315e6329.e71c3c",
1207     "type": "returnFailure",
1208     "name": "return failure",
1209     "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'AAI Put is being skipped because NOT all capability components have SUCCESS status; '+ $error-message`\" />\n",
1210     "comments": "",
1211     "x": 1103.0714530944824,
1212     "y": 2878.0002212524414,
1213     "z": "a1447ddc.1baaf",
1214     "wires": []
1215   },
1216   {
1217     "id": "36d24104.b53f7e",
1218     "type": "call",
1219     "name": "call self-serve-aai-vfmodule-put",
1220     "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-aai-vfmodule-put' mode='sync' >\n",
1221     "comments": "",
1222     "outputs": 1,
1223     "x": 1809.9643249511719,
1224     "y": 3832.381055831909,
1225     "z": "a1447ddc.1baaf",
1226     "wires": [
1227       [
1228         "c4c4e4d8.5cb1c8"
1229       ]
1230     ]
1231   },
1232   {
1233     "id": "12260e8d.8fd3c1",
1234     "type": "set",
1235     "name": "set capability-dg to ASSIGNED",
1236     "xml": "<set>\n<parameter name='`$ss.capability-dg`' value='ASSIGNED' />\n",
1237     "comments": "",
1238     "x": 989.7500457763672,
1239     "y": 2191.1665811538696,
1240     "z": "a1447ddc.1baaf",
1241     "wires": []
1242   },
1243   {
1244     "id": "ada601a5.8a40a",
1245     "type": "returnFailure",
1246     "name": "return failure",
1247     "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'vnfc object not updated because param.value of vnfc-name is null; '+ $error-message`\" />\n",
1248     "comments": "",
1249     "x": 2298.6785278320312,
1250     "y": 3770.61900806427,
1251     "z": "a1447ddc.1baaf",
1252     "wires": []
1253   },
1254   {
1255     "id": "c4c4e4d8.5cb1c8",
1256     "type": "failure",
1257     "name": "failure",
1258     "xml": "<outcome value='failure'>\n",
1259     "comments": "",
1260     "outputs": 1,
1261     "x": 2032.34521484375,
1262     "y": 3832.285635948181,
1263     "z": "a1447ddc.1baaf",
1264     "wires": [
1265       [
1266         "39f87abf.ed25d6"
1267       ]
1268     ]
1269   },
1270   {
1271     "id": "39f87abf.ed25d6",
1272     "type": "returnFailure",
1273     "name": "return failure",
1274     "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'generic-vnf and vf-module not updated; '+ $error-message`\" />\n",
1275     "comments": "",
1276     "x": 2202.34521484375,
1277     "y": 3831.619132041931,
1278     "z": "a1447ddc.1baaf",
1279     "wires": []
1280   },
1281   {
1282     "id": "69c887d6.9b5348",
1283     "type": "returnFailure",
1284     "name": "return failure",
1285     "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"Failed to save vnfc object in AAI\" />\n",
1286     "comments": "",
1287     "x": 2699.0120010375977,
1288     "y": 3711.2860021591187,
1289     "z": "a1447ddc.1baaf",
1290     "wires": []
1291   },
1292   {
1293     "id": "2aa9bfaa.32c2d",
1294     "type": "outcomeFalse",
1295     "name": "false",
1296     "xml": "<outcome value='false'>\n",
1297     "comments": "",
1298     "outputs": 1,
1299     "x": 2147.3453102111816,
1300     "y": 3771.28600025177,
1301     "z": "a1447ddc.1baaf",
1302     "wires": [
1303       [
1304         "ada601a5.8a40a"
1305       ]
1306     ]
1307   },
1308   {
1309     "id": "b1c04da3.0bbee",
1310     "type": "set",
1311     "name": "set is-new-vfmodule = true",
1312     "xml": "<set>\n<parameter name='is-new-vfmodule' value='true' />\n",
1313     "comments": "",
1314     "x": 388.5239715576172,
1315     "y": 152.17872047424316,
1316     "z": "a1447ddc.1baaf",
1317     "wires": []
1318   },
1319   {
1320     "id": "6b6c11c5.bbcc5",
1321     "type": "for",
1322     "name": "for each existing VF module",
1323     "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' >\n",
1324     "comments": "",
1325     "outputs": 1,
1326     "x": 952.3452301025391,
1327     "y": 339.6309871673584,
1328     "z": "a1447ddc.1baaf",
1329     "wires": [
1330       [
1331         "45969b2a.6b64b4"
1332       ]
1333     ]
1334   },
1335   {
1336     "id": "45969b2a.6b64b4",
1337     "type": "switchNode",
1338     "name": "switch vf-module-id: input vs service-data",
1339     "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.vf-module-id == $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$idx].vf-module-id`'>\n",
1340     "comments": "",
1341     "outputs": 1,
1342     "x": 1263.4643630981445,
1343     "y": 340.20240211486816,
1344     "z": "a1447ddc.1baaf",
1345     "wires": [
1346       [
1347         "fb49eccc.f39ab"
1348       ]
1349     ]
1350   },
1351   {
1352     "id": "fb49eccc.f39ab",
1353     "type": "outcomeTrue",
1354     "name": "true",
1355     "xml": "<outcome value='true'>\n",
1356     "comments": "",
1357     "outputs": 1,
1358     "x": 1517.3333930969238,
1359     "y": 340.02385902404785,
1360     "z": "a1447ddc.1baaf",
1361     "wires": [
1362       [
1363         "5b21c603.229ee8"
1364       ]
1365     ]
1366   },
1367   {
1368     "id": "575f26c9.68a1f8",
1369     "type": "set",
1370     "name": "set is-new-vfmodule = false",
1371     "xml": "<set>\n<parameter name='is-new-vfmodule' value='false' />\n",
1372     "comments": "",
1373     "x": 1889.5001335144043,
1374     "y": 339.2857475280762,
1375     "z": "a1447ddc.1baaf",
1376     "wires": []
1377   },
1378   {
1379     "id": "5b21c603.229ee8",
1380     "type": "block",
1381     "name": "block",
1382     "xml": "<block>\n",
1383     "atomic": "false",
1384     "comments": "",
1385     "outputs": 1,
1386     "x": 1658.7501373291016,
1387     "y": 339.5357437133789,
1388     "z": "a1447ddc.1baaf",
1389     "wires": [
1390       [
1391         "575f26c9.68a1f8",
1392         "3271f964.6c61a6",
1393         "61ab060.a0d1efc"
1394       ]
1395     ]
1396   },
1397   {
1398     "id": "3271f964.6c61a6",
1399     "type": "break",
1400     "name": "break",
1401     "xml": "<break>\n",
1402     "comments": "",
1403     "x": 1826.6429252624512,
1404     "y": 425.53572177886963,
1405     "z": "a1447ddc.1baaf",
1406     "wires": []
1407   },
1408   {
1409     "id": "61ab060.a0d1efc",
1410     "type": "set",
1411     "name": "set vf-module-index = idx",
1412     "xml": "<set>\n<parameter name='vf-module-index' value='`$idx`' />\n",
1413     "comments": "",
1414     "x": 1882.4644470214844,
1415     "y": 382.57140254974365,
1416     "z": "a1447ddc.1baaf",
1417     "wires": []
1418   },
1419   {
1420     "id": "892cfa62.321a88",
1421     "type": "set",
1422     "name": "set new vf-module_length = vf-module-index + 1",
1423     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' value='`$vf-module-index + 1`' />\n",
1424     "comments": "",
1425     "x": 1014.8097114562988,
1426     "y": 253.3930025100708,
1427     "z": "a1447ddc.1baaf",
1428     "wires": []
1429   },
1430   {
1431     "id": "286a7c53.0dbc64",
1432     "type": "block",
1433     "name": "block",
1434     "xml": "<block>\n",
1435     "atomic": "false",
1436     "comments": "",
1437     "outputs": 1,
1438     "x": 730.6667671203613,
1439     "y": 340.3215112686157,
1440     "z": "a1447ddc.1baaf",
1441     "wires": [
1442       [
1443         "c463b747.cd19a8",
1444         "6b6c11c5.bbcc5"
1445       ]
1446     ]
1447   },
1448   {
1449     "id": "c42f064a.cdd3c8",
1450     "type": "set",
1451     "name": "set new vf-module_length++",
1452     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length + 1`' />\n",
1453     "comments": "",
1454     "x": 1499.916790008545,
1455     "y": 452.0715160369873,
1456     "z": "a1447ddc.1baaf",
1457     "wires": []
1458   },
1459   {
1460     "id": "c463b747.cd19a8",
1461     "type": "switchNode",
1462     "name": "switch is-new-vfmodule",
1463     "xml": "<switch test='`$is-new-vfmodule`'>\n",
1464     "comments": "",
1465     "outputs": 1,
1466     "x": 938.1667633056641,
1467     "y": 409.8928909301758,
1468     "z": "a1447ddc.1baaf",
1469     "wires": [
1470       [
1471         "123ca523.aacc6b"
1472       ]
1473     ]
1474   },
1475   {
1476     "id": "123ca523.aacc6b",
1477     "type": "outcomeTrue",
1478     "name": "true",
1479     "xml": "<outcome value='true'>\n",
1480     "comments": "",
1481     "outputs": 1,
1482     "x": 1136.0239181518555,
1483     "y": 409.4643383026123,
1484     "z": "a1447ddc.1baaf",
1485     "wires": [
1486       [
1487         "f4d13fa0.d9dfe"
1488       ]
1489     ]
1490   },
1491   {
1492     "id": "15568bd1.4655e4",
1493     "type": "block",
1494     "name": "block",
1495     "xml": "<block>\n",
1496     "atomic": "false",
1497     "comments": "",
1498     "outputs": 1,
1499     "x": 737.1667633056641,
1500     "y": 232.82150554656982,
1501     "z": "a1447ddc.1baaf",
1502     "wires": [
1503       [
1504         "892cfa62.321a88",
1505         "4f3bc7f9.cc1898"
1506       ]
1507     ]
1508   },
1509   {
1510     "id": "f1296022.df39e",
1511     "type": "other",
1512     "name": "0",
1513     "xml": "<outcome value='0'>\n",
1514     "comments": "",
1515     "outputs": 1,
1516     "x": 595.5,
1517     "y": 271.25,
1518     "z": "a1447ddc.1baaf",
1519     "wires": [
1520       [
1521         "15568bd1.4655e4"
1522       ]
1523     ]
1524   },
1525   {
1526     "id": "61714731.eb3998",
1527     "type": "switchNode",
1528     "name": "switch is-new-vfmodule",
1529     "xml": "<switch test='`$is-new-vfmodule`'>\n",
1530     "comments": "",
1531     "outputs": 1,
1532     "x": 381.25,
1533     "y": 495,
1534     "z": "a1447ddc.1baaf",
1535     "wires": [
1536       [
1537         "6dde9203.b0507c"
1538       ]
1539     ]
1540   },
1541   {
1542     "id": "6dde9203.b0507c",
1543     "type": "outcomeTrue",
1544     "name": "true",
1545     "xml": "<outcome value='true'>\n",
1546     "comments": "",
1547     "outputs": 1,
1548     "x": 579.1071548461914,
1549     "y": 494.5714473724365,
1550     "z": "a1447ddc.1baaf",
1551     "wires": [
1552       [
1553         "771aa93b.561358"
1554       ]
1555     ]
1556   },
1557   {
1558     "id": "1d3ab61a.e18f5a",
1559     "type": "set",
1560     "name": "Copy vf-module-topology data",
1561     "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-topology-identifier.vf-module-id' \n    value='`$vf-module-topology-operation-input.vf-module-information.vf-module-id`' />\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-topology-identifier.vf-module-name' \n    value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-name`' />\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-topology-identifier.vf-module-type' \n    value='`$vf-module-topology-operation-input.vf-module-information.vf-module-type`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.tenant' \n    value='`$vf-module-topology-operation-input.vf-module-request-input.tenant`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-cloud-region' \n    value='`$vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.aic-clli'\n    value='`$vf-module-topology-operation-input.vf-module-request-input.aic-clli`' />",
1562     "comments": "",
1563     "x": 995.0000152587891,
1564     "y": 540.0000696182251,
1565     "z": "a1447ddc.1baaf",
1566     "wires": []
1567   },
1568   {
1569     "id": "ca9fe248.88f72",
1570     "type": "set",
1571     "name": "set from DB",
1572     "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.onap-model-information.model-invariant-uuid'\n  value='`$db.vf-module-model.invariant-uuid`' />\n",
1573     "comments": "",
1574     "x": 1360.011775970459,
1575     "y": 592.443510055542,
1576     "z": "a1447ddc.1baaf",
1577     "wires": []
1578   },
1579   {
1580     "id": "912e5e00.2ffd3",
1581     "type": "switchNode",
1582     "name": "switch input model-invariant-uuid",
1583     "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`'>\n",
1584     "comments": "",
1585     "outputs": 1,
1586     "x": 1003.8688507080078,
1587     "y": 615.2679538726807,
1588     "z": "a1447ddc.1baaf",
1589     "wires": [
1590       [
1591         "1f0bf384.3cfa7c",
1592         "34632141.e1364e"
1593       ]
1594     ]
1595   },
1596   {
1597     "id": "1f0bf384.3cfa7c",
1598     "type": "outcome",
1599     "name": "NULL",
1600     "xml": "<outcome value=''>",
1601     "comments": "",
1602     "outputs": 1,
1603     "x": 1209.5355224609375,
1604     "y": 592.4109172821045,
1605     "z": "a1447ddc.1baaf",
1606     "wires": [
1607       [
1608         "ca9fe248.88f72"
1609       ]
1610     ]
1611   },
1612   {
1613     "id": "34632141.e1364e",
1614     "type": "other",
1615     "name": "other",
1616     "xml": "<outcome value='Other'>\n",
1617     "comments": "",
1618     "outputs": 1,
1619     "x": 1210.9641189575195,
1620     "y": 636.6965084075928,
1621     "z": "a1447ddc.1baaf",
1622     "wires": [
1623       [
1624         "b26573bb.feb6c"
1625       ]
1626     ]
1627   },
1628   {
1629     "id": "b26573bb.feb6c",
1630     "type": "set",
1631     "name": "set from input",
1632     "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.onap-model-information.model-invariant-uuid'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-invariant-uuid`' />\n",
1633     "comments": "",
1634     "x": 1365.249855041504,
1635     "y": 636.1250805854797,
1636     "z": "a1447ddc.1baaf",
1637     "wires": []
1638   },
1639   {
1640     "id": "b7d78e8f.3cf72",
1641     "type": "set",
1642     "name": "set from DB",
1643     "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.onap-model-information.model-uuid'\n  value='`$db.vf-module-model.uuid`' />\n",
1644     "comments": "",
1645     "x": 1360.9640464782715,
1646     "y": 680.9821863174438,
1647     "z": "a1447ddc.1baaf",
1648     "wires": []
1649   },
1650   {
1651     "id": "31b701d0.46d05e",
1652     "type": "switchNode",
1653     "name": "switch input model-uuid",
1654     "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`'>\n",
1655     "comments": "",
1656     "outputs": 1,
1657     "x": 976.4878692626953,
1658     "y": 703.8066911697388,
1659     "z": "a1447ddc.1baaf",
1660     "wires": [
1661       [
1662         "1ddbea64.7c38e6",
1663         "4bbbc5b5.84966c"
1664       ]
1665     ]
1666   },
1667   {
1668     "id": "1ddbea64.7c38e6",
1669     "type": "outcome",
1670     "name": "NULL",
1671     "xml": "<outcome value=''>",
1672     "comments": "",
1673     "outputs": 1,
1674     "x": 1210.4878425598145,
1675     "y": 680.9496231079102,
1676     "z": "a1447ddc.1baaf",
1677     "wires": [
1678       [
1679         "b7d78e8f.3cf72"
1680       ]
1681     ]
1682   },
1683   {
1684     "id": "4bbbc5b5.84966c",
1685     "type": "other",
1686     "name": "other",
1687     "xml": "<outcome value='Other'>\n",
1688     "comments": "",
1689     "outputs": 1,
1690     "x": 1211.9164390563965,
1691     "y": 725.2352142333984,
1692     "z": "a1447ddc.1baaf",
1693     "wires": [
1694       [
1695         "f955a171.cd5f1"
1696       ]
1697     ]
1698   },
1699   {
1700     "id": "f955a171.cd5f1",
1701     "type": "set",
1702     "name": "set from input",
1703     "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.onap-model-information.model-uuid'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-uuid`' />\n",
1704     "comments": "",
1705     "x": 1366.2021751403809,
1706     "y": 724.6637864112854,
1707     "z": "a1447ddc.1baaf",
1708     "wires": []
1709   },
1710   {
1711     "id": "aaeae203.515b6",
1712     "type": "set",
1713     "name": "set from DB",
1714     "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.onap-model-information.model-version'\n  value='`$db.vf-module-model.version`' />\n",
1715     "comments": "",
1716     "x": 1358.1069793701172,
1717     "y": 769.8393936157227,
1718     "z": "a1447ddc.1baaf",
1719     "wires": []
1720   },
1721   {
1722     "id": "38e5d316.76192c",
1723     "type": "switchNode",
1724     "name": "switch input model-version",
1725     "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`'>\n",
1726     "comments": "",
1727     "outputs": 1,
1728     "x": 984.6307411193848,
1729     "y": 792.6638383865356,
1730     "z": "a1447ddc.1baaf",
1731     "wires": [
1732       [
1733         "d6205c9d.2aac",
1734         "d18f0ce3.6531f"
1735       ]
1736     ]
1737   },
1738   {
1739     "id": "d6205c9d.2aac",
1740     "type": "outcome",
1741     "name": "NULL",
1742     "xml": "<outcome value=''>",
1743     "comments": "",
1744     "outputs": 1,
1745     "x": 1207.6307258605957,
1746     "y": 769.8068008422852,
1747     "z": "a1447ddc.1baaf",
1748     "wires": [
1749       [
1750         "aaeae203.515b6"
1751       ]
1752     ]
1753   },
1754   {
1755     "id": "d18f0ce3.6531f",
1756     "type": "other",
1757     "name": "other",
1758     "xml": "<outcome value='Other'>\n",
1759     "comments": "",
1760     "outputs": 1,
1761     "x": 1209.0593223571777,
1762     "y": 814.0923919677734,
1763     "z": "a1447ddc.1baaf",
1764     "wires": [
1765       [
1766         "8e07d522.c43898"
1767       ]
1768     ]
1769   },
1770   {
1771     "id": "8e07d522.c43898",
1772     "type": "set",
1773     "name": "set from input",
1774     "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.onap-model-information.model-version'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-version`' />\n",
1775     "comments": "",
1776     "x": 1363.345058441162,
1777     "y": 813.5209641456604,
1778     "z": "a1447ddc.1baaf",
1779     "wires": []
1780   },
1781   {
1782     "id": "1997e93d.cc3677",
1783     "type": "set",
1784     "name": "set from DB",
1785     "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.onap-model-information.model-name'\n  value='`$db.vf-module-model.name`' />\n",
1786     "comments": "",
1787     "x": 1358.1069793701172,
1788     "y": 856.9822158813477,
1789     "z": "a1447ddc.1baaf",
1790     "wires": []
1791   },
1792   {
1793     "id": "c0bb4f1d.bf76d",
1794     "type": "switchNode",
1795     "name": "switch input model-name",
1796     "xml": "<switch test='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`'>\n",
1797     "comments": "",
1798     "outputs": 1,
1799     "x": 979.6307411193848,
1800     "y": 879.8066606521606,
1801     "z": "a1447ddc.1baaf",
1802     "wires": [
1803       [
1804         "44a8e6d8.ab32b8",
1805         "d6832860.ddc3b8"
1806       ]
1807     ]
1808   },
1809   {
1810     "id": "44a8e6d8.ab32b8",
1811     "type": "outcome",
1812     "name": "NULL",
1813     "xml": "<outcome value=''>",
1814     "comments": "",
1815     "outputs": 1,
1816     "x": 1207.6307258605957,
1817     "y": 856.9496231079102,
1818     "z": "a1447ddc.1baaf",
1819     "wires": [
1820       [
1821         "1997e93d.cc3677"
1822       ]
1823     ]
1824   },
1825   {
1826     "id": "d6832860.ddc3b8",
1827     "type": "other",
1828     "name": "other",
1829     "xml": "<outcome value='Other'>\n",
1830     "comments": "",
1831     "outputs": 1,
1832     "x": 1209.0593223571777,
1833     "y": 901.2352142333984,
1834     "z": "a1447ddc.1baaf",
1835     "wires": [
1836       [
1837         "8e86e3c7.3bf47"
1838       ]
1839     ]
1840   },
1841   {
1842     "id": "8e86e3c7.3bf47",
1843     "type": "set",
1844     "name": "set from input",
1845     "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.onap-model-information.model-name'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-name`' />\n",
1846     "comments": "",
1847     "x": 1363.345058441162,
1848     "y": 900.6637864112854,
1849     "z": "a1447ddc.1baaf",
1850     "wires": []
1851   },
1852   {
1853     "id": "b0cee3eb.0748c",
1854     "type": "set",
1855     "name": "set model-customization-uuid",
1856     "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.onap-model-information.model-customization-uuid'\n  value='`$vf-module-topology-operation-input.vf-module-information.onap-model-information.model-customization-uuid`' />\n",
1857     "comments": "",
1858     "x": 993.0830993652344,
1859     "y": 953.7441453933716,
1860     "z": "a1447ddc.1baaf",
1861     "wires": []
1862   },
1863   {
1864     "id": "bbf33715.8b52f8",
1865     "type": "set",
1866     "name": "copy input data",
1867     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.sdnc-request-header.'\n   value='$vf-module-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.request-information.'\n   value='$vf-module-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.service-information.'\n   value='$vf-module-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vnf-information.'\n   value='$vf-module-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-information.'\n   value='$vf-module-topology-operation-input.vf-module-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-request-input.' \n    value='$vf-module-topology-operation-input.vf-module-request-input.' />",
1868     "comments": "",
1869     "x": 951.7381744384766,
1870     "y": 1008.4288482666016,
1871     "z": "a1447ddc.1baaf",
1872     "wires": []
1873   },
1874   {
1875     "id": "771aa93b.561358",
1876     "type": "block",
1877     "name": "block",
1878     "xml": "<block>",
1879     "atomic": "false",
1880     "comments": "",
1881     "outputs": 1,
1882     "x": 735.2024154663086,
1883     "y": 494.3491916656494,
1884     "z": "a1447ddc.1baaf",
1885     "wires": [
1886       [
1887         "912e5e00.2ffd3",
1888         "31b701d0.46d05e",
1889         "38e5d316.76192c",
1890         "c0bb4f1d.bf76d",
1891         "b0cee3eb.0748c",
1892         "bbf33715.8b52f8",
1893         "1d3ab61a.e18f5a",
1894         "dfd62a4a.a5a6a8",
1895         "ec68163d.860598",
1896         "208a43c2.0e1adc"
1897       ]
1898     ]
1899   },
1900   {
1901     "id": "9cca684a.cb85c8",
1902     "type": "set",
1903     "name": "set vf-module-index = vf-module_length",
1904     "xml": "<set>\n<parameter name='vf-module-index' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module_length`' />\n",
1905     "comments": "",
1906     "x": 1532.5000190734863,
1907     "y": 408.25000762939453,
1908     "z": "a1447ddc.1baaf",
1909     "wires": []
1910   },
1911   {
1912     "id": "f4d13fa0.d9dfe",
1913     "type": "block",
1914     "name": "block",
1915     "xml": "<block>\n",
1916     "atomic": "false",
1917     "comments": "",
1918     "outputs": 1,
1919     "x": 1279.0000190734863,
1920     "y": 409.00000762939453,
1921     "z": "a1447ddc.1baaf",
1922     "wires": [
1923       [
1924         "9cca684a.cb85c8",
1925         "c42f064a.cdd3c8"
1926       ]
1927     ]
1928   },
1929   {
1930     "id": "ed2436d.8afa0c8",
1931     "type": "success",
1932     "name": "true",
1933     "xml": "<outcome value='true'>\n",
1934     "comments": "",
1935     "outputs": 1,
1936     "x": 1102.9999656677246,
1937     "y": 3270.5000371932983,
1938     "z": "a1447ddc.1baaf",
1939     "wires": [
1940       [
1941         "f6d62d80.b5987"
1942       ]
1943     ]
1944   },
1945   {
1946     "id": "4ce50370.4b324c",
1947     "type": "outcomeFalse",
1948     "name": "false",
1949     "xml": "<outcome value='false'>\n",
1950     "comments": "",
1951     "outputs": 1,
1952     "x": 1101.107192993164,
1953     "y": 3220.3215341567993,
1954     "z": "a1447ddc.1baaf",
1955     "wires": [
1956       [
1957         "ff80399e.60d2b8"
1958       ]
1959     ]
1960   },
1961   {
1962     "id": "dc91f5c6.0f3388",
1963     "type": "record",
1964     "name": "record",
1965     "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"`'SS: self-serve-unresolved-composite-data: ' + $self-serve-unresolved-composite-data`\"/>",
1966     "comments": "",
1967     "outputs": 1,
1968     "x": 1450.535774230957,
1969     "y": 3220.3217067718506,
1970     "z": "a1447ddc.1baaf",
1971     "wires": [
1972       []
1973     ]
1974   },
1975   {
1976     "id": "ff80399e.60d2b8",
1977     "type": "block",
1978     "name": "block : atomic",
1979     "xml": "<block atomic='true'>",
1980     "atomic": "true",
1981     "comments": "",
1982     "outputs": 1,
1983     "x": 1266.9643173217773,
1984     "y": 3220.321652684893,
1985     "z": "a1447ddc.1baaf",
1986     "wires": [
1987       [
1988         "dc91f5c6.0f3388",
1989         "8fd1491d.594388"
1990       ]
1991     ]
1992   },
1993   {
1994     "id": "8fd1491d.594388",
1995     "type": "returnFailure",
1996     "name": "return failure",
1997     "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'AAI Put is being skipped because NOT all capability components have SUCCESS status; '+ $error-message`\" />\n",
1998     "comments": "",
1999     "x": 1471.8214645385742,
2000     "y": 3263.7502603530884,
2001     "z": "a1447ddc.1baaf",
2002     "wires": []
2003   },
2004   {
2005     "id": "2f2598c9.3bca08",
2006     "type": "switchNode",
2007     "name": "switch self-serve-unresolved-composite-data == ASSIGNED or NULL",
2008     "xml": "<switch test=\"`$self-serve-unresolved-composite-data == 'ASSIGNED' or $self-serve-unresolved-composite-data == ''`\">\n",
2009     "comments": "",
2010     "outputs": 1,
2011     "x": 753.0000305175781,
2012     "y": 3243.25,
2013     "z": "a1447ddc.1baaf",
2014     "wires": [
2015       [
2016         "4ce50370.4b324c",
2017         "ed2436d.8afa0c8"
2018       ]
2019     ]
2020   },
2021   {
2022     "id": "7ca55b40.817d94",
2023     "type": "block",
2024     "name": "block : atomic",
2025     "xml": "<block atomic='true'>",
2026     "atomic": "true",
2027     "comments": "",
2028     "outputs": 1,
2029     "x": 1541.9285278320312,
2030     "y": 3586.285789489746,
2031     "z": "a1447ddc.1baaf",
2032     "wires": [
2033       [
2034         "4c5fac31.d6e484",
2035         "8b1364a3.1a14f8",
2036         "36d24104.b53f7e"
2037       ]
2038     ]
2039   },
2040   {
2041     "id": "85198951.816258",
2042     "type": "outcomeFalse",
2043     "name": "false",
2044     "xml": "<outcome value='false'>\n",
2045     "comments": "",
2046     "outputs": 1,
2047     "x": 1367.1428146362305,
2048     "y": 3928.571466445923,
2049     "z": "a1447ddc.1baaf",
2050     "wires": [
2051       [
2052         "971ad69f.2bddc8"
2053       ]
2054     ]
2055   },
2056   {
2057     "id": "971ad69f.2bddc8",
2058     "type": "record",
2059     "name": "record",
2060     "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"`'SS: vnfc-name: ' + $tmp.ss.vnfc-name`\"/>",
2061     "comments": "",
2062     "outputs": 1,
2063     "x": 1517.142822265625,
2064     "y": 3928.571533203125,
2065     "z": "a1447ddc.1baaf",
2066     "wires": [
2067       []
2068     ]
2069   }
2070 ]