Buf fixing for creation, deletion, and modification of a cloud leased-line (CLL)...
[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": "5597755d.1ce774",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 147,\r
8         "y": 107,\r
9         "z": "2d4ea144.5587f6",\r
10         "wires": [\r
11             [\r
12                 "8d0fd3e7.a3b7e8"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "8d0fd3e7.a3b7e8",\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": 431.2856903076172,\r
26         "y": 168.23810863494873,\r
27         "z": "2d4ea144.5587f6",\r
28         "wires": [\r
29             [\r
30                 "86b46a27.ca39b8"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "86b46a27.ca39b8",\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": 386.4285888671875,\r
42         "y": 260.0000305175781,\r
43         "z": "2d4ea144.5587f6",\r
44         "wires": [\r
45             [\r
46                 "15886f7b.32e089"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "15886f7b.32e089",\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": 747.238037109375,\r
58         "y": 244.66668701171875,\r
59         "z": "2d4ea144.5587f6",\r
60         "wires": [\r
61             [\r
62                 "6bd3471b.bd1a98",\r
63                 "5dece674.dd027",\r
64                 "4d1bc5df.1d031c"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "6bd3471b.bd1a98",\r
70         "type": "save",\r
71         "name": "get all-connectivities from aai",\r
72         "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
73         "comments": "",\r
74         "outputs": 1,\r
75         "x": 232,\r
76         "y": 430,\r
77         "z": "2d4ea144.5587f6",\r
78         "wires": [\r
79             [\r
80                 "92e14f80.21594",\r
81                 "b9796c74.99212",\r
82                 "e5bd0a99.00585"\r
83             ]\r
84         ]\r
85     },\r
86     {\r
87         "id": "92e14f80.21594",\r
88         "type": "success",\r
89         "name": "success",\r
90         "xml": "<outcome value='success'>\n",\r
91         "comments": "",\r
92         "outputs": 1,\r
93         "x": 476,\r
94         "y": 390,\r
95         "z": "2d4ea144.5587f6",\r
96         "wires": [\r
97             [\r
98                 "61e9ae11.23c3a8"\r
99             ]\r
100         ]\r
101     },\r
102     {\r
103         "id": "b9796c74.99212",\r
104         "type": "not-found",\r
105         "name": "not-found",\r
106         "xml": "<outcome value='not-found'>\n",\r
107         "comments": "",\r
108         "outputs": 1,\r
109         "x": 473.490966796875,\r
110         "y": 439.57403564453125,\r
111         "z": "2d4ea144.5587f6",\r
112         "wires": [\r
113             [\r
114                 "cd38df9d.37406"\r
115             ]\r
116         ]\r
117     },\r
118     {\r
119         "id": "e5bd0a99.00585",\r
120         "type": "failure",\r
121         "name": "failure",\r
122         "xml": "<outcome value='failure'>\n",\r
123         "comments": "",\r
124         "outputs": 1,\r
125         "x": 471,\r
126         "y": 482,\r
127         "z": "2d4ea144.5587f6",\r
128         "wires": [\r
129             [\r
130                 "62703aa0.44322c"\r
131             ]\r
132         ]\r
133     },\r
134     {\r
135         "id": "61e9ae11.23c3a8",\r
136         "type": "block",\r
137         "name": "block : atomic",\r
138         "xml": "<block atomic=\"true\">",\r
139         "atomic": "true",\r
140         "outputs": 1,\r
141         "x": 624,\r
142         "y": 391,\r
143         "z": "2d4ea144.5587f6",\r
144         "wires": [\r
145             [\r
146                 "ca24c19f.cdc85"\r
147             ]\r
148         ]\r
149     },\r
150     {\r
151         "id": "cd38df9d.37406",\r
152         "type": "returnFailure",\r
153         "name": "return failure",\r
154         "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
155         "comments": "",\r
156         "x": 623.0623779296875,\r
157         "y": 439.8597717285156,\r
158         "z": "2d4ea144.5587f6",\r
159         "wires": []\r
160     },\r
161     {\r
162         "id": "62703aa0.44322c",\r
163         "type": "returnFailure",\r
164         "name": "return failure",\r
165         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
166         "comments": "",\r
167         "x": 622,\r
168         "y": 479,\r
169         "z": "2d4ea144.5587f6",\r
170         "wires": []\r
171     },\r
172     {\r
173         "id": "ca24c19f.cdc85",\r
174         "type": "for",\r
175         "name": "for helprconnidx in all-connectivities",\r
176         "xml": "<for index='helprconnidx' start='0' end='`$tmp.aai.helper-root-all-connectivities.connectivity_length`' >\n",\r
177         "comments": "",\r
178         "outputs": 1,\r
179         "x": 871,\r
180         "y": 386,\r
181         "z": "2d4ea144.5587f6",\r
182         "wires": [\r
183             [\r
184                 "380582c8.7d331e"\r
185             ]\r
186         ]\r
187     },\r
188     {\r
189         "id": "380582c8.7d331e",\r
190         "type": "block",\r
191         "name": "block : atomic",\r
192         "xml": "<block atomic='true'>",\r
193         "atomic": "true",\r
194         "comments": "",\r
195         "outputs": 1,\r
196         "x": 1118,\r
197         "y": 392,\r
198         "z": "2d4ea144.5587f6",\r
199         "wires": [\r
200             [\r
201                 "174c6173.8ff53f"\r
202             ]\r
203         ]\r
204     },\r
205     {\r
206         "id": "206a627e.5c0d46",\r
207         "type": "switchNode",\r
208         "name": "switch color-aware is ROOT?",\r
209         "xml": "\n<switch test=\"`$tmp.aai.helper-root-all-connectivities.connectivity[$helprconnidx].color-aware == $tmp.ROOT.uni-p-interface-long`\">\n\n",\r
210         "comments": "",\r
211         "outputs": 1,\r
212         "x": 312,\r
213         "y": 641,\r
214         "z": "2d4ea144.5587f6",\r
215         "wires": [\r
216             [\r
217                 "463cdf78.946e4"\r
218             ]\r
219         ]\r
220     },\r
221     {\r
222         "id": "463cdf78.946e4",\r
223         "type": "outcomeTrue",\r
224         "name": "true",\r
225         "xml": "<outcome value='true'>\n",\r
226         "comments": "",\r
227         "outputs": 1,\r
228         "x": 521,\r
229         "y": 635,\r
230         "z": "2d4ea144.5587f6",\r
231         "wires": [\r
232             [\r
233                 "65cbe881.f7d1b"\r
234             ]\r
235         ]\r
236     },\r
237     {\r
238         "id": "65cbe881.f7d1b",\r
239         "type": "block",\r
240         "name": "block : atomic",\r
241         "xml": "<block atomic='true'>",\r
242         "atomic": "true",\r
243         "comments": "",\r
244         "outputs": 1,\r
245         "x": 678,\r
246         "y": 635,\r
247         "z": "2d4ea144.5587f6",\r
248         "wires": [\r
249             [\r
250                 "ba048fa4.246cf8",\r
251                 "34ebbdc4.bca6fa",\r
252                 "3a84227a.7da866"\r
253             ]\r
254         ]\r
255     },\r
256     {\r
257         "id": "5dece674.dd027",\r
258         "type": "set",\r
259         "name": "unset found-root-connectivity",\r
260         "xml": "<set>\n<parameter name='found-root-connectivity' value=\"false\" />\n",\r
261         "comments": "",\r
262         "x": 990,\r
263         "y": 159,\r
264         "z": "2d4ea144.5587f6",\r
265         "wires": []\r
266     },\r
267     {\r
268         "id": "ba048fa4.246cf8",\r
269         "type": "set",\r
270         "name": "set found-root-connectivity=true",\r
271         "xml": "<set>\n<parameter name='found-root-connectivity' value=\"true\" />\n",\r
272         "comments": "",\r
273         "x": 939,\r
274         "y": 583,\r
275         "z": "2d4ea144.5587f6",\r
276         "wires": []\r
277     },\r
278     {\r
279         "id": "34ebbdc4.bca6fa",\r
280         "type": "set",\r
281         "name": "set tmp.aai.ROOT.connectivity.",\r
282         "xml": "<set>\n<parameter name='tmp.aai.ROOT.connectivity.' value=\"`$tmp.aai.helper-root-all-connectivities.connectivity[$helprconnidx].`\" />\n",\r
283         "comments": "",\r
284         "x": 942,\r
285         "y": 636,\r
286         "z": "2d4ea144.5587f6",\r
287         "wires": []\r
288     },\r
289     {\r
290         "id": "4d1bc5df.1d031c",\r
291         "type": "set",\r
292         "name": "unset tmp.aai.ROOT.connectivity.",\r
293         "xml": "<set>\n<parameter name='tmp.aai.ROOT.connectivity.' value=\"\" />\n",\r
294         "comments": "",\r
295         "x": 1008,\r
296         "y": 203,\r
297         "z": "2d4ea144.5587f6",\r
298         "wires": []\r
299     },\r
300     {\r
301         "id": "3a84227a.7da866",\r
302         "type": "break",\r
303         "name": "break",\r
304         "xml": "<break>\n",\r
305         "comments": "",\r
306         "x": 870,\r
307         "y": 699,\r
308         "z": "2d4ea144.5587f6",\r
309         "wires": []\r
310     },\r
311     {\r
312         "id": "174c6173.8ff53f",\r
313         "type": "switchNode",\r
314         "name": "switch conn type",\r
315         "xml": "<switch test=\"`$tmp.aai.helper-root-all-connectivities.connectivity[$helprconnidx].vpn-type`\">\n\n",\r
316         "comments": "",\r
317         "outputs": 1,\r
318         "x": 923.88330078125,\r
319         "y": 480.88330078125,\r
320         "z": "2d4ea144.5587f6",\r
321         "wires": [\r
322             [\r
323                 "466114cf.ced6ec"\r
324             ]\r
325         ]\r
326     },\r
327     {\r
328         "id": "466114cf.ced6ec",\r
329         "type": "outcome",\r
330         "name": "root",\r
331         "xml": "<outcome value='root'>\n",\r
332         "comments": "",\r
333         "outputs": 1,\r
334         "x": 1083.88330078125,\r
335         "y": 482.8833312988281,\r
336         "z": "2d4ea144.5587f6",\r
337         "wires": [\r
338             [\r
339                 "64ce81d.c0f0f"\r
340             ]\r
341         ]\r
342     },\r
343     {\r
344         "id": "64ce81d.c0f0f",\r
345         "type": "block",\r
346         "name": "block",\r
347         "xml": "<block>\n",\r
348         "atomic": "false",\r
349         "comments": "",\r
350         "outputs": 1,\r
351         "x": 1226.88330078125,\r
352         "y": 484.8833312988281,\r
353         "z": "2d4ea144.5587f6",\r
354         "wires": [\r
355             [\r
356                 "206a627e.5c0d46"\r
357             ]\r
358         ]\r
359     }\r
360 ]