Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_validate-connection-attachment-input.json
1 [
2   {
3     "id": "42b2c3b5.1de40c",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 164,
8     "y": 153.7469038963318,
9     "z": "d21b8423.410b48",
10     "wires": [
11       [
12         "26ae5f8e.852bd"
13       ]
14     ]
15   },
16   {
17     "id": "26ae5f8e.852bd",
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": 293.2857208251953,
26     "y": 248.9849772453308,
27     "z": "d21b8423.410b48",
28     "wires": [
29       [
30         "9c9331e1.ef348"
31       ]
32     ]
33   },
34   {
35     "id": "9c9331e1.ef348",
36     "type": "method",
37     "name": "method validate-connection-attachment-input",
38     "xml": "<method rpc='validate-connection-attachment-input' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 289.91668701171875,
42     "y": 344.99993228912354,
43     "z": "d21b8423.410b48",
44     "wires": [
45       [
46         "e30434d.72586c8"
47       ]
48     ]
49   },
50   {
51     "id": "e30434d.72586c8",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">",
55     "atomic": "true",
56     "outputs": 1,
57     "x": 637.9167785644531,
58     "y": 344,
59     "z": "d21b8423.410b48",
60     "wires": [
61       [
62         "a24e3968.f0f898",
63         "213180a5.dcdf2",
64         "6da46309.e8b25c",
65         "97be0dfc.a49b"
66       ]
67     ]
68   },
69   {
70     "id": "a24e3968.f0f898",
71     "type": "switchNode",
72     "name": "switch  svc-action",
73     "xml": "<switch test='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`'>\n",
74     "comments": "",
75     "outputs": 1,
76     "x": 1011.9167556762695,
77     "y": 93.99999618530273,
78     "z": "d21b8423.410b48",
79     "wires": [
80       [
81         "1a960cf7.459883"
82       ]
83     ]
84   },
85   {
86     "id": "1a960cf7.459883",
87     "type": "outcome",
88     "name": "NULL",
89     "xml": "<outcome value=''>",
90     "comments": "",
91     "outputs": 1,
92     "x": 1221.631118774414,
93     "y": 93.00000762939453,
94     "z": "d21b8423.410b48",
95     "wires": [
96       [
97         "87e1fc25.19dd7"
98       ]
99     ]
100   },
101   {
102     "id": "87e1fc25.19dd7",
103     "type": "returnFailure",
104     "name": "return failure",
105     "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",
106     "comments": "",
107     "x": 1396.059669494629,
108     "y": 92,
109     "z": "d21b8423.410b48",
110     "wires": []
111   },
112   {
113     "id": "213180a5.dcdf2",
114     "type": "switchNode",
115     "name": "switch svc-action",
116     "xml": "<switch test='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`'>\n",
117     "comments": "",
118     "outputs": 1,
119     "x": 816.9165649414062,
120     "y": 625.9999570846558,
121     "z": "d21b8423.410b48",
122     "wires": [
123       [
124         "2a3d4b0.69b81b6",
125         "38a5e948.46f696",
126         "249ed1d3.9ca2fe",
127         "7a022b30.b2a354",
128         "675a28ba.66ea98"
129       ]
130     ]
131   },
132   {
133     "id": "2a3d4b0.69b81b6",
134     "type": "outcome",
135     "name": "create",
136     "xml": "<outcome value='create'>\n",
137     "comments": "",
138     "outputs": 1,
139     "x": 1054.416690826416,
140     "y": 374.99999380111694,
141     "z": "d21b8423.410b48",
142     "wires": [
143       [
144         "eb01319b.f11ab"
145       ]
146     ]
147   },
148   {
149     "id": "38a5e948.46f696",
150     "type": "outcome",
151     "name": "delete",
152     "xml": "<outcome value='delete'>\n",
153     "comments": "",
154     "outputs": 1,
155     "x": 1059.428897857666,
156     "y": 923.890193939209,
157     "z": "d21b8423.410b48",
158     "wires": [
159       [
160         "ae84fe26.14305"
161       ]
162     ]
163   },
164   {
165     "id": "249ed1d3.9ca2fe",
166     "type": "other",
167     "name": "other",
168     "xml": "<outcome value='Other'>\n",
169     "comments": "",
170     "outputs": 1,
171     "x": 1056.1906623840332,
172     "y": 996.3186483383179,
173     "z": "d21b8423.410b48",
174     "wires": [
175       [
176         "a59dcb2c.5f74a8"
177       ]
178     ]
179   },
180   {
181     "id": "a59dcb2c.5f74a8",
182     "type": "returnFailure",
183     "name": "return failure",
184     "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",
185     "comments": "",
186     "x": 1239.7621955871582,
187     "y": 996.9377889633179,
188     "z": "d21b8423.410b48",
189     "wires": []
190   },
191   {
192     "id": "ae84fe26.14305",
193     "type": "block",
194     "name": "block : atomic",
195     "xml": "<block atomic=\"true\">",
196     "atomic": "true",
197     "outputs": 1,
198     "x": 1241.5717239379883,
199     "y": 924.5566444396973,
200     "z": "d21b8423.410b48",
201     "wires": [
202       [
203         "c8402cf9.c3498"
204       ]
205     ]
206   },
207   {
208     "id": "e9d0bfa.0872f4",
209     "type": "other",
210     "name": "DeleteSOTNAttachmentInstance",
211     "xml": "<outcome value='DeleteSOTNAttachmentInstance'>",
212     "comments": "",
213     "outputs": 1,
214     "x": 1706.286205291748,
215     "y": 893.556661605835,
216     "z": "d21b8423.410b48",
217     "wires": [
218       [
219         "c007bb78.bad198"
220       ]
221     ]
222   },
223   {
224     "id": "a0c47385.decaa",
225     "type": "other",
226     "name": "Other",
227     "xml": "<outcome value='Other'>",
228     "comments": "",
229     "outputs": 1,
230     "x": 1629.2864608764648,
231     "y": 974.5568246841431,
232     "z": "d21b8423.410b48",
233     "wires": [
234       [
235         "e6af92d5.15652"
236       ]
237     ]
238   },
239   {
240     "id": "e6af92d5.15652",
241     "type": "returnFailure",
242     "name": "return failure",
243     "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=delete\" />\n",
244     "comments": "",
245     "x": 1816.2864608764648,
246     "y": 975.5568246841431,
247     "z": "d21b8423.410b48",
248     "wires": []
249   },
250   {
251     "id": "c007bb78.bad198",
252     "type": "block",
253     "name": "block : atomic",
254     "xml": "<block atomic=\"true\">",
255     "atomic": "true",
256     "outputs": 1,
257     "x": 2097.2862243652344,
258     "y": 716.5566501617432,
259     "z": "d21b8423.410b48",
260     "wires": [
261       [
262         "52c40ba.0b16af4",
263         "eaa23038.207b"
264       ]
265     ]
266   },
267   {
268     "id": "52c40ba.0b16af4",
269     "type": "switchNode",
270     "name": "switch allotted-resource-id",
271     "xml": "<switch test='`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id`'>\n",
272     "comments": "",
273     "outputs": 1,
274     "x": 2320.2857990264893,
275     "y": 715.5565738677979,
276     "z": "d21b8423.410b48",
277     "wires": [
278       [
279         "5a95e1d3.c70c9"
280       ]
281     ]
282   },
283   {
284     "id": "5a95e1d3.c70c9",
285     "type": "outcome",
286     "name": "NULL",
287     "xml": "<outcome value=''>",
288     "comments": "",
289     "outputs": 1,
290     "x": 2500.285861968994,
291     "y": 714.5565891265869,
292     "z": "d21b8423.410b48",
293     "wires": [
294       [
295         "21b4438a.8ae7ac"
296       ]
297     ]
298   },
299   {
300     "id": "21b4438a.8ae7ac",
301     "type": "returnFailure",
302     "name": "return failure",
303     "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",
304     "comments": "",
305     "x": 2532.714515686035,
306     "y": 770.5566053390503,
307     "z": "d21b8423.410b48",
308     "wires": []
309   },
310   {
311     "id": "eaa23038.207b",
312     "type": "execute",
313     "name": "execute requiredParameter",
314     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id\" value=\"$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id\"/>\n\n",
315     "comments": "",
316     "outputs": 1,
317     "x": 2324.0002784729004,
318     "y": 677.6994247436523,
319     "z": "d21b8423.410b48",
320     "wires": [
321       []
322     ]
323   },
324   {
325     "id": "6da46309.e8b25c",
326     "type": "switchNode",
327     "name": "switch service-instance-id",
328     "xml": "<switch test='`$connection-attachment-topology-operation-input.service-information.service-instance-id`'>\n",
329     "comments": "",
330     "outputs": 1,
331     "x": 1035.0000915527344,
332     "y": 136.70971393585205,
333     "z": "d21b8423.410b48",
334     "wires": [
335       [
336         "9eae7e15.c32b3"
337       ]
338     ]
339   },
340   {
341     "id": "9eae7e15.c32b3",
342     "type": "other",
343     "name": "NULL",
344     "xml": "<outcome value=''>",
345     "comments": "",
346     "outputs": 1,
347     "x": 1251.4286804199219,
348     "y": 137.70971393585205,
349     "z": "d21b8423.410b48",
350     "wires": [
351       [
352         "1cff38a0.3251b7"
353       ]
354     ]
355   },
356   {
357     "id": "1cff38a0.3251b7",
358     "type": "returnFailure",
359     "name": "return failure",
360     "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",
361     "comments": "",
362     "x": 1409.8572082519531,
363     "y": 136.70971393585205,
364     "z": "d21b8423.410b48",
365     "wires": []
366   },
367   {
368     "id": "eb01319b.f11ab",
369     "type": "block",
370     "name": "block : atomic",
371     "xml": "<block atomic=\"true\">",
372     "atomic": "true",
373     "outputs": 1,
374     "x": 1219.2223320007324,
375     "y": 372.7096724510193,
376     "z": "d21b8423.410b48",
377     "wires": [
378       [
379         "2a814298.4379ee"
380       ]
381     ]
382   },
383   {
384     "id": "2a814298.4379ee",
385     "type": "switchNode",
386     "name": "switch request-action",
387     "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
388     "comments": "",
389     "outputs": 1,
390     "x": 1409.4578552246094,
391     "y": 374.214870929718,
392     "z": "d21b8423.410b48",
393     "wires": [
394       [
395         "9a24d7c1.7f41b8",
396         "31edce78.f55fe2",
397         "76132be7.8874c4"
398       ]
399     ]
400   },
401   {
402     "id": "9a24d7c1.7f41b8",
403     "type": "outcome",
404     "name": "CreateSOTNAttachmentInstance",
405     "xml": "<outcome value='CreateSOTNAttachmentInstance'>",
406     "comments": "",
407     "outputs": 1,
408     "x": 1690.7911376953125,
409     "y": 353.21460008621216,
410     "z": "d21b8423.410b48",
411     "wires": [
412       [
413         "ddc52a14.b68028"
414       ]
415     ]
416   },
417   {
418     "id": "31edce78.f55fe2",
419     "type": "outcome",
420     "name": "other",
421     "xml": "<outcome value='other'>",
422     "comments": "",
423     "outputs": 1,
424     "x": 1609.7912330627441,
425     "y": 442.88133573532104,
426     "z": "d21b8423.410b48",
427     "wires": [
428       [
429         "a1422df.b222fd"
430       ]
431     ]
432   },
433   {
434     "id": "a1422df.b222fd",
435     "type": "returnFailure",
436     "name": "return failure",
437     "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.request-action is invalid\" />\n",
438     "comments": "",
439     "x": 1808.347068786621,
440     "y": 442.3259925842285,
441     "z": "d21b8423.410b48",
442     "wires": []
443   },
444   {
445     "id": "ddc52a14.b68028",
446     "type": "block",
447     "name": "block : atomic",
448     "xml": "<block atomic=\"true\">",
449     "atomic": "true",
450     "outputs": 1,
451     "x": 1922.6665000915527,
452     "y": 355.59849977493286,
453     "z": "d21b8423.410b48",
454     "wires": [
455       [
456         "4d02f123.5c1cd"
457       ]
458     ]
459   },
460   {
461     "id": "4d02f123.5c1cd",
462     "type": "for",
463     "name": "for loop i - Sotn input param",
464     "xml": "<for index=\"i\" start=\"0\" end=\"`$connection-attachment-topology-operation-input.connection-attachment-request-input.param_length`\">\n",
465     "comments": "",
466     "outputs": 1,
467     "x": 2145.297737121582,
468     "y": 259.89916610717773,
469     "z": "d21b8423.410b48",
470     "wires": [
471       [
472         "3c0f8442.38d8dc"
473       ]
474     ]
475   },
476   {
477     "id": "3c0f8442.38d8dc",
478     "type": "block",
479     "name": "block",
480     "xml": "<block>\n",
481     "atomic": "false",
482     "comments": "",
483     "outputs": 1,
484     "x": 2336.3809661865234,
485     "y": 258.6460943222046,
486     "z": "d21b8423.410b48",
487     "wires": [
488       [
489         "d39cca26.839578",
490         "16b1f4f7.435bcb",
491         "1d34c439.601edc"
492       ]
493     ]
494   },
495   {
496     "id": "d39cca26.839578",
497     "type": "set",
498     "name": "clear tmp-data",
499     "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
500     "comments": "",
501     "x": 2495.381072998047,
502     "y": 212.88420391082764,
503     "z": "d21b8423.410b48",
504     "wires": []
505   },
506   {
507     "id": "16b1f4f7.435bcb",
508     "type": "set",
509     "name": "set tmp-data",
510     "xml": "<set>\n<parameter name='tmp.name' value=\"`$connection-attachment-topology-operation-input.connection-attachment-request-input.param[$i].name`\"/>\n<parameter name='tmp.value' value=\"`$connection-attachment-topology-operation-input.connection-attachment-request-input.param[$i].value`\"/>\n",
511     "comments": "",
512     "x": 2493.380947113037,
513     "y": 244.8842067718506,
514     "z": "d21b8423.410b48",
515     "wires": []
516   },
517   {
518     "id": "1d34c439.601edc",
519     "type": "switchNode",
520     "name": "switch name",
521     "xml": "<switch test=\"`$tmp.name`\">\n",
522     "comments": "",
523     "outputs": 1,
524     "x": 2490.3810691833496,
525     "y": 284.8842124938965,
526     "z": "d21b8423.410b48",
527     "wires": [
528       [
529         "a88c8435.38b638",
530         "3bbf5338.a951ec",
531         "1635afc2.b6de7",
532         "cff6db4f.b87538",
533         "9335d38b.7ca52",
534         "f2781f65.360cc",
535         "6bb67fb6.e8d0c",
536         "497eac21.19f344"
537       ]
538     ]
539   },
540   {
541     "id": "a88c8435.38b638",
542     "type": "outcome",
543     "name": "NULL",
544     "xml": "<outcome value=''>",
545     "comments": "",
546     "outputs": 1,
547     "x": 2697.4454765319824,
548     "y": 422.7098865509033,
549     "z": "d21b8423.410b48",
550     "wires": [
551       [
552         "f001e245.7813a"
553       ]
554     ]
555   },
556   {
557     "id": "f001e245.7813a",
558     "type": "returnFailure",
559     "name": "return failure",
560     "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",
561     "comments": "",
562     "x": 2849.445686340332,
563     "y": 417.7099189758301,
564     "z": "d21b8423.410b48",
565     "wires": []
566   },
567   {
568     "id": "c8402cf9.c3498",
569     "type": "switchNode",
570     "name": "switch request-action",
571     "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
572     "comments": "",
573     "outputs": 1,
574     "x": 1439.6670150756836,
575     "y": 926.7097959518433,
576     "z": "d21b8423.410b48",
577     "wires": [
578       [
579         "e9d0bfa.0872f4",
580         "a0c47385.decaa",
581         "9e1c0985.ac54a8"
582       ]
583     ]
584   },
585   {
586     "id": "3bbf5338.a951ec",
587     "type": "other",
588     "name": "sotnVpnName",
589     "xml": "<outcome value='sotnVpnName'>",
590     "comments": "",
591     "outputs": 1,
592     "x": 2717.4447526931763,
593     "y": 166.90960216522217,
594     "z": "d21b8423.410b48",
595     "wires": [
596       [
597         "524ca1b7.a929c"
598       ]
599     ]
600   },
601   {
602     "id": "524ca1b7.a929c",
603     "type": "switchNode",
604     "name": "switch value",
605     "xml": "<switch test=\"`$tmp.value`\">\n",
606     "comments": "",
607     "outputs": 1,
608     "x": 2980.3616256713867,
609     "y": 281.9245433807373,
610     "z": "d21b8423.410b48",
611     "wires": [
612       [
613         "76a5bf3b.12c31"
614       ]
615     ]
616   },
617   {
618     "id": "76a5bf3b.12c31",
619     "type": "outcome",
620     "name": "NULL",
621     "xml": "<outcome value=''>",
622     "comments": "",
623     "outputs": 1,
624     "x": 3118.3615951538086,
625     "y": 276.92456340789795,
626     "z": "d21b8423.410b48",
627     "wires": [
628       [
629         "6d73498b.516f18"
630       ]
631     ]
632   },
633   {
634     "id": "6d73498b.516f18",
635     "type": "returnFailure",
636     "name": "return failure",
637     "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=\"`'$tmp.name +' is a required input'`\" />\n",
638     "comments": "",
639     "x": 3240.7903060913086,
640     "y": 313.9245414733887,
641     "z": "d21b8423.410b48",
642     "wires": []
643   },
644   {
645     "id": "1635afc2.b6de7",
646     "type": "other",
647     "name": "clientSignal",
648     "xml": "<outcome value='clientSignal'>",
649     "comments": "",
650     "outputs": 1,
651     "x": 2710.444923400879,
652     "y": 203.90962409973145,
653     "z": "d21b8423.410b48",
654     "wires": [
655       [
656         "524ca1b7.a929c"
657       ]
658     ]
659   },
660   {
661     "id": "cff6db4f.b87538",
662     "type": "other",
663     "name": "access-provider-id",
664     "xml": "<outcome value='access-provider-id'>",
665     "comments": "",
666     "outputs": 1,
667     "x": 2730.333869934082,
668     "y": 239.90957164764404,
669     "z": "d21b8423.410b48",
670     "wires": [
671       [
672         "524ca1b7.a929c"
673       ]
674     ]
675   },
676   {
677     "id": "9335d38b.7ca52",
678     "type": "other",
679     "name": "access-client-id",
680     "xml": "<outcome value='access-client-id'>",
681     "comments": "",
682     "outputs": 1,
683     "x": 2719.3337745666504,
684     "y": 278.9095993041992,
685     "z": "d21b8423.410b48",
686     "wires": [
687       [
688         "524ca1b7.a929c"
689       ]
690     ]
691   },
692   {
693     "id": "f2781f65.360cc",
694     "type": "other",
695     "name": "access-topology-id",
696     "xml": "<outcome value='access-topology-id'>",
697     "comments": "",
698     "outputs": 1,
699     "x": 2728.3338661193848,
700     "y": 313.9095706939697,
701     "z": "d21b8423.410b48",
702     "wires": [
703       []
704     ]
705   },
706   {
707     "id": "6bb67fb6.e8d0c",
708     "type": "other",
709     "name": "access-node-id",
710     "xml": "<outcome value='access-node-id'>",
711     "comments": "",
712     "outputs": 1,
713     "x": 2719.333869934082,
714     "y": 349.9096088409424,
715     "z": "d21b8423.410b48",
716     "wires": [
717       [
718         "524ca1b7.a929c"
719       ]
720     ]
721   },
722   {
723     "id": "497eac21.19f344",
724     "type": "other",
725     "name": "cVLAN",
726     "xml": "<outcome value='cVLAN'>",
727     "comments": "",
728     "outputs": 1,
729     "x": 2694.33438873291,
730     "y": 385.465350151062,
731     "z": "d21b8423.410b48",
732     "wires": [
733       [
734         "524ca1b7.a929c"
735       ]
736     ]
737   },
738   {
739     "id": "7a022b30.b2a354",
740     "type": "outcome",
741     "name": "activate",
742     "xml": "<outcome value='activate'>\n",
743     "comments": "",
744     "outputs": 1,
745     "x": 1058.4999771118164,
746     "y": 563.2469110488892,
747     "z": "d21b8423.410b48",
748     "wires": [
749       [
750         "69f0bb77.157344"
751       ]
752     ]
753   },
754   {
755     "id": "69f0bb77.157344",
756     "type": "block",
757     "name": "block : atomic",
758     "xml": "<block atomic=\"true\">",
759     "atomic": "true",
760     "outputs": 1,
761     "x": 1239.305648803711,
762     "y": 563.9566278457642,
763     "z": "d21b8423.410b48",
764     "wires": [
765       [
766         "18ee795e.66d7e7"
767       ]
768     ]
769   },
770   {
771     "id": "18ee795e.66d7e7",
772     "type": "switchNode",
773     "name": "switch request-action",
774     "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
775     "comments": "",
776     "outputs": 1,
777     "x": 1427.541130065918,
778     "y": 565.4617948532104,
779     "z": "d21b8423.410b48",
780     "wires": [
781       [
782         "e08a9821.e97b18",
783         "ee585f2d.5f4db",
784         "e7496e1a.f100e"
785       ]
786     ]
787   },
788   {
789     "id": "e08a9821.e97b18",
790     "type": "outcome",
791     "name": "ActivateSOTNAttachmentInstance",
792     "xml": "<outcome value='ActivateSOTNAttachmentInstance'>",
793     "comments": "",
794     "outputs": 1,
795     "x": 1696.8744087219238,
796     "y": 539.4615068435669,
797     "z": "d21b8423.410b48",
798     "wires": [
799       [
800         "c007bb78.bad198"
801       ]
802     ]
803   },
804   {
805     "id": "ee585f2d.5f4db",
806     "type": "outcome",
807     "name": "other",
808     "xml": "<outcome value='other'>",
809     "comments": "",
810     "outputs": 1,
811     "x": 1612.874210357666,
812     "y": 620.1283292770386,
813     "z": "d21b8423.410b48",
814     "wires": [
815       [
816         "f1ebc9ca.bda2a8"
817       ]
818     ]
819   },
820   {
821     "id": "f1ebc9ca.bda2a8",
822     "type": "returnFailure",
823     "name": "return failure",
824     "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.request-action is invalid\" />\n",
825     "comments": "",
826     "x": 1752.4301681518555,
827     "y": 623.5729856491089,
828     "z": "d21b8423.410b48",
829     "wires": []
830   },
831   {
832     "id": "675a28ba.66ea98",
833     "type": "outcome",
834     "name": "deactivate",
835     "xml": "<outcome value='deactivate'>\n",
836     "comments": "",
837     "outputs": 1,
838     "x": 1074.5,
839     "y": 734.2469053268433,
840     "z": "d21b8423.410b48",
841     "wires": [
842       [
843         "fd017ad9.8950a8"
844       ]
845     ]
846   },
847   {
848     "id": "fd017ad9.8950a8",
849     "type": "block",
850     "name": "block : atomic",
851     "xml": "<block atomic=\"true\">",
852     "atomic": "true",
853     "outputs": 1,
854     "x": 1256.6428260803223,
855     "y": 734.9133558273315,
856     "z": "d21b8423.410b48",
857     "wires": [
858       [
859         "6e494400.e2627c"
860       ]
861     ]
862   },
863   {
864     "id": "4445cab3.35a8c4",
865     "type": "other",
866     "name": "DeactivateSDWANAttachmentInstance",
867     "xml": "<outcome value='DeactivateSDWANAttachmentInstance'>",
868     "comments": "",
869     "outputs": 1,
870     "x": 1718.3572616577148,
871     "y": 705.9133615493774,
872     "z": "d21b8423.410b48",
873     "wires": [
874       [
875         "c007bb78.bad198"
876       ]
877     ]
878   },
879   {
880     "id": "6c144aae.b65964",
881     "type": "other",
882     "name": "Other",
883     "xml": "<outcome value='Other'>",
884     "comments": "",
885     "outputs": 1,
886     "x": 1621.357566833496,
887     "y": 781.9135341644287,
888     "z": "d21b8423.410b48",
889     "wires": [
890       [
891         "d4bf5522.da0cd8"
892       ]
893     ]
894   },
895   {
896     "id": "d4bf5522.da0cd8",
897     "type": "returnFailure",
898     "name": "return failure",
899     "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=delete\" />\n",
900     "comments": "",
901     "x": 1779.3575057983398,
902     "y": 784.9135570526123,
903     "z": "d21b8423.410b48",
904     "wires": []
905   },
906   {
907     "id": "6e494400.e2627c",
908     "type": "switchNode",
909     "name": "switch request-action",
910     "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
911     "comments": "",
912     "outputs": 1,
913     "x": 1443.7381401062012,
914     "y": 734.066478729248,
915     "z": "d21b8423.410b48",
916     "wires": [
917       [
918         "4445cab3.35a8c4",
919         "6c144aae.b65964",
920         "adb5b0a4.b36d9"
921       ]
922     ]
923   },
924   {
925     "id": "97be0dfc.a49b",
926     "type": "switchNode",
927     "name": "switch parent-service-instance-id",
928     "xml": "<switch test='`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id`'>\n",
929     "comments": "",
930     "outputs": 1,
931     "x": 1050.9792175292969,
932     "y": 182.7261381149292,
933     "z": "d21b8423.410b48",
934     "wires": [
935       [
936         "97c55ba1.1ffe98"
937       ]
938     ]
939   },
940   {
941     "id": "97c55ba1.1ffe98",
942     "type": "other",
943     "name": "NULL",
944     "xml": "<outcome value=''>",
945     "comments": "",
946     "outputs": 1,
947     "x": 1257.4077835083008,
948     "y": 186.72613048553467,
949     "z": "d21b8423.410b48",
950     "wires": [
951       [
952         "18a36e30.d0c222"
953       ]
954     ]
955   },
956   {
957     "id": "18a36e30.d0c222",
958     "type": "returnFailure",
959     "name": "return failure",
960     "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.parent-service-instance-id is a required input\" />\n",
961     "comments": "",
962     "x": 1415.836311340332,
963     "y": 185.72613048553467,
964     "z": "d21b8423.410b48",
965     "wires": []
966   },
967   {
968     "id": "76132be7.8874c4",
969     "type": "outcome",
970     "name": "CreateSDWANAttachmentInstance",
971     "xml": "<outcome value='CreateSDWANAttachmentInstance'>",
972     "comments": "",
973     "outputs": 1,
974     "x": 1700.4999694824219,
975     "y": 400.75078296661377,
976     "z": "d21b8423.410b48",
977     "wires": [
978       [
979         "9256a59d.20fae8"
980       ]
981     ]
982   },
983   {
984     "id": "9256a59d.20fae8",
985     "type": "block",
986     "name": "block : atomic",
987     "xml": "<block atomic=\"true\">",
988     "atomic": "true",
989     "outputs": 1,
990     "x": 1932.375331878662,
991     "y": 403.1346826553345,
992     "z": "d21b8423.410b48",
993     "wires": [
994       [
995         "6c1d4efc.ef28b"
996       ]
997     ]
998   },
999   {
1000     "id": "e7496e1a.f100e",
1001     "type": "outcome",
1002     "name": "ActivateSDWANAttachmentInstance",
1003     "xml": "<outcome value='ActivateSDWANAttachmentInstance'>",
1004     "comments": "",
1005     "outputs": 1,
1006     "x": 1696.4999694824219,
1007     "y": 579.7507829666138,
1008     "z": "d21b8423.410b48",
1009     "wires": [
1010       [
1011         "c007bb78.bad198"
1012       ]
1013     ]
1014   },
1015   {
1016     "id": "adb5b0a4.b36d9",
1017     "type": "other",
1018     "name": "DeactivateSOTNAttachmentInstance",
1019     "xml": "<outcome value='DeactivateSOTNAttachmentInstance'>",
1020     "comments": "",
1021     "outputs": 1,
1022     "x": 1719.4999694824219,
1023     "y": 743.7507829666138,
1024     "z": "d21b8423.410b48",
1025     "wires": [
1026       [
1027         "c007bb78.bad198"
1028       ]
1029     ]
1030   },
1031   {
1032     "id": "9e1c0985.ac54a8",
1033     "type": "other",
1034     "name": "DeleteSDWANAttachmentInstance",
1035     "xml": "<outcome value='DeleteSDWANAttachmentInstance'>",
1036     "comments": "",
1037     "outputs": 1,
1038     "x": 1714.4999694824219,
1039     "y": 937.7507829666138,
1040     "z": "d21b8423.410b48",
1041     "wires": [
1042       [
1043         "c007bb78.bad198"
1044       ]
1045     ]
1046   },
1047   {
1048     "id": "6c1d4efc.ef28b",
1049     "type": "for",
1050     "name": "for loop i - sdwan input param",
1051     "xml": "<for index=\"i\" start=\"0\" end=\"`$connection-attachment-topology-operation-input.connection-attachment-request-input.param_length`\">\n",
1052     "comments": "",
1053     "outputs": 1,
1054     "x": 2126.250068664551,
1055     "y": 496.75078296661377,
1056     "z": "d21b8423.410b48",
1057     "wires": [
1058       [
1059         "71678c48.443894"
1060       ]
1061     ]
1062   },
1063   {
1064     "id": "71678c48.443894",
1065     "type": "block",
1066     "name": "block",
1067     "xml": "<block>\n",
1068     "atomic": "false",
1069     "comments": "",
1070     "outputs": 1,
1071     "x": 2324.333263397217,
1072     "y": 496.497745513916,
1073     "z": "d21b8423.410b48",
1074     "wires": [
1075       [
1076         "e79077b3.099788",
1077         "a4baf31b.1b5de",
1078         "210d76b8.7beafa"
1079       ]
1080     ]
1081   },
1082   {
1083     "id": "e79077b3.099788",
1084     "type": "set",
1085     "name": "clear tmp-data",
1086     "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
1087     "comments": "",
1088     "x": 2493.333393096924,
1089     "y": 473.7358207702637,
1090     "z": "d21b8423.410b48",
1091     "wires": []
1092   },
1093   {
1094     "id": "a4baf31b.1b5de",
1095     "type": "set",
1096     "name": "set tmp-data",
1097     "xml": "<set>\n<parameter name='tmp.name' value=\"`$connection-attachment-topology-operation-input.connection-attachment-request-input.param[$i].name`\"/>\n<parameter name='tmp.value' value=\"`$connection-attachment-topology-operation-input.connection-attachment-request-input.param[$i].value`\"/>\n",
1098     "comments": "",
1099     "x": 2491.333267211914,
1100     "y": 505.7358236312866,
1101     "z": "d21b8423.410b48",
1102     "wires": []
1103   },
1104   {
1105     "id": "210d76b8.7beafa",
1106     "type": "switchNode",
1107     "name": "switch name",
1108     "xml": "<switch test=\"`$tmp.name`\">\n",
1109     "comments": "",
1110     "outputs": 1,
1111     "x": 2488.3333892822266,
1112     "y": 545.7358293533325,
1113     "z": "d21b8423.410b48",
1114     "wires": [
1115       [
1116         "abd03293.cd18",
1117         "7be5406a.1ccb4",
1118         "47286f93.87dbf"
1119       ]
1120     ]
1121   },
1122   {
1123     "id": "abd03293.cd18",
1124     "type": "outcome",
1125     "name": "NULL",
1126     "xml": "<outcome value=''>",
1127     "comments": "",
1128     "outputs": 1,
1129     "x": 2722.3977546691895,
1130     "y": 559.5615439414978,
1131     "z": "d21b8423.410b48",
1132     "wires": [
1133       [
1134         "968ac01f.99f6c"
1135       ]
1136     ]
1137   },
1138   {
1139     "id": "968ac01f.99f6c",
1140     "type": "returnFailure",
1141     "name": "return failure",
1142     "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",
1143     "comments": "",
1144     "x": 2887.3979988098145,
1145     "y": 722.5615291595459,
1146     "z": "d21b8423.410b48",
1147     "wires": []
1148   },
1149   {
1150     "id": "7be5406a.1ccb4",
1151     "type": "other",
1152     "name": "sdwanVpnName",
1153     "xml": "<outcome value='sdwanVpnName'>",
1154     "comments": "",
1155     "outputs": 1,
1156     "x": 2755.3970651626587,
1157     "y": 471.761212348938,
1158     "z": "d21b8423.410b48",
1159     "wires": [
1160       [
1161         "a3e64284.5a573"
1162       ]
1163     ]
1164   },
1165   {
1166     "id": "a3e64284.5a573",
1167     "type": "switchNode",
1168     "name": "switch value",
1169     "xml": "<switch test=\"`$tmp.value`\">\n",
1170     "comments": "",
1171     "outputs": 1,
1172     "x": 2933.3140869140625,
1173     "y": 502.77617168426514,
1174     "z": "d21b8423.410b48",
1175     "wires": [
1176       [
1177         "fe0135a8.011198"
1178       ]
1179     ]
1180   },
1181   {
1182     "id": "fe0135a8.011198",
1183     "type": "outcome",
1184     "name": "NULL",
1185     "xml": "<outcome value=''>",
1186     "comments": "",
1187     "outputs": 1,
1188     "x": 3085.3139991760254,
1189     "y": 502.77619457244873,
1190     "z": "d21b8423.410b48",
1191     "wires": [
1192       [
1193         "f390d6c6.2ff848"
1194       ]
1195     ]
1196   },
1197   {
1198     "id": "f390d6c6.2ff848",
1199     "type": "returnFailure",
1200     "name": "return failure",
1201     "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=\"`'$tmp.name +' is a required input'`\" />\n",
1202     "comments": "",
1203     "x": 3229.7427139282227,
1204     "y": 501.7762041091919,
1205     "z": "d21b8423.410b48",
1206     "wires": []
1207   },
1208   {
1209     "id": "47286f93.87dbf",
1210     "type": "other",
1211     "name": "role",
1212     "xml": "<outcome value='role'>",
1213     "comments": "",
1214     "outputs": 1,
1215     "x": 2725.397331237793,
1216     "y": 511.7612247467041,
1217     "z": "d21b8423.410b48",
1218     "wires": [
1219       [
1220         "a3e64284.5a573"
1221       ]
1222     ]
1223   }
1224 ]