Fix for config not able to save in DB
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / APPC / APPC_GetTemplateConfig_Ansible.json
index d2f2af2..db324b5 100644 (file)
-[\r
-    {\r
-        "id": "5803aa79.45b404",\r
-        "type": "method",\r
-        "name": "method GetTemplateConfig_Ansible",\r
-        "xml": "<method rpc='GetTemplateConfig_Ansible' mode='sync'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 588.7499847412109,\r
-        "y": 107.5,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            [\r
-                "b3dc5912.de0548"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "35047526.e59a1a",\r
-        "type": "dgstart",\r
-        "name": "DGSTART",\r
-        "outputs": 1,\r
-        "x": 127.0594711303711,\r
-        "y": 106.5714282989502,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            [\r
-                "2ac38826.404d58"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "2ac38826.404d58",\r
-        "type": "service-logic",\r
-        "name": "APPC 4.0.0",\r
-        "module": "APPC",\r
-        "version": "4.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='4.0.0'>",\r
-        "outputs": 1,\r
-        "x": 325.2023391723633,\r
-        "y": 104.14286041259766,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            [\r
-                "5803aa79.45b404"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "7e21bb0c.03de44",\r
-        "type": "execute",\r
-        "name": "execute getTemplate",\r
-        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplate\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 419.70245361328125,\r
-        "y": 319.5358352661133,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            [\r
-                "54cd3796.95a458",\r
-                "90f2178d.ba27c8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "90f2178d.ba27c8",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 694.059513092041,\r
-        "y": 361.0000648498535,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            [\r
-                "5392ab8b.3b7874"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "5392ab8b.3b7874",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 885.7896118164062,\r
-        "y": 362.1429262161255,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            [\r
-                "d978e419.70a338"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d978e419.70a338",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$config-template.error-message`\"/>\n\t\n\t\n\t",\r
-        "comments": "",\r
-        "x": 1115.4563827514648,\r
-        "y": 364.9206962585449,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "54cd3796.95a458",\r
-        "type": "failure",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 700.583324432373,\r
-        "y": 283.6667594909668,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            [\r
-                "e0937d2c.970ef"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e0937d2c.970ef",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 884.916576385498,\r
-        "y": 288.0000877380371,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            [\r
-                "9df2fa59.e3b388"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b3dc5912.de0548",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 156.20235061645508,\r
-        "y": 342.5000410079956,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            [\r
-                "7e21bb0c.03de44",\r
-                "941be79f.807ed8",\r
-                "7b6affbc.ca3f"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ebd8afae.4253d",\r
-        "type": "not-found",\r
-        "name": "found",\r
-        "xml": "<outcome value='found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1145.6310234069824,\r
-        "y": 448.46429920196533,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            [\r
-                "b022a59b.66efe8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "8ced2749.1c0918",\r
-        "type": "other",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1149.7382049560547,\r
-        "y": 517.2143268585205,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            [\r
-                "bb3ddb29.67e8a8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "941be79f.807ed8",\r
-        "type": "call",\r
-        "name": "call  Generic_AnsibleDG",\r
-        "xml": "<call module='APPC' rpc='Generic_AnsibleDG' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 324.91674041748047,\r
-        "y": 606.8571729660034,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            [\r
-                "f0ca9dc.a029d6",\r
-                "c14fa4fe.f59ef8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b022a59b.66efe8",\r
-        "type": "call",\r
-        "name": "call  MergeTemplateData",\r
-        "xml": "<call module='APPC' rpc='MergeTemplateData' mode='sync' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1352.857192993164,\r
-        "y": 447.1428565979004,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "18d834e5.32eb1b",\r
-        "type": "execute",\r
-        "name": "execute getTemplate Parameter_definition",\r
-        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplateByVnfTypeNAction\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 878.5714721679688,\r
-        "y": 471.4286117553711,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            [\r
-                "ebd8afae.4253d",\r
-                "8ced2749.1c0918"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "bb3ddb29.67e8a8",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 1361.4285202026367,\r
-        "y": 528.5714836120605,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "f0ca9dc.a029d6",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 562.8571891784668,\r
-        "y": 657.1429481506348,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            [\r
-                "4d19c7fd.436708"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "4d19c7fd.436708",\r
-        "type": "returnSuccess",\r
-        "name": "return success",\r
-        "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n<parameter name='output.status.code' value='`$output.status.code`' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n",\r
-        "comments": "",\r
-        "x": 780.5716171264648,\r
-        "y": 663.5714693069458,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "c14fa4fe.f59ef8",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 547.1428833007812,\r
-        "y": 558.5713958740234,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            [\r
-                "55b4f534.292e5c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "55b4f534.292e5c",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='output.status.code' value='200' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n",\r
-        "comments": "",\r
-        "x": 798.571403503418,\r
-        "y": 574.28564453125,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "9df2fa59.e3b388",\r
-        "type": "execute",\r
-        "name": "execute: getAnsibleRunningConfig",\r
-        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFilesByVnfActionNCategory\">\n<parameter name=\"fileCategory\" value=\"device_configuration\" />\n<parameter name='vnfname' value=\"`$config.vnf-name`\" />\n<parameter name='action' value=\"`$config.action`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.deviceconfig\" />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1141.6666107177734,\r
-        "y": 200.00000953674316,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            [\r
-                "44e9bc7b.8cfb94",\r
-                "15aafa2c.198166",\r
-                "5aacae79.29154"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "5aacae79.29154",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1287.6666412353516,\r
-        "y": 281.9999647140503,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            [\r
-                "8117d87b.2808a8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "8117d87b.2808a8",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1450.6666412353516,\r
-        "y": 281.9999647140503,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            [\r
-                "b514f44.0458208"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "15aafa2c.198166",\r
-        "type": "other",\r
-        "name": "other",\r
-        "xml": "<outcome value='Other'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1435.6666412353516,\r
-        "y": 224.9999647140503,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "44e9bc7b.8cfb94",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1441.3333206176758,\r
-        "y": 162.6666498184204,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            [\r
-                "5e2afb10.22e314"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b514f44.0458208",\r
-        "type": "returnSuccess",\r
-        "name": "return success",\r
-        "xml": "<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n",\r
-        "comments": "",\r
-        "x": 1653.6666412353516,\r
-        "y": 283.9999647140503,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "5e2afb10.22e314",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1617.3333206176758,\r
-        "y": 166.6666498184204,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": [\r
-            [\r
-                "bd876721.641cc8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "bd876721.641cc8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n",\r
-        "comments": "",\r
-        "x": 1809.3333206176758,\r
-        "y": 159.6666498184204,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "7b6affbc.ca3f",\r
-        "type": "set",\r
-        "name": "set tmp.message",\r
-        "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n",\r
-        "comments": "",\r
-        "x": 308.75404357910156,\r
-        "y": 702.3611240386963,\r
-        "z": "b2b332b8.ecb4c",\r
-        "wires": []\r
-    }\r
-]\r
+[{
+    "id": "64298fa7.6eab",
+    "type": "method",
+    "name": "method GetTemplateConfig_Ansible",
+    "xml": "<method rpc='GetTemplateConfig_Ansible' mode='sync'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 524.6905136108398,
+    "y": 54.78571152687073,
+    "z": "c635d405.112438",
+    "wires": [["a16f990d.bfbc08"]]
+},
+{
+    "id": "3d83a335.a950bc",
+    "type": "dgstart",
+    "name": "DGSTART",
+    "outputs": 1,
+    "x": 107.28571319580078,
+    "y": 79.57142734527588,
+    "z": "c635d405.112438",
+    "wires": [["9a8e0176.09715"]]
+},
+{
+    "id": "9a8e0176.09715",
+    "type": "service-logic",
+    "name": "APPC 4.0.0",
+    "module": "APPC",
+    "version": "4.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='4.0.0'>",
+    "outputs": 1,
+    "x": 261.1428680419922,
+    "y": 51.428571939468384,
+    "z": "c635d405.112438",
+    "wires": [["64298fa7.6eab"]]
+},
+{
+    "id": "831c9f31.a8932",
+    "type": "execute",
+    "name": "execute getTemplate",
+    "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplate\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />",
+    "comments": "",
+    "outputs": 1,
+    "x": 355.64298248291016,
+    "y": 266.821546792984,
+    "z": "c635d405.112438",
+    "wires": [["a0e75486.1eda18",
+    "17e6919.76d9a6e",
+    "3a927737.d59708"]]
+},
+{
+    "id": "a16f990d.bfbc08",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "comments": "",
+    "outputs": 1,
+    "x": 92.14287948608398,
+    "y": 289.78575253486633,
+    "z": "c635d405.112438",
+    "wires": [["831c9f31.a8932",
+    "23f2fdd7.5ac712",
+    "25358328.a7b87c"]]
+},
+{
+    "id": "708b7296.ea5c5c",
+    "type": "not-found",
+    "name": "found",
+    "xml": "<outcome value='found'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1081.5715522766113,
+    "y": 395.75001072883606,
+    "z": "c635d405.112438",
+    "wires": [["aa984fc9.ceff4"]]
+},
+{
+    "id": "996ddcaa.b670e",
+    "type": "other",
+    "name": "not-found",
+    "xml": "<outcome value='not-found'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1085.6787338256836,
+    "y": 464.50003838539124,
+    "z": "c635d405.112438",
+    "wires": [["5ebec77e.195338"]]
+},
+{
+    "id": "39b0035c.ce94cc",
+    "type": "call",
+    "name": "call  Generic_AnsibleDG",
+    "xml": "<call module='APPC' rpc='Generic_AnsibleDG' mode='sync' >\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 499.4287109375,
+    "y": 541.2857456207275,
+    "z": "c635d405.112438",
+    "wires": [["907fdc28.d558",
+    "507c8a3d.c26e24"]]
+},
+{
+    "id": "aa984fc9.ceff4",
+    "type": "call",
+    "name": "call  MergeTemplateData",
+    "xml": "<call module='APPC' rpc='MergeTemplateData' mode='sync' >\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1288.797721862793,
+    "y": 394.4285681247711,
+    "z": "c635d405.112438",
+    "wires": [[]]
+},
+{
+    "id": "45c7ff98.f908f",
+    "type": "execute",
+    "name": "execute getTemplate Parameter_definition",
+    "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getTemplateByVnfTypeNAction\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />",
+    "comments": "",
+    "outputs": 1,
+    "x": 814.5120010375977,
+    "y": 418.7143232822418,
+    "z": "c635d405.112438",
+    "wires": [["708b7296.ea5c5c",
+    "996ddcaa.b670e"]]
+},
+{
+    "id": "5ebec77e.195338",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 1297.3690490722656,
+    "y": 475.8571951389313,
+    "z": "c635d405.112438",
+    "wires": [[]]
+},
+{
+    "id": "23f2fdd7.5ac712",
+    "type": "set",
+    "name": "Set Action",
+    "xml": "<set>\n<parameter name='request-action' value=\"GetRunningConfig\" />\n",
+    "comments": "",
+    "x": 338.5714416503906,
+    "y": 216.2857208251953,
+    "z": "c635d405.112438",
+    "wires": []
+},
+{
+    "id": "532324b8.7607ac",
+    "type": "success",
+    "name": "success",
+    "xml": "<outcome value='success'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1164.5235786437988,
+    "y": 311.4285583496094,
+    "z": "c635d405.112438",
+    "wires": [["81881f82.e8718"]]
+},
+{
+    "id": "37db39ee.479f96",
+    "type": "failure",
+    "name": "failure",
+    "xml": "<outcome value='failure'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 1252.4759407043457,
+    "y": 193.52384042739868,
+    "z": "c635d405.112438",
+    "wires": [["17934b5e.863a65"]]
+},
+{
+    "id": "17934b5e.863a65",
+    "type": "block",
+    "name": "block",
+    "xml": "<block>\n",
+    "atomic": "false",
+    "comments": "",
+    "outputs": 1,
+    "x": 1428.4759407043457,
+    "y": 197.52384042739868,
+    "z": "c635d405.112438",
+    "wires": [[]]
+},
+{
+    "id": "17e6919.76d9a6e",
+    "type": "failure",
+    "name": "failure",
+    "xml": "<outcome value='failure'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 561.952520098005,
+    "y": 293.3333697319031,
+    "z": "c635d405.112438",
+    "wires": [["ed2accea.93295"]]
+},
+{
+    "id": "a0e75486.1eda18",
+    "type": "failure",
+    "name": "not-found",
+    "xml": "<outcome value='not-found'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 568.4763314383371,
+    "y": 216.00006437301636,
+    "z": "c635d405.112438",
+    "wires": [["ed2accea.93295"]]
+},
+{
+    "id": "ed2accea.93295",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 762.809585571289,
+    "y": 323.190541267395,
+    "z": "c635d405.112438",
+    "wires": [["aa4b0b45.5fc018"]]
+},
+{
+    "id": "aa4b0b45.5fc018",
+    "type": "get-resource",
+    "name": "get-resource: APPC.GetRunningConfig",
+    "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n    key=\"SELECT FILE_CONTENT FROM CONFIGFILES WHERE FILE_CATEGORY = 'device_configuration' AND VNF_NAME = $vnf-name\n    \t\tAND ACTION IN ('Configure', 'ConfigModify', 'ConfigRestore') \n    \t\tAND CREATION_DATE IN (SELECT MAX(CREATION_DATE) FROM CONFIGFILES) ;\"\n    force='true'\n\tpfx='APPC.GetRunningConfig'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 955.5713500976561,
+    "y": 250.52385759353638,
+    "z": "c635d405.112438",
+    "wires": [["37db39ee.479f96",
+    "532324b8.7607ac"]]
+},
+{
+    "id": "81881f82.e8718",
+    "type": "set",
+    "name": "set GetRunningConfig",
+    "xml": "<set>\n<parameter name='APPC.GetRunningConfig' value='`$APPC.GetRunningConfig.FILE-CONTENT`' />\n\n\n\n\n\n",
+    "comments": "",
+    "x": 1421.8570861816406,
+    "y": 314.52384090423584,
+    "z": "c635d405.112438",
+    "wires": []
+},
+{
+    "id": "3a927737.d59708",
+    "type": "success",
+    "name": "success",
+    "xml": "<outcome value='success'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 437.85711669921875,
+    "y": 374.80954572132646,
+    "z": "c635d405.112438",
+    "wires": [["60cc2251.f2ed4c"]]
+},
+{
+    "id": "60cc2251.f2ed4c",
+    "type": "block",
+    "name": "block : atomic",
+    "xml": "<block atomic=\"true\">",
+    "atomic": "true",
+    "outputs": 1,
+    "x": 400,
+    "y": 442.8571472167969,
+    "z": "c635d405.112438",
+    "wires": [["39b0035c.ce94cc"]]
+},
+{
+    "id": "507c8a3d.c26e24",
+    "type": "success",
+    "name": "success",
+    "xml": "<outcome value='success'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 700.0000495910645,
+    "y": 615.714298248291,
+    "z": "c635d405.112438",
+    "wires": [["90bce11.187a52"]]
+},
+{
+    "id": "90bce11.187a52",
+    "type": "returnSuccess",
+    "name": "return success",
+    "xml": "<return status='success'>\n<parameter name='APPC.GetRunningConfig' value=\"`$APPC.GetRunningConfig`\" />\n<parameter name='output.status.code' value='`$output.status.code`' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n",
+    "comments": "",
+    "x": 941.4288787841797,
+    "y": 619.285683631897,
+    "z": "c635d405.112438",
+    "wires": []
+},
+{
+    "id": "907fdc28.d558",
+    "type": "failure",
+    "name": "failure",
+    "xml": "<outcome value='failure'>\n",
+    "comments": "",
+    "outputs": 1,
+    "x": 754.2857551574707,
+    "y": 514.2855968475342,
+    "z": "c635d405.112438",
+    "wires": [["689e0447.d7db4c"]]
+},
+{
+    "id": "689e0447.d7db4c",
+    "type": "returnFailure",
+    "name": "return failure",
+    "xml": "<return status='failure'>\n<parameter name='output.status.code' value='`$output.status.code`' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n",
+    "comments": "",
+    "x": 1002.9999923706055,
+    "y": 545.7141237258911,
+    "z": "c635d405.112438",
+    "wires": []
+},
+{
+    "id": "3190acbd.5b74a4",
+    "type": "comment",
+    "name": "Change of getDeviceRunningConfig",
+    "info": "Need to change getDeviceRunningconfig when chef returns configuartion.\n\nRight now just returning deviceRunningConfig",
+    "comments": "",
+    "x": 862.7621231079102,
+    "y": 662.0952320098877,
+    "z": "c635d405.112438",
+    "wires": []
+},
+{
+    "id": "25358328.a7b87c",
+    "type": "set",
+    "name": "set tmp.message",
+    "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n<parameter name='request-action' value=\"`$input.action`\" />\n",
+    "comments": "",
+    "x": 340,
+    "y": 722.5714111328125,
+    "z": "c635d405.112438",
+    "wires": []
+}]