4f6b2fd5a55476adeea15de520967a14dbb1b910
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_validate-connection-attachment-input.json
1 [
2   {
3     "id": "d55e5da1.6e0d9",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 120.00390625,
8     "y": 81.00390625,
9     "z": "2bd9a7ae.9f12a8",
10     "wires": [
11       [
12         "30ea7403.a4dabc"
13       ]
14     ]
15   },
16   {
17     "id": "30ea7403.a4dabc",
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": 249.2896270751953,
26     "y": 176.24197959899902,
27     "z": "2bd9a7ae.9f12a8",
28     "wires": [
29       [
30         "8e089853.9ab118"
31       ]
32     ]
33   },
34   {
35     "id": "8e089853.9ab118",
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": 245.92059326171875,
42     "y": 272.25693464279175,
43     "z": "2bd9a7ae.9f12a8",
44     "wires": [
45       [
46         "592d05ce.3188dc"
47       ]
48     ]
49   },
50   {
51     "id": "592d05ce.3188dc",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">",
55     "atomic": "true",
56     "outputs": 1,
57     "x": 252.92064666748047,
58     "y": 390.25694274902344,
59     "z": "2bd9a7ae.9f12a8",
60     "wires": [
61       [
62         "53e1d116.7a486",
63         "e5f15950.d2b488",
64         "f3bdd2ba.fa4b4",
65         "19ed1ade.774285"
66       ]
67     ]
68   },
69   {
70     "id": "53e1d116.7a486",
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": 680.9205856323242,
77     "y": 138.25693607330322,
78     "z": "2bd9a7ae.9f12a8",
79     "wires": [
80       [
81         "e201ddb1.b905"
82       ]
83     ]
84   },
85   {
86     "id": "e201ddb1.b905",
87     "type": "outcome",
88     "name": "NULL",
89     "xml": "<outcome value=''>",
90     "comments": "",
91     "outputs": 1,
92     "x": 890.6349487304688,
93     "y": 137.25694751739502,
94     "z": "2bd9a7ae.9f12a8",
95     "wires": [
96       [
97         "2d1ab943.03f3d6"
98       ]
99     ]
100   },
101   {
102     "id": "2d1ab943.03f3d6",
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": 1065.0634994506836,
108     "y": 136.2569398880005,
109     "z": "2bd9a7ae.9f12a8",
110     "wires": []
111   },
112   {
113     "id": "e5f15950.d2b488",
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": 464.92047119140625,
120     "y": 389.2569742202759,
121     "z": "2bd9a7ae.9f12a8",
122     "wires": [
123       [
124         "4fc16b2d.fa1904",
125         "2374157d.59a87a",
126         "1cb25e54.ccc152",
127         "8cd348c0.4aba88",
128         "7e69dc53.dacb04"
129       ]
130     ]
131   },
132   {
133     "id": "4fc16b2d.fa1904",
134     "type": "outcome",
135     "name": "create",
136     "xml": "<outcome value='create'>\n",
137     "comments": "",
138     "outputs": 1,
139     "x": 646.4206275939941,
140     "y": 300.25702476501465,
141     "z": "2bd9a7ae.9f12a8",
142     "wires": [
143       [
144         "62f2f74b.222b28"
145       ]
146     ]
147   },
148   {
149     "id": "2374157d.59a87a",
150     "type": "outcome",
151     "name": "delete",
152     "xml": "<outcome value='delete'>\n",
153     "comments": "",
154     "outputs": 1,
155     "x": 651.4328269958496,
156     "y": 582.1471920013428,
157     "z": "2bd9a7ae.9f12a8",
158     "wires": [
159       [
160         "bf7c4189.d4114"
161       ]
162     ]
163   },
164   {
165     "id": "1cb25e54.ccc152",
166     "type": "other",
167     "name": "other",
168     "xml": "<outcome value='Other'>\n",
169     "comments": "",
170     "outputs": 1,
171     "x": 648.1945915222168,
172     "y": 654.5756464004517,
173     "z": "2bd9a7ae.9f12a8",
174     "wires": [
175       [
176         "14bee845.382418"
177       ]
178     ]
179   },
180   {
181     "id": "14bee845.382418",
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": 831.7661247253418,
187     "y": 655.1947870254517,
188     "z": "2bd9a7ae.9f12a8",
189     "wires": []
190   },
191   {
192     "id": "bf7c4189.d4114",
193     "type": "block",
194     "name": "block : atomic",
195     "xml": "<block atomic=\"true\">",
196     "atomic": "true",
197     "outputs": 1,
198     "x": 833.5756530761719,
199     "y": 582.813642501831,
200     "z": "2bd9a7ae.9f12a8",
201     "wires": [
202       [
203         "93839262.d70fa"
204       ]
205     ]
206   },
207   {
208     "id": "11d0fd2e.8d1473",
209     "type": "other",
210     "name": "DeleteSOTNAttachmentInstance",
211     "xml": "<outcome value='DeleteSOTNAttachmentInstance'>",
212     "comments": "",
213     "outputs": 1,
214     "x": 1298.2901344299316,
215     "y": 551.8136596679688,
216     "z": "2bd9a7ae.9f12a8",
217     "wires": [
218       [
219         "bede7ad6.c52858"
220       ]
221     ]
222   },
223   {
224     "id": "25e7d254.79a53e",
225     "type": "other",
226     "name": "Other",
227     "xml": "<outcome value='Other'>",
228     "comments": "",
229     "outputs": 1,
230     "x": 1220.2902450561523,
231     "y": 601.8138084411621,
232     "z": "2bd9a7ae.9f12a8",
233     "wires": [
234       [
235         "58f1ca81.4b3774"
236       ]
237     ]
238   },
239   {
240     "id": "58f1ca81.4b3774",
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": 1407.2902450561523,
246     "y": 602.8138084411621,
247     "z": "2bd9a7ae.9f12a8",
248     "wires": []
249   },
250   {
251     "id": "bede7ad6.c52858",
252     "type": "block",
253     "name": "block : atomic",
254     "xml": "<block atomic=\"true\">",
255     "atomic": "true",
256     "outputs": 1,
257     "x": 1561.2900390625,
258     "y": 440.8136692047119,
259     "z": "2bd9a7ae.9f12a8",
260     "wires": [
261       [
262         "9003dc0.c133528",
263         "eba16a4b.e63458"
264       ]
265     ]
266   },
267   {
268     "id": "9003dc0.c133528",
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": 1784.2896137237549,
275     "y": 439.8135929107666,
276     "z": "2bd9a7ae.9f12a8",
277     "wires": [
278       [
279         "ce15a307.ea6db"
280       ]
281     ]
282   },
283   {
284     "id": "ce15a307.ea6db",
285     "type": "outcome",
286     "name": "NULL",
287     "xml": "<outcome value=''>",
288     "comments": "",
289     "outputs": 1,
290     "x": 1964.2896766662598,
291     "y": 438.81360816955566,
292     "z": "2bd9a7ae.9f12a8",
293     "wires": [
294       [
295         "d45df1e5.8c102"
296       ]
297     ]
298   },
299   {
300     "id": "d45df1e5.8c102",
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": 1996.7183303833008,
306     "y": 494.81362438201904,
307     "z": "2bd9a7ae.9f12a8",
308     "wires": []
309   },
310   {
311     "id": "eba16a4b.e63458",
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": 1788.004093170166,
318     "y": 401.9564437866211,
319     "z": "2bd9a7ae.9f12a8",
320     "wires": [
321       []
322     ]
323   },
324   {
325     "id": "f3bdd2ba.fa4b4",
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": 704.0039215087891,
332     "y": 180.96665382385254,
333     "z": "2bd9a7ae.9f12a8",
334     "wires": [
335       [
336         "840d370d.dae7a8"
337       ]
338     ]
339   },
340   {
341     "id": "840d370d.dae7a8",
342     "type": "other",
343     "name": "NULL",
344     "xml": "<outcome value=''>",
345     "comments": "",
346     "outputs": 1,
347     "x": 920.4325103759766,
348     "y": 181.96665382385254,
349     "z": "2bd9a7ae.9f12a8",
350     "wires": [
351       [
352         "78d3f021.91704"
353       ]
354     ]
355   },
356   {
357     "id": "78d3f021.91704",
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": 1078.8610382080078,
363     "y": 180.96665382385254,
364     "z": "2bd9a7ae.9f12a8",
365     "wires": []
366   },
367   {
368     "id": "62f2f74b.222b28",
369     "type": "block",
370     "name": "block : atomic",
371     "xml": "<block atomic=\"true\">",
372     "atomic": "true",
373     "outputs": 1,
374     "x": 811.2262687683105,
375     "y": 297.966703414917,
376     "z": "2bd9a7ae.9f12a8",
377     "wires": [
378       [
379         "b9263adf.a79a98"
380       ]
381     ]
382   },
383   {
384     "id": "b9263adf.a79a98",
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": 1001.4617919921875,
391     "y": 299.4719018936157,
392     "z": "2bd9a7ae.9f12a8",
393     "wires": [
394       [
395         "daaeed0a.68f55",
396         "32fc1c5a.a1c7a4"
397       ]
398     ]
399   },
400   {
401     "id": "daaeed0a.68f55",
402     "type": "outcome",
403     "name": "CreateSOTNAttachmentInstance",
404     "xml": "<outcome value='CreateSOTNAttachmentInstance'>",
405     "comments": "",
406     "outputs": 1,
407     "x": 1282.7950744628906,
408     "y": 278.47163105010986,
409     "z": "2bd9a7ae.9f12a8",
410     "wires": [
411       [
412         "1d50a6f4.652229"
413       ]
414     ]
415   },
416   {
417     "id": "32fc1c5a.a1c7a4",
418     "type": "outcome",
419     "name": "other",
420     "xml": "<outcome value='other'>",
421     "comments": "",
422     "outputs": 1,
423     "x": 1201.7950973510742,
424     "y": 326.1383662223816,
425     "z": "2bd9a7ae.9f12a8",
426     "wires": [
427       [
428         "ab38e26c.3455"
429       ]
430     ]
431   },
432   {
433     "id": "ab38e26c.3455",
434     "type": "returnFailure",
435     "name": "return failure",
436     "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",
437     "comments": "",
438     "x": 1400.3509330749512,
439     "y": 325.58302307128906,
440     "z": "2bd9a7ae.9f12a8",
441     "wires": []
442   },
443   {
444     "id": "1d50a6f4.652229",
445     "type": "block",
446     "name": "block : atomic",
447     "xml": "<block atomic=\"true\">",
448     "atomic": "true",
449     "outputs": 1,
450     "x": 1514.6704368591309,
451     "y": 280.85553073883057,
452     "z": "2bd9a7ae.9f12a8",
453     "wires": [
454       [
455         "15baa2b8.a5423d"
456       ]
457     ]
458   },
459   {
460     "id": "15baa2b8.a5423d",
461     "type": "for",
462     "name": "for loop i - Sotn input param",
463     "xml": "<for index=\"i\" start=\"0\" end=\"`$connection-attachment-topology-operation-input.connection-attachment-request-input.param_length`\">\n",
464     "comments": "",
465     "outputs": 1,
466     "x": 1720.3014526367188,
467     "y": 276.15617847442627,
468     "z": "2bd9a7ae.9f12a8",
469     "wires": [
470       [
471         "1411c83d.30f948"
472       ]
473     ]
474   },
475   {
476     "id": "1411c83d.30f948",
477     "type": "block",
478     "name": "block",
479     "xml": "<block>\n",
480     "atomic": "false",
481     "comments": "",
482     "outputs": 1,
483     "x": 1882.384853363037,
484     "y": 233.90312957763672,
485     "z": "2bd9a7ae.9f12a8",
486     "wires": [
487       [
488         "8cd60ce0.f328b",
489         "7c6899b1.f878f8",
490         "a0ef1495.11fa68"
491       ]
492     ]
493   },
494   {
495     "id": "8cd60ce0.f328b",
496     "type": "set",
497     "name": "clear tmp-data",
498     "xml": "<set>\n<parameter name='tmp.name' value='' />\n<parameter name='tmp.value' value='' />\n",
499     "comments": "",
500     "x": 2041.3849601745605,
501     "y": 188.14123916625977,
502     "z": "2bd9a7ae.9f12a8",
503     "wires": []
504   },
505   {
506     "id": "7c6899b1.f878f8",
507     "type": "set",
508     "name": "set tmp-data",
509     "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",
510     "comments": "",
511     "x": 2039.3848342895508,
512     "y": 220.14124202728271,
513     "z": "2bd9a7ae.9f12a8",
514     "wires": []
515   },
516   {
517     "id": "a0ef1495.11fa68",
518     "type": "switchNode",
519     "name": "switch name",
520     "xml": "<switch test=\"`$tmp.name`\">\n",
521     "comments": "",
522     "outputs": 1,
523     "x": 2036.3849563598633,
524     "y": 260.1412477493286,
525     "z": "2bd9a7ae.9f12a8",
526     "wires": [
527       [
528         "58732708.c19e68",
529         "2b1a4a1c.736d86",
530         "ac680bd3.a5c298",
531         "38c84211.606bbe",
532         "668e89b6.3edf98",
533         "eee3ac82.081b3",
534         "232cba3c.20f5a6",
535         "553b7c39.9758e4"
536       ]
537     ]
538   },
539   {
540     "id": "58732708.c19e68",
541     "type": "outcome",
542     "name": "NULL",
543     "xml": "<outcome value=''>",
544     "comments": "",
545     "outputs": 1,
546     "x": 2243.449363708496,
547     "y": 397.96692180633545,
548     "z": "2bd9a7ae.9f12a8",
549     "wires": [
550       [
551         "9929f9d1.8bdb78"
552       ]
553     ]
554   },
555   {
556     "id": "9929f9d1.8bdb78",
557     "type": "returnFailure",
558     "name": "return failure",
559     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'network-topology-operation-input.network-request-input.network-input-parameters.param[' + $i + ']' + '.name is a required input'`\" />\n",
560     "comments": "",
561     "x": 2395.4495735168457,
562     "y": 392.9669542312622,
563     "z": "2bd9a7ae.9f12a8",
564     "wires": []
565   },
566   {
567     "id": "93839262.d70fa",
568     "type": "switchNode",
569     "name": "switch request-action",
570     "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
571     "comments": "",
572     "outputs": 1,
573     "x": 1031.6709442138672,
574     "y": 584.966794013977,
575     "z": "2bd9a7ae.9f12a8",
576     "wires": [
577       [
578         "11d0fd2e.8d1473",
579         "25e7d254.79a53e"
580       ]
581     ]
582   },
583   {
584     "id": "2b1a4a1c.736d86",
585     "type": "other",
586     "name": "sotnVpnName",
587     "xml": "<outcome value='sotnVpnName'>",
588     "comments": "",
589     "outputs": 1,
590     "x": 2263.44863986969,
591     "y": 142.1666374206543,
592     "z": "2bd9a7ae.9f12a8",
593     "wires": [
594       [
595         "938831fe.ccb6b"
596       ]
597     ]
598   },
599   {
600     "id": "938831fe.ccb6b",
601     "type": "switchNode",
602     "name": "switch value",
603     "xml": "<switch test=\"`$tmp.value`\">\n",
604     "comments": "",
605     "outputs": 1,
606     "x": 2526.3655128479004,
607     "y": 257.18157863616943,
608     "z": "2bd9a7ae.9f12a8",
609     "wires": [
610       [
611         "bbabb9a8.e7fa88"
612       ]
613     ]
614   },
615   {
616     "id": "bbabb9a8.e7fa88",
617     "type": "outcome",
618     "name": "NULL",
619     "xml": "<outcome value=''>",
620     "comments": "",
621     "outputs": 1,
622     "x": 2664.3654823303223,
623     "y": 252.18159866333008,
624     "z": "2bd9a7ae.9f12a8",
625     "wires": [
626       [
627         "7d365ba9.43c364"
628       ]
629     ]
630   },
631   {
632     "id": "7d365ba9.43c364",
633     "type": "returnFailure",
634     "name": "return failure",
635     "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",
636     "comments": "",
637     "x": 2786.7941932678223,
638     "y": 289.1815767288208,
639     "z": "2bd9a7ae.9f12a8",
640     "wires": []
641   },
642   {
643     "id": "ac680bd3.a5c298",
644     "type": "other",
645     "name": "clientSignal",
646     "xml": "<outcome value='clientSignal'>",
647     "comments": "",
648     "outputs": 1,
649     "x": 2256.4488105773926,
650     "y": 179.16665935516357,
651     "z": "2bd9a7ae.9f12a8",
652     "wires": [
653       [
654         "938831fe.ccb6b"
655       ]
656     ]
657   },
658   {
659     "id": "38c84211.606bbe",
660     "type": "other",
661     "name": "access-provider-id",
662     "xml": "<outcome value='access-provider-id'>",
663     "comments": "",
664     "outputs": 1,
665     "x": 2276.3377571105957,
666     "y": 215.16660690307617,
667     "z": "2bd9a7ae.9f12a8",
668     "wires": [
669       [
670         "938831fe.ccb6b"
671       ]
672     ]
673   },
674   {
675     "id": "668e89b6.3edf98",
676     "type": "other",
677     "name": "access-client-id",
678     "xml": "<outcome value='access-client-id'>",
679     "comments": "",
680     "outputs": 1,
681     "x": 2265.337661743164,
682     "y": 254.16663455963135,
683     "z": "2bd9a7ae.9f12a8",
684     "wires": [
685       [
686         "938831fe.ccb6b"
687       ]
688     ]
689   },
690   {
691     "id": "eee3ac82.081b3",
692     "type": "other",
693     "name": "access-topology-id",
694     "xml": "<outcome value='access-topology-id'>",
695     "comments": "",
696     "outputs": 1,
697     "x": 2274.3377532958984,
698     "y": 289.16660594940186,
699     "z": "2bd9a7ae.9f12a8",
700     "wires": [
701       []
702     ]
703   },
704   {
705     "id": "232cba3c.20f5a6",
706     "type": "other",
707     "name": "access-node-id",
708     "xml": "<outcome value='access-node-id'>",
709     "comments": "",
710     "outputs": 1,
711     "x": 2265.3377571105957,
712     "y": 325.1666440963745,
713     "z": "2bd9a7ae.9f12a8",
714     "wires": [
715       [
716         "938831fe.ccb6b"
717       ]
718     ]
719   },
720   {
721     "id": "553b7c39.9758e4",
722     "type": "other",
723     "name": "cVLAN",
724     "xml": "<outcome value='cVLAN'>",
725     "comments": "",
726     "outputs": 1,
727     "x": 2240.338275909424,
728     "y": 360.72238540649414,
729     "z": "2bd9a7ae.9f12a8",
730     "wires": [
731       [
732         "938831fe.ccb6b"
733       ]
734     ]
735   },
736   {
737     "id": "8cd348c0.4aba88",
738     "type": "outcome",
739     "name": "activate",
740     "xml": "<outcome value='activate'>\n",
741     "comments": "",
742     "outputs": 1,
743     "x": 646.5038909912109,
744     "y": 387.5039529800415,
745     "z": "2bd9a7ae.9f12a8",
746     "wires": [
747       [
748         "55079242.de61dc"
749       ]
750     ]
751   },
752   {
753     "id": "55079242.de61dc",
754     "type": "block",
755     "name": "block : atomic",
756     "xml": "<block atomic=\"true\">",
757     "atomic": "true",
758     "outputs": 1,
759     "x": 827.3095626831055,
760     "y": 388.2136697769165,
761     "z": "2bd9a7ae.9f12a8",
762     "wires": [
763       [
764         "4e961c0d.873094"
765       ]
766     ]
767   },
768   {
769     "id": "4e961c0d.873094",
770     "type": "switchNode",
771     "name": "switch request-action",
772     "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
773     "comments": "",
774     "outputs": 1,
775     "x": 1015.5450439453125,
776     "y": 389.7188367843628,
777     "z": "2bd9a7ae.9f12a8",
778     "wires": [
779       [
780         "5f2b72b3.993c4c",
781         "80608f20.06ea9"
782       ]
783     ]
784   },
785   {
786     "id": "5f2b72b3.993c4c",
787     "type": "outcome",
788     "name": "ActivateSOTNAttachmentInstance",
789     "xml": "<outcome value='ActivateSOTNAttachmentInstance'>",
790     "comments": "",
791     "outputs": 1,
792     "x": 1284.8783226013184,
793     "y": 363.71854877471924,
794     "z": "2bd9a7ae.9f12a8",
795     "wires": [
796       [
797         "bede7ad6.c52858"
798       ]
799     ]
800   },
801   {
802     "id": "80608f20.06ea9",
803     "type": "outcome",
804     "name": "other",
805     "xml": "<outcome value='other'>",
806     "comments": "",
807     "outputs": 1,
808     "x": 1200.8781394958496,
809     "y": 413.3853511810303,
810     "z": "2bd9a7ae.9f12a8",
811     "wires": [
812       [
813         "cc018098.4c869"
814       ]
815     ]
816   },
817   {
818     "id": "cc018098.4c869",
819     "type": "returnFailure",
820     "name": "return failure",
821     "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",
822     "comments": "",
823     "x": 1340.434097290039,
824     "y": 416.8300075531006,
825     "z": "2bd9a7ae.9f12a8",
826     "wires": []
827   },
828   {
829     "id": "7e69dc53.dacb04",
830     "type": "outcome",
831     "name": "deactivate",
832     "xml": "<outcome value='deactivate'>\n",
833     "comments": "",
834     "outputs": 1,
835     "x": 659.5039253234863,
836     "y": 487.5039005279541,
837     "z": "2bd9a7ae.9f12a8",
838     "wires": [
839       [
840         "5e98d5e.da18e2c"
841       ]
842     ]
843   },
844   {
845     "id": "5e98d5e.da18e2c",
846     "type": "block",
847     "name": "block : atomic",
848     "xml": "<block atomic=\"true\">",
849     "atomic": "true",
850     "outputs": 1,
851     "x": 841.6467514038086,
852     "y": 488.1703510284424,
853     "z": "2bd9a7ae.9f12a8",
854     "wires": [
855       [
856         "e876eace.fbc408"
857       ]
858     ]
859   },
860   {
861     "id": "674c6e42.5758f",
862     "type": "other",
863     "name": "DeactivateSOTNAttachmentInstance",
864     "xml": "<outcome value='DeactivateSOTNAttachmentInstance'>",
865     "comments": "",
866     "outputs": 1,
867     "x": 1303.3611869812012,
868     "y": 459.1703567504883,
869     "z": "2bd9a7ae.9f12a8",
870     "wires": [
871       [
872         "bede7ad6.c52858"
873       ]
874     ]
875   },
876   {
877     "id": "3d6789d5.968686",
878     "type": "other",
879     "name": "Other",
880     "xml": "<outcome value='Other'>",
881     "comments": "",
882     "outputs": 1,
883     "x": 1207.3614921569824,
884     "y": 508.17051124572754,
885     "z": "2bd9a7ae.9f12a8",
886     "wires": [
887       [
888         "7dd7d50b.2e0d4c"
889       ]
890     ]
891   },
892   {
893     "id": "7dd7d50b.2e0d4c",
894     "type": "returnFailure",
895     "name": "return failure",
896     "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",
897     "comments": "",
898     "x": 1394.3614921569824,
899     "y": 509.17051124572754,
900     "z": "2bd9a7ae.9f12a8",
901     "wires": []
902   },
903   {
904     "id": "e876eace.fbc408",
905     "type": "switchNode",
906     "name": "switch request-action",
907     "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
908     "comments": "",
909     "outputs": 1,
910     "x": 1028.7420654296875,
911     "y": 487.3234739303589,
912     "z": "2bd9a7ae.9f12a8",
913     "wires": [
914       [
915         "674c6e42.5758f",
916         "3d6789d5.968686"
917       ]
918     ]
919   },
920   {
921     "id": "19ed1ade.774285",
922     "type": "switchNode",
923     "name": "switch parent-service-instance-id",
924     "xml": "<switch test='`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id`'>\n",
925     "comments": "",
926     "outputs": 1,
927     "x": 719.9830474853516,
928     "y": 226.9830780029297,
929     "z": "2bd9a7ae.9f12a8",
930     "wires": [
931       [
932         "6bc4dd76.e36a44"
933       ]
934     ]
935   },
936   {
937     "id": "6bc4dd76.e36a44",
938     "type": "other",
939     "name": "NULL",
940     "xml": "<outcome value=''>",
941     "comments": "",
942     "outputs": 1,
943     "x": 926.4116134643555,
944     "y": 230.98307037353516,
945     "z": "2bd9a7ae.9f12a8",
946     "wires": [
947       [
948         "a93ef8b3.222ac8"
949       ]
950     ]
951   },
952   {
953     "id": "a93ef8b3.222ac8",
954     "type": "returnFailure",
955     "name": "return failure",
956     "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",
957     "comments": "",
958     "x": 1084.8401412963867,
959     "y": 229.98307037353516,
960     "z": "2bd9a7ae.9f12a8",
961     "wires": []
962   }
963 ]