2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
23 "id": "5e8f7716.499198",
26 "xml": "<outcome value='success'>\n",
30 "y": 396.55555629730225,
31 "z": "75a9f4e5.a1649c",
39 "id": "145d561d.5cc62a",
41 "name": "execute_getVNF_Hierarchy",
42 "xml": "<execute plugin='org.openecomp.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />",
46 "y": 396.55555629730225,
47 "z": "75a9f4e5.a1649c",
57 "id": "4b22d8a1.f3d148",
60 "xml": "<switch test='`$getVnfHierarchy_result`'>\n",
63 "x": 692.0000610351562,
64 "y": 396.55555629730225,
65 "z": "75a9f4e5.a1649c",
74 "id": "bb8a0f0f.b2fe4",
77 "xml": "<outcome value='failure'>\n",
81 "y": 235.55555629730225,
82 "z": "75a9f4e5.a1649c",
90 "id": "a25b25dc.c0a438",
93 "xml": "<outcome value='Other'>\n",
97 "y": 155.55555629730225,
98 "z": "75a9f4e5.a1649c",
106 "id": "6d026903.3c9f08",
109 "xml": "<outcome value='success'>\n",
112 "x": 318.66668701171875,
113 "y": 319.4444417953491,
114 "z": "75a9f4e5.a1649c",
122 "id": "25fd98ba.13e158",
125 "xml": "<outcome value='SUCCESS'>\n",
129 "y": 563.5555562973022,
130 "z": "75a9f4e5.a1649c",
138 "id": "606b452c.8152dc",
141 "xml": "<outcome value='FAILURE'>\n",
145 "y": 325.55555629730225,
146 "z": "75a9f4e5.a1649c",
154 "id": "c13d50ec.a9c2",
156 "name": "block : atomic",
157 "xml": "<block atomic='true'>",
162 "y": 269.55555629730225,
163 "z": "75a9f4e5.a1649c",
173 "id": "f205d4a8.a6d008",
175 "name": "execute: flatAndAddToContext",
176 "xml": "<execute plugin='org.openecomp.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
179 "x": 273.6666564941406,
180 "y": 255.44444179534912,
181 "z": "75a9f4e5.a1649c",
190 "id": "7d6b675f.944888",
191 "type": "switchNode",
193 "xml": "<switch test='`$VNF.VMCount`'>\n",
196 "x": 803.0000305175781,
197 "y": 563.5555562973022,
198 "z": "75a9f4e5.a1649c",
207 "id": "6b85300.44ae5d",
208 "type": "returnFailure",
209 "name": "return failure",
210 "xml": "<return status='failure'>\n",
213 "y": 205.55555725097656,
214 "z": "75a9f4e5.a1649c",
218 "id": "b50265a4.9ec658",
220 "name": "execute_SendUEBEvent",
221 "xml": "<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.openecomp.appc.dg.error\" value=\"Exception in getting VNF Hierachy\"/>\n<parameter name='output.status.message' value=\"Exception in getting VNF Hierachy\"/>\n",
225 "y": 91.55555725097656,
226 "z": "75a9f4e5.a1649c",
232 "id": "d9efdcd7.d999",
235 "xml": "<outcome value='Other'>\n",
238 "x": 529.6666870117188,
239 "y": 196.44444179534912,
240 "z": "75a9f4e5.a1649c",
246 "id": "b3dc1924.975c18",
249 "xml": "<outcome value='0'>\n",
253 "y": 481.55555629730225,
254 "z": "75a9f4e5.a1649c",
262 "id": "61b52cec.5b91d4",
265 "xml": "<outcome value='Other'>\n",
269 "y": 652.5555562973022,
270 "z": "75a9f4e5.a1649c",
278 "id": "7edbf7e6.e29b28",
280 "name": "block : atomic",
281 "xml": "<block atomic='true'>",
286 "y": 405.55555629730225,
287 "z": "75a9f4e5.a1649c",
297 "id": "1afd140e.b8e10c",
299 "name": "block : atomic",
300 "xml": "<block atomic='true'>\n",
304 "x": 1016.0000610351562,
305 "y": 653.5556173324585,
306 "z": "75a9f4e5.a1649c",
314 "id": "ce24c821.4cd8e8",
315 "type": "returnFailure",
316 "name": "return failure",
317 "xml": "<return status='failure'>\n",
320 "y": 496.5555419921875,
321 "z": "75a9f4e5.a1649c",
325 "id": "c6500acc.d09d98",
327 "name": "execute_SendUEBEvent",
328 "xml": "<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.openecomp.appc.dg.error\" value=\"VM Count is 0\"/>\n<parameter name='output.status.message' value=\"VM Count is 0\"/>\n\n",
332 "y": 347.55555629730225,
333 "z": "75a9f4e5.a1649c",
339 "id": "e690e466.a45438",
341 "name": "execute_RollbackStack",
342 "xml": "<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='restoreStack' >\n <parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\"/>\n <parameter name=\"org.openecomp.appc.instance.url\" value=\"`$VNF.VM[0].URL`\" />\n <parameter name=\"org.openecomp.appc.identity.url\" value=\"`$input.identity-url`\" />\n <parameter name=\"org.openecomp.appc.stack.id\" value =\"`$VNF.heat-stack-id`\" />\n <parameter name=\"org.openecomp.appc.snapshot.id\" value=\"`$input.snapshot-id`\" />",
346 "y": 653.5555562973022,
347 "z": "75a9f4e5.a1649c",
357 "id": "755e1d66.83efb4",
360 "xml": "<outcome value='success'>\n",
364 "y": 751.5555419921875,
365 "z": "75a9f4e5.a1649c",
373 "id": "99ec0c41.3c7b8",
376 "xml": "<outcome value='failure'>\n",
380 "y": 560.5555562973022,
381 "z": "75a9f4e5.a1649c",
389 "id": "e20a4882.f1ee38",
392 "xml": "<outcome value='Other'>\n",
396 "y": 653.5556783676147,
397 "z": "75a9f4e5.a1649c",
405 "id": "290b41b8.e128ee",
406 "type": "returnSuccess",
407 "name": "return success",
408 "xml": "<return status='success'>",
410 "x": 1813.4285888671875,
412 "z": "75a9f4e5.a1649c",
416 "id": "4ef40628.63bd68",
418 "name": "block : atomic",
419 "xml": "<block atomic='true'>",
423 "x": 1627.4285888671875,
424 "y": 653.6983785629272,
425 "z": "75a9f4e5.a1649c",
435 "id": "da2d458c.b135f8",
437 "name": "execute_SendUEBEvent",
438 "xml": "<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"org.openecomp.appc.dg.error\" value=\"`'Error occured during rollback Stack '+$VNF.heat-stack-id + ' to snapshot ' + $snapshot-id`\"/>\n<parameter name='output.status.message' value=\"`'Error occured during rollback Stack '+$VNF.heat-stack-id + ' to snapshot ' + $snapshot-id`\"/>\n",
442 "y": 520.5555419921875,
443 "z": "75a9f4e5.a1649c",
451 "id": "57c76a69.3aba64",
452 "type": "returnFailure",
453 "name": "return failure",
454 "xml": "<return status='failure'>\n",
457 "y": 648.5555419921875,
458 "z": "75a9f4e5.a1649c",
462 "id": "4571b850.f77f68",
465 "xml": "<outcome value='success'>\n",
468 "x": 2111.666748046875,
469 "y": 494.888916015625,
470 "z": "75a9f4e5.a1649c",
476 "id": "7068b4fa.7f618c",
480 "x": 111.66665649414062,
482 "z": "75a9f4e5.a1649c",
490 "id": "3f3fa052.71537",
491 "type": "service-logic",
492 "name": "APPC-API 2.0.0.0",
493 "module": "APPC-API",
494 "version": "2.0.0.0",
496 "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='APPC-API' version='2.0.0.0'>",
498 "x": 145.66665649414062,
500 "z": "75a9f4e5.a1649c",
508 "id": "90f1096d.987a68",
510 "name": "VNF_Rollback",
511 "xml": "<method rpc='VNF_Rollback' mode='sync'>\n",
514 "x": 145.66665649414062,
516 "z": "75a9f4e5.a1649c",
524 "id": "ff92154a.222ad8",
526 "name": "Set failure code and message",
527 "xml": "<set>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"Exception in getting VNF Hierachy\"/>\n",
532 "z": "75a9f4e5.a1649c",
538 "id": "f9c012e3.68717",
540 "name": "Set failure code and message",
541 "xml": "<set>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"VM Count is 0\"/>\n",
546 "z": "75a9f4e5.a1649c",
552 "id": "c1763a92.eaaf28",
554 "name": "Set failure code and message",
555 "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`'Error occured during rollback Stack '+$VNF.heat-stack-id + ' to snapshot ' + $snapshot-id`\"/>\n",
560 "z": "75a9f4e5.a1649c",
566 "id": "2d2f9438.4676ec",
568 "name": "block : atomic",
569 "xml": "<block atomic='true'>",
575 "z": "75a9f4e5.a1649c",
584 "id": "b75c6c94.830d4",
586 "name": "Set success code and message",
587 "xml": "<set>\n<parameter name='error-code' value='400'/>\n<parameter name='error-message' value=\"Success\"/>\n",
592 "z": "75a9f4e5.a1649c",