Remove license from json dgs
[appc/deployment.git] / platform-logic / appc / src / main / json / dg-loader-dgs / Dispatcher-DG / APPC_2.0.0_VSRX_GetConfig.json
diff --git a/platform-logic/appc/src/main/json/dg-loader-dgs/Dispatcher-DG/APPC_2.0.0_VSRX_GetConfig.json b/platform-logic/appc/src/main/json/dg-loader-dgs/Dispatcher-DG/APPC_2.0.0_VSRX_GetConfig.json
new file mode 100644 (file)
index 0000000..e663dfa
--- /dev/null
@@ -0,0 +1,798 @@
+[
+    {
+        "id": "f7fa8fff.f2db5",
+        "type": "method",
+        "name": "VSRX_GetConfig",
+        "xml": "<method rpc='VSRX_GetConfig' mode='sync'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 106,
+        "y": 183,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "848e0abf.ad4068"
+            ]
+        ]
+    },
+    {
+        "id": "a5b12ccd.9b5d2",
+        "type": "service-logic",
+        "name": "APPC 2.0.0",
+        "module": "APPC",
+        "version": "2.0.0",
+        "comments": "",
+        "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": 98.5,
+        "y": 106,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "f7fa8fff.f2db5"
+            ]
+        ]
+    },
+    {
+        "id": "acf8d85c.a64e78",
+        "type": "dgstart",
+        "name": "DGSTART",
+        "outputs": 1,
+        "x": 78.5,
+        "y": 23,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "a5b12ccd.9b5d2"
+            ]
+        ]
+    },
+    {
+        "id": "d4b59933.d26998",
+        "type": "execute",
+        "name": "execute_getVNF_Hierarchy",
+        "xml": "<execute plugin='org.openecomp.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$org.openecomp.appc.vfid`\" />\n<parameter name=\"nodeName\" value=\"execute_getVNF_Hierarchy\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 362.5,
+        "y": 514,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "5c563fba.47402",
+                "8266b647.8b0a88"
+            ]
+        ]
+    },
+    {
+        "id": "5c563fba.47402",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 368.5,
+        "y": 599,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "46cc0481.73e78c"
+            ]
+        ]
+    },
+    {
+        "id": "2a0a328f.13910e",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>\n",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 543.5,
+        "y": 811,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "2daebecc.b36232"
+            ]
+        ]
+    },
+    {
+        "id": "2daebecc.b36232",
+        "type": "for",
+        "name": "for_each_VMs",
+        "xml": "<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >",
+        "comments": "",
+        "outputs": 1,
+        "x": 729.5,
+        "y": 812,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "c06a4341.ec82f"
+            ]
+        ]
+    },
+    {
+        "id": "c06a4341.ec82f",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>\n",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 727.5,
+        "y": 903,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "2c2a06fe.98ddba"
+            ]
+        ]
+    },
+    {
+        "id": "2c2a06fe.98ddba",
+        "type": "execute",
+        "name": "retrieveVMSSHConfiguration",
+        "xml": "<execute plugin='org.openecomp.appc.dg.util.NetconfDBPlugin' method='retrieveVMDSConfiguration' >\n<parameter name=\"resourceKey\" value=\"`$VNF.VM[$i].vserver.vserver-name`\" />\n<parameter name=\"nodeName\" value=\"retrieveVMSSHConfiguration\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 738.5,
+        "y": 993,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "498ff39f.be3cfc",
+                "7c4f9f57.eb4e4"
+            ]
+        ]
+    },
+    {
+        "id": "498ff39f.be3cfc",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 831.5,
+        "y": 1078,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "558c56db.194258"
+            ]
+        ]
+    },
+    {
+        "id": "9d84d01f.ffef4",
+        "type": "returnSuccess",
+        "name": "return success",
+        "xml": "<return status='success'>\n",
+        "comments": "",
+        "x": 103.5,
+        "y": 522,
+        "z": "39664169.9c031e",
+        "wires": []
+    },
+    {
+        "id": "8266b647.8b0a88",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1294.5,
+        "y": 524,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "8ba9ec90.9c794"
+            ]
+        ]
+    },
+    {
+        "id": "d7069cc8.15349",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n",
+        "comments": "",
+        "x": 1853.5,
+        "y": 966,
+        "z": "39664169.9c031e",
+        "wires": []
+    },
+    {
+        "id": "7c4f9f57.eb4e4",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1298.5,
+        "y": 992,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "8ba9ec90.9c794"
+            ]
+        ]
+    },
+    {
+        "id": "46cc0481.73e78c",
+        "type": "switchNode",
+        "name": "switch",
+        "xml": "<switch test='`$VNF.VMCount`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 386.5,
+        "y": 723,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "1e28c6f9.bbc059",
+                "18cc64bd.c146cb"
+            ]
+        ]
+    },
+    {
+        "id": "1e28c6f9.bbc059",
+        "type": "other",
+        "name": "outcome_0",
+        "xml": "<outcome value='0'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1296.5,
+        "y": 782,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "8ba9ec90.9c794"
+            ]
+        ]
+    },
+    {
+        "id": "18cc64bd.c146cb",
+        "type": "other",
+        "name": "other",
+        "xml": "<outcome value='Other'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 377.5,
+        "y": 805,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "2a0a328f.13910e"
+            ]
+        ]
+    },
+    {
+        "id": "8ba9ec90.9c794",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1668.5,
+        "y": 909,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "d7069cc8.15349",
+                "1342848b.10b68b"
+            ]
+        ]
+    },
+    {
+        "id": "1342848b.10b68b",
+        "type": "execute",
+        "name": "execute_DCAEReporterPlugin",
+        "xml": "<execute plugin='org.openecomp.appc.dg.util.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"`$org.openecomp.appc.apiversion`\"/>\n<parameter name=\"eventId\" value=\"`$org.openecomp.appc.vfid`\" />\n<parameter name=\"org.openecomp.appc.dg.error\" value=\"`$org.openecomp.appc.dg.error`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1843.5,
+        "y": 780,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "c7d75190.228fd"
+            ]
+        ]
+    },
+    {
+        "id": "504bb6d6.3bc128",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2360.5,
+        "y": 776,
+        "z": "39664169.9c031e",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7b04e7f0.163648",
+        "type": "execute",
+        "name": "get_Configuration",
+        "xml": "<execute plugin='org.openecomp.appc.dg.util.NetconfClientPlugin' method='getConfig' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"conf-id\" value=\"`$org.openecomp.appc.confid`\" />\n<parameter name=\"nodeName\" value=\"get_Configuration\" />\n\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 777.5,
+        "y": 1309,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "1d012da5.7898b2",
+                "e0e065cf.da6938"
+            ]
+        ]
+    },
+    {
+        "id": "d3f8ad27.db631",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 970.5,
+        "y": 112,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "e21b57a4.5ea998"
+            ]
+        ]
+    },
+    {
+        "id": "bfab5b6b.b57008",
+        "type": "outcome",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1292.5,
+        "y": 386,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "8ba9ec90.9c794"
+            ]
+        ]
+    },
+    {
+        "id": "558c56db.194258",
+        "type": "switchNode",
+        "name": "switch",
+        "xml": "<switch test='`$retrieveVMDSConfiguration_Result`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 775.5,
+        "y": 1161,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "3416bac7.a684e6",
+                "8be5c519.3532f8"
+            ]
+        ]
+    },
+    {
+        "id": "3416bac7.a684e6",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 775.5,
+        "y": 1250,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "7b04e7f0.163648"
+            ]
+        ]
+    },
+    {
+        "id": "8be5c519.3532f8",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1288.5,
+        "y": 1096,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "8ba9ec90.9c794"
+            ]
+        ]
+    },
+    {
+        "id": "e21b57a4.5ea998",
+        "type": "switchNode",
+        "name": "switch",
+        "xml": "<switch test='`$getConfig_Result`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1124.5,
+        "y": 120,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "cce84fd0.a0f22",
+                "c2e06562.032b08"
+            ]
+        ]
+    },
+    {
+        "id": "cce84fd0.a0f22",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='Success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1269.5,
+        "y": 61,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "c8e36592.453328"
+            ]
+        ]
+    },
+    {
+        "id": "c2e06562.032b08",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1282.5,
+        "y": 202,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "8ba9ec90.9c794"
+            ]
+        ]
+    },
+    {
+        "id": "82e0381.f53dac8",
+        "type": "execute",
+        "name": "registerPayload",
+        "xml": "<execute plugin='org.openecomp.appc.dg.util.DGPayloadCleanupPlugin' method='registerPayload' >\n<parameter name=\"resourceKey\" value=\"`$org.openecomp.appc.confid+'.Configuration'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1599,
+        "y": 61,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "7e05eae7.3d7694"
+            ]
+        ]
+    },
+    {
+        "id": "7e05eae7.3d7694",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1789,
+        "y": 132,
+        "z": "39664169.9c031e",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "b81740d5.22bfe",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 118,
+        "y": 428,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "9d84d01f.ffef4"
+            ]
+        ]
+    },
+    {
+        "id": "c8e36592.453328",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1442,
+        "y": 66,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "82e0381.f53dac8"
+            ]
+        ]
+    },
+    {
+        "id": "72ff50ec.62143",
+        "type": "switchNode",
+        "name": "switch",
+        "xml": "<switch test=\"`$org.openecomp.appc.confid`\">",
+        "comments": "",
+        "outputs": 1,
+        "x": 323.5,
+        "y": 216,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "d42cb172.bd7b8",
+                "d8b98ebe.3e41"
+            ]
+        ]
+    },
+    {
+        "id": "d42cb172.bd7b8",
+        "type": "outcome",
+        "name": "outcome_current",
+        "xml": "<outcome value='current'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 471.5,
+        "y": 366,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "d4b59933.d26998"
+            ]
+        ]
+    },
+    {
+        "id": "d8b98ebe.3e41",
+        "type": "other",
+        "name": "other",
+        "xml": "<outcome value='Other'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 481.5,
+        "y": 187,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "3b2964a3.c85eac"
+            ]
+        ]
+    },
+    {
+        "id": "3b2964a3.c85eac",
+        "type": "execute",
+        "name": "getConfiguration",
+        "xml": "<execute plugin='org.openecomp.appc.dg.util.ConfigurationManagerPlugin' method='getConfig' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"conf-id\" value=\"`$org.openecomp.appc.confid`\" />\n<parameter name=\"nodeName\" value=\"getConfiguration\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 696.5,
+        "y": 189,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "bfab5b6b.b57008",
+                "d3f8ad27.db631"
+            ]
+        ]
+    },
+    {
+        "id": "848e0abf.ad4068",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 110,
+        "y": 270,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "72ff50ec.62143",
+                "f10ec3da.6e759"
+            ]
+        ]
+    },
+    {
+        "id": "f10ec3da.6e759",
+        "type": "execute",
+        "name": "ctxCleanup",
+        "xml": "<execute plugin='org.openecomp.appc.dg.util.DGPayloadCleanupPlugin' method='cleanup' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"conf-id\" value=\"`$org.openecomp.appc.confid`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 143,
+        "y": 365,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "b81740d5.22bfe"
+            ]
+        ]
+    },
+    {
+        "id": "50e44062.8a63f",
+        "type": "comment",
+        "name": "Fetch all VMs and VNFCs from AA&I for given VNF_ID",
+        "info": "",
+        "comments": "",
+        "x": 587.5,
+        "y": 480,
+        "z": "39664169.9c031e",
+        "wires": []
+    },
+    {
+        "id": "1d012da5.7898b2",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1036.5,
+        "y": 1364,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "bde7e151.2a23e"
+            ]
+        ]
+    },
+    {
+        "id": "bde7e151.2a23e",
+        "type": "switchNode",
+        "name": "switch",
+        "xml": "<switch test='`$getConfig_Result`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1268.5,
+        "y": 1446,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "735df4fd.90402c",
+                "f02c82b2.f3509"
+            ]
+        ]
+    },
+    {
+        "id": "735df4fd.90402c",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='Success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1424.5,
+        "y": 1487,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "a55afee1.a9ca1"
+            ]
+        ]
+    },
+    {
+        "id": "f02c82b2.f3509",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1397.5,
+        "y": 1390,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "8ba9ec90.9c794"
+            ]
+        ]
+    },
+    {
+        "id": "fcbe0c1c.11c7d",
+        "type": "execute",
+        "name": "registerPayload",
+        "xml": "<execute plugin='org.openecomp.appc.dg.util.DGPayloadCleanupPlugin' method='registerPayload' >\n<parameter name=\"resourceKey\" value=\"`$VNF.VM[$i].vserver.vserver-name+'.Configuration'`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1855,
+        "y": 1448,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "b0e981e3.4f6fb"
+            ]
+        ]
+    },
+    {
+        "id": "b0e981e3.4f6fb",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2018,
+        "y": 1446,
+        "z": "39664169.9c031e",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a55afee1.a9ca1",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1680,
+        "y": 1445,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "fcbe0c1c.11c7d"
+            ]
+        ]
+    },
+    {
+        "id": "e0e065cf.da6938",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1302.5,
+        "y": 1221,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "8ba9ec90.9c794"
+            ]
+        ]
+    },
+    {
+        "id": "c7d75190.228fd",
+        "type": "other",
+        "name": "other",
+        "xml": "<outcome value='Other'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2049.5,
+        "y": 779,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "f0554fe0.4816e"
+            ]
+        ]
+    },
+    {
+        "id": "f0554fe0.4816e",
+        "type": "execute",
+        "name": "ctxCleanup",
+        "xml": "<execute plugin='org.openecomp.appc.dg.util.DGPayloadCleanupPlugin' method='cleanup' >\n<parameter name=\"connection-details\" value=\"`$connection-details`\" />\n<parameter name=\"conf-id\" value=\"`$org.openecomp.appc.confid`\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2199.5,
+        "y": 778,
+        "z": "39664169.9c031e",
+        "wires": [
+            [
+                "504bb6d6.3bc128"
+            ]
+        ]
+    }
+]