Change in DG for the Audit and the Sync 37/37837/3
authorSonali Das <sd394g@att.com>
Thu, 22 Mar 2018 17:53:07 +0000 (13:53 -0400)
committerTakamune Cho <tc012c@att.com>
Thu, 22 Mar 2018 20:21:13 +0000 (20:21 +0000)
Issue-ID: APPC-735
Change-Id: I4e07b07d476b1353388e51ce3b41d245b99c4bb7
Signed-off-by: Sonali Das <sd394g@att.com>
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Dispatcher-DG/APPC_method_GetRunningConfig_2.0.0.json

index 41eeca4..6bdcd2c 100644 (file)
-[\r
-    {\r
-        "id": "2bf5503c.d388e",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 664.888916015625,\r
-        "y": 58.25000762939453,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "dbafdb1b.934f58"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "faf55a2.8a3cca8",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 749.138916015625,\r
-        "y": 374.75,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "b59140c4.f0d26"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "5a7e4d0c.a3ad34",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 745.138916015625,\r
-        "y": 427.5,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "eda2123c.64453"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "3371a22a.28dfee",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 667.888916015625,\r
-        "y": 127.25,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "577dc0de.87c37"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "c372101a.aa5ea",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 665.1388549804688,\r
-        "y": 278.50000762939453,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "2cc0ecf5.2756c4"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "feb957d9.9b3838",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 659.1388549804688,\r
-        "y": 213.25000762939453,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "48d059a1.2c1378"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "757aad86.e63454",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 737.388916015625,\r
-        "y": 472.75,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "cbdc9a91.622178"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "c6746ea4.d8171",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 736.888916015625,\r
-        "y": 523.75,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "fbb83850.3ab008"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "4ac10f26.bb958",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1406.888916015625,\r
-        "y": 608.0000076293945,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "8f213625.b48068"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "202e4abf.4f39b6",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1411.638916015625,\r
-        "y": 706.5000076293945,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "db7afb3c.2c58c8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "15804f82.f28b4",\r
-        "type": "success",\r
-        "name": "multipleRunningConfig",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 859.388916015625,\r
-        "y": 579.0000076293945,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "64a22d10.d8c794"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a20d1d4b.9026d",\r
-        "type": "get-resource",\r
-        "name": "Retrieve device credentials",\r
-        "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"select USER_NAME , PASSWORD , PORT_NUMBER from DEVICE_AUTHENTICATION where VNF_TYPE = $vnf-type \" >\n<parameter name=\"nodeName\" value=\"retrieveDeviceCredentials\" />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 429.63897705078125,\r
-        "y": 123,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "2bf5503c.d388e",\r
-                "3371a22a.28dfee",\r
-                "d3311276.7aeb5"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b39573b0.7834d",\r
-        "type": "call",\r
-        "name": "Call device interfacing DG",\r
-        "xml": "<call rpc='`$dg-rpc`' module = '`$module`'  mode='sync'>\n<parameter name=\"nodeName\" value=\"callInterfacingDG\" />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 479.888916015625,\r
-        "y": 428.75,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "faf55a2.8a3cca8",\r
-                "5a7e4d0c.a3ad34",\r
-                "27a86a4d.b60b06"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "26e12fcf.61188",\r
-        "type": "get-resource",\r
-        "name": "Get device interfacing DG",\r
-        "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",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 406.638916015625,\r
-        "y": 277.75000762939453,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "c372101a.aa5ea",\r
-                "feb957d9.9b3838",\r
-                "7730960.662fc6c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d1f75432.3fab98",\r
-        "type": "get-resource",\r
-        "name": "Check if running config exists",\r
-        "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",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 439.8889465332031,\r
-        "y": 562.5,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "757aad86.e63454",\r
-                "c6746ea4.d8171",\r
-                "df801ff7.3334"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "6624b792.a4c4e8",\r
-        "type": "save",\r
-        "name": "Insert configuration",\r
-        "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",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1198.638916015625,\r
-        "y": 619.2500076293945,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "4ac10f26.bb958",\r
-                "b2654dc9.f9d45"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "11aa7b01.78e3c5",\r
-        "type": "save",\r
-        "name": "Update configuration",\r
-        "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",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1198.1389045715332,\r
-        "y": 716,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "202e4abf.4f39b6",\r
-                "5fee9fb0.f2325"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "2dbbd306.12300c",\r
-        "type": "switchNode",\r
-        "name": "switch",\r
-        "xml": "<switch test='`$runningConfig.count.value`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 650.6389122009277,\r
-        "y": 614.2500095367432,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "15804f82.f28b4",\r
-                "ede96b3d.4c0f28",\r
-                "c37b362b.01c868"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "c183af40.7e96b",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 164.38891983032227,\r
-        "y": 235.50000381469727,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "a20d1d4b.9026d",\r
-                "b696a7db.8ca138"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d3311276.7aeb5",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 477.13885498046875,\r
-        "y": 187.00000762939453,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "26e12fcf.61188"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "27a86a4d.b60b06",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 441.63885498046875,\r
-        "y": 499.75,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "d1f75432.3fab98"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "7730960.662fc6c",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 263.1387939453125,\r
-        "y": 353.5,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "29603b9a.2c5b84"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "df801ff7.3334",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 479.38885498046875,\r
-        "y": 664.75,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "2dbbd306.12300c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b2654dc9.f9d45",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1408.638916015625,\r
-        "y": 657.2500076293945,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "e8b89f13.0bbb4"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "35b04eb6.6d2212",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1024.638916015625,\r
-        "y": 631.2500076293945,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "6624b792.a4c4e8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "5fee9fb0.f2325",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1411.388916015625,\r
-        "y": 772.5000305175781,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "e8b89f13.0bbb4"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ed19ec7d.1ee2b",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1026.138916015625,\r
-        "y": 694.5000076293945,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "11aa7b01.78e3c5"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ede96b3d.4c0f28",\r
-        "type": "success",\r
-        "name": "noRunningConfig",\r
-        "xml": "<outcome value='0'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 850.638916015625,\r
-        "y": 630.0000076293945,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "35b04eb6.6d2212"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "c37b362b.01c868",\r
-        "type": "failure",\r
-        "name": "runningConfigExists",\r
-        "xml": "<outcome value='1'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 854.138916015625,\r
-        "y": 695.0000076293945,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "ed19ec7d.1ee2b"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "4896d6e4.5270f8",\r
-        "type": "method",\r
-        "name": "GetRunningConfig",\r
-        "xml": "<method rpc='GetRunningConfig' mode='sync'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 154.888916015625,\r
-        "y": 152,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "c183af40.7e96b"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "13a41622.3f89ca",\r
-        "type": "service-logic",\r
-        "name": "APPC 2.0.0",\r
-        "module": "APPC",\r
-        "version": "2.0.0",\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": 291.88890838623047,\r
-        "y": 67.25000190734863,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "4896d6e4.5270f8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b696a7db.8ca138",\r
-        "type": "returnSuccess",\r
-        "name": "return success",\r
-        "xml": "<return status='success'>\n",\r
-        "comments": "",\r
-        "x": 144.88894653320312,\r
-        "y": 441.5,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "251494ff.29474c",\r
-        "type": "dgstart",\r
-        "name": "DGSTART",\r
-        "outputs": 1,\r
-        "x": 124.3889045715332,\r
-        "y": 68,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "13a41622.3f89ca"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "dbafdb1b.934f58",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 839.888916015625,\r
-        "y": 59.750003814697266,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "c5226259.21e3e",\r
-                "2490a85b.6f7c38",\r
-                "253f5533.50173a"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "c5226259.21e3e",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='node-error-message' value='Error while retrieving device credentials' />\n",\r
-        "comments": "",\r
-        "x": 1046.388916015625,\r
-        "y": 46,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "577dc0de.87c37",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 844.638916015625,\r
-        "y": 126.25,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "920835f9.5449d8",\r
-                "2490a85b.6f7c38",\r
-                "253f5533.50173a"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "920835f9.5449d8",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='node-error-message' value=\"`'Device credentials not found for the ' + $vnf-type `\"/>\n",\r
-        "comments": "",\r
-        "x": 1048.388916015625,\r
-        "y": 85.5,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "48d059a1.2c1378",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 839.388916015625,\r
-        "y": 196.25000762939453,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "ed173feb.0d45f",\r
-                "253f5533.50173a",\r
-                "2490a85b.6f7c38"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "2cc0ecf5.2756c4",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 843.388916015625,\r
-        "y": 252.50000762939453,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "e5af31d.d7d11d",\r
-                "253f5533.50173a",\r
-                "2490a85b.6f7c38"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ed173feb.0d45f",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='node-error-message' value='Error while getting device interfacing DG details' />\n",\r
-        "comments": "",\r
-        "x": 1053.3889045715332,\r
-        "y": 133.00000762939453,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "e5af31d.d7d11d",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='node-error-message' value=\"`'Device Interfacing DG mapping not found for the ' + $vnf-type `\" />\n",\r
-        "comments": "",\r
-        "x": 1051.138916015625,\r
-        "y": 176.00000762939453,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "253f5533.50173a",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='`$node-error-message`' />",\r
-        "comments": "",\r
-        "x": 1079.138916015625,\r
-        "y": 271.25000762939453,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "b59140c4.f0d26",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 910.638916015625,\r
-        "y": 325,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "11ce3fcd.175be",\r
-                "9a30398b.6a1268",\r
-                "81b0e59d.dd52a8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "eda2123c.64453",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 924.638916015625,\r
-        "y": 410.25,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "e924feb9.1fc4b",\r
-                "9a30398b.6a1268",\r
-                "81b0e59d.dd52a8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "11ce3fcd.175be",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='node-error-message' value=\"`$error-message`\"/>\n",\r
-        "comments": "",\r
-        "x": 1178.638916015625,\r
-        "y": 316.5,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "e924feb9.1fc4b",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='node-error-message' value='Device Interfacing DG not found' />\n",\r
-        "comments": "",\r
-        "x": 1180.638916015625,\r
-        "y": 359.75,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "fbb83850.3ab008",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 941.138916015625,\r
-        "y": 522.75,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "9897d37f.3e86f",\r
-                "81b0e59d.dd52a8",\r
-                "9a30398b.6a1268"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "cbdc9a91.622178",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 939.888916015625,\r
-        "y": 468.25,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "1dd1ceae.7c5731",\r
-                "81b0e59d.dd52a8",\r
-                "9a30398b.6a1268"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "1dd1ceae.7c5731",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='node-error-message' value=\"`'Error while quering the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\"/>\n",\r
-        "comments": "",\r
-        "x": 1179.388916015625,\r
-        "y": 404.25,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "9897d37f.3e86f",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='node-error-message' value=\"`'Error while quering the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\" />\n",\r
-        "comments": "",\r
-        "x": 1179.638916015625,\r
-        "y": 444.25,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "81b0e59d.dd52a8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='`$node-error-message`' />",\r
-        "comments": "",\r
-        "x": 1187.138916015625,\r
-        "y": 543.5,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "64a22d10.d8c794",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1577.638916015625,\r
-        "y": 576.7500076293945,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "d55829a0.692118",\r
-                "53f66547.a56dac",\r
-                "75356e6f.a67ac"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d55829a0.692118",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='node-error-message' value='More than one running configuration available for a VNFC' />\n",\r
-        "comments": "",\r
-        "x": 1803.388916015625,\r
-        "y": 530.2500610351562,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "53f66547.a56dac",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='`$node-error-message`' />",\r
-        "comments": "",\r
-        "x": 1802.638916015625,\r
-        "y": 710.0000305175781,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "8f213625.b48068",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1582.138916015625,\r
-        "y": 632.75,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "b2368a5.6789578",\r
-                "53f66547.a56dac",\r
-                "75356e6f.a67ac"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b2368a5.6789578",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='node-error-message' value=\"`'Error while updating the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\" />\n",\r
-        "comments": "",\r
-        "x": 1806.638916015625,\r
-        "y": 575.2500305175781,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "db7afb3c.2c58c8",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1582.638916015625,\r
-        "y": 693.25,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "cc111001.f32a8",\r
-                "53f66547.a56dac",\r
-                "75356e6f.a67ac"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "cc111001.f32a8",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='node-error-message' value=\"`'Error while updating the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\" />\n",\r
-        "comments": "",\r
-        "x": 1807.388916015625,\r
-        "y": 621.2500305175781,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "2490a85b.6f7c38",\r
-        "type": "record",\r
-        "name": "Log error",\r
-        "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",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1070.888916015625,\r
-        "y": 227.25000762939453,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "9a30398b.6a1268",\r
-        "type": "record",\r
-        "name": "Log error",\r
-        "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",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1186.888916015625,\r
-        "y": 499.25,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "75356e6f.a67ac",\r
-        "type": "record",\r
-        "name": "Log error",\r
-        "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",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1800.888916015625,\r
-        "y": 663.2500305175781,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "21660aea.e01ea6",\r
-        "type": "set",\r
-        "name": "set DG parameters",\r
-        "xml": "<set>\n<parameter name='config.vnf-type' value=\"`$vnf-type`\" />\n<parameter name='config.vnf-name' value=\"`$vnf-name`\" />\n<parameter name='config.protocol' value=\"`$protocol`\" />\n<parameter name='config.host-ip-address' value=\"`$host-ip-address`\" />\n<parameter name='config.user-name' value=\"`$USER-NAME`\" />\n<parameter name='config.password' value=\"`$PASSWORD`\" />\n<parameter name='config.port-number' value=\"`$PORT-NUMBER`\" />",\r
-        "comments": "",\r
-        "x": 585.888916015625,\r
-        "y": 330,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "29603b9a.2c5b84",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 395.888916015625,\r
-        "y": 353,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "21660aea.e01ea6",\r
-                "b39573b0.7834d"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e8b89f13.0bbb4",\r
-        "type": "get-resource",\r
-        "name": "Get Running Config Id",\r
-        "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",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1648.888916015625,\r
-        "y": 779.3333435058594,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "ab251259.3d74",\r
-                "d14179e1.547d98",\r
-                "aec5de94.0b1ee"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ab251259.3d74",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2001.388916015625,\r
-        "y": 733.5833740234375,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "bf29ea96.6ffa68"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d14179e1.547d98",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1993.888916015625,\r
-        "y": 793.5833740234375,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "e27c0f02.9b77"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "bf29ea96.6ffa68",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2158.8885498046875,\r
-        "y": 732.0833740234375,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "5b24ae34.dd7d9",\r
-                "dfd2268c.d462e8",\r
-                "babb2c3a.ce283"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "5b24ae34.dd7d9",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='node-error-message' value=\"`'Error while quering the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\"/>\n",\r
-        "comments": "",\r
-        "x": 2393.3887939453125,\r
-        "y": 673.0833740234375,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "babb2c3a.ce283",\r
-        "type": "record",\r
-        "name": "Log error",\r
-        "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",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2384.8885498046875,\r
-        "y": 772.0833740234375,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "e27c0f02.9b77",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2159.1387939453125,\r
-        "y": 794.5833740234375,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            [\r
-                "cf88cbf8.678fd8",\r
-                "dfd2268c.d462e8",\r
-                "babb2c3a.ce283"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "dfd2268c.d462e8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='`$node-error-message`' />",\r
-        "comments": "",\r
-        "x": 2400.1385498046875,\r
-        "y": 827.3333740234375,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "aec5de94.0b1ee",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1985.388671875,\r
-        "y": 861.5833740234375,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "cf88cbf8.678fd8",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='node-error-message' value=\"`'Error while quering the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\" />\n",\r
-        "comments": "",\r
-        "x": 2400.6387939453125,\r
-        "y": 723.0833740234375,\r
-        "z": "276d1f6b.9bb71",\r
-        "wires": []\r
-    }\r
-]\r
+[
+    {
+        "id": "41c9ff8.d1003",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 718.4999847412109,
+        "y": 348.9999876022339,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "c71126ee.a63608"
+            ]
+        ]
+    },
+    {
+        "id": "2f462db6.1bf662",
+        "type": "not-found",
+        "name": "not-found",
+        "xml": "<outcome value='not-found'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 709.4999732971191,
+        "y": 424.25000762939453,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "93afef4a.9f677"
+            ]
+        ]
+    },
+    {
+        "id": "f7067fbf.b9ee2",
+        "type": "not-found",
+        "name": "not-found",
+        "xml": "<outcome value='not-found'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 650.7499198913574,
+        "y": 87.7499828338623,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "89ea0bc2.cebbb8"
+            ]
+        ]
+    },
+    {
+        "id": "af1966db.536898",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 647.2499294281006,
+        "y": 37.49998474121094,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "35f55e04.cb5542"
+            ]
+        ]
+    },
+    {
+        "id": "1cf51b48.0883a5",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 676.7499237060547,
+        "y": 506.99992752075195,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "25b252df.c74fce"
+            ]
+        ]
+    },
+    {
+        "id": "c944dab9.aabd48",
+        "type": "not-found",
+        "name": "not-found",
+        "xml": "<outcome value='not-found'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 674.9999465942383,
+        "y": 557.9999904632568,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "7047697.c309998"
+            ]
+        ]
+    },
+    {
+        "id": "5ae40f9c.4c573",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1346.2497959136963,
+        "y": 643.5000324249268,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "20eba032.0d715"
+            ]
+        ]
+    },
+    {
+        "id": "c1a9f0a9.4d854",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1353.4999618530273,
+        "y": 713.2499885559082,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "d23e8d46.32801"
+            ]
+        ]
+    },
+    {
+        "id": "e4bb8d09.58ee4",
+        "type": "success",
+        "name": "multipleRunningConfig",
+        "xml": "<outcome value='Other'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 821.2499809265137,
+        "y": 604.4999561309814,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "4ef6cf2b.3f87e"
+            ]
+        ]
+    },
+    {
+        "id": "18f727b5.1aba48",
+        "type": "call",
+        "name": "Call device interfacing DG",
+        "xml": "<call rpc='`$dg-rpc`' module = '`$module`'  mode='sync'>\n<parameter name=\"nodeName\" value=\"callInterfacingDG\" />\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 466.75,
+        "y": 424.25000762939453,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "41c9ff8.d1003",
+                "2f462db6.1bf662",
+                "9cc74be2.2caf28"
+            ]
+        ]
+    },
+    {
+        "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",
+        "comments": "",
+        "outputs": 1,
+        "x": 362.24999237060547,
+        "y": 119.49999141693115,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "f7067fbf.b9ee2",
+                "af1966db.536898",
+                "94826497.dea478"
+            ]
+        ]
+    },
+    {
+        "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",
+        "comments": "",
+        "outputs": 1,
+        "x": 244.25003051757812,
+        "y": 706.7499723434448,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "1cf51b48.0883a5",
+                "c944dab9.aabd48",
+                "8ab22ee2.47cf3"
+            ]
+        ]
+    },
+    {
+        "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",
+        "comments": "",
+        "outputs": 1,
+        "x": 1142.9998016357422,
+        "y": 691.0000305175781,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "5ae40f9c.4c573",
+                "e56377db.c62b78"
+            ]
+        ]
+    },
+    {
+        "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",
+        "comments": "",
+        "outputs": 1,
+        "x": 1145.0000038146973,
+        "y": 761.4999904632568,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "c1a9f0a9.4d854",
+                "df5dba1b.dda078"
+            ]
+        ]
+    },
+    {
+        "id": "47c94803.def228",
+        "type": "switchNode",
+        "name": "switch",
+        "xml": "<switch test='`$runningConfig.count.value`'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 604.9999542236328,
+        "y": 762.2500133514404,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "e4bb8d09.58ee4",
+                "f4178997.62e378",
+                "fdf247dd.8933e8"
+            ]
+        ]
+    },
+    {
+        "id": "c7da8af6.af9338",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 77.50001525878906,
+        "y": 313.49999237060547,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "7374b7a3.466358",
+                "4820c332.ead96c"
+            ]
+        ]
+    },
+    {
+        "id": "9cc74be2.2caf28",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 493.4999485015869,
+        "y": 485.25,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "aab808f2.7e3fc8"
+            ]
+        ]
+    },
+    {
+        "id": "94826497.dea478",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 642.4996528625488,
+        "y": 125.25001525878906,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "c5cb1412.497a18"
+            ]
+        ]
+    },
+    {
+        "id": "8ab22ee2.47cf3",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 449.9999351501465,
+        "y": 762.7500019073486,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "47c94803.def228"
+            ]
+        ]
+    },
+    {
+        "id": "e56377db.c62b78",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1350.4999294281006,
+        "y": 677.7500190734863,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "7ffbca1c.8ade54"
+            ]
+        ]
+    },
+    {
+        "id": "b814bec0.102a7",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 971.4999084472656,
+        "y": 689.2499027252197,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "cf0ad6ea.cb1f78"
+            ]
+        ]
+    },
+    {
+        "id": "df5dba1b.dda078",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1349.5000114440918,
+        "y": 760.5000305175781,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "7ffbca1c.8ade54"
+            ]
+        ]
+    },
+    {
+        "id": "1cd6e410.a66d5c",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 970.4999771118164,
+        "y": 761.2499752044678,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "1a65ac62.011454"
+            ]
+        ]
+    },
+    {
+        "id": "f4178997.62e378",
+        "type": "success",
+        "name": "noRunningConfig",
+        "xml": "<outcome value='0'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 814.9998359680176,
+        "y": 689.2499303817749,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "b814bec0.102a7"
+            ]
+        ]
+    },
+    {
+        "id": "fdf247dd.8933e8",
+        "type": "failure",
+        "name": "runningConfigExists",
+        "xml": "<outcome value='1'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 795.9999465942383,
+        "y": 761.7499675750732,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "1cd6e410.a66d5c"
+            ]
+        ]
+    },
+    {
+        "id": "48dbdb81.69c4a4",
+        "type": "method",
+        "name": "GetRunningConfig",
+        "xml": "<method rpc='GetRunningConfig' mode='sync'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 93.0000114440918,
+        "y": 140,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "c7da8af6.af9338"
+            ]
+        ]
+    },
+    {
+        "id": "eb3ce0c0.b42d",
+        "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": 251.99999618530273,
+        "y": 41.25,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "48dbdb81.69c4a4"
+            ]
+        ]
+    },
+    {
+        "id": "7374b7a3.466358",
+        "type": "returnSuccess",
+        "name": "return success",
+        "xml": "<return status='success'>\n",
+        "comments": "",
+        "x": 160.25,
+        "y": 560.7499656677246,
+        "z": "f559ad98.b8693",
+        "wires": []
+    },
+    {
+        "id": "c79d207b.fb939",
+        "type": "dgstart",
+        "name": "DGSTART",
+        "outputs": 1,
+        "x": 91.38888931274414,
+        "y": 41.55555725097656,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "eb3ce0c0.b42d"
+            ]
+        ]
+    },
+    {
+        "id": "35f55e04.cb5542",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 792.4997253417969,
+        "y": 37.99998474121094,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "fbf3ae87.ec3e",
+                "59265f06.32f92",
+                "110568c2.beef77"
+            ]
+        ]
+    },
+    {
+        "id": "89ea0bc2.cebbb8",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 798.9999694824219,
+        "y": 91.74999141693115,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "d8a25f2a.4b75f",
+                "59265f06.32f92",
+                "110568c2.beef77"
+            ]
+        ]
+    },
+    {
+        "id": "fbf3ae87.ec3e",
+        "type": "set",
+        "name": "Set error message",
+        "xml": "<set>\n<parameter name='node-error-message' value='Error while getting device interfacing DG details' />\n",
+        "comments": "",
+        "x": 1086.4999828338623,
+        "y": 33.500003814697266,
+        "z": "f559ad98.b8693",
+        "wires": []
+    },
+    {
+        "id": "d8a25f2a.4b75f",
+        "type": "set",
+        "name": "Set error message",
+        "xml": "<set>\n<parameter name='node-error-message' value=\"`'Device Interfacing DG mapping not found for the ' + $vnf-type `\" />\n",
+        "comments": "",
+        "x": 1085.5000038146973,
+        "y": 81.5000171661377,
+        "z": "f559ad98.b8693",
+        "wires": []
+    },
+    {
+        "id": "59265f06.32f92",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='`$node-error-message`' />",
+        "comments": "",
+        "x": 1073.4998054504395,
+        "y": 166.7500171661377,
+        "z": "f559ad98.b8693",
+        "wires": []
+    },
+    {
+        "id": "c71126ee.a63608",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 866.2499465942383,
+        "y": 348.0000123977661,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "be6a0416.09a6f8",
+                "56da2cf4.8a70d4",
+                "77a033d2.9e603c"
+            ]
+        ]
+    },
+    {
+        "id": "93afef4a.9f677",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 865.2499656677246,
+        "y": 405.75000381469727,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "6a449088.49c4c",
+                "56da2cf4.8a70d4",
+                "77a033d2.9e603c"
+            ]
+        ]
+    },
+    {
+        "id": "be6a0416.09a6f8",
+        "type": "set",
+        "name": "Set error message",
+        "xml": "<set>\n<parameter name='node-error-message' value=\"`$error-message`\"/>\n",
+        "comments": "",
+        "x": 1116.7500114440918,
+        "y": 304.5,
+        "z": "f559ad98.b8693",
+        "wires": []
+    },
+    {
+        "id": "6a449088.49c4c",
+        "type": "set",
+        "name": "Set error message",
+        "xml": "<set>\n<parameter name='node-error-message' value='Device Interfacing DG not found' />\n",
+        "comments": "",
+        "x": 1118.7500114440918,
+        "y": 347.75,
+        "z": "f559ad98.b8693",
+        "wires": []
+    },
+    {
+        "id": "7047697.c309998",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 880.5000839233398,
+        "y": 558.2500133514404,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "c84e4bf6.e67e68",
+                "77a033d2.9e603c",
+                "56da2cf4.8a70d4"
+            ]
+        ]
+    },
+    {
+        "id": "25b252df.c74fce",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 883.0000305175781,
+        "y": 507.49997329711914,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "f80dbb6f.4e6798",
+                "77a033d2.9e603c",
+                "56da2cf4.8a70d4"
+            ]
+        ]
+    },
+    {
+        "id": "f80dbb6f.4e6798",
+        "type": "set",
+        "name": "Set error message",
+        "xml": "<set>\n<parameter name='node-error-message' value=\"`'Error while quering the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\"/>\n",
+        "comments": "",
+        "x": 1117.5000114440918,
+        "y": 392.25,
+        "z": "f559ad98.b8693",
+        "wires": []
+    },
+    {
+        "id": "c84e4bf6.e67e68",
+        "type": "set",
+        "name": "Set error message",
+        "xml": "<set>\n<parameter name='node-error-message' value=\"`'Error while quering the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\" />\n",
+        "comments": "",
+        "x": 1117.7500114440918,
+        "y": 432.25,
+        "z": "f559ad98.b8693",
+        "wires": []
+    },
+    {
+        "id": "77a033d2.9e603c",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='`$node-error-message`' />",
+        "comments": "",
+        "x": 1125.2499389648438,
+        "y": 554.0000247955322,
+        "z": "f559ad98.b8693",
+        "wires": []
+    },
+    {
+        "id": "4ef6cf2b.3f87e",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1508.250099182129,
+        "y": 592.2500324249268,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "5b6e690e.0c1d28",
+                "91e99105.1b771",
+                "ad0cfd57.99bc5"
+            ]
+        ]
+    },
+    {
+        "id": "5b6e690e.0c1d28",
+        "type": "set",
+        "name": "Set error message",
+        "xml": "<set>\n<parameter name='node-error-message' value='More than one running configuration available for a VNFC' />\n",
+        "comments": "",
+        "x": 1741.5000114440918,
+        "y": 518.2500610351562,
+        "z": "f559ad98.b8693",
+        "wires": []
+    },
+    {
+        "id": "91e99105.1b771",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='`$node-error-message`' />",
+        "comments": "",
+        "x": 1740.7500114440918,
+        "y": 698.0000305175781,
+        "z": "f559ad98.b8693",
+        "wires": []
+    },
+    {
+        "id": "20eba032.0d715",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1520.25,
+        "y": 641.9999914169312,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "521a5086.14cc",
+                "91e99105.1b771",
+                "ad0cfd57.99bc5"
+            ]
+        ]
+    },
+    {
+        "id": "521a5086.14cc",
+        "type": "set",
+        "name": "Set error message",
+        "xml": "<set>\n<parameter name='node-error-message' value=\"`'Error while updating the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\" />\n",
+        "comments": "",
+        "x": 1744.7500114440918,
+        "y": 563.2500305175781,
+        "z": "f559ad98.b8693",
+        "wires": []
+    },
+    {
+        "id": "d23e8d46.32801",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1520.7500629425049,
+        "y": 704.9999961853027,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "3e69c586.3bd81a",
+                "91e99105.1b771",
+                "ad0cfd57.99bc5"
+            ]
+        ]
+    },
+    {
+        "id": "3e69c586.3bd81a",
+        "type": "set",
+        "name": "Set error message",
+        "xml": "<set>\n<parameter name='node-error-message' value=\"`'Error while updating the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\" />\n",
+        "comments": "",
+        "x": 1745.5000114440918,
+        "y": 609.2500305175781,
+        "z": "f559ad98.b8693",
+        "wires": []
+    },
+    {
+        "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",
+        "comments": "",
+        "outputs": 1,
+        "x": 1059.0000038146973,
+        "y": 122.75003051757812,
+        "z": "f559ad98.b8693",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "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",
+        "comments": "",
+        "outputs": 1,
+        "x": 1116.24995803833,
+        "y": 506.0000057220459,
+        "z": "f559ad98.b8693",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "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",
+        "comments": "",
+        "outputs": 1,
+        "x": 1739.0000114440918,
+        "y": 651.2500305175781,
+        "z": "f559ad98.b8693",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "aa5124a4.42edf8",
+        "type": "set",
+        "name": "set DG parameters",
+        "xml": "<set>\n<parameter name='config.vnf-type' value=\"`$vnf-type`\" />\n<parameter name='config.vnf-name' value=\"`$vnf-name`\" />\n<parameter name='config.protocol' value=\"`$protocol`\" />\n<parameter name='config.host-ip-address' value=\"`$host-ip-address`\" />\n<parameter name='config.user-name' value=\"`$property.user`\" />\n<parameter name='config.password' value=\"`$property.password`\" />\n<parameter name='config.port-number' value=\"`$property.port`\" />\n<parameter name='input.action' value='`$input.action.lcm`' />",
+        "comments": "",
+        "x": 495.6665725708008,
+        "y": 363.41665840148926,
+        "z": "f559ad98.b8693",
+        "wires": []
+    },
+    {
+        "id": "384b0e85.e96e12",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 308.9999885559082,
+        "y": 357.25,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "aa5124a4.42edf8",
+                "18f727b5.1aba48"
+            ]
+        ]
+    },
+    {
+        "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",
+        "comments": "",
+        "outputs": 1,
+        "x": 1587.0000114440918,
+        "y": 767.3333435058594,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "756799b2.127ab8",
+                "d2c8dc26.6753",
+                "a3603572.aa71c8"
+            ]
+        ]
+    },
+    {
+        "id": "756799b2.127ab8",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1939.5000114440918,
+        "y": 721.5833740234375,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "23c677a.c356588"
+            ]
+        ]
+    },
+    {
+        "id": "d2c8dc26.6753",
+        "type": "not-found",
+        "name": "not-found",
+        "xml": "<outcome value='not-found'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1932.0000114440918,
+        "y": 781.5833740234375,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "183025a2.dd2f3a"
+            ]
+        ]
+    },
+    {
+        "id": "23c677a.c356588",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2096.9996452331543,
+        "y": 720.0833740234375,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "73bc0b7b.225044",
+                "7209d921.afe358",
+                "3953bd65.2d7222"
+            ]
+        ]
+    },
+    {
+        "id": "73bc0b7b.225044",
+        "type": "set",
+        "name": "Set error message",
+        "xml": "<set>\n<parameter name='node-error-message' value=\"`'Error while quering the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\"/>\n",
+        "comments": "",
+        "x": 2331.4998893737793,
+        "y": 661.0833740234375,
+        "z": "f559ad98.b8693",
+        "wires": []
+    },
+    {
+        "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",
+        "comments": "",
+        "outputs": 1,
+        "x": 2322.9996452331543,
+        "y": 760.0833740234375,
+        "z": "f559ad98.b8693",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "183025a2.dd2f3a",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2097.2498893737793,
+        "y": 782.5833740234375,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "bab488fc.6d28c8",
+                "7209d921.afe358",
+                "3953bd65.2d7222"
+            ]
+        ]
+    },
+    {
+        "id": "7209d921.afe358",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='`$node-error-message`' />",
+        "comments": "",
+        "x": 2338.2496452331543,
+        "y": 815.3333740234375,
+        "z": "f559ad98.b8693",
+        "wires": []
+    },
+    {
+        "id": "a3603572.aa71c8",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1923.4997177124023,
+        "y": 842.0833988189697,
+        "z": "f559ad98.b8693",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "bab488fc.6d28c8",
+        "type": "set",
+        "name": "Set error message",
+        "xml": "<set>\n<parameter name='node-error-message' value=\"`'Error while quering the running configuration in the repository for vnf-id:' + $input.action-identifiers.vnf-id + ' and Host-ip-address:' + $host-ip-address `\" />\n",
+        "comments": "",
+        "x": 2338.7498893737793,
+        "y": 711.0833740234375,
+        "z": "f559ad98.b8693",
+        "wires": []
+    },
+    {
+        "id": "3bdcbd6e.01b3e2",
+        "type": "execute",
+        "name": "execute params",
+        "xml": " <execute plugin=\"org.onap.appc.encryptiontool.wrapper.EncryptionToolDGWrapper\" method =\"getProperty\">\n <parameter name=\"prefix\" value =\"property\"/>\n\n \n  ",
+        "comments": "",
+        "outputs": 1,
+        "x": 642.2894668579102,
+        "y": 277.7848024368286,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "cb1f79d8.7891d8",
+                "6861fd37.7df344",
+                "4697bcd0.0dec64"
+            ]
+        ]
+    },
+    {
+        "id": "cb1f79d8.7891d8",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 923.8092803955078,
+        "y": 186.4753589630127,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "b7727830.f70c48"
+            ]
+        ]
+    },
+    {
+        "id": "6861fd37.7df344",
+        "type": "not-found",
+        "name": "not-found",
+        "xml": "<outcome value='not-found'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 917.1189308166504,
+        "y": 224.55056953430176,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "b7727830.f70c48"
+            ]
+        ]
+    },
+    {
+        "id": "b7727830.f70c48",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1156.0080337524414,
+        "y": 223.93567276000977,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "559673fe.888d2c",
+                "6c13c721.deff88"
+            ]
+        ]
+    },
+    {
+        "id": "559673fe.888d2c",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status=\"failure\">\n<parameter name='error-code' value=\"500\" />\n<parameter name='error-message' value=\"`$property.error-message`\" />\n<parameter name='input.action' value='`$input.action.lcm`' />",
+        "comments": "",
+        "x": 1328.7062797546387,
+        "y": 246.45551300048828,
+        "z": "f559ad98.b8693",
+        "wires": []
+    },
+    {
+        "id": "9e8ebc01.21a36",
+        "type": "other",
+        "name": "other",
+        "xml": "<outcome value='Other'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 490.0077896118164,
+        "y": 277.59803581237793,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "3bdcbd6e.01b3e2"
+            ]
+        ]
+    },
+    {
+        "id": "7cabaa6e.4a0e94",
+        "type": "switchNode",
+        "name": "switch : Protocol",
+        "xml": "<switch test=\"`$protocol`\">\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 319.4444122314453,
+        "y": 239.00312042236328,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "be889448.d8ff48",
+                "9e8ebc01.21a36"
+            ]
+        ]
+    },
+    {
+        "id": "be889448.d8ff48",
+        "type": "outcome",
+        "name": "CHEF",
+        "xml": "<outcome value='CHEF'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 489.6309585571289,
+        "y": 241.35237169265747,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "bba1a316.5318d"
+            ]
+        ]
+    },
+    {
+        "id": "bba1a316.5318d",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "true",
+        "outputs": 1,
+        "x": 641.1466674804688,
+        "y": 241.11018657684326,
+        "z": "f559ad98.b8693",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "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",
+        "comments": "",
+        "outputs": 1,
+        "x": 1310.5626678466797,
+        "y": 196.81265926361084,
+        "z": "f559ad98.b8693",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "4697bcd0.0dec64",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 896.0903778076172,
+        "y": 261.3960475921631,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "384b0e85.e96e12"
+            ]
+        ]
+    },
+    {
+        "id": "c5cb1412.497a18",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 341.11741638183594,
+        "y": 174.45075607299805,
+        "z": "f559ad98.b8693",
+        "wires": [
+            [
+                "7cabaa6e.4a0e94",
+                "95de0225.d624f",
+                "d50d962a.3fc508"
+            ]
+        ]
+    },
+    {
+        "id": "95de0225.d624f",
+        "type": "set",
+        "name": "set propertyParam",
+        "xml": "<set>\n<parameter name='APPC.protocol.PROTOCOL' value='`$protocol`' />\n<parameter name='input.action' value='GetRunningConfig' />\n\n\n\n\n\n",
+        "comments": "",
+        "x": 564.3396072387695,
+        "y": 206.3396282196045,
+        "z": "f559ad98.b8693",
+        "wires": []
+    },
+    {
+        "id": "d50d962a.3fc508",
+        "type": "set",
+        "name": "set Action_variable",
+        "xml": "<set>\n<parameter name='input.action.lcm' value='`$input.action`' />\n\n\n\n",
+        "comments": "",
+        "x": 565.0055809020996,
+        "y": 170.00568962097168,
+        "z": "f559ad98.b8693",
+        "wires": []
+    }
+]
\ No newline at end of file