4 "type": "returnSuccess",
5 "name": "return success",
6 "xml": "<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />",
8 "x": 425.4320831298828,
9 "y": 578.3055973052979,
10 "z": "730f50c9.364a4",
14 "id": "237e95c1.a3bd4a",
16 "name": "block : atomic",
17 "xml": "<block atomic=\"true\">",
20 "x": 202.4320297241211,
21 "y": 171.8888864517212,
22 "z": "730f50c9.364a4",
37 "id": "989753b1.14334",
39 "name": "set: order-status = Deleted",
40 "xml": "<set>\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"Deleted\"/>",
42 "x": 466.4320831298828,
43 "y": 405.30559730529785,
44 "z": "730f50c9.364a4",
48 "id": "39154674.c0751a",
50 "name": "method vnf-topology-delete",
51 "xml": "<method rpc='vnf-topology-delete' mode='sync'>\n",
54 "x": 234.09871673583984,
55 "y": 121.05555057525635,
56 "z": "730f50c9.364a4",
64 "id": "33be7113.0fa75e",
65 "type": "service-logic",
66 "name": "VNF-API ${project.version}",
68 "version": "${project.version}",
70 "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='VNF-API' version='${project.version}'>",
72 "x": 350.7653503417969,
73 "y": 69.05556106567383,
74 "z": "730f50c9.364a4",
82 "id": "fb046bf4.0e07e8",
86 "x": 140.9320297241211,
87 "y": 68.88888645172119,
88 "z": "730f50c9.364a4",
96 "id": "14ee4185.d94a2e",
99 "xml": "<outcome value='false'>",
102 "x": 1129.356357574463,
103 "y": 253.3510227203369,
104 "z": "730f50c9.364a4",
112 "id": "95ad750b.27f1e8",
113 "type": "returnFailure",
114 "name": "return failure",
115 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='Invalid order-status'/>",
117 "x": 1281.6894874572754,
118 "y": 253.35108375549316,
119 "z": "730f50c9.364a4",
123 "id": "5e0a89d0.58c1a8",
125 "name": "set: last-action ",
126 "xml": "<set>\n\t<parameter name=\"service-data.oper-status.last-action\" value=\"`$service-data.request-information.request-action`\"/>",
128 "x": 427.68968200683594,
129 "y": 448.8511905670166,
130 "z": "730f50c9.364a4",
134 "id": "af6f4fd2.ed4a",
135 "type": "switchNode",
136 "name": "switch:vnf-id config == input",
137 "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-information.vnf-id == $service-data.vnf-id`\">",
140 "x": 471.575927734375,
141 "y": 171.37643146514893,
142 "z": "730f50c9.364a4",
150 "id": "fd98c370.2db85",
151 "type": "outcomeFalse",
153 "xml": "<outcome value='false'>\n",
156 "x": 673.0304870605469,
157 "y": 171.55825901031494,
158 "z": "730f50c9.364a4",
166 "id": "957a2f6d.be384",
167 "type": "returnFailure",
168 "name": "return failure",
169 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='vnf-id not found'/>",
171 "x": 836.6214065551758,
172 "y": 171.71735954284668,
173 "z": "730f50c9.364a4",
177 "id": "edddc577.9baf38",
179 "name": "set: last-order-status = order-status",
180 "xml": "<set>\n\t<parameter name=\"service-data.oper-status.last-order-status\" value=\"`$service-data.oper-status.order-status`\"/>",
182 "x": 492.82603454589844,
183 "y": 364.04314613342285,
184 "z": "730f50c9.364a4",
188 "id": "8e21b6e.34d7548",
190 "name": "Clear vnf topology",
191 "xml": "<set>\n\t<parameter name=\"service-data.\" value=\"\" /> \n",
193 "x": 436.82603454589844,
194 "y": 489.04314613342285,
195 "z": "730f50c9.364a4",
199 "id": "d113d476.f18958",
200 "type": "switchNode",
201 "name": "switch: order-status = Active",
202 "xml": "<switch test=\"`$service-data.oper-status.order-status == Active`\">",
205 "x": 927.5392570495605,
206 "y": 253.65082359313965,
207 "z": "730f50c9.364a4",
215 "id": "d46e73ef.6e8c1",
217 "name": "Set final indicator to Y",
218 "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
220 "x": 448.14640045166016,
221 "y": 534.2460708618164,
222 "z": "730f50c9.364a4",
226 "id": "19c37308.a9d61d",
227 "type": "switchNode",
228 "name": "switch: INPUT aic-cloud-region",
229 "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-information.aic-cloud-region`\">",
232 "x": 480.4320831298828,
233 "y": 253.97222518920898,
234 "z": "730f50c9.364a4",
242 "id": "a7341ebe.65182",
245 "xml": "<outcome value=''>",
247 "x": 712.1820793151855,
248 "y": 301.6150789260864,
249 "z": "730f50c9.364a4",
257 "id": "707c532.d07baac",
258 "type": "switchNode",
259 "name": "switch: INPUT aic-clli",
260 "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-information.aic-clli`\">",
263 "x": 909.1821212768555,
264 "y": 301.72224712371826,
265 "z": "730f50c9.364a4",
274 "id": "2a5a8a8e.704016",
277 "xml": "<outcome value='Other'>\n",
280 "x": 711.6821403503418,
281 "y": 253.72223949432373,
282 "z": "730f50c9.364a4",
290 "id": "e4a6dc7f.9a579",
293 "xml": "<outcome value=''>",
295 "x": 1104.1820678710938,
296 "y": 302.4722204208374,
297 "z": "730f50c9.364a4",
305 "id": "6afa8d4b.3fc5e4",
306 "type": "returnFailure",
307 "name": "return failure",
308 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='Either aic-cloud-region or aic-clli must be present'/>",
310 "x": 1276.6820678710938,
311 "y": 302.9722204208374,
312 "z": "730f50c9.364a4",
316 "id": "75bd2a98.3f43e4",
319 "xml": "<outcome value='Other'>\n",
322 "x": 1105.4320678710938,
323 "y": 344.9722204208374,
324 "z": "730f50c9.364a4",
332 "id": "a2aea115.0a314",
334 "name": "delete generic-vnf-l3-network",
335 "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" \n\tresource=\"generic-vnf-l3-network\" \n\tkey=\"DELETE FROM GENERIC_VNF_L3_NETWORK WHERE vnf_id = $service-data.vnf-id\" \n\tforce=\"true\" >\n\n",
338 "x": 1227.9320983886719,
339 "y": 467.472243309021,
340 "z": "730f50c9.364a4",
348 "id": "6635778e.a76f48",
350 "name": "delete GammaResource: generic-vnf",
351 "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" \n\tresource=\"generic-vnf\" \n\tkey=\"DELETE FROM GENERIC_VNF where vnf_id = $service-data.vnf-id\" \n\tlocal-only=\"true\" \n\tforce=\"true\" >\n\n",
354 "x": 1251.5912628173828,
355 "y": 553.8435049057007,
356 "z": "730f50c9.364a4",
364 "id": "7f88cb67.0cb8a4",
366 "name": "delete generic-vnf-vserver",
367 "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" \n\tresource=\"generic-vnf-vserver\" \n\tkey=\"DELETE FROM GENERIC_VNF_VSERVER where vnf_id = $service-data.vnf-id\" \n\tforce=\"true\" >\n\n",
370 "x": 1219.3412628173828,
371 "y": 508.9267873764038,
372 "z": "730f50c9.364a4",
380 "id": "7a91b73a.5b45a8",
381 "type": "switchNode",
382 "name": "switch: order-status = PendingDelete",
383 "xml": "<switch test=\"'$service-data.oper-status.order-status == PendingDelete'\">\n\n<!--\nleaf order-status {\n\ttype enumeration {\n\t\tenum \"Active\";\n\t\tenum \"PendingAssignment\";\n\t\tenum \"PendingCreate\";\n\t\tenum \"PendingUpdate\";\n\t\tenum \"Deleted\";\n\t}\n}\n-->",
386 "x": 1251.1820831298828,
387 "y": 425.72222805023193,
388 "z": "730f50c9.364a4",
396 "id": "77eb7904.f9f168",
399 "xml": "<outcome value='false'>",
402 "x": 1480.5154571533203,
403 "y": 426.0555410385132,
404 "z": "730f50c9.364a4",
412 "id": "4fba8967.330558",
413 "type": "returnFailure",
414 "name": "return failure",
415 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='Invalid order-status'/>",
417 "x": 1632.8485870361328,
418 "y": 426.05560207366943,
419 "z": "730f50c9.364a4",
423 "id": "ea02cba4.399b88",
430 "x": 997.9320678710938,
431 "y": 425.9722204208374,
432 "z": "730f50c9.364a4",
443 "id": "f95d56cc.7fed28",
446 "xml": "<outcome value='failure'>\n",
449 "x": 1514.1820678710938,
450 "y": 508.4722204208374,
451 "z": "730f50c9.364a4",
459 "id": "640275aa.06b0bc",
461 "name": "set: error-message",
462 "xml": "<set>\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"error-message\" value=\"An error occurred while deleting generic-vnf, generic-vnf-l3-netweork or generic-vnf-vserver from GammaResource\"/>",
464 "x": 1696.6820907592773,
465 "y": 508.47222900390625,
466 "z": "730f50c9.364a4",
470 "id": "7b46fa5d.f08144",
472 "name": "delete AnAI: generic-vnf",
473 "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"generic-vnf\" \n\tkey=\"generic-vnf.vnf-id = $service-data.vnf-id\" \n\tlocal-only=\"false\" \n\tforce=\"true\" >\n\n",
476 "x": 1211.0432662963867,
477 "y": 598.2222328186035,
478 "z": "730f50c9.364a4",
486 "id": "4fdd37a6.2bc6e8",
489 "xml": "<outcome value='failure'>\n",
492 "x": 1403.0228729248047,
493 "y": 598.3509359359741,
494 "z": "730f50c9.364a4",
502 "id": "39c806b9.27c7ca",
503 "type": "returnFailure",
504 "name": "return failure",
505 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='500'/>\n\t<parameter name='error-message' value=\"`'Failed to delete generic-vnf from AnAI with vnf-id = '+ $service-data.vnf-id`\"/>",
507 "x": 1561.1893997192383,
508 "y": 598.4343166351318,
509 "z": "730f50c9.364a4",
513 "id": "532716cb.365f68",
515 "name": "NOT checking order-status intentionally",
518 "x": 1355.4320831298828,
519 "y": 389.9722261428833,
520 "z": "730f50c9.364a4",
524 "id": "5a7a473b.e0aa98",
526 "name": "Removing check for aic-cllu in 1707",
527 "info": "ks220y: Confirmed with Pat Cheung, as MSO won't send aic-clli",
529 "x": 798.7222595214844,
530 "y": 340.0000162124634,
531 "z": "730f50c9.364a4",