Connecting SOTN sub DGs to network DG
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_validate-network-input.json
1 [
2   {
3     "id": "d10892d8.d1d04",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 119.00390625,
8     "y": 89.9999988079071,
9     "z": "cd5e1606.c0dcc8",
10     "wires": [
11       [
12         "cc6fb669.27adb8"
13       ]
14     ]
15   },
16   {
17     "id": "cc6fb669.27adb8",
18     "type": "service-logic",
19     "name": "GENERIC-RESOURCE-API ${project.version}",
20     "module": "GENERIC-RESOURCE-API",
21     "version": "${project.version}",
22     "comments": "",
23     "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",
24     "outputs": 1,
25     "x": 191.28961181640625,
26     "y": 142.23811221122742,
27     "z": "cd5e1606.c0dcc8",
28     "wires": [
29       [
30         "5c46313a.cc52b"
31       ]
32     ]
33   },
34   {
35     "id": "5c46313a.cc52b",
36     "type": "method",
37     "name": "validate-network-input",
38     "xml": "<method rpc='validate-network-input' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 191.43253326416016,
42     "y": 203.9999988079071,
43     "z": "cd5e1606.c0dcc8",
44     "wires": [
45       [
46         "589f6d93.3cb684"
47       ]
48     ]
49   },
50   {
51     "id": "589f6d93.3cb684",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">",
55     "atomic": "true",
56     "outputs": 1,
57     "x": 204.7539520263672,
58     "y": 486.44349360466003,
59     "z": "cd5e1606.c0dcc8",
60     "wires": [
61       [
62         "63545e47.56cdf",
63         "3b9c61c8.ee403e",
64         "38cd8ee0.dfeaa2",
65         "e55ef36.fecc71",
66         "ab9b3245.3b163",
67         "cf4a32b5.6699"
68       ]
69     ]
70   },
71   {
72     "id": "63545e47.56cdf",
73     "type": "switchNode",
74     "name": "switch svc-request-id",
75     "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-request-id`'>\n",
76     "comments": "",
77     "outputs": 1,
78     "x": 521.1467666625977,
79     "y": 212.42858958244324,
80     "z": "cd5e1606.c0dcc8",
81     "wires": [
82       [
83         "e01f3b58.5084b8"
84       ]
85     ]
86   },
87   {
88     "id": "e01f3b58.5084b8",
89     "type": "other",
90     "name": "NULL",
91     "xml": "<outcome value=''>",
92     "comments": "",
93     "outputs": 1,
94     "x": 746.8610709054128,
95     "y": 212.42859203474836,
96     "z": "cd5e1606.c0dcc8",
97     "wires": [
98       [
99         "fe964aff.bb00b8"
100       ]
101     ]
102   },
103   {
104     "id": "fe964aff.bb00b8",
105     "type": "returnFailure",
106     "name": "return failure",
107     "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=\"sdnc-request-header.svc-request-id is a required input\" />\n",
108     "comments": "",
109     "x": 898.2896368844167,
110     "y": 212.42859012739973,
111     "z": "cd5e1606.c0dcc8",
112     "wires": [
113       
114     ]
115   },
116   {
117     "id": "3b9c61c8.ee403e",
118     "type": "switchNode",
119     "name": "switch svc-action",
120     "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
121     "comments": "",
122     "outputs": 1,
123     "x": 509.7181396484375,
124     "y": 171.00001978874207,
125     "z": "cd5e1606.c0dcc8",
126     "wires": [
127       [
128         "438a3c10.6a7244"
129       ]
130     ]
131   },
132   {
133     "id": "438a3c10.6a7244",
134     "type": "other",
135     "name": "NULL",
136     "xml": "<outcome value=''>",
137     "comments": "",
138     "outputs": 1,
139     "x": 745.4324913024902,
140     "y": 169.57141757011414,
141     "z": "cd5e1606.c0dcc8",
142     "wires": [
143       [
144         "eafc9a3d.67efc8"
145       ]
146     ]
147   },
148   {
149     "id": "eafc9a3d.67efc8",
150     "type": "returnFailure",
151     "name": "return failure",
152     "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=\"sdnc-request-header.svc-action is a required input\" />\n",
153     "comments": "",
154     "x": 895.4324645996094,
155     "y": 169.5714271068573,
156     "z": "cd5e1606.c0dcc8",
157     "wires": [
158       
159     ]
160   },
161   {
162     "id": "38cd8ee0.dfeaa2",
163     "type": "switchNode",
164     "name": "switch request-action",
165     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
166     "comments": "",
167     "outputs": 1,
168     "x": 519.7181777954102,
169     "y": 255.2857367992401,
170     "z": "cd5e1606.c0dcc8",
171     "wires": [
172       [
173         "4c7ee001.df1f4"
174       ]
175     ]
176   },
177   {
178     "id": "4c7ee001.df1f4",
179     "type": "other",
180     "name": "NULL",
181     "xml": "<outcome value=''>",
182     "comments": "",
183     "outputs": 1,
184     "x": 746.8610665457591,
185     "y": 255.28574579102678,
186     "z": "cd5e1606.c0dcc8",
187     "wires": [
188       [
189         "c0c0e1df.937f8"
190       ]
191     ]
192   },
193   {
194     "id": "c0c0e1df.937f8",
195     "type": "returnFailure",
196     "name": "return failure",
197     "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=\"request-information.request-action is a required input\" />\n",
198     "comments": "",
199     "x": 898.289632524763,
200     "y": 255.28574388367815,
201     "z": "cd5e1606.c0dcc8",
202     "wires": [
203       
204     ]
205   },
206   {
207     "id": "e55ef36.fecc71",
208     "type": "switchNode",
209     "name": "switch service-instance-id",
210     "xml": "<switch test='`$network-topology-operation-input.service-information.service-instance-id`'>\n",
211     "comments": "",
212     "outputs": 1,
213     "x": 520.8610992431641,
214     "y": 312.00001406669617,
215     "z": "cd5e1606.c0dcc8",
216     "wires": [
217       [
218         "41b98218.67710c"
219       ]
220     ]
221   },
222   {
223     "id": "41b98218.67710c",
224     "type": "other",
225     "name": "NULL",
226     "xml": "<outcome value=''>",
227     "comments": "",
228     "outputs": 1,
229     "x": 745.2896728515625,
230     "y": 298.9999988079071,
231     "z": "cd5e1606.c0dcc8",
232     "wires": [
233       [
234         "4a5f94d4.e9a16c"
235       ]
236     ]
237   },
238   {
239     "id": "4a5f94d4.e9a16c",
240     "type": "returnFailure",
241     "name": "return failure",
242     "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=\"service-information.service-instance-id is a required input\" />\n",
243     "comments": "",
244     "x": 903.7182006835938,
245     "y": 297.9999988079071,
246     "z": "cd5e1606.c0dcc8",
247     "wires": [
248       
249     ]
250   },
251   {
252     "id": "577e7fa3.209ba",
253     "type": "comment",
254     "name": "validate-network-input - CHANGELOG",
255     "info": "12/8: Initial release 1.0.0",
256     "comments": "",
257     "x": 404.00390625,
258     "y": 53.999998807907104,
259     "z": "cd5e1606.c0dcc8",
260     "wires": [
261       
262     ]
263   },
264   {
265     "id": "ab9b3245.3b163",
266     "type": "switchNode",
267     "name": "switch svc-action",
268     "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
269     "comments": "",
270     "outputs": 1,
271     "x": 478.00392150878906,
272     "y": 486.0000159740448,
273     "z": "cd5e1606.c0dcc8",
274     "wires": [
275       [
276         "c25cbef0.24b67",
277         "ffa0841e.8dfeb8",
278         "ec8a549d.c2d768",
279         "79b3c9cf.7c9a88"
280       ]
281     ]
282   },
283   {
284     "id": "c25cbef0.24b67",
285     "type": "other",
286     "name": "assign",
287     "xml": "<outcome value='assign'>",
288     "comments": "",
289     "outputs": 1,
290     "x": 738.71826171875,
291     "y": 390.5714099407196,
292     "z": "cd5e1606.c0dcc8",
293     "wires": [
294       [
295         "4f0ebdbc.56efe4"
296       ]
297     ]
298   },
299   {
300     "id": "ffa0841e.8dfeb8",
301     "type": "other",
302     "name": "activate",
303     "xml": "<outcome value='activate'>",
304     "comments": "",
305     "outputs": 1,
306     "x": 734.0040130615234,
307     "y": 520.9999892711639,
308     "z": "cd5e1606.c0dcc8",
309     "wires": [
310       [
311         "5ebeaa8b.6f2ad4"
312       ]
313     ]
314   },
315   {
316     "id": "ec8a549d.c2d768",
317     "type": "other",
318     "name": "deactivate",
319     "xml": "<outcome value='deactivate'>",
320     "comments": "",
321     "outputs": 1,
322     "x": 737.0039749145508,
323     "y": 687.0000121593475,
324     "z": "cd5e1606.c0dcc8",
325     "wires": [
326       [
327         "bb3fcaae.e4ad38"
328       ]
329     ]
330   },
331   {
332     "id": "4f0ebdbc.56efe4",
333     "type": "block",
334     "name": "block : atomic",
335     "xml": "<block atomic=\"true\">",
336     "atomic": "true",
337     "comments": "",
338     "outputs": 1,
339     "x": 901.00390625,
340     "y": 389.9999988079071,
341     "z": "cd5e1606.c0dcc8",
342     "wires": [
343       [
344         "74260e08.eb326"
345       ]
346     ]
347   },
348   {
349     "id": "74260e08.eb326",
350     "type": "switchNode",
351     "name": "switch request-action",
352     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
353     "comments": "",
354     "outputs": 1,
355     "x": 1121.00390625,
356     "y": 389.9999988079071,
357     "z": "cd5e1606.c0dcc8",
358     "wires": [
359       [
360         "8fe022cd.91c96",
361         "dea0b675.d14408"
362       ]
363     ]
364   },
365   {
366     "id": "8fe022cd.91c96",
367     "type": "other",
368     "name": "CreateNetworkInstance",
369     "xml": "<outcome value='CreateNetworkInstance'>",
370     "comments": "",
371     "outputs": 1,
372     "x": 1401.00390625,
373     "y": 354.9999988079071,
374     "z": "cd5e1606.c0dcc8",
375     "wires": [
376       [
377         "c969e857.f1a468"
378       ]
379     ]
380   },
381   {
382     "id": "dea0b675.d14408",
383     "type": "other",
384     "name": "Other",
385     "xml": "<outcome value='Other'>",
386     "comments": "",
387     "outputs": 1,
388     "x": 1350.00390625,
389     "y": 398.9999988079071,
390     "z": "cd5e1606.c0dcc8",
391     "wires": [
392       [
393         "75ab9633.6c0538"
394       ]
395     ]
396   },
397   {
398     "id": "75ab9633.6c0538",
399     "type": "returnFailure",
400     "name": "return failure",
401     "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=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=assign\" />\n",
402     "comments": "",
403     "x": 1519.00390625,
404     "y": 398.9999988079071,
405     "z": "cd5e1606.c0dcc8",
406     "wires": [
407       
408     ]
409   },
410   {
411     "id": "5ebeaa8b.6f2ad4",
412     "type": "block",
413     "name": "block : atomic",
414     "xml": "<block atomic=\"true\">",
415     "atomic": "true",
416     "outputs": 1,
417     "x": 908.0040130615234,
418     "y": 520.9999892711639,
419     "z": "cd5e1606.c0dcc8",
420     "wires": [
421       [
422         "eeee19ec.1dddd8"
423       ]
424     ]
425   },
426   {
427     "id": "eeee19ec.1dddd8",
428     "type": "switchNode",
429     "name": "switch request-action",
430     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
431     "comments": "",
432     "outputs": 1,
433     "x": 1125.0040130615234,
434     "y": 520.9999892711639,
435     "z": "cd5e1606.c0dcc8",
436     "wires": [
437       [
438         "19ab9af4.959125",
439         "267e33ff.fa91ec",
440         "3c8e6628.d91a7a",
441         "631913c6.522e9c"
442       ]
443     ]
444   },
445   {
446     "id": "19ab9af4.959125",
447     "type": "other",
448     "name": "CreateNetworkInstance",
449     "xml": "<outcome value='CreateNetworkInstance'>",
450     "comments": "",
451     "outputs": 1,
452     "x": 1406.0040130615234,
453     "y": 521.9999892711639,
454     "z": "cd5e1606.c0dcc8",
455     "wires": [
456       [
457         "5bbb66dc.aa9cd8"
458       ]
459     ]
460   },
461   {
462     "id": "267e33ff.fa91ec",
463     "type": "other",
464     "name": "Other",
465     "xml": "<outcome value='Other'>",
466     "comments": "",
467     "outputs": 1,
468     "x": 1349.0040130615234,
469     "y": 561.9999892711639,
470     "z": "cd5e1606.c0dcc8",
471     "wires": [
472       [
473         "bc137916.f46628"
474       ]
475     ]
476   },
477   {
478     "id": "bc137916.f46628",
479     "type": "returnFailure",
480     "name": "return failure",
481     "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=\"request-information.request-action is required to be CreateNetworkInstance for svc-action=activate\" />\n",
482     "comments": "",
483     "x": 1520.8613090515137,
484     "y": 563.4285953044891,
485     "z": "cd5e1606.c0dcc8",
486     "wires": [
487       
488     ]
489   },
490   {
491     "id": "bb3fcaae.e4ad38",
492     "type": "block",
493     "name": "block : atomic",
494     "xml": "<block atomic=\"true\">",
495     "atomic": "true",
496     "outputs": 1,
497     "x": 919.0039749145508,
498     "y": 686.0000121593475,
499     "z": "cd5e1606.c0dcc8",
500     "wires": [
501       [
502         "55160352.39b04c"
503       ]
504     ]
505   },
506   {
507     "id": "55160352.39b04c",
508     "type": "switchNode",
509     "name": "switch request-action",
510     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
511     "comments": "",
512     "outputs": 1,
513     "x": 1136.0039749145508,
514     "y": 686.0000121593475,
515     "z": "cd5e1606.c0dcc8",
516     "wires": [
517       [
518         "5cc0d485.64c92c",
519         "7d1ae710.c4ae68",
520         "6fed75a2.decf0c",
521         "1da958a1.745b77"
522       ]
523     ]
524   },
525   {
526     "id": "5cc0d485.64c92c",
527     "type": "other",
528     "name": "DeleteNetworkInstance",
529     "xml": "<outcome value='DeleteNetworkInstance'>",
530     "comments": "",
531     "outputs": 1,
532     "x": 1417.0039749145508,
533     "y": 687.0000121593475,
534     "z": "cd5e1606.c0dcc8",
535     "wires": [
536       [
537         "109f2b9.d4078d4"
538       ]
539     ]
540   },
541   {
542     "id": "7d1ae710.c4ae68",
543     "type": "other",
544     "name": "Other",
545     "xml": "<outcome value='Other'>",
546     "comments": "",
547     "outputs": 1,
548     "x": 1360.0039749145508,
549     "y": 727.0000121593475,
550     "z": "cd5e1606.c0dcc8",
551     "wires": [
552       [
553         "20482a05.f565a6"
554       ]
555     ]
556   },
557   {
558     "id": "20482a05.f565a6",
559     "type": "returnFailure",
560     "name": "return failure",
561     "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=\"request-information.request-action is required to be DeleteNetworkInstance for svc-action=deactivate\" />\n",
562     "comments": "",
563     "x": 1529.0040397644043,
564     "y": 729.8571736812592,
565     "z": "cd5e1606.c0dcc8",
566     "wires": [
567       
568     ]
569   },
570   {
571     "id": "79b3c9cf.7c9a88",
572     "type": "other",
573     "name": "unassign",
574     "xml": "<outcome value='unassign'>",
575     "comments": "",
576     "outputs": 1,
577     "x": 733.0039443969727,
578     "y": 780.9999892711639,
579     "z": "cd5e1606.c0dcc8",
580     "wires": [
581       [
582         "45974a1d.441444"
583       ]
584     ]
585   },
586   {
587     "id": "45974a1d.441444",
588     "type": "block",
589     "name": "block : atomic",
590     "xml": "<block atomic=\"true\">",
591     "atomic": "true",
592     "outputs": 1,
593     "x": 915.0039749145508,
594     "y": 777.0000121593475,
595     "z": "cd5e1606.c0dcc8",
596     "wires": [
597       [
598         "e8367231.5b793"
599       ]
600     ]
601   },
602   {
603     "id": "e8367231.5b793",
604     "type": "switchNode",
605     "name": "switch request-action",
606     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
607     "comments": "",
608     "outputs": 1,
609     "x": 1132.0039749145508,
610     "y": 777.0000121593475,
611     "z": "cd5e1606.c0dcc8",
612     "wires": [
613       [
614         "2783d45.3ac4c2c",
615         "dc9b366d.05d508"
616       ]
617     ]
618   },
619   {
620     "id": "2783d45.3ac4c2c",
621     "type": "other",
622     "name": "DeleteNetworkInstance",
623     "xml": "<outcome value='DeleteNetworkInstance'>",
624     "comments": "",
625     "outputs": 1,
626     "x": 1413.0039749145508,
627     "y": 778.0000121593475,
628     "z": "cd5e1606.c0dcc8",
629     "wires": [
630       [
631         "5f15529a.e2031c"
632       ]
633     ]
634   },
635   {
636     "id": "dc9b366d.05d508",
637     "type": "other",
638     "name": "Other",
639     "xml": "<outcome value='Other'>",
640     "comments": "",
641     "outputs": 1,
642     "x": 1356.0039749145508,
643     "y": 818.0000121593475,
644     "z": "cd5e1606.c0dcc8",
645     "wires": [
646       [
647         "d903000c.e9d17"
648       ]
649     ]
650   },
651   {
652     "id": "d903000c.e9d17",
653     "type": "returnFailure",
654     "name": "return failure",
655     "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=\"request-information.request-action is required to be DeleteNetworkInstance for svc-action=unassign\" />\n",
656     "comments": "",
657     "x": 1525.0039749145508,
658     "y": 818.0000121593475,
659     "z": "cd5e1606.c0dcc8",
660     "wires": [
661       
662     ]
663   },
664   {
665     "id": "c969e857.f1a468",
666     "type": "block",
667     "name": "block : atomic",
668     "xml": "<block atomic=\"true\">",
669     "atomic": "true",
670     "comments": "",
671     "outputs": 1,
672     "x": 1637.00390625,
673     "y": 353.9999988079071,
674     "z": "cd5e1606.c0dcc8",
675     "wires": [
676       [
677         "c9238c13.c3f79",
678         "a449f5ae.312af8",
679         "fd80c464.68ff68",
680         "416cb672.740808",
681         "c16bbddb.dcdad",
682         "f8366874.128af8",
683         "d7a16e1b.af209"
684       ]
685     ]
686   },
687   {
688     "id": "5bbb66dc.aa9cd8",
689     "type": "block",
690     "name": "block : atomic",
691     "xml": "<block atomic=\"true\">",
692     "atomic": "true",
693     "comments": "",
694     "outputs": 1,
695     "x": 1631.0040130615234,
696     "y": 521.9999892711639,
697     "z": "cd5e1606.c0dcc8",
698     "wires": [
699       [
700         "c9238c13.c3f79",
701         "a449f5ae.312af8",
702         "fd80c464.68ff68",
703         "416cb672.740808",
704         "c16bbddb.dcdad",
705         "f8366874.128af8",
706         "56dfe279.93c1fc"
707       ]
708     ]
709   },
710   {
711     "id": "109f2b9.d4078d4",
712     "type": "block",
713     "name": "block : atomic",
714     "xml": "<block atomic=\"true\">",
715     "atomic": "true",
716     "comments": "",
717     "outputs": 1,
718     "x": 1673.0039749145508,
719     "y": 688.0000121593475,
720     "z": "cd5e1606.c0dcc8",
721     "wires": [
722       [
723         "56dfe279.93c1fc"
724       ]
725     ]
726   },
727   {
728     "id": "5f15529a.e2031c",
729     "type": "block",
730     "name": "block : atomic",
731     "xml": "<block atomic=\"true\">",
732     "atomic": "true",
733     "comments": "",
734     "outputs": 1,
735     "x": 1672.0039749145508,
736     "y": 779.0000121593475,
737     "z": "cd5e1606.c0dcc8",
738     "wires": [
739       [
740         "56dfe279.93c1fc"
741       ]
742     ]
743   },
744   {
745     "id": "c16bbddb.dcdad",
746     "type": "switchNode",
747     "name": "switch onap-model-information.model-uuid",
748     "xml": "<switch test='`$network-topology-operation-input.service-information.onap-model-information.model-uuid`'>\n",
749     "comments": "",
750     "outputs": 1,
751     "x": 2273.670570373535,
752     "y": 1077.999950170517,
753     "z": "cd5e1606.c0dcc8",
754     "wires": [
755       [
756         "78f46224.bc9d9c",
757         "178e4db8.c59b02"
758       ]
759     ]
760   },
761   {
762     "id": "5358502c.4d84d",
763     "type": "comment",
764     "name": "validations - required for all",
765     "info": "",
766     "comments": "",
767     "x": 537.00390625,
768     "y": 127.9999988079071,
769     "z": "cd5e1606.c0dcc8",
770     "wires": [
771       
772     ]
773   },
774   {
775     "id": "e29df723.fb6ab8",
776     "type": "comment",
777     "name": "validations specific per svc-action",
778     "info": "",
779     "comments": "",
780     "x": 549.00390625,
781     "y": 342.9999988079071,
782     "z": "cd5e1606.c0dcc8",
783     "wires": [
784       
785     ]
786   },
787   {
788     "id": "be93f819.8db9c8",
789     "type": "comment",
790     "name": "network-request-information block validations",
791     "info": "",
792     "comments": "",
793     "x": 2277.00390625,
794     "y": 929.9999988079071,
795     "z": "cd5e1606.c0dcc8",
796     "wires": [
797       
798     ]
799   },
800   {
801     "id": "c9238c13.c3f79",
802     "type": "switchNode",
803     "name": "switch network-request-information.tenant",
804     "xml": "<switch test='`$network-topology-operation-input.network-request-input.tenant`'>\n",
805     "comments": "",
806     "outputs": 1,
807     "x": 2274.00390625,
808     "y": 979.9999988079071,
809     "z": "cd5e1606.c0dcc8",
810     "wires": [
811       [
812         "6b327341.d34c9c"
813       ]
814     ]
815   },
816   {
817     "id": "6b327341.d34c9c",
818     "type": "other",
819     "name": "NULL",
820     "xml": "<outcome value=''>",
821     "comments": "",
822     "outputs": 1,
823     "x": 2515.71826171875,
824     "y": 981.9999988079071,
825     "z": "cd5e1606.c0dcc8",
826     "wires": [
827       [
828         "f7cc75bc.fb7508"
829       ]
830     ]
831   },
832   {
833     "id": "f7cc75bc.fb7508",
834     "type": "returnFailure",
835     "name": "return failure",
836     "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=\"network-request-input.tenant is a required input\" />\n",
837     "comments": "",
838     "x": 2667.1468505859375,
839     "y": 979.9999988079071,
840     "z": "cd5e1606.c0dcc8",
841     "wires": [
842       
843     ]
844   },
845   {
846     "id": "a449f5ae.312af8",
847     "type": "switchNode",
848     "name": "switch network-request-information.aic-cloud-region",
849     "xml": "<switch test='`$network-topology-operation-input.network-request-input.aic-cloud-region`'>\n",
850     "comments": "",
851     "outputs": 1,
852     "x": 2303.00390625,
853     "y": 1022.9999988079071,
854     "z": "cd5e1606.c0dcc8",
855     "wires": [
856       [
857         "12e07938.eebd67"
858       ]
859     ]
860   },
861   {
862     "id": "12e07938.eebd67",
863     "type": "other",
864     "name": "NULL",
865     "xml": "<outcome value=''>",
866     "comments": "",
867     "outputs": 1,
868     "x": 2564.71826171875,
869     "y": 1022.9999988079071,
870     "z": "cd5e1606.c0dcc8",
871     "wires": [
872       [
873         "411017cd.e8e7d8"
874       ]
875     ]
876   },
877   {
878     "id": "411017cd.e8e7d8",
879     "type": "returnFailure",
880     "name": "return failure",
881     "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=\"service-information.network-request-information.aic-cloud-region is a required input\" />\n",
882     "comments": "",
883     "x": 2729.146728515625,
884     "y": 1021.9999988079071,
885     "z": "cd5e1606.c0dcc8",
886     "wires": [
887       
888     ]
889   },
890   {
891     "id": "fd80c464.68ff68",
892     "type": "switchNode",
893     "name": "switch onap-model-information.model-uuid",
894     "xml": "<switch test='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`'>\n",
895     "comments": "",
896     "outputs": 1,
897     "x": 2266.1468505859375,
898     "y": 849.8571155071259,
899     "z": "cd5e1606.c0dcc8",
900     "wires": [
901       [
902         "bf2b8802.529248"
903       ]
904     ]
905   },
906   {
907     "id": "bf2b8802.529248",
908     "type": "other",
909     "name": "NULL",
910     "xml": "<outcome value=''>",
911     "comments": "",
912     "outputs": 1,
913     "x": 2506.1468505859375,
914     "y": 850.8571155071259,
915     "z": "cd5e1606.c0dcc8",
916     "wires": [
917       [
918         "c8b441e9.e2bc9"
919       ]
920     ]
921   },
922   {
923     "id": "c8b441e9.e2bc9",
924     "type": "returnFailure",
925     "name": "return failure",
926     "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=\"network-information.onap-model-information.model-uuid is a required input\" />\n",
927     "comments": "",
928     "x": 2671.5753173828125,
929     "y": 848.8570849895477,
930     "z": "cd5e1606.c0dcc8",
931     "wires": [
932       
933     ]
934   },
935   {
936     "id": "416cb672.740808",
937     "type": "switchNode",
938     "name": "switch onap-model-information.model-customization-uuid",
939     "xml": "<switch test='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`'>\n",
940     "comments": "",
941     "outputs": 1,
942     "x": 2311.00390625,
943     "y": 808.9999988079071,
944     "z": "cd5e1606.c0dcc8",
945     "wires": [
946       [
947         "d6b8ccdf.da70c"
948       ]
949     ]
950   },
951   {
952     "id": "d6b8ccdf.da70c",
953     "type": "other",
954     "name": "NULL",
955     "xml": "<outcome value=''>",
956     "comments": "",
957     "outputs": 1,
958     "x": 2607.00390625,
959     "y": 809.9999988079071,
960     "z": "cd5e1606.c0dcc8",
961     "wires": [
962       [
963         "1c49c6e.f874e39"
964       ]
965     ]
966   },
967   {
968     "id": "1c49c6e.f874e39",
969     "type": "returnFailure",
970     "name": "return failure",
971     "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=\"network-information.onap-model-information.model-customization-uuid is a required input\" />\n",
972     "comments": "",
973     "x": 2754.432373046875,
974     "y": 809.9999988079071,
975     "z": "cd5e1606.c0dcc8",
976     "wires": [
977       
978     ]
979   },
980   {
981     "id": "cf4a32b5.6699",
982     "type": "returnSuccess",
983     "name": "return success",
984     "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
985     "comments": "",
986     "x": 511.3609809875488,
987     "y": 706.6428334712982,
988     "z": "cd5e1606.c0dcc8",
989     "wires": [
990       
991     ]
992   },
993   {
994     "id": "e96a8642.305778",
995     "type": "get-resource",
996     "name": "get-resource NETWORK_MODEL",
997     "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from NETWORK_MODEL WHERE customization_uuid = $network-topology-operation-input.network-information.onap-model-information.model-customization-uuid\n  and service_uuid = $network-topology-operation-input.service-information.onap-model-information.model-uuid'\n  pfx='network-model'>\n\n",
998     "comments": "",
999     "outputs": 1,
1000     "x": 2989.1869735717773,
1001     "y": 1293.1784751415253,
1002     "z": "cd5e1606.c0dcc8",
1003     "wires": [
1004       [
1005         "f00cd782.2f4528",
1006         "833d5e59.8da03"
1007       ]
1008     ]
1009   },
1010   {
1011     "id": "99436cff.71a52",
1012     "type": "returnFailure",
1013     "name": "return failure",
1014     "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=\"`'No network model found for customization UUID ' \n    + $network-topology-operation-input.network-information.onap-model-information.model-customization-uuid +\n    ' and model-uuid ' + $network-topology-operation-input.service-information.onap-model-information.model-uuid`\" />\n",
1015     "comments": "",
1016     "x": 3448.6511764526367,
1017     "y": 1284.2258908748627,
1018     "z": "cd5e1606.c0dcc8",
1019     "wires": [
1020       
1021     ]
1022   },
1023   {
1024     "id": "f00cd782.2f4528",
1025     "type": "not-found",
1026     "name": "not-found",
1027     "xml": "<outcome value='not-found'>\n",
1028     "comments": "",
1029     "outputs": 1,
1030     "x": 3249.9011878967285,
1031     "y": 1277.5830972194672,
1032     "z": "cd5e1606.c0dcc8",
1033     "wires": [
1034       [
1035         "99436cff.71a52"
1036       ]
1037     ]
1038   },
1039   {
1040     "id": "833d5e59.8da03",
1041     "type": "failure",
1042     "name": "failure",
1043     "xml": "<outcome value='failure'>\n",
1044     "comments": "",
1045     "outputs": 1,
1046     "x": 3243.6511878967285,
1047     "y": 1310.0830972194672,
1048     "z": "cd5e1606.c0dcc8",
1049     "wires": [
1050       [
1051         "99436cff.71a52"
1052       ]
1053     ]
1054   },
1055   {
1056     "id": "78f46224.bc9d9c",
1057     "type": "other",
1058     "name": "NULL",
1059     "xml": "<outcome value=''>",
1060     "comments": "",
1061     "outputs": 1,
1062     "x": 2538.818649291992,
1063     "y": 1077.5925891399384,
1064     "z": "cd5e1606.c0dcc8",
1065     "wires": [
1066       [
1067         "2dfa7f78.06543"
1068       ]
1069     ]
1070   },
1071   {
1072     "id": "178e4db8.c59b02",
1073     "type": "other",
1074     "name": "Other",
1075     "xml": "<outcome value='Other'>",
1076     "comments": "",
1077     "outputs": 1,
1078     "x": 2545.0685844421387,
1079     "y": 1216.759194135666,
1080     "z": "cd5e1606.c0dcc8",
1081     "wires": [
1082       [
1083         "7c0ea99f.5a1678"
1084       ]
1085     ]
1086   },
1087   {
1088     "id": "fe208cbc.dc6fa",
1089     "type": "get-resource",
1090     "name": "get-resource SERVICE_MODEL",
1091     "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from SERVICE_MODEL WHERE service_uuid = $network-topology-operation-input.service-information.onap-model-information.model-uuid'\n  pfx='service-model'>\n\n",
1092     "comments": "",
1093     "outputs": 1,
1094     "x": 2991.6869583129883,
1095     "y": 1216.2432477474213,
1096     "z": "cd5e1606.c0dcc8",
1097     "wires": [
1098       [
1099         "1c40e946.8c8157",
1100         "793372b8.fc938c"
1101       ]
1102     ]
1103   },
1104   {
1105     "id": "789a1cde.2f3584",
1106     "type": "returnFailure",
1107     "name": "return failure",
1108     "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=\"`'No service model found for service UUID ' + $network-topology-operation-input.service-information.onap-model-information.model-uuid`\" />\n",
1109     "comments": "",
1110     "x": 3438.7703247070312,
1111     "y": 1216.2432782649994,
1112     "z": "cd5e1606.c0dcc8",
1113     "wires": [
1114       
1115     ]
1116   },
1117   {
1118     "id": "1c40e946.8c8157",
1119     "type": "not-found",
1120     "name": "not-found",
1121     "xml": "<outcome value='not-found'>\n",
1122     "comments": "",
1123     "outputs": 1,
1124     "x": 3240.020404815674,
1125     "y": 1211.600494146347,
1126     "z": "cd5e1606.c0dcc8",
1127     "wires": [
1128       [
1129         "789a1cde.2f3584"
1130       ]
1131     ]
1132   },
1133   {
1134     "id": "793372b8.fc938c",
1135     "type": "failure",
1136     "name": "failure",
1137     "xml": "<outcome value='failure'>\n",
1138     "comments": "",
1139     "outputs": 1,
1140     "x": 3233.770404815674,
1141     "y": 1244.100494146347,
1142     "z": "cd5e1606.c0dcc8",
1143     "wires": [
1144       [
1145         "789a1cde.2f3584"
1146       ]
1147     ]
1148   },
1149   {
1150     "id": "2f9cf39c.ecdeac",
1151     "type": "get-resource",
1152     "name": "get-resource NETWORK_MODEL",
1153     "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from NETWORK_MODEL WHERE customization_uuid = $network-topology-operation-input.network-information.onap-model-information.model-customization-uuid\n  and service_uuid = $service-data.service-information.onap-model-information.model-uuid'\n  pfx='network-model'>\n\n",
1154     "comments": "",
1155     "outputs": 1,
1156     "x": 2985.373161315918,
1157     "y": 1152.4007976055145,
1158     "z": "cd5e1606.c0dcc8",
1159     "wires": [
1160       [
1161         "de12035b.bf10a",
1162         "d50a76bd.bc3228"
1163       ]
1164     ]
1165   },
1166   {
1167     "id": "67a5ef63.346e1",
1168     "type": "returnFailure",
1169     "name": "return failure",
1170     "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=\"`'No network model found for customization UUID ' \n    + $network-topology-operation-input.network-information.onap-model-information.model-customization-uuid +\n    ' and model-uuid ' + $network-topology-operation-input.service-information.onap-model-information.model-uuid`\" />\n",
1171     "comments": "",
1172     "x": 3444.8373641967773,
1173     "y": 1143.448213338852,
1174     "z": "cd5e1606.c0dcc8",
1175     "wires": [
1176       
1177     ]
1178   },
1179   {
1180     "id": "de12035b.bf10a",
1181     "type": "not-found",
1182     "name": "not-found",
1183     "xml": "<outcome value='not-found'>\n",
1184     "comments": "",
1185     "outputs": 1,
1186     "x": 3246.087375640869,
1187     "y": 1136.8054196834564,
1188     "z": "cd5e1606.c0dcc8",
1189     "wires": [
1190       [
1191         "67a5ef63.346e1"
1192       ]
1193     ]
1194   },
1195   {
1196     "id": "d50a76bd.bc3228",
1197     "type": "failure",
1198     "name": "failure",
1199     "xml": "<outcome value='failure'>\n",
1200     "comments": "",
1201     "outputs": 1,
1202     "x": 3241.0873527526855,
1203     "y": 1168.055418729782,
1204     "z": "cd5e1606.c0dcc8",
1205     "wires": [
1206       [
1207         "67a5ef63.346e1"
1208       ]
1209     ]
1210   },
1211   {
1212     "id": "bc655191.0e724",
1213     "type": "get-resource",
1214     "name": "get-resource SERVICE_MODEL",
1215     "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from SERVICE_MODEL WHERE service_uuid = $service-data.service-information.onap-model-information.model-uuid'\n  pfx='service-model'>",
1216     "comments": "",
1217     "outputs": 1,
1218     "x": 2984.1230850219727,
1219     "y": 1077.965463399887,
1220     "z": "cd5e1606.c0dcc8",
1221     "wires": [
1222       [
1223         "8e2d24f5.121c68",
1224         "7c889074.1b565"
1225       ]
1226     ]
1227   },
1228   {
1229     "id": "d18ba133.1177",
1230     "type": "returnFailure",
1231     "name": "return failure",
1232     "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=\"`'No service model found for service UUID ' + $network-topology-operation-input.service-information.onap-model-information.model-uuid`\" />\n",
1233     "comments": "",
1234     "x": 3434.956512451172,
1235     "y": 1075.4656007289886,
1236     "z": "cd5e1606.c0dcc8",
1237     "wires": [
1238       
1239     ]
1240   },
1241   {
1242     "id": "8e2d24f5.121c68",
1243     "type": "not-found",
1244     "name": "not-found",
1245     "xml": "<outcome value='not-found'>\n",
1246     "comments": "",
1247     "outputs": 1,
1248     "x": 3236.2065925598145,
1249     "y": 1070.8228166103363,
1250     "z": "cd5e1606.c0dcc8",
1251     "wires": [
1252       [
1253         "d18ba133.1177"
1254       ]
1255     ]
1256   },
1257   {
1258     "id": "7c889074.1b565",
1259     "type": "failure",
1260     "name": "failure",
1261     "xml": "<outcome value='failure'>\n",
1262     "comments": "",
1263     "outputs": 1,
1264     "x": 3229.9565925598145,
1265     "y": 1103.3228166103363,
1266     "z": "cd5e1606.c0dcc8",
1267     "wires": [
1268       [
1269         "d18ba133.1177"
1270       ]
1271     ]
1272   },
1273   {
1274     "id": "2dfa7f78.06543",
1275     "type": "block",
1276     "name": "block : atomic",
1277     "xml": "<block atomic=\"true\">",
1278     "atomic": "true",
1279     "outputs": 1,
1280     "x": 2714.1428985595703,
1281     "y": 1076.8054172992706,
1282     "z": "cd5e1606.c0dcc8",
1283     "wires": [
1284       [
1285         "bc655191.0e724",
1286         "2f9cf39c.ecdeac"
1287       ]
1288     ]
1289   },
1290   {
1291     "id": "7c0ea99f.5a1678",
1292     "type": "block",
1293     "name": "block : atomic",
1294     "xml": "<block atomic=\"true\">",
1295     "atomic": "true",
1296     "outputs": 1,
1297     "x": 2706.6428985595703,
1298     "y": 1215.5554206371307,
1299     "z": "cd5e1606.c0dcc8",
1300     "wires": [
1301       [
1302         "fe208cbc.dc6fa",
1303         "e96a8642.305778"
1304       ]
1305     ]
1306   },
1307   {
1308     "id": "3c8e6628.d91a7a",
1309     "type": "outcome",
1310     "name": "ActivateDCINetworkInstance",
1311     "xml": "<outcome value='ActivateDCINetworkInstance'>",
1312     "comments": "",
1313     "outputs": 1,
1314     "x": 1420.6704940795898,
1315     "y": 474.9999988079071,
1316     "z": "cd5e1606.c0dcc8",
1317     "wires": [
1318       [
1319         "875e8d68.e9af6"
1320       ]
1321     ]
1322   },
1323   {
1324     "id": "6fed75a2.decf0c",
1325     "type": "outcome",
1326     "name": "DeActivateDCINetworkInstance",
1327     "xml": "<outcome value='DeActivateDCINetworkInstance'>",
1328     "comments": "",
1329     "outputs": 1,
1330     "x": 1442.0038681030273,
1331     "y": 637.9999988079071,
1332     "z": "cd5e1606.c0dcc8",
1333     "wires": [
1334       [
1335         "104b7f33.e975b1"
1336       ]
1337     ]
1338   },
1339   {
1340     "id": "f8366874.128af8",
1341     "type": "switchNode",
1342     "name": "switch onap-model-information.model-invariant-uuid",
1343     "xml": "<switch test='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`'>\n",
1344     "comments": "",
1345     "outputs": 1,
1346     "x": 2293.0039672851562,
1347     "y": 774.0000350475311,
1348     "z": "cd5e1606.c0dcc8",
1349     "wires": [
1350       [
1351         "a9b08bc9.314328"
1352       ]
1353     ]
1354   },
1355   {
1356     "id": "a9b08bc9.314328",
1357     "type": "other",
1358     "name": "NULL",
1359     "xml": "<outcome value=''>",
1360     "comments": "",
1361     "outputs": 1,
1362     "x": 2578.0040283203125,
1363     "y": 773.0000293254852,
1364     "z": "cd5e1606.c0dcc8",
1365     "wires": [
1366       [
1367         "660b21a9.185aa"
1368       ]
1369     ]
1370   },
1371   {
1372     "id": "660b21a9.185aa",
1373     "type": "returnFailure",
1374     "name": "return failure",
1375     "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=\"network-information.onap-model-information.model-invariant-uuid is a required input\" />\n",
1376     "comments": "",
1377     "x": 2729.4324951171875,
1378     "y": 772.0000293254852,
1379     "z": "cd5e1606.c0dcc8",
1380     "wires": [
1381       
1382     ]
1383   },
1384   {
1385     "id": "2a04f924.bc59c6",
1386     "type": "comment",
1387     "name": "network-information.onap-model-information block validations",
1388     "info": "",
1389     "comments": "",
1390     "x": 2312.1468505859375,
1391     "y": 734.8571155071259,
1392     "z": "cd5e1606.c0dcc8",
1393     "wires": [
1394       
1395     ]
1396   },
1397   {
1398     "id": "d7a16e1b.af209",
1399     "type": "switchNode",
1400     "name": "switch network-information.network-id",
1401     "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n\n",
1402     "comments": "",
1403     "outputs": 1,
1404     "x": 2248.0038299560547,
1405     "y": 643.3333556652069,
1406     "z": "cd5e1606.c0dcc8",
1407     "wires": [
1408       [
1409         "539f2742.e1fa38",
1410         "cf298caa.2064f"
1411       ]
1412     ]
1413   },
1414   {
1415     "id": "539f2742.e1fa38",
1416     "type": "other",
1417     "name": "Other",
1418     "xml": "<outcome value='Other'>",
1419     "comments": "",
1420     "outputs": 1,
1421     "x": 2544.0037803649902,
1422     "y": 676.0000674724579,
1423     "z": "cd5e1606.c0dcc8",
1424     "wires": [
1425       [
1426         "efbdc310.4df6b"
1427       ]
1428     ]
1429   },
1430   {
1431     "id": "efbdc310.4df6b",
1432     "type": "block",
1433     "name": "block",
1434     "xml": "<block>\n",
1435     "atomic": "false",
1436     "comments": "",
1437     "outputs": 1,
1438     "x": 2678.115036010742,
1439     "y": 676.4444720745087,
1440     "z": "cd5e1606.c0dcc8",
1441     "wires": [
1442       [
1443         "aa96a81e.338e18"
1444       ]
1445     ]
1446   },
1447   {
1448     "id": "aa96a81e.338e18",
1449     "type": "switchNode",
1450     "name": "switch service-data.networks.network_length",
1451     "xml": "<switch test='`$service-data.networks.network_length`'>\n",
1452     "comments": "",
1453     "outputs": 1,
1454     "x": 2951.829147338867,
1455     "y": 678.0158221721649,
1456     "z": "cd5e1606.c0dcc8",
1457     "wires": [
1458       [
1459         "a6924a9.366acb8",
1460         "d67b8110.cf084"
1461       ]
1462     ]
1463   },
1464   {
1465     "id": "a6924a9.366acb8",
1466     "type": "other",
1467     "name": "outcome Null",
1468     "xml": "<outcome value=''>\n",
1469     "comments": "",
1470     "outputs": 1,
1471     "x": 3240.829147338867,
1472     "y": 680.0158832073212,
1473     "z": "cd5e1606.c0dcc8",
1474     "wires": [
1475       [
1476         "38331b12.104364"
1477       ]
1478     ]
1479   },
1480   {
1481     "id": "d67b8110.cf084",
1482     "type": "other",
1483     "name": "other",
1484     "xml": "<outcome value='Other'>\n",
1485     "comments": "",
1486     "outputs": 1,
1487     "x": 3220.829147338867,
1488     "y": 715.0158832073212,
1489     "z": "cd5e1606.c0dcc8",
1490     "wires": [
1491       [
1492         "27a40eb8.35dc12"
1493       ]
1494     ]
1495   },
1496   {
1497     "id": "27a40eb8.35dc12",
1498     "type": "block",
1499     "name": "block : atomic",
1500     "xml": "<block atomic=\"true\">",
1501     "atomic": "true",
1502     "outputs": 1,
1503     "x": 3422.099166870117,
1504     "y": 716.5704486370087,
1505     "z": "cd5e1606.c0dcc8",
1506     "wires": [
1507       [
1508         "c4349cea.5f846",
1509         "ceec98b4.2ffb48"
1510       ]
1511     ]
1512   },
1513   {
1514     "id": "c4349cea.5f846",
1515     "type": "for",
1516     "name": "for nidx..service-data.networks.network[]",
1517     "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
1518     "comments": "",
1519     "outputs": 1,
1520     "x": 3692.115203857422,
1521     "y": 715.4444644451141,
1522     "z": "cd5e1606.c0dcc8",
1523     "wires": [
1524       [
1525         "3a558d2e.ab0422"
1526       ]
1527     ]
1528   },
1529   {
1530     "id": "3a558d2e.ab0422",
1531     "type": "switchNode",
1532     "name": "switch networkid found",
1533     "xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
1534     "comments": "",
1535     "outputs": 1,
1536     "x": 3982.5437545776367,
1537     "y": 714.694548368454,
1538     "z": "cd5e1606.c0dcc8",
1539     "wires": [
1540       [
1541         "5c767e8.1709a8"
1542       ]
1543     ]
1544   },
1545   {
1546     "id": "5c767e8.1709a8",
1547     "type": "outcomeTrue",
1548     "name": "true",
1549     "xml": "<outcome value='true'>\n",
1550     "comments": "",
1551     "outputs": 1,
1552     "x": 4171.496109008789,
1553     "y": 715.5872867107391,
1554     "z": "cd5e1606.c0dcc8",
1555     "wires": [
1556       [
1557         "24b6b776.af3398"
1558       ]
1559     ]
1560   },
1561   {
1562     "id": "399ed923.ac8ab6",
1563     "type": "set",
1564     "name": "set tmp.nidx and ctx.network-data",
1565     "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
1566     "comments": "",
1567     "x": 4615.027877807617,
1568     "y": 724.3373095989227,
1569     "z": "cd5e1606.c0dcc8",
1570     "wires": [
1571       
1572     ]
1573   },
1574   {
1575     "id": "ceec98b4.2ffb48",
1576     "type": "switchNode",
1577     "name": "switch tmp.nidx ",
1578     "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
1579     "comments": "",
1580     "outputs": 1,
1581     "x": 3610.416633605957,
1582     "y": 757.4276711940765,
1583     "z": "cd5e1606.c0dcc8",
1584     "wires": [
1585       [
1586         "96827960.07e628"
1587       ]
1588     ]
1589   },
1590   {
1591     "id": "d3abbc81.d91ab",
1592     "type": "returnFailure",
1593     "name": "return failure",
1594     "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=\"network-topology-operation-input.network-request-input.network-id not found in service-data\" />\n",
1595     "comments": "",
1596     "x": 3963.2736167907715,
1597     "y": 753.1419131755829,
1598     "z": "cd5e1606.c0dcc8",
1599     "wires": [
1600       
1601     ]
1602   },
1603   {
1604     "id": "96827960.07e628",
1605     "type": "outcome",
1606     "name": "NULL",
1607     "xml": "<outcome value=''>\n",
1608     "comments": "",
1609     "outputs": 1,
1610     "x": 3781.845169067383,
1611     "y": 755.9990565776825,
1612     "z": "cd5e1606.c0dcc8",
1613     "wires": [
1614       [
1615         "d3abbc81.d91ab"
1616       ]
1617     ]
1618   },
1619   {
1620     "id": "976eb0b3.3ee26",
1621     "type": "switchNode",
1622     "name": "switch order-status",
1623     "xml": "<switch test='`$ctx.network-data.network-data.network-level-oper-status.order-status`'>\n",
1624     "comments": "",
1625     "outputs": 1,
1626     "x": 4573.448287963867,
1627     "y": 761.4444873332977,
1628     "z": "cd5e1606.c0dcc8",
1629     "wires": [
1630       [
1631         "894b90cf.4a9a"
1632       ]
1633     ]
1634   },
1635   {
1636     "id": "894b90cf.4a9a",
1637     "type": "other",
1638     "name": "outcome Created",
1639     "xml": "<outcome value='Created'>\n",
1640     "comments": "",
1641     "outputs": 1,
1642     "x": 4787.448287963867,
1643     "y": 761.4444873332977,
1644     "z": "cd5e1606.c0dcc8",
1645     "wires": [
1646       [
1647         "6704e2e0.e6d2ac"
1648       ]
1649     ]
1650   },
1651   {
1652     "id": "6704e2e0.e6d2ac",
1653     "type": "returnFailure",
1654     "name": "return failure",
1655     "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=\"`'Network aready exists in Created state matching network-id ' + $network-topology-operation-input.network-information.network-id`\" />\n",
1656     "comments": "",
1657     "x": 4991.448287963867,
1658     "y": 757.4444720745087,
1659     "z": "cd5e1606.c0dcc8",
1660     "wires": [
1661       
1662     ]
1663   },
1664   {
1665     "id": "24b6b776.af3398",
1666     "type": "block",
1667     "name": "block : atomic",
1668     "xml": "<block atomic=\"true\">",
1669     "atomic": "true",
1670     "outputs": 1,
1671     "x": 4320.114547729492,
1672     "y": 715.4444720745087,
1673     "z": "cd5e1606.c0dcc8",
1674     "wires": [
1675       [
1676         "399ed923.ac8ab6"
1677       ]
1678     ]
1679   },
1680   {
1681     "id": "38331b12.104364",
1682     "type": "record",
1683     "name": "record",
1684     "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"GENERIC-RESOURCE-API.validate-network-input\"/>\n<parameter name=\"field3\" value=\"`$network-topology-operation-input.sdnc-request-header.svc-request-id`\"/>\n<parameter name=\"field4\" value=\"Network id proveded but no network exists that matches\"/>\n<parameter name=\"field5\" value=\"`$network-topology-operation-input.network-information.network-id`\"/>\n\n\n\n",
1685     "comments": "",
1686     "outputs": 1,
1687     "x": 3402.115036010742,
1688     "y": 679.4444720745087,
1689     "z": "cd5e1606.c0dcc8",
1690     "wires": [
1691       [
1692         
1693       ]
1694     ]
1695   },
1696   {
1697     "id": "56dfe279.93c1fc",
1698     "type": "switchNode",
1699     "name": "switch network-information.network-id",
1700     "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
1701     "comments": "",
1702     "outputs": 1,
1703     "x": 2246.0037536621094,
1704     "y": 596.6666724681854,
1705     "z": "cd5e1606.c0dcc8",
1706     "wires": [
1707       [
1708         "d731fd6c.5f66a"
1709       ]
1710     ]
1711   },
1712   {
1713     "id": "d731fd6c.5f66a",
1714     "type": "other",
1715     "name": "NULL",
1716     "xml": "<outcome value=''>",
1717     "comments": "",
1718     "outputs": 1,
1719     "x": 2474.7180786132812,
1720     "y": 598.6666724681854,
1721     "z": "cd5e1606.c0dcc8",
1722     "wires": [
1723       [
1724         "f8512ef0.9e14e"
1725       ]
1726     ]
1727   },
1728   {
1729     "id": "f8512ef0.9e14e",
1730     "type": "returnFailure",
1731     "name": "return failure",
1732     "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=\"service-information.network-information.network-id is a required input\" />\n",
1733     "comments": "",
1734     "x": 2639.146697998047,
1735     "y": 596.6666724681854,
1736     "z": "cd5e1606.c0dcc8",
1737     "wires": [
1738       
1739     ]
1740   },
1741   {
1742     "id": "cf298caa.2064f",
1743     "type": "other",
1744     "name": "NULL",
1745     "xml": "<outcome value=''>",
1746     "comments": "",
1747     "outputs": 1,
1748     "x": 2541.6706771850586,
1749     "y": 642.9999415874481,
1750     "z": "cd5e1606.c0dcc8",
1751     "wires": [
1752       [
1753         
1754       ]
1755     ]
1756   },
1757   {
1758     "id": "875e8d68.e9af6",
1759     "type": "block",
1760     "name": "block : atomic",
1761     "xml": "<block atomic=\"true\">",
1762     "atomic": "true",
1763     "comments": "",
1764     "outputs": 1,
1765     "x": 1646.9765625,
1766     "y": 449.00390696525574,
1767     "z": "cd5e1606.c0dcc8",
1768     "wires": [
1769       [
1770         
1771       ]
1772     ]
1773   },
1774   {
1775     "id": "104b7f33.e975b1",
1776     "type": "block",
1777     "name": "block : atomic",
1778     "xml": "<block atomic=\"true\">",
1779     "atomic": "true",
1780     "comments": "",
1781     "outputs": 1,
1782     "x": 1698.0039520263672,
1783     "y": 627.0312669277191,
1784     "z": "cd5e1606.c0dcc8",
1785     "wires": [
1786       [
1787         
1788       ]
1789     ]
1790   },
1791   {
1792     "id": "631913c6.522e9c",
1793     "type": "outcome",
1794     "name": "ActivateSOTNConnectivityInstance",
1795     "xml": "<outcome value='ActivateSOTNConnectivityInstance'>",
1796     "comments": "",
1797     "outputs": 1,
1798     "x": 1250.7539672851562,
1799     "y": 441.00390434265137,
1800     "z": "cd5e1606.c0dcc8",
1801     "wires": [
1802       [
1803         "eee16eb3.ee727"
1804       ]
1805     ]
1806   },
1807   {
1808     "id": "eee16eb3.ee727",
1809     "type": "block",
1810     "name": "block : atomic",
1811     "xml": "<block atomic=\"true\">",
1812     "atomic": "true",
1813     "comments": "",
1814     "outputs": 1,
1815     "x": 1476.7539367675781,
1816     "y": 441.00395011901855,
1817     "z": "cd5e1606.c0dcc8",
1818     "wires": [
1819       [
1820         
1821       ]
1822     ]
1823   },
1824   {
1825     "id": "1da958a1.745b77",
1826     "type": "outcome",
1827     "name": "DeactivateSOTNConnectivityInstance",
1828     "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
1829     "comments": "",
1830     "outputs": 1,
1831     "x": 1307.75390625,
1832     "y": 599.00390625,
1833     "z": "cd5e1606.c0dcc8",
1834     "wires": [
1835       [
1836         "9eaa2ade.3cbb68"
1837       ]
1838     ]
1839   },
1840   {
1841     "id": "9eaa2ade.3cbb68",
1842     "type": "block",
1843     "name": "block : atomic",
1844     "xml": "<block atomic=\"true\">",
1845     "atomic": "true",
1846     "comments": "",
1847     "outputs": 1,
1848     "x": 1533.7538757324219,
1849     "y": 599.0039520263672,
1850     "z": "cd5e1606.c0dcc8",
1851     "wires": [
1852       [
1853         
1854       ]
1855     ]
1856   }
1857 ]