Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_connection-attachment-topology-operation.json
1 [
2   {
3     "id": "1910b882.988187",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 112,
8     "y": 39,
9     "z": "b7e352e3.19bee",
10     "wires": [
11       [
12         "6daa18ee.bd9b48"
13       ]
14     ]
15   },
16   {
17     "id": "6daa18ee.bd9b48",
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": 250.00001525878906,
26     "y": 99.99999809265137,
27     "z": "b7e352e3.19bee",
28     "wires": [
29       [
30         "d306af00.202b5"
31       ]
32     ]
33   },
34   {
35     "id": "d306af00.202b5",
36     "type": "method",
37     "name": "connection-attachment-topology-operation",
38     "xml": "<method rpc='connection-attachment-topology-operation' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 285.0000305175781,
42     "y": 148.00002670288086,
43     "z": "b7e352e3.19bee",
44     "wires": [
45       [
46         "439aa3bc.b5c89c"
47       ]
48     ]
49   },
50   {
51     "id": "439aa3bc.b5c89c",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">",
55     "atomic": "true",
56     "outputs": 1,
57     "x": 210,
58     "y": 225.99999237060547,
59     "z": "b7e352e3.19bee",
60     "wires": [
61       [
62         "b2ae5e0b.e62c8",
63         "9d2c0f9b.d86bc",
64         "66d180fd.aa86b",
65         "ebb56880.bc5f78"
66       ]
67     ]
68   },
69   {
70     "id": "b2ae5e0b.e62c8",
71     "type": "returnSuccess",
72     "name": "return success",
73     "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
74     "comments": "",
75     "x": 424.36917877197266,
76     "y": 838.8428673744202,
77     "z": "b7e352e3.19bee",
78     "wires": []
79   },
80   {
81     "id": "9d2c0f9b.d86bc",
82     "type": "switchNode",
83     "name": "switch svc-action",
84     "xml": "<switch test='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`'>\n",
85     "comments": "",
86     "outputs": 1,
87     "x": 430.9999237060547,
88     "y": 385.41371059417725,
89     "z": "b7e352e3.19bee",
90     "wires": [
91       [
92         "e1ae6e39.aa27a",
93         "9414f9d2.dce2f8",
94         "6fb0447c.d97d9c",
95         "128f118b.699cee",
96         "e0bc6e7e.914ba"
97       ]
98     ]
99   },
100   {
101     "id": "66d180fd.aa86b",
102     "type": "call",
103     "name": "call GENERIC-RESOURCE-API:validate-connection-attachment-input",
104     "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-connection-attachment-input' mode='sync' >\n",
105     "comments": "",
106     "outputs": 1,
107     "x": 622.5714416503906,
108     "y": 205.98515129089355,
109     "z": "b7e352e3.19bee",
110     "wires": [
111       []
112     ]
113   },
114   {
115     "id": "e1ae6e39.aa27a",
116     "type": "other",
117     "name": "activate",
118     "xml": "<outcome value='activate'>\n",
119     "comments": "",
120     "outputs": 1,
121     "x": 646.2856674194336,
122     "y": 394.55659008026123,
123     "z": "b7e352e3.19bee",
124     "wires": [
125       [
126         "4c362fcf.8e944"
127       ]
128     ]
129   },
130   {
131     "id": "9414f9d2.dce2f8",
132     "type": "other",
133     "name": "delete",
134     "xml": "<outcome value='delete'>\n",
135     "comments": "",
136     "outputs": 1,
137     "x": 656.2857284545898,
138     "y": 675.5567531585693,
139     "z": "b7e352e3.19bee",
140     "wires": [
141       [
142         "c5b8be14.e07f9"
143       ]
144     ]
145   },
146   {
147     "id": "6fb0447c.d97d9c",
148     "type": "other",
149     "name": "other",
150     "xml": "<outcome value='Other'>\n",
151     "comments": "",
152     "outputs": 1,
153     "x": 645.6190376281738,
154     "y": 760.8901767730713,
155     "z": "b7e352e3.19bee",
156     "wires": [
157       [
158         "1be7b37b.418c6d"
159       ]
160     ]
161   },
162   {
163     "id": "1be7b37b.418c6d",
164     "type": "returnFailure",
165     "name": "return failure",
166     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"sdnc-request-header.svc-action is invalid\" />\n",
167     "comments": "",
168     "x": 827.6190338134766,
169     "y": 759.8901863098145,
170     "z": "b7e352e3.19bee",
171     "wires": []
172   },
173   {
174     "id": "ebb56880.bc5f78",
175     "type": "set",
176     "name": "Set final indicator to Y",
177     "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
178     "comments": "",
179     "x": 443.3968734741211,
180     "y": 798.0012059211731,
181     "z": "b7e352e3.19bee",
182     "wires": []
183   },
184   {
185     "id": "128f118b.699cee",
186     "type": "other",
187     "name": "create",
188     "xml": "<outcome value='create'>\n",
189     "comments": "",
190     "outputs": 1,
191     "x": 645.5263633728027,
192     "y": 259.16132259368896,
193     "z": "b7e352e3.19bee",
194     "wires": [
195       [
196         "41c94f6b.204e9"
197       ]
198     ]
199   },
200   {
201     "id": "e0bc6e7e.914ba",
202     "type": "other",
203     "name": "deactivate",
204     "xml": "<outcome value='deactivate'>\n",
205     "comments": "",
206     "outputs": 1,
207     "x": 650.8597145080566,
208     "y": 535.8281259536743,
209     "z": "b7e352e3.19bee",
210     "wires": [
211       [
212         "da1fc201.3680b"
213       ]
214     ]
215   },
216   {
217     "id": "66c39149.70506",
218     "type": "call",
219     "name": "call GENERIC-RESOURCE-API:sotn-attachment-topology-operation-create",
220     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-attachment-topology-operation-create' mode='sync' >\n",
221     "comments": "",
222     "outputs": 1,
223     "x": 1540.0863037109375,
224     "y": 210.54078483581543,
225     "z": "b7e352e3.19bee",
226     "wires": [
227       []
228     ]
229   },
230   {
231     "id": "41c94f6b.204e9",
232     "type": "switchNode",
233     "name": "switch request-action",
234     "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
235     "comments": "",
236     "outputs": 1,
237     "x": 836.5000534057617,
238     "y": 258.0000066757202,
239     "z": "b7e352e3.19bee",
240     "wires": [
241       [
242         "ce5a6c0e.e9e7",
243         "ae9fa049.744a2",
244         "5e6d0e37.67471"
245       ]
246     ]
247   },
248   {
249     "id": "ce5a6c0e.e9e7",
250     "type": "outcome",
251     "name": "CreateSOTNAttachmentInstance",
252     "xml": "<outcome value='CreateSOTNAttachmentInstance'>",
253     "comments": "",
254     "outputs": 1,
255     "x": 1091.833267211914,
256     "y": 209.99981307983398,
257     "z": "b7e352e3.19bee",
258     "wires": [
259       [
260         "66c39149.70506"
261       ]
262     ]
263   },
264   {
265     "id": "ae9fa049.744a2",
266     "type": "outcome",
267     "name": "other",
268     "xml": "<outcome value='other'>",
269     "comments": "",
270     "outputs": 1,
271     "x": 1021.8333740234375,
272     "y": 301.66654205322266,
273     "z": "b7e352e3.19bee",
274     "wires": [
275       [
276         "93d62769.1835a8"
277       ]
278     ]
279   },
280   {
281     "id": "93d62769.1835a8",
282     "type": "returnFailure",
283     "name": "return failure",
284     "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=\"`'Provided request-action=' + $connection-attachment-topology-operation-input.request-information.request-action + ' is not supported.'`\" />\n",
285     "comments": "",
286     "x": 1187.5000381469727,
287     "y": 302.00000762939453,
288     "z": "b7e352e3.19bee",
289     "wires": []
290   },
291   {
292     "id": "a98c29b2.451c58",
293     "type": "call",
294     "name": "call GENERIC-RESOURCE-API:sotn-attachment-topology-operation-activate",
295     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-attachment-topology-operation-activate' mode='sync' >\n",
296     "comments": "",
297     "outputs": 1,
298     "x": 1549.5000457763672,
299     "y": 345.00000953674316,
300     "z": "b7e352e3.19bee",
301     "wires": [
302       []
303     ]
304   },
305   {
306     "id": "761c903c.218d4",
307     "type": "outcome",
308     "name": "ActivateSOTNAttachmentInstance",
309     "xml": "<outcome value='ActivateSOTNAttachmentInstance'>",
310     "comments": "",
311     "outputs": 1,
312     "x": 1099.247085571289,
313     "y": 347.4590435028076,
314     "z": "b7e352e3.19bee",
315     "wires": [
316       [
317         "a98c29b2.451c58"
318       ]
319     ]
320   },
321   {
322     "id": "3bbb5d04.5bf752",
323     "type": "outcome",
324     "name": "other",
325     "xml": "<outcome value='other'>",
326     "comments": "",
327     "outputs": 1,
328     "x": 1029.2471923828125,
329     "y": 439.1257724761963,
330     "z": "b7e352e3.19bee",
331     "wires": [
332       [
333         "ca8f3243.2c298"
334       ]
335     ]
336   },
337   {
338     "id": "a90cbc0f.e63d",
339     "type": "outcome",
340     "name": "DeactivateSOTNAttachmentInstance",
341     "xml": "<outcome value='DeactivateSOTNAttachmentInstance'>",
342     "comments": "",
343     "outputs": 1,
344     "x": 1118.8332977294922,
345     "y": 485.9998302459717,
346     "z": "b7e352e3.19bee",
347     "wires": [
348       [
349         "a6371009.ee111"
350       ]
351     ]
352   },
353   {
354     "id": "4fe9f748.8c5d78",
355     "type": "outcome",
356     "name": "other",
357     "xml": "<outcome value='other'>",
358     "comments": "",
359     "outputs": 1,
360     "x": 1033.8333206176758,
361     "y": 577.6665353775024,
362     "z": "b7e352e3.19bee",
363     "wires": [
364       [
365         "ccf57f8f.ea1c9"
366       ]
367     ]
368   },
369   {
370     "id": "a6371009.ee111",
371     "type": "call",
372     "name": "call GENERIC-RESOURCE-API:sotn-attachment-topology-operation-deactivate",
373     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-attachment-topology-operation-deactivate' mode='sync' >\n",
374     "comments": "",
375     "outputs": 1,
376     "x": 1577.5001220703125,
377     "y": 486.00001335144043,
378     "z": "b7e352e3.19bee",
379     "wires": [
380       []
381     ]
382   },
383   {
384     "id": "feaf8aad.a6d7b8",
385     "type": "outcome",
386     "name": "DeleteSOTNAttachmentInstance",
387     "xml": "<outcome value='DeleteSOTNAttachmentInstance'>",
388     "comments": "",
389     "outputs": 1,
390     "x": 1107.8332138061523,
391     "y": 626.9998064041138,
392     "z": "b7e352e3.19bee",
393     "wires": [
394       [
395         "702bb124.73afe"
396       ]
397     ]
398   },
399   {
400     "id": "fcb130cd.5ae4",
401     "type": "outcome",
402     "name": "other",
403     "xml": "<outcome value='other'>",
404     "comments": "",
405     "outputs": 1,
406     "x": 1037.8333206176758,
407     "y": 718.6665353775024,
408     "z": "b7e352e3.19bee",
409     "wires": [
410       [
411         "4b648692.1bee28"
412       ]
413     ]
414   },
415   {
416     "id": "702bb124.73afe",
417     "type": "call",
418     "name": "call GENERIC-RESOURCE-API:sotn-attachment-topology-operation-delete",
419     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-attachment-topology-operation-delete' mode='sync' >\n",
420     "comments": "",
421     "outputs": 1,
422     "x": 1563.5000915527344,
423     "y": 628.0000171661377,
424     "z": "b7e352e3.19bee",
425     "wires": [
426       []
427     ]
428   },
429   {
430     "id": "4c362fcf.8e944",
431     "type": "switchNode",
432     "name": "switch request-action",
433     "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
434     "comments": "",
435     "outputs": 1,
436     "x": 834.0000610351562,
437     "y": 399.00001335144043,
438     "z": "b7e352e3.19bee",
439     "wires": [
440       [
441         "761c903c.218d4",
442         "3bbb5d04.5bf752",
443         "2147e065.6d692"
444       ]
445     ]
446   },
447   {
448     "id": "da1fc201.3680b",
449     "type": "switchNode",
450     "name": "switch request-action",
451     "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
452     "comments": "",
453     "outputs": 1,
454     "x": 848,
455     "y": 540,
456     "z": "b7e352e3.19bee",
457     "wires": [
458       [
459         "a90cbc0f.e63d",
460         "4fe9f748.8c5d78",
461         "9e313cc8.d833b"
462       ]
463     ]
464   },
465   {
466     "id": "c5b8be14.e07f9",
467     "type": "switchNode",
468     "name": "switch request-action",
469     "xml": "<switch test='`$connection-attachment-topology-operation-input.request-information.request-action`'>\n",
470     "comments": "",
471     "outputs": 1,
472     "x": 851,
473     "y": 675,
474     "z": "b7e352e3.19bee",
475     "wires": [
476       [
477         "feaf8aad.a6d7b8",
478         "fcb130cd.5ae4",
479         "5e1720ff.4caf2"
480       ]
481     ]
482   },
483   {
484     "id": "ca8f3243.2c298",
485     "type": "returnFailure",
486     "name": "return failure",
487     "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=\"`'Provided request-action=' + $connection-attachment-topology-operation-input.request-information.request-action + ' is not supported.'`\" />\n",
488     "comments": "",
489     "x": 1193,
490     "y": 439,
491     "z": "b7e352e3.19bee",
492     "wires": []
493   },
494   {
495     "id": "ccf57f8f.ea1c9",
496     "type": "returnFailure",
497     "name": "return failure",
498     "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=\"`'Provided request-action=' + $connection-attachment-topology-operation-input.request-information.request-action + ' is not supported.'`\" />\n",
499     "comments": "",
500     "x": 1201,
501     "y": 579,
502     "z": "b7e352e3.19bee",
503     "wires": []
504   },
505   {
506     "id": "4b648692.1bee28",
507     "type": "returnFailure",
508     "name": "return failure",
509     "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=\"`'Provided request-action=' + $connection-attachment-topology-operation-input.request-information.request-action + ' is not supported.'`\" />\n",
510     "comments": "",
511     "x": 1206,
512     "y": 718,
513     "z": "b7e352e3.19bee",
514     "wires": []
515   },
516   {
517     "id": "5e6d0e37.67471",
518     "type": "outcome",
519     "name": "CreateSDWANAttachmentInstance",
520     "xml": "<outcome value='CreateSDWANAttachmentInstance'>",
521     "comments": "",
522     "outputs": 1,
523     "x": 1116.02734375,
524     "y": 257.0312509536743,
525     "z": "b7e352e3.19bee",
526     "wires": [
527       [
528         "4d854610.f2a218"
529       ]
530     ]
531   },
532   {
533     "id": "4d854610.f2a218",
534     "type": "call",
535     "name": "call GENERIC-RESOURCE-API:sdwan-attachment-topology-operation-create",
536     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-attachment-topology-operation-create' mode='sync' >\n",
537     "comments": "",
538     "outputs": 1,
539     "x": 1564.2803802490234,
540     "y": 257.57222270965576,
541     "z": "b7e352e3.19bee",
542     "wires": [
543       []
544     ]
545   },
546   {
547     "id": "2147e065.6d692",
548     "type": "outcome",
549     "name": "ActivateSDWANAttachmentInstance",
550     "xml": "<outcome value='ActivateSDWANAttachmentInstance'>",
551     "comments": "",
552     "outputs": 1,
553     "x": 1111.02734375,
554     "y": 394.0312509536743,
555     "z": "b7e352e3.19bee",
556     "wires": [
557       [
558         "5d4d92f5.76ca5c"
559       ]
560     ]
561   },
562   {
563     "id": "5d4d92f5.76ca5c",
564     "type": "call",
565     "name": "call GENERIC-RESOURCE-API:sdwan-attachment-topology-operation-activate",
566     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-attachment-topology-operation-activate' mode='sync' >\n",
567     "comments": "",
568     "outputs": 1,
569     "x": 1561.2803039550781,
570     "y": 391.57221698760986,
571     "z": "b7e352e3.19bee",
572     "wires": [
573       []
574     ]
575   },
576   {
577     "id": "9e313cc8.d833b",
578     "type": "outcome",
579     "name": "DeactivateSDWANAttachmentInstance",
580     "xml": "<outcome value='DeactivateSDWANAttachmentInstance'>",
581     "comments": "",
582     "outputs": 1,
583     "x": 1128.02734375,
584     "y": 535.0312509536743,
585     "z": "b7e352e3.19bee",
586     "wires": [
587       [
588         "79636f75.2b02a"
589       ]
590     ]
591   },
592   {
593     "id": "79636f75.2b02a",
594     "type": "call",
595     "name": "call GENERIC-RESOURCE-API:sdwan-attachment-topology-operation-deactivate",
596     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-attachment-topology-operation-deactivate' mode='sync' >\n",
597     "comments": "",
598     "outputs": 1,
599     "x": 1586.6941680908203,
600     "y": 535.0314340591431,
601     "z": "b7e352e3.19bee",
602     "wires": [
603       []
604     ]
605   },
606   {
607     "id": "5e1720ff.4caf2",
608     "type": "outcome",
609     "name": "DeleteSDWANAttachmentInstance",
610     "xml": "<outcome value='DeleteSDWANAttachmentInstance'>",
611     "comments": "",
612     "outputs": 1,
613     "x": 1116.02734375,
614     "y": 673.0312509536743,
615     "z": "b7e352e3.19bee",
616     "wires": [
617       [
618         "fc63a050.4fcca"
619       ]
620     ]
621   },
622   {
623     "id": "fc63a050.4fcca",
624     "type": "call",
625     "name": "call GENERIC-RESOURCE-API:sdwan-attachment-topology-operation-delete",
626     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-attachment-topology-operation-delete' mode='sync' >\n",
627     "comments": "",
628     "outputs": 1,
629     "x": 1571.694221496582,
630     "y": 674.0314617156982,
631     "z": "b7e352e3.19bee",
632     "wires": [
633       []
634     ]
635   }
636 ]