3 "id": "7a758f5d.36f2a",
4 "type": "service-logic",
9 "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='APPC' version='2.0.0'>",
13 "z": "d1a301d8.219aa8",
21 "id": "9c06c4b3.52782",
27 "z": "d1a301d8.219aa8",
35 "id": "3c6a4d55.f97af2",
38 "xml": "<switch test='`$org.openecomp.appc.action`'>\n",
39 "comments": "What method should we try to call. Closely maps to __action__Server()",
43 "z": "d1a301d8.219aa8",
57 "id": "2c19128d.9d02d6",
60 "xml": "<outcome value='restart'>\n",
65 "z": "d1a301d8.219aa8",
73 "id": "8be03d03.7d96b",
76 "xml": "<outcome value='rebuild'>\n",
81 "z": "d1a301d8.219aa8",
89 "id": "56bd2e0d.61dd88",
90 "type": "returnFailure",
91 "name": "Unknown Action",
92 "xml": "<return status='failure'>\n<parameter name='error-code' value='404' />\n<parameter name='error-message' value='Unknown action specified' />\n",
96 "z": "d1a301d8.219aa8",
100 "id": "a9607cbc.3e9d9",
102 "name": "restartServer()",
103 "xml": "<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='restartServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$org.openecomp.appc.vmid`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$org.openecomp.appc.identity.url`\" />",
108 "z": "d1a301d8.219aa8",
117 "id": "50d932ab.8cca84",
120 "xml": "<outcome value='success'>\n",
125 "z": "d1a301d8.219aa8",
133 "id": "517fd692.1c6f3",
134 "type": "returnSuccess",
135 "name": "return success",
136 "xml": "<return status='success'>\n",
140 "z": "d1a301d8.219aa8",
144 "id": "cb7f2c34.1b0738",
145 "type": "returnFailure",
146 "name": "return failure",
147 "xml": "<return status='failure'>\n<!--\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='failed' />\n-->",
151 "z": "d1a301d8.219aa8",
155 "id": "aa907476.8ca3a8",
157 "name": "rebuildServer()",
158 "xml": "<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='rebuildServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$org.openecomp.appc.vmid`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$org.openecomp.appc.identity.url`\" />",
163 "z": "d1a301d8.219aa8",
172 "id": "342e7005.3e2bd8",
175 "xml": "<outcome value='success'>\n",
180 "z": "d1a301d8.219aa8",
188 "id": "1a700941.9439d7",
191 "xml": "<method rpc='topology-operation-all' mode='sync'>\n",
196 "z": "d1a301d8.219aa8",
204 "id": "dd9e6d46.07b738",
207 "xml": "<outcome value='migrate'>\n",
212 "z": "d1a301d8.219aa8",
220 "id": "3355fed0.38abf2",
222 "name": "migrateServer()",
223 "xml": "<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='migrateServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$org.openecomp.appc.vmid`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$org.openecomp.appc.identity.url`\" />",
228 "z": "d1a301d8.219aa8",
237 "id": "af8c164c.f9e408",
240 "xml": "<outcome value='success'>\n",
245 "z": "d1a301d8.219aa8",
253 "id": "f2b9661b.faf0c8",
256 "xml": "<outcome value='Other'>\n",
261 "z": "d1a301d8.219aa8",
269 "id": "7f14a01.4ac3e6",
272 "xml": "<outcome value='Other'>\n",
277 "z": "d1a301d8.219aa8",
285 "id": "c09eb09e.d88578",
288 "xml": "<outcome value='Other'>\n",
293 "z": "d1a301d8.219aa8",
301 "id": "ac9fdda8.635c5",
304 "xml": "<outcome value='success'>\n",
309 "z": "d1a301d8.219aa8",
317 "id": "e4197510.21f14",
319 "name": "evacuateServer()",
320 "xml": "<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='evacuateServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$org.openecomp.appc.vmid`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$org.openecomp.appc.identity.url`\" />",
325 "z": "d1a301d8.219aa8",
334 "id": "6fb02e14.175a68",
337 "xml": "<outcome value='evacuate'>\n",
342 "z": "d1a301d8.219aa8",
350 "id": "ebcec5e2.930378",
353 "xml": "<outcome value='failure'>\n",
358 "z": "d1a301d8.219aa8",
366 "id": "5cd5b3a.00a834c",
367 "type": "returnFailure",
368 "name": "Not Yet Implemented",
369 "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='This action is not yet implemented' />\n",
373 "z": "d1a301d8.219aa8",
377 "id": "b08d9f4.1b17fe",
380 "xml": "<outcome value='snapshot'>\n",
385 "z": "d1a301d8.219aa8",
393 "id": "71679082.b68048",
395 "name": "createSnapshot()",
396 "xml": "<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='createSnapshot'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$org.openecomp.appc.vmid`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$org.openecomp.appc.identity.url`\" />",
401 "z": "d1a301d8.219aa8",
410 "id": "ddb50ec9.42b61",
413 "xml": "<outcome value='success'>\n",
418 "z": "d1a301d8.219aa8",
426 "id": "e37701d0.ff4a",
429 "xml": "<outcome value='Other'>\n",
434 "z": "d1a301d8.219aa8",
442 "id": "e3b1885c.6ba198",
445 "xml": "<outcome value='success'>\n",
450 "z": "d1a301d8.219aa8",
458 "id": "80007c3f.79526",
459 "type": "returnSuccess",
460 "name": "return success",
461 "xml": "<return status='success'>\n",
465 "z": "d1a301d8.219aa8",
469 "id": "4e5fecf4.18b5d4",
470 "type": "returnFailure",
471 "name": "return failure",
472 "xml": "<return status='failure'>\n<!--\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='failed' />\n-->",
476 "z": "d1a301d8.219aa8",
480 "id": "ac36b284.3e1bd8",
483 "xml": "<outcome value='success'>\n",
488 "z": "d1a301d8.219aa8",
496 "id": "36c70977.075d06",
499 "xml": "<outcome value='migrate'>\n",
504 "z": "d1a301d8.219aa8",
512 "id": "6c21a87b.083fa8",
514 "name": "migrateServer()",
515 "xml": "<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='migrateServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$org.openecomp.appc.vmid`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$org.openecomp.appc.identity.url`\" />",
520 "z": "d1a301d8.219aa8",
529 "id": "c6e55d06.34f05",
532 "xml": "<outcome value='success'>\n",
537 "z": "d1a301d8.219aa8",
545 "id": "8067dd14.127b68",
548 "xml": "<outcome value='Other'>\n",
553 "z": "d1a301d8.219aa8",
561 "id": "5a72cf37.b27dc8",
564 "xml": "<outcome value='Other'>\n",
569 "z": "d1a301d8.219aa8",
577 "id": "f06b20cc.093cf",
580 "xml": "<outcome value='Other'>\n",
585 "z": "d1a301d8.219aa8",
593 "id": "aa701723.a923d8",
596 "xml": "<outcome value='success'>\n",
601 "z": "d1a301d8.219aa8",
609 "id": "23a53072.a495a8",
611 "name": "evacuateServer()",
612 "xml": "<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='evacuateServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$org.openecomp.appc.vmid`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$org.openecomp.appc.identity.url`\" />",
617 "z": "d1a301d8.219aa8",
626 "id": "fc6990e.a41c27",
629 "xml": "<outcome value='evacuate'>\n",
634 "z": "d1a301d8.219aa8",
642 "id": "ad4e7fd7.18b06",
645 "xml": "<outcome value='failure'>\n",
650 "z": "d1a301d8.219aa8",
658 "id": "2423b8c0.937798",
659 "type": "returnFailure",
660 "name": "Not Yet Implemented",
661 "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='This action is not yet implemented' />\n",
665 "z": "d1a301d8.219aa8",
669 "id": "291bda8a.1c712e",
672 "xml": "<outcome value='Other'>\n",
673 "comments": "Unknown action provided. Fail",
677 "z": "d1a301d8.219aa8",
685 "id": "2166e9a9.37316e",
687 "name": "modifyConfig",
688 "xml": "<outcome value='modifyConfig'>\n",
691 "x": 97.60003662109375,
692 "y": 827.9198608398438,
693 "z": "d1a301d8.219aa8",
701 "id": "9585b4b9.8a925",
704 "xml": "<execute plugin='org.openecomp.appc.adapter.rest.RestAdapter' method='commonPut' >\n<parameter name='org.openecomp.appc.instance.URI' value='`$org.openecomp.appc.configURL`'/>\n<parameter name='org.openecomp.appc.instance.requestBody' value='`$org.openecomp.appc.configJson`'/>\n<parameter name='org.openecomp.appc.instance.headers' value='{\"Content-type\":\"application/json\"}'/>\n<parameter name='org.openecomp.appc.instance.haveHeader' value='true'/>",
707 "x": 464.8887939453125,
708 "y": 954.1331787109375,
709 "z": "d1a301d8.219aa8",
718 "id": "77aa00df.6d5f3",
721 "xml": "<outcome value='success'>\n",
724 "x": 672.0000305175781,
725 "y": 859.1199798583984,
726 "z": "d1a301d8.219aa8",
734 "id": "31d65a7b.2f1536",
737 "xml": "<outcome value='Other'>\n",
740 "x": 672.7111511230469,
741 "y": 899.5866088867188,
742 "z": "d1a301d8.219aa8",
750 "id": "c5f8933.239dff",
753 "xml": "<execute plugin='org.openecomp.appc.adapter.rest.RestAdapter' method='commonDelete' >\n<parameter name='org.openecomp.appc.instance.URI' value='`$org.openecomp.appc.configURL`'/>\n<parameter name='org.openecomp.appc.instance.haveHeader' value='false'/>\n",
756 "x": 431.64447021484375,
757 "y": 889.9199829101562,
758 "z": "d1a301d8.219aa8",
764 "id": "2a6a5cbd.5b01ac",
771 "x": 228.066650390625,
772 "y": 888.4888610839844,
773 "z": "d1a301d8.219aa8",