Allow sub directories for graphs
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_validate-sotn-network-input-parameters.json
1 [
2   {
3     "id": "e0ea16ce.30b528",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 129,
8     "y": 55.76192092895508,
9     "z": "86a643d3.ad3a2",
10     "wires": [
11       [
12         "421503a6.f5b1fc"
13       ]
14     ]
15   },
16   {
17     "id": "421503a6.f5b1fc",
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": 374.2857131958008,
26     "y": 55,
27     "z": "86a643d3.ad3a2",
28     "wires": [
29       [
30         "39c1834a.bed64c"
31       ]
32     ]
33   },
34   {
35     "id": "39c1834a.bed64c",
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": 331.91668701171875,
42     "y": 130.0149383544922,
43     "z": "86a643d3.ad3a2",
44     "wires": [
45       [
46         "8c035f21.9908d"
47       ]
48     ]
49   },
50   {
51     "id": "8c035f21.9908d",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">",
55     "atomic": "true",
56     "outputs": 1,
57     "x": 615.9166946411133,
58     "y": 118.01496315002441,
59     "z": "86a643d3.ad3a2",
60     "wires": [
61       [
62         "71b449ba.b5b6e8",
63         "58081ff8.7b99b"
64       ]
65     ]
66   },
67   {
68     "id": "71b449ba.b5b6e8",
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": 896.9166946411133,
75     "y": 113.01494884490967,
76     "z": "86a643d3.ad3a2",
77     "wires": [
78       [
79         "2e891b63.abe3c4"
80       ]
81     ]
82   },
83   {
84     "id": "2e891b63.abe3c4",
85     "type": "outcome",
86     "name": "NULL",
87     "xml": "<outcome value=''>",
88     "comments": "",
89     "outputs": 1,
90     "x": 1087.6309967041016,
91     "y": 114.01494979858398,
92     "z": "86a643d3.ad3a2",
93     "wires": [
94       [
95         "87e5a766.06c0f8"
96       ]
97     ]
98   },
99   {
100     "id": "87e5a766.06c0f8",
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": 1262.0595474243164,
106     "y": 113.01494216918945,
107     "z": "86a643d3.ad3a2",
108     "wires": []
109   },
110   {
111     "id": "58081ff8.7b99b",
112     "type": "switchNode",
113     "name": "switch svc-action",
114     "xml": "<switch test='`$network-topology-operation-input.sdnc-request-header.svc-action`'>\n",
115     "comments": "",
116     "outputs": 1,
117     "x": 197.91664123535156,
118     "y": 389.0149631500244,
119     "z": "86a643d3.ad3a2",
120     "wires": [
121       [
122         "244d88a8.8b34f8",
123         "ed647530.fd1808",
124         "e7e5dea9.76643",
125         "e66827c9.add5d8",
126         "708e7f97.f011a"
127       ]
128     ]
129   },
130   {
131     "id": "244d88a8.8b34f8",
132     "type": "outcome",
133     "name": "create",
134     "xml": "<outcome value='create'>\n",
135     "comments": "",
136     "outputs": 1,
137     "x": 406.50001525878906,
138     "y": 218.42859077453613,
139     "z": "86a643d3.ad3a2",
140     "wires": [
141       [
142         "77a0c94f.323ad8"
143       ]
144     ]
145   },
146   {
147     "id": "77a0c94f.323ad8",
148     "type": "block",
149     "name": "block : atomic",
150     "xml": "<block atomic=\"true\">",
151     "atomic": "true",
152     "outputs": 1,
153     "x": 567.5000152587891,
154     "y": 218.42859077453613,
155     "z": "86a643d3.ad3a2",
156     "wires": [
157       [
158         "45b5c3e7.7e8fdc"
159       ]
160     ]
161   },
162   {
163     "id": "ed647530.fd1808",
164     "type": "outcome",
165     "name": "deactivate",
166     "xml": "<outcome value='deactivate'>\n",
167     "comments": "",
168     "outputs": 1,
169     "x": 379.49200439453125,
170     "y": 827.1904592514038,
171     "z": "86a643d3.ad3a2",
172     "wires": [
173       [
174         "d552d87c.91c978"
175       ]
176     ]
177   },
178   {
179     "id": "e7e5dea9.76643",
180     "type": "outcome",
181     "name": "delete",
182     "xml": "<outcome value='delete'>\n",
183     "comments": "",
184     "outputs": 1,
185     "x": 383.2063865661621,
186     "y": 997.9050168991089,
187     "z": "86a643d3.ad3a2",
188     "wires": [
189       [
190         "dfce9d99.75939"
191       ]
192     ]
193   },
194   {
195     "id": "e66827c9.add5d8",
196     "type": "other",
197     "name": "other",
198     "xml": "<outcome value='Other'>\n",
199     "comments": "",
200     "outputs": 1,
201     "x": 382.96827697753906,
202     "y": 1171.3333024978638,
203     "z": "86a643d3.ad3a2",
204     "wires": [
205       [
206         "25d5e03b.c57d5"
207       ]
208     ]
209   },
210   {
211     "id": "25d5e03b.c57d5",
212     "type": "returnFailure",
213     "name": "return failure",
214     "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",
215     "comments": "",
216     "x": 566.5398101806641,
217     "y": 1171.9524431228638,
218     "z": "86a643d3.ad3a2",
219     "wires": []
220   },
221   {
222     "id": "45b5c3e7.7e8fdc",
223     "type": "switchNode",
224     "name": "switch request-action",
225     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
226     "comments": "",
227     "outputs": 1,
228     "x": 791.0000152587891,
229     "y": 218.42859077453613,
230     "z": "86a643d3.ad3a2",
231     "wires": [
232       [
233         "5607ba9c.a01254",
234         "5b72d140.94b19"
235       ]
236     ]
237   },
238   {
239     "id": "5607ba9c.a01254",
240     "type": "other",
241     "name": "Other",
242     "xml": "<outcome value='Other'>",
243     "comments": "",
244     "outputs": 1,
245     "x": 966.5000152587891,
246     "y": 238.42859077453613,
247     "z": "86a643d3.ad3a2",
248     "wires": [
249       [
250         "e3e018a8.e54428"
251       ]
252     ]
253   },
254   {
255     "id": "e3e018a8.e54428",
256     "type": "returnFailure",
257     "name": "return failure",
258     "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",
259     "comments": "",
260     "x": 1104.000015258789,
261     "y": 238.42859077453613,
262     "z": "86a643d3.ad3a2",
263     "wires": []
264   },
265   {
266     "id": "c81e309.24d38d",
267     "type": "other",
268     "name": "DeleteSOTNConnectivityInstance",
269     "xml": "<outcome value='DeleteSOTNConnectivityInstance'>",
270     "comments": "",
271     "outputs": 1,
272     "x": 805.0634269714355,
273     "y": 998.4602870941162,
274     "z": "86a643d3.ad3a2",
275     "wires": [
276       [
277         "b9972944.66ec38"
278       ]
279     ]
280   },
281   {
282     "id": "b2f524af.680db8",
283     "type": "other",
284     "name": "Other",
285     "xml": "<outcome value='Other'>",
286     "comments": "",
287     "outputs": 1,
288     "x": 740.6189727783203,
289     "y": 1070.6825561523438,
290     "z": "86a643d3.ad3a2",
291     "wires": [
292       [
293         "ced4fad3.246c68"
294       ]
295     ]
296   },
297   {
298     "id": "ced4fad3.246c68",
299     "type": "returnFailure",
300     "name": "return failure",
301     "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",
302     "comments": "",
303     "x": 900.952392578125,
304     "y": 1072.7936935424805,
305     "z": "86a643d3.ad3a2",
306     "wires": []
307   },
308   {
309     "id": "b9972944.66ec38",
310     "type": "block",
311     "name": "block : atomic",
312     "xml": "<block atomic=\"true\">",
313     "atomic": "true",
314     "outputs": 1,
315     "x": 1048.9523010253906,
316     "y": 1000.682538986206,
317     "z": "86a643d3.ad3a2",
318     "wires": [
319       [
320         "61c91a24.083064",
321         "fa32e176.13d09",
322         "11242577.05a18b",
323         "5728f3e8.67ddbc"
324       ]
325     ]
326   },
327   {
328     "id": "708e7f97.f011a",
329     "type": "outcome",
330     "name": "activate",
331     "xml": "<outcome value='activate'>\n",
332     "comments": "",
333     "outputs": 1,
334     "x": 400.4285697937012,
335     "y": 481.47623348236084,
336     "z": "86a643d3.ad3a2",
337     "wires": [
338       [
339         "96fbea47.53b048"
340       ]
341     ]
342   },
343   {
344     "id": "96fbea47.53b048",
345     "type": "switchNode",
346     "name": "switch request-action",
347     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
348     "comments": "",
349     "outputs": 1,
350     "x": 583.2857360839844,
351     "y": 478.619083404541,
352     "z": "86a643d3.ad3a2",
353     "wires": [
354       [
355         "74c54cdd.16f624",
356         "eb74a3dc.cd3c3"
357       ]
358     ]
359   },
360   {
361     "id": "74c54cdd.16f624",
362     "type": "other",
363     "name": "ActivateSOTNConnectivityInstance",
364     "xml": "<outcome value='ActivateSOTNConnectivityInstance'>",
365     "comments": "",
366     "outputs": 1,
367     "x": 836.5000152587891,
368     "y": 458.42859077453613,
369     "z": "86a643d3.ad3a2",
370     "wires": [
371       [
372         "5309ed2f.aa6f94"
373       ]
374     ]
375   },
376   {
377     "id": "eb74a3dc.cd3c3",
378     "type": "other",
379     "name": "Other",
380     "xml": "<outcome value='Other'>",
381     "comments": "",
382     "outputs": 1,
383     "x": 766.5000152587891,
384     "y": 498.42859077453613,
385     "z": "86a643d3.ad3a2",
386     "wires": [
387       [
388         "dce7936d.fb9c7"
389       ]
390     ]
391   },
392   {
393     "id": "dce7936d.fb9c7",
394     "type": "returnFailure",
395     "name": "return failure",
396     "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",
397     "comments": "",
398     "x": 924.0000152587891,
399     "y": 498.42859077453613,
400     "z": "86a643d3.ad3a2",
401     "wires": []
402   },
403   {
404     "id": "5309ed2f.aa6f94",
405     "type": "block",
406     "name": "block : atomic",
407     "xml": "<block atomic=\"true\">",
408     "atomic": "true",
409     "outputs": 1,
410     "x": 1067.500015258789,
411     "y": 458.42859077453613,
412     "z": "86a643d3.ad3a2",
413     "wires": [
414       [
415         "11242577.05a18b",
416         "61c91a24.083064",
417         "fa32e176.13d09",
418         "decc2f59.1541d"
419       ]
420     ]
421   },
422   {
423     "id": "f16eb507.dd9548",
424     "type": "other",
425     "name": "DeactivateSOTNConnectivityInstance",
426     "xml": "<outcome value='DeactivateSOTNConnectivityInstance'>",
427     "comments": "",
428     "outputs": 1,
429     "x": 822.9206314086914,
430     "y": 828.9048528671265,
431     "z": "86a643d3.ad3a2",
432     "wires": [
433       [
434         "a0749457.21f388"
435       ]
436     ]
437   },
438   {
439     "id": "a74c9bd7.c78918",
440     "type": "other",
441     "name": "Other",
442     "xml": "<outcome value='Other'>",
443     "comments": "",
444     "outputs": 1,
445     "x": 737.9206237792969,
446     "y": 897.904860496521,
447     "z": "86a643d3.ad3a2",
448     "wires": [
449       [
450         "432b7019.21a33"
451       ]
452     ]
453   },
454   {
455     "id": "432b7019.21a33",
456     "type": "returnFailure",
457     "name": "return failure",
458     "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",
459     "comments": "",
460     "x": 918.9206390380859,
461     "y": 898.904860496521,
462     "z": "86a643d3.ad3a2",
463     "wires": []
464   },
465   {
466     "id": "d552d87c.91c978",
467     "type": "switchNode",
468     "name": "switch request-action",
469     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
470     "comments": "",
471     "outputs": 1,
472     "x": 559.7776870727539,
473     "y": 829.3806867599487,
474     "z": "86a643d3.ad3a2",
475     "wires": [
476       [
477         "f16eb507.dd9548",
478         "a74c9bd7.c78918"
479       ]
480     ]
481   },
482   {
483     "id": "dfce9d99.75939",
484     "type": "switchNode",
485     "name": "switch request-action",
486     "xml": "<switch test='`$network-topology-operation-input.request-information.request-action`'>\n",
487     "comments": "",
488     "outputs": 1,
489     "x": 563.5554885864258,
490     "y": 997.7142407894135,
491     "z": "86a643d3.ad3a2",
492     "wires": [
493       [
494         "c81e309.24d38d",
495         "b2f524af.680db8"
496       ]
497     ]
498   },
499   {
500     "id": "a0749457.21f388",
501     "type": "block",
502     "name": "block : atomic",
503     "xml": "<block atomic=\"true\">",
504     "atomic": "true",
505     "outputs": 1,
506     "x": 1065.8887939453125,
507     "y": 828.7142333984375,
508     "z": "86a643d3.ad3a2",
509     "wires": [
510       [
511         "61c91a24.083064",
512         "fa32e176.13d09",
513         "11242577.05a18b",
514         "260e1e66.250fe2"
515       ]
516     ]
517   },
518   {
519     "id": "5b72d140.94b19",
520     "type": "other",
521     "name": "CreateSOTNConnectivityInstance",
522     "xml": "<outcome value='CreateSOTNConnectivityInstance'>",
523     "comments": "",
524     "outputs": 1,
525     "x": 1032.500015258789,
526     "y": 198.42859077453613,
527     "z": "86a643d3.ad3a2",
528     "wires": [
529       [
530         "71db169.8db0ce8"
531       ]
532     ]
533   },
534   {
535     "id": "71db169.8db0ce8",
536     "type": "block",
537     "name": "block : atomic",
538     "xml": "<block atomic=\"true\">",
539     "atomic": "true",
540     "outputs": 1,
541     "x": 1247.500015258789,
542     "y": 198.42859077453613,
543     "z": "86a643d3.ad3a2",
544     "wires": [
545       [
546         "555e685a.dea178"
547       ]
548     ]
549   },
550   {
551     "id": "555e685a.dea178",
552     "type": "for",
553     "name": "for loop i - Network input parameters",
554     "xml": "<for index=\"i\" start=\"0\" end=\"`$network-topology-operation-input.network-request-input.network-input-parameters.param_length`\">\n",
555     "comments": "",
556     "outputs": 1,
557     "x": 1498.000015258789,
558     "y": 198.42859077453613,
559     "z": "86a643d3.ad3a2",
560     "wires": [
561       [
562         "b5d38a93.c445f8"
563       ]
564     ]
565   },
566   {
567     "id": "b5d38a93.c445f8",
568     "type": "block",
569     "name": "block",
570     "xml": "<block>\n",
571     "atomic": "false",
572     "comments": "",
573     "outputs": 1,
574     "x": 1726.500015258789,
575     "y": 198.42859077453613,
576     "z": "86a643d3.ad3a2",
577     "wires": [
578       [
579         "663493d6.882fcc",
580         "25318af6.c353a6",
581         "2f66aae0.b823b6"
582       ]
583     ]
584   },
585   {
586     "id": "663493d6.882fcc",
587     "type": "set",
588     "name": "clear tmp-data",
589     "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
590     "comments": "",
591     "x": 1909.500015258789,
592     "y": 158.42859077453613,
593     "z": "86a643d3.ad3a2",
594     "wires": []
595   },
596   {
597     "id": "25318af6.c353a6",
598     "type": "set",
599     "name": "set tmp-data",
600     "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",
601     "comments": "",
602     "x": 1904.000015258789,
603     "y": 198.42859077453613,
604     "z": "86a643d3.ad3a2",
605     "wires": []
606   },
607   {
608     "id": "2f66aae0.b823b6",
609     "type": "switchNode",
610     "name": "switch name",
611     "xml": "<switch test=\"`$tmp.name`\">\n",
612     "comments": "",
613     "outputs": 1,
614     "x": 1904.000015258789,
615     "y": 238.42859077453613,
616     "z": "86a643d3.ad3a2",
617     "wires": [
618       [
619         "eb2e473.c9088b8",
620         "b4eb27a6.d1dc38",
621         "db337906.a847b8"
622       ]
623     ]
624   },
625   {
626     "id": "e4f121ba.30fe6",
627     "type": "switchNode",
628     "name": "switch value",
629     "xml": "<switch test=\"`$tmp.value`\">\n",
630     "comments": "",
631     "outputs": 1,
632     "x": 2364.0001831054688,
633     "y": 190.42861139774323,
634     "z": "86a643d3.ad3a2",
635     "wires": [
636       [
637         "a8215ff9.64a2b"
638       ]
639     ]
640   },
641   {
642     "id": "db337906.a847b8",
643     "type": "outcome",
644     "name": "NULL",
645     "xml": "<outcome value=''>",
646     "comments": "",
647     "outputs": 1,
648     "x": 2123.5003509521484,
649     "y": 256.4285989999771,
650     "z": "86a643d3.ad3a2",
651     "wires": [
652       [
653         "9b19d225.785e"
654       ]
655     ]
656   },
657   {
658     "id": "9b19d225.785e",
659     "type": "returnFailure",
660     "name": "return failure",
661     "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",
662     "comments": "",
663     "x": 2298.5003547668457,
664     "y": 255.4285989999771,
665     "z": "86a643d3.ad3a2",
666     "wires": []
667   },
668   {
669     "id": "eb2e473.c9088b8",
670     "type": "other",
671     "name": "name",
672     "xml": "<outcome value='name'>",
673     "comments": "",
674     "outputs": 1,
675     "x": 2123.5003509521484,
676     "y": 140.4285932779312,
677     "z": "86a643d3.ad3a2",
678     "wires": [
679       [
680         "e4f121ba.30fe6"
681       ]
682     ]
683   },
684   {
685     "id": "b4eb27a6.d1dc38",
686     "type": "other",
687     "name": "description",
688     "xml": "<outcome value='description'>",
689     "comments": "",
690     "outputs": 1,
691     "x": 2135.5001068115234,
692     "y": 194.09525549411774,
693     "z": "86a643d3.ad3a2",
694     "wires": [
695       [
696         "e4f121ba.30fe6"
697       ]
698     ]
699   },
700   {
701     "id": "a8215ff9.64a2b",
702     "type": "outcome",
703     "name": "NULL",
704     "xml": "<outcome value=''>",
705     "comments": "",
706     "outputs": 1,
707     "x": 2507.5001831054688,
708     "y": 190.42861139774323,
709     "z": "86a643d3.ad3a2",
710     "wires": [
711       [
712         "12290ec0.ce8691"
713       ]
714     ]
715   },
716   {
717     "id": "12290ec0.ce8691",
718     "type": "returnFailure",
719     "name": "return failure",
720     "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",
721     "comments": "",
722     "x": 2665.5001831054688,
723     "y": 190.42861139774323,
724     "z": "86a643d3.ad3a2",
725     "wires": []
726   },
727   {
728     "id": "11242577.05a18b",
729     "type": "switchNode",
730     "name": "switch service-data.networks.network_length",
731     "xml": "<switch test='`$service-data.networks.network_length`'>\n",
732     "comments": "",
733     "outputs": 1,
734     "x": 1372.3888778686523,
735     "y": 501.7619037628174,
736     "z": "86a643d3.ad3a2",
737     "wires": [
738       [
739         "58eed4d5.00134c",
740         "e4c0c5bb.6ddd38"
741       ]
742     ]
743   },
744   {
745     "id": "58eed4d5.00134c",
746     "type": "other",
747     "name": "outcome Null",
748     "xml": "<outcome value=''>\n",
749     "comments": "",
750     "outputs": 1,
751     "x": 1626.000015258789,
752     "y": 478.42859077453613,
753     "z": "86a643d3.ad3a2",
754     "wires": [
755       [
756         "5cea3771.9a9808"
757       ]
758     ]
759   },
760   {
761     "id": "5cea3771.9a9808",
762     "type": "returnFailure",
763     "name": "return failure",
764     "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",
765     "comments": "",
766     "x": 1804.000015258789,
767     "y": 478.42859077453613,
768     "z": "86a643d3.ad3a2",
769     "wires": []
770   },
771   {
772     "id": "e4c0c5bb.6ddd38",
773     "type": "other",
774     "name": "other",
775     "xml": "<outcome value='Other'>\n",
776     "comments": "",
777     "outputs": 1,
778     "x": 1606.500015258789,
779     "y": 518.4285907745361,
780     "z": "86a643d3.ad3a2",
781     "wires": [
782       [
783         "134578c4.184aa7"
784       ]
785     ]
786   },
787   {
788     "id": "134578c4.184aa7",
789     "type": "block",
790     "name": "block : atomic",
791     "xml": "<block atomic=\"true\">",
792     "atomic": "true",
793     "outputs": 1,
794     "x": 1767.500015258789,
795     "y": 518.4285907745361,
796     "z": "86a643d3.ad3a2",
797     "wires": [
798       [
799         "c72c7291.2c7c8",
800         "78223b76.7839b4"
801       ]
802     ]
803   },
804   {
805     "id": "c72c7291.2c7c8",
806     "type": "for",
807     "name": "for nidx..service-data.networks.network[]",
808     "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
809     "comments": "",
810     "outputs": 1,
811     "x": 2030.000015258789,
812     "y": 498.42859077453613,
813     "z": "86a643d3.ad3a2",
814     "wires": [
815       [
816         "982e1437.a4b908"
817       ]
818     ]
819   },
820   {
821     "id": "982e1437.a4b908",
822     "type": "switchNode",
823     "name": "switch networkid found",
824     "xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $network-topology-operation-input.network-information.network-id`\">\n\n",
825     "comments": "",
826     "outputs": 1,
827     "x": 2316.000015258789,
828     "y": 498.42859077453613,
829     "z": "86a643d3.ad3a2",
830     "wires": [
831       [
832         "ac9a1fa9.bdd22"
833       ]
834     ]
835   },
836   {
837     "id": "ac9a1fa9.bdd22",
838     "type": "outcomeTrue",
839     "name": "true",
840     "xml": "<outcome value='true'>\n",
841     "comments": "",
842     "outputs": 1,
843     "x": 2486.500015258789,
844     "y": 498.42859077453613,
845     "z": "86a643d3.ad3a2",
846     "wires": [
847       [
848         "ec9e80f0.5ec38"
849       ]
850     ]
851   },
852   {
853     "id": "6fad3509.6130ec",
854     "type": "set",
855     "name": "set tmp.nidx and ctx.network-data",
856     "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.network-data.' value='`$service-data.networks.network[$nidx].network-data.`' />\n",
857     "comments": "",
858     "x": 2883.5,
859     "y": 501.4286193847656,
860     "z": "86a643d3.ad3a2",
861     "wires": []
862   },
863   {
864     "id": "93e38c19.231d",
865     "type": "returnFailure",
866     "name": "return failure",
867     "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",
868     "comments": "",
869     "x": 2244.000015258789,
870     "y": 538.4285907745361,
871     "z": "86a643d3.ad3a2",
872     "wires": []
873   },
874   {
875     "id": "428fac3b.062274",
876     "type": "outcome",
877     "name": "NULL",
878     "xml": "<outcome value=''>\n",
879     "comments": "",
880     "outputs": 1,
881     "x": 2106.500015258789,
882     "y": 538.4285907745361,
883     "z": "86a643d3.ad3a2",
884     "wires": [
885       [
886         "93e38c19.231d"
887       ]
888     ]
889   },
890   {
891     "id": "78223b76.7839b4",
892     "type": "switchNode",
893     "name": "switch tmp.nidx ",
894     "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
895     "comments": "",
896     "outputs": 1,
897     "x": 1952.500015258789,
898     "y": 538.4285907745361,
899     "z": "86a643d3.ad3a2",
900     "wires": [
901       [
902         "428fac3b.062274"
903       ]
904     ]
905   },
906   {
907     "id": "decc2f59.1541d",
908     "type": "switchNode",
909     "name": "switch network-level-oper-status",
910     "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
911     "comments": "",
912     "outputs": 1,
913     "x": 1331.6667022705078,
914     "y": 577.3174686431885,
915     "z": "86a643d3.ad3a2",
916     "wires": [
917       [
918         "f48d98e8.f89ba8",
919         "184fe59.3a0381a"
920       ]
921     ]
922   },
923   {
924     "id": "f48d98e8.f89ba8",
925     "type": "outcome",
926     "name": "outcome Created",
927     "xml": "<outcome value='Created'>\n",
928     "comments": "",
929     "outputs": 1,
930     "x": 1628.5001182556152,
931     "y": 577.3174667358398,
932     "z": "86a643d3.ad3a2",
933     "wires": [
934       [
935         "a8cf04ce.747cb8"
936       ]
937     ]
938   },
939   {
940     "id": "184fe59.3a0381a",
941     "type": "other",
942     "name": "other",
943     "xml": "<outcome value='Other'>\n",
944     "comments": "",
945     "outputs": 1,
946     "x": 1596.5001182556152,
947     "y": 617.3174667358398,
948     "z": "86a643d3.ad3a2",
949     "wires": [
950       [
951         "3cd001a0.c45e6e"
952       ]
953     ]
954   },
955   {
956     "id": "3cd001a0.c45e6e",
957     "type": "returnFailure",
958     "name": "return failure",
959     "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`\" />",
960     "comments": "",
961     "x": 1754.0001182556152,
962     "y": 617.3174667358398,
963     "z": "86a643d3.ad3a2",
964     "wires": []
965   },
966   {
967     "id": "fa32e176.13d09",
968     "type": "switchNode",
969     "name": "switch network-id",
970     "xml": "<switch test=\"`$network-topology-operation-input.network-information.network-id`\">\n",
971     "comments": "",
972     "outputs": 1,
973     "x": 1278.500015258789,
974     "y": 438.42859077453613,
975     "z": "86a643d3.ad3a2",
976     "wires": [
977       [
978         "d8c5d1a3.b04f7"
979       ]
980     ]
981   },
982   {
983     "id": "d8c5d1a3.b04f7",
984     "type": "outcome",
985     "name": "NULL",
986     "xml": "<outcome value=''>",
987     "comments": "",
988     "outputs": 1,
989     "x": 1506.500015258789,
990     "y": 438.42859077453613,
991     "z": "86a643d3.ad3a2",
992     "wires": [
993       [
994         "4b563acc.78f384"
995       ]
996     ]
997   },
998   {
999     "id": "4b563acc.78f384",
1000     "type": "returnFailure",
1001     "name": "return failure",
1002     "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",
1003     "comments": "",
1004     "x": 1644.000015258789,
1005     "y": 438.42859077453613,
1006     "z": "86a643d3.ad3a2",
1007     "wires": []
1008   },
1009   {
1010     "id": "61c91a24.083064",
1011     "type": "execute",
1012     "name": "execute requiredParameters",
1013     "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",
1014     "comments": "",
1015     "outputs": 1,
1016     "x": 1313.000015258789,
1017     "y": 398.42859077453613,
1018     "z": "86a643d3.ad3a2",
1019     "wires": [
1020       []
1021     ]
1022   },
1023   {
1024     "id": "260e1e66.250fe2",
1025     "type": "switchNode",
1026     "name": "switch network-level-oper-status",
1027     "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
1028     "comments": "",
1029     "outputs": 1,
1030     "x": 1359.833267211914,
1031     "y": 827.3174457550049,
1032     "z": "86a643d3.ad3a2",
1033     "wires": [
1034       [
1035         "91b37393.c0324",
1036         "ffe16248.a4bf"
1037       ]
1038     ]
1039   },
1040   {
1041     "id": "91b37393.c0324",
1042     "type": "outcome",
1043     "name": "outcome Active",
1044     "xml": "<outcome value='Active'>\n",
1045     "comments": "",
1046     "outputs": 1,
1047     "x": 1633.1666412353516,
1048     "y": 801.7619037628174,
1049     "z": "86a643d3.ad3a2",
1050     "wires": [
1051       [
1052         "809f3296.9b18a"
1053       ]
1054     ]
1055   },
1056   {
1057     "id": "ffe16248.a4bf",
1058     "type": "other",
1059     "name": "other",
1060     "xml": "<outcome value='Other'>\n",
1061     "comments": "",
1062     "outputs": 1,
1063     "x": 1603.1666412353516,
1064     "y": 841.7619037628174,
1065     "z": "86a643d3.ad3a2",
1066     "wires": [
1067       [
1068         "4b27e236.5ebf5c"
1069       ]
1070     ]
1071   },
1072   {
1073     "id": "4b27e236.5ebf5c",
1074     "type": "returnFailure",
1075     "name": "return failure",
1076     "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`\" />",
1077     "comments": "",
1078     "x": 1769.1666412353516,
1079     "y": 843.7619037628174,
1080     "z": "86a643d3.ad3a2",
1081     "wires": []
1082   },
1083   {
1084     "id": "5728f3e8.67ddbc",
1085     "type": "switchNode",
1086     "name": "switch network-level-oper-status",
1087     "xml": "<switch test='`$service-data.networks.network[$tmp.nidx].network-data.network-level-oper-status.order-status`'>\n",
1088     "comments": "",
1089     "outputs": 1,
1090     "x": 1348.722183227539,
1091     "y": 998.4285297393799,
1092     "z": "86a643d3.ad3a2",
1093     "wires": [
1094       [
1095         "56251f9.92115e",
1096         "5f1c70a5.5c197"
1097       ]
1098     ]
1099   },
1100   {
1101     "id": "56251f9.92115e",
1102     "type": "outcome",
1103     "name": "outcome PendingDelete",
1104     "xml": "<outcome value='PendingDelete'>\n",
1105     "comments": "",
1106     "outputs": 1,
1107     "x": 1648.7222442626953,
1108     "y": 966.2063255310059,
1109     "z": "86a643d3.ad3a2",
1110     "wires": [
1111       [
1112         "a83a5460.627c38"
1113       ]
1114     ]
1115   },
1116   {
1117     "id": "5f1c70a5.5c197",
1118     "type": "other",
1119     "name": "other",
1120     "xml": "<outcome value='Other'>\n",
1121     "comments": "",
1122     "outputs": 1,
1123     "x": 1592.0555572509766,
1124     "y": 1012.8729877471924,
1125     "z": "86a643d3.ad3a2",
1126     "wires": [
1127       [
1128         "91838c11.18855"
1129       ]
1130     ]
1131   },
1132   {
1133     "id": "91838c11.18855",
1134     "type": "returnFailure",
1135     "name": "return failure",
1136     "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`\" />",
1137     "comments": "",
1138     "x": 1758.0555572509766,
1139     "y": 1014.8729877471924,
1140     "z": "86a643d3.ad3a2",
1141     "wires": []
1142   },
1143   {
1144     "id": "a8cf04ce.747cb8",
1145     "type": "block",
1146     "name": "block : atomic",
1147     "xml": "<block atomic=\"true\">",
1148     "atomic": "true",
1149     "outputs": 1,
1150     "x": 1816.4999961853027,
1151     "y": 578.4285507202148,
1152     "z": "86a643d3.ad3a2",
1153     "wires": [
1154       []
1155     ]
1156   },
1157   {
1158     "id": "809f3296.9b18a",
1159     "type": "block",
1160     "name": "block : atomic",
1161     "xml": "<block atomic=\"true\">",
1162     "atomic": "true",
1163     "outputs": 1,
1164     "x": 1833.166519165039,
1165     "y": 799.9100360870361,
1166     "z": "86a643d3.ad3a2",
1167     "wires": [
1168       []
1169     ]
1170   },
1171   {
1172     "id": "a83a5460.627c38",
1173     "type": "block",
1174     "name": "block : atomic",
1175     "xml": "<block atomic=\"true\">",
1176     "atomic": "true",
1177     "outputs": 1,
1178     "x": 1864.2777252197266,
1179     "y": 966.5766620635986,
1180     "z": "86a643d3.ad3a2",
1181     "wires": [
1182       []
1183     ]
1184   },
1185   {
1186     "id": "ec9e80f0.5ec38",
1187     "type": "block",
1188     "name": "block : atomic",
1189     "xml": "<block atomic=\"true\">",
1190     "atomic": "true",
1191     "outputs": 1,
1192     "x": 2636.6665267944336,
1193     "y": 494.7619390487671,
1194     "z": "86a643d3.ad3a2",
1195     "wires": [
1196       [
1197         "6fad3509.6130ec"
1198       ]
1199     ]
1200   }
1201 ]