Modify DGs to match deployment repo 85/46485/3
authorPatrick Brady <pb071s@att.com>
Mon, 7 May 2018 22:11:09 +0000 (15:11 -0700)
committerRanda Maher <rx196w@att.com>
Tue, 8 May 2018 15:23:19 +0000 (15:23 +0000)
DGs are being pulled from main appc repository. A
few changes needed to be moved over from the
deployment repo.

Change-Id: Ia30bd6f7b1cabb9968df1839bba3b66c110c871f
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-887

appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_topology-operation-all_2.0.0.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_GetRunningConfig_2.0.0.json

index 46192a1..969df8a 100644 (file)
@@ -1,6 +1,6 @@
 [\r
     {\r
-        "id": "99bfac0c.66405",\r
+        "id": "7a758f5d.36f2a",\r
         "type": "service-logic",\r
         "name": "APPC 2.0.0",\r
         "module": "APPC",\r
         "comments": "",\r
         "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'>",\r
         "outputs": 1,\r
-        "x": 114.75,\r
-        "y": 78,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 140,\r
+        "y": 94,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "87a31d5f.785ce"\r
+                "1a700941.9439d7"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "5284c172.ad7b4",\r
+        "id": "9c06c4b3.52782",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 121.75,\r
-        "y": 28,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 147,\r
+        "y": 44,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "99bfac0c.66405"\r
+                "7a758f5d.36f2a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b69b6144.4964a",\r
+        "id": "3c6a4d55.f97af2",\r
         "type": "switchNode",\r
         "name": "action",\r
         "xml": "<switch test='`$org.onap.appc.action`'>\n",\r
         "comments": "What method should we try to call. Closely maps to __action__Server()",\r
         "outputs": 1,\r
-        "x": 112.75,\r
-        "y": 160,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 138,\r
+        "y": 176,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "3c76f1b.fc3890e",\r
-                "3bbff8f1.c44008",\r
-                "67723fa.f988dc",\r
-                "82f997d3.7d0668",\r
-                "bb942a8e.446bd8",\r
-                "3d16f80b.b81e98"\r
+                "2c19128d.9d02d6",\r
+                "8be03d03.7d96b",\r
+                "dd9e6d46.07b738",\r
+                "6fb02e14.175a68",\r
+                "b08d9f4.1b17fe",\r
+                "291bda8a.1c712e",\r
+                "2166e9a9.37316e"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3c76f1b.fc3890e",\r
+        "id": "2c19128d.9d02d6",\r
         "type": "outcome",\r
         "name": "restart",\r
         "xml": "<outcome value='restart'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 267.75,\r
-        "y": 175,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 293,\r
+        "y": 191,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "f6ee74ac.091188"\r
+                "a9607cbc.3e9d9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3bbff8f1.c44008",\r
+        "id": "8be03d03.7d96b",\r
         "type": "outcome",\r
         "name": "rebuild",\r
         "xml": "<outcome value='rebuild'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 279,\r
-        "y": 301,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 304.25,\r
+        "y": 317,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "336f5c4b.cc90a4"\r
+                "aa907476.8ca3a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "67723fa.f988dc",\r
-        "type": "other",\r
-        "name": "Unknown",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "Unknown action provided. Fail",\r
-        "outputs": 1,\r
-        "x": 285,\r
-        "y": 785,\r
-        "z": "551b1552.aae4ec",\r
-        "wires": [\r
-            [\r
-                "90b7e545.6f4818"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "90b7e545.6f4818",\r
+        "id": "56bd2e0d.61dd88",\r
         "type": "returnFailure",\r
         "name": "Unknown Action",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='404' />\n<parameter name='error-message' value='Unknown action specified' />\n",\r
         "comments": "",\r
-        "x": 886.5,\r
-        "y": 785,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 911.75,\r
+        "y": 801,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "f6ee74ac.091188",\r
+        "id": "a9607cbc.3e9d9",\r
         "type": "execute",\r
         "name": "restartServer()",\r
         "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='restartServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 430.75,\r
-        "y": 177,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 456,\r
+        "y": 193,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "3e552093.c1aae",\r
-                "df92233b.206de"\r
+                "50d932ab.8cca84",\r
+                "ebcec5e2.930378"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3e552093.c1aae",\r
+        "id": "50d932ab.8cca84",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 579.75,\r
-        "y": 178,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 605,\r
+        "y": 194,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "60e4194b.9f1be8"\r
+                "517fd692.1c6f3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "60e4194b.9f1be8",\r
+        "id": "517fd692.1c6f3",\r
         "type": "returnSuccess",\r
         "name": "return success",\r
         "xml": "<return status='success'>\n",\r
         "comments": "",\r
-        "x": 922.75,\r
-        "y": 302,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 948,\r
+        "y": 318,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "fda90bc9.0256f8",\r
+        "id": "cb7f2c34.1b0738",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<!--\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='failed' />\n-->",\r
         "comments": "",\r
-        "x": 920.75,\r
-        "y": 478,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 946,\r
+        "y": 494,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "336f5c4b.cc90a4",\r
+        "id": "aa907476.8ca3a8",\r
         "type": "execute",\r
         "name": "rebuildServer()",\r
         "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='rebuildServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 441.75,\r
-        "y": 302,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 467,\r
+        "y": 318,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "8981943d.767e68",\r
-                "444dcc7.fbbb234"\r
+                "342e7005.3e2bd8",\r
+                "7f14a01.4ac3e6"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8981943d.767e68",\r
+        "id": "342e7005.3e2bd8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 591.75,\r
-        "y": 301,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 617,\r
+        "y": 317,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "60e4194b.9f1be8"\r
+                "517fd692.1c6f3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "87a31d5f.785ce",\r
+        "id": "1a700941.9439d7",\r
         "type": "method",\r
         "name": "method",\r
         "xml": "<method rpc='topology-operation-all' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 272.75,\r
-        "y": 78,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 298,\r
+        "y": 94,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "b69b6144.4964a"\r
+                "3c6a4d55.f97af2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "82f997d3.7d0668",\r
+        "id": "dd9e6d46.07b738",\r
         "type": "outcome",\r
         "name": "migrate",\r
         "xml": "<outcome value='migrate'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 281.5,\r
-        "y": 421,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 306.75,\r
+        "y": 437,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "ae163e95.51e9c"\r
+                "3355fed0.38abf2"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "ae163e95.51e9c",\r
+        "id": "3355fed0.38abf2",\r
         "type": "execute",\r
         "name": "migrateServer()",\r
         "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='migrateServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 444.5,\r
-        "y": 420,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 469.75,\r
+        "y": 436,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "f18ec542.0e7138",\r
-                "4c64d27c.b39b2c"\r
+                "af8c164c.f9e408",\r
+                "f2b9661b.faf0c8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f18ec542.0e7138",\r
+        "id": "af8c164c.f9e408",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 600,\r
-        "y": 420,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 625.25,\r
+        "y": 436,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "60e4194b.9f1be8"\r
+                "517fd692.1c6f3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4c64d27c.b39b2c",\r
+        "id": "f2b9661b.faf0c8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 596,\r
-        "y": 460,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 621.25,\r
+        "y": 476,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "fda90bc9.0256f8"\r
+                "cb7f2c34.1b0738"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "444dcc7.fbbb234",\r
+        "id": "7f14a01.4ac3e6",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 587.75,\r
-        "y": 339,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 613,\r
+        "y": 355,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "fda90bc9.0256f8"\r
+                "cb7f2c34.1b0738"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "84b5bf3d.7b4a4",\r
+        "id": "c09eb09e.d88578",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 595,\r
-        "y": 700,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 620.25,\r
+        "y": 716,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "b99f0467.4660f8"\r
+                "5cd5b3a.00a834c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "84f23c8f.7b0dc",\r
+        "id": "ac9fdda8.635c5",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 598,\r
-        "y": 664,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 623.25,\r
+        "y": 680,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "b99f0467.4660f8"\r
+                "5cd5b3a.00a834c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "707eb288.8f814c",\r
+        "id": "e4197510.21f14",\r
         "type": "execute",\r
         "name": "evacuateServer()",\r
         "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='evacuateServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 442.5,\r
-        "y": 664,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 467.75,\r
+        "y": 680,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "84b5bf3d.7b4a4",\r
-                "84f23c8f.7b0dc"\r
+                "c09eb09e.d88578",\r
+                "ac9fdda8.635c5"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "bb942a8e.446bd8",\r
+        "id": "6fb02e14.175a68",\r
         "type": "outcome",\r
         "name": "migrate",\r
         "xml": "<outcome value='evacuate'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 279.5,\r
-        "y": 665,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 304.75,\r
+        "y": 681,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "707eb288.8f814c"\r
+                "e4197510.21f14"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "df92233b.206de",\r
+        "id": "ebcec5e2.930378",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 583,\r
-        "y": 224,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 608.25,\r
+        "y": 240,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "fda90bc9.0256f8"\r
+                "cb7f2c34.1b0738"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b99f0467.4660f8",\r
+        "id": "5cd5b3a.00a834c",\r
         "type": "returnFailure",\r
         "name": "Not Yet Implemented",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='This action is not yet implemented' />\n",\r
         "comments": "",\r
-        "x": 898,\r
-        "y": 683,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 923.25,\r
+        "y": 699,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "3d16f80b.b81e98",\r
+        "id": "b08d9f4.1b17fe",\r
         "type": "outcome",\r
         "name": "snapshot",\r
         "xml": "<outcome value='snapshot'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 282,\r
-        "y": 533,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 307.25,\r
+        "y": 549,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "7b8aa37e.280c6c"\r
+                "71679082.b68048"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7b8aa37e.280c6c",\r
+        "id": "71679082.b68048",\r
         "type": "execute",\r
         "name": "createSnapshot()",\r
         "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='createSnapshot'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 445,\r
-        "y": 532,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 470.25,\r
+        "y": 548,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "b2fdd324.e7734",\r
-                "72f58d9a.ca2144"\r
+                "ddb50ec9.42b61",\r
+                "e37701d0.ff4a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b2fdd324.e7734",\r
+        "id": "ddb50ec9.42b61",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 600.5,\r
-        "y": 532,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 625.75,\r
+        "y": 548,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "60e4194b.9f1be8"\r
+                "517fd692.1c6f3"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "72f58d9a.ca2144",\r
+        "id": "e37701d0.ff4a",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 596.5,\r
-        "y": 572,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 621.75,\r
+        "y": 588,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "fda90bc9.0256f8"\r
+                "cb7f2c34.1b0738"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7fee971b.b82fe8",\r
+        "id": "e3b1885c.6ba198",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 962,\r
-        "y": 556,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 987.25,\r
+        "y": 572,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "fba5b0ee.57367"\r
+                "80007c3f.79526"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fba5b0ee.57367",\r
+        "id": "80007c3f.79526",\r
         "type": "returnSuccess",\r
         "name": "return success",\r
         "xml": "<return status='success'>\n",\r
         "comments": "",\r
-        "x": 1275,\r
-        "y": 617,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 1300.25,\r
+        "y": 633,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "c6eec239.65f49",\r
+        "id": "4e5fecf4.18b5d4",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "xml": "<return status='failure'>\n<!--\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='failed' />\n-->",\r
         "comments": "",\r
-        "x": 1285,\r
-        "y": 812,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 1310.25,\r
+        "y": 828,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": []\r
     },\r
     {\r
-        "id": "aebd3b77.717c8",\r
+        "id": "ac36b284.3e1bd8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 974,\r
-        "y": 679,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 999.25,\r
+        "y": 695,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "fba5b0ee.57367"\r
+                "80007c3f.79526"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "61570f13.03e13",\r
+        "id": "36c70977.075d06",\r
         "type": "outcome",\r
         "name": "migrate",\r
         "xml": "<outcome value='migrate'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 663.75,\r
-        "y": 799,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 689,\r
+        "y": 815,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "4b9dc5bd.fed9ac"\r
+                "6c21a87b.083fa8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "4b9dc5bd.fed9ac",\r
+        "id": "6c21a87b.083fa8",\r
         "type": "execute",\r
         "name": "migrateServer()",\r
         "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='migrateServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 826.75,\r
-        "y": 798,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 852,\r
+        "y": 814,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "54315afb.9b2a34",\r
-                "1a5da1c6.c6a002"\r
+                "c6e55d06.34f05",\r
+                "8067dd14.127b68"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "54315afb.9b2a34",\r
+        "id": "c6e55d06.34f05",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 982.25,\r
-        "y": 798,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 1007.5,\r
+        "y": 814,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "fba5b0ee.57367"\r
+                "80007c3f.79526"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "1a5da1c6.c6a002",\r
+        "id": "8067dd14.127b68",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 978.25,\r
-        "y": 838,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 1003.5,\r
+        "y": 854,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "c6eec239.65f49"\r
+                "4e5fecf4.18b5d4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "15e18db0.b27eda",\r
+        "id": "5a72cf37.b27dc8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 970,\r
-        "y": 717,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 995.25,\r
+        "y": 733,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "c6eec239.65f49"\r
+                "4e5fecf4.18b5d4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "b92b57bc.074df8",\r
+        "id": "f06b20cc.093cf",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 979.25,\r
-        "y": 954,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 1004.5,\r
+        "y": 970,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "f2833507.0f2148"\r
+                "2423b8c0.937798"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d669863.db192b8",\r
+        "id": "aa701723.a923d8",\r
         "type": "success",\r
         "name": "success",\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 982.25,\r
-        "y": 918,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 1007.5,\r
+        "y": 934,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "f2833507.0f2148"\r
+                "2423b8c0.937798"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "69143893.52d5d",\r
+        "id": "23a53072.a495a8",\r
         "type": "execute",\r
         "name": "evacuateServer()",\r
         "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='evacuateServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$org.onap.appc.vmid`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$org.onap.appc.identity.url`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 826.75,\r
-        "y": 918,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 852,\r
+        "y": 934,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "d669863.db192b8",\r
-                "b92b57bc.074df8"\r
+                "aa701723.a923d8",\r
+                "f06b20cc.093cf"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8e670719.e182d8",\r
+        "id": "fc6990e.a41c27",\r
         "type": "outcome",\r
         "name": "migrate",\r
         "xml": "<outcome value='evacuate'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 663.75,\r
-        "y": 919,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 689,\r
+        "y": 935,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "69143893.52d5d"\r
+                "23a53072.a495a8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "15ac686f.889474",\r
+        "id": "ad4e7fd7.18b06",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 965.25,\r
-        "y": 602,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 990.5,\r
+        "y": 618,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": [\r
             [\r
-                "c6eec239.65f49"\r
+                "4e5fecf4.18b5d4"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f2833507.0f2148",\r
+        "id": "2423b8c0.937798",\r
         "type": "returnFailure",\r
         "name": "Not Yet Implemented",\r
         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='This action is not yet implemented' />\n",\r
         "comments": "",\r
-        "x": 1282.25,\r
-        "y": 937,\r
-        "z": "551b1552.aae4ec",\r
+        "x": 1307.5,\r
+        "y": 953,\r
+        "z": "d1a301d8.219aa8",\r
         "wires": []\r
+    },\r
+    {\r
+        "id": "291bda8a.1c712e",\r
+        "type": "other",\r
+        "name": "Unknown",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "Unknown action provided. Fail",\r
+        "outputs": 1,\r
+        "x": 310.25,\r
+        "y": 801,\r
+        "z": "d1a301d8.219aa8",\r
+        "wires": [\r
+            [\r
+                "56bd2e0d.61dd88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2166e9a9.37316e",\r
+        "type": "other",\r
+        "name": "modifyConfig",\r
+        "xml": "<outcome value='modifyConfig'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 97.60003662109375,\r
+        "y": 827.9198608398438,\r
+        "z": "d1a301d8.219aa8",\r
+        "wires": [\r
+            [\r
+                "2a6a5cbd.5b01ac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9585b4b9.8a925",\r
+        "type": "execute",\r
+        "name": "put",\r
+        "xml": "<execute plugin='org.onap.appc.adapter.rest.RestAdapter' method='commonPut' >\n<parameter name='org.onap.appc.instance.URI' value='`$org.onap.appc.configURL`'/>\n<parameter name='org.onap.appc.instance.requestBody' value='`$org.onap.appc.configJson`'/>\n<parameter name='org.onap.appc.instance.headers' value='{\"Content-type\":\"application/json\"}'/>\n<parameter name='org.onap.appc.instance.haveHeader' value='true'/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 464.8887939453125,\r
+        "y": 954.1331787109375,\r
+        "z": "d1a301d8.219aa8",\r
+        "wires": [\r
+            [\r
+                "31d65a7b.2f1536",\r
+                "77aa00df.6d5f3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "77aa00df.6d5f3",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 672.0000305175781,\r
+        "y": 859.1199798583984,\r
+        "z": "d1a301d8.219aa8",\r
+        "wires": [\r
+            [\r
+                "517fd692.1c6f3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "31d65a7b.2f1536",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 672.7111511230469,\r
+        "y": 899.5866088867188,\r
+        "z": "d1a301d8.219aa8",\r
+        "wires": [\r
+            [\r
+                "517fd692.1c6f3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c5f8933.239dff",\r
+        "type": "execute",\r
+        "name": "delete",\r
+        "xml": "<execute plugin='org.onap.appc.adapter.rest.RestAdapter' method='commonDelete' >\n<parameter name='org.onap.appc.instance.URI' value='`$org.onap.appc.configURL`'/>\n<parameter name='org.onap.appc.instance.haveHeader' value='false'/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 431.64447021484375,\r
+        "y": 889.9199829101562,\r
+        "z": "d1a301d8.219aa8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2a6a5cbd.5b01ac",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 228.066650390625,\r
+        "y": 888.4888610839844,\r
+        "z": "d1a301d8.219aa8",\r
+        "wires": [\r
+            [\r
+                "c5f8933.239dff",\r
+                "9585b4b9.8a925"\r
+            ]\r
+        ]\r
     }\r
 ]\r
index 6bdcd2c..d5e91b6 100644 (file)
         "id": "4820c332.ead96c",
         "type": "get-resource",
         "name": "Get device interfacing DG",
-        "xml": "<get-resource plugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' resource='SQL' key=\"select dg_rpc , module , protocol from DEVICE_INTERFACE_PROTOCOL where VNF_TYPE = $vnf-type and DG_RPC is not null \" >\n<parameter name=\"nodeName\" value=\"getDeviceInterfacingDG\" />\n",
+        "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"select dg_rpc , module , protocol from DEVICE_INTERFACE_PROTOCOL where VNF_TYPE = $vnf-type and DG_RPC is not null \" >\n<parameter name=\"nodeName\" value=\"getDeviceInterfacingDG\" />\n",
         "comments": "",
         "outputs": 1,
         "x": 362.24999237060547,
         "id": "aab808f2.7e3fc8",
         "type": "get-resource",
         "name": "Check if running config exists",
-        "xml": "<get-resource plugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' resource='SQL' key=\"select count(1) as value from UPLOAD_CONFIG where VNF_ID = $input.action-identifiers.vnf-id and ( if ( $vnfc-type = '' , VNFC_TYPE is NULL OR VNFC_TYPE = '' , VNFC_TYPE = $vnfc-type ) ) and HOST_IP_ADDRESS = $host-ip-address and CONFIG_INDICATOR = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y') \" force='true' pfx='runningConfig.count'>\n<parameter name=\"nodeName\" value=\"getDBRunningConf\" />\n",
+        "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"select count(1) as value from UPLOAD_CONFIG where VNF_ID = $input.action-identifiers.vnf-id and ( if ( $vnfc-type = '' , VNFC_TYPE is NULL OR VNFC_TYPE = '' , VNFC_TYPE = $vnfc-type ) ) and HOST_IP_ADDRESS = $host-ip-address and CONFIG_INDICATOR = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y') \" force='true' pfx='runningConfig.count'>\n<parameter name=\"nodeName\" value=\"getDBRunningConf\" />\n",
         "comments": "",
         "outputs": 1,
         "x": 244.25003051757812,
         "id": "cf0ad6ea.cb1f78",
         "type": "save",
         "name": "Insert configuration",
-        "xml": "<save plugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' resource='SQL' key=\"INSERT INTO UPLOAD_CONFIG (REQUEST_ID,  ORIGINATOR_ID,  SERVICE_DESCRIPTION,   ACTION,  VNF_ID,  VNF_NAME, VM_NAME,  VNF_TYPE,  VNFC_TYPE,  HOST_IP_ADDRESS,  CONFIG_INDICATOR,  PENDING_DELETE,  CONTENT ) VALUES ( $input.common-header.request-id , $input.common-header.originator-id , $service-description , $input.action , $input.action-identifiers.vnf-id , $vnf-name , $vm-name , $vnf-type , $vnfc-type , $host-ip-address , 'Running' , NULL , $device-running-config ) \" force='true' >\n<parameter name=\"nodeName\" value=\"InsertConfiguration\" />\n",
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"INSERT INTO UPLOAD_CONFIG (REQUEST_ID,  ORIGINATOR_ID,  SERVICE_DESCRIPTION,   ACTION,  VNF_ID,  VNF_NAME, VM_NAME,  VNF_TYPE,  VNFC_TYPE,  HOST_IP_ADDRESS,  CONFIG_INDICATOR,  PENDING_DELETE,  CONTENT ) VALUES ( $input.common-header.request-id , $input.common-header.originator-id , $service-description , $input.action , $input.action-identifiers.vnf-id , $vnf-name , $vm-name , $vnf-type , $vnfc-type , $host-ip-address , 'Running' , NULL , $device-running-config ) \" force='true' >\n<parameter name=\"nodeName\" value=\"InsertConfiguration\" />\n",
         "comments": "",
         "outputs": 1,
         "x": 1142.9998016357422,
         "id": "1a65ac62.011454",
         "type": "save",
         "name": "Update configuration",
-        "xml": "<save plugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' resource='SQL' key=\"update UPLOAD_CONFIG set CONTENT = $device-running-config , REQUEST_ID = $input.common-header.request-id , ORIGINATOR_ID = $input.common-header.originator-id ,  SERVICE_DESCRIPTION = $service-description , ACTION = $input.action , UPLOAD_DATE = CURRENT_TIMESTAMP  where VNF_ID = $input.action-identifiers.vnf-id and ( if ( $vnfc-type = '' , VNFC_TYPE is NULL OR VNFC_TYPE = '' , VNFC_TYPE = $vnfc-type ) ) and HOST_IP_ADDRESS = $host-ip-address and CONFIG_INDICATOR = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y') \" force='true' pfx='update'>\n<parameter name=\"nodeName\" value=\"updateConfiguration\" />\n",
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"update UPLOAD_CONFIG set CONTENT = $device-running-config , REQUEST_ID = $input.common-header.request-id , ORIGINATOR_ID = $input.common-header.originator-id ,  SERVICE_DESCRIPTION = $service-description , ACTION = $input.action , UPLOAD_DATE = CURRENT_TIMESTAMP  where VNF_ID = $input.action-identifiers.vnf-id and ( if ( $vnfc-type = '' , VNFC_TYPE is NULL OR VNFC_TYPE = '' , VNFC_TYPE = $vnfc-type ) ) and HOST_IP_ADDRESS = $host-ip-address and CONFIG_INDICATOR = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y') \" force='true' pfx='update'>\n<parameter name=\"nodeName\" value=\"updateConfiguration\" />\n",
         "comments": "",
         "outputs": 1,
         "x": 1145.0000038146973,
         "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'>",
+        "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'>",
         "outputs": 1,
         "x": 251.99999618530273,
         "y": 41.25,
         "id": "110568c2.beef77",
         "type": "record",
         "name": "Log error",
-        "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n",
         "comments": "",
         "outputs": 1,
         "x": 1059.0000038146973,
         "id": "56da2cf4.8a70d4",
         "type": "record",
         "name": "Log error",
-        "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n",
         "comments": "",
         "outputs": 1,
         "x": 1116.24995803833,
         "id": "ad0cfd57.99bc5",
         "type": "record",
         "name": "Log error",
-        "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n",
         "comments": "",
         "outputs": 1,
         "x": 1739.0000114440918,
         "id": "7ffbca1c.8ade54",
         "type": "get-resource",
         "name": "Get Running Config Id",
-        "xml": "<get-resource plugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' resource='SQL' key=\"select UPLOAD_CONFIG_ID from UPLOAD_CONFIG where VNF_ID = $input.action-identifiers.vnf-id and ( if ( $vnfc-type = '' , VNFC_TYPE is NULL OR VNFC_TYPE = '' , VNFC_TYPE = $vnfc-type ) ) and HOST_IP_ADDRESS = $host-ip-address and CONFIG_INDICATOR = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y') \" force='true' pfx='runningConfig'>\n",
+        "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"select UPLOAD_CONFIG_ID from UPLOAD_CONFIG where VNF_ID = $input.action-identifiers.vnf-id and ( if ( $vnfc-type = '' , VNFC_TYPE is NULL OR VNFC_TYPE = '' , VNFC_TYPE = $vnfc-type ) ) and HOST_IP_ADDRESS = $host-ip-address and CONFIG_INDICATOR = 'Running' AND (pending_delete IS NULL OR pending_delete != 'Y') \" force='true' pfx='runningConfig'>\n",
         "comments": "",
         "outputs": 1,
         "x": 1587.0000114440918,
         "id": "3953bd65.2d7222",
         "type": "record",
         "name": "Log error",
-        "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$node-error-message`\"/>\n",
         "comments": "",
         "outputs": 1,
         "x": 2322.9996452331543,
         "id": "6c13c721.deff88",
         "type": "record",
         "name": "Log error",
-        "xml": "<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$property.error-message`\"/>\n",
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"error\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`$property.error-message`\"/>\n",
         "comments": "",
         "outputs": 1,
         "x": 1310.5626678466797,
         "z": "f559ad98.b8693",
         "wires": []
     }
-]
\ No newline at end of file
+]