Updates to config directed graph bundle
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / Dispatcher-DG / APPC_method_Generic_Audit_2.0.0.json
index 3e16338..2aedf4b 100644 (file)
-[\r
-    {\r
-        "id": "81a02ecc.e61b6",\r
-        "type": "dgstart",\r
-        "name": "DGSTART",\r
-        "outputs": 1,\r
-        "x": 119.66666412353516,\r
-        "y": 84.08333426713943,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "98597336.3c647"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "98597336.3c647",\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": 299.66666412353516,\r
-        "y": 84.08333426713943,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "3dddb84a.a123f8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "3dddb84a.a123f8",\r
-        "type": "method",\r
-        "name": "Generic_Audit",\r
-        "xml": "<method rpc='Generic_Audit' mode='sync'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 478.66666412353516,\r
-        "y": 84.08333426713943,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "d043d660.7cbce8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "7490fc55.b23eb4",\r
-        "type": "get-resource",\r
-        "name": "Retrieve current config details",\r
-        "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"SELECT service_description, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address , content FROM UPLOAD_CONFIG WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator='Current' AND (pending_delete IS NULL OR pending_delete != 'Y')\" pfx=\"currnt-config[]\">",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 458.08617401123047,\r
-        "y": 480.8665657043457,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "dceb4c56.95345",\r
-                "a55ef9f.1845d08",\r
-                "7c43698a.2b9eb8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "7c43698a.2b9eb8",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 733.3759384155273,\r
-        "y": 418.58686447143555,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "90511868.d5a528"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "dceb4c56.95345",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 740.3759994506836,\r
-        "y": 483.3646430969238,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "867bd8aa.3a55e8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a55ef9f.1845d08",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 672.5982284545898,\r
-        "y": 533.0313148498535,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "30e459ed.1b9986"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "7eaffd91.5e2494",\r
-        "type": "execute",\r
-        "name": "Report Error to DCAE",\r
-        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1195.2260360717773,\r
-        "y": 496.9629249572754,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "2bbc2c8c.227ae4",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",\r
-        "comments": "",\r
-        "x": 1189.986717224121,\r
-        "y": 542.1509742736816,\r
-        "z": "f16b4873.701568",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "2c17d4fd.27bcac",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='error-message' value=\"`'Current configuration not found in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>",\r
-        "comments": "",\r
-        "x": 1180.593650817871,\r
-        "y": 411.1424140930176,\r
-        "z": "f16b4873.701568",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "d4c8b998.7b4678",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='error-message' value=\"`'Error while retrieving current configuration from the repository for the vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",\r
-        "comments": "",\r
-        "x": 1182.2346420288086,\r
-        "y": 368.0569190979004,\r
-        "z": "f16b4873.701568",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "90511868.d5a528",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 894.4568099975586,\r
-        "y": 417.4757499694824,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "d4c8b998.7b4678",\r
-                "7eaffd91.5e2494",\r
-                "2bbc2c8c.227ae4",\r
-                "ac51bff5.352e5"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "867bd8aa.3a55e8",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 905.0124130249023,\r
-        "y": 481.2535285949707,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "2c17d4fd.27bcac",\r
-                "7eaffd91.5e2494",\r
-                "2bbc2c8c.227ae4",\r
-                "ac51bff5.352e5"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "30e459ed.1b9986",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 302.56404876708984,\r
-        "y": 631.1004371643066,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "b79fac1d.f13e1",\r
-                "925cca6f.85b738",\r
-                "a844b2a2.8681f",\r
-                "dda489b7.a7bc78"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b79fac1d.f13e1",\r
-        "type": "for",\r
-        "name": "for each current config",\r
-        "xml": "<for index=\"i\" start=\"0\" end=\"`$currnt-config_length`\" >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 530.6324081420898,\r
-        "y": 631.4679908752441,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "67f30b25.070c24"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "eb62c9d8.e05988",\r
-        "type": "set",\r
-        "name": "Set context",\r
-        "xml": "<set>\n<parameter name='service-description' value=\"`$currnt-config[$i].service-description`\" />\n<parameter name='vm-name' value=\"`$currnt-config[$i].vm-name`\" />\n<parameter name='vnf-type' value=\"`$currnt-config[$i].vnf-type`\" />\n<parameter name='vnfc-type' value=\"`$currnt-config[$i].vnfc-type`\" />\n<parameter name='host-ip-address' value=\"`$currnt-config[$i].host-ip-address`\" />\n<parameter name='vnf-name' value=\"`$currnt-config[$i].vnf-name`\" />\n<parameter name='current-config' value=\"`$currnt-config[$i].content`\" />\n\n",\r
-        "comments": "",\r
-        "x": 806.4786605834961,\r
-        "y": 609.6987953186035,\r
-        "z": "f16b4873.701568",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "c66c9b28.d58e38",\r
-        "type": "call",\r
-        "name": "Call Retrieve running Config DG",\r
-        "xml": "<call rpc='GetRunningConfig' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 857.4786605834961,\r
-        "y": 666.6988258361816,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "e6375b8c.512fa8",\r
-                "b4636b56.55a038",\r
-                "67a55747.3e2588"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "67f30b25.070c24",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 552.7863082885742,\r
-        "y": 729.6218299865723,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "eb62c9d8.e05988",\r
-                "c66c9b28.d58e38",\r
-                "1a5aec1c.ab3e44",\r
-                "58111dc9.5f25b4",\r
-                "b86d049a.13a1b8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e6375b8c.512fa8",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1118.5898056030273,\r
-        "y": 613.6987342834473,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "5a971e26.a7171"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b4636b56.55a038",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1119.0341415405273,\r
-        "y": 666.6988258361816,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "bd38a484.bd0a98"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "67a55747.3e2588",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1123.1452865600586,\r
-        "y": 710.8098487854004,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "5a971e26.a7171",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1268.145408630371,\r
-        "y": 613.6987342834473,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "72158f5.d06fd7",\r
-                "580bd65f.53d9c8",\r
-                "c4fa8668.3392a8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "bd38a484.bd0a98",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1270.478660583496,\r
-        "y": 664.5876808166504,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "c433e537.6d3cf8",\r
-                "72158f5.d06fd7",\r
-                "580bd65f.53d9c8",\r
-                "c4fa8668.3392a8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "c433e537.6d3cf8",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='error-message' value='DG to retrieve running configuration not found'/>",\r
-        "comments": "",\r
-        "x": 1512.7009506225586,\r
-        "y": 639.5876808166504,\r
-        "z": "f16b4873.701568",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "580bd65f.53d9c8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>",\r
-        "comments": "",\r
-        "x": 1534.5471725463867,\r
-        "y": 884.4338417053223,\r
-        "z": "f16b4873.701568",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "72158f5.d06fd7",\r
-        "type": "execute",\r
-        "name": "Report Error to DCAE",\r
-        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1548.5471420288086,\r
-        "y": 806.4338111877441,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "752bb299.feb57c",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 250.66664123535156,\r
-        "y": 412.99244117736816,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "7490fc55.b23eb4",\r
-                "7c0de445.f1cc6c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ac51bff5.352e5",\r
-        "type": "record",\r
-        "name": "Log error",\r
-        "xml": "<record plugin=\"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=\"`$error-message`\"/>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1153.3589096069336,\r
-        "y": 454.77563858032227,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "c4fa8668.3392a8",\r
-        "type": "record",\r
-        "name": "Log error",\r
-        "xml": "<record plugin=\"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=\"`$error-message`\"/>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1493.024314880371,\r
-        "y": 765.1839942932129,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "7c0de445.f1cc6c",\r
-        "type": "record",\r
-        "name": "Log message",\r
-        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Retrieving current configuration details from the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 440.08553314208984,\r
-        "y": 414.57805252075195,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "925cca6f.85b738",\r
-        "type": "record",\r
-        "name": "Log message",\r
-        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Audit action successful for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 524.6198310852051,\r
-        "y": 1553.2725563049316,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "a844b2a2.8681f",\r
-        "type": "returnSuccess",\r
-        "name": "return success",\r
-        "xml": "<return status='success'>\n",\r
-        "comments": "",\r
-        "x": 502.4659614562988,\r
-        "y": 1623.2724342346191,\r
-        "z": "f16b4873.701568",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "a97ef4e9.131748",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1059.9563827514648,\r
-        "y": 923.8037452697754,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "7f859626.3ecfd8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "8225d505.2c9498",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1063.9565048217773,\r
-        "y": 978.5815773010254,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "bde3e23.e488b2"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "57cfd6f7.764c38",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 926.1786422729492,\r
-        "y": 1035.2482738494873,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "fb928b6.eef3f78"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "bde3e23.e488b2",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1348.5930557250977,\r
-        "y": 974.4703979492188,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "1d860eb4.38f4b1",\r
-                "e4322d3b.8d1ab",\r
-                "9380a644.f57908",\r
-                "a832eaf1.bc4ea8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "7f859626.3ecfd8",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1348.0373153686523,\r
-        "y": 923.692569732666,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "e4322d3b.8d1ab",\r
-                "9380a644.f57908",\r
-                "a832eaf1.bc4ea8",\r
-                "1d860eb4.38f4b1"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "1d860eb4.38f4b1",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='error-message' value=\"`'Error comparing current and running configuration for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n<parameter name='error-code' value='500'/>",\r
-        "comments": "",\r
-        "x": 1638.1741561889648,\r
-        "y": 973.3591957092285,\r
-        "z": "f16b4873.701568",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "fb928b6.eef3f78",\r
-        "type": "switchNode",\r
-        "name": "switch",\r
-        "xml": "<switch test='`$STATUS`'>",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1053.6667098999023,\r
-        "y": 1070.083408355713,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "8e39a0cd.ee399",\r
-                "d61b176c.169178",\r
-                "fd1426ee.97bc68"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "8e39a0cd.ee399",\r
-        "type": "success",\r
-        "name": "no match",\r
-        "xml": "<outcome value='FAILURE'>",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1209.6667098999023,\r
-        "y": 1071.833408355713,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "328dd4e4.27801c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "328dd4e4.27801c",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1372.666790008545,\r
-        "y": 1085.0833568572998,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "e4322d3b.8d1ab",\r
-                "9380a644.f57908",\r
-                "a832eaf1.bc4ea8",\r
-                "764e8614.57f5c8",\r
-                "5aeed919.b83438",\r
-                "93ba279d.5bcbb8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "77ff9a98.2bf224",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1353.6667098999023,\r
-        "y": 1033.5833778381348,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "e4322d3b.8d1ab",\r
-                "9380a644.f57908",\r
-                "a832eaf1.bc4ea8",\r
-                "1d860eb4.38f4b1"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e4322d3b.8d1ab",\r
-        "type": "record",\r
-        "name": "Log error",\r
-        "xml": "<record plugin=\"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=\"`$Error-Message`\"/>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1624.6667098999023,\r
-        "y": 1100.083408355713,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "9380a644.f57908",\r
-        "type": "execute",\r
-        "name": "Report Error to DCAE",\r
-        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1645.5338973999023,\r
-        "y": 1201.2707862854004,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "a832eaf1.bc4ea8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value=\"`$error-code`\"/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",\r
-        "comments": "",\r
-        "x": 1715.2946853637695,\r
-        "y": 1460.458869934082,\r
-        "z": "f16b4873.701568",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "1a5aec1c.ab3e44",\r
-        "type": "execute",\r
-        "name": "Compare",\r
-        "xml": "<execute plugin='onap.onap.sdnc.config.audit.node.CompareNode' method='compare' >\n<parameter name='sourceDataType' value=\"Current\" />\n<parameter name='sourceData' value=\"`$current-config`\" />\n<parameter name='targetDataType' value=\"Running\" />\n<parameter name='targetData' value=\"`$running-config.content`\" />\n<parameter name='compareDataType' value=\"`$protocol`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 769.6667098999023,\r
-        "y": 967.0834083557129,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "a97ef4e9.131748",\r
-                "8225d505.2c9498",\r
-                "57cfd6f7.764c38"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "764e8614.57f5c8",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='error-message' value=\"`$Error-Message`\"/>\n<parameter name='error-code' value=\"`$Error-code`\"/>\n",\r
-        "comments": "",\r
-        "x": 1637.6666793823242,\r
-        "y": 1052.0833187103271,\r
-        "z": "f16b4873.701568",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "87b58856.047f68",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='error-message' value=\"`'Running configuration not found in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>",\r
-        "comments": "",\r
-        "x": 1513.1740951538086,\r
-        "y": 727.0833473205566,\r
-        "z": "f16b4873.701568",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "f549e445.f74888",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='error-message' value=\"`'Error while retrieving running configuration from the repository for the vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",\r
-        "comments": "",\r
-        "x": 1507.815086364746,\r
-        "y": 680.9978675842285,\r
-        "z": "f16b4873.701568",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "6cdf93fd.27cd0c",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1274.037239074707,\r
-        "y": 747.416690826416,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "f549e445.f74888",\r
-                "c4fa8668.3392a8",\r
-                "72158f5.d06fd7",\r
-                "580bd65f.53d9c8",\r
-                "b79736f.f56eac8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "cea9c726.916838",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1281.592903137207,\r
-        "y": 797.1944618225098,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "87b58856.047f68",\r
-                "c4fa8668.3392a8",\r
-                "72158f5.d06fd7",\r
-                "580bd65f.53d9c8",\r
-                "b79736f.f56eac8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "183d6159.f57e3f",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1127.956428527832,\r
-        "y": 797.3055458068848,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "cea9c726.916838"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "4f9c33fe.ee7c6c",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1128.9562454223633,\r
-        "y": 749.5278053283691,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "6cdf93fd.27cd0c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "58111dc9.5f25b4",\r
-        "type": "get-resource",\r
-        "name": "Retrieve Running config details DB",\r
-        "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\" SELECT upload_config_id, request_id, originator_id, service_description, action, upload_date, vnf_id, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address, config_indicator, pending_delete ,content FROM UPLOAD_CONFIG WHERE UPLOAD_CONFIG_ID = $runningConfig.UPLOAD-CONFIG-ID\" pfx=\"running-config\" >",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 865.6666488647461,\r
-        "y": 793.8074684143066,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "183d6159.f57e3f",\r
-                "4f9c33fe.ee7c6c",\r
-                "5fa98c15.aa8b74"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "5fa98c15.aa8b74",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1126.6665115356445,\r
-        "y": 847.0833778381348,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "d61b176c.169178",\r
-        "type": "success",\r
-        "name": "match",\r
-        "xml": "<outcome value='SUCCESS'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1202.6667175292969,\r
-        "y": 1132.0834693908691,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "5584c2d4.ec7c8c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "fd1426ee.97bc68",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1213.6667098999023,\r
-        "y": 1027.083408355713,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "77ff9a98.2bf224"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b86d049a.13a1b8",\r
-        "type": "set",\r
-        "name": "Set Running Config ID",\r
-        "xml": "<set>\n<parameter name='output.payload.upload-config-id[$i]' value='`$runningConfig.UPLOAD-CONFIG-ID`' />",\r
-        "comments": "",\r
-        "x": 845.7777938842773,\r
-        "y": 728.4167518615723,\r
-        "z": "f16b4873.701568",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "dda489b7.a7bc78",\r
-        "type": "execute",\r
-        "name": "Generate output payload",\r
-        "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 593.8887214660645,\r
-        "y": 1493.5281105041504,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "96b89330.eeb7f",\r
-                "23bea1a6.82114e",\r
-                "dabc8dd4.4c031"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "96b89330.eeb7f",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 823.888843536377,\r
-        "y": 1431.5280494689941,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "5584053a.68313c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "23bea1a6.82114e",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 835.888843536377,\r
-        "y": 1494.5281105041504,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "5584053a.68313c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "dabc8dd4.4c031",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 830.8887214660645,\r
-        "y": 1558.5280494689941,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "5584053a.68313c",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1025.555591583252,\r
-        "y": 1494.5280494689941,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "2fc5495.ed614b6",\r
-                "34834985.8ba986"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "34834985.8ba986",\r
-        "type": "execute",\r
-        "name": "Report error to DCAE",\r
-        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1270.460132598877,\r
-        "y": 1496.9089088439941,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "2fc5495.ed614b6",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",\r
-        "comments": "",\r
-        "x": 1257.888599395752,\r
-        "y": 1549.0517311096191,\r
-        "z": "f16b4873.701568",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "5aeed919.b83438",\r
-        "type": "execute",\r
-        "name": "Generate output payload",\r
-        "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1674.3334579467773,\r
-        "y": 1149.5278358459473,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "2f4b01d0.23640e",\r
-                "fc0cdc70.37ff2",\r
-                "bf7d7229.c2d58"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "2f4b01d0.23640e",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1893.3335494995117,\r
-        "y": 1115.527744293213,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "db92eec9.b5f62"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "fc0cdc70.37ff2",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1895.3335494995117,\r
-        "y": 1161.5278663635254,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "db92eec9.b5f62"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "bf7d7229.c2d58",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1895.3334579467773,\r
-        "y": 1204.5277137756348,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "db92eec9.b5f62",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2088.0002975463867,\r
-        "y": 1136.527744293213,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "e04cb8f.eb7b748",\r
-                "254d3066.a4bc5"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "254d3066.a4bc5",\r
-        "type": "execute",\r
-        "name": "Report error to DCAE",\r
-        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2286.904960632324,\r
-        "y": 1093.908603668213,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "e04cb8f.eb7b748",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",\r
-        "comments": "",\r
-        "x": 2263.333427429199,\r
-        "y": 1181.051670074463,\r
-        "z": "f16b4873.701568",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "b79736f.f56eac8",\r
-        "type": "execute",\r
-        "name": "Generate output payload",\r
-        "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1561.1111373901367,\r
-        "y": 843.416690826416,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "97850b52.a31cd8",\r
-                "41d36ebc.ba016",\r
-                "e6d25885.e4e788"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "97850b52.a31cd8",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1805.111228942871,\r
-        "y": 809.4165992736816,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "847cbebd.ab185"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "41d36ebc.ba016",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1807.111228942871,\r
-        "y": 855.4167213439941,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "847cbebd.ab185"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e6d25885.e4e788",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1807.1111373901367,\r
-        "y": 898.4165687561035,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "847cbebd.ab185",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1999.777976989746,\r
-        "y": 830.4165992736816,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "e2703a71.5e2d08",\r
-                "7312ce6e.051b1"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "7312ce6e.051b1",\r
-        "type": "execute",\r
-        "name": "Report error to DCAE",\r
-        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2198.6826400756836,\r
-        "y": 787.7974586486816,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "e2703a71.5e2d08",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",\r
-        "comments": "",\r
-        "x": 2175.1111068725586,\r
-        "y": 874.9405250549316,\r
-        "z": "f16b4873.701568",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "5584c2d4.ec7c8c",\r
-        "type": "switchNode",\r
-        "name": "switch",\r
-        "xml": "<switch test='`$Publish_Config`'>",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1240.1670684814453,\r
-        "y": 1266.083574295044,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "b07cce86.c2267",\r
-                "54d48804.2f6488"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b07cce86.c2267",\r
-        "type": "outcome",\r
-        "name": "Outcome: y",\r
-        "xml": "<outcome value='y'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1414.1669692993164,\r
-        "y": 1246.7502841949463,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "93ba279d.5bcbb8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "54d48804.2f6488",\r
-        "type": "outcome",\r
-        "name": "Outcome: Y",\r
-        "xml": "<outcome value='Y'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1411.0838241577148,\r
-        "y": 1289.833547592163,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "93ba279d.5bcbb8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "93ba279d.5bcbb8",\r
-        "type": "execute",\r
-        "name": "execute CvaasDataIntoContext",\r
-        "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='cvaasFileNameAndFileContentToContext' >\n<parameter name=\"cvaas-directory-path\" value=\"/opt/app/bvc/cvaas\" />\n<parameter name=\"appc-instance-id\" value=\"appc001\" />\n<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1769.583999633789,\r
-        "y": 1298.8338718414307,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "4f8601db.1cc81",\r
-                "d4ee7229.fae85"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "4f8601db.1cc81",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2036.8341751098633,\r
-        "y": 1299.8340373039246,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "17c3243e.6f760c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "17c3243e.6f760c",\r
-        "type": "record",\r
-        "name": "record cvass",\r
-        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"`$cvaas-file-name`\"/>\n<parameter name=\"record\" value=\"`$cvaas-file-content`\"/>",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2219.349090576172,\r
-        "y": 1307.599196434021,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "1befff30.f1b281",\r
-                "e5a0a1ba.78591"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "1befff30.f1b281",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2469.364891052246,\r
-        "y": 1320.3642568588257,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "d4049805.d34618"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e5a0a1ba.78591",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2471.3645401000977,\r
-        "y": 1369.364426612854,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "d4049805.d34618"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d4049805.d34618",\r
-        "type": "execute",\r
-        "name": "execute CheckFileCreated",\r
-        "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='checkFileCreated' >\n<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2706.364604949951,\r
-        "y": 1343.3643054962158,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "8587844.5a70378",\r
-                "13a60653.f2418a"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "8587844.5a70378",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2956.850357055664,\r
-        "y": 1421.5993309020996,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "a89beb23.e0d968",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3162.849021911621,\r
-        "y": 1374.5991201400757,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "6c7eaa88.024dc4",\r
-                "fd02487c.77b308",\r
-                "e5102b5c.3b53c8",\r
-                "45de7390.486dfc"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "6c7eaa88.024dc4",\r
-        "type": "set",\r
-        "name": "Set error message",\r
-        "xml": "<set>\n<parameter name='error-message' value=\"`'Cvass file could not be created'`\"/>",\r
-        "comments": "",\r
-        "x": 3427.404800415039,\r
-        "y": 1313.487928390503,\r
-        "z": "f16b4873.701568",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "fd02487c.77b308",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$output.status.message`\"/>",\r
-        "comments": "",\r
-        "x": 3404.251720428467,\r
-        "y": 1498.3346118927002,\r
-        "z": "f16b4873.701568",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "e5102b5c.3b53c8",\r
-        "type": "execute",\r
-        "name": "OutputMessageBuilder",\r
-        "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3436.0007400512695,\r
-        "y": 1429.4880809783936,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "89703cbf.30313"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "89703cbf.30313",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3634.1327743530273,\r
-        "y": 1436.0382852554321,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "892031d3.9e1bd"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "892031d3.9e1bd",\r
-        "type": "execute",\r
-        "name": "Report error to DCAE",\r
-        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3835.000331878662,\r
-        "y": 1436.4882678985596,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "45de7390.486dfc",\r
-        "type": "record",\r
-        "name": "Log error",\r
-        "xml": "<record plugin=\"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=\"`$error-message`\"/>",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3399.500015258789,\r
-        "y": 1378.4880485534668,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "d4ee7229.fae85",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2056.666831970215,\r
-        "y": 1465.0834197998047,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "86d0a871.815158"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a2c9685e.16d318",\r
-        "type": "execute",\r
-        "name": "OutputMessageBuilder",\r
-        "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2398.667205810547,\r
-        "y": 1463.083589553833,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "d7d7645d.5e76c8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d7d7645d.5e76c8",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2604.79891204834,\r
-        "y": 1463.6331634521484,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "80effa9c.33fce8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "80effa9c.33fce8",\r
-        "type": "execute",\r
-        "name": "Report Error to DCAE",\r
-        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2812.7992248535156,\r
-        "y": 1464.633376121521,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "86d0a871.815158",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2208.666831970215,\r
-        "y": 1465.0834197998047,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "a2c9685e.16d318",\r
-                "897e770a.605f58"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "897e770a.605f58",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$output.status.message`\"/>",\r
-        "comments": "",\r
-        "x": 2371.666831970215,\r
-        "y": 1552.0834197998047,\r
-        "z": "f16b4873.701568",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "d043d660.7cbce8",\r
-        "type": "execute",\r
-        "name": "Set payload in Context",\r
-        "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 738.6666793823242,\r
-        "y": 86.75000667572021,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "3c42bbb1.da71f4",\r
-                "d63e629f.39f9",\r
-                "17b5a1dd.0754de",\r
-                "4fad0fe1.40343"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d63e629f.39f9",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1033.666648864746,\r
-        "y": 20,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "51284245.e89c1c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "17b5a1dd.0754de",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1034.666648864746,\r
-        "y": 70,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "51284245.e89c1c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "4fad0fe1.40343",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1027.666648864746,\r
-        "y": 125.00001525878906,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "51284245.e89c1c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "3c42bbb1.da71f4",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1024.6667098999023,\r
-        "y": 180.7500114440918,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "752bb299.feb57c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "51284245.e89c1c",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1241.3332901000977,\r
-        "y": 113.00000190734863,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "41523e11.c90e9",\r
-                "a9abc91a.956e38"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a9abc91a.956e38",\r
-        "type": "execute",\r
-        "name": "OutputMessageBuilder",\r
-        "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failure in flattening payload Json\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1471.666358947754,\r
-        "y": 64.88888740539551,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "10f72f11.953841"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "41523e11.c90e9",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",\r
-        "comments": "",\r
-        "x": 1438.6662368774414,\r
-        "y": 113.52372932434082,\r
-        "z": "f16b4873.701568",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "10f72f11.953841",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1679.7613906860352,\r
-        "y": 64.17462348937988,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "789d293f.1e9dc8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "789d293f.1e9dc8",\r
-        "type": "execute",\r
-        "name": "Report Error to DCAE",\r
-        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1881.3329238891602,\r
-        "y": 63.88888740539551,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "13a60653.f2418a",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3001.3334045410156,\r
-        "y": 1327.9999796748161,\r
-        "z": "f16b4873.701568",\r
-        "wires": [\r
-            [\r
-                "a89beb23.e0d968"\r
-            ]\r
-        ]\r
-    }\r
-]\r
+[
+    {
+        "id": "81a02ecc.e61b6",
+        "type": "dgstart",
+        "name": "DGSTART",
+        "outputs": 1,
+        "x": 119.66666412353516,
+        "y": 84.08333426713943,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "98597336.3c647"
+            ]
+        ]
+    },
+    {
+        "id": "98597336.3c647",
+        "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": 299.66666412353516,
+        "y": 84.08333426713943,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "3dddb84a.a123f8"
+            ]
+        ]
+    },
+    {
+        "id": "3dddb84a.a123f8",
+        "type": "method",
+        "name": "Generic_Audit",
+        "xml": "<method rpc='Generic_Audit' mode='sync'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 478.66666412353516,
+        "y": 84.08333426713943,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "d043d660.7cbce8"
+            ]
+        ]
+    },
+    {
+        "id": "7490fc55.b23eb4",
+        "type": "get-resource",
+        "name": "Retrieve current config details",
+        "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\"SELECT service_description, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address , content FROM UPLOAD_CONFIG WHERE vnf_id = $input.action-identifiers.vnf-id AND config_indicator='Current' AND (pending_delete IS NULL OR pending_delete != 'Y')\" pfx=\"currnt-config[]\">",
+        "comments": "",
+        "outputs": 1,
+        "x": 458.08617401123047,
+        "y": 480.8665657043457,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "dceb4c56.95345",
+                "a55ef9f.1845d08",
+                "7c43698a.2b9eb8"
+            ]
+        ]
+    },
+    {
+        "id": "7c43698a.2b9eb8",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 733.3759384155273,
+        "y": 418.58686447143555,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "90511868.d5a528"
+            ]
+        ]
+    },
+    {
+        "id": "dceb4c56.95345",
+        "type": "not-found",
+        "name": "not-found",
+        "xml": "<outcome value='not-found'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 740.3759994506836,
+        "y": 483.3646430969238,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "867bd8aa.3a55e8"
+            ]
+        ]
+    },
+    {
+        "id": "a55ef9f.1845d08",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 672.5982284545898,
+        "y": 533.0313148498535,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "30e459ed.1b9986"
+            ]
+        ]
+    },
+    {
+        "id": "7eaffd91.5e2494",
+        "type": "execute",
+        "name": "Report Error to DCAE",
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1195.2260360717773,
+        "y": 496.9629249572754,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2bbc2c8c.227ae4",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
+        "comments": "",
+        "x": 1189.986717224121,
+        "y": 542.1509742736816,
+        "z": "f16b4873.701568",
+        "wires": []
+    },
+    {
+        "id": "2c17d4fd.27bcac",
+        "type": "set",
+        "name": "Set error message",
+        "xml": "<set>\n<parameter name='error-message' value=\"`'Current configuration not found in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>",
+        "comments": "",
+        "x": 1180.593650817871,
+        "y": 411.1424140930176,
+        "z": "f16b4873.701568",
+        "wires": []
+    },
+    {
+        "id": "d4c8b998.7b4678",
+        "type": "set",
+        "name": "Set error message",
+        "xml": "<set>\n<parameter name='error-message' value=\"`'Error while retrieving current configuration from the repository for the vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+        "comments": "",
+        "x": 1182.2346420288086,
+        "y": 368.0569190979004,
+        "z": "f16b4873.701568",
+        "wires": []
+    },
+    {
+        "id": "90511868.d5a528",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 894.4568099975586,
+        "y": 417.4757499694824,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "d4c8b998.7b4678",
+                "7eaffd91.5e2494",
+                "2bbc2c8c.227ae4",
+                "ac51bff5.352e5"
+            ]
+        ]
+    },
+    {
+        "id": "867bd8aa.3a55e8",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 905.0124130249023,
+        "y": 481.2535285949707,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "2c17d4fd.27bcac",
+                "7eaffd91.5e2494",
+                "2bbc2c8c.227ae4",
+                "ac51bff5.352e5"
+            ]
+        ]
+    },
+    {
+        "id": "30e459ed.1b9986",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 302.56404876708984,
+        "y": 631.1004371643066,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "b79fac1d.f13e1",
+                "925cca6f.85b738",
+                "a844b2a2.8681f",
+                "dda489b7.a7bc78"
+            ]
+        ]
+    },
+    {
+        "id": "b79fac1d.f13e1",
+        "type": "for",
+        "name": "for each current config",
+        "xml": "<for index=\"i\" start=\"0\" end=\"`$currnt-config_length`\" >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 530.6324081420898,
+        "y": 631.4679908752441,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "67f30b25.070c24"
+            ]
+        ]
+    },
+    {
+        "id": "eb62c9d8.e05988",
+        "type": "set",
+        "name": "Set context",
+        "xml": "<set>\n<parameter name='service-description' value=\"`$currnt-config[$i].service-description`\" />\n<parameter name='vm-name' value=\"`$currnt-config[$i].vm-name`\" />\n<parameter name='vnf-type' value=\"`$currnt-config[$i].vnf-type`\" />\n<parameter name='vnfc-type' value=\"`$currnt-config[$i].vnfc-type`\" />\n<parameter name='host-ip-address' value=\"`$currnt-config[$i].host-ip-address`\" />\n<parameter name='vnf-name' value=\"`$currnt-config[$i].vnf-name`\" />\n<parameter name='current-config' value=\"`$currnt-config[$i].content`\" />\n\n",
+        "comments": "",
+        "x": 806.4786605834961,
+        "y": 609.6987953186035,
+        "z": "f16b4873.701568",
+        "wires": []
+    },
+    {
+        "id": "c66c9b28.d58e38",
+        "type": "call",
+        "name": "Call Retrieve running Config DG",
+        "xml": "<call rpc='GetRunningConfig' mode='sync' >\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 857.4786605834961,
+        "y": 666.6988258361816,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "e6375b8c.512fa8",
+                "b4636b56.55a038",
+                "67a55747.3e2588"
+            ]
+        ]
+    },
+    {
+        "id": "67f30b25.070c24",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 552.7863082885742,
+        "y": 729.6218299865723,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "eb62c9d8.e05988",
+                "c66c9b28.d58e38",
+                "1a5aec1c.ab3e44",
+                "58111dc9.5f25b4",
+                "b86d049a.13a1b8"
+            ]
+        ]
+    },
+    {
+        "id": "e6375b8c.512fa8",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1118.5898056030273,
+        "y": 613.6987342834473,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "5a971e26.a7171"
+            ]
+        ]
+    },
+    {
+        "id": "b4636b56.55a038",
+        "type": "not-found",
+        "name": "not-found",
+        "xml": "<outcome value='not-found'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1119.0341415405273,
+        "y": 666.6988258361816,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "bd38a484.bd0a98"
+            ]
+        ]
+    },
+    {
+        "id": "67a55747.3e2588",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1123.1452865600586,
+        "y": 710.8098487854004,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5a971e26.a7171",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1268.145408630371,
+        "y": 613.6987342834473,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "72158f5.d06fd7",
+                "580bd65f.53d9c8",
+                "c4fa8668.3392a8"
+            ]
+        ]
+    },
+    {
+        "id": "bd38a484.bd0a98",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1270.478660583496,
+        "y": 664.5876808166504,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "c433e537.6d3cf8",
+                "72158f5.d06fd7",
+                "580bd65f.53d9c8",
+                "c4fa8668.3392a8"
+            ]
+        ]
+    },
+    {
+        "id": "c433e537.6d3cf8",
+        "type": "set",
+        "name": "Set error message",
+        "xml": "<set>\n<parameter name='error-message' value='DG to retrieve running configuration not found'/>",
+        "comments": "",
+        "x": 1512.7009506225586,
+        "y": 639.5876808166504,
+        "z": "f16b4873.701568",
+        "wires": []
+    },
+    {
+        "id": "580bd65f.53d9c8",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+        "comments": "",
+        "x": 1534.5471725463867,
+        "y": 884.4338417053223,
+        "z": "f16b4873.701568",
+        "wires": []
+    },
+    {
+        "id": "72158f5.d06fd7",
+        "type": "execute",
+        "name": "Report Error to DCAE",
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1548.5471420288086,
+        "y": 806.4338111877441,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "752bb299.feb57c",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 250.66664123535156,
+        "y": 412.99244117736816,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "7490fc55.b23eb4",
+                "7c0de445.f1cc6c"
+            ]
+        ]
+    },
+    {
+        "id": "ac51bff5.352e5",
+        "type": "record",
+        "name": "Log error",
+        "xml": "<record plugin=\"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=\"`$error-message`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1153.3589096069336,
+        "y": 454.77563858032227,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "c4fa8668.3392a8",
+        "type": "record",
+        "name": "Log error",
+        "xml": "<record plugin=\"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=\"`$error-message`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1493.024314880371,
+        "y": 765.1839942932129,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "7c0de445.f1cc6c",
+        "type": "record",
+        "name": "Log message",
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Retrieving current configuration details from the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 440.08553314208984,
+        "y": 414.57805252075195,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "925cca6f.85b738",
+        "type": "record",
+        "name": "Log message",
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"debug\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"record\" value=\"`'Audit action successful for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 524.6198310852051,
+        "y": 1553.2725563049316,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a844b2a2.8681f",
+        "type": "returnSuccess",
+        "name": "return success",
+        "xml": "<return status='success'>\n",
+        "comments": "",
+        "x": 502.4659614562988,
+        "y": 1623.2724342346191,
+        "z": "f16b4873.701568",
+        "wires": []
+    },
+    {
+        "id": "a97ef4e9.131748",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1059.9563827514648,
+        "y": 923.8037452697754,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "7f859626.3ecfd8"
+            ]
+        ]
+    },
+    {
+        "id": "8225d505.2c9498",
+        "type": "not-found",
+        "name": "not-found",
+        "xml": "<outcome value='not-found'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1063.9565048217773,
+        "y": 978.5815773010254,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "bde3e23.e488b2"
+            ]
+        ]
+    },
+    {
+        "id": "57cfd6f7.764c38",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 926.1786422729492,
+        "y": 1035.2482738494873,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "fb928b6.eef3f78"
+            ]
+        ]
+    },
+    {
+        "id": "bde3e23.e488b2",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1348.5930557250977,
+        "y": 974.4703979492188,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "1d860eb4.38f4b1",
+                "e4322d3b.8d1ab",
+                "9380a644.f57908",
+                "a832eaf1.bc4ea8"
+            ]
+        ]
+    },
+    {
+        "id": "7f859626.3ecfd8",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1348.0373153686523,
+        "y": 923.692569732666,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "e4322d3b.8d1ab",
+                "9380a644.f57908",
+                "a832eaf1.bc4ea8",
+                "1d860eb4.38f4b1"
+            ]
+        ]
+    },
+    {
+        "id": "1d860eb4.38f4b1",
+        "type": "set",
+        "name": "Set error message",
+        "xml": "<set>\n<parameter name='error-message' value=\"`'Error comparing current and running configuration for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n<parameter name='error-code' value='500'/>",
+        "comments": "",
+        "x": 1638.1741561889648,
+        "y": 973.3591957092285,
+        "z": "f16b4873.701568",
+        "wires": []
+    },
+    {
+        "id": "fb928b6.eef3f78",
+        "type": "switchNode",
+        "name": "switch",
+        "xml": "<switch test='`$STATUS`'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1053.6667098999023,
+        "y": 1070.083408355713,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "8e39a0cd.ee399",
+                "d61b176c.169178",
+                "fd1426ee.97bc68"
+            ]
+        ]
+    },
+    {
+        "id": "8e39a0cd.ee399",
+        "type": "success",
+        "name": "no match",
+        "xml": "<outcome value='FAILURE'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1209.6667098999023,
+        "y": 1071.833408355713,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "328dd4e4.27801c"
+            ]
+        ]
+    },
+    {
+        "id": "328dd4e4.27801c",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1372.666790008545,
+        "y": 1085.0833568572998,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "e4322d3b.8d1ab",
+                "9380a644.f57908",
+                "a832eaf1.bc4ea8",
+                "764e8614.57f5c8",
+                "5aeed919.b83438",
+                "93ba279d.5bcbb8"
+            ]
+        ]
+    },
+    {
+        "id": "77ff9a98.2bf224",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1353.6667098999023,
+        "y": 1033.5833778381348,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "e4322d3b.8d1ab",
+                "9380a644.f57908",
+                "a832eaf1.bc4ea8",
+                "1d860eb4.38f4b1"
+            ]
+        ]
+    },
+    {
+        "id": "e4322d3b.8d1ab",
+        "type": "record",
+        "name": "Log error",
+        "xml": "<record plugin=\"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=\"`$Error-Message`\"/>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1624.6667098999023,
+        "y": 1100.083408355713,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "9380a644.f57908",
+        "type": "execute",
+        "name": "Report Error to DCAE",
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1645.5338973999023,
+        "y": 1201.2707862854004,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a832eaf1.bc4ea8",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='error-code' value=\"`$error-code`\"/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$error-message`\"/>\n",
+        "comments": "",
+        "x": 1715.2946853637695,
+        "y": 1460.458869934082,
+        "z": "f16b4873.701568",
+        "wires": []
+    },
+    {
+        "id": "1a5aec1c.ab3e44",
+        "type": "execute",
+        "name": "Compare",
+        "xml": "<execute plugin='org.onap.sdnc.config.audit.node.CompareNode' method='compare' >\n<parameter name='sourceDataType' value=\"Current\" />\n<parameter name='sourceData' value=\"`$current-config`\" />\n<parameter name='targetDataType' value=\"Running\" />\n<parameter name='targetData' value=\"`$running-config.content`\" />\n<parameter name='compareDataType' value=\"`$protocol`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 769.6667098999023,
+        "y": 967.0834083557129,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "a97ef4e9.131748",
+                "8225d505.2c9498",
+                "57cfd6f7.764c38"
+            ]
+        ]
+    },
+    {
+        "id": "764e8614.57f5c8",
+        "type": "set",
+        "name": "Set error message",
+        "xml": "<set>\n<parameter name='error-message' value=\"`$Error-Message`\"/>\n<parameter name='error-code' value=\"`$Error-code`\"/>\n",
+        "comments": "",
+        "x": 1637.6666793823242,
+        "y": 1052.0833187103271,
+        "z": "f16b4873.701568",
+        "wires": []
+    },
+    {
+        "id": "87b58856.047f68",
+        "type": "set",
+        "name": "Set error message",
+        "xml": "<set>\n<parameter name='error-message' value=\"`'Running configuration not found in the repository for vnf-id: ' + $input.action-identifiers.vnf-id`\"/>",
+        "comments": "",
+        "x": 1513.1740951538086,
+        "y": 727.0833473205566,
+        "z": "f16b4873.701568",
+        "wires": []
+    },
+    {
+        "id": "f549e445.f74888",
+        "type": "set",
+        "name": "Set error message",
+        "xml": "<set>\n<parameter name='error-message' value=\"`'Error while retrieving running configuration from the repository for the vnf-id: ' + $input.action-identifiers.vnf-id`\"/>\n",
+        "comments": "",
+        "x": 1507.815086364746,
+        "y": 680.9978675842285,
+        "z": "f16b4873.701568",
+        "wires": []
+    },
+    {
+        "id": "6cdf93fd.27cd0c",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1274.037239074707,
+        "y": 747.416690826416,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "f549e445.f74888",
+                "c4fa8668.3392a8",
+                "72158f5.d06fd7",
+                "580bd65f.53d9c8",
+                "b79736f.f56eac8"
+            ]
+        ]
+    },
+    {
+        "id": "cea9c726.916838",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>\n",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 1281.592903137207,
+        "y": 797.1944618225098,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "87b58856.047f68",
+                "c4fa8668.3392a8",
+                "72158f5.d06fd7",
+                "580bd65f.53d9c8",
+                "b79736f.f56eac8"
+            ]
+        ]
+    },
+    {
+        "id": "183d6159.f57e3f",
+        "type": "not-found",
+        "name": "not-found",
+        "xml": "<outcome value='not-found'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1127.956428527832,
+        "y": 797.3055458068848,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "cea9c726.916838"
+            ]
+        ]
+    },
+    {
+        "id": "4f9c33fe.ee7c6c",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1128.9562454223633,
+        "y": 749.5278053283691,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "6cdf93fd.27cd0c"
+            ]
+        ]
+    },
+    {
+        "id": "58111dc9.5f25b4",
+        "type": "get-resource",
+        "name": "Retrieve Running config details DB",
+        "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL' key=\" SELECT upload_config_id, request_id, originator_id, service_description, action, upload_date, vnf_id, vnf_name, vm_name, vnf_type, vnfc_type, host_ip_address, config_indicator, pending_delete ,content FROM UPLOAD_CONFIG WHERE UPLOAD_CONFIG_ID = $runningConfig.UPLOAD-CONFIG-ID\" pfx=\"running-config\" >",
+        "comments": "",
+        "outputs": 1,
+        "x": 865.6666488647461,
+        "y": 793.8074684143066,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "183d6159.f57e3f",
+                "4f9c33fe.ee7c6c",
+                "5fa98c15.aa8b74"
+            ]
+        ]
+    },
+    {
+        "id": "5fa98c15.aa8b74",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1126.6665115356445,
+        "y": 847.0833778381348,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d61b176c.169178",
+        "type": "success",
+        "name": "match",
+        "xml": "<outcome value='SUCCESS'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1202.6667175292969,
+        "y": 1132.0834693908691,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "5584c2d4.ec7c8c"
+            ]
+        ]
+    },
+    {
+        "id": "fd1426ee.97bc68",
+        "type": "not-found",
+        "name": "not-found",
+        "xml": "<outcome value='not-found'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1213.6667098999023,
+        "y": 1027.083408355713,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "77ff9a98.2bf224"
+            ]
+        ]
+    },
+    {
+        "id": "b86d049a.13a1b8",
+        "type": "set",
+        "name": "Set Running Config ID",
+        "xml": "<set>\n<parameter name='output.payload.upload-config-id[$i]' value='`$runningConfig.UPLOAD-CONFIG-ID`' />",
+        "comments": "",
+        "x": 845.7777938842773,
+        "y": 728.4167518615723,
+        "z": "f16b4873.701568",
+        "wires": []
+    },
+    {
+        "id": "dda489b7.a7bc78",
+        "type": "execute",
+        "name": "Generate output payload",
+        "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
+        "comments": "",
+        "outputs": 1,
+        "x": 593.8887214660645,
+        "y": 1493.5281105041504,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "96b89330.eeb7f",
+                "23bea1a6.82114e",
+                "dabc8dd4.4c031"
+            ]
+        ]
+    },
+    {
+        "id": "96b89330.eeb7f",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 823.888843536377,
+        "y": 1431.5280494689941,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "5584053a.68313c"
+            ]
+        ]
+    },
+    {
+        "id": "23bea1a6.82114e",
+        "type": "not-found",
+        "name": "not-found",
+        "xml": "<outcome value='not-found'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 835.888843536377,
+        "y": 1494.5281105041504,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "5584053a.68313c"
+            ]
+        ]
+    },
+    {
+        "id": "dabc8dd4.4c031",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 830.8887214660645,
+        "y": 1558.5280494689941,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "5584053a.68313c",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1025.555591583252,
+        "y": 1494.5280494689941,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "2fc5495.ed614b6",
+                "34834985.8ba986"
+            ]
+        ]
+    },
+    {
+        "id": "34834985.8ba986",
+        "type": "execute",
+        "name": "Report error to DCAE",
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1270.460132598877,
+        "y": 1496.9089088439941,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "2fc5495.ed614b6",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+        "comments": "",
+        "x": 1257.888599395752,
+        "y": 1549.0517311096191,
+        "z": "f16b4873.701568",
+        "wires": []
+    },
+    {
+        "id": "5aeed919.b83438",
+        "type": "execute",
+        "name": "Generate output payload",
+        "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
+        "comments": "",
+        "outputs": 1,
+        "x": 1674.3334579467773,
+        "y": 1149.5278358459473,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "2f4b01d0.23640e",
+                "fc0cdc70.37ff2",
+                "bf7d7229.c2d58"
+            ]
+        ]
+    },
+    {
+        "id": "2f4b01d0.23640e",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1893.3335494995117,
+        "y": 1115.527744293213,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "db92eec9.b5f62"
+            ]
+        ]
+    },
+    {
+        "id": "fc0cdc70.37ff2",
+        "type": "not-found",
+        "name": "not-found",
+        "xml": "<outcome value='not-found'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1895.3335494995117,
+        "y": 1161.5278663635254,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "db92eec9.b5f62"
+            ]
+        ]
+    },
+    {
+        "id": "bf7d7229.c2d58",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1895.3334579467773,
+        "y": 1204.5277137756348,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "db92eec9.b5f62",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 2088.0002975463867,
+        "y": 1136.527744293213,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "e04cb8f.eb7b748",
+                "254d3066.a4bc5"
+            ]
+        ]
+    },
+    {
+        "id": "254d3066.a4bc5",
+        "type": "execute",
+        "name": "Report error to DCAE",
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2286.904960632324,
+        "y": 1093.908603668213,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e04cb8f.eb7b748",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+        "comments": "",
+        "x": 2263.333427429199,
+        "y": 1181.051670074463,
+        "z": "f16b4873.701568",
+        "wires": []
+    },
+    {
+        "id": "b79736f.f56eac8",
+        "type": "execute",
+        "name": "Generate output payload",
+        "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='generateOutputPayloadFromContext' >",
+        "comments": "",
+        "outputs": 1,
+        "x": 1561.1111373901367,
+        "y": 843.416690826416,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "97850b52.a31cd8",
+                "41d36ebc.ba016",
+                "e6d25885.e4e788"
+            ]
+        ]
+    },
+    {
+        "id": "97850b52.a31cd8",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1805.111228942871,
+        "y": 809.4165992736816,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "847cbebd.ab185"
+            ]
+        ]
+    },
+    {
+        "id": "41d36ebc.ba016",
+        "type": "not-found",
+        "name": "not-found",
+        "xml": "<outcome value='not-found'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1807.111228942871,
+        "y": 855.4167213439941,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "847cbebd.ab185"
+            ]
+        ]
+    },
+    {
+        "id": "e6d25885.e4e788",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1807.1111373901367,
+        "y": 898.4165687561035,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "847cbebd.ab185",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1999.777976989746,
+        "y": 830.4165992736816,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "e2703a71.5e2d08",
+                "7312ce6e.051b1"
+            ]
+        ]
+    },
+    {
+        "id": "7312ce6e.051b1",
+        "type": "execute",
+        "name": "Report error to DCAE",
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure while generating output payload JSON\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2198.6826400756836,
+        "y": 787.7974586486816,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e2703a71.5e2d08",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+        "comments": "",
+        "x": 2175.1111068725586,
+        "y": 874.9405250549316,
+        "z": "f16b4873.701568",
+        "wires": []
+    },
+    {
+        "id": "5584c2d4.ec7c8c",
+        "type": "switchNode",
+        "name": "switch",
+        "xml": "<switch test='`$Publish_Config`'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 1240.1670684814453,
+        "y": 1266.083574295044,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "b07cce86.c2267",
+                "54d48804.2f6488"
+            ]
+        ]
+    },
+    {
+        "id": "b07cce86.c2267",
+        "type": "outcome",
+        "name": "Outcome: y",
+        "xml": "<outcome value='y'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1414.1669692993164,
+        "y": 1246.7502841949463,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "93ba279d.5bcbb8"
+            ]
+        ]
+    },
+    {
+        "id": "54d48804.2f6488",
+        "type": "outcome",
+        "name": "Outcome: Y",
+        "xml": "<outcome value='Y'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1411.0838241577148,
+        "y": 1289.833547592163,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "93ba279d.5bcbb8"
+            ]
+        ]
+    },
+    {
+        "id": "93ba279d.5bcbb8",
+        "type": "execute",
+        "name": "execute CvaasDataIntoContext",
+        "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='cvaasFileNameAndFileContentToContext' >\n<parameter name=\"cvaas-directory-path\" value=\"/opt/app/bvc/cvaas\" />\n<parameter name=\"appc-instance-id\" value=\"appc001\" />\n<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1769.583999633789,
+        "y": 1298.8338718414307,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "4f8601db.1cc81",
+                "d4ee7229.fae85"
+            ]
+        ]
+    },
+    {
+        "id": "4f8601db.1cc81",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2036.8341751098633,
+        "y": 1299.8340373039246,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "17c3243e.6f760c"
+            ]
+        ]
+    },
+    {
+        "id": "17c3243e.6f760c",
+        "type": "record",
+        "name": "record cvass",
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"`$cvaas-file-name`\"/>\n<parameter name=\"record\" value=\"`$cvaas-file-content`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2219.349090576172,
+        "y": 1307.599196434021,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "1befff30.f1b281",
+                "e5a0a1ba.78591"
+            ]
+        ]
+    },
+    {
+        "id": "1befff30.f1b281",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2469.364891052246,
+        "y": 1320.3642568588257,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "d4049805.d34618"
+            ]
+        ]
+    },
+    {
+        "id": "e5a0a1ba.78591",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2471.3645401000977,
+        "y": 1369.364426612854,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "d4049805.d34618"
+            ]
+        ]
+    },
+    {
+        "id": "d4049805.d34618",
+        "type": "execute",
+        "name": "execute CheckFileCreated",
+        "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='checkFileCreated' >\n<parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2706.364604949951,
+        "y": 1343.3643054962158,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "8587844.5a70378",
+                "13a60653.f2418a"
+            ]
+        ]
+    },
+    {
+        "id": "8587844.5a70378",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2956.850357055664,
+        "y": 1421.5993309020996,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "a89beb23.e0d968",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 3162.849021911621,
+        "y": 1374.5991201400757,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "6c7eaa88.024dc4",
+                "fd02487c.77b308",
+                "e5102b5c.3b53c8",
+                "45de7390.486dfc"
+            ]
+        ]
+    },
+    {
+        "id": "6c7eaa88.024dc4",
+        "type": "set",
+        "name": "Set error message",
+        "xml": "<set>\n<parameter name='error-message' value=\"`'Cvass file could not be created'`\"/>",
+        "comments": "",
+        "x": 3427.404800415039,
+        "y": 1313.487928390503,
+        "z": "f16b4873.701568",
+        "wires": []
+    },
+    {
+        "id": "fd02487c.77b308",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$output.status.message`\"/>",
+        "comments": "",
+        "x": 3404.251720428467,
+        "y": 1498.3346118927002,
+        "z": "f16b4873.701568",
+        "wires": []
+    },
+    {
+        "id": "e5102b5c.3b53c8",
+        "type": "execute",
+        "name": "OutputMessageBuilder",
+        "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 3436.0007400512695,
+        "y": 1429.4880809783936,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "89703cbf.30313"
+            ]
+        ]
+    },
+    {
+        "id": "89703cbf.30313",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3634.1327743530273,
+        "y": 1436.0382852554321,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "892031d3.9e1bd"
+            ]
+        ]
+    },
+    {
+        "id": "892031d3.9e1bd",
+        "type": "execute",
+        "name": "Report error to DCAE",
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3835.000331878662,
+        "y": 1436.4882678985596,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "45de7390.486dfc",
+        "type": "record",
+        "name": "Log error",
+        "xml": "<record plugin=\"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=\"`$error-message`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 3399.500015258789,
+        "y": 1378.4880485534668,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "d4ee7229.fae85",
+        "type": "other",
+        "name": "other",
+        "xml": "<outcome value='Other'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2056.666831970215,
+        "y": 1465.0834197998047,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "86d0a871.815158"
+            ]
+        ]
+    },
+    {
+        "id": "a2c9685e.16d318",
+        "type": "execute",
+        "name": "OutputMessageBuilder",
+        "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 2398.667205810547,
+        "y": 1463.083589553833,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "d7d7645d.5e76c8"
+            ]
+        ]
+    },
+    {
+        "id": "d7d7645d.5e76c8",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 2604.79891204834,
+        "y": 1463.6331634521484,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "80effa9c.33fce8"
+            ]
+        ]
+    },
+    {
+        "id": "80effa9c.33fce8",
+        "type": "execute",
+        "name": "Report Error to DCAE",
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name='output.status.message' value=\"`$error-message`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 2812.7992248535156,
+        "y": 1464.633376121521,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "86d0a871.815158",
+        "type": "block",
+        "name": "block",
+        "xml": "<block>",
+        "atomic": "false",
+        "comments": "",
+        "outputs": 1,
+        "x": 2208.666831970215,
+        "y": 1465.0834197998047,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "a2c9685e.16d318",
+                "897e770a.605f58"
+            ]
+        ]
+    },
+    {
+        "id": "897e770a.605f58",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name='error-code' value='401'/>\n<parameter name='error-message' value=\"`$error-message`\"/>\n<parameter name='output.status.code' value='401'/>\n<parameter name='output.status.message' value=\"`$output.status.message`\"/>",
+        "comments": "",
+        "x": 2371.666831970215,
+        "y": 1552.0834197998047,
+        "z": "f16b4873.701568",
+        "wires": []
+    },
+    {
+        "id": "d043d660.7cbce8",
+        "type": "execute",
+        "name": "Set payload in Context",
+        "xml": "<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 738.6666793823242,
+        "y": 86.75000667572021,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "3c42bbb1.da71f4",
+                "d63e629f.39f9",
+                "17b5a1dd.0754de",
+                "4fad0fe1.40343"
+            ]
+        ]
+    },
+    {
+        "id": "d63e629f.39f9",
+        "type": "other",
+        "name": "other",
+        "xml": "<outcome value='Other'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1033.666648864746,
+        "y": 20,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "51284245.e89c1c"
+            ]
+        ]
+    },
+    {
+        "id": "17b5a1dd.0754de",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1034.666648864746,
+        "y": 70,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "51284245.e89c1c"
+            ]
+        ]
+    },
+    {
+        "id": "4fad0fe1.40343",
+        "type": "not-found",
+        "name": "not-found",
+        "xml": "<outcome value='not-found'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1027.666648864746,
+        "y": 125.00001525878906,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "51284245.e89c1c"
+            ]
+        ]
+    },
+    {
+        "id": "3c42bbb1.da71f4",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1024.6667098999023,
+        "y": 180.7500114440918,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "752bb299.feb57c"
+            ]
+        ]
+    },
+    {
+        "id": "51284245.e89c1c",
+        "type": "block",
+        "name": "block",
+        "xml": "<block atomic='true'>",
+        "atomic": "true",
+        "comments": "",
+        "outputs": 1,
+        "x": 1241.3332901000977,
+        "y": 113.00000190734863,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "41523e11.c90e9",
+                "a9abc91a.956e38"
+            ]
+        ]
+    },
+    {
+        "id": "a9abc91a.956e38",
+        "type": "execute",
+        "name": "OutputMessageBuilder",
+        "xml": "<execute plugin='org.onap.appc.dg.common.OutputMessagePlugin' method='outputMessageBuilder' >\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n<parameter name=\"event-message\" value=\"Failure in flattening payload Json\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1471.666358947754,
+        "y": 64.88888740539551,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "10f72f11.953841"
+            ]
+        ]
+    },
+    {
+        "id": "41523e11.c90e9",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n<parameter name=\"output.status.message\" value=\"Failure in flattening payload Json\" />",
+        "comments": "",
+        "x": 1438.6662368774414,
+        "y": 113.52372932434082,
+        "z": "f16b4873.701568",
+        "wires": []
+    },
+    {
+        "id": "10f72f11.953841",
+        "type": "success",
+        "name": "success",
+        "xml": "<outcome value='success'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 1679.7613906860352,
+        "y": 64.17462348937988,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "789d293f.1e9dc8"
+            ]
+        ]
+    },
+    {
+        "id": "789d293f.1e9dc8",
+        "type": "execute",
+        "name": "Report Error to DCAE",
+        "xml": "<execute plugin='org.onap.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"event-message\" value=\"`$event-message`\" />",
+        "comments": "",
+        "outputs": 1,
+        "x": 1881.3329238891602,
+        "y": 63.88888740539551,
+        "z": "f16b4873.701568",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "13a60653.f2418a",
+        "type": "failure",
+        "name": "failure",
+        "xml": "<outcome value='failure'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 3001.3334045410156,
+        "y": 1327.9999796748161,
+        "z": "f16b4873.701568",
+        "wires": [
+            [
+                "a89beb23.e0d968"
+            ]
+        ]
+    }
+]
\ No newline at end of file