APPC Generic Saltstack DG addition
[appc.git] / appc-directed-graph / appc-dgraph / provider / src / main / resources / json / APPC / APPC_CheckConfigStatus.json
index dd07392..5206869 100644 (file)
@@ -1 +1,746 @@
-[{"id":"106f1811.00d7f8","type":"not-found","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":541.6666259765625,"y":274,"z":"fcbb9888.37da88","wires":[["aa91d71.164a828"]]},{"id":"ba538e68.3fffc","type":"dgstart","name":"DGSTART","outputs":1,"x":191.6666259765625,"y":103,"z":"fcbb9888.37da88","wires":[["99bedc14.e0ea6"]]},{"id":"99bedc14.e0ea6","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":367.6666259765625,"y":100,"z":"fcbb9888.37da88","wires":[["9569d318.33ae1"]]},{"id":"9569d318.33ae1","type":"method","name":"method CheckConfigStatus","xml":"<method rpc='CheckConfigStatus' mode='sync'>\n","comments":"","outputs":1,"x":595.6666259765625,"y":101,"z":"fcbb9888.37da88","wires":[["1d7bf2cd.2246ad"]]},{"id":"beea047c.66a218","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":191.6666259765625,"y":231,"z":"fcbb9888.37da88","wires":[["c1a4aa3d.35dfa8","498b7be.6025a84"]]},{"id":"813ad4a9.666118","type":"failure","name":"Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":529.6666259765625,"y":459.3333349227905,"z":"fcbb9888.37da88","wires":[["20644748.1c68c8"]]},{"id":"20644748.1c68c8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":679.6666259765625,"y":461.3333349227905,"z":"fcbb9888.37da88","wires":[["1813e90b.add1c7"]]},{"id":"c1a4aa3d.35dfa8","type":"configure","name":"configure: SftpAdaptor: GetConfig Success ","xml":"<configure adaptor=\"org.onap.appc.ccadaptor.ConfigComponentAdaptor\" key=\"get\">\n<parameter name=\"host\" value=\"`$vnf-host-ip-address`\"/>\n<parameter name=\"loginId\" value=\"`$device-authentication.USER-NAME`\"/>\n<parameter name=\"password\" value=\"`$device-authentication.PASSWORD`\"/>\n<parameter name=\"fullPathFileName\" value=\"`$configfilereference-success.TARGET-FILE-PATH`\"/>\t\n\n","comments":"","outputs":1,"x":262.3332824707031,"y":367.33333015441895,"z":"fcbb9888.37da88","wires":[["106f1811.00d7f8","813ad4a9.666118","44876ee3.fc9e2"]]},{"id":"1813e90b.add1c7","type":"configure","name":"configure: SftpAdaptor: GetConfig Failure","xml":"<configure adaptor=\"org.onap.appc.ccadaptor.ConfigComponentAdaptor\" key=\"get\">\n<parameter name=\"host\" value=\"`$vnf-host-ip-address`\"/>\n<parameter name=\"loginId\" value=\"`$device-authentication.USER-NAME`\"/>\n<parameter name=\"password\" value=\"`$device-authentication.PASSWORD`\"/>\n<parameter name=\"fullPathFileName\" value=\"`$configfilereference-failure.TARGET-FILE-PATH`\"/>\n","comments":"","outputs":1,"x":934.6666259765625,"y":461.3333349227905,"z":"fcbb9888.37da88","wires":[["c9e9d49f.3027a8","215ca65e.28efea","54a1451e.6ee1bc"]]},{"id":"c9e9d49f.3027a8","type":"not-found","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":618.6666259765625,"y":571,"z":"fcbb9888.37da88","wires":[["9e7471e8.24d1d"]]},{"id":"9e7471e8.24d1d","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":785.6666259765625,"y":574,"z":"fcbb9888.37da88","wires":[["9e02dd6f.a11ce"]]},{"id":"9e02dd6f.a11ce","type":"configure","name":"configure: SftpAdaptor: GetConfig FailureLog","xml":"<configure adaptor=\"org.onap.appc.ccadaptor.ConfigComponentAdaptor\" key=\"get\">\n<parameter name=\"host\" value=\"`$vnf-host-ip-address`\"/>\n<parameter name=\"loginId\" value=\"`$device-authentication.USER-NAME`\"/>\n<parameter name=\"password\" value=\"`$device-authentication.PASSWORD`\"/>\n<parameter name=\"fullPathFileName\" value=\"`$configfilereference-log.TARGET-FILE-PATH`\"/>\n\n","comments":"","outputs":1,"x":1065.6666259765625,"y":578,"z":"fcbb9888.37da88","wires":[["f57ae80d.b71178","d8f1078c.618768"]]},{"id":"f57ae80d.b71178","type":"not-found","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1366.6666259765625,"y":533,"z":"fcbb9888.37da88","wires":[["13117340.32ae0d"]]},{"id":"215ca65e.28efea","type":"failure","name":"Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":641.6666259765625,"y":910,"z":"fcbb9888.37da88","wires":[["bc8232f9.8eda9"]]},{"id":"c6e699ae.8aa998","type":"comment","name":"No Success or Failure found","info":"","comments":"","x":298.1666259765625,"y":775,"z":"fcbb9888.37da88","wires":[]},{"id":"9e84d5f0.0dfc98","type":"for","name":"for: check status 10 times","xml":"<for index=\"i\" start=\"0\" end=\"10\" >","comments":"","outputs":1,"x":428.6666259765625,"y":158,"z":"fcbb9888.37da88","wires":[["beea047c.66a218"]]},{"id":"1d7bf2cd.2246ad","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":198.6666259765625,"y":160,"z":"fcbb9888.37da88","wires":[["9e84d5f0.0dfc98"]]},{"id":"1e2c906.043db7","type":"switchNode","name":"switch: Max retries done?","xml":"<switch test=\"`$i`\">\n","comments":"","outputs":1,"x":1012.6666259765625,"y":903,"z":"fcbb9888.37da88","wires":[["e551d9.3207ee28","45310507.9bc52c"]]},{"id":"e551d9.3207ee28","type":"other","name":"outcome: 9","xml":"<outcome value='9'>\n","comments":"","outputs":1,"x":1264.6666259765625,"y":891,"z":"fcbb9888.37da88","wires":[["395a778a.a9c948"]]},{"id":"395a778a.a9c948","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1450.6666259765625,"y":885,"z":"fcbb9888.37da88","wires":[["3ad5063d.6732ea"]]},{"id":"bc8232f9.8eda9","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":805.6666259765625,"y":909,"z":"fcbb9888.37da88","wires":[["1e2c906.043db7"]]},{"id":"d7e4f931.ffe0d8","type":"comment","name":"Return Failure so that it exits immediately","info":"Error Code and message reflect the status\nReturning success doesnt exit the loop","comments":"","x":918.1666259765625,"y":227,"z":"fcbb9888.37da88","wires":[]},{"id":"3ad5063d.6732ea","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Configuration Failed. No configuration success or error file found on the device\" />\n<parameter name=\"error-code\" value=\"401\" />\n\n","comments":"","x":1641.6666259765625,"y":882,"z":"fcbb9888.37da88","wires":[]},{"id":"498b7be.6025a84","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"RETRY ATTEMPT START\" value=\"`$i`\"/>\n","comments":"","outputs":1,"x":376.6666259765625,"y":225,"z":"fcbb9888.37da88","wires":[[]]},{"id":"45310507.9bc52c","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1262.6666259765625,"y":969,"z":"fcbb9888.37da88","wires":[["9504b9a.138f348"]]},{"id":"9504b9a.138f348","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1445.6666259765625,"y":967,"z":"fcbb9888.37da88","wires":[["dc1f4ff5.d695c"]]},{"id":"dc1f4ff5.d695c","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"RETRYATTEMPT DONE\"/>\n<parameter name=\"field3\" value=\"`$i`\"/>\n\n\n\n","comments":"","outputs":1,"x":1622.6666259765625,"y":963,"z":"fcbb9888.37da88","wires":[[]]},{"id":"44876ee3.fc9e2","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":547.9999313354492,"y":366.66668224334717,"z":"fcbb9888.37da88","wires":[["5067f82d.014248"]]},{"id":"5067f82d.014248","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":715.9999313354492,"y":370.66668224334717,"z":"fcbb9888.37da88","wires":[["13159be6.000524"]]},{"id":"13159be6.000524","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to call SftpAdaptor\" />\n<parameter name=\"error-code\" value=\"401\" />\n ","comments":"","x":894.9999313354492,"y":376.66668224334717,"z":"fcbb9888.37da88","wires":[]},{"id":"54a1451e.6ee1bc","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":651.6666259765625,"y":732,"z":"fcbb9888.37da88","wires":[["4093e936.3c4fd8"]]},{"id":"4093e936.3c4fd8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":851.6666259765625,"y":728,"z":"fcbb9888.37da88","wires":[["5f93d2f8.23ba5c"]]},{"id":"5f93d2f8.23ba5c","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Configuration request Failed. Unable to get Failure Log\" />\n<parameter name=\"error-code\" value=\"401\" />","comments":"","x":1078.6666259765625,"y":729,"z":"fcbb9888.37da88","wires":[]},{"id":"d8f1078c.618768","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1365.6666259765625,"y":605,"z":"fcbb9888.37da88","wires":[["4093e936.3c4fd8"]]},{"id":"9bcbe24b.484ad","type":"comment","name":"Set Success Code","info":"","comments":"","x":1088.6666259765625,"y":278,"z":"fcbb9888.37da88","wires":[]},{"id":"aa91d71.164a828","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":704.6666259765625,"y":274,"z":"fcbb9888.37da88","wires":[["f1c9a647.703908"]]},{"id":"42eefa18.fd8294","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-message\" value=\"SUCCESS - request has been processed successfully\" />\n<parameter name=\"error-code\" value=\"400\" />\n","comments":"","x":905.3333358764648,"y":277.6667184829712,"z":"fcbb9888.37da88","wires":[]},{"id":"13117340.32ae0d","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1556.6666259765625,"y":531,"z":"fcbb9888.37da88","wires":[["f54b4753.162b58"]]},{"id":"f54b4753.162b58","type":"execute","name":"execute ParseErrorLog","xml":"<execute plugin=\"org.onap.sdnc.config.generator.pattern.PatternNode\" method=\"parseErrorLog\">\n<parameter name=\"logData\" value=\"`$fileContents`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.patternNode\" />","comments":"","outputs":1,"x":1801.3332748413086,"y":532.9999961853027,"z":"fcbb9888.37da88","wires":[["ffed95c2.8361f8","10080deb.35a4d2","8dbc2d9f.45dd7"]]},{"id":"ffed95c2.8361f8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2040.6666259765625,"y":504,"z":"fcbb9888.37da88","wires":[["64039324.913e5c"]]},{"id":"10080deb.35a4d2","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":2045.6666259765625,"y":565,"z":"fcbb9888.37da88","wires":[["b56b07c0.65d7e8"]]},{"id":"64039324.913e5c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2201.6666259765625,"y":505,"z":"fcbb9888.37da88","wires":[["54c6aeea.1f039"]]},{"id":"b56b07c0.65d7e8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2197.6666259765625,"y":568,"z":"fcbb9888.37da88","wires":[["9836fa6f.ef13b8"]]},{"id":"9836fa6f.ef13b8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Configuration has failed.Unable to process error log\"/>\n\t","comments":"","x":2379.6666259765625,"y":569,"z":"fcbb9888.37da88","wires":[]},{"id":"54c6aeea.1f039","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.patternNode.error-message`\"/>\n\t\n\t","comments":"","x":2399.6666259765625,"y":506,"z":"fcbb9888.37da88","wires":[]},{"id":"8dbc2d9f.45dd7","type":"not-found","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2024.6666259765625,"y":633,"z":"fcbb9888.37da88","wires":[["c39b08ed.61c138"]]},{"id":"c39b08ed.61c138","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2180.6666259765625,"y":635,"z":"fcbb9888.37da88","wires":[["e69fed9f.542e7"]]},{"id":"e69fed9f.542e7","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`'Configuration has failed.' + $tmp.patternNode.parsedError`\"/>\n\t","comments":"","x":2352.6666259765625,"y":633,"z":"fcbb9888.37da88","wires":[]},{"id":"f1c9a647.703908","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name=\"error-message\" value=\"SUCCESS - request has been processed successfully\" />\n<parameter name=\"error-code\" value=\"400\" />\n\n","comments":"","x":895.333251953125,"y":319.99999141693115,"z":"fcbb9888.37da88","wires":[]}]
+[\r
+    {\r
+        "id": "106f1811.00d7f8",\r
+        "type": "not-found",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 541.6666259765625,\r
+        "y": 274,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "aa91d71.164a828"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ba538e68.3fffc",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 191.6666259765625,\r
+        "y": 103,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "99bedc14.e0ea6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "99bedc14.e0ea6",\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": 367.6666259765625,\r
+        "y": 100,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "9569d318.33ae1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9569d318.33ae1",\r
+        "type": "method",\r
+        "name": "method CheckConfigStatus",\r
+        "xml": "<method rpc='CheckConfigStatus' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 595.6666259765625,\r
+        "y": 101,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "1d7bf2cd.2246ad"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "beea047c.66a218",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 191.6666259765625,\r
+        "y": 231,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "c1a4aa3d.35dfa8",\r
+                "498b7be.6025a84"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "813ad4a9.666118",\r
+        "type": "failure",\r
+        "name": "Other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 529.6666259765625,\r
+        "y": 459.3333349227905,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "20644748.1c68c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "20644748.1c68c8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 679.6666259765625,\r
+        "y": 461.3333349227905,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "1813e90b.add1c7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c1a4aa3d.35dfa8",\r
+        "type": "configure",\r
+        "name": "configure: SftpAdaptor: GetConfig Success ",\r
+        "xml": "<configure adaptor=\"org.onap.appc.ccadaptor.ConfigComponentAdaptor\" key=\"get\">\n<parameter name=\"host\" value=\"`$vnf-host-ip-address`\"/>\n<parameter name=\"loginId\" value=\"`$device-authentication.USER-NAME`\"/>\n<parameter name=\"password\" value=\"`$device-authentication.PASSWORD`\"/>\n<parameter name=\"fullPathFileName\" value=\"`$configfilereference-success.TARGET-FILE-PATH`\"/>\t\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 262.3332824707031,\r
+        "y": 367.33333015441895,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "106f1811.00d7f8",\r
+                "813ad4a9.666118",\r
+                "44876ee3.fc9e2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1813e90b.add1c7",\r
+        "type": "configure",\r
+        "name": "configure: SftpAdaptor: GetConfig Failure",\r
+        "xml": "<configure adaptor=\"org.onap.appc.ccadaptor.ConfigComponentAdaptor\" key=\"get\">\n<parameter name=\"host\" value=\"`$vnf-host-ip-address`\"/>\n<parameter name=\"loginId\" value=\"`$device-authentication.USER-NAME`\"/>\n<parameter name=\"password\" value=\"`$device-authentication.PASSWORD`\"/>\n<parameter name=\"fullPathFileName\" value=\"`$configfilereference-failure.TARGET-FILE-PATH`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 934.6666259765625,\r
+        "y": 461.3333349227905,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "c9e9d49f.3027a8",\r
+                "215ca65e.28efea",\r
+                "54a1451e.6ee1bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c9e9d49f.3027a8",\r
+        "type": "not-found",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 618.6666259765625,\r
+        "y": 571,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "9e7471e8.24d1d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9e7471e8.24d1d",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 785.6666259765625,\r
+        "y": 574,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "9e02dd6f.a11ce"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9e02dd6f.a11ce",\r
+        "type": "configure",\r
+        "name": "configure: SftpAdaptor: GetConfig FailureLog",\r
+        "xml": "<configure adaptor=\"org.onap.appc.ccadaptor.ConfigComponentAdaptor\" key=\"get\">\n<parameter name=\"host\" value=\"`$vnf-host-ip-address`\"/>\n<parameter name=\"loginId\" value=\"`$device-authentication.USER-NAME`\"/>\n<parameter name=\"password\" value=\"`$device-authentication.PASSWORD`\"/>\n<parameter name=\"fullPathFileName\" value=\"`$configfilereference-log.TARGET-FILE-PATH`\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1065.6666259765625,\r
+        "y": 578,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "f57ae80d.b71178",\r
+                "d8f1078c.618768"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f57ae80d.b71178",\r
+        "type": "not-found",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1366.6666259765625,\r
+        "y": 533,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "13117340.32ae0d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "215ca65e.28efea",\r
+        "type": "failure",\r
+        "name": "Other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 641.6666259765625,\r
+        "y": 910,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "bc8232f9.8eda9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c6e699ae.8aa998",\r
+        "type": "comment",\r
+        "name": "No Success or Failure found",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 298.1666259765625,\r
+        "y": 775,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9e84d5f0.0dfc98",\r
+        "type": "for",\r
+        "name": "for: check status 10 times",\r
+        "xml": "<for index=\"i\" start=\"0\" end=\"10\" >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 428.6666259765625,\r
+        "y": 158,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "beea047c.66a218"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d7bf2cd.2246ad",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 198.6666259765625,\r
+        "y": 160,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "9e84d5f0.0dfc98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1e2c906.043db7",\r
+        "type": "switchNode",\r
+        "name": "switch: Max retries done?",\r
+        "xml": "<switch test=\"`$i`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1012.6666259765625,\r
+        "y": 903,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "e551d9.3207ee28",\r
+                "45310507.9bc52c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e551d9.3207ee28",\r
+        "type": "other",\r
+        "name": "outcome: 9",\r
+        "xml": "<outcome value='9'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1264.6666259765625,\r
+        "y": 891,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "395a778a.a9c948"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "395a778a.a9c948",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1450.6666259765625,\r
+        "y": 885,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "3ad5063d.6732ea"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bc8232f9.8eda9",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 805.6666259765625,\r
+        "y": 909,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "1e2c906.043db7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d7e4f931.ffe0d8",\r
+        "type": "comment",\r
+        "name": "Return Failure so that it exits immediately",\r
+        "info": "Error Code and message reflect the status\nReturning success doesnt exit the loop",\r
+        "comments": "",\r
+        "x": 918.1666259765625,\r
+        "y": 227,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3ad5063d.6732ea",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Configuration Failed. No configuration success or error file found on the device\" />\n<parameter name=\"error-code\" value=\"401\" />\n\n",\r
+        "comments": "",\r
+        "x": 1641.6666259765625,\r
+        "y": 882,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "498b7be.6025a84",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"RETRY ATTEMPT START\" value=\"`$i`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 376.6666259765625,\r
+        "y": 225,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "45310507.9bc52c",\r
+        "type": "other",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1262.6666259765625,\r
+        "y": 969,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "9504b9a.138f348"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9504b9a.138f348",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1445.6666259765625,\r
+        "y": 967,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "dc1f4ff5.d695c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dc1f4ff5.d695c",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"RETRYATTEMPT DONE\"/>\n<parameter name=\"field3\" value=\"`$i`\"/>\n\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1622.6666259765625,\r
+        "y": 963,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "44876ee3.fc9e2",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 547.9999313354492,\r
+        "y": 366.66668224334717,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "5067f82d.014248"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5067f82d.014248",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 715.9999313354492,\r
+        "y": 370.66668224334717,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "13159be6.000524"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "13159be6.000524",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to call SftpAdaptor\" />\n<parameter name=\"error-code\" value=\"401\" />\n ",\r
+        "comments": "",\r
+        "x": 894.9999313354492,\r
+        "y": 376.66668224334717,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "54a1451e.6ee1bc",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 651.6666259765625,\r
+        "y": 732,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "4093e936.3c4fd8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4093e936.3c4fd8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 851.6666259765625,\r
+        "y": 728,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "5f93d2f8.23ba5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f93d2f8.23ba5c",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Configuration request Failed. Unable to get Failure Log\" />\n<parameter name=\"error-code\" value=\"401\" />",\r
+        "comments": "",\r
+        "x": 1078.6666259765625,\r
+        "y": 729,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d8f1078c.618768",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1365.6666259765625,\r
+        "y": 605,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "4093e936.3c4fd8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9bcbe24b.484ad",\r
+        "type": "comment",\r
+        "name": "Set Success Code",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1088.6666259765625,\r
+        "y": 278,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "aa91d71.164a828",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 704.6666259765625,\r
+        "y": 274,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "f1c9a647.703908"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "42eefa18.fd8294",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-message\" value=\"SUCCESS - request has been processed successfully\" />\n<parameter name=\"error-code\" value=\"400\" />\n",\r
+        "comments": "",\r
+        "x": 905.3333358764648,\r
+        "y": 277.6667184829712,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "13117340.32ae0d",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1556.6666259765625,\r
+        "y": 531,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "f54b4753.162b58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f54b4753.162b58",\r
+        "type": "execute",\r
+        "name": "execute ParseErrorLog",\r
+        "xml": "<execute plugin=\"org.onap.sdnc.config.generator.pattern.PatternNode\" method=\"parseErrorLog\">\n<parameter name=\"logData\" value=\"`$fileContents`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.patternNode\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1801.3332748413086,\r
+        "y": 532.9999961853027,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "ffed95c2.8361f8",\r
+                "10080deb.35a4d2",\r
+                "8dbc2d9f.45dd7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ffed95c2.8361f8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2040.6666259765625,\r
+        "y": 504,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "64039324.913e5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "10080deb.35a4d2",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2045.6666259765625,\r
+        "y": 565,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "b56b07c0.65d7e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "64039324.913e5c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2201.6666259765625,\r
+        "y": 505,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "54c6aeea.1f039"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b56b07c0.65d7e8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2197.6666259765625,\r
+        "y": 568,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "9836fa6f.ef13b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9836fa6f.ef13b8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Configuration has failed.Unable to process error log\"/>\n\t",\r
+        "comments": "",\r
+        "x": 2379.6666259765625,\r
+        "y": 569,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "54c6aeea.1f039",\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=\"`$tmp.patternNode.error-message`\"/>\n\t\n\t",\r
+        "comments": "",\r
+        "x": 2399.6666259765625,\r
+        "y": 506,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8dbc2d9f.45dd7",\r
+        "type": "not-found",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2024.6666259765625,\r
+        "y": 633,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "c39b08ed.61c138"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c39b08ed.61c138",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2180.6666259765625,\r
+        "y": 635,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": [\r
+            [\r
+                "e69fed9f.542e7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e69fed9f.542e7",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`'Configuration has failed.' + $tmp.patternNode.parsedError`\"/>\n\t",\r
+        "comments": "",\r
+        "x": 2352.6666259765625,\r
+        "y": 633,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f1c9a647.703908",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name=\"error-message\" value=\"SUCCESS - request has been processed successfully\" />\n<parameter name=\"error-code\" value=\"400\" />\n\n",\r
+        "comments": "",\r
+        "x": 895.333251953125,\r
+        "y": 319.99999141693115,\r
+        "z": "fcbb9888.37da88",\r
+        "wires": []\r
+    }\r
+]\r