3 "id": "793c9be.5fc6b64",
5 "name": "block : atomic",
6 "xml": "<block atomic=\"true\">",
9 "x": 268.7654113769531,
10 "y": 201.6666717529297,
11 "z": "3dd6ebc6.a724f4",
26 "id": "4d73e6f.4df7218",
28 "name": "method vnf-topology-changedelete",
29 "xml": "<method rpc='vnf-topology-changedelete' mode='sync'>\n",
32 "x": 329.4320983886719,
33 "y": 127.83333683013916,
34 "z": "3dd6ebc6.a724f4",
42 "id": "7a4e0a99.334ed4",
44 "name": "switch: order-status = Active",
45 "xml": "<switch test=\"'$service-data.oper-status.order-status == Active'\">\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-->",
48 "x": 564.0987243652344,
49 "y": 259.9998321533203,
50 "z": "3dd6ebc6.a724f4",
58 "id": "20352e7f.4c6aa2",
59 "type": "service-logic",
60 "name": "VNF-API ${project.version}",
62 "version": "${project.version}",
64 "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='VNF-API' version='${project.version}'>",
66 "x": 399.43206787109375,
67 "y": 81.83334445953369,
68 "z": "3dd6ebc6.a724f4",
76 "id": "ce1b152f.c5c3d8",
79 "xml": "<outcome value='false'>",
82 "x": 784.4320983886719,
83 "y": 260.33314514160156,
84 "z": "3dd6ebc6.a724f4",
92 "id": "6ebec187.42b24",
96 "x": 236.26541137695312,
98 "z": "3dd6ebc6.a724f4",
106 "id": "ba2b0430.95ba08",
107 "type": "returnFailure",
108 "name": "return failure",
109 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='Invalid last-order-status'/>",
111 "x": 943.7652282714844,
112 "y": 260.33319091796875,
113 "z": "3dd6ebc6.a724f4",
117 "id": "e4ca79b3.d28a88",
119 "name": "set: order-status = PendingDelete",
120 "xml": "<set>\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"PendingDelete\"/>",
122 "x": 579.265380859375,
123 "y": 421.66664123535156,
124 "z": "3dd6ebc6.a724f4",
130 "id": "1cd82265.55c3be",
131 "type": "returnSuccess",
132 "name": "return success",
133 "xml": "<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />\n",
135 "x": 525.2654113769531,
136 "y": 588.6666412353516,
137 "z": "3dd6ebc6.a724f4",
141 "id": "edf99f91.a8ecc",
143 "name": "Update VNF status to PendingDelete",
146 "x": 1137.5987854003906,
147 "y": 72.55556964874268,
148 "z": "3dd6ebc6.a724f4",
152 "id": "b076f9c8.0ae248",
154 "name": "VNF-TOPOLOGY-CHANGEDELETE",
157 "x": 833.1543121337891,
158 "y": 72.22222900390625,
159 "z": "3dd6ebc6.a724f4",
163 "id": "2780acb6.663784",
165 "name": "request-action = DisconnectVNFRequest, svc-action = changedelete",
168 "x": 966.0431518554688,
169 "y": 108.3333387374878,
170 "z": "3dd6ebc6.a724f4",
174 "id": "d825c0c4.1d4a1",
176 "name": "set: last-action ",
177 "xml": "<set>\n\t<parameter name=\"service-data.oper-status.last-action\" value=\"`$service-data.request-information.request-action`\"/>",
179 "x": 522.2654113769531,
180 "y": 475.66664123535156,
181 "z": "3dd6ebc6.a724f4",
187 "id": "3ae9090d.f22816",
188 "type": "switchNode",
189 "name": "switch:vnf-id config == input",
190 "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-information.vnf-id == $service-data.vnf-id`\">",
193 "x": 561.4018096923828,
194 "y": 202.8586196899414,
195 "z": "3dd6ebc6.a724f4",
203 "id": "34619221.3001ae",
204 "type": "outcomeFalse",
206 "xml": "<outcome value='false'>\n",
209 "x": 783.8563232421875,
210 "y": 203.04042434692383,
211 "z": "3dd6ebc6.a724f4",
219 "id": "eb0b61e2.b88",
220 "type": "returnFailure",
221 "name": "return failure",
222 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='vnf-id not found'/>",
224 "x": 941.9472274780273,
225 "y": 202.94952201843262,
226 "z": "3dd6ebc6.a724f4",
230 "id": "dec0e9d5.73e028",
232 "name": "set: last-order-status = order-status",
233 "xml": "<set>\n\t<parameter name=\"service-data.oper-status.last-order-status\" value=\"`$service-data.oper-status.order-status`\"/>",
235 "x": 584.4017639160156,
236 "y": 370.8585968017578,
237 "z": "3dd6ebc6.a724f4",
243 "id": "407cc4f8.57aaec",
245 "name": "set: service-data = input",
246 "xml": "<set>\n\t<parameter name=\"service-data.\" value=\"vnf-topology-operation-input.\" /> \n",
248 "x": 553.4017639160156,
249 "y": 529.8585357666016,
250 "z": "3dd6ebc6.a724f4",
256 "id": "af3c9c59.5186d",
258 "name": "update generic-vnf status to pending-delete",
259 "xml": "<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $vnf-topology-operation-input.vnf-request-information.generic-vnf-id\" \n\tforce=\"true\" \n\tlocal-only=\"false\" >\n\t<parameter name=\"orchestration-status\" value=\"pending-delete\" />\n",
262 "x": 611.7352142333984,
263 "y": 315.85854721069336,
264 "z": "3dd6ebc6.a724f4",