Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / cloud_leased_line / GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-searchVpnName.json
1 [
2   {
3     "id": "31e5d2b5.0599fe",
4     "type": "for",
5     "name": "for each relationship",
6     "xml": "<for silentFailure='true' index='mmridx' start='0' end='`$tmp.aai.mmrconnectivity.relationship-list.relationship_length`' >\n",
7     "comments": "",
8     "outputs": 1,
9     "x": 236,
10     "y": 993,
11     "z": "c2ab5565.41fe58",
12     "wires": [
13       [
14         "a78d056.b5ab7f8",
15         "e1cdc8ba.a395c"
16       ]
17     ]
18   },
19   {
20     "id": "e1cdc8ba.a395c",
21     "type": "set",
22     "name": "unset tmp.aai.mmrvpn-binding",
23     "xml": "<set>\n<parameter name='tmp.aai.mmrvpn-binding.' value='' />\n",
24     "comments": "",
25     "x": 482,
26     "y": 949,
27     "z": "c2ab5565.41fe58",
28     "wires": []
29   },
30   {
31     "id": "a78d056.b5ab7f8",
32     "type": "switchNode",
33     "name": "switch related-to",
34     "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$mmridx].related-to`'>\n",
35     "comments": "",
36     "outputs": 1,
37     "x": 442,
38     "y": 993,
39     "z": "c2ab5565.41fe58",
40     "wires": [
41       [
42         "7bf078a.9be4108"
43       ]
44     ]
45   },
46   {
47     "id": "7bf078a.9be4108",
48     "type": "outcome",
49     "name": "vpn-binding",
50     "xml": "<outcome value='vpn-binding'>\n",
51     "comments": "",
52     "outputs": 1,
53     "x": 625.28564453125,
54     "y": 992.82177734375,
55     "z": "c2ab5565.41fe58",
56     "wires": [
57       [
58         "215d3faa.f51c98"
59       ]
60     ]
61   },
62   {
63     "id": "215d3faa.f51c98",
64     "type": "block",
65     "name": "block : atomic",
66     "xml": "<block atomic=\"true\">",
67     "atomic": "true",
68     "outputs": 1,
69     "x": 225,
70     "y": 1037,
71     "z": "c2ab5565.41fe58",
72     "wires": [
73       [
74         "b17f0df1.95c4d8"
75       ]
76     ]
77   },
78   {
79     "id": "b17f0df1.95c4d8",
80     "type": "switchNode",
81     "name": "switch vpnNameToSearch",
82     "xml": "<switch test='`$vpnNameToSearch == $middle-man-conn.relationship-list.relationship[$mmridx].related-to-property[0].property-value`'>\n",
83     "comments": "",
84     "outputs": 1,
85     "x": 430,
86     "y": 1038,
87     "z": "c2ab5565.41fe58",
88     "wires": [
89       [
90         "21e2127f.8c1dd6"
91       ]
92     ]
93   },
94   {
95     "id": "be70d08a.d902c8",
96     "type": "set",
97     "name": "unset foundVpnName",
98     "xml": "<set>\n<parameter name='foundVpnName' value='false' />\n",
99     "comments": "",
100     "x": 957,
101     "y": 136,
102     "z": "c2ab5565.41fe58",
103     "wires": []
104   },
105   {
106     "id": "21e2127f.8c1dd6",
107     "type": "outcomeTrue",
108     "name": "true",
109     "xml": "<outcome value='true'>\n",
110     "comments": "",
111     "outputs": 1,
112     "x": 610,
113     "y": 1038,
114     "z": "c2ab5565.41fe58",
115     "wires": [
116       [
117         "de7119e9.e6ede"
118       ]
119     ]
120   },
121   {
122     "id": "de7119e9.e6ede",
123     "type": "block",
124     "name": "block",
125     "xml": "<block>\n",
126     "atomic": "false",
127     "comments": "",
128     "outputs": 1,
129     "x": 731,
130     "y": 1035,
131     "z": "c2ab5565.41fe58",
132     "wires": [
133       [
134         "fd90809a.6ecd2",
135         "99d884af.46fd"
136       ]
137     ]
138   },
139   {
140     "id": "fd90809a.6ecd2",
141     "type": "set",
142     "name": "set foundVpnName",
143     "xml": "<set>\n<parameter name='foundVpnName' value='true' />\n",
144     "comments": "",
145     "x": 896,
146     "y": 1004,
147     "z": "c2ab5565.41fe58",
148     "wires": []
149   },
150   {
151     "id": "99d884af.46fd",
152     "type": "break",
153     "name": "break",
154     "xml": "<break>\n",
155     "comments": "",
156     "x": 859,
157     "y": 1049,
158     "z": "c2ab5565.41fe58",
159     "wires": []
160   },
161   {
162     "id": "6c40187e.e79158",
163     "type": "dgstart",
164     "name": "DGSTART",
165     "outputs": 1,
166     "x": 157,
167     "y": 62,
168     "z": "c2ab5565.41fe58",
169     "wires": [
170       [
171         "3a7938e1.994d7"
172       ]
173     ]
174   },
175   {
176     "id": "3a7938e1.994d7",
177     "type": "service-logic",
178     "name": "GENERIC-RESOURCE-API ${project.version}",
179     "module": "GENERIC-RESOURCE-API",
180     "version": "${project.version}",
181     "comments": "",
182     "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}'>",
183     "outputs": 1,
184     "x": 441.2856903076172,
185     "y": 123.23810863494873,
186     "z": "c2ab5565.41fe58",
187     "wires": [
188       [
189         "f46afc6.271308"
190       ]
191     ]
192   },
193   {
194     "id": "f46afc6.271308",
195     "type": "method",
196     "name": "method cll-vnf-topology-operation-cll-searchVpnName",
197     "xml": "<method rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync'>\n",
198     "comments": "",
199     "outputs": 1,
200     "x": 447.42860412597656,
201     "y": 208.00003051757812,
202     "z": "c2ab5565.41fe58",
203     "wires": [
204       [
205         "45b2ac64.9618cc"
206       ]
207     ]
208   },
209   {
210     "id": "45b2ac64.9618cc",
211     "type": "block",
212     "name": "block : atomic",
213     "xml": "<block atomic=\"true\">",
214     "atomic": "true",
215     "outputs": 1,
216     "x": 757.238037109375,
217     "y": 199.66668701171875,
218     "z": "c2ab5565.41fe58",
219     "wires": [
220       [
221         "be70d08a.d902c8",
222         "c0805bdc.60a32"
223       ]
224     ]
225   },
226   {
227     "id": "c0805bdc.60a32",
228     "type": "for",
229     "name": "for each relationship",
230     "xml": "<for silentFailure='true' index='mmridx' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",
231     "comments": "",
232     "outputs": 1,
233     "x": 856,
234     "y": 289,
235     "z": "c2ab5565.41fe58",
236     "wires": [
237       [
238         "7c17985e.24b9a8",
239         "2b1d3c50.df6fdc",
240         "cfff50b2.fe63"
241       ]
242     ]
243   },
244   {
245     "id": "2b1d3c50.df6fdc",
246     "type": "set",
247     "name": "unset tmp.aai.mmrconnectivity",
248     "xml": "<set>\n<parameter name='tmp.aai.mmrconnectivity.' value='' />\n",
249     "comments": "",
250     "x": 1078,
251     "y": 245,
252     "z": "c2ab5565.41fe58",
253     "wires": []
254   },
255   {
256     "id": "7c17985e.24b9a8",
257     "type": "switchNode",
258     "name": "switch related-to",
259     "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$mmridx].related-to`'>\n",
260     "comments": "",
261     "outputs": 1,
262     "x": 1062,
263     "y": 289,
264     "z": "c2ab5565.41fe58",
265     "wires": [
266       [
267         "f9896c6a.7a3708"
268       ]
269     ]
270   },
271   {
272     "id": "f9896c6a.7a3708",
273     "type": "outcome",
274     "name": "connectivity",
275     "xml": "<outcome value='connectivity'>\n",
276     "comments": "",
277     "outputs": 1,
278     "x": 1245.28564453125,
279     "y": 288.82177734375,
280     "z": "c2ab5565.41fe58",
281     "wires": [
282       [
283         "30ebd3e5.770cf4"
284       ]
285     ]
286   },
287   {
288     "id": "30ebd3e5.770cf4",
289     "type": "block",
290     "name": "block : atomic",
291     "xml": "<block atomic=\"true\">",
292     "atomic": "true",
293     "outputs": 1,
294     "x": 273,
295     "y": 394,
296     "z": "c2ab5565.41fe58",
297     "wires": [
298       [
299         "82504752.c08ad8"
300       ]
301     ]
302   },
303   {
304     "id": "82504752.c08ad8",
305     "type": "save",
306     "name": "get connectivity from aai",
307     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $middle-man-conn.relationship-list.relationship[$mmridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.mmrconnectivity\" >\n",
308     "comments": "",
309     "outputs": 1,
310     "x": 480,
311     "y": 394,
312     "z": "c2ab5565.41fe58",
313     "wires": [
314       [
315         "5f90d2a5.9f7054",
316         "65dc53f7.8e7784",
317         "1a9e510a.adb4e7"
318       ]
319     ]
320   },
321   {
322     "id": "5f90d2a5.9f7054",
323     "type": "success",
324     "name": "success",
325     "xml": "<outcome value='success'>\n",
326     "comments": "",
327     "outputs": 1,
328     "x": 701,
329     "y": 367,
330     "z": "c2ab5565.41fe58",
331     "wires": [
332       [
333         "87fec7ad.f202"
334       ]
335     ]
336   },
337   {
338     "id": "754c7814.0e8a58",
339     "type": "returnFailure",
340     "name": "return failure",
341     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
342     "comments": "",
343     "x": 855,
344     "y": 448,
345     "z": "c2ab5565.41fe58",
346     "wires": []
347   },
348   {
349     "id": "d131384d.b16ff8",
350     "type": "returnFailure",
351     "name": "return failure",
352     "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=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
353     "comments": "",
354     "x": 851.0623779296875,
355     "y": 403.8597717285156,
356     "z": "c2ab5565.41fe58",
357     "wires": []
358   },
359   {
360     "id": "65dc53f7.8e7784",
361     "type": "not-found",
362     "name": "not-found",
363     "xml": "<outcome value='not-found'>\n",
364     "comments": "",
365     "outputs": 1,
366     "x": 688.490966796875,
367     "y": 403.57403564453125,
368     "z": "c2ab5565.41fe58",
369     "wires": [
370       [
371         "d131384d.b16ff8"
372       ]
373     ]
374   },
375   {
376     "id": "1a9e510a.adb4e7",
377     "type": "failure",
378     "name": "failure",
379     "xml": "<outcome value='failure'>\n",
380     "comments": "",
381     "outputs": 1,
382     "x": 686,
383     "y": 447,
384     "z": "c2ab5565.41fe58",
385     "wires": [
386       [
387         "754c7814.0e8a58"
388       ]
389     ]
390   },
391   {
392     "id": "ab4fd3e7.8abc6",
393     "type": "switchNode",
394     "name": "switch conn vlan same as curr ll",
395     "xml": "<!--<switch test=\"`$tmp.aai.all-connectivities.connectivity[$connidx].cvlan == $tmp.aai.network-route-LEAF.logical-interface-id `\">-->\n<switch test=\"`$tmp.aai.mmrconnectivity.cvlan == $tmp.aai.network-route-LEAF.logical-interface-id `\">\n",
396     "comments": "",
397     "outputs": 1,
398     "x": 285,
399     "y": 665,
400     "z": "c2ab5565.41fe58",
401     "wires": [
402       [
403         "2c46c2f6.973bfe",
404         "85b72055.4d73f"
405       ]
406     ]
407   },
408   {
409     "id": "2c46c2f6.973bfe",
410     "type": "outcomeFalse",
411     "name": "false",
412     "xml": "<outcome value='false'>\n",
413     "comments": "",
414     "outputs": 1,
415     "x": 496,
416     "y": 635,
417     "z": "c2ab5565.41fe58",
418     "wires": [
419       [
420         "d5af698e.25e738"
421       ]
422     ]
423   },
424   {
425     "id": "85b72055.4d73f",
426     "type": "outcomeTrue",
427     "name": "true",
428     "xml": "<outcome value='true'>\n",
429     "comments": "",
430     "outputs": 1,
431     "x": 494,
432     "y": 687,
433     "z": "c2ab5565.41fe58",
434     "wires": [
435       [
436         "7ec9db69.7abb2c"
437       ]
438     ]
439   },
440   {
441     "id": "d5af698e.25e738",
442     "type": "block",
443     "name": "block",
444     "xml": "<block>\n",
445     "atomic": "false",
446     "comments": "",
447     "outputs": 1,
448     "x": 651,
449     "y": 636,
450     "z": "c2ab5565.41fe58",
451     "wires": [
452       []
453     ]
454   },
455   {
456     "id": "7ec9db69.7abb2c",
457     "type": "for",
458     "name": "for each relationship",
459     "xml": "<for silentFailure='true' index='connrelidx' start='0' end='`$tmp.aai.mmrconnectivity.relationship-list.relationship_length`' >\n",
460     "comments": "",
461     "outputs": 1,
462     "x": 678,
463     "y": 685,
464     "z": "c2ab5565.41fe58",
465     "wires": [
466       [
467         "e28e2052.a958a",
468         "63bf8e12.beb788"
469       ]
470     ]
471   },
472   {
473     "id": "e28e2052.a958a",
474     "type": "switchNode",
475     "name": "switch related-to",
476     "xml": "<switch test='`$tmp.aai.mmrconnectivity.relationship-list.relationship[$connrelidx].related-to`'>\n",
477     "comments": "",
478     "outputs": 1,
479     "x": 884,
480     "y": 685,
481     "z": "c2ab5565.41fe58",
482     "wires": [
483       [
484         "f0e6ef1c.3db2d"
485       ]
486     ]
487   },
488   {
489     "id": "f0e6ef1c.3db2d",
490     "type": "outcome",
491     "name": "vpn-binding",
492     "xml": "<outcome value='vpn-binding'>\n",
493     "comments": "",
494     "outputs": 1,
495     "x": 1048.28564453125,
496     "y": 684.82177734375,
497     "z": "c2ab5565.41fe58",
498     "wires": [
499       [
500         "402026e2.423eb8"
501       ]
502     ]
503   },
504   {
505     "id": "87fec7ad.f202",
506     "type": "block",
507     "name": "block",
508     "xml": "<block>\n",
509     "atomic": "false",
510     "comments": "",
511     "outputs": 1,
512     "x": 856,
513     "y": 362,
514     "z": "c2ab5565.41fe58",
515     "wires": [
516       [
517         "ab4fd3e7.8abc6",
518         "8d8a1b19.f80f38"
519       ]
520     ]
521   },
522   {
523     "id": "63bf8e12.beb788",
524     "type": "set",
525     "name": "unset tmp.aai.mmrvpn-binding",
526     "xml": "<set>\n<parameter name='tmp.aai.mmrvpn-binding.' value='' />\n",
527     "comments": "",
528     "x": 914,
529     "y": 623,
530     "z": "c2ab5565.41fe58",
531     "wires": []
532   },
533   {
534     "id": "402026e2.423eb8",
535     "type": "block",
536     "name": "block : atomic",
537     "xml": "<block atomic=\"true\">",
538     "atomic": "true",
539     "outputs": 1,
540     "x": 273,
541     "y": 804,
542     "z": "c2ab5565.41fe58",
543     "wires": [
544       [
545         "d52369a5.e7da38"
546       ]
547     ]
548   },
549   {
550     "id": "d52369a5.e7da38",
551     "type": "switchNode",
552     "name": "switch vpnNameToSearch",
553     "xml": "<switch test='`$vpnNameToSearch == $tmp.aai.mmrconnectivity.relationship-list.relationship[$connrelidx].related-to-property[0].property-value`'>\n",
554     "comments": "",
555     "outputs": 1,
556     "x": 478,
557     "y": 805,
558     "z": "c2ab5565.41fe58",
559     "wires": [
560       [
561         "24a01305.62ce64"
562       ]
563     ]
564   },
565   {
566     "id": "24a01305.62ce64",
567     "type": "outcomeTrue",
568     "name": "true",
569     "xml": "<outcome value='true'>\n",
570     "comments": "",
571     "outputs": 1,
572     "x": 658,
573     "y": 805,
574     "z": "c2ab5565.41fe58",
575     "wires": [
576       [
577         "9ddcd462.0017f"
578       ]
579     ]
580   },
581   {
582     "id": "9ddcd462.0017f",
583     "type": "block",
584     "name": "block",
585     "xml": "<block>\n",
586     "atomic": "false",
587     "comments": "",
588     "outputs": 1,
589     "x": 779,
590     "y": 802,
591     "z": "c2ab5565.41fe58",
592     "wires": [
593       [
594         "fa3ceefe.cff1a",
595         "4d6041d5.dfff38"
596       ]
597     ]
598   },
599   {
600     "id": "fa3ceefe.cff1a",
601     "type": "set",
602     "name": "set foundVpnName",
603     "xml": "<set>\n<parameter name='foundVpnName' value='true' />\n",
604     "comments": "",
605     "x": 944,
606     "y": 771,
607     "z": "c2ab5565.41fe58",
608     "wires": []
609   },
610   {
611     "id": "4d6041d5.dfff38",
612     "type": "break",
613     "name": "break",
614     "xml": "<break>\n",
615     "comments": "",
616     "x": 907,
617     "y": 816,
618     "z": "c2ab5565.41fe58",
619     "wires": []
620   },
621   {
622     "id": "cfff50b2.fe63",
623     "type": "switchNode",
624     "name": "switch foundVpnName",
625     "xml": "<switch test='`$foundVpnName`'>\n",
626     "comments": "",
627     "outputs": 1,
628     "x": 1103,
629     "y": 356,
630     "z": "c2ab5565.41fe58",
631     "wires": [
632       [
633         "778f874f.3433e"
634       ]
635     ]
636   },
637   {
638     "id": "778f874f.3433e",
639     "type": "outcomeTrue",
640     "name": "true",
641     "xml": "<outcome value='true'>\n",
642     "comments": "",
643     "outputs": 1,
644     "x": 1283,
645     "y": 356,
646     "z": "c2ab5565.41fe58",
647     "wires": [
648       [
649         "4c396aea.bd0a8c"
650       ]
651     ]
652   },
653   {
654     "id": "4c396aea.bd0a8c",
655     "type": "break",
656     "name": "break",
657     "xml": "<break>\n",
658     "comments": "",
659     "x": 1417,
660     "y": 357,
661     "z": "c2ab5565.41fe58",
662     "wires": []
663   },
664   {
665     "id": "8d8a1b19.f80f38",
666     "type": "record",
667     "name": "record tmp.pce-src and dst node",
668     "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.aai.mmrconnectivity.cvlan`\"/>\n<parameter name=\"field2\" value=\"`$tmp.aai.network-route-LEAF.logical-interface-id`\"/>\n\n",
669     "comments": "",
670     "outputs": 1,
671     "x": 290,
672     "y": 599,
673     "z": "c2ab5565.41fe58",
674     "wires": [
675       []
676     ]
677   }
678 ]