3 "id": "32a337db.ae5aa8",
5 "name": "execute: generateUUID",
6 "xml": "<execute plugin=\"com.att.sdnctl.sli.SliPluginUtils.SliPluginUtils\" method=\"generateUUID\" >\n\t<parameter name=\"ctx-destination\" value=\"tmp.return.generate-l3network-network-id.uuid\" />",
9 "x": 475.8888854980469,
10 "y": 396.50000381469727,
11 "z": "ed9b1fd8.6f0a7",
19 "id": "aee3b0da.c79fb",
22 "xml": "<outcome value='failure'>\n",
25 "x": 671.6388931274414,
26 "y": 396.50000381469727,
27 "z": "ed9b1fd8.6f0a7",
35 "id": "2e6b8196.18f09e",
36 "type": "returnFailure",
37 "name": "return failure",
38 "xml": "<return status='failure'>\n\t<!-- Used to work around execute node bug -->\n\t<parameter name=\"execute_failure\" value=\"false\" />\n\n\t<!-- return parameters -->\n\t<parameter name=\"error-message.generate-l3network-network-id\" value=\"An error occured while generating a UUID for L3-NETWORK.\" />",
40 "x": 836.6388931274414,
41 "y": 396.7500009536743,
42 "z": "ed9b1fd8.6f0a7",
46 "id": "19e3e967.c281b7",
47 "type": "get-resource",
48 "name": "Query AnAI - l3-network",
49 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"l3-network\"\n key=\"l3-network.network-id = $tmp.return.generate-l3network-network-id.uuid\"\n local-only=\"false\"\n pfx=\"tmp.local-variables.generate-l3network-network-id.L3NETWORK\" >",
52 "x": 601.1388931274414,
53 "y": 487.7500009536743,
54 "z": "ed9b1fd8.6f0a7",
65 "id": "c1a23e2e.3f106",
67 "name": "for n: true",
68 "xml": "<for atomic=\"true\" index=\"n\" start=\"0\" end=\"1\" >",
71 "x": 425.1388931274414,
72 "y": 487.7500009536743,
73 "z": "ed9b1fd8.6f0a7",
81 "id": "2807c6fa.8fbd4a",
84 "xml": "<outcome value='success'>\n",
87 "x": 805.6388931274414,
88 "y": 487.7500009536743,
89 "z": "ed9b1fd8.6f0a7",
100 "xml": "<outcome value='failure'>\n",
103 "x": 801.6388931274414,
104 "y": 567.7500009536743,
105 "z": "ed9b1fd8.6f0a7",
113 "id": "4ecb327.82397cc",
116 "xml": "<outcome value='not-found'>\n",
119 "x": 810.6388931274414,
120 "y": 527.7500009536743,
121 "z": "ed9b1fd8.6f0a7",
129 "id": "537fe43b.f1146c",
130 "type": "returnFailure",
131 "name": "return failure",
132 "xml": "<return status=\"failure\">\n\t<!-- return parameters -->\n\t<parameter name=\"error-message.generate-l3network-network-id\" value=\"`'An error occured while checking if a generated l3network-network-id was unique. network-id = ' + $tmp.local-variables.generate-l3network-network-id.uuid`\" />",
134 "x": 968.1389007568359,
135 "y": 592.7500066757202,
136 "z": "ed9b1fd8.6f0a7",
140 "id": "6fcc46f3.9af1a8",
142 "name": "block : atomic",
143 "xml": "<block atomic='true'>",
147 "x": 963.6388931274414,
148 "y": 487.7500009536743,
149 "z": "ed9b1fd8.6f0a7",
158 "id": "17797a19.8abea6",
160 "name": "set: ...local...is-unique = 0",
161 "xml": "<set>\n\t<parameter name=\"tmp.local-variables.generate-l3network-network-id.is-unique\" value=\"0\" />",
163 "x": 1181.1389465332031,
164 "y": 487.7500066757202,
165 "z": "ed9b1fd8.6f0a7",
169 "id": "4e358d48.be92b4",
171 "name": "execute: generateUUID",
172 "xml": "<execute plugin=\"com.att.sdnctl.sli.SliPluginUtils.SliPluginUtils\" method=\"generateUUID\" >\n\t<parameter name=\"ctx-destination\" value=\"tmp.return.generate-l3network-network-id.uuid\" />",
175 "x": 1174.6388931274414,
176 "y": 527.7500009536743,
177 "z": "ed9b1fd8.6f0a7",
185 "id": "4cf76132.02956",
188 "xml": "<outcome value='failure'>\n",
191 "x": 1361.6388931274414,
192 "y": 527.7500009536743,
193 "z": "ed9b1fd8.6f0a7",
201 "id": "dea8bdbf.c6534",
202 "type": "returnFailure",
203 "name": "return failure",
204 "xml": "<return status=\"failure\">\n\t<!-- return parameters -->\n\t<parameter name=\"error-message.generate-l3network-network-id\" value=\"An error occured while generating a UUID for L3-NETWORK.\" />",
206 "x": 1515.6388931274414,
207 "y": 527.7500009536743,
208 "z": "ed9b1fd8.6f0a7",
212 "id": "4292e2a6.5346ac",
219 "x": 941.6388931274414,
220 "y": 527.7500009536743,
221 "z": "ed9b1fd8.6f0a7",
227 "id": "dfc540f2.ccff2",
231 "x": 182.13888931274414,
233 "z": "ed9b1fd8.6f0a7",
241 "id": "b386b9cc.e3d508",
242 "type": "service-logic",
243 "name": "GENERIC-RESOURCE-API ${project.version}",
244 "module": "GENERIC-RESOURCE-API",
245 "version": "${project.version}",
247 "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}'>",
249 "x": 206.13888549804688,
251 "z": "ed9b1fd8.6f0a7",
259 "id": "a7f05089.bec56",
261 "name": "method generate-l3network-network-id",
262 "xml": "<method rpc=\"generate-l3network-network-id\" mode=\"sync\">",
265 "x": 291.8888854980469,
267 "z": "ed9b1fd8.6f0a7",
275 "id": "f5b14600.c43d28",
277 "name": "GENERIC-RESOURCE-API: GENERATE-L3NETWORK-NETWORK-ID",
280 "x": 733.6389007568359,
281 "y": 90.24999809265137,
282 "z": "ed9b1fd8.6f0a7",
286 "id": "34f40852.137a58",
288 "name": "block : atomic",
289 "xml": "<block atomic=\"true\">",
293 "x": 243.6388931274414,
294 "y": 307.7500009536743,
295 "z": "ed9b1fd8.6f0a7",
306 "id": "de1da0bf.8163b",
308 "name": "LOOP UNTIL GENERATED NETWORK-ID ISN'T FOUND IN A&AI",
311 "x": 644.8888854980469,
312 "y": 444.0000047683716,
313 "z": "ed9b1fd8.6f0a7",
317 "id": "6ed54c0.6154fb4",
319 "name": "GENERATE A NETWORK-ID",
322 "x": 508.6388854980469,
323 "y": 354.00000286102295,
324 "z": "ed9b1fd8.6f0a7",
328 "id": "6d1bc386.49356c",
330 "name": "unset: local-variables & return",
331 "xml": "<set>\n\t<parameter name=\"tmp.local-variables.generate-l3network-network-id.\" value=\"\" />\n\t<parameter name=\"tmp.return.generate-l3network-network-id.\" value=\"\" />",
333 "x": 494.6388931274414,
334 "y": 307.7500009536743,
335 "z": "ed9b1fd8.6f0a7",
339 "id": "b0ae69a3.56e508",
341 "name": "CLEANUP LOCAL VARIABLES TO BE USED",
344 "x": 578.8888854980469,
345 "y": 264.00000190734863,
346 "z": "ed9b1fd8.6f0a7",
350 "id": "5a56764d.91fa68",
352 "name": "GLOBAL VARIABLES USED",
353 "info": "// RETURN VALUES\nerror-message.generate-l3network-network-id\ntmp.return.generate-l3network-network-id.uuid\n\n// LOCAL VARIABLES (erased at beginning & end of DG)\ntmp.local-variables.generate-l3network-network-id.*\ntmp.return.generate-l3network-network-id.*\n",
355 "x": 720.138916015625,
356 "y": 130.24999809265137,
357 "z": "ed9b1fd8.6f0a7",
361 "id": "2d49b311.80b8cc",
363 "name": "unset: local-variables & return",
364 "xml": "<set>\n\t<parameter name=\"tmp.local-variables.generate-l3network-network-id.\" value=\"\" />",
366 "x": 494.6388931274414,
367 "y": 587.7500009536743,
368 "z": "ed9b1fd8.6f0a7",
372 "id": "979528d.92883d8",
374 "name": "CLEANUP LOCAL VARIABLES",
377 "x": 536.1388854980469,
378 "y": 545.2500057220459,
379 "z": "ed9b1fd8.6f0a7",
383 "id": "a2e8b62.4d66748",
386 "xml": "<outcome value=\"Other\">",
389 "x": 801.6388931274414,
390 "y": 607.7500009536743,
391 "z": "ed9b1fd8.6f0a7",