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": "ff6e6220.ef272",
25 "name": "Fetch all VMs and VNFCs from AA&I for given VNF_ID",
29 "y": 590.9999923706055,
30 "z": "17bb73d2.dd297c",
34 "id": "66552f09.5bfb9",
36 "name": "Generic_Snapshot_1610",
37 "xml": "<method rpc='VNF_Snapshot' mode='sync'>\n",
40 "x": 233.25001525878906,
42 "z": "17bb73d2.dd297c",
50 "id": "1ee152f2.68166d",
51 "type": "service-logic",
52 "name": "APPC-API 2.0.0.0",
56 "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'>",
58 "x": 233.25001525878906,
60 "z": "17bb73d2.dd297c",
68 "id": "bc49eb6a.380068",
72 "x": 199.25001525878906,
74 "z": "17bb73d2.dd297c",
82 "id": "af0a8fe0.da1b7",
84 "name": "execute_getVNF_Hierarchy",
85 "xml": "<execute plugin='org.openecomp.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />",
88 "x": 233.25001525878906,
90 "z": "17bb73d2.dd297c",
100 "id": "12d4d1c5.960c3e",
103 "xml": "<outcome value='success'>\n",
106 "x": 470.25001525878906,
108 "z": "17bb73d2.dd297c",
116 "id": "d5a8df0e.172fc",
118 "name": "block : atomic",
119 "xml": "<block atomic='true'>\n",
123 "x": 931.2500762939453,
124 "y": 794.0000610351562,
125 "z": "17bb73d2.dd297c",
133 "id": "7e33d3b6.7154dc",
136 "xml": "<outcome value='failure'>\n",
139 "x": 763.2500152587891,
141 "z": "17bb73d2.dd297c",
149 "id": "5928eca4.e76c24",
150 "type": "returnFailure",
151 "name": "return failure",
152 "xml": "<return status='failure'>\n",
154 "x": 1259.2500228881836,
155 "y": 428.99999618530273,
156 "z": "17bb73d2.dd297c",
160 "id": "b017daad.296d58",
161 "type": "switchNode",
163 "xml": "<switch test='`$VNF.VMCount`'>\n",
166 "x": 718.2500457763672,
168 "z": "17bb73d2.dd297c",
177 "id": "74042ec0.4106",
180 "xml": "<outcome value='0'>\n",
183 "x": 796.2500152587891,
185 "z": "17bb73d2.dd297c",
193 "id": "ae5fd24a.9b418",
196 "xml": "<outcome value='Other'>\n",
199 "x": 780.2500152587891,
201 "z": "17bb73d2.dd297c",
209 "id": "39db95fa.9b98fa",
210 "type": "switchNode",
212 "xml": "<switch test='`$getVnfHierarchy_result`'>\n",
215 "x": 607.2500762939453,
217 "z": "17bb73d2.dd297c",
226 "id": "dc55fcb7.a5b3c",
229 "xml": "<outcome value='SUCCESS'>\n",
232 "x": 572.2500152587891,
234 "z": "17bb73d2.dd297c",
242 "id": "d75a8b25.9fe778",
245 "xml": "<outcome value='FAILURE'>\n",
248 "x": 775.2500152587891,
250 "z": "17bb73d2.dd297c",
258 "id": "36ef2784.6cc318",
259 "type": "returnFailure",
260 "name": "return failure",
261 "xml": "<return status='failure'>\n",
263 "x": 1163.2500457763672,
265 "z": "17bb73d2.dd297c",
269 "id": "b1613d32.71d45",
271 "name": "block : atomic",
272 "xml": "<block atomic='true'>",
276 "x": 972.2500610351562,
277 "y": 377.00000381469727,
278 "z": "17bb73d2.dd297c",
288 "id": "e2eaef09.070be",
290 "name": "execute_SendUEBEvent",
291 "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",
294 "x": 1229.250015258789,
296 "z": "17bb73d2.dd297c",
302 "id": "eb4eeb9.a81d318",
304 "name": "block : atomic",
305 "xml": "<block atomic='true'>",
309 "x": 917.2500152587891,
311 "z": "17bb73d2.dd297c",
321 "id": "bf7f84ce.5a7938",
323 "name": "execute_SendUEBEvent",
324 "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",
327 "x": 1233.250015258789,
328 "y": 477.00002002716064,
329 "z": "17bb73d2.dd297c",
335 "id": "3b9af4e2.33c62c",
337 "name": "execute_SnapshotStack",
338 "xml": "<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='snapshotStack' >\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`\"/>",
341 "x": 1150.250015258789,
343 "z": "17bb73d2.dd297c",
353 "id": "2b3d7e9b.51bbe2",
356 "xml": "<outcome value='success'>\n",
359 "x": 1311.250015258789,
361 "z": "17bb73d2.dd297c",
369 "id": "88b7c652.0ec9d8",
372 "xml": "<outcome value='failure'>\n",
375 "x": 1293.250015258789,
377 "z": "17bb73d2.dd297c",
385 "id": "f66b9736.cfaab8",
387 "name": "block : atomic",
388 "xml": "<block atomic='true'>",
392 "x": 1542.6786041259766,
393 "y": 794.142822265625,
394 "z": "17bb73d2.dd297c",
404 "id": "8a2adc3b.adcda",
406 "name": "execute_SendUEBEvent",
407 "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 snapshot of Stack '+$VNF.heat-stack-id`\"/>\n<parameter name='output.status.message' value=\"`'Error occured during snapshot of Stack '+$VNF.heat-stack-id`\"/>\n",
410 "x": 1817.250015258789,
412 "z": "17bb73d2.dd297c",
420 "id": "a58ca5df.f45298",
423 "xml": "<outcome value='success'>\n",
426 "x": 2013.9168434143066,
427 "y": 712.333381652832,
428 "z": "17bb73d2.dd297c",
434 "id": "2497760f.ec3caa",
437 "xml": "<outcome value='Other'>\n",
440 "x": 1349.250015258789,
441 "y": 794.0001220703125,
442 "z": "17bb73d2.dd297c",
450 "id": "90b99458.d8a878",
453 "xml": "<outcome value='Other'>\n",
456 "x": 778.2500152587891,
458 "z": "17bb73d2.dd297c",
466 "id": "32071474.80d0fc",
467 "type": "returnFailure",
468 "name": "return failure",
469 "xml": "<return status='failure'>\n",
471 "x": 1782.2499923706055,
472 "y": 831.0000247955322,
473 "z": "17bb73d2.dd297c",
477 "id": "5e66c189.09a2d",
479 "name": "execute: flatAndAddToContext",
480 "xml": "<execute plugin='org.openecomp.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
483 "x": 188.9166717529297,
484 "y": 395.8888854980469,
485 "z": "17bb73d2.dd297c",
494 "id": "952f9338.7cfd6",
497 "xml": "<outcome value='success'>\n",
500 "x": 233.9167022705078,
501 "y": 459.8888854980469,
502 "z": "17bb73d2.dd297c",
510 "id": "3427840b.e5926c",
513 "xml": "<outcome value='Other'>\n",
516 "x": 444.9167022705078,
517 "y": 336.8888854980469,
518 "z": "17bb73d2.dd297c",
524 "id": "fe324b44.d467d8",
525 "type": "returnSuccess",
526 "name": "return success",
527 "xml": "<return status='success'>",
529 "x": 1715.6786727905273,
530 "y": 991.5715913772583,
531 "z": "17bb73d2.dd297c",
535 "id": "fd0a971.5208268",
537 "name": "Set failure code and message",
538 "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Exception in getting VNF Hierachy\" />\n",
541 "x": 1256.7501907348633,
542 "y": 370.7499990463257,
543 "z": "17bb73d2.dd297c",
549 "id": "bdcf415a.45ed5",
551 "name": "Set failure code and message",
552 "xml": "<set>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"VM Count is 0\"/>\n",
555 "x": 1208.7501220703125,
557 "z": "17bb73d2.dd297c",
563 "id": "eae86873.6b23d8",
565 "name": "Set failure code and message",
566 "xml": "<set>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`'Error occured during snapshot of Stack '+ $VNF.heat-stack-id`\"/>\n",
569 "x": 1797.750144958496,
570 "y": 774.7500247955322,
571 "z": "17bb73d2.dd297c",
577 "id": "832572c6.ef7df",
579 "name": "Set output payload, success code and message",
580 "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value=\"Success\" />\n<parameter name='output.payload' value=\"`'snapshot.id :' + $output.snapshot.id`\"/>\n\n",
583 "x": 1803.7501525878906,
584 "y": 915.7500114440918,
585 "z": "17bb73d2.dd297c",
591 "id": "81c1ec58.459ae",
593 "name": "block : atomic",
594 "xml": "<block atomic='true'>",
598 "x": 1513.7500839233398,
599 "y": 950.750057220459,
600 "z": "17bb73d2.dd297c",