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-helper-find-ROOT-conn.json
1 [\r
2     {\r
3         "id": "3d72a78b.d5ca8",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 161.88333129882812,\r
8         "y": 93,\r
9         "z": "fa25e836.5eaa88",\r
10         "wires": [\r
11             [\r
12                 "9d241a09.87fad"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "9d241a09.87fad",\r
18         "type": "service-logic",\r
19         "name": "GENERIC-RESOURCE-API ${project.version}",\r
20         "module": "GENERIC-RESOURCE-API",\r
21         "version": "${project.version}",\r
22         "comments": "",\r
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}'>",\r
24         "outputs": 1,\r
25         "x": 446.1690216064453,\r
26         "y": 154.23810863494873,\r
27         "z": "fa25e836.5eaa88",\r
28         "wires": [\r
29             [\r
30                 "a7259be6.d447a"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "a7259be6.d447a",\r
36         "type": "method",\r
37         "name": "method cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
38         "xml": "<method rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 401.3119201660156,\r
42         "y": 246.00003051757812,\r
43         "z": "fa25e836.5eaa88",\r
44         "wires": [\r
45             [\r
46                 "d786d41.1f92da8"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "d786d41.1f92da8",\r
52         "type": "block",\r
53         "name": "block : atomic",\r
54         "xml": "<block atomic=\"true\">",\r
55         "atomic": "true",\r
56         "outputs": 1,\r
57         "x": 762.1213684082031,\r
58         "y": 230.66668701171875,\r
59         "z": "fa25e836.5eaa88",\r
60         "wires": [\r
61             [\r
62                 "7a44c426.80c71c",\r
63                 "e5338f68.a61cd8",\r
64                 "c3537cef.9e14b8",\r
65                 "a3ebaf5b.c985e"\r
66             ]\r
67         ]\r
68     },\r
69     {\r
70         "id": "7a44c426.80c71c",\r
71         "type": "save",\r
72         "name": "get all-connectivities from aai",\r
73         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivities\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/connectivities/'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.helper-root-all-connectivities\" >\n",\r
74         "comments": "",\r
75         "outputs": 1,\r
76         "x": 246.88333129882812,\r
77         "y": 416,\r
78         "z": "fa25e836.5eaa88",\r
79         "wires": [\r
80             [\r
81                 "e85393c.ba370f",\r
82                 "a557e38f.6e9a5",\r
83                 "30d0e737.4ae9c8"\r
84             ]\r
85         ]\r
86     },\r
87     {\r
88         "id": "e85393c.ba370f",\r
89         "type": "success",\r
90         "name": "success",\r
91         "xml": "<outcome value='success'>\n",\r
92         "comments": "",\r
93         "outputs": 1,\r
94         "x": 490.8833312988281,\r
95         "y": 376,\r
96         "z": "fa25e836.5eaa88",\r
97         "wires": [\r
98             [\r
99                 "c39e44d3.0b437"\r
100             ]\r
101         ]\r
102     },\r
103     {\r
104         "id": "a557e38f.6e9a5",\r
105         "type": "not-found",\r
106         "name": "not-found",\r
107         "xml": "<outcome value='not-found'>\n",\r
108         "comments": "",\r
109         "outputs": 1,\r
110         "x": 488.3742980957031,\r
111         "y": 425.57403564453125,\r
112         "z": "fa25e836.5eaa88",\r
113         "wires": [\r
114             [\r
115                 "704ffa2b.4115fc"\r
116             ]\r
117         ]\r
118     },\r
119     {\r
120         "id": "30d0e737.4ae9c8",\r
121         "type": "failure",\r
122         "name": "failure",\r
123         "xml": "<outcome value='failure'>\n",\r
124         "comments": "",\r
125         "outputs": 1,\r
126         "x": 485.8833312988281,\r
127         "y": 468,\r
128         "z": "fa25e836.5eaa88",\r
129         "wires": [\r
130             [\r
131                 "628b9d60.85cb0c"\r
132             ]\r
133         ]\r
134     },\r
135     {\r
136         "id": "c39e44d3.0b437",\r
137         "type": "block",\r
138         "name": "block : atomic",\r
139         "xml": "<block atomic=\"true\">",\r
140         "atomic": "true",\r
141         "outputs": 1,\r
142         "x": 638.8833312988281,\r
143         "y": 377,\r
144         "z": "fa25e836.5eaa88",\r
145         "wires": [\r
146             [\r
147                 "e6b99f9d.23ec4"\r
148             ]\r
149         ]\r
150     },\r
151     {\r
152         "id": "704ffa2b.4115fc",\r
153         "type": "returnFailure",\r
154         "name": "return failure",\r
155         "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",\r
156         "comments": "",\r
157         "x": 637.9457092285156,\r
158         "y": 425.8597717285156,\r
159         "z": "fa25e836.5eaa88",\r
160         "wires": []\r
161     },\r
162     {\r
163         "id": "628b9d60.85cb0c",\r
164         "type": "returnFailure",\r
165         "name": "return failure",\r
166         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
167         "comments": "",\r
168         "x": 636.8833312988281,\r
169         "y": 465,\r
170         "z": "fa25e836.5eaa88",\r
171         "wires": []\r
172     },\r
173     {\r
174         "id": "e6b99f9d.23ec4",\r
175         "type": "for",\r
176         "name": "for helprconnidx in all-connectivities",\r
177         "xml": "<for index='helprconnidx' start='0' end='`$tmp.aai.helper-root-all-connectivities.connectivity_length`' >\n",\r
178         "comments": "",\r
179         "outputs": 1,\r
180         "x": 885.8833312988281,\r
181         "y": 372,\r
182         "z": "fa25e836.5eaa88",\r
183         "wires": [\r
184             [\r
185                 "15f82643.3dda02"\r
186             ]\r
187         ]\r
188     },\r
189     {\r
190         "id": "15f82643.3dda02",\r
191         "type": "block",\r
192         "name": "block : atomic",\r
193         "xml": "<block atomic='true'>",\r
194         "atomic": "true",\r
195         "comments": "",\r
196         "outputs": 1,\r
197         "x": 1132.8833312988281,\r
198         "y": 378,\r
199         "z": "fa25e836.5eaa88",\r
200         "wires": [\r
201             [\r
202                 "d5d56de1.9016d"\r
203             ]\r
204         ]\r
205     },\r
206     {\r
207         "id": "7d92b34f.9e55dc",\r
208         "type": "switchNode",\r
209         "name": "switch color-aware is ROOT?",\r
210         "xml": "\n<switch test=\"`$tmp.aai.helper-root-all-connectivities.connectivity[$helprconnidx].color-aware == $tmp.ROOT.uni-p-interface-long`\">\n\n",\r
211         "comments": "",\r
212         "outputs": 1,\r
213         "x": 326.8833312988281,\r
214         "y": 627,\r
215         "z": "fa25e836.5eaa88",\r
216         "wires": [\r
217             [\r
218                 "4a67b867.df0b6"\r
219             ]\r
220         ]\r
221     },\r
222     {\r
223         "id": "4a67b867.df0b6",\r
224         "type": "outcomeTrue",\r
225         "name": "true",\r
226         "xml": "<outcome value='true'>\n",\r
227         "comments": "",\r
228         "outputs": 1,\r
229         "x": 535.8833312988281,\r
230         "y": 621,\r
231         "z": "fa25e836.5eaa88",\r
232         "wires": [\r
233             [\r
234                 "751ad577.51dfcc"\r
235             ]\r
236         ]\r
237     },\r
238     {\r
239         "id": "751ad577.51dfcc",\r
240         "type": "block",\r
241         "name": "block : atomic",\r
242         "xml": "<block atomic='true'>",\r
243         "atomic": "true",\r
244         "comments": "",\r
245         "outputs": 1,\r
246         "x": 692.8833312988281,\r
247         "y": 621,\r
248         "z": "fa25e836.5eaa88",\r
249         "wires": [\r
250             [\r
251                 "b438dfb2.fcca1",\r
252                 "7030d1be.87fa18",\r
253                 "31d23be7.1d5a84"\r
254             ]\r
255         ]\r
256     },\r
257     {\r
258         "id": "e5338f68.a61cd8",\r
259         "type": "set",\r
260         "name": "unset found-root-connectivity",\r
261         "xml": "<set>\n<parameter name='found-root-connectivity' value=\"false\" />\n",\r
262         "comments": "",\r
263         "x": 1004.8833312988281,\r
264         "y": 145,\r
265         "z": "fa25e836.5eaa88",\r
266         "wires": []\r
267     },\r
268     {\r
269         "id": "b438dfb2.fcca1",\r
270         "type": "set",\r
271         "name": "set found-root-connectivity=true",\r
272         "xml": "<set>\n<parameter name='found-root-connectivity' value=\"true\" />\n",\r
273         "comments": "",\r
274         "x": 953.8833312988281,\r
275         "y": 569,\r
276         "z": "fa25e836.5eaa88",\r
277         "wires": []\r
278     },\r
279     {\r
280         "id": "7030d1be.87fa18",\r
281         "type": "set",\r
282         "name": "set tmp.aai.ROOT.connectivity.",\r
283         "xml": "<set>\n<parameter name='tmp.aai.ROOT.connectivity.' value=\"`$tmp.aai.helper-root-all-connectivities.connectivity[$helprconnidx].`\" />\n",\r
284         "comments": "",\r
285         "x": 956.8833312988281,\r
286         "y": 622,\r
287         "z": "fa25e836.5eaa88",\r
288         "wires": []\r
289     },\r
290     {\r
291         "id": "c3537cef.9e14b8",\r
292         "type": "set",\r
293         "name": "unset tmp.aai.ROOT.connectivity.",\r
294         "xml": "<set>\n<parameter name='tmp.aai.ROOT.connectivity.' value=\"\" />\n",\r
295         "comments": "",\r
296         "x": 1022.8833312988281,\r
297         "y": 189,\r
298         "z": "fa25e836.5eaa88",\r
299         "wires": []\r
300     },\r
301     {\r
302         "id": "31d23be7.1d5a84",\r
303         "type": "break",\r
304         "name": "break",\r
305         "xml": "<break>\n",\r
306         "comments": "",\r
307         "x": 884.8833312988281,\r
308         "y": 685,\r
309         "z": "fa25e836.5eaa88",\r
310         "wires": []\r
311     },\r
312     {\r
313         "id": "d5d56de1.9016d",\r
314         "type": "switchNode",\r
315         "name": "switch conn type",\r
316         "xml": "<switch test=\"`$tmp.aai.helper-root-all-connectivities.connectivity[$helprconnidx].vpn-type`\">\n\n",\r
317         "comments": "",\r
318         "outputs": 1,\r
319         "x": 938.7666320800781,\r
320         "y": 466.88330078125,\r
321         "z": "fa25e836.5eaa88",\r
322         "wires": [\r
323             [\r
324                 "8760c9a3.310068"\r
325             ]\r
326         ]\r
327     },\r
328     {\r
329         "id": "8760c9a3.310068",\r
330         "type": "outcome",\r
331         "name": "root",\r
332         "xml": "<outcome value='root'>\n",\r
333         "comments": "",\r
334         "outputs": 1,\r
335         "x": 1098.7666320800781,\r
336         "y": 468.8833312988281,\r
337         "z": "fa25e836.5eaa88",\r
338         "wires": [\r
339             [\r
340                 "a38c2649.b4dd5"\r
341             ]\r
342         ]\r
343     },\r
344     {\r
345         "id": "a38c2649.b4dd5",\r
346         "type": "block",\r
347         "name": "block",\r
348         "xml": "<block>\n",\r
349         "atomic": "false",\r
350         "comments": "",\r
351         "outputs": 1,\r
352         "x": 1241.7666320800781,\r
353         "y": 470.8833312988281,\r
354         "z": "fa25e836.5eaa88",\r
355         "wires": [\r
356             [\r
357                 "7d92b34f.9e55dc"\r
358             ]\r
359         ]\r
360     },\r
361     {\r
362         "id": "a3ebaf5b.c985e",\r
363         "type": "set",\r
364         "name": "unset tmp.aai.helper-root-all-connectivities",\r
365         "xml": "<set>\n<parameter name='tmp.aai.helper-root-all-connectivities.' value=\"\" />\n",\r
366         "comments": "",\r
367         "x": 1068,\r
368         "y": 244,\r
369         "z": "fa25e836.5eaa88",\r
370         "wires": []\r
371     }\r
372 ]