3 "id": "224ab88a.0adf58",
5 "name": "set: order-status = Active",
6 "xml": "<set>\n\t<parameter name=\"vnf-instance-service-data.oper-status.order-status\" value=\"Active\"/>",
9 "x": 423.33331298828125,
10 "y": 374.3888626098633,
11 "z": "76e70bd1.ad60c4",
17 "id": "ab9eb400.713038",
19 "name": "block : atomic",
20 "xml": "<block atomic=\"true\">",
23 "x": 170.33330535888672,
24 "y": 141.88887786865234,
25 "z": "76e70bd1.ad60c4",
40 "id": "e7f31ebf.f0df3",
42 "name": "method vnf-instance-topology-activate",
43 "xml": "<method rpc='vnf-instance-topology-activate' mode='sync'>\n",
46 "x": 212.99999237060547,
47 "y": 86.0555419921875,
48 "z": "76e70bd1.ad60c4",
56 "id": "ef96001e.3e2e5",
57 "type": "service-logic",
58 "name": "VNF-API ${project.version}",
60 "version": "${project.version}",
62 "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}'>",
64 "x": 304.99996185302734,
65 "y": 39.05554962158203,
66 "z": "76e70bd1.ad60c4",
74 "id": "5b8d2293.3efc3c",
78 "x": 139.83330535888672,
79 "y": 38.888877868652344,
80 "z": "76e70bd1.ad60c4",
88 "id": "c8ee6ab7.bac638",
90 "name": "switch: order-status = PendingCreate",
91 "xml": "<switch test=\"`$vnf-instance-service-data.oper-status.order-status == PendingCreate`\">",
94 "x": 462.66668701171875,
95 "y": 270.72208404541016,
96 "z": "76e70bd1.ad60c4",
104 "id": "2f2bb679.ddde5a",
107 "xml": "<outcome value='false'>",
110 "x": 712.0000381469727,
111 "y": 271.05539321899414,
112 "z": "76e70bd1.ad60c4",
120 "id": "9112f66c.accf18",
121 "type": "returnFailure",
122 "name": "return failure",
123 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='Invalid order-status'/>",
125 "x": 1370.3331604003906,
126 "y": 270.0554447174072,
127 "z": "76e70bd1.ad60c4",
131 "id": "f798ae57.6d47d",
132 "type": "switchNode",
133 "name": "switch:vnf-instance-id config == input",
134 "xml": "<switch test=\"`$vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-instance-id == $vnf-instance-service-data.vnf-instance-id`\">",
137 "x": 456.1060485839844,
138 "y": 218.93431854248047,
139 "z": "76e70bd1.ad60c4",
147 "id": "d6b1f417.d762b8",
148 "type": "outcomeFalse",
150 "xml": "<outcome value='false'>\n",
153 "x": 684.5605239868164,
154 "y": 219.11613845825195,
155 "z": "76e70bd1.ad60c4",
163 "id": "7f1082ca.4c62bc",
164 "type": "returnFailure",
165 "name": "return failure",
166 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value=\"`'vnf-instance-id = ' + $vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-instance-id + ' not found in SDNC'`\"/>",
168 "x": 837.6514663696289,
169 "y": 219.02524185180664,
170 "z": "76e70bd1.ad60c4",
174 "id": "c0d479cd.b79348",
175 "type": "returnSuccess",
176 "name": "return success",
177 "xml": "<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />",
179 "x": 392.4444274902344,
180 "y": 595.0555191040039,
181 "z": "76e70bd1.ad60c4",
185 "id": "caf23eef.2d6a7",
186 "type": "switchNode",
187 "name": "switch: order-status = PendingUpdate",
188 "xml": "<switch test=\"`$vnf-instance-service-data.oper-status.order-status == PendingUpdate`\">",
191 "x": 962.9242324829102,
192 "y": 270.4798011779785,
193 "z": "76e70bd1.ad60c4",
201 "id": "3d49c074.c55d4",
204 "xml": "<outcome value='false'>",
207 "x": 1205.3786392211914,
208 "y": 270.4797706604004,
209 "z": "76e70bd1.ad60c4",
217 "id": "26b3d7a2.652ae8",
219 "name": "once success is returned, operational-data gets saved",
222 "x": 738.8510208129883,
223 "y": 555.9898414611816,
224 "z": "76e70bd1.ad60c4",
228 "id": "34cb709c.929ed",
230 "name": "set: last-order-status = order-status",
231 "xml": "<set>\n\t<parameter name=\"vnf-instance-service-data.oper-status.last-order-status\" value=\"`$vnf-instance-service-data.oper-status.order-status`\"/>",
234 "x": 456.4469909667969,
235 "y": 323.00257110595703,
236 "z": "76e70bd1.ad60c4",
242 "id": "1c5ee2ad.503e0d",
244 "name": "request-action = VNFActivateRequest, svc-action = activate",
247 "x": 718.9443893432617,
248 "y": 78.22221183776855,
249 "z": "76e70bd1.ad60c4",
253 "id": "b8342ba1.d183f8",
255 "name": "set: service-data = input",
256 "xml": "<set>\n\t<parameter name=\"vnf-instance-service-data.\" value=\"vnf-instance-topology-operation-input.\" />",
259 "x": 420.33331298828125,
260 "y": 509.4444351196289,
261 "z": "76e70bd1.ad60c4",
267 "id": "a8c37c05.42ceb",
269 "name": "set: last-action ",
270 "xml": "<set>\n\t<parameter name=\"vnf-instance-service-data.oper-status.last-action\" value=\"`$vnf-instance-service-data.request-information.request-action`\"/>",
273 "x": 390.33331298828125,
274 "y": 421.4444351196289,
275 "z": "76e70bd1.ad60c4",
281 "id": "9d73784e.83dda8",
284 "xml": "<outcome value='failure'>\n",
287 "x": 778.7460327148438,
288 "y": 464.43293380737305,
289 "z": "76e70bd1.ad60c4",
297 "id": "852e8aa2.d5c6c8",
298 "type": "returnFailure",
299 "name": "return failure",
300 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='500'/>\n\t<parameter name='error-message' value=\"`'An error occurred while updating vnf-instance orchestration-status in AnAI with vnf-instance-id = ' + $vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-instance-id`\"/>",
302 "x": 961.8889617919922,
303 "y": 464.43300437927246,
304 "z": "76e70bd1.ad60c4",
308 "id": "5f34e90c.952258",
310 "name": "Set final indicator to Y",
311 "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
314 "x": 414.65076446533203,
315 "y": 553.1586799621582,
316 "z": "76e70bd1.ad60c4",
322 "id": "716ea0ca.5337a",
324 "name": "update AnAI - vnf-instance.orchestration-status",
325 "xml": "<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $vnf-instance-topology-operation-input.vnf-instance-request-information.vnf-instance-id\" >\n<parameter name=\"orchestration-status\" value=\"active\" />",
328 "x": 491.22217559814453,
329 "y": 464.44443130493164,
330 "z": "76e70bd1.ad60c4",
339 "id": "d85d5574.f399a8",
342 "xml": "<outcome value='not-found'>\n",
345 "x": 785.9721984863281,
346 "y": 507.1944456100464,
347 "z": "76e70bd1.ad60c4",