3 "id": "e7bd9a65.20fdd8",
5 "name": "execute: generateUUID",
6 "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\" >\n\t<parameter name=\"ctx-destination\" value=\"tmp.return.generate-l3network-network-id.uuid\" />",
11 "z": "86afe909.dcb228",
19 "id": "bebe20e6.50ef2",
22 "xml": "<outcome value='failure'>\n",
25 "x": 744.7500076293945,
26 "y": 416.50000381469727,
27 "z": "86afe909.dcb228",
35 "id": "9eddb187.db4bb",
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": 909.7500076293945,
41 "y": 416.7500009536743,
42 "z": "86afe909.dcb228",
46 "id": "31a24297.e15d1e",
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": 674.2500076293945,
53 "y": 507.7500009536743,
54 "z": "86afe909.dcb228",
65 "id": "7ec5dc21.02fc54",
67 "name": "for n: true",
68 "xml": "<for atomic=\"true\" index=\"n\" start=\"0\" end=\"1\" >",
71 "x": 498.25000762939453,
72 "y": 507.7500009536743,
73 "z": "86afe909.dcb228",
81 "id": "fbe58eaa.4092f",
84 "xml": "<outcome value='success'>\n",
87 "x": 878.7500076293945,
88 "y": 507.7500009536743,
89 "z": "86afe909.dcb228",
97 "id": "bf4ce186.fe5b4",
100 "xml": "<outcome value='failure'>\n",
103 "x": 874.7500076293945,
104 "y": 587.7500009536743,
105 "z": "86afe909.dcb228",
113 "id": "45826101.ef494",
116 "xml": "<outcome value='not-found'>\n",
119 "x": 883.7500076293945,
120 "y": 547.7500009536743,
121 "z": "86afe909.dcb228",
129 "id": "d07d9c69.54e1d",
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": 1041.250015258789,
135 "y": 612.7500066757202,
136 "z": "86afe909.dcb228",
140 "id": "cf545076.3189e",
142 "name": "block : atomic",
143 "xml": "<block atomic='true'>",
147 "x": 1036.7500076293945,
148 "y": 507.7500009536743,
149 "z": "86afe909.dcb228",
158 "id": "28421263.2994fe",
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": 1254.2500610351562,
164 "y": 507.7500066757202,
165 "z": "86afe909.dcb228",
169 "id": "c44a7adf.25dce8",
171 "name": "execute: generateUUID",
172 "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\" >\n\t<parameter name=\"ctx-destination\" value=\"tmp.return.generate-l3network-network-id.uuid\" />",
175 "x": 1247.7500076293945,
176 "y": 547.7500009536743,
177 "z": "86afe909.dcb228",
185 "id": "9de63c0c.60c61",
188 "xml": "<outcome value='failure'>\n",
191 "x": 1434.7500076293945,
192 "y": 547.7500009536743,
193 "z": "86afe909.dcb228",
201 "id": "ee927e4f.a8611",
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": 1588.7500076293945,
207 "y": 547.7500009536743,
208 "z": "86afe909.dcb228",
212 "id": "f2604c68.2cc79",
219 "x": 1014.7500076293945,
220 "y": 547.7500009536743,
221 "z": "86afe909.dcb228",
227 "id": "d5946e5a.154dc",
231 "x": 255.25000381469727,
233 "z": "86afe909.dcb228",
241 "id": "4ec5f49c.6b21fc",
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}'>",
251 "z": "86afe909.dcb228",
259 "id": "f579c708.74a9d8",
261 "name": "method generate-l3network-network-id",
262 "xml": "<method rpc=\"generate-l3network-network-id\" mode=\"sync\">",
267 "z": "86afe909.dcb228",
275 "id": "3149511f.d3441e",
277 "name": "GENERIC-RESOURCE-API: GENERATE-L3NETWORK-NETWORK-ID",
280 "x": 806.7500152587891,
281 "y": 110.24999809265137,
282 "z": "86afe909.dcb228",
286 "id": "71096650.ece918",
288 "name": "block : atomic",
289 "xml": "<block atomic=\"true\">",
293 "x": 316.75000762939453,
294 "y": 327.7500009536743,
295 "z": "86afe909.dcb228",
306 "id": "3ab649c5.b819f6",
308 "name": "LOOP UNTIL GENERATED NETWORK-ID ISN'T FOUND IN A&AI",
312 "y": 464.0000047683716,
313 "z": "86afe909.dcb228",
317 "id": "59df6115.cb391",
319 "name": "GENERATE A NETWORK-ID",
323 "y": 374.00000286102295,
324 "z": "86afe909.dcb228",
328 "id": "29c55a03.c43e16",
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": 567.7500076293945,
334 "y": 327.7500009536743,
335 "z": "86afe909.dcb228",
339 "id": "a5a22a52.0df378",
341 "name": "CLEANUP LOCAL VARIABLES TO BE USED",
345 "y": 284.00000190734863,
346 "z": "86afe909.dcb228",
350 "id": "9f21f02f.9e3ca",
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": 793.2500305175781,
356 "y": 150.24999809265137,
357 "z": "86afe909.dcb228",
361 "id": "d535cedb.29a8b",
363 "name": "unset: local-variables & return",
364 "xml": "<set>\n\t<parameter name=\"tmp.local-variables.generate-l3network-network-id.\" value=\"\" />",
366 "x": 567.7500076293945,
367 "y": 607.7500009536743,
368 "z": "86afe909.dcb228",
372 "id": "b578cb06.12eea8",
374 "name": "CLEANUP LOCAL VARIABLES",
378 "y": 565.2500057220459,
379 "z": "86afe909.dcb228",
383 "id": "25b3888f.ec6cf8",
386 "xml": "<outcome value=\"Other\">",
389 "x": 874.7500076293945,
390 "y": 627.7500009536743,
391 "z": "86afe909.dcb228",