Fix tunnelxconn assign issues
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_validate-network-input.json
1 [
2   {
3     "id":"3562cf58.a10c3",
4     "type":"dgstart",
5     "name":"DGSTART",
6     "outputs":1,
7     "x":124.66666412353516,
8     "y":56,
9     "z":"9587f32a.6a9aa",
10     "wires":[
11       [
12         "e0c4e082.c3295"
13       ]
14     ]
15   },
16   {
17     "id":"e0c4e082.c3295",
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":196.9523696899414,
26     "y":108.23811340332031,
27     "z":"9587f32a.6a9aa",
28     "wires":[
29       [
30         "74573d69.9fc2d4"
31       ]
32     ]
33   },
34   {
35     "id":"74573d69.9fc2d4",
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":197.0952911376953,
42     "y":170,
43     "z":"9587f32a.6a9aa",
44     "wires":[
45       [
46         "38143f74.bd9fb"
47       ]
48     ]
49   },
50   {
51     "id":"38143f74.bd9fb",
52     "type":"block",
53     "name":"block : atomic",
54     "xml":"<block atomic=\"true\">",
55     "atomic":"true",
56     "outputs":1,
57     "x":210.41670989990234,
58     "y":452.44349479675293,
59     "z":"9587f32a.6a9aa",
60     "wires":[
61       [
62         "6a4466c6.034508",
63         "a2d77c10.0ac29",
64         "a84fadec.2e44e",
65         "ffea4923.ca61d8",
66         "d893960c.dd4f28",
67         "5bf0bd5.e1cf344"
68       ]
69     ]
70   },
71   {
72     "id":"6a4466c6.034508",
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":526.8095245361328,
79     "y":178.42859077453613,
80     "z":"9587f32a.6a9aa",
81     "wires":[
82       [
83         "2121585b.cc4c88"
84       ]
85     ]
86   },
87   {
88     "id":"2121585b.cc4c88",
89     "type":"other",
90     "name":"NULL",
91     "xml":"<outcome value=''>",
92     "comments":"",
93     "outputs":1,
94     "x":752.523828778948,
95     "y":178.42859322684126,
96     "z":"9587f32a.6a9aa",
97     "wires":[
98       [
99         "b7fb6dfb.8d24d"
100       ]
101     ]
102   },
103   {
104     "id":"b7fb6dfb.8d24d",
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":903.9523947579519,
110     "y":178.42859131949263,
111     "z":"9587f32a.6a9aa",
112     "wires":[
113
114     ]
115   },
116   {
117     "id":"a2d77c10.0ac29",
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":515.3808975219727,
124     "y":137.00002098083496,
125     "z":"9587f32a.6a9aa",
126     "wires":[
127       [
128         "b4f2a460.952418"
129       ]
130     ]
131   },
132   {
133     "id":"b4f2a460.952418",
134     "type":"other",
135     "name":"NULL",
136     "xml":"<outcome value=''>",
137     "comments":"",
138     "outputs":1,
139     "x":751.0952491760254,
140     "y":135.57141876220703,
141     "z":"9587f32a.6a9aa",
142     "wires":[
143       [
144         "61cade62.7bdae"
145       ]
146     ]
147   },
148   {
149     "id":"61cade62.7bdae",
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":901.0952224731445,
155     "y":135.5714282989502,
156     "z":"9587f32a.6a9aa",
157     "wires":[
158
159     ]
160   },
161   {
162     "id":"a84fadec.2e44e",
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":525.3809356689453,
169     "y":221.285737991333,
170     "z":"9587f32a.6a9aa",
171     "wires":[
172       [
173         "f530f35d.dff69"
174       ]
175     ]
176   },
177   {
178     "id":"f530f35d.dff69",
179     "type":"other",
180     "name":"NULL",
181     "xml":"<outcome value=''>",
182     "comments":"",
183     "outputs":1,
184     "x":752.5238244192942,
185     "y":221.28574698311968,
186     "z":"9587f32a.6a9aa",
187     "wires":[
188       [
189         "81af5b92.07ad88"
190       ]
191     ]
192   },
193   {
194     "id":"81af5b92.07ad88",
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":903.9523903982981,
200     "y":221.28574507577105,
201     "z":"9587f32a.6a9aa",
202     "wires":[
203
204     ]
205   },
206   {
207     "id":"ffea4923.ca61d8",
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":534.5238418579102,
214     "y":264,
215     "z":"9587f32a.6a9aa",
216     "wires":[
217       [
218         "f94eed30.1cf1f"
219       ]
220     ]
221   },
222   {
223     "id":"f94eed30.1cf1f",
224     "type":"other",
225     "name":"NULL",
226     "xml":"<outcome value=''>",
227     "comments":"",
228     "outputs":1,
229     "x":750.9524307250977,
230     "y":265,
231     "z":"9587f32a.6a9aa",
232     "wires":[
233       [
234         "8de683d9.482d8"
235       ]
236     ]
237   },
238   {
239     "id":"8de683d9.482d8",
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":909.3809585571289,
245     "y":264,
246     "z":"9587f32a.6a9aa",
247     "wires":[
248
249     ]
250   },
251   {
252     "id":"5c67dc8d.8d5404",
253     "type":"comment",
254     "name":"validate-network-input - CHANGELOG",
255     "info":"12/8: Initial release 1.0.0",
256     "comments":"",
257     "x":409.66666412353516,
258     "y":20,
259     "z":"9587f32a.6a9aa",
260     "wires":[
261
262     ]
263   },
264   {
265     "id":"d893960c.dd4f28",
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":511.66666412353516,
272     "y":351,
273     "z":"9587f32a.6a9aa",
274     "wires":[
275       [
276         "bbb03e72.c193c",
277         "d561d416.9bde38",
278         "6249118d.6483f",
279         "3af74b5a.5deb94"
280       ]
281     ]
282   },
283   {
284     "id":"bbb03e72.c193c",
285     "type":"other",
286     "name":"assign",
287     "xml":"<outcome value='assign'>",
288     "comments":"",
289     "outputs":1,
290     "x":744.3810195922852,
291     "y":356.5714111328125,
292     "z":"9587f32a.6a9aa",
293     "wires":[
294       [
295         "891109fe.945338"
296       ]
297     ]
298   },
299   {
300     "id":"d561d416.9bde38",
301     "type":"other",
302     "name":"activate",
303     "xml":"<outcome value='activate'>",
304     "comments":"",
305     "outputs":1,
306     "x":739.6667709350586,
307     "y":486.99999046325684,
308     "z":"9587f32a.6a9aa",
309     "wires":[
310       [
311         "715e1bb3.dc8644"
312       ]
313     ]
314   },
315   {
316     "id":"6249118d.6483f",
317     "type":"other",
318     "name":"deactivate",
319     "xml":"<outcome value='deactivate'>",
320     "comments":"",
321     "outputs":1,
322     "x":742.6667327880859,
323     "y":653.0000133514404,
324     "z":"9587f32a.6a9aa",
325     "wires":[
326       [
327         "34bfca22.5765e6"
328       ]
329     ]
330   },
331   {
332     "id":"891109fe.945338",
333     "type":"block",
334     "name":"block : atomic",
335     "xml":"<block atomic=\"true\">",
336     "atomic":"true",
337     "comments":"",
338     "outputs":1,
339     "x":906.6666641235352,
340     "y":356,
341     "z":"9587f32a.6a9aa",
342     "wires":[
343       [
344         "fa6a9864.20de58"
345       ]
346     ]
347   },
348   {
349     "id":"fa6a9864.20de58",
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":1126.6666641235352,
356     "y":356,
357     "z":"9587f32a.6a9aa",
358     "wires":[
359       [
360         "6cbfdbf5.656f04",
361         "e45f32a3.8baec"
362       ]
363     ]
364   },
365   {
366     "id":"6cbfdbf5.656f04",
367     "type":"other",
368     "name":"CreateNetworkInstance",
369     "xml":"<outcome value='CreateNetworkInstance'>",
370     "comments":"",
371     "outputs":1,
372     "x":1406.6666641235352,
373     "y":321,
374     "z":"9587f32a.6a9aa",
375     "wires":[
376       [
377         "a3e07e88.c882c"
378       ]
379     ]
380   },
381   {
382     "id":"e45f32a3.8baec",
383     "type":"other",
384     "name":"Other",
385     "xml":"<outcome value='Other'>",
386     "comments":"",
387     "outputs":1,
388     "x":1355.6666641235352,
389     "y":365,
390     "z":"9587f32a.6a9aa",
391     "wires":[
392       [
393         "1947914a.274a4f"
394       ]
395     ]
396   },
397   {
398     "id":"1947914a.274a4f",
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":1524.6666641235352,
404     "y":365,
405     "z":"9587f32a.6a9aa",
406     "wires":[
407
408     ]
409   },
410   {
411     "id":"715e1bb3.dc8644",
412     "type":"block",
413     "name":"block : atomic",
414     "xml":"<block atomic=\"true\">",
415     "atomic":"true",
416     "outputs":1,
417     "x":913.6667709350586,
418     "y":486.99999046325684,
419     "z":"9587f32a.6a9aa",
420     "wires":[
421       [
422         "61933e36.32ebf"
423       ]
424     ]
425   },
426   {
427     "id":"61933e36.32ebf",
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":1130.6667709350586,
434     "y":486.99999046325684,
435     "z":"9587f32a.6a9aa",
436     "wires":[
437       [
438         "d2032cc2.899d9",
439         "99d34aaa.d04488",
440         "44919742.aa0cd8"
441       ]
442     ]
443   },
444   {
445     "id":"d2032cc2.899d9",
446     "type":"other",
447     "name":"CreateNetworkInstance",
448     "xml":"<outcome value='CreateNetworkInstance'>",
449     "comments":"",
450     "outputs":1,
451     "x":1411.6667709350586,
452     "y":487.99999046325684,
453     "z":"9587f32a.6a9aa",
454     "wires":[
455       [
456         "71f64cf9.079ef4"
457       ]
458     ]
459   },
460   {
461     "id":"99d34aaa.d04488",
462     "type":"other",
463     "name":"Other",
464     "xml":"<outcome value='Other'>",
465     "comments":"",
466     "outputs":1,
467     "x":1354.6667709350586,
468     "y":527.9999904632568,
469     "z":"9587f32a.6a9aa",
470     "wires":[
471       [
472         "b7f6be61.4073c"
473       ]
474     ]
475   },
476   {
477     "id":"b7f6be61.4073c",
478     "type":"returnFailure",
479     "name":"return failure",
480     "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",
481     "comments":"",
482     "x":1526.5240669250488,
483     "y":529.428596496582,
484     "z":"9587f32a.6a9aa",
485     "wires":[
486
487     ]
488   },
489   {
490     "id":"34bfca22.5765e6",
491     "type":"block",
492     "name":"block : atomic",
493     "xml":"<block atomic=\"true\">",
494     "atomic":"true",
495     "outputs":1,
496     "x":924.6667327880859,
497     "y":652.0000133514404,
498     "z":"9587f32a.6a9aa",
499     "wires":[
500       [
501         "d7eb74bd.890dc8"
502       ]
503     ]
504   },
505   {
506     "id":"d7eb74bd.890dc8",
507     "type":"switchNode",
508     "name":"switch request-action",
509     "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
510     "comments":"",
511     "outputs":1,
512     "x":1141.666732788086,
513     "y":652.0000133514404,
514     "z":"9587f32a.6a9aa",
515     "wires":[
516       [
517         "16268a9c.1f62a5",
518         "baf47ce9.50dcc",
519         "1bec30c1.fe7d2f"
520       ]
521     ]
522   },
523   {
524     "id":"16268a9c.1f62a5",
525     "type":"other",
526     "name":"DeleteNetworkInstance",
527     "xml":"<outcome value='DeleteNetworkInstance'>",
528     "comments":"",
529     "outputs":1,
530     "x":1422.666732788086,
531     "y":653.0000133514404,
532     "z":"9587f32a.6a9aa",
533     "wires":[
534       [
535         "66edda2e.adbdb4"
536       ]
537     ]
538   },
539   {
540     "id":"baf47ce9.50dcc",
541     "type":"other",
542     "name":"Other",
543     "xml":"<outcome value='Other'>",
544     "comments":"",
545     "outputs":1,
546     "x":1365.666732788086,
547     "y":693.0000133514404,
548     "z":"9587f32a.6a9aa",
549     "wires":[
550       [
551         "a51db5f8.e4cd38"
552       ]
553     ]
554   },
555   {
556     "id":"a51db5f8.e4cd38",
557     "type":"returnFailure",
558     "name":"return failure",
559     "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",
560     "comments":"",
561     "x":1534.6667976379395,
562     "y":695.857174873352,
563     "z":"9587f32a.6a9aa",
564     "wires":[
565
566     ]
567   },
568   {
569     "id":"3af74b5a.5deb94",
570     "type":"other",
571     "name":"unassign",
572     "xml":"<outcome value='unassign'>",
573     "comments":"",
574     "outputs":1,
575     "x":738.6667022705078,
576     "y":746.9999904632568,
577     "z":"9587f32a.6a9aa",
578     "wires":[
579       [
580         "fc12acc9.e5517"
581       ]
582     ]
583   },
584   {
585     "id":"fc12acc9.e5517",
586     "type":"block",
587     "name":"block : atomic",
588     "xml":"<block atomic=\"true\">",
589     "atomic":"true",
590     "outputs":1,
591     "x":920.6667327880859,
592     "y":743.0000133514404,
593     "z":"9587f32a.6a9aa",
594     "wires":[
595       [
596         "521c12e4.61495c"
597       ]
598     ]
599   },
600   {
601     "id":"521c12e4.61495c",
602     "type":"switchNode",
603     "name":"switch request-action",
604     "xml":"<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
605     "comments":"",
606     "outputs":1,
607     "x":1137.666732788086,
608     "y":743.0000133514404,
609     "z":"9587f32a.6a9aa",
610     "wires":[
611       [
612         "74f5e24d.62b7fc",
613         "5f7ef187.e1747"
614       ]
615     ]
616   },
617   {
618     "id":"74f5e24d.62b7fc",
619     "type":"other",
620     "name":"DeleteNetworkInstance",
621     "xml":"<outcome value='DeleteNetworkInstance'>",
622     "comments":"",
623     "outputs":1,
624     "x":1418.666732788086,
625     "y":744.0000133514404,
626     "z":"9587f32a.6a9aa",
627     "wires":[
628       [
629         "7f6850df.2b87e"
630       ]
631     ]
632   },
633   {
634     "id":"5f7ef187.e1747",
635     "type":"other",
636     "name":"Other",
637     "xml":"<outcome value='Other'>",
638     "comments":"",
639     "outputs":1,
640     "x":1361.666732788086,
641     "y":784.0000133514404,
642     "z":"9587f32a.6a9aa",
643     "wires":[
644       [
645         "c7092fc3.cd677"
646       ]
647     ]
648   },
649   {
650     "id":"c7092fc3.cd677",
651     "type":"returnFailure",
652     "name":"return failure",
653     "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",
654     "comments":"",
655     "x":1530.666732788086,
656     "y":784.0000133514404,
657     "z":"9587f32a.6a9aa",
658     "wires":[
659
660     ]
661   },
662   {
663     "id":"a3e07e88.c882c",
664     "type":"block",
665     "name":"block : atomic",
666     "xml":"<block atomic=\"true\">",
667     "atomic":"true",
668     "comments":"",
669     "outputs":1,
670     "x":1642.6666641235352,
671     "y":320,
672     "z":"9587f32a.6a9aa",
673     "wires":[
674       [
675         "43839f1a.168f2",
676         "50cf5531.098c6c",
677         "7341b7e.9ac2b48",
678         "a0f0d3d5.a87ab",
679         "88002920.134a48",
680         "6d91f416.826f2c",
681         "9a5aad4a.6e681"
682       ]
683     ]
684   },
685   {
686     "id":"71f64cf9.079ef4",
687     "type":"block",
688     "name":"block : atomic",
689     "xml":"<block atomic=\"true\">",
690     "atomic":"true",
691     "comments":"",
692     "outputs":1,
693     "x":1636.6667709350586,
694     "y":487.99999046325684,
695     "z":"9587f32a.6a9aa",
696     "wires":[
697       [
698         "43839f1a.168f2",
699         "50cf5531.098c6c",
700         "7341b7e.9ac2b48",
701         "a0f0d3d5.a87ab",
702         "88002920.134a48",
703         "6d91f416.826f2c",
704         "b67ae856.729b08"
705       ]
706     ]
707   },
708   {
709     "id":"66edda2e.adbdb4",
710     "type":"block",
711     "name":"block : atomic",
712     "xml":"<block atomic=\"true\">",
713     "atomic":"true",
714     "comments":"",
715     "outputs":1,
716     "x":1678.666732788086,
717     "y":654.0000133514404,
718     "z":"9587f32a.6a9aa",
719     "wires":[
720       [
721         "b67ae856.729b08"
722       ]
723     ]
724   },
725   {
726     "id":"7f6850df.2b87e",
727     "type":"block",
728     "name":"block : atomic",
729     "xml":"<block atomic=\"true\">",
730     "atomic":"true",
731     "comments":"",
732     "outputs":1,
733     "x":1677.666732788086,
734     "y":745.0000133514404,
735     "z":"9587f32a.6a9aa",
736     "wires":[
737       [
738         "b67ae856.729b08"
739       ]
740     ]
741   },
742   {
743     "id":"88002920.134a48",
744     "type":"switchNode",
745     "name":"switch onap-model-information.model-uuid",
746     "xml":"<switch test='`$network-topology-operation-input.service-information.onap-model-information.model-uuid`'>\n",
747     "comments":"",
748     "outputs":1,
749     "x":2279.3333282470703,
750     "y":1043.9999513626099,
751     "z":"9587f32a.6a9aa",
752     "wires":[
753       [
754         "1d5cf7df.d6b918",
755         "9241a417.ce32a8"
756       ]
757     ]
758   },
759   {
760     "id":"424069b0.42ea38",
761     "type":"comment",
762     "name":"validations - required for all",
763     "info":"",
764     "comments":"",
765     "x":542.6666641235352,
766     "y":94,
767     "z":"9587f32a.6a9aa",
768     "wires":[
769
770     ]
771   },
772   {
773     "id":"67177f2d.d0dfb",
774     "type":"comment",
775     "name":"validations specific per svc-action",
776     "info":"",
777     "comments":"",
778     "x":554.6666641235352,
779     "y":309,
780     "z":"9587f32a.6a9aa",
781     "wires":[
782
783     ]
784   },
785   {
786     "id":"b6492325.12cf4",
787     "type":"comment",
788     "name":"network-request-information block validations",
789     "info":"",
790     "comments":"",
791     "x":2282.666664123535,
792     "y":896,
793     "z":"9587f32a.6a9aa",
794     "wires":[
795
796     ]
797   },
798   {
799     "id":"43839f1a.168f2",
800     "type":"switchNode",
801     "name":"switch network-request-information.tenant",
802     "xml":"<switch test='`$network-topology-operation-input.network-request-input.tenant`'>\n",
803     "comments":"",
804     "outputs":1,
805     "x":2279.666664123535,
806     "y":946,
807     "z":"9587f32a.6a9aa",
808     "wires":[
809       [
810         "f579222c.d4325"
811       ]
812     ]
813   },
814   {
815     "id":"f579222c.d4325",
816     "type":"other",
817     "name":"NULL",
818     "xml":"<outcome value=''>",
819     "comments":"",
820     "outputs":1,
821     "x":2521.381019592285,
822     "y":948,
823     "z":"9587f32a.6a9aa",
824     "wires":[
825       [
826         "ad98280c.f99968"
827       ]
828     ]
829   },
830   {
831     "id":"ad98280c.f99968",
832     "type":"returnFailure",
833     "name":"return failure",
834     "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",
835     "comments":"",
836     "x":2672.8096084594727,
837     "y":946,
838     "z":"9587f32a.6a9aa",
839     "wires":[
840
841     ]
842   },
843   {
844     "id":"50cf5531.098c6c",
845     "type":"switchNode",
846     "name":"switch network-request-information.aic-cloud-region",
847     "xml":"<switch test='`$network-topology-operation-input.network-request-input.aic-cloud-region`'>\n",
848     "comments":"",
849     "outputs":1,
850     "x":2308.666664123535,
851     "y":989,
852     "z":"9587f32a.6a9aa",
853     "wires":[
854       [
855         "d057fdf3.d010e"
856       ]
857     ]
858   },
859   {
860     "id":"d057fdf3.d010e",
861     "type":"other",
862     "name":"NULL",
863     "xml":"<outcome value=''>",
864     "comments":"",
865     "outputs":1,
866     "x":2570.381019592285,
867     "y":989,
868     "z":"9587f32a.6a9aa",
869     "wires":[
870       [
871         "3c313792.39c5f8"
872       ]
873     ]
874   },
875   {
876     "id":"3c313792.39c5f8",
877     "type":"returnFailure",
878     "name":"return failure",
879     "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",
880     "comments":"",
881     "x":2734.80948638916,
882     "y":988,
883     "z":"9587f32a.6a9aa",
884     "wires":[
885
886     ]
887   },
888   {
889     "id":"7341b7e.9ac2b48",
890     "type":"switchNode",
891     "name":"switch onap-model-information.model-uuid",
892     "xml":"<switch test='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`'>\n",
893     "comments":"",
894     "outputs":1,
895     "x":2271.8096084594727,
896     "y":815.8571166992188,
897     "z":"9587f32a.6a9aa",
898     "wires":[
899       [
900         "76f250fe.8ad13"
901       ]
902     ]
903   },
904   {
905     "id":"76f250fe.8ad13",
906     "type":"other",
907     "name":"NULL",
908     "xml":"<outcome value=''>",
909     "comments":"",
910     "outputs":1,
911     "x":2511.8096084594727,
912     "y":816.8571166992188,
913     "z":"9587f32a.6a9aa",
914     "wires":[
915       [
916         "5f0fb81f.eafbb8"
917       ]
918     ]
919   },
920   {
921     "id":"5f0fb81f.eafbb8",
922     "type":"returnFailure",
923     "name":"return failure",
924     "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",
925     "comments":"",
926     "x":2677.2380752563477,
927     "y":814.8570861816406,
928     "z":"9587f32a.6a9aa",
929     "wires":[
930
931     ]
932   },
933   {
934     "id":"a0f0d3d5.a87ab",
935     "type":"switchNode",
936     "name":"switch onap-model-information.model-customization-uuid",
937     "xml":"<switch test='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`'>\n",
938     "comments":"",
939     "outputs":1,
940     "x":2316.666664123535,
941     "y":775,
942     "z":"9587f32a.6a9aa",
943     "wires":[
944       [
945         "b58e5e29.9b188"
946       ]
947     ]
948   },
949   {
950     "id":"b58e5e29.9b188",
951     "type":"other",
952     "name":"NULL",
953     "xml":"<outcome value=''>",
954     "comments":"",
955     "outputs":1,
956     "x":2612.666664123535,
957     "y":776,
958     "z":"9587f32a.6a9aa",
959     "wires":[
960       [
961         "d1292b85.45d678"
962       ]
963     ]
964   },
965   {
966     "id":"d1292b85.45d678",
967     "type":"returnFailure",
968     "name":"return failure",
969     "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",
970     "comments":"",
971     "x":2760.09513092041,
972     "y":776,
973     "z":"9587f32a.6a9aa",
974     "wires":[
975
976     ]
977   },
978   {
979     "id":"5bf0bd5.e1cf344",
980     "type":"returnSuccess",
981     "name":"return success",
982     "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",
983     "comments":"",
984     "x":517.023738861084,
985     "y":672.6428346633911,
986     "z":"9587f32a.6a9aa",
987     "wires":[
988
989     ]
990   },
991   {
992     "id":"a1c80246.e678",
993     "type":"get-resource",
994     "name":"get-resource NETWORK_MODEL",
995     "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",
996     "comments":"",
997     "outputs":1,
998     "x":2994.8497314453125,
999     "y":1259.1784763336182,
1000     "z":"9587f32a.6a9aa",
1001     "wires":[
1002       [
1003         "89788b78.0fbba8",
1004         "fe14df05.e082"
1005       ]
1006     ]
1007   },
1008   {
1009     "id":"925507bc.719978",
1010     "type":"returnFailure",
1011     "name":"return failure",
1012     "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",
1013     "comments":"",
1014     "x":3454.313934326172,
1015     "y":1250.2258920669556,
1016     "z":"9587f32a.6a9aa",
1017     "wires":[
1018
1019     ]
1020   },
1021   {
1022     "id":"89788b78.0fbba8",
1023     "type":"not-found",
1024     "name":"not-found",
1025     "xml":"<outcome value='not-found'>\n",
1026     "comments":"",
1027     "outputs":1,
1028     "x":3255.5639457702637,
1029     "y":1243.58309841156,
1030     "z":"9587f32a.6a9aa",
1031     "wires":[
1032       [
1033         "925507bc.719978"
1034       ]
1035     ]
1036   },
1037   {
1038     "id":"fe14df05.e082",
1039     "type":"failure",
1040     "name":"failure",
1041     "xml":"<outcome value='failure'>\n",
1042     "comments":"",
1043     "outputs":1,
1044     "x":3249.3139457702637,
1045     "y":1276.08309841156,
1046     "z":"9587f32a.6a9aa",
1047     "wires":[
1048       [
1049         "925507bc.719978"
1050       ]
1051     ]
1052   },
1053   {
1054     "id":"1d5cf7df.d6b918",
1055     "type":"other",
1056     "name":"NULL",
1057     "xml":"<outcome value=''>",
1058     "comments":"",
1059     "outputs":1,
1060     "x":2544.4814071655273,
1061     "y":1043.5925903320312,
1062     "z":"9587f32a.6a9aa",
1063     "wires":[
1064       [
1065         "b9cf48d2.24de78"
1066       ]
1067     ]
1068   },
1069   {
1070     "id":"9241a417.ce32a8",
1071     "type":"other",
1072     "name":"Other",
1073     "xml":"<outcome value='Other'>",
1074     "comments":"",
1075     "outputs":1,
1076     "x":2550.731342315674,
1077     "y":1182.7591953277588,
1078     "z":"9587f32a.6a9aa",
1079     "wires":[
1080       [
1081         "c5c99455.9c06d8"
1082       ]
1083     ]
1084   },
1085   {
1086     "id":"dd80fff3.bf7d7",
1087     "type":"get-resource",
1088     "name":"get-resource SERVICE_MODEL",
1089     "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",
1090     "comments":"",
1091     "outputs":1,
1092     "x":2997.3497161865234,
1093     "y":1182.2432489395142,
1094     "z":"9587f32a.6a9aa",
1095     "wires":[
1096       [
1097         "6a57274e.5355b8",
1098         "7bb62a10.e078e4"
1099       ]
1100     ]
1101   },
1102   {
1103     "id":"fb19a79a.af3d48",
1104     "type":"returnFailure",
1105     "name":"return failure",
1106     "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",
1107     "comments":"",
1108     "x":3444.4330825805664,
1109     "y":1182.2432794570923,
1110     "z":"9587f32a.6a9aa",
1111     "wires":[
1112
1113     ]
1114   },
1115   {
1116     "id":"6a57274e.5355b8",
1117     "type":"not-found",
1118     "name":"not-found",
1119     "xml":"<outcome value='not-found'>\n",
1120     "comments":"",
1121     "outputs":1,
1122     "x":3245.683162689209,
1123     "y":1177.60049533844,
1124     "z":"9587f32a.6a9aa",
1125     "wires":[
1126       [
1127         "fb19a79a.af3d48"
1128       ]
1129     ]
1130   },
1131   {
1132     "id":"7bb62a10.e078e4",
1133     "type":"failure",
1134     "name":"failure",
1135     "xml":"<outcome value='failure'>\n",
1136     "comments":"",
1137     "outputs":1,
1138     "x":3239.433162689209,
1139     "y":1210.10049533844,
1140     "z":"9587f32a.6a9aa",
1141     "wires":[
1142       [
1143         "fb19a79a.af3d48"
1144       ]
1145     ]
1146   },
1147   {
1148     "id":"56d4c353.92e90c",
1149     "type":"get-resource",
1150     "name":"get-resource NETWORK_MODEL",
1151     "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",
1152     "comments":"",
1153     "outputs":1,
1154     "x":2991.035919189453,
1155     "y":1118.4007987976074,
1156     "z":"9587f32a.6a9aa",
1157     "wires":[
1158       [
1159         "415be4e2.5955dc",
1160         "5521a407.7c24fc"
1161       ]
1162     ]
1163   },
1164   {
1165     "id":"e4108457.428de8",
1166     "type":"returnFailure",
1167     "name":"return failure",
1168     "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",
1169     "comments":"",
1170     "x":3450.5001220703125,
1171     "y":1109.4482145309448,
1172     "z":"9587f32a.6a9aa",
1173     "wires":[
1174
1175     ]
1176   },
1177   {
1178     "id":"415be4e2.5955dc",
1179     "type":"not-found",
1180     "name":"not-found",
1181     "xml":"<outcome value='not-found'>\n",
1182     "comments":"",
1183     "outputs":1,
1184     "x":3251.7501335144043,
1185     "y":1102.8054208755493,
1186     "z":"9587f32a.6a9aa",
1187     "wires":[
1188       [
1189         "e4108457.428de8"
1190       ]
1191     ]
1192   },
1193   {
1194     "id":"5521a407.7c24fc",
1195     "type":"failure",
1196     "name":"failure",
1197     "xml":"<outcome value='failure'>\n",
1198     "comments":"",
1199     "outputs":1,
1200     "x":3246.7501106262207,
1201     "y":1134.055419921875,
1202     "z":"9587f32a.6a9aa",
1203     "wires":[
1204       [
1205         "e4108457.428de8"
1206       ]
1207     ]
1208   },
1209   {
1210     "id":"b5ccaabe.a03018",
1211     "type":"get-resource",
1212     "name":"get-resource SERVICE_MODEL",
1213     "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'>",
1214     "comments":"",
1215     "outputs":1,
1216     "x":2989.785842895508,
1217     "y":1043.96546459198,
1218     "z":"9587f32a.6a9aa",
1219     "wires":[
1220       [
1221         "7521044.4b449fc",
1222         "4aa1c6c1.dc1288"
1223       ]
1224     ]
1225   },
1226   {
1227     "id":"5c9d87d7.566af8",
1228     "type":"returnFailure",
1229     "name":"return failure",
1230     "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",
1231     "comments":"",
1232     "x":3440.619270324707,
1233     "y":1041.4656019210815,
1234     "z":"9587f32a.6a9aa",
1235     "wires":[
1236
1237     ]
1238   },
1239   {
1240     "id":"7521044.4b449fc",
1241     "type":"not-found",
1242     "name":"not-found",
1243     "xml":"<outcome value='not-found'>\n",
1244     "comments":"",
1245     "outputs":1,
1246     "x":3241.8693504333496,
1247     "y":1036.8228178024292,
1248     "z":"9587f32a.6a9aa",
1249     "wires":[
1250       [
1251         "5c9d87d7.566af8"
1252       ]
1253     ]
1254   },
1255   {
1256     "id":"4aa1c6c1.dc1288",
1257     "type":"failure",
1258     "name":"failure",
1259     "xml":"<outcome value='failure'>\n",
1260     "comments":"",
1261     "outputs":1,
1262     "x":3235.6193504333496,
1263     "y":1069.3228178024292,
1264     "z":"9587f32a.6a9aa",
1265     "wires":[
1266       [
1267         "5c9d87d7.566af8"
1268       ]
1269     ]
1270   },
1271   {
1272     "id":"b9cf48d2.24de78",
1273     "type":"block",
1274     "name":"block : atomic",
1275     "xml":"<block atomic=\"true\">",
1276     "atomic":"true",
1277     "outputs":1,
1278     "x":2719.8056564331055,
1279     "y":1042.8054184913635,
1280     "z":"9587f32a.6a9aa",
1281     "wires":[
1282       [
1283         "b5ccaabe.a03018",
1284         "56d4c353.92e90c"
1285       ]
1286     ]
1287   },
1288   {
1289     "id":"c5c99455.9c06d8",
1290     "type":"block",
1291     "name":"block : atomic",
1292     "xml":"<block atomic=\"true\">",
1293     "atomic":"true",
1294     "outputs":1,
1295     "x":2712.3056564331055,
1296     "y":1181.5554218292236,
1297     "z":"9587f32a.6a9aa",
1298     "wires":[
1299       [
1300         "dd80fff3.bf7d7",
1301         "a1c80246.e678"
1302       ]
1303     ]
1304   },
1305   {
1306     "id":"44919742.aa0cd8",
1307     "type":"outcome",
1308     "name":"ActivateDCINetworkInstance",
1309     "xml":"<outcome value='ActivateDCINetworkInstance'>",
1310     "comments":"",
1311     "outputs":1,
1312     "x":1426.333251953125,
1313     "y":441,
1314     "z":"9587f32a.6a9aa",
1315     "wires":[
1316       [
1317
1318       ]
1319     ]
1320   },
1321   {
1322     "id":"1bec30c1.fe7d2f",
1323     "type":"outcome",
1324     "name":"DeActivateDCINetworkInstance",
1325     "xml":"<outcome value='DeActivateDCINetworkInstance'>",
1326     "comments":"",
1327     "outputs":1,
1328     "x":1447.6666259765625,
1329     "y":604,
1330     "z":"9587f32a.6a9aa",
1331     "wires":[
1332       [
1333
1334       ]
1335     ]
1336   },
1337   {
1338     "id":"6d91f416.826f2c",
1339     "type":"switchNode",
1340     "name":"switch onap-model-information.model-invariant-uuid",
1341     "xml":"<switch test='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`'>\n",
1342     "comments":"",
1343     "outputs":1,
1344     "x":2298.6667251586914,
1345     "y":740.000036239624,
1346     "z":"9587f32a.6a9aa",
1347     "wires":[
1348       [
1349         "429b261e.09c5a8"
1350       ]
1351     ]
1352   },
1353   {
1354     "id":"429b261e.09c5a8",
1355     "type":"other",
1356     "name":"NULL",
1357     "xml":"<outcome value=''>",
1358     "comments":"",
1359     "outputs":1,
1360     "x":2583.6667861938477,
1361     "y":739.0000305175781,
1362     "z":"9587f32a.6a9aa",
1363     "wires":[
1364       [
1365         "defe665.bee1098"
1366       ]
1367     ]
1368   },
1369   {
1370     "id":"defe665.bee1098",
1371     "type":"returnFailure",
1372     "name":"return failure",
1373     "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",
1374     "comments":"",
1375     "x":2735.0952529907227,
1376     "y":738.0000305175781,
1377     "z":"9587f32a.6a9aa",
1378     "wires":[
1379
1380     ]
1381   },
1382   {
1383     "id":"f11122f.6d0b4e",
1384     "type":"comment",
1385     "name":"network-information.onap-model-information block validations",
1386     "info":"",
1387     "comments":"",
1388     "x":2317.8096084594727,
1389     "y":700.8571166992188,
1390     "z":"9587f32a.6a9aa",
1391     "wires":[
1392
1393     ]
1394   },
1395   {
1396     "id":"9a5aad4a.6e681",
1397     "type":"switchNode",
1398     "name":"switch network-information.network-id",
1399     "xml":"<switch test='`$network-topology-operation-input.network-information.network-id`'>\n\n",
1400     "comments":"",
1401     "outputs":1,
1402     "x":2253.66658782959,
1403     "y":609.3333568572998,
1404     "z":"9587f32a.6a9aa",
1405     "wires":[
1406       [
1407         "35c914cb.fa2c7c",
1408         "f70379ac.e82478"
1409       ]
1410     ]
1411   },
1412   {
1413     "id":"35c914cb.fa2c7c",
1414     "type":"other",
1415     "name":"Other",
1416     "xml":"<outcome value='Other'>",
1417     "comments":"",
1418     "outputs":1,
1419     "x":2549.6665382385254,
1420     "y":642.0000686645508,
1421     "z":"9587f32a.6a9aa",
1422     "wires":[
1423       [
1424         "f6b8e9bf.429b88"
1425       ]
1426     ]
1427   },
1428   {
1429     "id":"f6b8e9bf.429b88",
1430     "type":"block",
1431     "name":"block",
1432     "xml":"<block>\n",
1433     "atomic":"false",
1434     "comments":"",
1435     "outputs":1,
1436     "x":2683.7777938842773,
1437     "y":642.4444732666016,
1438     "z":"9587f32a.6a9aa",
1439     "wires":[
1440       [
1441         "124f1a13.d4f066"
1442       ]
1443     ]
1444   },
1445   {
1446     "id":"124f1a13.d4f066",
1447     "type":"switchNode",
1448     "name":"switch service-data.networks.network_length",
1449     "xml":"<switch test='`$service-data.networks.network_length`'>\n",
1450     "comments":"",
1451     "outputs":1,
1452     "x":2957.4919052124023,
1453     "y":644.0158233642578,
1454     "z":"9587f32a.6a9aa",
1455     "wires":[
1456       [
1457         "92655d33.ed6d7",
1458         "9ed4f2.56f8bb1"
1459       ]
1460     ]
1461   },
1462   {
1463     "id":"92655d33.ed6d7",
1464     "type":"other",
1465     "name":"outcome Null",
1466     "xml":"<outcome value=''>\n",
1467     "comments":"",
1468     "outputs":1,
1469     "x":3246.4919052124023,
1470     "y":646.0158843994141,
1471     "z":"9587f32a.6a9aa",
1472     "wires":[
1473       [
1474         "1dc93ca8.c6ca53"
1475       ]
1476     ]
1477   },
1478   {
1479     "id":"9ed4f2.56f8bb1",
1480     "type":"other",
1481     "name":"other",
1482     "xml":"<outcome value='Other'>\n",
1483     "comments":"",
1484     "outputs":1,
1485     "x":3226.4919052124023,
1486     "y":681.0158843994141,
1487     "z":"9587f32a.6a9aa",
1488     "wires":[
1489       [
1490         "8f8d810b.3f421"
1491       ]
1492     ]
1493   },
1494   {
1495     "id":"8f8d810b.3f421",
1496     "type":"block",
1497     "name":"block : atomic",
1498     "xml":"<block atomic=\"true\">",
1499     "atomic":"true",
1500     "outputs":1,
1501     "x":3427.7619247436523,
1502     "y":682.5704498291016,
1503     "z":"9587f32a.6a9aa",
1504     "wires":[
1505       [
1506         "1f53b4b0.227ebb",
1507         "ff0f33a8.2a294"
1508       ]
1509     ]
1510   },
1511   {
1512     "id":"1f53b4b0.227ebb",
1513     "type":"for",
1514     "name":"for nidx..service-data.networks.network[]",
1515     "xml":"<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
1516     "comments":"",
1517     "outputs":1,
1518     "x":3697.777961730957,
1519     "y":681.444465637207,
1520     "z":"9587f32a.6a9aa",
1521     "wires":[
1522       [
1523         "8351ac5.ac1f25"
1524       ]
1525     ]
1526   },
1527   {
1528     "id":"8351ac5.ac1f25",
1529     "type":"switchNode",
1530     "name":"switch networkid found",
1531     "xml":"<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
1532     "comments":"",
1533     "outputs":1,
1534     "x":3988.206512451172,
1535     "y":680.6945495605469,
1536     "z":"9587f32a.6a9aa",
1537     "wires":[
1538       [
1539         "9138e8c9.7ab098"
1540       ]
1541     ]
1542   },
1543   {
1544     "id":"9138e8c9.7ab098",
1545     "type":"outcomeTrue",
1546     "name":"true",
1547     "xml":"<outcome value='true'>\n",
1548     "comments":"",
1549     "outputs":1,
1550     "x":4177.158866882324,
1551     "y":681.587287902832,
1552     "z":"9587f32a.6a9aa",
1553     "wires":[
1554       [
1555         "8476406f.ea8ad"
1556       ]
1557     ]
1558   },
1559   {
1560     "id":"a2e4da11.fec288",
1561     "type":"set",
1562     "name":"set tmp.nidx and ctx.network-data",
1563     "xml":"<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].`' />\n",
1564     "comments":"",
1565     "x":4620.690635681152,
1566     "y":690.3373107910156,
1567     "z":"9587f32a.6a9aa",
1568     "wires":[
1569
1570     ]
1571   },
1572   {
1573     "id":"ff0f33a8.2a294",
1574     "type":"switchNode",
1575     "name":"switch tmp.nidx ",
1576     "xml":"<switch test=\"`$tmp.nidx`\">\n\n",
1577     "comments":"",
1578     "outputs":1,
1579     "x":3616.079391479492,
1580     "y":723.4276723861694,
1581     "z":"9587f32a.6a9aa",
1582     "wires":[
1583       [
1584         "8aba4dc7.d9aff"
1585       ]
1586     ]
1587   },
1588   {
1589     "id":"74581001.a829d",
1590     "type":"returnFailure",
1591     "name":"return failure",
1592     "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",
1593     "comments":"",
1594     "x":3968.9363746643066,
1595     "y":719.1419143676758,
1596     "z":"9587f32a.6a9aa",
1597     "wires":[
1598
1599     ]
1600   },
1601   {
1602     "id":"8aba4dc7.d9aff",
1603     "type":"outcome",
1604     "name":"NULL",
1605     "xml":"<outcome value=''>\n",
1606     "comments":"",
1607     "outputs":1,
1608     "x":3787.507926940918,
1609     "y":721.9990577697754,
1610     "z":"9587f32a.6a9aa",
1611     "wires":[
1612       [
1613         "74581001.a829d"
1614       ]
1615     ]
1616   },
1617   {
1618     "id":"2ea1516d.a319ae",
1619     "type":"switchNode",
1620     "name":"switch order-status",
1621     "xml":"<switch test='`$ctx.network-data.network-data.network-level-oper-status.order-status`'>\n",
1622     "comments":"",
1623     "outputs":1,
1624     "x":4579.111045837402,
1625     "y":727.4444885253906,
1626     "z":"9587f32a.6a9aa",
1627     "wires":[
1628       [
1629         "8688e510.ad7d88"
1630       ]
1631     ]
1632   },
1633   {
1634     "id":"8688e510.ad7d88",
1635     "type":"other",
1636     "name":"outcome Created",
1637     "xml":"<outcome value='Created'>\n",
1638     "comments":"",
1639     "outputs":1,
1640     "x":4793.111045837402,
1641     "y":727.4444885253906,
1642     "z":"9587f32a.6a9aa",
1643     "wires":[
1644       [
1645         "55924408.41735c"
1646       ]
1647     ]
1648   },
1649   {
1650     "id":"55924408.41735c",
1651     "type":"returnFailure",
1652     "name":"return failure",
1653     "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",
1654     "comments":"",
1655     "x":4997.111045837402,
1656     "y":723.4444732666016,
1657     "z":"9587f32a.6a9aa",
1658     "wires":[
1659
1660     ]
1661   },
1662   {
1663     "id":"8476406f.ea8ad",
1664     "type":"block",
1665     "name":"block : atomic",
1666     "xml":"<block atomic=\"true\">",
1667     "atomic":"true",
1668     "outputs":1,
1669     "x":4325.777305603027,
1670     "y":681.4444732666016,
1671     "z":"9587f32a.6a9aa",
1672     "wires":[
1673       [
1674         "a2e4da11.fec288"
1675       ]
1676     ]
1677   },
1678   {
1679     "id":"1dc93ca8.c6ca53",
1680     "type":"record",
1681     "name":"record",
1682     "xml":"<record plugin=\"com.att.sdnctl.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",
1683     "comments":"",
1684     "outputs":1,
1685     "x":3407.7777938842773,
1686     "y":645.4444732666016,
1687     "z":"9587f32a.6a9aa",
1688     "wires":[
1689       [
1690
1691       ]
1692     ]
1693   },
1694   {
1695     "id":"b67ae856.729b08",
1696     "type":"switchNode",
1697     "name":"switch network-information.network-id",
1698     "xml":"<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
1699     "comments":"",
1700     "outputs":1,
1701     "x":2251.6665115356445,
1702     "y":562.6666736602783,
1703     "z":"9587f32a.6a9aa",
1704     "wires":[
1705       [
1706         "9dba4815.084fc8"
1707       ]
1708     ]
1709   },
1710   {
1711     "id":"9dba4815.084fc8",
1712     "type":"other",
1713     "name":"NULL",
1714     "xml":"<outcome value=''>",
1715     "comments":"",
1716     "outputs":1,
1717     "x":2480.3808364868164,
1718     "y":564.6666736602783,
1719     "z":"9587f32a.6a9aa",
1720     "wires":[
1721       [
1722         "cae9bfb4.2d442"
1723       ]
1724     ]
1725   },
1726   {
1727     "id":"cae9bfb4.2d442",
1728     "type":"returnFailure",
1729     "name":"return failure",
1730     "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",
1731     "comments":"",
1732     "x":2644.809455871582,
1733     "y":562.6666736602783,
1734     "z":"9587f32a.6a9aa",
1735     "wires":[
1736
1737     ]
1738   },
1739   {
1740     "id":"f70379ac.e82478",
1741     "type":"other",
1742     "name":"NULL",
1743     "xml":"<outcome value=''>",
1744     "comments":"",
1745     "outputs":1,
1746     "x":2547.3334350585938,
1747     "y":608.999942779541,
1748     "z":"9587f32a.6a9aa",
1749     "wires":[
1750       [
1751
1752       ]
1753     ]
1754   }
1755 ]