Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_port-mirror-topology-operation.json
1 [
2     {
3         "id": "4a3915c6.05f4cc",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 101.42857360839844,
8         "y": 81.42857360839844,
9         "z": "ccb80365.d73f6",
10         "wires": [
11             [
12                 "4b88506.9e22db"
13             ]
14         ]
15     },
16     {
17         "id": "4b88506.9e22db",
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": 215.04759979248047,
26         "y": 121.66668701171875,
27         "z": "ccb80365.d73f6",
28         "wires": [
29             [
30                 "3d36d704.8162c8"
31             ]
32         ]
33     },
34     {
35         "id": "3d36d704.8162c8",
36         "type": "method",
37         "name": "method port-mirror-topology-operation",
38         "xml": "<method rpc='port-mirror-topology-operation' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 189.8572006225586,
42         "y": 161.42857360839844,
43         "z": "ccb80365.d73f6",
44         "wires": [
45             [
46                 "e6e242da.69fe6"
47             ]
48         ]
49     },
50     {
51         "id": "be456109.bd24e",
52         "type": "comment",
53         "name": "port-mirror-topology-operation",
54         "info": "",
55         "comments": "",
56         "x": 495.77342987060547,
57         "y": 29.014917373657227,
58         "z": "ccb80365.d73f6",
59         "wires": []
60     },
61     {
62         "id": "355dd75e.24ec18",
63         "type": "returnSuccess",
64         "name": "return success",
65         "xml": "<return status='success'>\n\n",
66         "comments": "",
67         "x": 518.869068145752,
68         "y": 721.7260837554932,
69         "z": "ccb80365.d73f6",
70         "wires": []
71     },
72     {
73         "id": "e6e242da.69fe6",
74         "type": "block",
75         "name": "block : atomic",
76         "xml": "<block atomic=\"true\">",
77         "atomic": "true",
78         "outputs": 1,
79         "x": 224.28571319580078,
80         "y": 459.99999237060547,
81         "z": "ccb80365.d73f6",
82         "wires": [
83             [
84                 "355dd75e.24ec18",
85                 "f0cb07d6.0e4048",
86                 "508bb8bf.ae93d8",
87                 "f41c1b7a.2417f8"
88             ]
89         ]
90     },
91     {
92         "id": "f0cb07d6.0e4048",
93         "type": "call",
94         "name": "call port-mirror-topology-operation-validation",
95         "xml": "<call module='GENERIC-RESOURCE-API' rpc='port-mirror-topology-operation-validation' mode='sync' >\n",
96         "comments": "",
97         "outputs": 1,
98         "x": 615,
99         "y": 251.25000381469727,
100         "z": "ccb80365.d73f6",
101         "wires": [
102             [
103                 "f20f67c8.480108"
104             ]
105         ]
106     },
107     {
108         "id": "f20f67c8.480108",
109         "type": "failure",
110         "name": "failure",
111         "xml": "<outcome value='failure'>\n",
112         "comments": "",
113         "outputs": 1,
114         "x": 899.9999847412109,
115         "y": 251.6071434020996,
116         "z": "ccb80365.d73f6",
117         "wires": [
118             [
119                 "28729372.5d8d4c"
120             ]
121         ]
122     },
123     {
124         "id": "28729372.5d8d4c",
125         "type": "returnFailure",
126         "name": "return failure",
127         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n",
128         "comments": "",
129         "x": 1069.9999237060547,
130         "y": 250.71429443359375,
131         "z": "ccb80365.d73f6",
132         "wires": []
133     },
134     {
135         "id": "508bb8bf.ae93d8",
136         "type": "switchNode",
137         "name": "switch svc-action",
138         "xml": "<switch test='`$port-mirror-topology-operation-input.sdnc-request-header.svc-action`'>\n",
139         "comments": "",
140         "outputs": 1,
141         "x": 532.857177734375,
142         "y": 480.0000228881836,
143         "z": "ccb80365.d73f6",
144         "wires": [
145             [
146                 "911e3654.4628b8",
147                 "9cf51ec1.5a687",
148                 "240d0258.67162e",
149                 "13c3af67.47b1b1",
150                 "dcac8be4.96c918",
151                 "d7879d5c.1b4cb"
152             ]
153         ]
154     },
155     {
156         "id": "911e3654.4628b8",
157         "type": "outcome",
158         "name": "assign",
159         "xml": "<outcome value='assign'>\n",
160         "comments": "",
161         "outputs": 1,
162         "x": 758.5714855194092,
163         "y": 371.2500286102295,
164         "z": "ccb80365.d73f6",
165         "wires": [
166             [
167                 "be83b6f4.dba758"
168             ]
169         ]
170     },
171     {
172         "id": "9cf51ec1.5a687",
173         "type": "outcome",
174         "name": "activate",
175         "xml": "<outcome value='activate'>\n",
176         "comments": "",
177         "outputs": 1,
178         "x": 759.2858085632324,
179         "y": 418.7500829696655,
180         "z": "ccb80365.d73f6",
181         "wires": [
182             [
183                 "26db655a.45972a"
184             ]
185         ]
186     },
187     {
188         "id": "240d0258.67162e",
189         "type": "outcome",
190         "name": "unassign",
191         "xml": "<outcome value='unassign'>\n",
192         "comments": "",
193         "outputs": 1,
194         "x": 759.642894744873,
195         "y": 465.8929195404053,
196         "z": "ccb80365.d73f6",
197         "wires": [
198             [
199                 "4c2b1545.e2559c"
200             ]
201         ]
202     },
203     {
204         "id": "13c3af67.47b1b1",
205         "type": "outcome",
206         "name": "deactivate",
207         "xml": "<outcome value='deactivate'>\n",
208         "comments": "",
209         "outputs": 1,
210         "x": 764.6428985595703,
211         "y": 513.9286460876465,
212         "z": "ccb80365.d73f6",
213         "wires": [
214             [
215                 "1489bb5a.cc2a45"
216             ]
217         ]
218     },
219     {
220         "id": "dcac8be4.96c918",
221         "type": "outcome",
222         "name": "enable",
223         "xml": "<outcome value='enable'>\n",
224         "comments": "",
225         "outputs": 1,
226         "x": 753.3929290771484,
227         "y": 560.535810470581,
228         "z": "ccb80365.d73f6",
229         "wires": [
230             [
231                 "1ab8a43d.1a186c"
232             ]
233         ]
234     },
235     {
236         "id": "d7879d5c.1b4cb",
237         "type": "outcome",
238         "name": "disable",
239         "xml": "<outcome value='disable'>\n",
240         "comments": "",
241         "outputs": 1,
242         "x": 753.2144660949707,
243         "y": 605.5357418060303,
244         "z": "ccb80365.d73f6",
245         "wires": [
246             [
247                 "1b07a08e.6bf74f"
248             ]
249         ]
250     },
251     {
252         "id": "be83b6f4.dba758",
253         "type": "block",
254         "name": "block : atomic",
255         "xml": "<block atomic=\"true\">",
256         "atomic": "true",
257         "outputs": 1,
258         "x": 907.3214740753174,
259         "y": 371.2500228881836,
260         "z": "ccb80365.d73f6",
261         "wires": [
262             [
263                 "99c6d930.0a8418"
264             ]
265         ]
266     },
267     {
268         "id": "26db655a.45972a",
269         "type": "block",
270         "name": "block : atomic",
271         "xml": "<block atomic=\"true\">",
272         "atomic": "true",
273         "outputs": 1,
274         "x": 910.5358085632324,
275         "y": 418.7500829696655,
276         "z": "ccb80365.d73f6",
277         "wires": [
278             [
279                 "a48c837b.3ad64"
280             ]
281         ]
282     },
283     {
284         "id": "1489bb5a.cc2a45",
285         "type": "block",
286         "name": "block : atomic",
287         "xml": "<block atomic=\"true\">",
288         "atomic": "true",
289         "outputs": 1,
290         "x": 912.1428985595703,
291         "y": 512.6786470413208,
292         "z": "ccb80365.d73f6",
293         "wires": [
294             [
295                 "f5118913.72f998"
296             ]
297         ]
298     },
299     {
300         "id": "4c2b1545.e2559c",
301         "type": "block",
302         "name": "block : atomic",
303         "xml": "<block atomic=\"true\">",
304         "atomic": "true",
305         "outputs": 1,
306         "x": 911.0714645385742,
307         "y": 465.89294624328613,
308         "z": "ccb80365.d73f6",
309         "wires": [
310             [
311                 "8cb75768.8a7f38"
312             ]
313         ]
314     },
315     {
316         "id": "1ab8a43d.1a186c",
317         "type": "block",
318         "name": "block : atomic",
319         "xml": "<block atomic=\"true\">",
320         "atomic": "true",
321         "outputs": 1,
322         "x": 912.1429290771484,
323         "y": 560.5358123779297,
324         "z": "ccb80365.d73f6",
325         "wires": [
326             [
327                 "c455fe19.109ac"
328             ]
329         ]
330     },
331     {
332         "id": "1b07a08e.6bf74f",
333         "type": "block",
334         "name": "block : atomic",
335         "xml": "<block atomic=\"true\">",
336         "atomic": "true",
337         "outputs": 1,
338         "x": 910.7144660949707,
339         "y": 605.5357437133789,
340         "z": "ccb80365.d73f6",
341         "wires": [
342             [
343                 "38bd81a6.85a1ce"
344             ]
345         ]
346     },
347     {
348         "id": "99c6d930.0a8418",
349         "type": "call",
350         "name": "call port-mirror-topology-operation-assign-sync",
351         "xml": "<call module='GENERIC-RESOURCE-API' rpc='port-mirror-topology-operation-assign-sync' mode='sync' >\n",
352         "comments": "",
353         "outputs": 1,
354         "x": 1198.5714111328125,
355         "y": 370,
356         "z": "ccb80365.d73f6",
357         "wires": [
358             [
359                 "dacaa4a6.19a198"
360             ]
361         ]
362     },
363     {
364         "id": "dacaa4a6.19a198",
365         "type": "failure",
366         "name": "failure",
367         "xml": "<outcome value='failure'>\n",
368         "comments": "",
369         "outputs": 1,
370         "x": 1461.4285888671875,
371         "y": 368.5714416503906,
372         "z": "ccb80365.d73f6",
373         "wires": [
374             [
375                 "a38116c0.2bc5a8"
376             ]
377         ]
378     },
379     {
380         "id": "a38116c0.2bc5a8",
381         "type": "returnFailure",
382         "name": "return failure",
383         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
384         "comments": "",
385         "x": 1631.428565979004,
386         "y": 367.6785888671875,
387         "z": "ccb80365.d73f6",
388         "wires": []
389     },
390     {
391         "id": "a48c837b.3ad64",
392         "type": "call",
393         "name": "call port-mirror-topology-operation-activate-sync",
394         "xml": "<call module='GENERIC-RESOURCE-API' rpc='port-mirror-topology-operation-activate-sync' mode='sync' >\n",
395         "comments": "",
396         "outputs": 1,
397         "x": 1200.000171661377,
398         "y": 419.0000190734863,
399         "z": "ccb80365.d73f6",
400         "wires": [
401             [
402                 "24ad15be.750daa"
403             ]
404         ]
405     },
406     {
407         "id": "24ad15be.750daa",
408         "type": "failure",
409         "name": "failure",
410         "xml": "<outcome value='failure'>\n",
411         "comments": "",
412         "outputs": 1,
413         "x": 1464.2858963012695,
414         "y": 419.00004482269287,
415         "z": "ccb80365.d73f6",
416         "wires": [
417             [
418                 "c812919a.e4b99"
419             ]
420         ]
421     },
422     {
423         "id": "c812919a.e4b99",
424         "type": "returnFailure",
425         "name": "return failure",
426         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
427         "comments": "",
428         "x": 1632.8573379516602,
429         "y": 418.6785898208618,
430         "z": "ccb80365.d73f6",
431         "wires": []
432     },
433     {
434         "id": "47b534cc.71ecec",
435         "type": "comment",
436         "name": "More involved validations",
437         "info": "",
438         "comments": "",
439         "x": 890.0000305175781,
440         "y": 322.85713291168213,
441         "z": "ccb80365.d73f6",
442         "wires": []
443     },
444     {
445         "id": "fb527534.27e138",
446         "type": "comment",
447         "name": "Input validations",
448         "info": "",
449         "comments": "",
450         "x": 575.7142944335938,
451         "y": 202.85715293884277,
452         "z": "ccb80365.d73f6",
453         "wires": []
454     },
455     {
456         "id": "f5118913.72f998",
457         "type": "call",
458         "name": "call port-mirror-topology-operation-deactivate-sync",
459         "xml": "<call module='GENERIC-RESOURCE-API' rpc='port-mirror-topology-operation-deactivate-sync' mode='sync' >\n",
460         "comments": "",
461         "outputs": 1,
462         "x": 1205.142822265625,
463         "y": 512.2857055664062,
464         "z": "ccb80365.d73f6",
465         "wires": [
466             [
467                 "3532cc9e.66ec14"
468             ]
469         ]
470     },
471     {
472         "id": "3532cc9e.66ec14",
473         "type": "failure",
474         "name": "failure",
475         "xml": "<outcome value='failure'>\n",
476         "comments": "",
477         "outputs": 1,
478         "x": 1461.4285469055176,
479         "y": 512.2857313156128,
480         "z": "ccb80365.d73f6",
481         "wires": [
482             [
483                 "a6fa834e.abd31"
484             ]
485         ]
486     },
487     {
488         "id": "a6fa834e.abd31",
489         "type": "returnFailure",
490         "name": "return failure",
491         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
492         "comments": "",
493         "x": 1629.9999885559082,
494         "y": 511.96427631378174,
495         "z": "ccb80365.d73f6",
496         "wires": []
497     },
498     {
499         "id": "c455fe19.109ac",
500         "type": "call",
501         "name": "call port-mirror-topology-operation-enable",
502         "xml": "<call module='GENERIC-RESOURCE-API' rpc='port-mirror-topology-operation-enable' mode='sync' >\n",
503         "comments": "",
504         "outputs": 1,
505         "x": 1177.2857666015625,
506         "y": 560,
507         "z": "ccb80365.d73f6",
508         "wires": [
509             [
510                 "c5988a87.bbad38"
511             ]
512         ]
513     },
514     {
515         "id": "c5988a87.bbad38",
516         "type": "failure",
517         "name": "failure",
518         "xml": "<outcome value='failure'>\n",
519         "comments": "",
520         "outputs": 1,
521         "x": 1458.571491241455,
522         "y": 560.0000257492065,
523         "z": "ccb80365.d73f6",
524         "wires": [
525             [
526                 "4844c077.62ae3"
527             ]
528         ]
529     },
530     {
531         "id": "4844c077.62ae3",
532         "type": "returnFailure",
533         "name": "return failure",
534         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
535         "comments": "",
536         "x": 1627.1429328918457,
537         "y": 559.6785707473755,
538         "z": "ccb80365.d73f6",
539         "wires": []
540     },
541     {
542         "id": "38bd81a6.85a1ce",
543         "type": "call",
544         "name": "call port-mirror-topology-operation-disable",
545         "xml": "<call module='GENERIC-RESOURCE-API' rpc='port-mirror-topology-operation-disable' mode='sync' >\n",
546         "comments": "",
547         "outputs": 1,
548         "x": 1176.2857666015625,
549         "y": 607.1428833007812,
550         "z": "ccb80365.d73f6",
551         "wires": [
552             [
553                 "fd672617.26d768"
554             ]
555         ]
556     },
557     {
558         "id": "fd672617.26d768",
559         "type": "failure",
560         "name": "failure",
561         "xml": "<outcome value='failure'>\n",
562         "comments": "",
563         "outputs": 1,
564         "x": 1458.571491241455,
565         "y": 607.1429090499878,
566         "z": "ccb80365.d73f6",
567         "wires": [
568             [
569                 "b751d818.e76978"
570             ]
571         ]
572     },
573     {
574         "id": "b751d818.e76978",
575         "type": "returnFailure",
576         "name": "return failure",
577         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
578         "comments": "",
579         "x": 1627.1429328918457,
580         "y": 606.8214540481567,
581         "z": "ccb80365.d73f6",
582         "wires": []
583     },
584     {
585         "id": "8cb75768.8a7f38",
586         "type": "call",
587         "name": "call port-mirror-topology-operation-unassign",
588         "xml": "<call module='GENERIC-RESOURCE-API' rpc='port-mirror-topology-operation-unassign' mode='sync' >\n",
589         "comments": "",
590         "outputs": 1,
591         "x": 1184.2857131958008,
592         "y": 464.2857189178467,
593         "z": "ccb80365.d73f6",
594         "wires": [
595             [
596                 "72e7e63a.f45948"
597             ]
598         ]
599     },
600     {
601         "id": "72e7e63a.f45948",
602         "type": "failure",
603         "name": "failure",
604         "xml": "<outcome value='failure'>\n",
605         "comments": "",
606         "outputs": 1,
607         "x": 1462.857135772705,
608         "y": 462.8571729660034,
609         "z": "ccb80365.d73f6",
610         "wires": [
611             [
612                 "8b2dcc51.346be"
613             ]
614         ]
615     },
616     {
617         "id": "8b2dcc51.346be",
618         "type": "returnFailure",
619         "name": "return failure",
620         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
621         "comments": "",
622         "x": 1631.4285774230957,
623         "y": 462.53571796417236,
624         "z": "ccb80365.d73f6",
625         "wires": []
626     },
627     {
628         "id": "f41c1b7a.2417f8",
629         "type": "set",
630         "name": "set response paths",
631         "xml": "<set>\n<parameter name='service-object-path' value=\"`'/config/GENERIC-RESOURCE-API:services/service/'\n  + $port-mirror-topology-operation-input.service-information.service-instance-id + '/service-data/service-topology'`\" />\n<parameter name='port-mirror-object-path' value=\"`'/config/GENERIC-RESOURCE-API:port-mirror-configurations/port-mirror-configuration/'\n  + $port-mirror-topology-operation-input.configuration-information.configuration-id + '/configuration-data/port-mirror-configuration-topology'`\" />\n",
632         "comments": "",
633         "x": 533.3333206176758,
634         "y": 668.3333396911621,
635         "z": "ccb80365.d73f6",
636         "wires": []
637     }
638 ]