e056386618b3be3c8426def211e666c1c18e6813
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_validate-sotn-network-input-parameters.json
1 [
2   {
3     "id": "30540b72.a3da84",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 119.01040649414062,
8     "y": 58.010414123535156,
9     "z": "85ea7447.de94b8",
10     "wires": [
11       [
12         "5db42949.04e028"
13       ]
14     ]
15   },
16   {
17     "id": "5db42949.04e028",
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": 364.2961196899414,
26     "y": 57.24849319458008,
27     "z": "85ea7447.de94b8",
28     "wires": [
29       [
30         "8510d543.ea49c8"
31       ]
32     ]
33   },
34   {
35     "id": "8510d543.ea49c8",
36     "type": "method",
37     "name": "validate-sotn-network-input-parameters",
38     "xml": "<method rpc='validate-sotn-network-input-parameters' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 321.9270935058594,
42     "y": 132.26343154907227,
43     "z": "85ea7447.de94b8",
44     "wires": [
45       [
46         "9906fd18.4ac52"
47       ]
48     ]
49   },
50   {
51     "id": "9906fd18.4ac52",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">",
55     "atomic": "true",
56     "outputs": 1,
57     "x": 605.9271011352539,
58     "y": 120.26345634460449,
59     "z": "85ea7447.de94b8",
60     "wires": [
61       [
62         "d110bc81.4e37c",
63         "e101af22.28a5c"
64       ]
65     ]
66   },
67   {
68     "id": "d110bc81.4e37c",
69     "type": "switchNode",
70     "name": "switch  svc-action",
71     "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
72     "comments": "",
73     "outputs": 1,
74     "x": 886.9271011352539,
75     "y": 115.26344203948975,
76     "z": "85ea7447.de94b8",
77     "wires": [
78       [
79         "71be43d8.37b15c"
80       ]
81     ]
82   },
83   {
84     "id": "71be43d8.37b15c",
85     "type": "outcome",
86     "name": "NULL",
87     "xml": "<outcome value=''>",
88     "comments": "",
89     "outputs": 1,
90     "x": 1077.6414031982422,
91     "y": 116.26344299316406,
92     "z": "85ea7447.de94b8",
93     "wires": [
94       [
95         "bc10300e.78772"
96       ]
97     ]
98   },
99   {
100     "id": "bc10300e.78772",
101     "type": "returnFailure",
102     "name": "return failure",
103     "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",
104     "comments": "",
105     "x": 1252.069953918457,
106     "y": 115.26343536376953,
107     "z": "85ea7447.de94b8",
108     "wires": [
109       
110     ]
111   },
112   {
113     "id": "e101af22.28a5c",
114     "type": "switchNode",
115     "name": "switch svc-action",
116     "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
117     "comments": "",
118     "outputs": 1,
119     "x": 187.9270477294922,
120     "y": 391.2634563446045,
121     "z": "85ea7447.de94b8",
122     "wires": [
123       [
124         "3bf943df.6744bc",
125         "10f717b7.132f48",
126         "8c12a16e.cbb18",
127         "47b862af.fda80c",
128         "7a94502c.8a083"
129       ]
130     ]
131   },
132   {
133     "id": "3bf943df.6744bc",
134     "type": "outcome",
135     "name": "create",
136     "xml": "<outcome value='create'>\n",
137     "comments": "",
138     "outputs": 1,
139     "x": 396.5104217529297,
140     "y": 220.6770839691162,
141     "z": "85ea7447.de94b8",
142     "wires": [
143       [
144         "eda4c0e0.9d0f8"
145       ]
146     ]
147   },
148   {
149     "id": "eda4c0e0.9d0f8",
150     "type": "block",
151     "name": "block : atomic",
152     "xml": "<block atomic=\"true\">",
153     "atomic": "true",
154     "outputs": 1,
155     "x": 557.5104217529297,
156     "y": 220.6770839691162,
157     "z": "85ea7447.de94b8",
158     "wires": [
159       [
160         "61aab614.c8bcf8"
161       ]
162     ]
163   },
164   {
165     "id": "10f717b7.132f48",
166     "type": "outcome",
167     "name": "deactivate",
168     "xml": "<outcome value='deactivate'>\n",
169     "comments": "",
170     "outputs": 1,
171     "x": 369.5024108886719,
172     "y": 829.4389524459839,
173     "z": "85ea7447.de94b8",
174     "wires": [
175       [
176         "9eddcf71.5eb8f"
177       ]
178     ]
179   },
180   {
181     "id": "8c12a16e.cbb18",
182     "type": "outcome",
183     "name": "delete",
184     "xml": "<outcome value='delete'>\n",
185     "comments": "",
186     "outputs": 1,
187     "x": 373.21679306030273,
188     "y": 1000.153510093689,
189     "z": "85ea7447.de94b8",
190     "wires": [
191       [
192         "15081a49.63f566"
193       ]
194     ]
195   },
196   {
197     "id": "47b862af.fda80c",
198     "type": "other",
199     "name": "other",
200     "xml": "<outcome value='Other'>\n",
201     "comments": "",
202     "outputs": 1,
203     "x": 372.9786834716797,
204     "y": 1173.5817956924438,
205     "z": "85ea7447.de94b8",
206     "wires": [
207       [
208         "b2e1256a.056728"
209       ]
210     ]
211   },
212   {
213     "id": "b2e1256a.056728",
214     "type": "returnFailure",
215     "name": "return failure",
216     "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.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
217     "comments": "",
218     "x": 556.5502166748047,
219     "y": 1174.2009363174438,
220     "z": "85ea7447.de94b8",
221     "wires": [
222       
223     ]
224   },
225   {
226     "id": "61aab614.c8bcf8",
227     "type": "switchNode",
228     "name": "switch request-action",
229     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
230     "comments": "",
231     "outputs": 1,
232     "x": 781.0104217529297,
233     "y": 220.6770839691162,
234     "z": "85ea7447.de94b8",
235     "wires": [
236       [
237         "6d75ab83.475bf4",
238         "7ea03444.87b99c"
239       ]
240     ]
241   },
242   {
243     "id": "6d75ab83.475bf4",
244     "type": "other",
245     "name": "Other",
246     "xml": "<outcome value='Other'>",
247     "comments": "",
248     "outputs": 1,
249     "x": 956.5104217529297,
250     "y": 240.6770839691162,
251     "z": "85ea7447.de94b8",
252     "wires": [
253       [
254         "b89e04db.633018"
255       ]
256     ]
257   },
258   {
259     "id": "b89e04db.633018",
260     "type": "returnFailure",
261     "name": "return failure",
262     "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 SOTN CreateVPNNetworkInstance for svc-action=create\" />\n",
263     "comments": "",
264     "x": 1094.0104217529297,
265     "y": 240.6770839691162,
266     "z": "85ea7447.de94b8",
267     "wires": [
268       
269     ]
270   },
271   {
272     "id": "ffa5b3a1.3441c",
273     "type": "other",
274     "name": "DeleteSOTNConnectivityIntance",
275     "xml": "<outcome value='DeleteSOTNConnectivityIntance'>",
276     "comments": "",
277     "outputs": 1,
278     "x": 795.0738334655762,
279     "y": 1000.7087802886963,
280     "z": "85ea7447.de94b8",
281     "wires": [
282       [
283         "7d07be98.5012f"
284       ]
285     ]
286   },
287   {
288     "id": "29b99a15.11a946",
289     "type": "other",
290     "name": "Other",
291     "xml": "<outcome value='Other'>",
292     "comments": "",
293     "outputs": 1,
294     "x": 730.6293792724609,
295     "y": 1072.9310493469238,
296     "z": "85ea7447.de94b8",
297     "wires": [
298       [
299         "db297816.605e88"
300       ]
301     ]
302   },
303   {
304     "id": "db297816.605e88",
305     "type": "returnFailure",
306     "name": "return failure",
307     "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 SOTN DeleteVPNNetworkInstance for svc-action=delete\" />\n",
308     "comments": "",
309     "x": 890.9627990722656,
310     "y": 1075.0421867370605,
311     "z": "85ea7447.de94b8",
312     "wires": [
313       
314     ]
315   },
316   {
317     "id": "7d07be98.5012f",
318     "type": "block",
319     "name": "block : atomic",
320     "xml": "<block atomic=\"true\">",
321     "atomic": "true",
322     "outputs": 1,
323     "x": 1038.9627075195312,
324     "y": 1002.9310321807861,
325     "z": "85ea7447.de94b8",
326     "wires": [
327       [
328         "3952213.ae947de",
329         "8110b258.792d5",
330         "7745399b.00a168",
331         "314d388e.78f918"
332       ]
333     ]
334   },
335   {
336     "id": "7a94502c.8a083",
337     "type": "outcome",
338     "name": "activate",
339     "xml": "<outcome value='activate'>\n",
340     "comments": "",
341     "outputs": 1,
342     "x": 390.4389762878418,
343     "y": 483.7247266769409,
344     "z": "85ea7447.de94b8",
345     "wires": [
346       [
347         "b94cc46d.828738"
348       ]
349     ]
350   },
351   {
352     "id": "b94cc46d.828738",
353     "type": "switchNode",
354     "name": "switch request-action",
355     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
356     "comments": "",
357     "outputs": 1,
358     "x": 573.296142578125,
359     "y": 480.8675765991211,
360     "z": "85ea7447.de94b8",
361     "wires": [
362       [
363         "31b835e5.4dbdaa",
364         "390f9d7d.f4c4a2"
365       ]
366     ]
367   },
368   {
369     "id": "31b835e5.4dbdaa",
370     "type": "other",
371     "name": "ActivateSOTNConnectivityIntance",
372     "xml": "<outcome value='ActivateSOTNConnectivityIntance'>",
373     "comments": "",
374     "outputs": 1,
375     "x": 826.5104217529297,
376     "y": 460.6770839691162,
377     "z": "85ea7447.de94b8",
378     "wires": [
379       [
380         "77468a6f.0fba64"
381       ]
382     ]
383   },
384   {
385     "id": "390f9d7d.f4c4a2",
386     "type": "other",
387     "name": "Other",
388     "xml": "<outcome value='Other'>",
389     "comments": "",
390     "outputs": 1,
391     "x": 756.5104217529297,
392     "y": 500.6770839691162,
393     "z": "85ea7447.de94b8",
394     "wires": [
395       [
396         "f71c1a16.68c918"
397       ]
398     ]
399   },
400   {
401     "id": "f71c1a16.68c918",
402     "type": "returnFailure",
403     "name": "return failure",
404     "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 SOTN ActivateVPNNetworkInstance for svc-action=activate\" />\n",
405     "comments": "",
406     "x": 914.0104217529297,
407     "y": 500.6770839691162,
408     "z": "85ea7447.de94b8",
409     "wires": [
410       
411     ]
412   },
413   {
414     "id": "77468a6f.0fba64",
415     "type": "block",
416     "name": "block : atomic",
417     "xml": "<block atomic=\"true\">",
418     "atomic": "true",
419     "outputs": 1,
420     "x": 1057.5104217529297,
421     "y": 460.6770839691162,
422     "z": "85ea7447.de94b8",
423     "wires": [
424       [
425         "7745399b.00a168",
426         "3952213.ae947de",
427         "8110b258.792d5",
428         "1f6f232b.661ccd"
429       ]
430     ]
431   },
432   {
433     "id": "e3c2b14b.36676",
434     "type": "other",
435     "name": "DeactivateSOTNConnectivityIntance",
436     "xml": "<outcome value='DeactivateSOTNConnectivityIntance'>",
437     "comments": "",
438     "outputs": 1,
439     "x": 812.931037902832,
440     "y": 831.1533460617065,
441     "z": "85ea7447.de94b8",
442     "wires": [
443       [
444         "b5920e80.fae14"
445       ]
446     ]
447   },
448   {
449     "id": "c46566d8.dada58",
450     "type": "other",
451     "name": "Other",
452     "xml": "<outcome value='Other'>",
453     "comments": "",
454     "outputs": 1,
455     "x": 727.9310302734375,
456     "y": 900.1533536911011,
457     "z": "85ea7447.de94b8",
458     "wires": [
459       [
460         "a6bce96d.58eb58"
461       ]
462     ]
463   },
464   {
465     "id": "a6bce96d.58eb58",
466     "type": "returnFailure",
467     "name": "return failure",
468     "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 SOTN DeactivateVPNNetworkInstance for svc-action=deactivate\" />\n",
469     "comments": "",
470     "x": 908.9310455322266,
471     "y": 901.1533536911011,
472     "z": "85ea7447.de94b8",
473     "wires": [
474       
475     ]
476   },
477   {
478     "id": "9eddcf71.5eb8f",
479     "type": "switchNode",
480     "name": "switch request-action",
481     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
482     "comments": "",
483     "outputs": 1,
484     "x": 549.7880935668945,
485     "y": 831.6291799545288,
486     "z": "85ea7447.de94b8",
487     "wires": [
488       [
489         "e3c2b14b.36676",
490         "c46566d8.dada58"
491       ]
492     ]
493   },
494   {
495     "id": "15081a49.63f566",
496     "type": "switchNode",
497     "name": "switch request-action",
498     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
499     "comments": "",
500     "outputs": 1,
501     "x": 553.5658950805664,
502     "y": 999.9627339839935,
503     "z": "85ea7447.de94b8",
504     "wires": [
505       [
506         "ffa5b3a1.3441c",
507         "29b99a15.11a946"
508       ]
509     ]
510   },
511   {
512     "id": "b5920e80.fae14",
513     "type": "block",
514     "name": "block : atomic",
515     "xml": "<block atomic=\"true\">",
516     "atomic": "true",
517     "outputs": 1,
518     "x": 1072.899185180664,
519     "y": 833.9627408981323,
520     "z": "85ea7447.de94b8",
521     "wires": [
522       [
523         "3952213.ae947de",
524         "8110b258.792d5",
525         "7745399b.00a168",
526         "8df757db.a56268"
527       ]
528     ]
529   },
530   {
531     "id": "7ea03444.87b99c",
532     "type": "other",
533     "name": "CreateSOTNConnectivityIntance",
534     "xml": "<outcome value='CreateSOTNConnectivityIntance'>",
535     "comments": "",
536     "outputs": 1,
537     "x": 1022.5104217529297,
538     "y": 200.6770839691162,
539     "z": "85ea7447.de94b8",
540     "wires": [
541       [
542         "5c394cce.8332b4"
543       ]
544     ]
545   },
546   {
547     "id": "5c394cce.8332b4",
548     "type": "block",
549     "name": "block : atomic",
550     "xml": "<block atomic=\"true\">",
551     "atomic": "true",
552     "outputs": 1,
553     "x": 1237.5104217529297,
554     "y": 200.6770839691162,
555     "z": "85ea7447.de94b8",
556     "wires": [
557       [
558         "aacac661.db5fc8"
559       ]
560     ]
561   },
562   {
563     "id": "aacac661.db5fc8",
564     "type": "for",
565     "name": "for loop i - Network input parameters",
566     "xml": "<for index=\"i\" start=\"0\" end=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`\">\n",
567     "comments": "",
568     "outputs": 1,
569     "x": 1488.0104217529297,
570     "y": 200.6770839691162,
571     "z": "85ea7447.de94b8",
572     "wires": [
573       [
574         "f1c9f306.088fe"
575       ]
576     ]
577   },
578   {
579     "id": "f1c9f306.088fe",
580     "type": "block",
581     "name": "block",
582     "xml": "<block>\n",
583     "atomic": "false",
584     "comments": "",
585     "outputs": 1,
586     "x": 1716.5104217529297,
587     "y": 200.6770839691162,
588     "z": "85ea7447.de94b8",
589     "wires": [
590       [
591         "1c0f238b.8a133c",
592         "22c01d86.bf0c72",
593         "5fb7d8b1.555d08"
594       ]
595     ]
596   },
597   {
598     "id": "1c0f238b.8a133c",
599     "type": "set",
600     "name": "clear tmp-data",
601     "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
602     "comments": "",
603     "x": 1899.5104217529297,
604     "y": 160.6770839691162,
605     "z": "85ea7447.de94b8",
606     "wires": [
607       
608     ]
609   },
610   {
611     "id": "22c01d86.bf0c72",
612     "type": "set",
613     "name": "set tmp-data",
614     "xml": "<set>\n<parameter name='tmp.name' value=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$i].name`\"/>\n<parameter name='tmp.value' value=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param[$i].value`\"/>\n",
615     "comments": "",
616     "x": 1894.0104217529297,
617     "y": 200.6770839691162,
618     "z": "85ea7447.de94b8",
619     "wires": [
620       
621     ]
622   },
623   {
624     "id": "5fb7d8b1.555d08",
625     "type": "switchNode",
626     "name": "switch name",
627     "xml": "<switch test=\"`$tmp.name`\">\n",
628     "comments": "",
629     "outputs": 1,
630     "x": 1894.0104217529297,
631     "y": 240.6770839691162,
632     "z": "85ea7447.de94b8",
633     "wires": [
634       [
635         "3a78badb.a37d36",
636         "6d81ed6a.535234",
637         "d7b4d45a.818368"
638       ]
639     ]
640   },
641   {
642     "id": "a8cb3e9.94103c",
643     "type": "switchNode",
644     "name": "switch value",
645     "xml": "<switch test=\"`$tmp.value`\">\n",
646     "comments": "",
647     "outputs": 1,
648     "x": 2354.0105895996094,
649     "y": 192.6771045923233,
650     "z": "85ea7447.de94b8",
651     "wires": [
652       [
653         "f59640c.a9369c"
654       ]
655     ]
656   },
657   {
658     "id": "d7b4d45a.818368",
659     "type": "outcome",
660     "name": "NULL",
661     "xml": "<outcome value=''>",
662     "comments": "",
663     "outputs": 1,
664     "x": 2113.510757446289,
665     "y": 258.6770921945572,
666     "z": "85ea7447.de94b8",
667     "wires": [
668       [
669         "83193a9c.5212a8"
670       ]
671     ]
672   },
673   {
674     "id": "83193a9c.5212a8",
675     "type": "returnFailure",
676     "name": "return failure",
677     "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-input-parameters.param[' + $i + ']' + '.name is a required input'`\" />\n",
678     "comments": "",
679     "x": 2288.5107612609863,
680     "y": 257.6770921945572,
681     "z": "85ea7447.de94b8",
682     "wires": [
683       
684     ]
685   },
686   {
687     "id": "3a78badb.a37d36",
688     "type": "other",
689     "name": "name",
690     "xml": "<outcome value='name'>",
691     "comments": "",
692     "outputs": 1,
693     "x": 2113.510757446289,
694     "y": 142.6770864725113,
695     "z": "85ea7447.de94b8",
696     "wires": [
697       [
698         "a8cb3e9.94103c"
699       ]
700     ]
701   },
702   {
703     "id": "6d81ed6a.535234",
704     "type": "other",
705     "name": "description",
706     "xml": "<outcome value='description'>",
707     "comments": "",
708     "outputs": 1,
709     "x": 2125.510513305664,
710     "y": 196.34374868869781,
711     "z": "85ea7447.de94b8",
712     "wires": [
713       [
714         "a8cb3e9.94103c"
715       ]
716     ]
717   },
718   {
719     "id": "f59640c.a9369c",
720     "type": "outcome",
721     "name": "NULL",
722     "xml": "<outcome value=''>",
723     "comments": "",
724     "outputs": 1,
725     "x": 2497.5105895996094,
726     "y": 192.6771045923233,
727     "z": "85ea7447.de94b8",
728     "wires": [
729       [
730         "d1c13d61.21b1c"
731       ]
732     ]
733   },
734   {
735     "id": "d1c13d61.21b1c",
736     "type": "returnFailure",
737     "name": "return failure",
738     "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.network-input-parameters.param '+ $tmp.name +' is a required input'`\" />\n",
739     "comments": "",
740     "x": 2655.5105895996094,
741     "y": 192.6771045923233,
742     "z": "85ea7447.de94b8",
743     "wires": [
744       
745     ]
746   },
747   {
748     "id": "7745399b.00a168",
749     "type": "switchNode",
750     "name": "switch service-data.networks.network_length",
751     "xml": "<switch test='`$service-data.networks.network_length`'>\n",
752     "comments": "",
753     "outputs": 1,
754     "x": 1362.399284362793,
755     "y": 504.01039695739746,
756     "z": "85ea7447.de94b8",
757     "wires": [
758       [
759         "c70694c.d9fd968",
760         "f88531e6.ae397"
761       ]
762     ]
763   },
764   {
765     "id": "c70694c.d9fd968",
766     "type": "other",
767     "name": "outcome Null",
768     "xml": "<outcome value=''>\n",
769     "comments": "",
770     "outputs": 1,
771     "x": 1616.0104217529297,
772     "y": 480.6770839691162,
773     "z": "85ea7447.de94b8",
774     "wires": [
775       [
776         "58bafa7d.dc8534"
777       ]
778     ]
779   },
780   {
781     "id": "58bafa7d.dc8534",
782     "type": "returnFailure",
783     "name": "return failure",
784     "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",
785     "comments": "",
786     "x": 1794.0104217529297,
787     "y": 480.6770839691162,
788     "z": "85ea7447.de94b8",
789     "wires": [
790       
791     ]
792   },
793   {
794     "id": "f88531e6.ae397",
795     "type": "other",
796     "name": "other",
797     "xml": "<outcome value='Other'>\n",
798     "comments": "",
799     "outputs": 1,
800     "x": 1596.5104217529297,
801     "y": 520.6770839691162,
802     "z": "85ea7447.de94b8",
803     "wires": [
804       [
805         "adf12a25.f70768"
806       ]
807     ]
808   },
809   {
810     "id": "adf12a25.f70768",
811     "type": "block",
812     "name": "block : atomic",
813     "xml": "<block atomic=\"true\">",
814     "atomic": "true",
815     "outputs": 1,
816     "x": 1757.5104217529297,
817     "y": 520.6770839691162,
818     "z": "85ea7447.de94b8",
819     "wires": [
820       [
821         "81a71d76.fca27",
822         "81dbd082.fe84e"
823       ]
824     ]
825   },
826   {
827     "id": "81a71d76.fca27",
828     "type": "for",
829     "name": "for nidx..service-data.networks.network[]",
830     "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
831     "comments": "",
832     "outputs": 1,
833     "x": 2020.0104217529297,
834     "y": 500.6770839691162,
835     "z": "85ea7447.de94b8",
836     "wires": [
837       [
838         "bfc00421.e16008"
839       ]
840     ]
841   },
842   {
843     "id": "bfc00421.e16008",
844     "type": "switchNode",
845     "name": "switch networkid found",
846     "xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
847     "comments": "",
848     "outputs": 1,
849     "x": 2306.0104217529297,
850     "y": 500.6770839691162,
851     "z": "85ea7447.de94b8",
852     "wires": [
853       [
854         "c0cf0cfd.ee88d"
855       ]
856     ]
857   },
858   {
859     "id": "c0cf0cfd.ee88d",
860     "type": "outcomeTrue",
861     "name": "true",
862     "xml": "<outcome value='true'>\n",
863     "comments": "",
864     "outputs": 1,
865     "x": 2476.5104217529297,
866     "y": 500.6770839691162,
867     "z": "85ea7447.de94b8",
868     "wires": [
869       [
870         "be39b005.2a634"
871       ]
872     ]
873   },
874   {
875     "id": "4180e683.809aa8",
876     "type": "set",
877     "name": "set tmp.nidx and ctx.network-data",
878     "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].network-data.`' />\n",
879     "comments": "",
880     "x": 2866.510482788086,
881     "y": 443.67710971832275,
882     "z": "85ea7447.de94b8",
883     "wires": [
884       
885     ]
886   },
887   {
888     "id": "8f21dfe1.e194f",
889     "type": "returnFailure",
890     "name": "return failure",
891     "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",
892     "comments": "",
893     "x": 2234.0104217529297,
894     "y": 540.6770839691162,
895     "z": "85ea7447.de94b8",
896     "wires": [
897       
898     ]
899   },
900   {
901     "id": "d566fcec.dd82e",
902     "type": "outcome",
903     "name": "NULL",
904     "xml": "<outcome value=''>\n",
905     "comments": "",
906     "outputs": 1,
907     "x": 2096.5104217529297,
908     "y": 540.6770839691162,
909     "z": "85ea7447.de94b8",
910     "wires": [
911       [
912         "8f21dfe1.e194f"
913       ]
914     ]
915   },
916   {
917     "id": "81dbd082.fe84e",
918     "type": "switchNode",
919     "name": "switch tmp.nidx ",
920     "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
921     "comments": "",
922     "outputs": 1,
923     "x": 1942.5104217529297,
924     "y": 540.6770839691162,
925     "z": "85ea7447.de94b8",
926     "wires": [
927       [
928         "d566fcec.dd82e"
929       ]
930     ]
931   },
932   {
933     "id": "1f6f232b.661ccd",
934     "type": "switchNode",
935     "name": "switch network-level-oper-status",
936     "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
937     "comments": "",
938     "outputs": 1,
939     "x": 1321.6771087646484,
940     "y": 579.5659618377686,
941     "z": "85ea7447.de94b8",
942     "wires": [
943       [
944         "2ea404ed.2890bc",
945         "3fc8a371.2d444c"
946       ]
947     ]
948   },
949   {
950     "id": "2ea404ed.2890bc",
951     "type": "outcome",
952     "name": "outcome Created",
953     "xml": "<outcome value='Created'>\n",
954     "comments": "",
955     "outputs": 1,
956     "x": 1618.5105247497559,
957     "y": 579.5659599304199,
958     "z": "85ea7447.de94b8",
959     "wires": [
960       [
961         "4920efaf.e8518"
962       ]
963     ]
964   },
965   {
966     "id": "3fc8a371.2d444c",
967     "type": "other",
968     "name": "other",
969     "xml": "<outcome value='Other'>\n",
970     "comments": "",
971     "outputs": 1,
972     "x": 1586.5105247497559,
973     "y": 619.5659599304199,
974     "z": "85ea7447.de94b8",
975     "wires": [
976       [
977         "e8e9554e.9ed228"
978       ]
979     ]
980   },
981   {
982     "id": "e8e9554e.9ed228",
983     "type": "returnFailure",
984     "name": "return failure",
985     "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 is not in appropriate state for activate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
986     "comments": "",
987     "x": 1744.0105247497559,
988     "y": 619.5659599304199,
989     "z": "85ea7447.de94b8",
990     "wires": [
991       
992     ]
993   },
994   {
995     "id": "8110b258.792d5",
996     "type": "switchNode",
997     "name": "switch network-id",
998     "xml": "<switch test=\"`$network-topology-operation-input.network-information.network-id`\">\n",
999     "comments": "",
1000     "outputs": 1,
1001     "x": 1268.5104217529297,
1002     "y": 440.6770839691162,
1003     "z": "85ea7447.de94b8",
1004     "wires": [
1005       [
1006         "2154102d.3723d"
1007       ]
1008     ]
1009   },
1010   {
1011     "id": "2154102d.3723d",
1012     "type": "outcome",
1013     "name": "NULL",
1014     "xml": "<outcome value=''>",
1015     "comments": "",
1016     "outputs": 1,
1017     "x": 1496.5104217529297,
1018     "y": 440.6770839691162,
1019     "z": "85ea7447.de94b8",
1020     "wires": [
1021       [
1022         "6116891a.4a7628"
1023       ]
1024     ]
1025   },
1026   {
1027     "id": "6116891a.4a7628",
1028     "type": "returnFailure",
1029     "name": "return failure",
1030     "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.network-input-parameters.name is a required input\" />\n",
1031     "comments": "",
1032     "x": 1634.0104217529297,
1033     "y": 440.6770839691162,
1034     "z": "85ea7447.de94b8",
1035     "wires": [
1036       
1037     ]
1038   },
1039   {
1040     "id": "3952213.ae947de",
1041     "type": "execute",
1042     "name": "execute requiredParameters",
1043     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"network-topology-operation-input.network-information.network-id\" value=\"$network-topology-operation-input.network-information.network-id\"/>\n\n",
1044     "comments": "",
1045     "outputs": 1,
1046     "x": 1303.0104217529297,
1047     "y": 400.6770839691162,
1048     "z": "85ea7447.de94b8",
1049     "wires": [
1050       [
1051         
1052       ]
1053     ]
1054   },
1055   {
1056     "id": "8df757db.a56268",
1057     "type": "switchNode",
1058     "name": "switch network-level-oper-status",
1059     "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
1060     "comments": "",
1061     "outputs": 1,
1062     "x": 1349.8436737060547,
1063     "y": 829.565938949585,
1064     "z": "85ea7447.de94b8",
1065     "wires": [
1066       [
1067         "20aef547.50072a",
1068         "df0219da.c64748"
1069       ]
1070     ]
1071   },
1072   {
1073     "id": "20aef547.50072a",
1074     "type": "outcome",
1075     "name": "outcome Active",
1076     "xml": "<outcome value='Active'>\n",
1077     "comments": "",
1078     "outputs": 1,
1079     "x": 1623.1770477294922,
1080     "y": 804.0103969573975,
1081     "z": "85ea7447.de94b8",
1082     "wires": [
1083       [
1084         "7cd2b1ba.76f03"
1085       ]
1086     ]
1087   },
1088   {
1089     "id": "df0219da.c64748",
1090     "type": "other",
1091     "name": "other",
1092     "xml": "<outcome value='Other'>\n",
1093     "comments": "",
1094     "outputs": 1,
1095     "x": 1593.1770477294922,
1096     "y": 844.0103969573975,
1097     "z": "85ea7447.de94b8",
1098     "wires": [
1099       [
1100         "cde4a066.01eff"
1101       ]
1102     ]
1103   },
1104   {
1105     "id": "cde4a066.01eff",
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=\"`'Network is not in appropriate state for deactivate. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
1109     "comments": "",
1110     "x": 1759.1770477294922,
1111     "y": 846.0103969573975,
1112     "z": "85ea7447.de94b8",
1113     "wires": [
1114       
1115     ]
1116   },
1117   {
1118     "id": "314d388e.78f918",
1119     "type": "switchNode",
1120     "name": "switch network-level-oper-status",
1121     "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
1122     "comments": "",
1123     "outputs": 1,
1124     "x": 1338.7325897216797,
1125     "y": 1000.67702293396,
1126     "z": "85ea7447.de94b8",
1127     "wires": [
1128       [
1129         "7c9245c6.2a554c",
1130         "6b9c73ba.23740c"
1131       ]
1132     ]
1133   },
1134   {
1135     "id": "7c9245c6.2a554c",
1136     "type": "outcome",
1137     "name": "outcome PendingDelete",
1138     "xml": "<outcome value='PendingDelete'>\n",
1139     "comments": "",
1140     "outputs": 1,
1141     "x": 1638.732650756836,
1142     "y": 968.4548187255859,
1143     "z": "85ea7447.de94b8",
1144     "wires": [
1145       [
1146         "342b3c07.812f54"
1147       ]
1148     ]
1149   },
1150   {
1151     "id": "6b9c73ba.23740c",
1152     "type": "other",
1153     "name": "other",
1154     "xml": "<outcome value='Other'>\n",
1155     "comments": "",
1156     "outputs": 1,
1157     "x": 1582.0659637451172,
1158     "y": 1015.1214809417725,
1159     "z": "85ea7447.de94b8",
1160     "wires": [
1161       [
1162         "ed451401.504a48"
1163       ]
1164     ]
1165   },
1166   {
1167     "id": "ed451401.504a48",
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=\"`'Network is not in appropriate state for delete. Current state is ' + $service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`\" />",
1171     "comments": "",
1172     "x": 1748.0659637451172,
1173     "y": 1017.1214809417725,
1174     "z": "85ea7447.de94b8",
1175     "wires": [
1176       
1177     ]
1178   },
1179   {
1180     "id": "4920efaf.e8518",
1181     "type": "block",
1182     "name": "block : atomic",
1183     "xml": "<block atomic=\"true\">",
1184     "atomic": "true",
1185     "outputs": 1,
1186     "x": 1806.5104026794434,
1187     "y": 580.6770439147949,
1188     "z": "85ea7447.de94b8",
1189     "wires": [
1190       [
1191         
1192       ]
1193     ]
1194   },
1195   {
1196     "id": "7cd2b1ba.76f03",
1197     "type": "block",
1198     "name": "block : atomic",
1199     "xml": "<block atomic=\"true\">",
1200     "atomic": "true",
1201     "outputs": 1,
1202     "x": 1823.1769256591797,
1203     "y": 802.1585292816162,
1204     "z": "85ea7447.de94b8",
1205     "wires": [
1206       [
1207         
1208       ]
1209     ]
1210   },
1211   {
1212     "id": "342b3c07.812f54",
1213     "type": "block",
1214     "name": "block : atomic",
1215     "xml": "<block atomic=\"true\">",
1216     "atomic": "true",
1217     "outputs": 1,
1218     "x": 1854.2881317138672,
1219     "y": 968.8251552581787,
1220     "z": "85ea7447.de94b8",
1221     "wires": [
1222       [
1223         
1224       ]
1225     ]
1226   },
1227   {
1228     "id": "f267869b.ce6d48",
1229     "type": "break",
1230     "name": "break",
1231     "xml": "<break>\n",
1232     "comments": "",
1233     "x": 2768.676830291748,
1234     "y": 545.0103549957275,
1235     "z": "85ea7447.de94b8",
1236     "wires": [
1237       
1238     ]
1239   },
1240   {
1241     "id": "be39b005.2a634",
1242     "type": "block",
1243     "name": "block : atomic",
1244     "xml": "<block atomic=\"true\">",
1245     "atomic": "true",
1246     "outputs": 1,
1247     "x": 2626.676933288574,
1248     "y": 497.01043224334717,
1249     "z": "85ea7447.de94b8",
1250     "wires": [
1251       [
1252         "4180e683.809aa8",
1253         "f267869b.ce6d48"
1254       ]
1255     ]
1256   }
1257 ]