diff options
author | Patrick Brady <pb071s@att.com> | 2017-02-13 23:19:08 -0800 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2017-02-13 23:20:23 -0800 |
commit | c8abfaddbfef6b9484c2156ece6fbb104c557e32 (patch) | |
tree | e69389f24901479ac15bcafcd7178e12b72563df | |
parent | e5f4c804810e2c265c5addda4e4f1e9e031537b6 (diff) |
Update DG attributes based on latest SDN-C changes
Change-Id: I48f314e6fb546e69a65e953c61b6bca83efcf4a6
Signed-off-by: Patrick Brady <pb071s@att.com>
-rw-r--r-- | platform-logic/appc/src/main/json/APPC_method_topology_operation_all_2.0.0.json | 782 | ||||
-rw-r--r-- | platform-logic/appc/src/main/xml/APPC_method_topology_operation_all_2.0.0.xml | 2 |
2 files changed, 782 insertions, 2 deletions
diff --git a/platform-logic/appc/src/main/json/APPC_method_topology_operation_all_2.0.0.json b/platform-logic/appc/src/main/json/APPC_method_topology_operation_all_2.0.0.json index 46844ee..0277b2e 100644 --- a/platform-logic/appc/src/main/json/APPC_method_topology_operation_all_2.0.0.json +++ b/platform-logic/appc/src/main/json/APPC_method_topology_operation_all_2.0.0.json @@ -1 +1,781 @@ -[{"id":"7a758f5d.36f2a","type":"service-logic","name":"APPC 2.0.0","module":"APPC","version":"2.0.0","comments":"","xml":"<service-logic xmlns='http://www.att.com/sdnctl/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.att.com/sdnctl/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>","outputs":1,"x":140,"y":94,"z":"d1a301d8.219aa8","wires":[["1a700941.9439d7"]]},{"id":"9c06c4b3.52782","type":"dgstart","name":"DGSTART","outputs":1,"x":147,"y":44,"z":"d1a301d8.219aa8","wires":[["7a758f5d.36f2a"]]},{"id":"3c6a4d55.f97af2","type":"switchNode","name":"action","xml":"<switch test='`$org.openecomp.appc.action`'>\n","comments":"What method should we try to call. Closely maps to __action__Server()","outputs":1,"x":138,"y":176,"z":"d1a301d8.219aa8","wires":[["2c19128d.9d02d6","8be03d03.7d96b","dd9e6d46.07b738","6fb02e14.175a68","b08d9f4.1b17fe","291bda8a.1c712e","2166e9a9.37316e"]]},{"id":"2c19128d.9d02d6","type":"outcome","name":"restart","xml":"<outcome value='restart'>\n","comments":"","outputs":1,"x":293,"y":191,"z":"d1a301d8.219aa8","wires":[["a9607cbc.3e9d9"]]},{"id":"8be03d03.7d96b","type":"outcome","name":"rebuild","xml":"<outcome value='rebuild'>\n","comments":"","outputs":1,"x":304.25,"y":317,"z":"d1a301d8.219aa8","wires":[["aa907476.8ca3a8"]]},{"id":"56bd2e0d.61dd88","type":"returnFailure","name":"Unknown Action","xml":"<return status='failure'>\n<parameter name='error-code' value='404' />\n<parameter name='error-message' value='Unknown action specified' />\n","comments":"","x":911.75,"y":801,"z":"d1a301d8.219aa8","wires":[]},{"id":"a9607cbc.3e9d9","type":"execute","name":"restartServer()","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`\" />","comments":"","outputs":1,"x":456,"y":193,"z":"d1a301d8.219aa8","wires":[["50d932ab.8cca84","ebcec5e2.930378"]]},{"id":"50d932ab.8cca84","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":605,"y":194,"z":"d1a301d8.219aa8","wires":[["517fd692.1c6f3"]]},{"id":"517fd692.1c6f3","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n","comments":"","x":948,"y":318,"z":"d1a301d8.219aa8","wires":[]},{"id":"cb7f2c34.1b0738","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<!--\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='failed' />\n-->","comments":"","x":946,"y":494,"z":"d1a301d8.219aa8","wires":[]},{"id":"aa907476.8ca3a8","type":"execute","name":"rebuildServer()","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`\" />","comments":"","outputs":1,"x":467,"y":318,"z":"d1a301d8.219aa8","wires":[["342e7005.3e2bd8","7f14a01.4ac3e6"]]},{"id":"342e7005.3e2bd8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":617,"y":317,"z":"d1a301d8.219aa8","wires":[["517fd692.1c6f3"]]},{"id":"1a700941.9439d7","type":"method","name":"method","xml":"<method rpc='topology-operation-all' mode='sync'>\n","comments":"","outputs":1,"x":298,"y":94,"z":"d1a301d8.219aa8","wires":[["3c6a4d55.f97af2"]]},{"id":"dd9e6d46.07b738","type":"outcome","name":"migrate","xml":"<outcome value='migrate'>\n","comments":"","outputs":1,"x":306.75,"y":437,"z":"d1a301d8.219aa8","wires":[["3355fed0.38abf2"]]},{"id":"3355fed0.38abf2","type":"execute","name":"migrateServer()","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`\" />","comments":"","outputs":1,"x":469.75,"y":436,"z":"d1a301d8.219aa8","wires":[["af8c164c.f9e408","f2b9661b.faf0c8"]]},{"id":"af8c164c.f9e408","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":625.25,"y":436,"z":"d1a301d8.219aa8","wires":[["517fd692.1c6f3"]]},{"id":"f2b9661b.faf0c8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":621.25,"y":476,"z":"d1a301d8.219aa8","wires":[["cb7f2c34.1b0738"]]},{"id":"7f14a01.4ac3e6","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":613,"y":355,"z":"d1a301d8.219aa8","wires":[["cb7f2c34.1b0738"]]},{"id":"c09eb09e.d88578","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":620.25,"y":716,"z":"d1a301d8.219aa8","wires":[["5cd5b3a.00a834c"]]},{"id":"ac9fdda8.635c5","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":623.25,"y":680,"z":"d1a301d8.219aa8","wires":[["5cd5b3a.00a834c"]]},{"id":"e4197510.21f14","type":"execute","name":"evacuateServer()","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`\" />","comments":"","outputs":1,"x":467.75,"y":680,"z":"d1a301d8.219aa8","wires":[["c09eb09e.d88578","ac9fdda8.635c5"]]},{"id":"6fb02e14.175a68","type":"outcome","name":"migrate","xml":"<outcome value='evacuate'>\n","comments":"","outputs":1,"x":304.75,"y":681,"z":"d1a301d8.219aa8","wires":[["e4197510.21f14"]]},{"id":"ebcec5e2.930378","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":608.25,"y":240,"z":"d1a301d8.219aa8","wires":[["cb7f2c34.1b0738"]]},{"id":"5cd5b3a.00a834c","type":"returnFailure","name":"Not Yet Implemented","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='This action is not yet implemented' />\n","comments":"","x":923.25,"y":699,"z":"d1a301d8.219aa8","wires":[]},{"id":"b08d9f4.1b17fe","type":"outcome","name":"snapshot","xml":"<outcome value='snapshot'>\n","comments":"","outputs":1,"x":307.25,"y":549,"z":"d1a301d8.219aa8","wires":[["71679082.b68048"]]},{"id":"71679082.b68048","type":"execute","name":"createSnapshot()","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`\" />","comments":"","outputs":1,"x":470.25,"y":548,"z":"d1a301d8.219aa8","wires":[["ddb50ec9.42b61","e37701d0.ff4a"]]},{"id":"ddb50ec9.42b61","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":625.75,"y":548,"z":"d1a301d8.219aa8","wires":[["517fd692.1c6f3"]]},{"id":"e37701d0.ff4a","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":621.75,"y":588,"z":"d1a301d8.219aa8","wires":[["cb7f2c34.1b0738"]]},{"id":"e3b1885c.6ba198","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":987.25,"y":572,"z":"d1a301d8.219aa8","wires":[["80007c3f.79526"]]},{"id":"80007c3f.79526","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n","comments":"","x":1300.25,"y":633,"z":"d1a301d8.219aa8","wires":[]},{"id":"4e5fecf4.18b5d4","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<!--\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='failed' />\n-->","comments":"","x":1310.25,"y":828,"z":"d1a301d8.219aa8","wires":[]},{"id":"ac36b284.3e1bd8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":999.25,"y":695,"z":"d1a301d8.219aa8","wires":[["80007c3f.79526"]]},{"id":"36c70977.075d06","type":"outcome","name":"migrate","xml":"<outcome value='migrate'>\n","comments":"","outputs":1,"x":689,"y":815,"z":"d1a301d8.219aa8","wires":[["6c21a87b.083fa8"]]},{"id":"6c21a87b.083fa8","type":"execute","name":"migrateServer()","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`\" />","comments":"","outputs":1,"x":852,"y":814,"z":"d1a301d8.219aa8","wires":[["c6e55d06.34f05","8067dd14.127b68"]]},{"id":"c6e55d06.34f05","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1007.5,"y":814,"z":"d1a301d8.219aa8","wires":[["80007c3f.79526"]]},{"id":"8067dd14.127b68","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1003.5,"y":854,"z":"d1a301d8.219aa8","wires":[["4e5fecf4.18b5d4"]]},{"id":"5a72cf37.b27dc8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":995.25,"y":733,"z":"d1a301d8.219aa8","wires":[["4e5fecf4.18b5d4"]]},{"id":"f06b20cc.093cf","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1004.5,"y":970,"z":"d1a301d8.219aa8","wires":[["2423b8c0.937798"]]},{"id":"aa701723.a923d8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1007.5,"y":934,"z":"d1a301d8.219aa8","wires":[["2423b8c0.937798"]]},{"id":"23a53072.a495a8","type":"execute","name":"evacuateServer()","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`\" />","comments":"","outputs":1,"x":852,"y":934,"z":"d1a301d8.219aa8","wires":[["aa701723.a923d8","f06b20cc.093cf"]]},{"id":"fc6990e.a41c27","type":"outcome","name":"migrate","xml":"<outcome value='evacuate'>\n","comments":"","outputs":1,"x":689,"y":935,"z":"d1a301d8.219aa8","wires":[["23a53072.a495a8"]]},{"id":"ad4e7fd7.18b06","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":990.5,"y":618,"z":"d1a301d8.219aa8","wires":[["4e5fecf4.18b5d4"]]},{"id":"2423b8c0.937798","type":"returnFailure","name":"Not Yet Implemented","xml":"<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='This action is not yet implemented' />\n","comments":"","x":1307.5,"y":953,"z":"d1a301d8.219aa8","wires":[]},{"id":"291bda8a.1c712e","type":"other","name":"Unknown","xml":"<outcome value='Other'>\n","comments":"Unknown action provided. Fail","outputs":1,"x":310.25,"y":801,"z":"d1a301d8.219aa8","wires":[["56bd2e0d.61dd88"]]},{"id":"2166e9a9.37316e","type":"other","name":"modifyConfig","xml":"<outcome value='modifyConfig'>\n","comments":"","outputs":1,"x":97.60003662109375,"y":827.9198608398438,"z":"d1a301d8.219aa8","wires":[["2a6a5cbd.5b01ac"]]},{"id":"9585b4b9.8a925","type":"execute","name":"put","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'/>","comments":"","outputs":1,"x":464.8887939453125,"y":954.1331787109375,"z":"d1a301d8.219aa8","wires":[["31d65a7b.2f1536","77aa00df.6d5f3"]]},{"id":"77aa00df.6d5f3","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":672.0000305175781,"y":859.1199798583984,"z":"d1a301d8.219aa8","wires":[["517fd692.1c6f3"]]},{"id":"31d65a7b.2f1536","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":672.7111511230469,"y":899.5866088867188,"z":"d1a301d8.219aa8","wires":[["517fd692.1c6f3"]]},{"id":"c5f8933.239dff","type":"execute","name":"delete","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","comments":"","outputs":1,"x":431.64447021484375,"y":889.9199829101562,"z":"d1a301d8.219aa8","wires":[[]]},{"id":"2a6a5cbd.5b01ac","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":228.066650390625,"y":888.4888610839844,"z":"d1a301d8.219aa8","wires":[["c5f8933.239dff","9585b4b9.8a925"]]}]
\ No newline at end of file +[ + { + "id": "7a758f5d.36f2a", + "type": "service-logic", + "name": "APPC 2.0.0", + "module": "APPC", + "version": "2.0.0", + "comments": "", + "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' version='2.0.0'>", + "outputs": 1, + "x": 140, + "y": 94, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "1a700941.9439d7" + ] + ] + }, + { + "id": "9c06c4b3.52782", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 147, + "y": 44, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "7a758f5d.36f2a" + ] + ] + }, + { + "id": "3c6a4d55.f97af2", + "type": "switchNode", + "name": "action", + "xml": "<switch test='`$org.openecomp.appc.action`'>\n", + "comments": "What method should we try to call. Closely maps to __action__Server()", + "outputs": 1, + "x": 138, + "y": 176, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "2c19128d.9d02d6", + "8be03d03.7d96b", + "dd9e6d46.07b738", + "6fb02e14.175a68", + "b08d9f4.1b17fe", + "291bda8a.1c712e", + "2166e9a9.37316e" + ] + ] + }, + { + "id": "2c19128d.9d02d6", + "type": "outcome", + "name": "restart", + "xml": "<outcome value='restart'>\n", + "comments": "", + "outputs": 1, + "x": 293, + "y": 191, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "a9607cbc.3e9d9" + ] + ] + }, + { + "id": "8be03d03.7d96b", + "type": "outcome", + "name": "rebuild", + "xml": "<outcome value='rebuild'>\n", + "comments": "", + "outputs": 1, + "x": 304.25, + "y": 317, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "aa907476.8ca3a8" + ] + ] + }, + { + "id": "56bd2e0d.61dd88", + "type": "returnFailure", + "name": "Unknown Action", + "xml": "<return status='failure'>\n<parameter name='error-code' value='404' />\n<parameter name='error-message' value='Unknown action specified' />\n", + "comments": "", + "x": 911.75, + "y": 801, + "z": "d1a301d8.219aa8", + "wires": [] + }, + { + "id": "a9607cbc.3e9d9", + "type": "execute", + "name": "restartServer()", + "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`\" />", + "comments": "", + "outputs": 1, + "x": 456, + "y": 193, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "50d932ab.8cca84", + "ebcec5e2.930378" + ] + ] + }, + { + "id": "50d932ab.8cca84", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 605, + "y": 194, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "517fd692.1c6f3" + ] + ] + }, + { + "id": "517fd692.1c6f3", + "type": "returnSuccess", + "name": "return success", + "xml": "<return status='success'>\n", + "comments": "", + "x": 948, + "y": 318, + "z": "d1a301d8.219aa8", + "wires": [] + }, + { + "id": "cb7f2c34.1b0738", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<!--\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='failed' />\n-->", + "comments": "", + "x": 946, + "y": 494, + "z": "d1a301d8.219aa8", + "wires": [] + }, + { + "id": "aa907476.8ca3a8", + "type": "execute", + "name": "rebuildServer()", + "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`\" />", + "comments": "", + "outputs": 1, + "x": 467, + "y": 318, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "342e7005.3e2bd8", + "7f14a01.4ac3e6" + ] + ] + }, + { + "id": "342e7005.3e2bd8", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 617, + "y": 317, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "517fd692.1c6f3" + ] + ] + }, + { + "id": "1a700941.9439d7", + "type": "method", + "name": "method", + "xml": "<method rpc='topology-operation-all' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 298, + "y": 94, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "3c6a4d55.f97af2" + ] + ] + }, + { + "id": "dd9e6d46.07b738", + "type": "outcome", + "name": "migrate", + "xml": "<outcome value='migrate'>\n", + "comments": "", + "outputs": 1, + "x": 306.75, + "y": 437, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "3355fed0.38abf2" + ] + ] + }, + { + "id": "3355fed0.38abf2", + "type": "execute", + "name": "migrateServer()", + "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`\" />", + "comments": "", + "outputs": 1, + "x": 469.75, + "y": 436, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "af8c164c.f9e408", + "f2b9661b.faf0c8" + ] + ] + }, + { + "id": "af8c164c.f9e408", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 625.25, + "y": 436, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "517fd692.1c6f3" + ] + ] + }, + { + "id": "f2b9661b.faf0c8", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 621.25, + "y": 476, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "cb7f2c34.1b0738" + ] + ] + }, + { + "id": "7f14a01.4ac3e6", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 613, + "y": 355, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "cb7f2c34.1b0738" + ] + ] + }, + { + "id": "c09eb09e.d88578", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 620.25, + "y": 716, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "5cd5b3a.00a834c" + ] + ] + }, + { + "id": "ac9fdda8.635c5", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 623.25, + "y": 680, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "5cd5b3a.00a834c" + ] + ] + }, + { + "id": "e4197510.21f14", + "type": "execute", + "name": "evacuateServer()", + "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`\" />", + "comments": "", + "outputs": 1, + "x": 467.75, + "y": 680, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "c09eb09e.d88578", + "ac9fdda8.635c5" + ] + ] + }, + { + "id": "6fb02e14.175a68", + "type": "outcome", + "name": "migrate", + "xml": "<outcome value='evacuate'>\n", + "comments": "", + "outputs": 1, + "x": 304.75, + "y": 681, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "e4197510.21f14" + ] + ] + }, + { + "id": "ebcec5e2.930378", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 608.25, + "y": 240, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "cb7f2c34.1b0738" + ] + ] + }, + { + "id": "5cd5b3a.00a834c", + "type": "returnFailure", + "name": "Not Yet Implemented", + "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='This action is not yet implemented' />\n", + "comments": "", + "x": 923.25, + "y": 699, + "z": "d1a301d8.219aa8", + "wires": [] + }, + { + "id": "b08d9f4.1b17fe", + "type": "outcome", + "name": "snapshot", + "xml": "<outcome value='snapshot'>\n", + "comments": "", + "outputs": 1, + "x": 307.25, + "y": 549, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "71679082.b68048" + ] + ] + }, + { + "id": "71679082.b68048", + "type": "execute", + "name": "createSnapshot()", + "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`\" />", + "comments": "", + "outputs": 1, + "x": 470.25, + "y": 548, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "ddb50ec9.42b61", + "e37701d0.ff4a" + ] + ] + }, + { + "id": "ddb50ec9.42b61", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 625.75, + "y": 548, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "517fd692.1c6f3" + ] + ] + }, + { + "id": "e37701d0.ff4a", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 621.75, + "y": 588, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "cb7f2c34.1b0738" + ] + ] + }, + { + "id": "e3b1885c.6ba198", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 987.25, + "y": 572, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "80007c3f.79526" + ] + ] + }, + { + "id": "80007c3f.79526", + "type": "returnSuccess", + "name": "return success", + "xml": "<return status='success'>\n", + "comments": "", + "x": 1300.25, + "y": 633, + "z": "d1a301d8.219aa8", + "wires": [] + }, + { + "id": "4e5fecf4.18b5d4", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<!--\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='failed' />\n-->", + "comments": "", + "x": 1310.25, + "y": 828, + "z": "d1a301d8.219aa8", + "wires": [] + }, + { + "id": "ac36b284.3e1bd8", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 999.25, + "y": 695, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "80007c3f.79526" + ] + ] + }, + { + "id": "36c70977.075d06", + "type": "outcome", + "name": "migrate", + "xml": "<outcome value='migrate'>\n", + "comments": "", + "outputs": 1, + "x": 689, + "y": 815, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "6c21a87b.083fa8" + ] + ] + }, + { + "id": "6c21a87b.083fa8", + "type": "execute", + "name": "migrateServer()", + "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`\" />", + "comments": "", + "outputs": 1, + "x": 852, + "y": 814, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "c6e55d06.34f05", + "8067dd14.127b68" + ] + ] + }, + { + "id": "c6e55d06.34f05", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1007.5, + "y": 814, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "80007c3f.79526" + ] + ] + }, + { + "id": "8067dd14.127b68", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 1003.5, + "y": 854, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "4e5fecf4.18b5d4" + ] + ] + }, + { + "id": "5a72cf37.b27dc8", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 995.25, + "y": 733, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "4e5fecf4.18b5d4" + ] + ] + }, + { + "id": "f06b20cc.093cf", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 1004.5, + "y": 970, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "2423b8c0.937798" + ] + ] + }, + { + "id": "aa701723.a923d8", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1007.5, + "y": 934, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "2423b8c0.937798" + ] + ] + }, + { + "id": "23a53072.a495a8", + "type": "execute", + "name": "evacuateServer()", + "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`\" />", + "comments": "", + "outputs": 1, + "x": 852, + "y": 934, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "aa701723.a923d8", + "f06b20cc.093cf" + ] + ] + }, + { + "id": "fc6990e.a41c27", + "type": "outcome", + "name": "migrate", + "xml": "<outcome value='evacuate'>\n", + "comments": "", + "outputs": 1, + "x": 689, + "y": 935, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "23a53072.a495a8" + ] + ] + }, + { + "id": "ad4e7fd7.18b06", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 990.5, + "y": 618, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "4e5fecf4.18b5d4" + ] + ] + }, + { + "id": "2423b8c0.937798", + "type": "returnFailure", + "name": "Not Yet Implemented", + "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='This action is not yet implemented' />\n", + "comments": "", + "x": 1307.5, + "y": 953, + "z": "d1a301d8.219aa8", + "wires": [] + }, + { + "id": "291bda8a.1c712e", + "type": "other", + "name": "Unknown", + "xml": "<outcome value='Other'>\n", + "comments": "Unknown action provided. Fail", + "outputs": 1, + "x": 310.25, + "y": 801, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "56bd2e0d.61dd88" + ] + ] + }, + { + "id": "2166e9a9.37316e", + "type": "other", + "name": "modifyConfig", + "xml": "<outcome value='modifyConfig'>\n", + "comments": "", + "outputs": 1, + "x": 97.60003662109375, + "y": 827.9198608398438, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "2a6a5cbd.5b01ac" + ] + ] + }, + { + "id": "9585b4b9.8a925", + "type": "execute", + "name": "put", + "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'/>", + "comments": "", + "outputs": 1, + "x": 464.8887939453125, + "y": 954.1331787109375, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "31d65a7b.2f1536", + "77aa00df.6d5f3" + ] + ] + }, + { + "id": "77aa00df.6d5f3", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 672.0000305175781, + "y": 859.1199798583984, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "517fd692.1c6f3" + ] + ] + }, + { + "id": "31d65a7b.2f1536", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 672.7111511230469, + "y": 899.5866088867188, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "517fd692.1c6f3" + ] + ] + }, + { + "id": "c5f8933.239dff", + "type": "execute", + "name": "delete", + "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", + "comments": "", + "outputs": 1, + "x": 431.64447021484375, + "y": 889.9199829101562, + "z": "d1a301d8.219aa8", + "wires": [ + [] + ] + }, + { + "id": "2a6a5cbd.5b01ac", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 228.066650390625, + "y": 888.4888610839844, + "z": "d1a301d8.219aa8", + "wires": [ + [ + "c5f8933.239dff", + "9585b4b9.8a925" + ] + ] + } +]
\ No newline at end of file diff --git a/platform-logic/appc/src/main/xml/APPC_method_topology_operation_all_2.0.0.xml b/platform-logic/appc/src/main/xml/APPC_method_topology_operation_all_2.0.0.xml index fbd10b0..e29c9e4 100644 --- a/platform-logic/appc/src/main/xml/APPC_method_topology_operation_all_2.0.0.xml +++ b/platform-logic/appc/src/main/xml/APPC_method_topology_operation_all_2.0.0.xml @@ -1,4 +1,4 @@ -<service-logic xmlns='http://www.att.com/sdnctl/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.att.com/sdnctl/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'><method rpc='topology-operation-all' mode='sync'> +<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' version='2.0.0'><method rpc='topology-operation-all' mode='sync'> <!--What method should we try to call. Closely maps to __action__Server()--><switch test='`$org.openecomp.appc.action`'> <outcome value='restart'> <execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='restartServer'> |