Platform Hardening for DG Json files - Part 7 35/26835/1
authorTaka <tc012c@att.com>
Fri, 22 Dec 2017 23:06:10 +0000 (18:06 -0500)
committerTaka <tc012c@att.com>
Fri, 22 Dec 2017 23:07:04 +0000 (18:07 -0500)
Change-Id: Ifac28a64e01767c15d940b20404904f2fc2d9b24
Issue-ID: APPC-305
Signed-off-by: Taka <tc012c@att.com>
13 files changed:
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CheckConfigStatus.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CommonConfiguration.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Configure.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CreateSnapShotVM.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DGOrchestrator.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadCliConfig.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadIsbcConfig.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadNetconfConfig.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadRestconfConfig.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadSBGConfig.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadXmlConfig.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_EvacuateVM.json
appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateConfig.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
index ef6c0d0..b2839c1 100644 (file)
@@ -1 +1,749 @@
-[{"id":"15c59d71.ababe3","type":"dgstart","name":"DGSTART","outputs":1,"x":104,"y":48,"z":"c322e357.b8be8","wires":[["a514f47b.d5bda8"]]},{"id":"a514f47b.d5bda8","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":287,"y":50,"z":"c322e357.b8be8","wires":[["fb0c7139.5af51"]]},{"id":"fb0c7139.5af51","type":"method","name":"method CommonConfiguration","xml":"<method rpc='CommonConfiguration' mode='sync'>\n","comments":"","outputs":1,"x":547,"y":48,"z":"c322e357.b8be8","wires":[["3d94ea58.b453b6"]]},{"id":"3d94ea58.b453b6","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":84,"y":404,"z":"c322e357.b8be8","wires":[["62ba3ef0.ca976","c6df868f.aa7308","bc6c421e.60c4b","93c5931.7ab677","be2f239f.7dc29","dcac81d6.e4742"]]},{"id":"659a83cd.3ad29c","type":"switchNode","name":"switch: request-action","xml":"<switch test=\"`$request-action`\">\n\n\n","comments":"","outputs":1,"x":414.5,"y":343,"z":"c322e357.b8be8","wires":[["78fe488d.d629a8","ba1faf4d.90c7f","81174cbe.247c4","74691fa2.1c0c1","e740321c.4b927","4531bc67.6e9694","4d8d372f.0ebc28"]]},{"id":"210f97fe.bca328","type":"call","name":"call: Configure","xml":"<call module=\"APPC\" rpc=\"Configure\" mode=\"sync\">","comments":"","outputs":1,"x":1080.5,"y":348,"z":"c322e357.b8be8","wires":[["9070d727.d59288","44288c9c.74bae4"]]},{"id":"78fe488d.d629a8","type":"outcome","name":"Configure","xml":"<outcome value='Configure'>\n","comments":"","outputs":1,"x":687.5,"y":344,"z":"c322e357.b8be8","wires":[["5dff373d.db8a48"]]},{"id":"ba1faf4d.90c7f","type":"outcome","name":"ConfigModify","xml":"<outcome value='ConfigModify'>\n","comments":"","outputs":1,"x":684.5,"y":474,"z":"c322e357.b8be8","wires":[["5dff373d.db8a48"]]},{"id":"74691fa2.1c0c1","type":"outcome","name":"ConfigScaleOut","xml":"<outcome value='ConfigScaleOut'>\n","comments":"","outputs":1,"x":687.5,"y":390,"z":"c322e357.b8be8","wires":[["5dff373d.db8a48"]]},{"id":"5dff373d.db8a48","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":878.5,"y":344,"z":"c322e357.b8be8","wires":[["210f97fe.bca328"]]},{"id":"62ba3ef0.ca976","type":"switchNode","name":"switch error-code","xml":"<switch test='`$error-code`'>\n","comments":"","outputs":1,"x":304,"y":821,"z":"c322e357.b8be8","wires":[["ade1eb2c.468eb8","75f0f4a7.e85dec"]]},{"id":"ade1eb2c.468eb8","type":"success","name":"outcome: 400","xml":"<outcome value=\"400\">","comments":"","outputs":1,"x":512,"y":830,"z":"c322e357.b8be8","wires":[["a91b8e31.5ff52"]]},{"id":"75f0f4a7.e85dec","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":514,"y":905,"z":"c322e357.b8be8","wires":[["d33f3933.4c8b78"]]},{"id":"a91b8e31.5ff52","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":722,"y":836,"z":"c322e357.b8be8","wires":[["9337492c.d201c8"]]},{"id":"d33f3933.4c8b78","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":729,"y":910,"z":"c322e357.b8be8","wires":[["1f02e341.848ead"]]},{"id":"9337492c.d201c8","type":"set","name":"set Status for dispatcher","xml":"<set>\n<parameter name='SvcLogic.status' value='success' />\n<parameter name='output.status.code' value='`$error-code`' />\n<parameter name='output.status.message' value='`$error-message`' />","comments":"","x":955,"y":836,"z":"c322e357.b8be8","wires":[]},{"id":"1f02e341.848ead","type":"set","name":"set Status for dispatcher","xml":"<set>\n<parameter name='SvcLogic.status' value='failure' />\n<parameter name='output.status.code' value='`$error-code`' />\n<parameter name='output.status.message' value='`$error-message`' />\n","comments":"","x":962,"y":916,"z":"c322e357.b8be8","wires":[]},{"id":"c6df868f.aa7308","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'STATUS RETURNED TO DISPATCHER error-code = ' + $output.status.code`\" />\n<parameter name=\"field3\" value=\"`'STATUS RETURNED TO DISPATCHER error-message = ' + $output.status.message`\" />\n<parameter name=\"field4\" value=\"`'STATUS RETURNED TO DISPATCHER = ' + $SvcLogic.status`\" />","comments":"","outputs":1,"x":273,"y":1116,"z":"c322e357.b8be8","wires":[[]]},{"id":"bc6c421e.60c4b","type":"call","name":"call: GetConfigParams","xml":"<call module=\"APPC\" rpc=\"GetConfigParams\" mode=\"sync\">","comments":"","outputs":1,"x":329,"y":160,"z":"c322e357.b8be8","wires":[["f0d70e02.3a146","9cc63cfb.539a2","ee7268bd.050cd8"]]},{"id":"f0d70e02.3a146","type":"failure","name":"Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":548,"y":262,"z":"c322e357.b8be8","wires":[["86ef19e.3d758e8"]]},{"id":"86ef19e.3d758e8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":716,"y":263,"z":"c322e357.b8be8","wires":[["659a83cd.3ad29c","f91a152c.8ed648"]]},{"id":"9cc63cfb.539a2","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":549,"y":151,"z":"c322e357.b8be8","wires":[["199d1e69.01b822"]]},{"id":"ee7268bd.050cd8","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":547,"y":200,"z":"c322e357.b8be8","wires":[["1a90801b.bb597"]]},{"id":"199d1e69.01b822","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":728,"y":149,"z":"c322e357.b8be8","wires":[[]]},{"id":"1a90801b.bb597","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":722,"y":202,"z":"c322e357.b8be8","wires":[["b99a1084.665dd"]]},{"id":"b99a1084.665dd","type":"set","name":"set error-code","xml":"<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='DG Workflow GetConfigParams not found' />\n","comments":"","x":916,"y":205,"z":"c322e357.b8be8","wires":[]},{"id":"9070d727.d59288","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1296,"y":348,"z":"c322e357.b8be8","wires":[["598408aa.da8188"]]},{"id":"598408aa.da8188","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1464,"y":348,"z":"c322e357.b8be8","wires":[["4733bef3.5975b"]]},{"id":"4733bef3.5975b","type":"set","name":"set error-code","xml":"<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='DG Workflow Configure not found' />\n","comments":"","x":1664,"y":349,"z":"c322e357.b8be8","wires":[]},{"id":"44288c9c.74bae4","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1289,"y":399,"z":"c322e357.b8be8","wires":[["e51b2033.d0295"]]},{"id":"e51b2033.d0295","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1470,"y":402,"z":"c322e357.b8be8","wires":[[]]},{"id":"81174cbe.247c4","type":"outcome","name":"ConfigRestore","xml":"<outcome value='ConfigRestore'>\n","comments":"","outputs":1,"x":688,"y":433,"z":"c322e357.b8be8","wires":[["5dff373d.db8a48"]]},{"id":"93c5931.7ab677","type":"call","name":"call: SetStatus","xml":"<call module=\"APPC\" rpc=\"SetStatus\" mode=\"sync\">","comments":"","outputs":1,"x":291,"y":719,"z":"c322e357.b8be8","wires":[["fe31a123.38291","131cb562.b3371b"]]},{"id":"fe31a123.38291","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":481,"y":702,"z":"c322e357.b8be8","wires":[["8823b534.00f5f8"]]},{"id":"8823b534.00f5f8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":667,"y":702,"z":"c322e357.b8be8","wires":[["c84859b3.72e148"]]},{"id":"c84859b3.72e148","type":"set","name":"set error-code","xml":"<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='DG Workflow SetConfigStatus not found' />\n","comments":"","x":855,"y":701,"z":"c322e357.b8be8","wires":[]},{"id":"131cb562.b3371b","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":475,"y":747,"z":"c322e357.b8be8","wires":[["a66046c6.450ae8"]]},{"id":"a66046c6.450ae8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":640,"y":746,"z":"c322e357.b8be8","wires":[[]]},{"id":"e740321c.4b927","type":"failure","name":"Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":606,"y":650,"z":"c322e357.b8be8","wires":[["d03bfb1.6cdfe08"]]},{"id":"ef753c5c.a1a3e","type":"set","name":"set error-code","xml":"<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`'Invalid action ' + $request-action`\"  />\n","comments":"","x":979,"y":651,"z":"c322e357.b8be8","wires":[]},{"id":"d03bfb1.6cdfe08","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":778,"y":647,"z":"c322e357.b8be8","wires":[["ef753c5c.a1a3e"]]},{"id":"4531bc67.6e9694","type":"outcome","name":"ConfigBackup","xml":"<outcome value='ConfigBackup'>\n","comments":"","outputs":1,"x":678,"y":517,"z":"c322e357.b8be8","wires":[["5dff373d.db8a48"]]},{"id":"4d8d372f.0ebc28","type":"outcome","name":"ConfigBackupDelete","xml":"<outcome value='ConfigBackupDelete'>\n","comments":"","outputs":1,"x":685,"y":567,"z":"c322e357.b8be8","wires":[["5dff373d.db8a48"]]},{"id":"dcac81d6.e4742","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"response\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":313.5,"y":1028,"z":"c322e357.b8be8","wires":[["9cff3b81.458148"]]},{"id":"be2f239f.7dc29","type":"set","name":"set tmp.message","xml":"<set>\n<parameter name=\"tmp.message\" value=\"`$output.status.code + ':' + $output.status.message`\" />\n","comments":"","x":296,"y":971,"z":"c322e357.b8be8","wires":[]},{"id":"9cff3b81.458148","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":521,"y":1030,"z":"c322e357.b8be8","wires":[["88b17439.3c8f78"]]},{"id":"88b17439.3c8f78","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":701,"y":1030,"z":"c322e357.b8be8","wires":[[]]},{"id":"f91a152c.8ed648","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$input.action`\"/>\n\n","comments":"","outputs":1,"x":944,"y":267,"z":"c322e357.b8be8","wires":[[]]}]
+[\r
+    {\r
+        "id": "15c59d71.ababe3",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 104,\r
+        "y": 48,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "a514f47b.d5bda8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a514f47b.d5bda8",\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": 287,\r
+        "y": 50,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "fb0c7139.5af51"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fb0c7139.5af51",\r
+        "type": "method",\r
+        "name": "method CommonConfiguration",\r
+        "xml": "<method rpc='CommonConfiguration' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 547,\r
+        "y": 48,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "3d94ea58.b453b6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3d94ea58.b453b6",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 84,\r
+        "y": 404,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "62ba3ef0.ca976",\r
+                "c6df868f.aa7308",\r
+                "bc6c421e.60c4b",\r
+                "93c5931.7ab677",\r
+                "be2f239f.7dc29",\r
+                "dcac81d6.e4742"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "659a83cd.3ad29c",\r
+        "type": "switchNode",\r
+        "name": "switch: request-action",\r
+        "xml": "<switch test=\"`$request-action`\">\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 414.5,\r
+        "y": 343,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "78fe488d.d629a8",\r
+                "ba1faf4d.90c7f",\r
+                "81174cbe.247c4",\r
+                "74691fa2.1c0c1",\r
+                "e740321c.4b927",\r
+                "4531bc67.6e9694",\r
+                "4d8d372f.0ebc28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "210f97fe.bca328",\r
+        "type": "call",\r
+        "name": "call: Configure",\r
+        "xml": "<call module=\"APPC\" rpc=\"Configure\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1080.5,\r
+        "y": 348,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "9070d727.d59288",\r
+                "44288c9c.74bae4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "78fe488d.d629a8",\r
+        "type": "outcome",\r
+        "name": "Configure",\r
+        "xml": "<outcome value='Configure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 687.5,\r
+        "y": 344,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "5dff373d.db8a48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ba1faf4d.90c7f",\r
+        "type": "outcome",\r
+        "name": "ConfigModify",\r
+        "xml": "<outcome value='ConfigModify'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 684.5,\r
+        "y": 474,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "5dff373d.db8a48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "74691fa2.1c0c1",\r
+        "type": "outcome",\r
+        "name": "ConfigScaleOut",\r
+        "xml": "<outcome value='ConfigScaleOut'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 687.5,\r
+        "y": 390,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "5dff373d.db8a48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5dff373d.db8a48",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 878.5,\r
+        "y": 344,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "210f97fe.bca328"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "62ba3ef0.ca976",\r
+        "type": "switchNode",\r
+        "name": "switch error-code",\r
+        "xml": "<switch test='`$error-code`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 304,\r
+        "y": 821,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "ade1eb2c.468eb8",\r
+                "75f0f4a7.e85dec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ade1eb2c.468eb8",\r
+        "type": "success",\r
+        "name": "outcome: 400",\r
+        "xml": "<outcome value=\"400\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 512,\r
+        "y": 830,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "a91b8e31.5ff52"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "75f0f4a7.e85dec",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 514,\r
+        "y": 905,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "d33f3933.4c8b78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a91b8e31.5ff52",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 722,\r
+        "y": 836,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "9337492c.d201c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d33f3933.4c8b78",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 729,\r
+        "y": 910,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "1f02e341.848ead"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9337492c.d201c8",\r
+        "type": "set",\r
+        "name": "set Status for dispatcher",\r
+        "xml": "<set>\n<parameter name='SvcLogic.status' value='success' />\n<parameter name='output.status.code' value='`$error-code`' />\n<parameter name='output.status.message' value='`$error-message`' />",\r
+        "comments": "",\r
+        "x": 955,\r
+        "y": 836,\r
+        "z": "c322e357.b8be8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1f02e341.848ead",\r
+        "type": "set",\r
+        "name": "set Status for dispatcher",\r
+        "xml": "<set>\n<parameter name='SvcLogic.status' value='failure' />\n<parameter name='output.status.code' value='`$error-code`' />\n<parameter name='output.status.message' value='`$error-message`' />\n",\r
+        "comments": "",\r
+        "x": 962,\r
+        "y": 916,\r
+        "z": "c322e357.b8be8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c6df868f.aa7308",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'STATUS RETURNED TO DISPATCHER error-code = ' + $output.status.code`\" />\n<parameter name=\"field3\" value=\"`'STATUS RETURNED TO DISPATCHER error-message = ' + $output.status.message`\" />\n<parameter name=\"field4\" value=\"`'STATUS RETURNED TO DISPATCHER = ' + $SvcLogic.status`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 273,\r
+        "y": 1116,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "bc6c421e.60c4b",\r
+        "type": "call",\r
+        "name": "call: GetConfigParams",\r
+        "xml": "<call module=\"APPC\" rpc=\"GetConfigParams\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 329,\r
+        "y": 160,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "f0d70e02.3a146",\r
+                "9cc63cfb.539a2",\r
+                "ee7268bd.050cd8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f0d70e02.3a146",\r
+        "type": "failure",\r
+        "name": "Other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 548,\r
+        "y": 262,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "86ef19e.3d758e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "86ef19e.3d758e8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 716,\r
+        "y": 263,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "659a83cd.3ad29c",\r
+                "f91a152c.8ed648"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9cc63cfb.539a2",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 549,\r
+        "y": 151,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "199d1e69.01b822"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ee7268bd.050cd8",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 547,\r
+        "y": 200,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "1a90801b.bb597"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "199d1e69.01b822",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 728,\r
+        "y": 149,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1a90801b.bb597",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 722,\r
+        "y": 202,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "b99a1084.665dd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b99a1084.665dd",\r
+        "type": "set",\r
+        "name": "set error-code",\r
+        "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='DG Workflow GetConfigParams not found' />\n",\r
+        "comments": "",\r
+        "x": 916,\r
+        "y": 205,\r
+        "z": "c322e357.b8be8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9070d727.d59288",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1296,\r
+        "y": 348,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "598408aa.da8188"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "598408aa.da8188",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1464,\r
+        "y": 348,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "4733bef3.5975b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4733bef3.5975b",\r
+        "type": "set",\r
+        "name": "set error-code",\r
+        "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='DG Workflow Configure not found' />\n",\r
+        "comments": "",\r
+        "x": 1664,\r
+        "y": 349,\r
+        "z": "c322e357.b8be8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "44288c9c.74bae4",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1289,\r
+        "y": 399,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "e51b2033.d0295"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e51b2033.d0295",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1470,\r
+        "y": 402,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "81174cbe.247c4",\r
+        "type": "outcome",\r
+        "name": "ConfigRestore",\r
+        "xml": "<outcome value='ConfigRestore'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 688,\r
+        "y": 433,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "5dff373d.db8a48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "93c5931.7ab677",\r
+        "type": "call",\r
+        "name": "call: SetStatus",\r
+        "xml": "<call module=\"APPC\" rpc=\"SetStatus\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 291,\r
+        "y": 719,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "fe31a123.38291",\r
+                "131cb562.b3371b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fe31a123.38291",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 481,\r
+        "y": 702,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "8823b534.00f5f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8823b534.00f5f8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 667,\r
+        "y": 702,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "c84859b3.72e148"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c84859b3.72e148",\r
+        "type": "set",\r
+        "name": "set error-code",\r
+        "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='DG Workflow SetConfigStatus not found' />\n",\r
+        "comments": "",\r
+        "x": 855,\r
+        "y": 701,\r
+        "z": "c322e357.b8be8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "131cb562.b3371b",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 475,\r
+        "y": 747,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "a66046c6.450ae8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a66046c6.450ae8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 640,\r
+        "y": 746,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e740321c.4b927",\r
+        "type": "failure",\r
+        "name": "Other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 606,\r
+        "y": 650,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "d03bfb1.6cdfe08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ef753c5c.a1a3e",\r
+        "type": "set",\r
+        "name": "set error-code",\r
+        "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`'Invalid action ' + $request-action`\"  />\n",\r
+        "comments": "",\r
+        "x": 979,\r
+        "y": 651,\r
+        "z": "c322e357.b8be8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d03bfb1.6cdfe08",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 778,\r
+        "y": 647,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "ef753c5c.a1a3e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4531bc67.6e9694",\r
+        "type": "outcome",\r
+        "name": "ConfigBackup",\r
+        "xml": "<outcome value='ConfigBackup'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 678,\r
+        "y": 517,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "5dff373d.db8a48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4d8d372f.0ebc28",\r
+        "type": "outcome",\r
+        "name": "ConfigBackupDelete",\r
+        "xml": "<outcome value='ConfigBackupDelete'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 685,\r
+        "y": 567,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "5dff373d.db8a48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dcac81d6.e4742",\r
+        "type": "execute",\r
+        "name": "execute saveTxLog",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"response\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 313.5,\r
+        "y": 1028,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "9cff3b81.458148"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "be2f239f.7dc29",\r
+        "type": "set",\r
+        "name": "set tmp.message",\r
+        "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$output.status.code + ':' + $output.status.message`\" />\n",\r
+        "comments": "",\r
+        "x": 296,\r
+        "y": 971,\r
+        "z": "c322e357.b8be8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9cff3b81.458148",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 521,\r
+        "y": 1030,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            [\r
+                "88b17439.3c8f78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "88b17439.3c8f78",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 701,\r
+        "y": 1030,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f91a152c.8ed648",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$input.action`\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 944,\r
+        "y": 267,\r
+        "z": "c322e357.b8be8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]\r
index 196956e..e31fb27 100644 (file)
@@ -1 +1,1021 @@
-[{"id":"480ea5ae.d5651c","type":"dgstart","name":"DGSTART","outputs":1,"x":150,"y":60,"z":"cadfa83f.4d8a88","wires":[["a11357be.658c98"]]},{"id":"a11357be.658c98","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":333,"y":61,"z":"cadfa83f.4d8a88","wires":[["48197593.d501bc"]]},{"id":"48197593.d501bc","type":"method","name":"method Configure","xml":"<method rpc='Configure' mode='sync'>\n","comments":"","outputs":1,"x":531,"y":59,"z":"cadfa83f.4d8a88","wires":[["524e2ac6.d57614"]]},{"id":"524e2ac6.d57614","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":152,"y":118,"z":"cadfa83f.4d8a88","wires":[["60b94849.8fbe08","a08072ec.d21e9","99bebd86.edca2","b4f59168.7906f","33406d49.1ea402","fb8af18a.2b272"]]},{"id":"60b94849.8fbe08","type":"call","name":"call: DownloadConfig","xml":"<call module=\"APPC\" rpc=\"`$tmp.configureactiondg.DOWNLOAD-CONFIG-DG`\" mode=\"sync\">","comments":"","outputs":1,"x":319,"y":1043,"z":"cadfa83f.4d8a88","wires":[["26d0764c.b2c4ea","a1c9c3ac.c65b3","332d5385.b7918c"]]},{"id":"26d0764c.b2c4ea","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":617,"y":983,"z":"cadfa83f.4d8a88","wires":[["9ad20c2f.bb05a"]]},{"id":"a1c9c3ac.c65b3","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":632,"y":1044,"z":"cadfa83f.4d8a88","wires":[["84738e4d.e575"]]},{"id":"332d5385.b7918c","type":"success","name":" success","xml":"<outcome value=\"success\">","comments":"","outputs":1,"x":612,"y":1108,"z":"cadfa83f.4d8a88","wires":[["c166ddbd.547ca"]]},{"id":"9ad20c2f.bb05a","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":809,"y":975,"z":"cadfa83f.4d8a88","wires":[["d8230437.7273e8","b1a8052e.9d5358","e8c161d9.03c09"]]},{"id":"84738e4d.e575","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":797,"y":1045,"z":"cadfa83f.4d8a88","wires":[["1f62ef66.70ec21"]]},{"id":"c166ddbd.547ca","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":813,"y":1103,"z":"cadfa83f.4d8a88","wires":[["1cd207dc.cfc708","d8e99c6.9bb2f6","4cc652f1.8c357c"]]},{"id":"d8230437.7273e8","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'error-code = ' + $error-code`\" />\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n","comments":"","outputs":1,"x":1023,"y":810,"z":"cadfa83f.4d8a88","wires":[[]]},{"id":"1f62ef66.70ec21","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`'DG Workflow ' + $tmp.configureactiondg.DOWNLOAD-CONFIG-DG + ' not found'`\"/>\n\t","comments":"","x":1005,"y":1041,"z":"cadfa83f.4d8a88","wires":[]},{"id":"1cd207dc.cfc708","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'error-code = ' + $error-code`\" />\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n<parameter name=\"field4\" value=\"ACTIVATESUCCESS\" />","comments":"","outputs":1,"x":1016,"y":1100,"z":"cadfa83f.4d8a88","wires":[[]]},{"id":"b1a8052e.9d5358","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t","comments":"","x":1034,"y":993,"z":"cadfa83f.4d8a88","wires":[]},{"id":"33406d49.1ea402","type":"switchNode","name":"switch config-type","xml":"<switch test='`$config-type`'>\n","comments":"","outputs":1,"x":238,"y":512,"z":"cadfa83f.4d8a88","wires":[["4583918a.3e1cf","5016eddc.eaee64"]]},{"id":"4583918a.3e1cf","type":"success","name":"outcome: template","xml":"<outcome value=\"template\">","comments":"","outputs":1,"x":444.5,"y":512,"z":"cadfa83f.4d8a88","wires":[["7d993b7c.7b6f34"]]},{"id":"a08072ec.d21e9","type":"set","name":"set Download params","xml":"<set>\n<parameter name='host-ip-address' value='`$vnf-host-ip-address`' />\n<parameter name='device-login' value='`$device-authentication.USER-NAME`' />\n<parameter name='device-password' value='`$device-authentication.PASSWORD`' />\n<parameter name='port-number' value='`$device-authentication.PORT-NUMBER`' />\n<parameter name='protocol' value='`$tmp.deviceinterfaceprotocol.PROTOCOL`' />\n<parameter name='device-config' value='`$deviceconfig-file-content`' />","comments":"","x":335,"y":954,"z":"cadfa83f.4d8a88","wires":[]},{"id":"99bebd86.edca2","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"CONFIGPARAMS\" value=\"`$config-data`\"/>\n<parameter name=\"CONFIGPARAMS1\" value=\"`$block_configuration-parameters`\"/>\n<parameter name=\"TEMPLATENAME\" value=\"`$template-name`\"/>\n<parameter name=\"CONFIGURATION\" value=\"`$configuration`\"/>\n<parameter name=\"CONFIGURATION1\" value=\"`$block_configuration`\"/>\n\n","comments":"","outputs":1,"x":343,"y":107,"z":"cadfa83f.4d8a88","wires":[[]]},{"id":"8f391762.bc0128","type":"call","name":"call: GenerateTemplateConfig","xml":"<call module=\"APPC\" rpc=\"GenerateTemplateConfig\" mode=\"sync\">","comments":"","outputs":1,"x":839.5,"y":596,"z":"cadfa83f.4d8a88","wires":[["2a341f8b.78c7","44ce6236.c9f71c"]]},{"id":"2a341f8b.78c7","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1055.5,"y":585,"z":"cadfa83f.4d8a88","wires":[["99b9e3f3.4a9c3"]]},{"id":"99b9e3f3.4a9c3","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1227.5,"y":583,"z":"cadfa83f.4d8a88","wires":[["fc1b8d44.7676b"]]},{"id":"fc1b8d44.7676b","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"'DG Workflow GenerateTemplateConfig not found'`\"/>\n\t","comments":"","x":1409.5,"y":585,"z":"cadfa83f.4d8a88","wires":[]},{"id":"44ce6236.c9f71c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1048.5,"y":631,"z":"cadfa83f.4d8a88","wires":[["65e826ca.d13518"]]},{"id":"65e826ca.d13518","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1208.5,"y":634,"z":"cadfa83f.4d8a88","wires":[["6a5e4bf3.53e254"]]},{"id":"6a5e4bf3.53e254","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t\n\t","comments":"","x":1393.5,"y":634,"z":"cadfa83f.4d8a88","wires":[]},{"id":"ca6cca85.5f74f8","type":"comment","name":"templatename cases","info":"","comments":"","x":562,"y":422,"z":"cadfa83f.4d8a88","wires":[]},{"id":"b58a409e.2bbcb","type":"comment","name":"merge ASDC template and data","info":"","comments":"","x":502,"y":459,"z":"cadfa83f.4d8a88","wires":[]},{"id":"fee64dc4.1d9be","type":"comment","name":"configBlock with or without parameters","info":"","comments":"","x":512,"y":644,"z":"cadfa83f.4d8a88","wires":[]},{"id":"7d993b7c.7b6f34","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":629,"y":513,"z":"cadfa83f.4d8a88","wires":[["8f391762.bc0128","59a0bc37.92e444"]]},{"id":"59a0bc37.92e444","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":834,"y":458,"z":"cadfa83f.4d8a88","wires":[["f0f05e5b.1643a","57b955b6.a7363c"]]},{"id":"f0f05e5b.1643a","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1023,"y":486,"z":"cadfa83f.4d8a88","wires":[["919b1a0e.7f8158"]]},{"id":"919b1a0e.7f8158","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1197,"y":494,"z":"cadfa83f.4d8a88","wires":[["41f91d3f.4cdc94"]]},{"id":"41f91d3f.4cdc94","type":"returnFailure","name":"return failure","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","comments":"","x":1400,"y":508,"z":"cadfa83f.4d8a88","wires":[]},{"id":"57b955b6.a7363c","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1034,"y":426,"z":"cadfa83f.4d8a88","wires":[["f7d52240.3f7b9"]]},{"id":"f7d52240.3f7b9","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1215,"y":428,"z":"cadfa83f.4d8a88","wires":[["1af2c5e7.67c0aa"]]},{"id":"1af2c5e7.67c0aa","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to get template info\"/>\n\t\n\t\n\t","comments":"","x":1410,"y":432,"z":"cadfa83f.4d8a88","wires":[]},{"id":"5016eddc.eaee64","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":429,"y":688,"z":"cadfa83f.4d8a88","wires":[["27c69859.b17628"]]},{"id":"27c69859.b17628","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":620,"y":686,"z":"cadfa83f.4d8a88","wires":[["31736aaf.d50f16"]]},{"id":"31736aaf.d50f16","type":"call","name":"call: GenerateConfig","xml":"<call module=\"APPC\" rpc=\"GenerateConfig\" mode=\"sync\">","comments":"","outputs":1,"x":836,"y":689,"z":"cadfa83f.4d8a88","wires":[["df338fd9.9e1d5","b78f9a31.550958"]]},{"id":"df338fd9.9e1d5","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1038,"y":683,"z":"cadfa83f.4d8a88","wires":[["d92ec733.6213c8"]]},{"id":"d92ec733.6213c8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1210,"y":685,"z":"cadfa83f.4d8a88","wires":[["be7c9084.d5615"]]},{"id":"be7c9084.d5615","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"'DG Workflow GenerateConfig not found'`\"/>\n\t","comments":"","x":1391,"y":687,"z":"cadfa83f.4d8a88","wires":[]},{"id":"b78f9a31.550958","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1026,"y":745,"z":"cadfa83f.4d8a88","wires":[["ab74a39a.05a96"]]},{"id":"ab74a39a.05a96","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1197,"y":748,"z":"cadfa83f.4d8a88","wires":[["deac69f1.1634d8"]]},{"id":"deac69f1.1634d8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t\n\t","comments":"","x":1392,"y":750,"z":"cadfa83f.4d8a88","wires":[]},{"id":"d8e99c6.9bb2f6","type":"set","name":"set error-code 400 and message","xml":"<set>\n<parameter name='error-code' value='400' />\n<parameter name=\"error-message\" value=\"SUCCESS - request has been processed successfully\" />\n","comments":"","x":1078,"y":1152,"z":"cadfa83f.4d8a88","wires":[]},{"id":"7bb3e89d.220328","type":"comment","name":"ConfigCompAdaptor resets error code for success cases","info":"","comments":"","x":633,"y":1154,"z":"cadfa83f.4d8a88","wires":[]},{"id":"b4f59168.7906f","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"Prepare Success\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":369,"y":811,"z":"cadfa83f.4d8a88","wires":[["e86c4a58.ea7bf8"]]},{"id":"4cc652f1.8c357c","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"Download Success\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":1030,"y":1217,"z":"cadfa83f.4d8a88","wires":[["614f4f80.c8d4d"]]},{"id":"ece509d2.9ca6b8","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.onap.appc.config.generator.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":1654,"y":984,"z":"cadfa83f.4d8a88","wires":[[]]},{"id":"e707672e.0c50c8","type":"set","name":"set tmp.message","xml":"<set>\n<parameter name='tmp.message' value=\"`'Download Failure : ' + $error-code + ' : ' + $error-message`\" />\n","comments":"","x":1643,"y":917,"z":"cadfa83f.4d8a88","wires":[]},{"id":"e8c161d9.03c09","type":"switchNode","name":"switch: error-code","xml":"<switch test=\"`$error-code`\">\n","comments":"","outputs":1,"x":1051,"y":870,"z":"cadfa83f.4d8a88","wires":[["f74cb5ed.9a8218","78a2372a.1c5678"]]},{"id":"f74cb5ed.9a8218","type":"success","name":"outcome: 400","xml":"<outcome value=\"400\">","comments":"","outputs":1,"x":1255,"y":871,"z":"cadfa83f.4d8a88","wires":[["d36bba51.566648"]]},{"id":"d36bba51.566648","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1440,"y":868,"z":"cadfa83f.4d8a88","wires":[[]]},{"id":"78a2372a.1c5678","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":1261,"y":941,"z":"cadfa83f.4d8a88","wires":[["9de899ed.51ab28"]]},{"id":"9de899ed.51ab28","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1450,"y":942,"z":"cadfa83f.4d8a88","wires":[["e707672e.0c50c8","ece509d2.9ca6b8"]]},{"id":"38899f2c.e6804","type":"comment","name":"ISBC cases returns failure to stop polling","info":"","comments":"","x":1280,"y":827,"z":"cadfa83f.4d8a88","wires":[]},{"id":"614f4f80.c8d4d","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1243,"y":1218,"z":"cadfa83f.4d8a88","wires":[["19ef6421.7c0d0c"]]},{"id":"19ef6421.7c0d0c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1412,"y":1222,"z":"cadfa83f.4d8a88","wires":[[]]},{"id":"e86c4a58.ea7bf8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":567,"y":813,"z":"cadfa83f.4d8a88","wires":[["4fa99aff.ef8d44"]]},{"id":"4fa99aff.ef8d44","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":743,"y":812,"z":"cadfa83f.4d8a88","wires":[[]]},{"id":"fb8af18a.2b272","type":"call","name":"call: ProcessParameterDefinition","xml":"<call module=\"APPC\" rpc=\"ProcessParameterDefinition\" mode=\"sync\">","comments":"","outputs":1,"x":410,"y":158,"z":"cadfa83f.4d8a88","wires":[["45281ac8.fd3ee4","cc966cb3.a4964"]]},{"id":"45281ac8.fd3ee4","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":647,"y":138,"z":"cadfa83f.4d8a88","wires":[["221bff2c.dba47"]]},{"id":"221bff2c.dba47","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":820,"y":136,"z":"cadfa83f.4d8a88","wires":[["45c0c2ac.c894cc"]]},{"id":"45c0c2ac.c894cc","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"'DG Workflow ProcessParameterDefinition not found'`\"/>\n\t","comments":"","x":1006,"y":138,"z":"cadfa83f.4d8a88","wires":[]},{"id":"cc966cb3.a4964","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":646,"y":195,"z":"cadfa83f.4d8a88","wires":[["6b712b47.080f44"]]},{"id":"6b712b47.080f44","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":809,"y":199,"z":"cadfa83f.4d8a88","wires":[["5a394136.dbb19"]]},{"id":"5a394136.dbb19","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t\n\t","comments":"","x":1009,"y":199,"z":"cadfa83f.4d8a88","wires":[]}]
+[\r
+    {\r
+        "id": "480ea5ae.d5651c",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 150,\r
+        "y": 60,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "a11357be.658c98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a11357be.658c98",\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": 333,\r
+        "y": 61,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "48197593.d501bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "48197593.d501bc",\r
+        "type": "method",\r
+        "name": "method Configure",\r
+        "xml": "<method rpc='Configure' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 531,\r
+        "y": 59,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "524e2ac6.d57614"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "524e2ac6.d57614",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 152,\r
+        "y": 118,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "60b94849.8fbe08",\r
+                "a08072ec.d21e9",\r
+                "99bebd86.edca2",\r
+                "b4f59168.7906f",\r
+                "33406d49.1ea402",\r
+                "fb8af18a.2b272"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "60b94849.8fbe08",\r
+        "type": "call",\r
+        "name": "call: DownloadConfig",\r
+        "xml": "<call module=\"APPC\" rpc=\"`$tmp.configureactiondg.DOWNLOAD-CONFIG-DG`\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 319,\r
+        "y": 1043,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "26d0764c.b2c4ea",\r
+                "a1c9c3ac.c65b3",\r
+                "332d5385.b7918c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "26d0764c.b2c4ea",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 617,\r
+        "y": 983,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "9ad20c2f.bb05a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a1c9c3ac.c65b3",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 632,\r
+        "y": 1044,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "84738e4d.e575"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "332d5385.b7918c",\r
+        "type": "success",\r
+        "name": " success",\r
+        "xml": "<outcome value=\"success\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 612,\r
+        "y": 1108,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "c166ddbd.547ca"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9ad20c2f.bb05a",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 809,\r
+        "y": 975,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "d8230437.7273e8",\r
+                "b1a8052e.9d5358",\r
+                "e8c161d9.03c09"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "84738e4d.e575",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 797,\r
+        "y": 1045,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "1f62ef66.70ec21"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c166ddbd.547ca",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 813,\r
+        "y": 1103,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "1cd207dc.cfc708",\r
+                "d8e99c6.9bb2f6",\r
+                "4cc652f1.8c357c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d8230437.7273e8",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'error-code = ' + $error-code`\" />\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1023,\r
+        "y": 810,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1f62ef66.70ec21",\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=\"`'DG Workflow ' + $tmp.configureactiondg.DOWNLOAD-CONFIG-DG + ' not found'`\"/>\n\t",\r
+        "comments": "",\r
+        "x": 1005,\r
+        "y": 1041,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1cd207dc.cfc708",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'error-code = ' + $error-code`\" />\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n<parameter name=\"field4\" value=\"ACTIVATESUCCESS\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1016,\r
+        "y": 1100,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b1a8052e.9d5358",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n\t",\r
+        "comments": "",\r
+        "x": 1034,\r
+        "y": 993,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "33406d49.1ea402",\r
+        "type": "switchNode",\r
+        "name": "switch config-type",\r
+        "xml": "<switch test='`$config-type`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 238,\r
+        "y": 512,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "4583918a.3e1cf",\r
+                "5016eddc.eaee64"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4583918a.3e1cf",\r
+        "type": "success",\r
+        "name": "outcome: template",\r
+        "xml": "<outcome value=\"template\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 444.5,\r
+        "y": 512,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "7d993b7c.7b6f34"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a08072ec.d21e9",\r
+        "type": "set",\r
+        "name": "set Download params",\r
+        "xml": "<set>\n<parameter name='host-ip-address' value='`$vnf-host-ip-address`' />\n<parameter name='device-login' value='`$device-authentication.USER-NAME`' />\n<parameter name='device-password' value='`$device-authentication.PASSWORD`' />\n<parameter name='port-number' value='`$device-authentication.PORT-NUMBER`' />\n<parameter name='protocol' value='`$tmp.deviceinterfaceprotocol.PROTOCOL`' />\n<parameter name='device-config' value='`$deviceconfig-file-content`' />",\r
+        "comments": "",\r
+        "x": 335,\r
+        "y": 954,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "99bebd86.edca2",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"CONFIGPARAMS\" value=\"`$config-data`\"/>\n<parameter name=\"CONFIGPARAMS1\" value=\"`$block_configuration-parameters`\"/>\n<parameter name=\"TEMPLATENAME\" value=\"`$template-name`\"/>\n<parameter name=\"CONFIGURATION\" value=\"`$configuration`\"/>\n<parameter name=\"CONFIGURATION1\" value=\"`$block_configuration`\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 343,\r
+        "y": 107,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "8f391762.bc0128",\r
+        "type": "call",\r
+        "name": "call: GenerateTemplateConfig",\r
+        "xml": "<call module=\"APPC\" rpc=\"GenerateTemplateConfig\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 839.5,\r
+        "y": 596,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "2a341f8b.78c7",\r
+                "44ce6236.c9f71c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2a341f8b.78c7",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1055.5,\r
+        "y": 585,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "99b9e3f3.4a9c3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "99b9e3f3.4a9c3",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1227.5,\r
+        "y": 583,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "fc1b8d44.7676b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fc1b8d44.7676b",\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=\"'DG Workflow GenerateTemplateConfig not found'`\"/>\n\t",\r
+        "comments": "",\r
+        "x": 1409.5,\r
+        "y": 585,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "44ce6236.c9f71c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1048.5,\r
+        "y": 631,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "65e826ca.d13518"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "65e826ca.d13518",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1208.5,\r
+        "y": 634,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "6a5e4bf3.53e254"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6a5e4bf3.53e254",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n\t\n\t",\r
+        "comments": "",\r
+        "x": 1393.5,\r
+        "y": 634,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ca6cca85.5f74f8",\r
+        "type": "comment",\r
+        "name": "templatename cases",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 562,\r
+        "y": 422,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b58a409e.2bbcb",\r
+        "type": "comment",\r
+        "name": "merge ASDC template and data",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 502,\r
+        "y": 459,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fee64dc4.1d9be",\r
+        "type": "comment",\r
+        "name": "configBlock with or without parameters",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 512,\r
+        "y": 644,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7d993b7c.7b6f34",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 629,\r
+        "y": 513,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "8f391762.bc0128",\r
+                "59a0bc37.92e444"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "59a0bc37.92e444",\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": 834,\r
+        "y": 458,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "f0f05e5b.1643a",\r
+                "57b955b6.a7363c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f0f05e5b.1643a",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1023,\r
+        "y": 486,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "919b1a0e.7f8158"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "919b1a0e.7f8158",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1197,\r
+        "y": 494,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "41f91d3f.4cdc94"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "41f91d3f.4cdc94",\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": 1400,\r
+        "y": 508,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "57b955b6.a7363c",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1034,\r
+        "y": 426,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "f7d52240.3f7b9"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f7d52240.3f7b9",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1215,\r
+        "y": 428,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "1af2c5e7.67c0aa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1af2c5e7.67c0aa",\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=\"Unable to get template info\"/>\n\t\n\t\n\t",\r
+        "comments": "",\r
+        "x": 1410,\r
+        "y": 432,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5016eddc.eaee64",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 429,\r
+        "y": 688,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "27c69859.b17628"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "27c69859.b17628",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 620,\r
+        "y": 686,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "31736aaf.d50f16"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "31736aaf.d50f16",\r
+        "type": "call",\r
+        "name": "call: GenerateConfig",\r
+        "xml": "<call module=\"APPC\" rpc=\"GenerateConfig\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 836,\r
+        "y": 689,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "df338fd9.9e1d5",\r
+                "b78f9a31.550958"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "df338fd9.9e1d5",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1038,\r
+        "y": 683,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "d92ec733.6213c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d92ec733.6213c8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1210,\r
+        "y": 685,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "be7c9084.d5615"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "be7c9084.d5615",\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=\"'DG Workflow GenerateConfig not found'`\"/>\n\t",\r
+        "comments": "",\r
+        "x": 1391,\r
+        "y": 687,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b78f9a31.550958",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1026,\r
+        "y": 745,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "ab74a39a.05a96"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ab74a39a.05a96",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1197,\r
+        "y": 748,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "deac69f1.1634d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "deac69f1.1634d8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n\t\n\t",\r
+        "comments": "",\r
+        "x": 1392,\r
+        "y": 750,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d8e99c6.9bb2f6",\r
+        "type": "set",\r
+        "name": "set error-code 400 and message",\r
+        "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name=\"error-message\" value=\"SUCCESS - request has been processed successfully\" />\n",\r
+        "comments": "",\r
+        "x": 1078,\r
+        "y": 1152,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7bb3e89d.220328",\r
+        "type": "comment",\r
+        "name": "ConfigCompAdaptor resets error code for success cases",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 633,\r
+        "y": 1154,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b4f59168.7906f",\r
+        "type": "execute",\r
+        "name": "execute saveTxLog",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"Prepare Success\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 369,\r
+        "y": 811,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "e86c4a58.ea7bf8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4cc652f1.8c357c",\r
+        "type": "execute",\r
+        "name": "execute saveTxLog",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"Download Success\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1030,\r
+        "y": 1217,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "614f4f80.c8d4d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ece509d2.9ca6b8",\r
+        "type": "execute",\r
+        "name": "execute saveTxLog",\r
+        "xml": "<execute plugin=\"org.onap.appc.config.generator.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1654,\r
+        "y": 984,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e707672e.0c50c8",\r
+        "type": "set",\r
+        "name": "set tmp.message",\r
+        "xml": "<set>\n<parameter name='tmp.message' value=\"`'Download Failure : ' + $error-code + ' : ' + $error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 1643,\r
+        "y": 917,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e8c161d9.03c09",\r
+        "type": "switchNode",\r
+        "name": "switch: error-code",\r
+        "xml": "<switch test=\"`$error-code`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1051,\r
+        "y": 870,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "f74cb5ed.9a8218",\r
+                "78a2372a.1c5678"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f74cb5ed.9a8218",\r
+        "type": "success",\r
+        "name": "outcome: 400",\r
+        "xml": "<outcome value=\"400\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1255,\r
+        "y": 871,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "d36bba51.566648"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d36bba51.566648",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1440,\r
+        "y": 868,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "78a2372a.1c5678",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1261,\r
+        "y": 941,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "9de899ed.51ab28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9de899ed.51ab28",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1450,\r
+        "y": 942,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "e707672e.0c50c8",\r
+                "ece509d2.9ca6b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "38899f2c.e6804",\r
+        "type": "comment",\r
+        "name": "ISBC cases returns failure to stop polling",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1280,\r
+        "y": 827,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "614f4f80.c8d4d",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1243,\r
+        "y": 1218,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "19ef6421.7c0d0c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "19ef6421.7c0d0c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1412,\r
+        "y": 1222,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e86c4a58.ea7bf8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 567,\r
+        "y": 813,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "4fa99aff.ef8d44"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4fa99aff.ef8d44",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 743,\r
+        "y": 812,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "fb8af18a.2b272",\r
+        "type": "call",\r
+        "name": "call: ProcessParameterDefinition",\r
+        "xml": "<call module=\"APPC\" rpc=\"ProcessParameterDefinition\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 410,\r
+        "y": 158,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "45281ac8.fd3ee4",\r
+                "cc966cb3.a4964"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "45281ac8.fd3ee4",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 647,\r
+        "y": 138,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "221bff2c.dba47"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "221bff2c.dba47",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 820,\r
+        "y": 136,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "45c0c2ac.c894cc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "45c0c2ac.c894cc",\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=\"'DG Workflow ProcessParameterDefinition not found'`\"/>\n\t",\r
+        "comments": "",\r
+        "x": 1006,\r
+        "y": 138,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cc966cb3.a4964",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 646,\r
+        "y": 195,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "6b712b47.080f44"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6b712b47.080f44",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 809,\r
+        "y": 199,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": [\r
+            [\r
+                "5a394136.dbb19"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5a394136.dbb19",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n\t\n\t",\r
+        "comments": "",\r
+        "x": 1009,\r
+        "y": 199,\r
+        "z": "cadfa83f.4d8a88",\r
+        "wires": []\r
+    }\r
+]\r
index ae43937..35b58f4 100644 (file)
@@ -1 +1,262 @@
-[{"id":"d52c65e5.f5198","type":"dgstart","name":"DGSTART","outputs":1,"x":176.75,"y":107.75,"z":"30478bde.f2abc4","wires":[["ddb3e53d.f4b2f"]]},{"id":"ddb3e53d.f4b2f","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":364.75,"y":108.75,"z":"30478bde.f2abc4","wires":[["d8340025.194a6"]]},{"id":"d8340025.194a6","type":"method","name":"CreateSnapshotVM","xml":"<method rpc='CreateSnapShotVM' mode='sync'>\n","comments":"","outputs":1,"x":593.7499694824219,"y":109.75,"z":"30478bde.f2abc4","wires":[["d54c9ea.28358e"]]},{"id":"6b99250e.35643c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":930.7499694824219,"y":320.7499694824219,"z":"30478bde.f2abc4","wires":[["397ee930.1e2b1e"]]},{"id":"a43afbad.7e76b","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":939.7499694824219,"y":199.74996948242188,"z":"30478bde.f2abc4","wires":[["7859efa9.a0ac4"]]},{"id":"9f18808f.a11f7","type":"returnSuccess","name":"return success","xml":"<return status='success'>","comments":"","x":1486.7499694824219,"y":292.7499694824219,"z":"30478bde.f2abc4","wires":[]},{"id":"5dad8781.d7ba1","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='RPC CreateSnapShot not found' />","comments":"","x":1247.7499694824219,"y":199.74996948242188,"z":"30478bde.f2abc4","wires":[]},{"id":"397ee930.1e2b1e","type":"switchNode","name":"switch error-code","xml":"<switch test='`$error_code`'>\n","comments":"","outputs":1,"x":1123.7499694824219,"y":321.7499694824219,"z":"30478bde.f2abc4","wires":[["1ed28160.fcd10f","7b2975af.e9ca64"]]},{"id":"1ed28160.fcd10f","type":"success","name":"SUCCESS 200","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":1305.7499694824219,"y":291.7499694824219,"z":"30478bde.f2abc4","wires":[["9f18808f.a11f7"]]},{"id":"7b2975af.e9ca64","type":"outcome","name":"ERROR","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1297.7499694824219,"y":450.7499694824219,"z":"30478bde.f2abc4","wires":[["da50f76.9fc8c08"]]},{"id":"da50f76.9fc8c08","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1430.7499694824219,"y":451.7499694824219,"z":"30478bde.f2abc4","wires":[["bc220e8d.e4e278","191f3219.fef8f6"]]},{"id":"bc220e8d.e4e278","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","comments":"","x":1565.7499694824219,"y":492.75,"z":"30478bde.f2abc4","wires":[]},{"id":"7859efa9.a0ac4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1095.7499694824219,"y":199.74996948242188,"z":"30478bde.f2abc4","wires":[["5dad8781.d7ba1"]]},{"id":"77e88d06.223f64","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'input.payload = ' + $input.payload`\" />\n<parameter name=\"field3\" value=\"`'vm-id in context=' + $vm-id`\" />","comments":"","outputs":1,"x":876.8666687011719,"y":98.75,"z":"30478bde.f2abc4","wires":[[]]},{"id":"d54c9ea.28358e","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":751.6166687011719,"y":169.61666870117188,"z":"30478bde.f2abc4","wires":[["77e88d06.223f64","d8474535.89d048"]]},{"id":"191f3219.fef8f6","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n<parameter name=\"field4\" value=\"`'error-code = ' + $error_code`\" />","comments":"","outputs":1,"x":1555.6166687011719,"y":423.6166687011719,"z":"30478bde.f2abc4","wires":[[]]},{"id":"d8474535.89d048","type":"execute","name":"createSnapshot()","xml":"<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='createSnapshot'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$identity-url`\" />","comments":"","outputs":1,"x":767.7499694824219,"y":265.75,"z":"30478bde.f2abc4","wires":[["a43afbad.7e76b","6b99250e.35643c"]]}]
+[\r
+    {\r
+        "id": "d52c65e5.f5198",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 176.75,\r
+        "y": 107.75,\r
+        "z": "30478bde.f2abc4",\r
+        "wires": [\r
+            [\r
+                "ddb3e53d.f4b2f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ddb3e53d.f4b2f",\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": 364.75,\r
+        "y": 108.75,\r
+        "z": "30478bde.f2abc4",\r
+        "wires": [\r
+            [\r
+                "d8340025.194a6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d8340025.194a6",\r
+        "type": "method",\r
+        "name": "CreateSnapshotVM",\r
+        "xml": "<method rpc='CreateSnapShotVM' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 593.7499694824219,\r
+        "y": 109.75,\r
+        "z": "30478bde.f2abc4",\r
+        "wires": [\r
+            [\r
+                "d54c9ea.28358e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6b99250e.35643c",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 930.7499694824219,\r
+        "y": 320.7499694824219,\r
+        "z": "30478bde.f2abc4",\r
+        "wires": [\r
+            [\r
+                "397ee930.1e2b1e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a43afbad.7e76b",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 939.7499694824219,\r
+        "y": 199.74996948242188,\r
+        "z": "30478bde.f2abc4",\r
+        "wires": [\r
+            [\r
+                "7859efa9.a0ac4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9f18808f.a11f7",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>",\r
+        "comments": "",\r
+        "x": 1486.7499694824219,\r
+        "y": 292.7499694824219,\r
+        "z": "30478bde.f2abc4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5dad8781.d7ba1",\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='RPC CreateSnapShot not found' />",\r
+        "comments": "",\r
+        "x": 1247.7499694824219,\r
+        "y": 199.74996948242188,\r
+        "z": "30478bde.f2abc4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "397ee930.1e2b1e",\r
+        "type": "switchNode",\r
+        "name": "switch error-code",\r
+        "xml": "<switch test='`$error_code`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1123.7499694824219,\r
+        "y": 321.7499694824219,\r
+        "z": "30478bde.f2abc4",\r
+        "wires": [\r
+            [\r
+                "1ed28160.fcd10f",\r
+                "7b2975af.e9ca64"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1ed28160.fcd10f",\r
+        "type": "success",\r
+        "name": "SUCCESS 200",\r
+        "xml": "<outcome value='200'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1305.7499694824219,\r
+        "y": 291.7499694824219,\r
+        "z": "30478bde.f2abc4",\r
+        "wires": [\r
+            [\r
+                "9f18808f.a11f7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7b2975af.e9ca64",\r
+        "type": "outcome",\r
+        "name": "ERROR",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1297.7499694824219,\r
+        "y": 450.7499694824219,\r
+        "z": "30478bde.f2abc4",\r
+        "wires": [\r
+            [\r
+                "da50f76.9fc8c08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "da50f76.9fc8c08",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1430.7499694824219,\r
+        "y": 451.7499694824219,\r
+        "z": "30478bde.f2abc4",\r
+        "wires": [\r
+            [\r
+                "bc220e8d.e4e278",\r
+                "191f3219.fef8f6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bc220e8d.e4e278",\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",\r
+        "comments": "",\r
+        "x": 1565.7499694824219,\r
+        "y": 492.75,\r
+        "z": "30478bde.f2abc4",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7859efa9.a0ac4",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1095.7499694824219,\r
+        "y": 199.74996948242188,\r
+        "z": "30478bde.f2abc4",\r
+        "wires": [\r
+            [\r
+                "5dad8781.d7ba1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "77e88d06.223f64",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'input.payload = ' + $input.payload`\" />\n<parameter name=\"field3\" value=\"`'vm-id in context=' + $vm-id`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 876.8666687011719,\r
+        "y": 98.75,\r
+        "z": "30478bde.f2abc4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d54c9ea.28358e",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 751.6166687011719,\r
+        "y": 169.61666870117188,\r
+        "z": "30478bde.f2abc4",\r
+        "wires": [\r
+            [\r
+                "77e88d06.223f64",\r
+                "d8474535.89d048"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "191f3219.fef8f6",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />\n<parameter name=\"field4\" value=\"`'error-code = ' + $error_code`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1555.6166687011719,\r
+        "y": 423.6166687011719,\r
+        "z": "30478bde.f2abc4",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d8474535.89d048",\r
+        "type": "execute",\r
+        "name": "createSnapshot()",\r
+        "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='createSnapshot'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$identity-url`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 767.7499694824219,\r
+        "y": 265.75,\r
+        "z": "30478bde.f2abc4",\r
+        "wires": [\r
+            [\r
+                "a43afbad.7e76b",\r
+                "6b99250e.35643c"\r
+            ]\r
+        ]\r
+    }\r
+]\r
index ff47197..34118c4 100644 (file)
-[
-    {
-        "id": "af863c5e.90e748",
-        "name": "DGSTART",
-        "outputs": 1,
-        "type": "dgstart",
-        "wires": [
-            [
-                "d9df0190.a42ba"
-            ]
-        ],
-        "x": 146.75,
-        "y": 164.75,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "d9df0190.a42ba",
-        "module": "APPC",
-        "name": "APPC 4.0.0",
-        "outputs": 1,
-        "type": "service-logic",
-        "version": "4.0.0",
-        "wires": [
-            [
-                "7c89aa4e.932024"
-            ]
-        ],
-        "x": 304.09282302856445,
-        "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'>",
-        "y": 164.73572540283203,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "7c89aa4e.932024",
-        "name": "method DGOrchestrator",
-        "outputs": 1,
-        "type": "method",
-        "wires": [
-            [
-                "c70f8f3b.05d388"
-            ]
-        ],
-        "x": 508.64046478271484,
-        "xml": "<method rpc='DGOrchestrator' mode='sync'>\n",
-        "y": 154.23572540283203,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "atomic": "true",
-        "comments": "",
-        "id": "c70f8f3b.05d388",
-        "name": "block : atomic",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            [
-                "381e0ace.b3f33e",
-                "5f6fb0ca.2c254",
-                "c488bd07.108a38",
-                "75917e4e.17476"
-            ]
-        ],
-        "x": 114.90634155273438,
-        "xml": "<block atomic=\"true\">",
-        "y": 287.93809700012207,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "75917e4e.17476",
-        "name": "call: setInputParams",
-        "outputs": 1,
-        "type": "call",
-        "wires": [
-            [
-                "36ff1ffa.c778a",
-                "26081ec1.29b53a",
-                "c2f54a3a.ddf05"
-            ]
-        ],
-        "x": 649.6642913818359,
-        "xml": "<call module=\"APPC\" rpc=\"setInputParams\" mode=\"sync\">",
-        "y": 204.23572635650635,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "1210a216.c8af96",
-        "name": "failure",
-        "outputs": 1,
-        "type": "failure",
-        "wires": [
-            [
-                "9c3d67a5.92d02"
-            ]
-        ],
-        "x": 2142.4143924713135,
-        "xml": "<outcome value='failure'>\n",
-        "y": 315.6523714065552,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "b0e87141.6fe4f8",
-        "name": "execute get and executeFlowSequence",
-        "outputs": 1,
-        "type": "execute",
-        "wires": [
-            [
-                "1210a216.c8af96",
-                "85baeb80.e02e8"
-            ]
-        ],
-        "x": 1850.5411643981934,
-        "xml": "<execute plugin=\"org.onap.appc.flow.controller.node.FlowControlNode\" method=\"processFlow\">\n<parameter name=\"messageType\" value=\"response\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.flowControl\" />\n",
-        "y": 327.96586418151855,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "atomic": "true",
-        "comments": "",
-        "id": "9c3d67a5.92d02",
-        "name": "block : atomic",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            [
-                "4c31beff.349f7"
-            ]
-        ],
-        "x": 2353.461868286133,
-        "xml": "<block atomic=\"true\">",
-        "y": 313.1761817932129,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "88a7413.62118c",
-        "name": "set error-code 400 and message",
-        "type": "set",
-        "wires": [],
-        "x": 2598.9379119873047,
-        "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value=\"SUCCESS - request has been processed successfully\" />\n<parameter name='output-payload' value=\"`'state : ' + $output.payload.state` \" />\n",
-        "y": 394.735652923584,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "85baeb80.e02e8",
-        "name": "success",
-        "outputs": 1,
-        "type": "success",
-        "wires": [
-            [
-                "91b3c0c8.bd7338"
-            ]
-        ],
-        "x": 2148.2952003479004,
-        "xml": "<outcome value='success'>\n",
-        "y": 395.31900215148926,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "atomic": "true",
-        "comments": "",
-        "id": "91b3c0c8.bd7338",
-        "name": "block : atomic",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            [
-                "88a7413.62118c"
-            ]
-        ],
-        "x": 2336.175952911377,
-        "xml": "<block atomic=\"true\">",
-        "y": 394.9737958908081,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "4c31beff.349f7",
-        "name": "set error-code 401 and message",
-        "type": "set",
-        "wires": [],
-        "x": 2603.7476806640625,
-        "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$tmp.flowControl.status-message`\" />\n<parameter name='output-payload' value=\"\" />\n",
-        "y": 313.11661529541016,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "5f6fb0ca.2c254",
-        "name": "execute saveTxLog",
-        "outputs": 1,
-        "type": "execute",
-        "wires": [
-            [
-                "9340c18b.3084e8"
-            ]
-        ],
-        "x": 314.2475776672363,
-        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"response\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
-        "y": 1005.7912883758545,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "9340c18b.3084e8",
-        "name": "failure",
-        "outputs": 1,
-        "type": "failure",
-        "wires": [
-            [
-                "af758d58.5b9778"
-            ]
-        ],
-        "x": 515.6919479370117,
-        "xml": "<outcome value='failure'>\n",
-        "y": 1006.707914352417,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "atomic": "true",
-        "comments": "",
-        "id": "af758d58.5b9778",
-        "name": "block : atomic",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            []
-        ],
-        "x": 691.1643218994141,
-        "xml": "<block atomic=\"true\">",
-        "y": 1008.2912473678589,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "381e0ace.b3f33e",
-        "name": "set tmp.message",
-        "type": "set",
-        "wires": [],
-        "x": 333.0253677368164,
-        "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n",
-        "y": 917.9857015609741,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "36ff1ffa.c778a",
-        "name": "not-found",
-        "outputs": 1,
-        "type": "not-found",
-        "wires": [
-            [
-                "ca660a6a.37209"
-            ]
-        ],
-        "x": 865.164306640625,
-        "xml": "<outcome value='not-found'>\n",
-        "y": 163.40238761901855,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "26081ec1.29b53a",
-        "name": "failure",
-        "outputs": 1,
-        "type": "failure",
-        "wires": [
-            [
-                "ca660a6a.37209"
-            ]
-        ],
-        "x": 859.664306640625,
-        "xml": "<outcome value='failure'>\n",
-        "y": 202.4023895263672,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "atomic": "true",
-        "comments": "",
-        "id": "ca660a6a.37209",
-        "name": "block : atomic",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            []
-        ],
-        "x": 1032.414306640625,
-        "xml": "<block atomic=\"true\">\n\n",
-        "y": 183.90241241455078,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "c488bd07.108a38",
-        "name": "switch error-code",
-        "outputs": 1,
-        "type": "switchNode",
-        "wires": [
-            [
-                "3d595d5f.577762",
-                "faa2fd8b.a0c5c"
-            ]
-        ],
-        "x": 337.8309631347656,
-        "xml": "<switch test='`$error-code`'>\n",
-        "y": 859.6524333953857,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "3d595d5f.577762",
-        "name": "outcome: 400",
-        "outputs": 1,
-        "type": "success",
-        "wires": [
-            [
-                "185cf26e.a85396"
-            ]
-        ],
-        "x": 602.4975891113281,
-        "xml": "<outcome value=\"400\">",
-        "y": 811.9857139587402,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "faa2fd8b.a0c5c",
-        "name": "outcome: Other",
-        "outputs": 1,
-        "type": "success",
-        "wires": [
-            [
-                "d829d71e.06cbb8"
-            ]
-        ],
-        "x": 602.414249420166,
-        "xml": "<outcome value=\"Other\">",
-        "y": 911.985746383667,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "atomic": "true",
-        "id": "185cf26e.a85396",
-        "name": "block : atomic",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            [
-                "766d8c6f.46c504"
-            ]
-        ],
-        "x": 813.7476348876953,
-        "xml": "<block atomic=\"true\">",
-        "y": 814.6524209976196,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "atomic": "true",
-        "id": "d829d71e.06cbb8",
-        "name": "block : atomic",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            [
-                "cb724d6.bb5e03"
-            ]
-        ],
-        "x": 795.7474899291992,
-        "xml": "<block atomic=\"true\">",
-        "y": 913.235746383667,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "766d8c6f.46c504",
-        "name": "set Status for dispatcher",
-        "type": "set",
-        "wires": [],
-        "x": 1063.4143371582031,
-        "xml": "<set>\n<parameter name='SvcLogic.status' value='success' />\n<parameter name='output.status.code' value='`$error-code`' />\n<parameter name='output.status.message' value='`$error-message`' />",
-        "y": 812.8190479278564,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "cb724d6.bb5e03",
-        "name": "set Status for dispatcher",
-        "type": "set",
-        "wires": [],
-        "x": 1032.9142837524414,
-        "xml": "<set>\n<parameter name='SvcLogic.status' value='failure' />\n<parameter name='output.status.code' value='`$error-code`' />\n<parameter name='output.status.message' value='`$error-message`' />\n",
-        "y": 912.1523923873901,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "atomic": "true",
-        "comments": "",
-        "id": "3df8ebcb.3db3a4",
-        "name": "block : atomic",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            [
-                "db8589d5.f5783"
-            ]
-        ],
-        "x": 525.9142684936523,
-        "xml": "<block atomic=\"true\">",
-        "y": 315.5690441131592,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "c2f54a3a.ddf05",
-        "name": "success",
-        "outputs": 1,
-        "type": "success",
-        "wires": [
-            [
-                "3df8ebcb.3db3a4"
-            ]
-        ],
-        "x": 855.497615814209,
-        "xml": "<outcome value='success'>\n",
-        "y": 242.23571968078613,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "98b12577.b4145",
-        "name": "execute getCapability",
-        "outputs": 1,
-        "type": "execute",
-        "wires": [
-            [
-                "e327dfa0.71d49",
-                "a7e121d5.e56c78"
-            ]
-        ],
-        "x": 831.6644706726074,
-        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getCapability\">\n<parameter name=\"caplevel\" value=\"`$action-level`\" />\n<parameter name=\"checkCapability\" value=\"`$request-action`\" />\n<parameter name=\"vnf-type\" value=\"`$vnf-type`\" />\n\n",
-        "y": 463.6523542404175,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "79a2cd7a.1539c4",
-        "name": "switch capability-result",
-        "outputs": 1,
-        "type": "switchNode",
-        "wires": [
-            [
-                "2529f428.b003fc",
-                "69db5125.fc4bf",
-                "4ed07506.b71b1c"
-            ]
-        ],
-        "x": 1161.454574584961,
-        "xml": "<switch test=\"`$capabilities`\">\n",
-        "y": 549.3952317237854,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "2529f428.b003fc",
-        "name": "outcome: Not-Supported",
-        "outputs": 1,
-        "type": "success",
-        "wires": [
-            [
-                "b6a06ded.095718"
-            ]
-        ],
-        "x": 1400.6644439697266,
-        "xml": "<outcome value=\"Not-Supported\">",
-        "y": 675.9856586456299,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "69db5125.fc4bf",
-        "name": "outcome: Supported",
-        "outputs": 1,
-        "type": "success",
-        "wires": [
-            [
-                "b748bba.a3058c8"
-            ]
-        ],
-        "x": 1391.5810241699219,
-        "xml": "<outcome value=\"Supported\">",
-        "y": 608.3190422058105,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "e327dfa0.71d49",
-        "name": "Other",
-        "outputs": 1,
-        "type": "failure",
-        "wires": [
-            [
-                "54a3be90.486a98"
-            ]
-        ],
-        "x": 1132.7594909667969,
-        "xml": "<outcome value='Other'>\n",
-        "y": 409.8428611755371,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "a7e121d5.e56c78",
-        "name": "success",
-        "outputs": 1,
-        "type": "success",
-        "wires": [
-            [
-                "670943f4.e09734"
-            ]
-        ],
-        "x": 1117.2119979858398,
-        "xml": "<outcome value='success'>\n",
-        "y": 466.65238761901855,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "b6a06ded.095718",
-        "name": "set error-code 450 and message",
-        "type": "set",
-        "wires": [],
-        "x": 1690.997543334961,
-        "xml": "<set>\n<parameter name='error-code' value='450' />\n<parameter name='error-message' value=\"Request not supported\" />\n<parameter name='output-payload' value=\"\" />",
-        "y": 677.6523866653442,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "atomic": "true",
-        "comments": "",
-        "id": "b748bba.a3058c8",
-        "name": "block : atomic",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            [
-                "b0e87141.6fe4f8"
-            ]
-        ],
-        "x": 1612.9976196289062,
-        "xml": "<block atomic=\"true\">",
-        "y": 612.3190307617188,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "4ed07506.b71b1c",
-        "name": "Other",
-        "outputs": 1,
-        "type": "other",
-        "wires": [
-            [
-                "b0e87141.6fe4f8"
-            ]
-        ],
-        "x": 1338.3310661315918,
-        "xml": "<outcome value='Other'>\n",
-        "y": 537.9857149124146,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "2930004b.59f6a",
-        "name": "set error code 401",
-        "type": "set",
-        "wires": [],
-        "x": 1482.6641845703125,
-        "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Cannot Determine Capabilities\" />\n<parameter name='output-payload' value=\"\" />\n",
-        "y": 398.2357177734375,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "atomic": "true",
-        "comments": "",
-        "id": "670943f4.e09734",
-        "name": "block : atomic",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            [
-                "79a2cd7a.1539c4"
-            ]
-        ],
-        "x": 962.0492706298828,
-        "xml": "<block atomic=\"true\">\n\n",
-        "y": 549.8094539642334,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "55f47d04.5f65bc",
-        "name": "record",
-        "outputs": 1,
-        "type": "record",
-        "wires": [
-            []
-        ],
-        "x": 1447.072998046875,
-        "xml": "<record plugin=\"org.onap.sdnc.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"` 'Capabilities results will be - '+$capabilities`\" />",
-        "y": 446.452392578125,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "db8589d5.f5783",
-        "name": "switch action-level",
-        "outputs": 1,
-        "type": "switchNode",
-        "wires": [
-            [
-                "c0e2c8b.089e238",
-                "9e5abf68.ff6c1"
-            ]
-        ],
-        "x": 717.1944808959961,
-        "xml": "<switch test='`$action-level`'>\n",
-        "y": 316.41671562194824,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "c0e2c8b.089e238",
-        "name": "outcome: Other",
-        "outputs": 1,
-        "type": "success",
-        "wires": [
-            [
-                "98b12577.b4145"
-            ]
-        ],
-        "x": 614.6110458374023,
-        "xml": "<outcome value='Other'>",
-        "y": 461.1666831970215,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "comments": "",
-        "id": "9e5abf68.ff6c1",
-        "name": "outcome: vm",
-        "outputs": 1,
-        "type": "success",
-        "wires": [
-            [
-                "6c0f9755.4e6f38"
-            ]
-        ],
-        "x": 912.9443511962891,
-        "xml": "<outcome value='vm'>",
-        "y": 313.83336639404297,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "atomic": "true",
-        "comments": "",
-        "id": "54a3be90.486a98",
-        "name": "block : atomic",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            [
-                "2930004b.59f6a",
-                "55f47d04.5f65bc"
-            ]
-        ],
-        "x": 1285.99755859375,
-        "xml": "<block atomic=\"true\">\n\n",
-        "y": 408.90234375,
-        "z": "7aa4b695.11473"
-    },
-    {
-        "atomic": "true",
-        "comments": "",
-        "id": "6c0f9755.4e6f38",
-        "name": "block : atomic",
-        "outputs": 1,
-        "type": "block",
-        "wires": [
-            [
-                "b0e87141.6fe4f8"
-            ]
-        ],
-        "x": 1128.4166717529297,
-        "xml": "<block atomic=\"true\">\n\n",
-        "y": 314.74999809265137,
-        "z": "7aa4b695.11473"
-    }
-]
+[\r
+    {\r
+        "id": "b24646ee.b28ae8",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 164.75,\r
+        "y": 66.75,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "2b03bae1.35b0c6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2b03bae1.35b0c6",\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": 322.09282302856445,\r
+        "y": 66.73572540283203,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "ff5378d6.e233e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ff5378d6.e233e",\r
+        "type": "method",\r
+        "name": "method DGOrchestrator",\r
+        "xml": "<method rpc='DGOrchestrator' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 526.6404647827148,\r
+        "y": 56.23572540283203,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "642ab4f1.20f90c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "642ab4f1.20f90c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 132.90634155273438,\r
+        "y": 189.93809700012207,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "b0b1d9c5.c1f34",\r
+                "20251bec.f0f3ac",\r
+                "d8ffc32a.5a176",\r
+                "b2170187.510fb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b2170187.510fb8",\r
+        "type": "call",\r
+        "name": "call: setInputParams",\r
+        "xml": "<call module=\"APPC\" rpc=\"setInputParams\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 667.6642913818359,\r
+        "y": 106.23572635650635,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "10a70eaa.f90671",\r
+                "5a2a6552.aa959c",\r
+                "8cada029.8e7bf8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d6b49825.e2c99",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2280.414306640625,\r
+        "y": 412.6523742675781,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "7e71c4fc.4eeaac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "68e7d29c.925c04",\r
+        "type": "execute",\r
+        "name": "execute get and executeFlowSequence",\r
+        "xml": "<execute plugin=\"org.onap.appc.flow.controller.node.FlowControlNode\" method=\"processFlow\">\n<parameter name=\"messageType\" value=\"response\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.flowControl\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2121.5411376953125,\r
+        "y": 467.9658203125,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "d6b49825.e2c99",\r
+                "c6bce202.87c7f8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7e71c4fc.4eeaac",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2418.4619140625,\r
+        "y": 414.1761779785156,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "d011a4db.98e728"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c7c2bb2d.939168",\r
+        "type": "set",\r
+        "name": "set error-code 400 and message",\r
+        "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value=\"SUCCESS - request has been processed successfully\" />\n<parameter name='output-payload' value=\"`'state : ' + $output.payload.state` \" />\n",\r
+        "comments": "",\r
+        "x": 2401.93798828125,\r
+        "y": 652.7356567382812,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c6bce202.87c7f8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2399.295166015625,\r
+        "y": 493.3190002441406,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "962e39f1.dcfdd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "962e39f1.dcfdd",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2431.176025390625,\r
+        "y": 543.9737548828125,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "c7c2bb2d.939168"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d011a4db.98e728",\r
+        "type": "set",\r
+        "name": "set error-code 401 and message",\r
+        "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$tmp.flowControl.status-message`\" />\n<parameter name='output-payload' value=\"\" />\n",\r
+        "comments": "",\r
+        "x": 2500.74755859375,\r
+        "y": 341.1166076660156,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "20251bec.f0f3ac",\r
+        "type": "execute",\r
+        "name": "execute saveTxLog",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"response\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 332.2475776672363,\r
+        "y": 907.7912883758545,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "e0751050.629e18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e0751050.629e18",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 533.6919479370117,\r
+        "y": 908.707914352417,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "c79c66af.41dcf8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c79c66af.41dcf8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 709.1643218994141,\r
+        "y": 910.2912473678589,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b0b1d9c5.c1f34",\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": 351.0253677368164,\r
+        "y": 819.9857015609741,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "10a70eaa.f90671",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 883.164306640625,\r
+        "y": 65.40238761901855,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "9d8747ec.4b74e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5a2a6552.aa959c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 877.664306640625,\r
+        "y": 104.40238952636719,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "9d8747ec.4b74e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9d8747ec.4b74e8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n\n",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1050.414306640625,\r
+        "y": 85.90241241455078,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d8ffc32a.5a176",\r
+        "type": "switchNode",\r
+        "name": "switch error-code",\r
+        "xml": "<switch test='`$error-code`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 355.8309631347656,\r
+        "y": 761.6524333953857,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "104f332b.7fe32d",\r
+                "c31a7601.21114"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "104f332b.7fe32d",\r
+        "type": "success",\r
+        "name": "outcome: 400",\r
+        "xml": "<outcome value=\"400\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 620.4975891113281,\r
+        "y": 713.9857139587402,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "1a67f81c.55efd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c31a7601.21114",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 620.414249420166,\r
+        "y": 813.985746383667,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "26a9da95.37865e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1a67f81c.55efd",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 831.7476348876953,\r
+        "y": 716.6524209976196,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "3bf3629c.aa6146"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "26a9da95.37865e",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 813.7474899291992,\r
+        "y": 815.235746383667,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "63a4df2c.36b148"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3bf3629c.aa6146",\r
+        "type": "set",\r
+        "name": "set Status for dispatcher",\r
+        "xml": "<set>\n<parameter name='SvcLogic.status' value='success' />\n<parameter name='output.status.code' value='`$error-code`' />\n<parameter name='output.status.message' value='`$error-message`' />",\r
+        "comments": "",\r
+        "x": 1081.4143371582031,\r
+        "y": 714.8190479278564,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "63a4df2c.36b148",\r
+        "type": "set",\r
+        "name": "set Status for dispatcher",\r
+        "xml": "<set>\n<parameter name='SvcLogic.status' value='failure' />\n<parameter name='output.status.code' value='`$error-code`' />\n<parameter name='output.status.message' value='`$error-message`' />\n",\r
+        "comments": "",\r
+        "x": 1050.9142837524414,\r
+        "y": 814.1523923873901,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5a79a689.536538",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 877.914306640625,\r
+        "y": 205.56903076171875,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "f594ffbb.f912b8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8cada029.8e7bf8",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 873.497615814209,\r
+        "y": 144.23571968078613,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "5a79a689.536538"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f594ffbb.f912b8",\r
+        "type": "execute",\r
+        "name": "execute getCapability",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getCapability\">\n<parameter name=\"caplevel\" value=\"`$action-level`\" />\n<parameter name=\"checkCapability\" value=\"`$request-action`\" />\n<parameter name=\"vServerId\" value=\"`$vserver-id`\"/>\n<parameter name=\"vnf-type\" value=\"`$vnf-type`\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 875.6644897460938,\r
+        "y": 310.65234375,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "5f2bdf29.228bb",\r
+                "4ec63560.2078bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "55493d49.7567ac",\r
+        "type": "switchNode",\r
+        "name": "switch capability-result",\r
+        "xml": "<switch test=\"`$capabilities`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1179.454574584961,\r
+        "y": 451.3952317237854,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "c0aa0b56.52de8",\r
+                "c6d97329.a088d8",\r
+                "ee014032.84a888"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c0aa0b56.52de8",\r
+        "type": "success",\r
+        "name": "outcome: Not-Supported",\r
+        "xml": "<outcome value=\"Not-Supported\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1418.6644439697266,\r
+        "y": 577.9856586456299,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "455b8a0b.eedddc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c6d97329.a088d8",\r
+        "type": "success",\r
+        "name": "outcome: Supported",\r
+        "xml": "<outcome value=\"Supported\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1419.5810546875,\r
+        "y": 508.31903076171875,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "c92406bc.5f6e3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5f2bdf29.228bb",\r
+        "type": "failure",\r
+        "name": "Other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1150.7594909667969,\r
+        "y": 311.8428611755371,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "d5744539.8762c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4ec63560.2078bc",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1135.2119979858398,\r
+        "y": 368.65238761901855,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "75ad149f.944b04"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "455b8a0b.eedddc",\r
+        "type": "set",\r
+        "name": "set error-code 450 and message",\r
+        "xml": "<set>\n<parameter name='error-code' value='450' />\n<parameter name='error-message' value=\"Request not supported\" />\n<parameter name='output-payload' value=\"\" />",\r
+        "comments": "",\r
+        "x": 1708.997543334961,\r
+        "y": 579.6523866653442,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c92406bc.5f6e3",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1633.99755859375,\r
+        "y": 507.31903076171875,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "cd8ec825.44db4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ee014032.84a888",\r
+        "type": "other",\r
+        "name": "Other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1356.3310661315918,\r
+        "y": 439.98571491241455,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "c92406bc.5f6e3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "85dace0d.a239",\r
+        "type": "set",\r
+        "name": "set error code 401",\r
+        "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Cannot Determine Capabilities\" />\n<parameter name='output-payload' value=\"\" />\n",\r
+        "comments": "",\r
+        "x": 1500.6641845703125,\r
+        "y": 300.2357177734375,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "75ad149f.944b04",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n\n",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 980.0492706298828,\r
+        "y": 451.8094539642334,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "55493d49.7567ac"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d9736db6.f70958",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"` 'Capabilities results will be - '+$capabilities`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1465.072998046875,\r
+        "y": 348.452392578125,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d5744539.8762c",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n\n",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1303.99755859375,\r
+        "y": 310.90234375,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "85dace0d.a239",\r
+                "d9736db6.f70958"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1a24fd28.172f5b",\r
+        "type": "set",\r
+        "name": "set aai-vnf-type, vnf-type",\r
+        "xml": "<set>\n<parameter name='aai-vnf-type' value='`$vnf-type`' />\n<parameter name='vnf-type' value='' />\n",\r
+        "comments": "",\r
+        "x": 2181.75,\r
+        "y": 305.75,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cd8ec825.44db4",\r
+        "type": "switchNode",\r
+        "name": "switch action-level",\r
+        "xml": "<switch test='`$action-level`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1840.75,\r
+        "y": 505.75,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "eb1f9644.21f76",\r
+                "145954d1.e86f93"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "eb1f9644.21f76",\r
+        "type": "success",\r
+        "name": "outcome: Other",\r
+        "xml": "<outcome value='Other'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2043.1666259765625,\r
+        "y": 571.1666259765625,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "68e7d29c.925c04"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "145954d1.e86f93",\r
+        "type": "success",\r
+        "name": "outcome: vm",\r
+        "xml": "<outcome value='vm'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1781.1666259765625,\r
+        "y": 364.83331298828125,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "4c84b99c.0edd5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4c84b99c.0edd5",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1983,\r
+        "y": 365.75,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": [\r
+            [\r
+                "1a24fd28.172f5b",\r
+                "68e7d29c.925c04"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9fa68267.0afa28",\r
+        "type": "comment",\r
+        "name": "vnf-type is set to nul here to enable VM level commands to select correct RPC ",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1970.75,\r
+        "y": 250.75,\r
+        "z": "d44ce577.125ec8",\r
+        "wires": []\r
+    }\r
+]
\ No newline at end of file
index be68a52..bd1ff69 100644 (file)
@@ -1 +1,311 @@
-[{"id":"cc3f1f05.590e2","type":"dgstart","name":"DGSTART","outputs":1,"x":262,"y":117,"z":"8f971cf0.9ab5c","wires":[["9c5ed558.935128"]]},{"id":"9c5ed558.935128","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"3.1.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":475,"y":114,"z":"8f971cf0.9ab5c","wires":[["3cae3899.2ea4d8"]]},{"id":"3cae3899.2ea4d8","type":"method","name":"method DownloadCLIConfig","xml":"<method rpc='DownloadCliConfig' mode='sync'>\n","comments":"","outputs":1,"x":703,"y":114,"z":"8f971cf0.9ab5c","wires":[["b932981.f2fe068"]]},{"id":"838fcb2d.61bce8","type":"execute","name":"execute : Download Configuration","xml":"<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='DownloadCliConfig'>\n<parameter name=\"Download_config_template\" value=\"`$download-config-template.TEMPLATE`\"/>\n<parameter name=\"Config_contents\" value=\"`$device-config`\"/>\n<parameter name=\"Host_ip_address\" value=\"`$host-ip-address`\" />\n<parameter name=\"User_name\" value=\"`$device-login`\" />\n<parameter name=\"Password\" value=\"`$device-password`\" />\n<parameter name=\"Port_number\" value=\"`$port-number`\" />\n\n\n","comments":"","outputs":1,"x":411,"y":456,"z":"8f971cf0.9ab5c","wires":[["d050e0d2.b2267","84bb3919.ad5688","4cbf4207.52ffdc"]]},{"id":"d050e0d2.b2267","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":697,"y":611,"z":"8f971cf0.9ab5c","wires":[["2181b8c9.4f5038"]]},{"id":"b932981.f2fe068","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":178,"y":270,"z":"8f971cf0.9ab5c","wires":[["1ec47089.0e6d1f"]]},{"id":"2181b8c9.4f5038","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<!-- Dont over write error code and message -->\n","comments":"","x":905,"y":610,"z":"8f971cf0.9ab5c","wires":[]},{"id":"84bb3919.ad5688","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":791,"y":406,"z":"8f971cf0.9ab5c","wires":[["d912ec9e.456d4"]]},{"id":"4cbf4207.52ffdc","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":776,"y":513,"z":"8f971cf0.9ab5c","wires":[["d29269ef.626db8"]]},{"id":"d29269ef.626db8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":957,"y":471,"z":"8f971cf0.9ab5c","wires":[["cae99c12.7fa8f"]]},{"id":"d912ec9e.456d4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":949,"y":402,"z":"8f971cf0.9ab5c","wires":[["8c7e5c1f.d6d09"]]},{"id":"8c7e5c1f.d6d09","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\" />\n","comments":"","x":1108,"y":402,"z":"8f971cf0.9ab5c","wires":[]},{"id":"cae99c12.7fa8f","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to Download CLI Config to Device\" />\n<parameter name=\"error-code\" value=\"401\" />\n","comments":"","x":1116,"y":471,"z":"8f971cf0.9ab5c","wires":[]},{"id":"af8106d6.2c54e8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to get download config template\" />\n<parameter name=\"error-code\" value=\"401\" />\n","comments":"","x":1225,"y":277,"z":"8f971cf0.9ab5c","wires":[]},{"id":"1ec47089.0e6d1f","type":"get-resource","name":"get-resource DOWNLOAD_CONFIG_TEMPLATE","xml":"<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT TEMPLATE FROM DOWNLOAD_CONFIG_TEMPLATE WHERE vnf_type = $vnf-type ;\"\n    force='true'\n\tpfx='download-config-template'>\n","comments":"","outputs":1,"x":485,"y":267,"z":"8f971cf0.9ab5c","wires":[["fe1132ad.5731b","9280f34d.3465f","54bd663f.2cab28"]]},{"id":"9280f34d.3465f","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":831,"y":254,"z":"8f971cf0.9ab5c","wires":[["75516ff4.5cb1"]]},{"id":"fe1132ad.5731b","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":833,"y":323,"z":"8f971cf0.9ab5c","wires":[["75516ff4.5cb1"]]},{"id":"75516ff4.5cb1","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":1027,"y":278,"z":"8f971cf0.9ab5c","wires":[["af8106d6.2c54e8"]]},{"id":"54bd663f.2cab28","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":422,"y":350,"z":"8f971cf0.9ab5c","wires":[["46aaf503.56738c"]]},{"id":"46aaf503.56738c","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":615,"y":349,"z":"8f971cf0.9ab5c","wires":[["838fcb2d.61bce8"]]}]
+[\r
+    {\r
+        "id": "cc3f1f05.590e2",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 262,\r
+        "y": 117,\r
+        "z": "8f971cf0.9ab5c",\r
+        "wires": [\r
+            [\r
+                "9c5ed558.935128"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9c5ed558.935128",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "3.1.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": 475,\r
+        "y": 114,\r
+        "z": "8f971cf0.9ab5c",\r
+        "wires": [\r
+            [\r
+                "3cae3899.2ea4d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3cae3899.2ea4d8",\r
+        "type": "method",\r
+        "name": "method DownloadCLIConfig",\r
+        "xml": "<method rpc='DownloadCliConfig' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 703,\r
+        "y": 114,\r
+        "z": "8f971cf0.9ab5c",\r
+        "wires": [\r
+            [\r
+                "b932981.f2fe068"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "838fcb2d.61bce8",\r
+        "type": "execute",\r
+        "name": "execute : Download Configuration",\r
+        "xml": "<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='DownloadCliConfig'>\n<parameter name=\"Download_config_template\" value=\"`$download-config-template.TEMPLATE`\"/>\n<parameter name=\"Config_contents\" value=\"`$device-config`\"/>\n<parameter name=\"Host_ip_address\" value=\"`$host-ip-address`\" />\n<parameter name=\"User_name\" value=\"`$device-login`\" />\n<parameter name=\"Password\" value=\"`$device-password`\" />\n<parameter name=\"Port_number\" value=\"`$port-number`\" />\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 411,\r
+        "y": 456,\r
+        "z": "8f971cf0.9ab5c",\r
+        "wires": [\r
+            [\r
+                "d050e0d2.b2267",\r
+                "84bb3919.ad5688",\r
+                "4cbf4207.52ffdc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d050e0d2.b2267",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 697,\r
+        "y": 611,\r
+        "z": "8f971cf0.9ab5c",\r
+        "wires": [\r
+            [\r
+                "2181b8c9.4f5038"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b932981.f2fe068",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 178,\r
+        "y": 270,\r
+        "z": "8f971cf0.9ab5c",\r
+        "wires": [\r
+            [\r
+                "1ec47089.0e6d1f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2181b8c9.4f5038",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<!-- Dont over write error code and message -->\n",\r
+        "comments": "",\r
+        "x": 905,\r
+        "y": 610,\r
+        "z": "8f971cf0.9ab5c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "84bb3919.ad5688",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 791,\r
+        "y": 406,\r
+        "z": "8f971cf0.9ab5c",\r
+        "wires": [\r
+            [\r
+                "d912ec9e.456d4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4cbf4207.52ffdc",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 776,\r
+        "y": 513,\r
+        "z": "8f971cf0.9ab5c",\r
+        "wires": [\r
+            [\r
+                "d29269ef.626db8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d29269ef.626db8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 957,\r
+        "y": 471,\r
+        "z": "8f971cf0.9ab5c",\r
+        "wires": [\r
+            [\r
+                "cae99c12.7fa8f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d912ec9e.456d4",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 949,\r
+        "y": 402,\r
+        "z": "8f971cf0.9ab5c",\r
+        "wires": [\r
+            [\r
+                "8c7e5c1f.d6d09"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8c7e5c1f.d6d09",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\" />\n",\r
+        "comments": "",\r
+        "x": 1108,\r
+        "y": 402,\r
+        "z": "8f971cf0.9ab5c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cae99c12.7fa8f",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to Download CLI Config to Device\" />\n<parameter name=\"error-code\" value=\"401\" />\n",\r
+        "comments": "",\r
+        "x": 1116,\r
+        "y": 471,\r
+        "z": "8f971cf0.9ab5c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "af8106d6.2c54e8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to get download config template\" />\n<parameter name=\"error-code\" value=\"401\" />\n",\r
+        "comments": "",\r
+        "x": 1225,\r
+        "y": 277,\r
+        "z": "8f971cf0.9ab5c",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1ec47089.0e6d1f",\r
+        "type": "get-resource",\r
+        "name": "get-resource DOWNLOAD_CONFIG_TEMPLATE",\r
+        "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT TEMPLATE FROM DOWNLOAD_CONFIG_TEMPLATE WHERE vnf_type = $vnf-type ;\"\n    force='true'\n\tpfx='download-config-template'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 485,\r
+        "y": 267,\r
+        "z": "8f971cf0.9ab5c",\r
+        "wires": [\r
+            [\r
+                "fe1132ad.5731b",\r
+                "9280f34d.3465f",\r
+                "54bd663f.2cab28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9280f34d.3465f",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 831,\r
+        "y": 254,\r
+        "z": "8f971cf0.9ab5c",\r
+        "wires": [\r
+            [\r
+                "75516ff4.5cb1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fe1132ad.5731b",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 833,\r
+        "y": 323,\r
+        "z": "8f971cf0.9ab5c",\r
+        "wires": [\r
+            [\r
+                "75516ff4.5cb1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "75516ff4.5cb1",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1027,\r
+        "y": 278,\r
+        "z": "8f971cf0.9ab5c",\r
+        "wires": [\r
+            [\r
+                "af8106d6.2c54e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "54bd663f.2cab28",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 422,\r
+        "y": 350,\r
+        "z": "8f971cf0.9ab5c",\r
+        "wires": [\r
+            [\r
+                "46aaf503.56738c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "46aaf503.56738c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 615,\r
+        "y": 349,\r
+        "z": "8f971cf0.9ab5c",\r
+        "wires": [\r
+            [\r
+                "838fcb2d.61bce8"\r
+            ]\r
+        ]\r
+    }\r
+]\r
index 54499c9..5cb5030 100644 (file)
@@ -1 +1,398 @@
-[{"id":"eb3345bc.1c6008","type":"dgstart","name":"DGSTART","outputs":1,"x":160,"y":114,"z":"e64f9575.c955b8","wires":[["48829488.85508c"]]},{"id":"48829488.85508c","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":342.1667022705078,"y":110.66668701171875,"z":"e64f9575.c955b8","wires":[["e0a3d8ff.542978"]]},{"id":"e0a3d8ff.542978","type":"method","name":"method DownloadIsbcConfig","xml":"<method rpc='DownloadIsbcConfig' mode='sync'>\n","comments":"","outputs":1,"x":612.5000305175781,"y":107.33334350585938,"z":"e64f9575.c955b8","wires":[["114a3b97.bcbcc4"]]},{"id":"114a3b97.bcbcc4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":127.25,"y":174.88888549804688,"z":"e64f9575.c955b8","wires":[["83df5118.b8ab3","7075ec58.bf47f4","b6692cc9.1d46f"]]},{"id":"83df5118.b8ab3","type":"configure","name":"configure: SftpAdaptor: Put config","xml":"<configure adaptor=\"org.onap.appc.ccadaptor.ConfigComponentAdaptor\" key=\"put\">\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=\"data\" value=\"`$deviceconfig-file-content`\"/>\t\n<parameter name=\"fullPathFileName\" value=\"`$configfilereference-deviceconfig.TARGET-FILE-PATH`\"/>\t\n\n\n","comments":"","outputs":1,"x":451.06817626953125,"y":388.2281188964844,"z":"e64f9575.c955b8","wires":[["b2f45988.44cff8","b0981c87.9858"]]},{"id":"b2f45988.44cff8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":731.0681762695312,"y":365.2281188964844,"z":"e64f9575.c955b8","wires":[["7119a88b.f78748"]]},{"id":"7119a88b.f78748","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":915.0681762695312,"y":370.2281188964844,"z":"e64f9575.c955b8","wires":[["dd3ffa1.5c71708","cb21b493.06d748"]]},{"id":"7075ec58.bf47f4","type":"call","name":"call: CheckConfigStatus","xml":"<call module=\"APPC\" rpc=\"CheckConfigStatus\" mode=\"sync\">","comments":"","outputs":1,"x":426.06817626953125,"y":619.2281188964844,"z":"e64f9575.c955b8","wires":[["d5aabd81.471ee"]]},{"id":"dd3ffa1.5c71708","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n","comments":"","x":1131.25,"y":426.8888854980469,"z":"e64f9575.c955b8","wires":[]},{"id":"b0981c87.9858","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":729,"y":517.0000305175781,"z":"e64f9575.c955b8","wires":[["b7e9dc8a.54fff"]]},{"id":"b7e9dc8a.54fff","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":902,"y":521.0000305175781,"z":"e64f9575.c955b8","wires":[["169463d2.10edfc"]]},{"id":"169463d2.10edfc","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n<parameter name=\"error-message\" value=\"DG Failure.Unable to Call Sftp Adaptor for Config\"/>","comments":"","x":1094,"y":521.0000305175781,"z":"e64f9575.c955b8","wires":[]},{"id":"cb21b493.06d748","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"host\" value=\"`$vnf-host-ip-address`\"/>\n<parameter name=\"SFTPERRORCODE\" value=\"`$error-code`\"/>\n<parameter name=\"SFTPERRORMESSAGE\" value=\"`$error-message`\"/>\n\n\n\n\n\n","comments":"","outputs":1,"x":1128,"y":327.0000305175781,"z":"e64f9575.c955b8","wires":[[]]},{"id":"67dd3158.9d315","type":"failure","name":"failure","xml":"<outcome value='failure'>","comments":"","outputs":1,"x":635,"y":625.3333435058594,"z":"e64f9575.c955b8","wires":[["153f64f9.4e677b"]]},{"id":"153f64f9.4e677b","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":802,"y":625.3333435058594,"z":"e64f9575.c955b8","wires":[["2ba04af9.5b58c6"]]},{"id":"2ba04af9.5b58c6","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=\"field3\" value=\"CONTINUE THE FLOW\"/>\n\n","comments":"","outputs":1,"x":996,"y":620.3333435058594,"z":"e64f9575.c955b8","wires":[[]]},{"id":"d5aabd81.471ee","type":"failure","name":"not-found","xml":"<outcome value='not-found'>","comments":"","outputs":1,"x":636,"y":680.3333435058594,"z":"e64f9575.c955b8","wires":[["b6627066.5ac24"]]},{"id":"b6627066.5ac24","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":811,"y":683.3333435058594,"z":"e64f9575.c955b8","wires":[["8f7d48e.816bcb8"]]},{"id":"8f7d48e.816bcb8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n<parameter name=\"error-message\" value=\"DG Workflow RetryActivate not found\"/>","comments":"","x":1009,"y":681.3333435058594,"z":"e64f9575.c955b8","wires":[]},{"id":"b6692cc9.1d46f","type":"execute","name":"execute getConfigFileReference","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFileReference\">\n<parameter name=\"responsePrefix\" value=\"tmp.configfilereference\" />\n","comments":"","outputs":1,"x":423,"y":253,"z":"e64f9575.c955b8","wires":[["f431fc4b.07dbd","6aa707f2.3962d8"]]},{"id":"f431fc4b.07dbd","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":664,"y":256,"z":"e64f9575.c955b8","wires":[["490891c5.5ce3c"]]},{"id":"490891c5.5ce3c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":821,"y":259,"z":"e64f9575.c955b8","wires":[["b38dc0b2.00fff"]]},{"id":"b38dc0b2.00fff","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.configfilereference.error-message`\"/>","comments":"","x":1007,"y":264,"z":"e64f9575.c955b8","wires":[]},{"id":"6aa707f2.3962d8","type":"failure","name":"not-found","xml":"<outcome value='not-found'>","comments":"","outputs":1,"x":666,"y":308,"z":"e64f9575.c955b8","wires":[["e505c188.60085"]]},{"id":"e505c188.60085","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":818,"y":311,"z":"e64f9575.c955b8","wires":[["e3e69cb8.26078"]]},{"id":"e3e69cb8.26078","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n<parameter name=\"error-message\" value=\"Unable to get data from config_file_reference\"/>","comments":"","x":965,"y":312,"z":"e64f9575.c955b8","wires":[]}]
+[\r
+    {\r
+        "id": "eb3345bc.1c6008",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 160,\r
+        "y": 114,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            [\r
+                "48829488.85508c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "48829488.85508c",\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": 342.1667022705078,\r
+        "y": 110.66668701171875,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            [\r
+                "e0a3d8ff.542978"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e0a3d8ff.542978",\r
+        "type": "method",\r
+        "name": "method DownloadIsbcConfig",\r
+        "xml": "<method rpc='DownloadIsbcConfig' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 612.5000305175781,\r
+        "y": 107.33334350585938,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            [\r
+                "114a3b97.bcbcc4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "114a3b97.bcbcc4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 127.25,\r
+        "y": 174.88888549804688,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            [\r
+                "83df5118.b8ab3",\r
+                "7075ec58.bf47f4",\r
+                "b6692cc9.1d46f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "83df5118.b8ab3",\r
+        "type": "configure",\r
+        "name": "configure: SftpAdaptor: Put config",\r
+        "xml": "<configure adaptor=\"org.onap.appc.ccadaptor.ConfigComponentAdaptor\" key=\"put\">\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=\"data\" value=\"`$deviceconfig-file-content`\"/>\t\n<parameter name=\"fullPathFileName\" value=\"`$configfilereference-deviceconfig.TARGET-FILE-PATH`\"/>\t\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 451.06817626953125,\r
+        "y": 388.2281188964844,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            [\r
+                "b2f45988.44cff8",\r
+                "b0981c87.9858"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b2f45988.44cff8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 731.0681762695312,\r
+        "y": 365.2281188964844,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            [\r
+                "7119a88b.f78748"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7119a88b.f78748",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 915.0681762695312,\r
+        "y": 370.2281188964844,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            [\r
+                "dd3ffa1.5c71708",\r
+                "cb21b493.06d748"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7075ec58.bf47f4",\r
+        "type": "call",\r
+        "name": "call: CheckConfigStatus",\r
+        "xml": "<call module=\"APPC\" rpc=\"CheckConfigStatus\" mode=\"sync\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 426.06817626953125,\r
+        "y": 619.2281188964844,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            [\r
+                "d5aabd81.471ee"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dd3ffa1.5c71708",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name=\"error-code\" value=\"401\"/>\n",\r
+        "comments": "",\r
+        "x": 1131.25,\r
+        "y": 426.8888854980469,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b0981c87.9858",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 729,\r
+        "y": 517.0000305175781,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            [\r
+                "b7e9dc8a.54fff"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b7e9dc8a.54fff",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 902,\r
+        "y": 521.0000305175781,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            [\r
+                "169463d2.10edfc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "169463d2.10edfc",\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=\"DG Failure.Unable to Call Sftp Adaptor for Config\"/>",\r
+        "comments": "",\r
+        "x": 1094,\r
+        "y": 521.0000305175781,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cb21b493.06d748",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"host\" value=\"`$vnf-host-ip-address`\"/>\n<parameter name=\"SFTPERRORCODE\" value=\"`$error-code`\"/>\n<parameter name=\"SFTPERRORMESSAGE\" value=\"`$error-message`\"/>\n\n\n\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1128,\r
+        "y": 327.0000305175781,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "67dd3158.9d315",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 635,\r
+        "y": 625.3333435058594,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            [\r
+                "153f64f9.4e677b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "153f64f9.4e677b",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 802,\r
+        "y": 625.3333435058594,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            [\r
+                "2ba04af9.5b58c6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2ba04af9.5b58c6",\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=\"field3\" value=\"CONTINUE THE FLOW\"/>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 996,\r
+        "y": 620.3333435058594,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "d5aabd81.471ee",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 636,\r
+        "y": 680.3333435058594,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            [\r
+                "b6627066.5ac24"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b6627066.5ac24",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 811,\r
+        "y": 683.3333435058594,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            [\r
+                "8f7d48e.816bcb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8f7d48e.816bcb8",\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=\"DG Workflow RetryActivate not found\"/>",\r
+        "comments": "",\r
+        "x": 1009,\r
+        "y": 681.3333435058594,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b6692cc9.1d46f",\r
+        "type": "execute",\r
+        "name": "execute getConfigFileReference",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFileReference\">\n<parameter name=\"responsePrefix\" value=\"tmp.configfilereference\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 423,\r
+        "y": 253,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            [\r
+                "f431fc4b.07dbd",\r
+                "6aa707f2.3962d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f431fc4b.07dbd",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 664,\r
+        "y": 256,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            [\r
+                "490891c5.5ce3c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "490891c5.5ce3c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 821,\r
+        "y": 259,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            [\r
+                "b38dc0b2.00fff"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b38dc0b2.00fff",\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.configfilereference.error-message`\"/>",\r
+        "comments": "",\r
+        "x": 1007,\r
+        "y": 264,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6aa707f2.3962d8",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 666,\r
+        "y": 308,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            [\r
+                "e505c188.60085"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e505c188.60085",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 818,\r
+        "y": 311,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": [\r
+            [\r
+                "e3e69cb8.26078"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e3e69cb8.26078",\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=\"Unable to get data from config_file_reference\"/>",\r
+        "comments": "",\r
+        "x": 965,\r
+        "y": 312,\r
+        "z": "e64f9575.c955b8",\r
+        "wires": []\r
+    }\r
+]\r
index 6a1d5da..f691af8 100644 (file)
@@ -1 +1,200 @@
-[{"id":"49eb9e47.22a92","type":"dgstart","name":"DGSTART","outputs":1,"x":267,"y":173,"z":"48bb9f92.24bfc","wires":[["20d129c2.d315e6"]]},{"id":"20d129c2.d315e6","type":"service-logic","name":"APPC 3.0.0","module":"APPC","version":"3.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='3.0.0'>","outputs":1,"x":443,"y":171,"z":"48bb9f92.24bfc","wires":[["37dd6ac2.81b1d6"]]},{"id":"37dd6ac2.81b1d6","type":"method","name":"method DownloadNetconfConfig","xml":"<method rpc='DownloadNetconfConfig' mode='sync'>\n","comments":"","outputs":1,"x":673,"y":172,"z":"48bb9f92.24bfc","wires":[["e7c1ede8.8b2cc"]]},{"id":"96807105.79369","type":"execute","name":"execute : Download Configuration","xml":"<execute plugin=\"com.att.appc.device.interfaces.node.NetconfDeviceNode\" method=\"editConfig\">\n<parameter name=\"editConfigData\" value=\"`$device-config`\"/>\n<parameter name=\"ipAddress\" value=\"`$host-ip-address`\" />\n<parameter name=\"userName\" value=\"`$device-login`\" />\n<parameter name=\"password\" value=\"`$device-password`\" />\n<parameter name=\"port\" value=\"`$port-number`\" />\n<parameter name=\"configTarget\" value=\"candidate\" />\n<parameter name=\"editDefaultOperation\" value=\"replace\" />\n<parameter name=\"editCommit\" value=\"true\" />\n<parameter name=\"editLock\" value=\"false\" />\n\n\n","comments":"","outputs":1,"x":533,"y":298,"z":"48bb9f92.24bfc","wires":[["65b26058.c0523","a89aea36.9bbbd8","aa00eed3.553fd"]]},{"id":"65b26058.c0523","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":815,"y":363,"z":"48bb9f92.24bfc","wires":[["6e36e74d.f4da68"]]},{"id":"a89aea36.9bbbd8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":916,"y":277,"z":"48bb9f92.24bfc","wires":[["45742a83.7fb8c4"]]},{"id":"aa00eed3.553fd","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":926,"y":328,"z":"48bb9f92.24bfc","wires":[["3ebe4e89.9f4e52"]]},{"id":"45742a83.7fb8c4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1079,"y":299,"z":"48bb9f92.24bfc","wires":[["e3b5ad70.743d5"]]},{"id":"e3b5ad70.743d5","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\" />\n","comments":"","x":1238,"y":299,"z":"48bb9f92.24bfc","wires":[]},{"id":"e7c1ede8.8b2cc","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":283,"y":297,"z":"48bb9f92.24bfc","wires":[["96807105.79369"]]},{"id":"6e36e74d.f4da68","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<!-- Dont over write error code and message -->\n","comments":"","x":1041,"y":466,"z":"48bb9f92.24bfc","wires":[]},{"id":"3ebe4e89.9f4e52","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1087,"y":368,"z":"48bb9f92.24bfc","wires":[["99165162.5e445"]]},{"id":"99165162.5e445","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to Download XML Config to Device\" />\n<parameter name=\"error-code\" value=\"401\" />\n","comments":"","x":1246,"y":368,"z":"48bb9f92.24bfc","wires":[]}]
+[\r
+    {\r
+        "id": "49eb9e47.22a92",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 267,\r
+        "y": 173,\r
+        "z": "48bb9f92.24bfc",\r
+        "wires": [\r
+            [\r
+                "20d129c2.d315e6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "20d129c2.d315e6",\r
+        "type": "service-logic",\r
+        "name": "APPC 3.0.0",\r
+        "module": "APPC",\r
+        "version": "3.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='3.0.0'>",\r
+        "outputs": 1,\r
+        "x": 443,\r
+        "y": 171,\r
+        "z": "48bb9f92.24bfc",\r
+        "wires": [\r
+            [\r
+                "37dd6ac2.81b1d6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "37dd6ac2.81b1d6",\r
+        "type": "method",\r
+        "name": "method DownloadNetconfConfig",\r
+        "xml": "<method rpc='DownloadNetconfConfig' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 673,\r
+        "y": 172,\r
+        "z": "48bb9f92.24bfc",\r
+        "wires": [\r
+            [\r
+                "e7c1ede8.8b2cc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "96807105.79369",\r
+        "type": "execute",\r
+        "name": "execute : Download Configuration",\r
+        "xml": "<execute plugin=\"com.att.appc.device.interfaces.node.NetconfDeviceNode\" method=\"editConfig\">\n<parameter name=\"editConfigData\" value=\"`$device-config`\"/>\n<parameter name=\"ipAddress\" value=\"`$host-ip-address`\" />\n<parameter name=\"userName\" value=\"`$device-login`\" />\n<parameter name=\"password\" value=\"`$device-password`\" />\n<parameter name=\"port\" value=\"`$port-number`\" />\n<parameter name=\"configTarget\" value=\"candidate\" />\n<parameter name=\"editDefaultOperation\" value=\"replace\" />\n<parameter name=\"editCommit\" value=\"true\" />\n<parameter name=\"editLock\" value=\"false\" />\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 533,\r
+        "y": 298,\r
+        "z": "48bb9f92.24bfc",\r
+        "wires": [\r
+            [\r
+                "65b26058.c0523",\r
+                "a89aea36.9bbbd8",\r
+                "aa00eed3.553fd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "65b26058.c0523",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 815,\r
+        "y": 363,\r
+        "z": "48bb9f92.24bfc",\r
+        "wires": [\r
+            [\r
+                "6e36e74d.f4da68"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a89aea36.9bbbd8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 916,\r
+        "y": 277,\r
+        "z": "48bb9f92.24bfc",\r
+        "wires": [\r
+            [\r
+                "45742a83.7fb8c4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "aa00eed3.553fd",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 926,\r
+        "y": 328,\r
+        "z": "48bb9f92.24bfc",\r
+        "wires": [\r
+            [\r
+                "3ebe4e89.9f4e52"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "45742a83.7fb8c4",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1079,\r
+        "y": 299,\r
+        "z": "48bb9f92.24bfc",\r
+        "wires": [\r
+            [\r
+                "e3b5ad70.743d5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e3b5ad70.743d5",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\" />\n",\r
+        "comments": "",\r
+        "x": 1238,\r
+        "y": 299,\r
+        "z": "48bb9f92.24bfc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e7c1ede8.8b2cc",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 283,\r
+        "y": 297,\r
+        "z": "48bb9f92.24bfc",\r
+        "wires": [\r
+            [\r
+                "96807105.79369"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6e36e74d.f4da68",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<!-- Dont over write error code and message -->\n",\r
+        "comments": "",\r
+        "x": 1041,\r
+        "y": 466,\r
+        "z": "48bb9f92.24bfc",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3ebe4e89.9f4e52",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1087,\r
+        "y": 368,\r
+        "z": "48bb9f92.24bfc",\r
+        "wires": [\r
+            [\r
+                "99165162.5e445"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "99165162.5e445",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to Download XML Config to Device\" />\n<parameter name=\"error-code\" value=\"401\" />\n",\r
+        "comments": "",\r
+        "x": 1246,\r
+        "y": 368,\r
+        "z": "48bb9f92.24bfc",\r
+        "wires": []\r
+    }\r
+]\r
index 74e7811..ee59773 100644 (file)
@@ -1 +1,298 @@
-[{"id":"3126cb82.bde234","type":"dgstart","name":"DGSTART","outputs":1,"x":213,"y":173,"z":"56a1115e.b25a6","wires":[["69732ca.15072d4"]]},{"id":"69732ca.15072d4","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"3.1.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":390,"y":172,"z":"56a1115e.b25a6","wires":[["c3bb9820.c5f438"]]},{"id":"c3bb9820.c5f438","type":"method","name":"method DownloadRestconfConfig","xml":"<method rpc='DownloadRestconfConfig' mode='sync'>\n","comments":"","outputs":1,"x":617,"y":174,"z":"56a1115e.b25a6","wires":[["63b0d96d.c7ed58"]]},{"id":"b7e24e35.0af5c","type":"execute","name":"execute : Download Configuration","xml":"<execute plugin='com.att.sdnctl.restconf.RestConfCallNode' method='downloadDeviceConfiguration' >\n<parameter name=\"hostIpAddress\" value=\"`$host-ip-address`\"/>\n<parameter name=\"configData\" value=\"`$device-config`\"/>\n<parameter name=\"protocol\" value=\"`$protocol`\"/>\n<parameter name=\"unescapeXML\" value=\"N\"/>\n<parameter name=\"validateXML\" value=\"Y\"/>\n\n\n\n\n","comments":"","outputs":1,"x":523,"y":499,"z":"56a1115e.b25a6","wires":[["999fa5d2.747998","f56e2430.ba53a8","4aff51e4.d3676"]]},{"id":"999fa5d2.747998","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":872,"y":522,"z":"56a1115e.b25a6","wires":[["20e1274a.24dd08"]]},{"id":"f56e2430.ba53a8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":874,"y":423,"z":"56a1115e.b25a6","wires":[["c28a56e6.0033e8"]]},{"id":"4aff51e4.d3676","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":869,"y":469,"z":"56a1115e.b25a6","wires":[["c28a56e6.0033e8"]]},{"id":"c28a56e6.0033e8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1041,"y":450,"z":"56a1115e.b25a6","wires":[["96239c4e.3a9b3"]]},{"id":"96239c4e.3a9b3","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to Download Config to Device\" />\n<parameter name=\"error-code\" value=\"401\" />\n <parameter name=\"ack-final\" value=\"Y\"/>","comments":"","x":1247,"y":451,"z":"56a1115e.b25a6","wires":[]},{"id":"63b0d96d.c7ed58","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":249,"y":323,"z":"56a1115e.b25a6","wires":[["3fd1791d.d55476"]]},{"id":"3fd1791d.d55476","type":"execute","name":"execute : Mount Device","xml":"<execute plugin='com.att.sdnctl.restconf.RestConfCallNode' method='mountDevice' >\n<parameter name=\"templateFileName\" value=\"device_mount.xml\" />\n<parameter name=\"hostIpAddress\" value=\"`$host-ip-address`\"/>\n<parameter name=\"loginId\" value=\"`$device-login`\"/>\n<parameter name=\"password\" value=\"`$device-password`\"/>\n<parameter name=\"portNumber\" value=\"`$port-number`\"/>\n<parameter name=\"waitSec\" value=\"60\"/>\n<parameter name=\"noOfRetriggers\" value=\"10\"/>\n\n\n","comments":"","outputs":1,"x":459,"y":322,"z":"56a1115e.b25a6","wires":[["e7d6cff5.bc024","3965425a.10e70e","72d1c486.d6aa8c"]]},{"id":"e7d6cff5.bc024","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":763.0681762695312,"y":263.89471435546875,"z":"56a1115e.b25a6","wires":[["55634b28.643004"]]},{"id":"72d1c486.d6aa8c","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":758,"y":313.99993896484375,"z":"56a1115e.b25a6","wires":[["55634b28.643004"]]},{"id":"3965425a.10e70e","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":760.0000610351562,"y":358.99993896484375,"z":"56a1115e.b25a6","wires":[["59b6573c.b65208"]]},{"id":"55634b28.643004","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":900.0681762695312,"y":314.89471435546875,"z":"56a1115e.b25a6","wires":[["d0fcc7fb.1491c8","94fd463b.b5d6c8"]]},{"id":"d0fcc7fb.1491c8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<!-- error should be set by Adaptor -->","comments":"","x":1169.25,"y":310.55548095703125,"z":"56a1115e.b25a6","wires":[]},{"id":"94fd463b.b5d6c8","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"host\" value=\"`$service-configuration-operation-input.vnf-config-information.vnf-host-ip-address`\"/>\n<parameter name=\"SFTPERRORCODE\" value=\"`$error-code`\"/>\n<parameter name=\"SFTPERRORMESSAGE\" value=\"`$error-message`\"/>\n\n\n\n\n\n","comments":"","outputs":1,"x":1168,"y":252.66656494140625,"z":"56a1115e.b25a6","wires":[[]]},{"id":"59b6573c.b65208","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":241,"y":501,"z":"56a1115e.b25a6","wires":[["b7e24e35.0af5c"]]},{"id":"20e1274a.24dd08","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<!-- Dont over write error code and message -->\n","comments":"","x":1114,"y":548,"z":"56a1115e.b25a6","wires":[]}]
+[\r
+    {\r
+        "id": "3126cb82.bde234",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 213,\r
+        "y": 173,\r
+        "z": "56a1115e.b25a6",\r
+        "wires": [\r
+            [\r
+                "69732ca.15072d4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "69732ca.15072d4",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "3.1.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": 390,\r
+        "y": 172,\r
+        "z": "56a1115e.b25a6",\r
+        "wires": [\r
+            [\r
+                "c3bb9820.c5f438"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c3bb9820.c5f438",\r
+        "type": "method",\r
+        "name": "method DownloadRestconfConfig",\r
+        "xml": "<method rpc='DownloadRestconfConfig' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 617,\r
+        "y": 174,\r
+        "z": "56a1115e.b25a6",\r
+        "wires": [\r
+            [\r
+                "63b0d96d.c7ed58"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b7e24e35.0af5c",\r
+        "type": "execute",\r
+        "name": "execute : Download Configuration",\r
+        "xml": "<execute plugin='com.att.sdnctl.restconf.RestConfCallNode' method='downloadDeviceConfiguration' >\n<parameter name=\"hostIpAddress\" value=\"`$host-ip-address`\"/>\n<parameter name=\"configData\" value=\"`$device-config`\"/>\n<parameter name=\"protocol\" value=\"`$protocol`\"/>\n<parameter name=\"unescapeXML\" value=\"N\"/>\n<parameter name=\"validateXML\" value=\"Y\"/>\n\n\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 523,\r
+        "y": 499,\r
+        "z": "56a1115e.b25a6",\r
+        "wires": [\r
+            [\r
+                "999fa5d2.747998",\r
+                "f56e2430.ba53a8",\r
+                "4aff51e4.d3676"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "999fa5d2.747998",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 872,\r
+        "y": 522,\r
+        "z": "56a1115e.b25a6",\r
+        "wires": [\r
+            [\r
+                "20e1274a.24dd08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f56e2430.ba53a8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 874,\r
+        "y": 423,\r
+        "z": "56a1115e.b25a6",\r
+        "wires": [\r
+            [\r
+                "c28a56e6.0033e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4aff51e4.d3676",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 869,\r
+        "y": 469,\r
+        "z": "56a1115e.b25a6",\r
+        "wires": [\r
+            [\r
+                "c28a56e6.0033e8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c28a56e6.0033e8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1041,\r
+        "y": 450,\r
+        "z": "56a1115e.b25a6",\r
+        "wires": [\r
+            [\r
+                "96239c4e.3a9b3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "96239c4e.3a9b3",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to Download Config to Device\" />\n<parameter name=\"error-code\" value=\"401\" />\n <parameter name=\"ack-final\" value=\"Y\"/>",\r
+        "comments": "",\r
+        "x": 1247,\r
+        "y": 451,\r
+        "z": "56a1115e.b25a6",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "63b0d96d.c7ed58",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 249,\r
+        "y": 323,\r
+        "z": "56a1115e.b25a6",\r
+        "wires": [\r
+            [\r
+                "3fd1791d.d55476"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3fd1791d.d55476",\r
+        "type": "execute",\r
+        "name": "execute : Mount Device",\r
+        "xml": "<execute plugin='com.att.sdnctl.restconf.RestConfCallNode' method='mountDevice' >\n<parameter name=\"templateFileName\" value=\"device_mount.xml\" />\n<parameter name=\"hostIpAddress\" value=\"`$host-ip-address`\"/>\n<parameter name=\"loginId\" value=\"`$device-login`\"/>\n<parameter name=\"password\" value=\"`$device-password`\"/>\n<parameter name=\"portNumber\" value=\"`$port-number`\"/>\n<parameter name=\"waitSec\" value=\"60\"/>\n<parameter name=\"noOfRetriggers\" value=\"10\"/>\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 459,\r
+        "y": 322,\r
+        "z": "56a1115e.b25a6",\r
+        "wires": [\r
+            [\r
+                "e7d6cff5.bc024",\r
+                "3965425a.10e70e",\r
+                "72d1c486.d6aa8c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e7d6cff5.bc024",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 763.0681762695312,\r
+        "y": 263.89471435546875,\r
+        "z": "56a1115e.b25a6",\r
+        "wires": [\r
+            [\r
+                "55634b28.643004"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "72d1c486.d6aa8c",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 758,\r
+        "y": 313.99993896484375,\r
+        "z": "56a1115e.b25a6",\r
+        "wires": [\r
+            [\r
+                "55634b28.643004"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3965425a.10e70e",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 760.0000610351562,\r
+        "y": 358.99993896484375,\r
+        "z": "56a1115e.b25a6",\r
+        "wires": [\r
+            [\r
+                "59b6573c.b65208"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "55634b28.643004",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 900.0681762695312,\r
+        "y": 314.89471435546875,\r
+        "z": "56a1115e.b25a6",\r
+        "wires": [\r
+            [\r
+                "d0fcc7fb.1491c8",\r
+                "94fd463b.b5d6c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d0fcc7fb.1491c8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<!-- error should be set by Adaptor -->",\r
+        "comments": "",\r
+        "x": 1169.25,\r
+        "y": 310.55548095703125,\r
+        "z": "56a1115e.b25a6",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "94fd463b.b5d6c8",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"host\" value=\"`$service-configuration-operation-input.vnf-config-information.vnf-host-ip-address`\"/>\n<parameter name=\"SFTPERRORCODE\" value=\"`$error-code`\"/>\n<parameter name=\"SFTPERRORMESSAGE\" value=\"`$error-message`\"/>\n\n\n\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1168,\r
+        "y": 252.66656494140625,\r
+        "z": "56a1115e.b25a6",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "59b6573c.b65208",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 241,\r
+        "y": 501,\r
+        "z": "56a1115e.b25a6",\r
+        "wires": [\r
+            [\r
+                "b7e24e35.0af5c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "20e1274a.24dd08",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<!-- Dont over write error code and message -->\n",\r
+        "comments": "",\r
+        "x": 1114,\r
+        "y": 548,\r
+        "z": "56a1115e.b25a6",\r
+        "wires": []\r
+    }\r
+]\r
index 3e628cd..9ced83a 100644 (file)
@@ -1 +1,322 @@
-[{"id":"feea8c0f.99cea","type":"dgstart","name":"DGSTART","outputs":1,"x":174,"y":159,"z":"7a568ea5.52b07","wires":[["2fe1975f.6b6288"]]},{"id":"2fe1975f.6b6288","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"3.1.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":351,"y":158,"z":"7a568ea5.52b07","wires":[["b943522e.8d306"]]},{"id":"b943522e.8d306","type":"method","name":"method DownloadSBGConfig","xml":"<method rpc='DownloadSBGConfig' mode='sync'>\n","comments":"","outputs":1,"x":580,"y":158,"z":"7a568ea5.52b07","wires":[["4ddd2ec1.7fc8d"]]},{"id":"addce3cc.d1b1a","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":701,"y":594,"z":"7a568ea5.52b07","wires":[["6bee2910.0e32c8"]]},{"id":"724dd10a.2dcb2","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":823,"y":263,"z":"7a568ea5.52b07","wires":[["fe0ad156.02b64"]]},{"id":"dab463be.ebfdb","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":833,"y":314,"z":"7a568ea5.52b07","wires":[["e6658a4.7b23878"]]},{"id":"fe0ad156.02b64","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":986,"y":285,"z":"7a568ea5.52b07","wires":[["f1bee661.c07688"]]},{"id":"f1bee661.c07688","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\" />\n","comments":"","x":1145,"y":285,"z":"7a568ea5.52b07","wires":[]},{"id":"6bee2910.0e32c8","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<!-- Dont over write error code and message -->\n","comments":"","x":971,"y":605,"z":"7a568ea5.52b07","wires":[]},{"id":"e6658a4.7b23878","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":994,"y":354,"z":"7a568ea5.52b07","wires":[["bb929331.e8df4"]]},{"id":"bb929331.e8df4","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Failed in SBG Config Data Generation from XSL Template.\" />\n<parameter name=\"error-code\" value=\"401\" />\n","comments":"","x":1153,"y":354,"z":"7a568ea5.52b07","wires":[]},{"id":"4ddd2ec1.7fc8d","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n","atomic":"true","comments":"","outputs":1,"x":262,"y":324,"z":"7a568ea5.52b07","wires":[["c9835662.80d108"]]},{"id":"c9835662.80d108","type":"configure","name":"configure: ConfigRequest","xml":"<execute plugin=\"org.onap.appc.config.generator.node.ConfigGeneratorNode\" method=\"generateConfig\">\n<parameter name=\"requestData\" value=\"`$device-config`\" />\n<parameter name=\"requestId\" value=\"`$request-id`\" />\n<parameter name=\"vnfType\" value=\"`$vnf-type`\" />\n<parameter name=\"requestAction\" value=\"`$request-action`\" />\n\n","comments":"","outputs":1,"x":530,"y":306.72222900390625,"z":"7a568ea5.52b07","wires":[["724dd10a.2dcb2","dab463be.ebfdb","661f9b55.49eef4"]]},{"id":"3e1ce578.4e621a","type":"configure","name":"configure: DeviceRequest","xml":"<execute plugin=\"org.onap.appc.device.interfaces.node.DeviceRequestProcessorNode\" method=\"processDeviceRequest\">\n<parameter name=\"requestId\" value=\"`$request-id`\" />\n<parameter name=\"vnfType\" value=\"`$vnf-type`\" />\n<parameter name=\"requestAction\" value=\"`$request-action`\" />\n<parameter name=\"hostname\" value=\"`$host-ip-address`\" />\n<parameter name=\"username\" value=\"`$device-login`\" />\n<parameter name=\"password\" value=\"`$device-password`\" />\n<parameter name=\"portNumber\" value=\"`$port-number`\" />\n<!--parameter name=\"netconfUsername\" value=\"`$device-login`\" />\n<parameter name=\"netconfPassword\" value=\"`$port-password`\" />\n<parameter name=\"netconfPortNumber\" value=\"830\" /-->\n\n","comments":"","outputs":1,"x":415,"y":490.72222900390625,"z":"7a568ea5.52b07","wires":[["45e3f24b.c7be4c","3033f064.d00c3","addce3cc.d1b1a"]]},{"id":"661f9b55.49eef4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":582,"y":381,"z":"7a568ea5.52b07","wires":[["3e1ce578.4e621a"]]},{"id":"45e3f24b.c7be4c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":704,"y":446,"z":"7a568ea5.52b07","wires":[["bcd76242.4c6ad"]]},{"id":"3033f064.d00c3","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":714,"y":497,"z":"7a568ea5.52b07","wires":[["5c38315c.a32dd"]]},{"id":"bcd76242.4c6ad","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":867,"y":468,"z":"7a568ea5.52b07","wires":[["6de6909e.1110d"]]},{"id":"6de6909e.1110d","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\" />\n","comments":"","x":1026,"y":468,"z":"7a568ea5.52b07","wires":[]},{"id":"5c38315c.a32dd","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":875,"y":537,"z":"7a568ea5.52b07","wires":[["6e521d00.9a9f84"]]},{"id":"6e521d00.9a9f84","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to Download Config to Device\" />\n<parameter name=\"error-code\" value=\"401\" />\n","comments":"","x":1034,"y":537,"z":"7a568ea5.52b07","wires":[]}]
+[\r
+    {\r
+        "id": "feea8c0f.99cea",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 174,\r
+        "y": 159,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": [\r
+            [\r
+                "2fe1975f.6b6288"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2fe1975f.6b6288",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "3.1.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": 351,\r
+        "y": 158,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": [\r
+            [\r
+                "b943522e.8d306"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b943522e.8d306",\r
+        "type": "method",\r
+        "name": "method DownloadSBGConfig",\r
+        "xml": "<method rpc='DownloadSBGConfig' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 580,\r
+        "y": 158,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": [\r
+            [\r
+                "4ddd2ec1.7fc8d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "addce3cc.d1b1a",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 701,\r
+        "y": 594,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": [\r
+            [\r
+                "6bee2910.0e32c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "724dd10a.2dcb2",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 823,\r
+        "y": 263,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": [\r
+            [\r
+                "fe0ad156.02b64"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dab463be.ebfdb",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 833,\r
+        "y": 314,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": [\r
+            [\r
+                "e6658a4.7b23878"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fe0ad156.02b64",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 986,\r
+        "y": 285,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": [\r
+            [\r
+                "f1bee661.c07688"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f1bee661.c07688",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\" />\n",\r
+        "comments": "",\r
+        "x": 1145,\r
+        "y": 285,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6bee2910.0e32c8",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<!-- Dont over write error code and message -->\n",\r
+        "comments": "",\r
+        "x": 971,\r
+        "y": 605,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e6658a4.7b23878",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 994,\r
+        "y": 354,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": [\r
+            [\r
+                "bb929331.e8df4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bb929331.e8df4",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Failed in SBG Config Data Generation from XSL Template.\" />\n<parameter name=\"error-code\" value=\"401\" />\n",\r
+        "comments": "",\r
+        "x": 1153,\r
+        "y": 354,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4ddd2ec1.7fc8d",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 262,\r
+        "y": 324,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": [\r
+            [\r
+                "c9835662.80d108"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c9835662.80d108",\r
+        "type": "configure",\r
+        "name": "configure: ConfigRequest",\r
+        "xml": "<execute plugin=\"org.onap.appc.config.generator.node.ConfigGeneratorNode\" method=\"generateConfig\">\n<parameter name=\"requestData\" value=\"`$device-config`\" />\n<parameter name=\"requestId\" value=\"`$request-id`\" />\n<parameter name=\"vnfType\" value=\"`$vnf-type`\" />\n<parameter name=\"requestAction\" value=\"`$request-action`\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 530,\r
+        "y": 306.72222900390625,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": [\r
+            [\r
+                "724dd10a.2dcb2",\r
+                "dab463be.ebfdb",\r
+                "661f9b55.49eef4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3e1ce578.4e621a",\r
+        "type": "configure",\r
+        "name": "configure: DeviceRequest",\r
+        "xml": "<execute plugin=\"org.onap.appc.device.interfaces.node.DeviceRequestProcessorNode\" method=\"processDeviceRequest\">\n<parameter name=\"requestId\" value=\"`$request-id`\" />\n<parameter name=\"vnfType\" value=\"`$vnf-type`\" />\n<parameter name=\"requestAction\" value=\"`$request-action`\" />\n<parameter name=\"hostname\" value=\"`$host-ip-address`\" />\n<parameter name=\"username\" value=\"`$device-login`\" />\n<parameter name=\"password\" value=\"`$device-password`\" />\n<parameter name=\"portNumber\" value=\"`$port-number`\" />\n<!--parameter name=\"netconfUsername\" value=\"`$device-login`\" />\n<parameter name=\"netconfPassword\" value=\"`$port-password`\" />\n<parameter name=\"netconfPortNumber\" value=\"830\" /-->\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 415,\r
+        "y": 490.72222900390625,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": [\r
+            [\r
+                "45e3f24b.c7be4c",\r
+                "3033f064.d00c3",\r
+                "addce3cc.d1b1a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "661f9b55.49eef4",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 582,\r
+        "y": 381,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": [\r
+            [\r
+                "3e1ce578.4e621a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "45e3f24b.c7be4c",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 704,\r
+        "y": 446,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": [\r
+            [\r
+                "bcd76242.4c6ad"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3033f064.d00c3",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 714,\r
+        "y": 497,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": [\r
+            [\r
+                "5c38315c.a32dd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bcd76242.4c6ad",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 867,\r
+        "y": 468,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": [\r
+            [\r
+                "6de6909e.1110d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6de6909e.1110d",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\" />\n",\r
+        "comments": "",\r
+        "x": 1026,\r
+        "y": 468,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5c38315c.a32dd",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 875,\r
+        "y": 537,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": [\r
+            [\r
+                "6e521d00.9a9f84"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6e521d00.9a9f84",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to Download Config to Device\" />\n<parameter name=\"error-code\" value=\"401\" />\n",\r
+        "comments": "",\r
+        "x": 1034,\r
+        "y": 537,\r
+        "z": "7a568ea5.52b07",\r
+        "wires": []\r
+    }\r
+]\r
index e53e1a7..c83f876 100644 (file)
@@ -1 +1,200 @@
-[{"id":"74f96b34.8d6e54","type":"dgstart","name":"DGSTART","outputs":1,"x":164,"y":171,"z":"9852b4f8.482598","wires":[["a662a4c7.3e74d8"]]},{"id":"a662a4c7.3e74d8","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"3.1.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":341,"y":170,"z":"9852b4f8.482598","wires":[["cf63224b.3ac57"]]},{"id":"cf63224b.3ac57","type":"method","name":"method DownloadXmlConfig","xml":"<method rpc='DownloadXmlConfig' mode='sync'>\n","comments":"","outputs":1,"x":570,"y":170,"z":"9852b4f8.482598","wires":[["8652063a.79abf8"]]},{"id":"63da4c86.afeb64","type":"execute","name":"execute : Download Configuration","xml":"<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='xml-download'>\n<parameter name=\"Contents\" value=\"`$device-config`\"/>\n<parameter name=\"Host_ip_address\" value=\"`$host-ip-address`\" />\n<parameter name=\"User_name\" value=\"`$device-login`\" />\n<parameter name=\"Password\" value=\"`$device-password`\" />\n<parameter name=\"Port_number\" value=\"`$port-number`\" />\n\n\n","comments":"","outputs":1,"x":430,"y":296,"z":"9852b4f8.482598","wires":[["76ab52c2.59aafc","ca9c3a74.973c48","4365f1e1.cf9c8"]]},{"id":"76ab52c2.59aafc","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":712,"y":361,"z":"9852b4f8.482598","wires":[["3f9a92ce.040c6e"]]},{"id":"ca9c3a74.973c48","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":813,"y":275,"z":"9852b4f8.482598","wires":[["965ec1c1.3949a"]]},{"id":"4365f1e1.cf9c8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":823,"y":326,"z":"9852b4f8.482598","wires":[["403128f0.908298"]]},{"id":"965ec1c1.3949a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":976,"y":297,"z":"9852b4f8.482598","wires":[["e627e0a8.31843"]]},{"id":"e627e0a8.31843","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\" />\n","comments":"","x":1135,"y":297,"z":"9852b4f8.482598","wires":[]},{"id":"8652063a.79abf8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":180,"y":295,"z":"9852b4f8.482598","wires":[["63da4c86.afeb64"]]},{"id":"3f9a92ce.040c6e","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<!-- Dont over write error code and message -->\n","comments":"","x":938,"y":464,"z":"9852b4f8.482598","wires":[]},{"id":"403128f0.908298","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":984,"y":366,"z":"9852b4f8.482598","wires":[["6c05d71d.c6f7c8"]]},{"id":"6c05d71d.c6f7c8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to Download XML Config to Device\" />\n<parameter name=\"error-code\" value=\"401\" />\n","comments":"","x":1143,"y":366,"z":"9852b4f8.482598","wires":[]}]
+[\r
+    {\r
+        "id": "74f96b34.8d6e54",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 164,\r
+        "y": 171,\r
+        "z": "9852b4f8.482598",\r
+        "wires": [\r
+            [\r
+                "a662a4c7.3e74d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a662a4c7.3e74d8",\r
+        "type": "service-logic",\r
+        "name": "APPC 4.0.0",\r
+        "module": "APPC",\r
+        "version": "3.1.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": 341,\r
+        "y": 170,\r
+        "z": "9852b4f8.482598",\r
+        "wires": [\r
+            [\r
+                "cf63224b.3ac57"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cf63224b.3ac57",\r
+        "type": "method",\r
+        "name": "method DownloadXmlConfig",\r
+        "xml": "<method rpc='DownloadXmlConfig' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 570,\r
+        "y": 170,\r
+        "z": "9852b4f8.482598",\r
+        "wires": [\r
+            [\r
+                "8652063a.79abf8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "63da4c86.afeb64",\r
+        "type": "execute",\r
+        "name": "execute : Download Configuration",\r
+        "xml": "<configure adaptor='org.onap.appc.ccadaptor.ConfigComponentAdaptor' key='xml-download'>\n<parameter name=\"Contents\" value=\"`$device-config`\"/>\n<parameter name=\"Host_ip_address\" value=\"`$host-ip-address`\" />\n<parameter name=\"User_name\" value=\"`$device-login`\" />\n<parameter name=\"Password\" value=\"`$device-password`\" />\n<parameter name=\"Port_number\" value=\"`$port-number`\" />\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 430,\r
+        "y": 296,\r
+        "z": "9852b4f8.482598",\r
+        "wires": [\r
+            [\r
+                "76ab52c2.59aafc",\r
+                "ca9c3a74.973c48",\r
+                "4365f1e1.cf9c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "76ab52c2.59aafc",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 712,\r
+        "y": 361,\r
+        "z": "9852b4f8.482598",\r
+        "wires": [\r
+            [\r
+                "3f9a92ce.040c6e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ca9c3a74.973c48",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 813,\r
+        "y": 275,\r
+        "z": "9852b4f8.482598",\r
+        "wires": [\r
+            [\r
+                "965ec1c1.3949a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4365f1e1.cf9c8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 823,\r
+        "y": 326,\r
+        "z": "9852b4f8.482598",\r
+        "wires": [\r
+            [\r
+                "403128f0.908298"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "965ec1c1.3949a",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 976,\r
+        "y": 297,\r
+        "z": "9852b4f8.482598",\r
+        "wires": [\r
+            [\r
+                "e627e0a8.31843"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e627e0a8.31843",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\" />\n",\r
+        "comments": "",\r
+        "x": 1135,\r
+        "y": 297,\r
+        "z": "9852b4f8.482598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8652063a.79abf8",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 180,\r
+        "y": 295,\r
+        "z": "9852b4f8.482598",\r
+        "wires": [\r
+            [\r
+                "63da4c86.afeb64"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3f9a92ce.040c6e",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<!-- Dont over write error code and message -->\n",\r
+        "comments": "",\r
+        "x": 938,\r
+        "y": 464,\r
+        "z": "9852b4f8.482598",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "403128f0.908298",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 984,\r
+        "y": 366,\r
+        "z": "9852b4f8.482598",\r
+        "wires": [\r
+            [\r
+                "6c05d71d.c6f7c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6c05d71d.c6f7c8",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status=\"failure\">\n<parameter name=\"error-message\" value=\"Unable to Download XML Config to Device\" />\n<parameter name=\"error-code\" value=\"401\" />\n",\r
+        "comments": "",\r
+        "x": 1143,\r
+        "y": 366,\r
+        "z": "9852b4f8.482598",\r
+        "wires": []\r
+    }\r
+]\r
index d93fcf1..6277773 100644 (file)
@@ -1 +1,262 @@
-[{"id":"3226fb76.a7fe14","type":"dgstart","name":"DGSTART","outputs":1,"x":150.88333129882812,"y":102.88333129882812,"z":"96b506dc.10c5e8","wires":[["f2b4466.fcec638"]]},{"id":"f2b4466.fcec638","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":338.8833312988281,"y":103.88333129882812,"z":"96b506dc.10c5e8","wires":[["205bcc30.cae044"]]},{"id":"205bcc30.cae044","type":"method","name":"EvacuateVM","xml":"<method rpc='EvacuateVM' mode='sync'>\n","comments":"","outputs":1,"x":567.88330078125,"y":104.88333129882812,"z":"96b506dc.10c5e8","wires":[["213ddb60.68307c"]]},{"id":"d8525233.851af8","type":"execute","name":"execute: evacuate","xml":"<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='evacuateServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$identity-url`\" />\n<parameter name=\"org.onap.appc.tenant.id\" value=\"`$tenant-id`\" />\n<parameter name=\"org.onap.appc.rebuildvm\" value=\"`$rebuild-vm`\" />\n<parameter name=\"org.onap.appc.targethost.id\" value=\"`$targethost-id`\" />\n\n","comments":"","outputs":1,"x":729.88330078125,"y":271.88330078125,"z":"96b506dc.10c5e8","wires":[["ec71f7ec.66516","1f5ce9b3.25109e"]]},{"id":"ec71f7ec.66516","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":924.88330078125,"y":316.88330078125,"z":"96b506dc.10c5e8","wires":[["4a9ae26e.e2a654"]]},{"id":"1f5ce9b3.25109e","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":913.88330078125,"y":194.88330078125,"z":"96b506dc.10c5e8","wires":[["5eba654f.8cceec"]]},{"id":"3d2c4844.2e8078","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='Request Processed Successfully' />","comments":"","x":1372.88330078125,"y":290.88330078125,"z":"96b506dc.10c5e8","wires":[]},{"id":"5572aa21.a402dc","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='RPC Evacuate not found' />","comments":"","x":1254.88330078125,"y":213.88330078125,"z":"96b506dc.10c5e8","wires":[]},{"id":"4a9ae26e.e2a654","type":"switchNode","name":"switch","xml":"<switch test='`$EVACUATE_STATUS`'>\n","comments":"","outputs":1,"x":1066.88330078125,"y":316.88330078125,"z":"96b506dc.10c5e8","wires":[["a71868a3.d0fc38","a3d63b8d.7bb02"]]},{"id":"a71868a3.d0fc38","type":"success","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":1197.88330078125,"y":290.88330078125,"z":"96b506dc.10c5e8","wires":[["3d2c4844.2e8078"]]},{"id":"a3d63b8d.7bb02","type":"outcome","name":"ERROR","xml":"<outcome value='ERROR'>\n","comments":"","outputs":1,"x":1191.88330078125,"y":373.88330078125,"z":"96b506dc.10c5e8","wires":[["a85ae409.b4541"]]},{"id":"a85ae409.b4541","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1332.88330078125,"y":374.88330078125,"z":"96b506dc.10c5e8","wires":[["d00419cf.1b199","411472cf.0aaea4"]]},{"id":"d00419cf.1b199","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","comments":"","x":1508.8832397460938,"y":423.8833312988281,"z":"96b506dc.10c5e8","wires":[]},{"id":"5eba654f.8cceec","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1069.88330078125,"y":194.88330078125,"z":"96b506dc.10c5e8","wires":[["5572aa21.a402dc"]]},{"id":"8851723f.af52a","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'input.payload = ' + $input.payload`\" />\n<parameter name=\"field3\" value=\"`'vm-id in context=' + $vm-id`\" />","comments":"","outputs":1,"x":851,"y":93.88333129882812,"z":"96b506dc.10c5e8","wires":[[]]},{"id":"213ddb60.68307c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":725.75,"y":164.75,"z":"96b506dc.10c5e8","wires":[["8851723f.af52a","d8525233.851af8"]]},{"id":"411472cf.0aaea4","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />","comments":"","outputs":1,"x":1495.7499389648438,"y":375.75,"z":"96b506dc.10c5e8","wires":[[]]}]
+[\r
+    {\r
+        "id": "3226fb76.a7fe14",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 150.88333129882812,\r
+        "y": 102.88333129882812,\r
+        "z": "96b506dc.10c5e8",\r
+        "wires": [\r
+            [\r
+                "f2b4466.fcec638"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f2b4466.fcec638",\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": 338.8833312988281,\r
+        "y": 103.88333129882812,\r
+        "z": "96b506dc.10c5e8",\r
+        "wires": [\r
+            [\r
+                "205bcc30.cae044"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "205bcc30.cae044",\r
+        "type": "method",\r
+        "name": "EvacuateVM",\r
+        "xml": "<method rpc='EvacuateVM' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 567.88330078125,\r
+        "y": 104.88333129882812,\r
+        "z": "96b506dc.10c5e8",\r
+        "wires": [\r
+            [\r
+                "213ddb60.68307c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d8525233.851af8",\r
+        "type": "execute",\r
+        "name": "execute: evacuate",\r
+        "xml": "<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='evacuateServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$identity-url`\" />\n<parameter name=\"org.onap.appc.tenant.id\" value=\"`$tenant-id`\" />\n<parameter name=\"org.onap.appc.rebuildvm\" value=\"`$rebuild-vm`\" />\n<parameter name=\"org.onap.appc.targethost.id\" value=\"`$targethost-id`\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 729.88330078125,\r
+        "y": 271.88330078125,\r
+        "z": "96b506dc.10c5e8",\r
+        "wires": [\r
+            [\r
+                "ec71f7ec.66516",\r
+                "1f5ce9b3.25109e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ec71f7ec.66516",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 924.88330078125,\r
+        "y": 316.88330078125,\r
+        "z": "96b506dc.10c5e8",\r
+        "wires": [\r
+            [\r
+                "4a9ae26e.e2a654"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1f5ce9b3.25109e",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 913.88330078125,\r
+        "y": 194.88330078125,\r
+        "z": "96b506dc.10c5e8",\r
+        "wires": [\r
+            [\r
+                "5eba654f.8cceec"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3d2c4844.2e8078",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='Request Processed Successfully' />",\r
+        "comments": "",\r
+        "x": 1372.88330078125,\r
+        "y": 290.88330078125,\r
+        "z": "96b506dc.10c5e8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5572aa21.a402dc",\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='RPC Evacuate not found' />",\r
+        "comments": "",\r
+        "x": 1254.88330078125,\r
+        "y": 213.88330078125,\r
+        "z": "96b506dc.10c5e8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "4a9ae26e.e2a654",\r
+        "type": "switchNode",\r
+        "name": "switch",\r
+        "xml": "<switch test='`$EVACUATE_STATUS`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1066.88330078125,\r
+        "y": 316.88330078125,\r
+        "z": "96b506dc.10c5e8",\r
+        "wires": [\r
+            [\r
+                "a71868a3.d0fc38",\r
+                "a3d63b8d.7bb02"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a71868a3.d0fc38",\r
+        "type": "success",\r
+        "name": "SUCCESS",\r
+        "xml": "<outcome value='SUCCESS'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1197.88330078125,\r
+        "y": 290.88330078125,\r
+        "z": "96b506dc.10c5e8",\r
+        "wires": [\r
+            [\r
+                "3d2c4844.2e8078"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a3d63b8d.7bb02",\r
+        "type": "outcome",\r
+        "name": "ERROR",\r
+        "xml": "<outcome value='ERROR'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1191.88330078125,\r
+        "y": 373.88330078125,\r
+        "z": "96b506dc.10c5e8",\r
+        "wires": [\r
+            [\r
+                "a85ae409.b4541"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a85ae409.b4541",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1332.88330078125,\r
+        "y": 374.88330078125,\r
+        "z": "96b506dc.10c5e8",\r
+        "wires": [\r
+            [\r
+                "d00419cf.1b199",\r
+                "411472cf.0aaea4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d00419cf.1b199",\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",\r
+        "comments": "",\r
+        "x": 1508.8832397460938,\r
+        "y": 423.8833312988281,\r
+        "z": "96b506dc.10c5e8",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5eba654f.8cceec",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1069.88330078125,\r
+        "y": 194.88330078125,\r
+        "z": "96b506dc.10c5e8",\r
+        "wires": [\r
+            [\r
+                "5572aa21.a402dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8851723f.af52a",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'input.payload = ' + $input.payload`\" />\n<parameter name=\"field3\" value=\"`'vm-id in context=' + $vm-id`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 851,\r
+        "y": 93.88333129882812,\r
+        "z": "96b506dc.10c5e8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "213ddb60.68307c",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 725.75,\r
+        "y": 164.75,\r
+        "z": "96b506dc.10c5e8",\r
+        "wires": [\r
+            [\r
+                "8851723f.af52a",\r
+                "d8525233.851af8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "411472cf.0aaea4",\r
+        "type": "record",\r
+        "name": "record",\r
+        "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field3\" value=\"`'error-message = ' + $error-message`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1495.7499389648438,\r
+        "y": 375.75,\r
+        "z": "96b506dc.10c5e8",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]\r
index 61d3157..2323e47 100644 (file)
@@ -1 +1,374 @@
-[{"id":"8dc92cef.af16","type":"switchNode","name":"switch configuration Exist","xml":"<switch test='`$configuration`'>\n","comments":"","outputs":1,"x":230,"y":273,"z":"bcb112aa.3df3","wires":[["51b66afb.732cb4","ac78286.04e5ad8"]]},{"id":"51b66afb.732cb4","type":"success","name":" Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":200,"y":356,"z":"bcb112aa.3df3","wires":[["19efef28.113271"]]},{"id":"ac78286.04e5ad8","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":460,"y":278,"z":"bcb112aa.3df3","wires":[["e08c0360.b78d7"]]},{"id":"19efef28.113271","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":355,"y":357,"z":"bcb112aa.3df3","wires":[["bd4ca811.1bbf98","f05dc8ea.7c8f98"]]},{"id":"e08c0360.b78d7","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":651,"y":275,"z":"bcb112aa.3df3","wires":[[]]},{"id":"bd4ca811.1bbf98","type":"switchNode","name":"switch Config Params Exist","xml":"<switch test='`$configuration-params`'>\n","comments":"","outputs":1,"x":580,"y":359,"z":"bcb112aa.3df3","wires":[["4ceaa5cd.c473ac","cba86ee2.90b7e"]]},{"id":"f05dc8ea.7c8f98","type":"execute","name":"execute saveConfigBlock","xml":"<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigBlock\">\n<parameter name=\"responsePrefix\" value=\"tmp.saveConfigBlock\" />","comments":"","outputs":1,"x":541,"y":594,"z":"bcb112aa.3df3","wires":[["c2734f72.66207"]]},{"id":"4ceaa5cd.c473ac","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":812,"y":312,"z":"bcb112aa.3df3","wires":[["30855e94.828402"]]},{"id":"cba86ee2.90b7e","type":"success","name":" Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":582,"y":423,"z":"bcb112aa.3df3","wires":[["3c1de74c.ceb898"]]},{"id":"c2734f72.66207","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":751,"y":594,"z":"bcb112aa.3df3","wires":[["b2137289.1cf87"]]},{"id":"3c1de74c.ceb898","type":"execute","name":"execute Merge Data with Template","xml":"<execute plugin=\"org.onap.sdnc.config.generator.merge.MergeNode\" method=\"mergeJsonDataOnTemplate\">\n<parameter name=\"jsonData\" value=\"`$configuration-params`\" />\n<parameter name=\"templateData\" value=\"`$configuration`\" />\n<parameter name=\"templateType\" value=\"json\" />\n<parameter name=\"responsePrefix\" value=\"tmp.merge\" />","comments":"","outputs":1,"x":813,"y":425,"z":"bcb112aa.3df3","wires":[["806b8a1a.10a928","fb85739e.97635"]]},{"id":"b2137289.1cf87","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":918,"y":596,"z":"bcb112aa.3df3","wires":[["9cc87fc8.c131"]]},{"id":"806b8a1a.10a928","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1064,"y":386,"z":"bcb112aa.3df3","wires":[["f0bb9ae5.225b08"]]},{"id":"fb85739e.97635","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1053,"y":445,"z":"bcb112aa.3df3","wires":[["f70cd59a.466288"]]},{"id":"9cc87fc8.c131","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.saveConfigBlock.error-message`\"/>\n\t\n\t\n\t","comments":"","x":1117,"y":593,"z":"bcb112aa.3df3","wires":[]},{"id":"f0bb9ae5.225b08","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1220,"y":389,"z":"bcb112aa.3df3","wires":[["cc1dc434.2e9558"]]},{"id":"f70cd59a.466288","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1209,"y":447,"z":"bcb112aa.3df3","wires":[["bbfbfcbd.81a6b"]]},{"id":"cc1dc434.2e9558","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to merge template with data\"/>\n\t","comments":"","x":1398,"y":392,"z":"bcb112aa.3df3","wires":[]},{"id":"bbfbfcbd.81a6b","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.merge.error-message`\"/>\n\t","comments":"","x":1382,"y":454,"z":"bcb112aa.3df3","wires":[]},{"id":"f2019004.80993","type":"dgstart","name":"DGSTART","outputs":1,"x":146,"y":118,"z":"bcb112aa.3df3","wires":[["f02b838f.96f26"]]},{"id":"f02b838f.96f26","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":313,"y":118,"z":"bcb112aa.3df3","wires":[["6f7e3ed4.df123"]]},{"id":"6f7e3ed4.df123","type":"method","name":"method GenerateConfig","xml":"<method rpc='GenerateConfig' mode='sync'>\n","comments":"","outputs":1,"x":559,"y":117,"z":"bcb112aa.3df3","wires":[["52decd8e.01dd24"]]},{"id":"52decd8e.01dd24","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":155,"y":186,"z":"bcb112aa.3df3","wires":[["8dc92cef.af16"]]},{"id":"30855e94.828402","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1026,"y":312,"z":"bcb112aa.3df3","wires":[[]]}]
+[\r
+    {\r
+        "id": "8dc92cef.af16",\r
+        "type": "switchNode",\r
+        "name": "switch configuration Exist",\r
+        "xml": "<switch test='`$configuration`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 230,\r
+        "y": 273,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            [\r
+                "51b66afb.732cb4",\r
+                "ac78286.04e5ad8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "51b66afb.732cb4",\r
+        "type": "success",\r
+        "name": " Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 200,\r
+        "y": 356,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            [\r
+                "19efef28.113271"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ac78286.04e5ad8",\r
+        "type": "success",\r
+        "name": "outcome: null",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 460,\r
+        "y": 278,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            [\r
+                "e08c0360.b78d7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "19efef28.113271",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 355,\r
+        "y": 357,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            [\r
+                "bd4ca811.1bbf98",\r
+                "f05dc8ea.7c8f98"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e08c0360.b78d7",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 651,\r
+        "y": 275,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "bd4ca811.1bbf98",\r
+        "type": "switchNode",\r
+        "name": "switch Config Params Exist",\r
+        "xml": "<switch test='`$configuration-params`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 580,\r
+        "y": 359,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            [\r
+                "4ceaa5cd.c473ac",\r
+                "cba86ee2.90b7e"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f05dc8ea.7c8f98",\r
+        "type": "execute",\r
+        "name": "execute saveConfigBlock",\r
+        "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigBlock\">\n<parameter name=\"responsePrefix\" value=\"tmp.saveConfigBlock\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 541,\r
+        "y": 594,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            [\r
+                "c2734f72.66207"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4ceaa5cd.c473ac",\r
+        "type": "success",\r
+        "name": "outcome: null",\r
+        "xml": "<outcome value=''>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 812,\r
+        "y": 312,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            [\r
+                "30855e94.828402"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cba86ee2.90b7e",\r
+        "type": "success",\r
+        "name": " Other",\r
+        "xml": "<outcome value=\"Other\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 582,\r
+        "y": 423,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            [\r
+                "3c1de74c.ceb898"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c2734f72.66207",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 751,\r
+        "y": 594,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            [\r
+                "b2137289.1cf87"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3c1de74c.ceb898",\r
+        "type": "execute",\r
+        "name": "execute Merge Data with Template",\r
+        "xml": "<execute plugin=\"org.onap.sdnc.config.generator.merge.MergeNode\" method=\"mergeJsonDataOnTemplate\">\n<parameter name=\"jsonData\" value=\"`$configuration-params`\" />\n<parameter name=\"templateData\" value=\"`$configuration`\" />\n<parameter name=\"templateType\" value=\"json\" />\n<parameter name=\"responsePrefix\" value=\"tmp.merge\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 813,\r
+        "y": 425,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            [\r
+                "806b8a1a.10a928",\r
+                "fb85739e.97635"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b2137289.1cf87",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 918,\r
+        "y": 596,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            [\r
+                "9cc87fc8.c131"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "806b8a1a.10a928",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1064,\r
+        "y": 386,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            [\r
+                "f0bb9ae5.225b08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fb85739e.97635",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1053,\r
+        "y": 445,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            [\r
+                "f70cd59a.466288"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9cc87fc8.c131",\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.saveConfigBlock.error-message`\"/>\n\t\n\t\n\t",\r
+        "comments": "",\r
+        "x": 1117,\r
+        "y": 593,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f0bb9ae5.225b08",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1220,\r
+        "y": 389,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            [\r
+                "cc1dc434.2e9558"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f70cd59a.466288",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1209,\r
+        "y": 447,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            [\r
+                "bbfbfcbd.81a6b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cc1dc434.2e9558",\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=\"Unable to merge template with data\"/>\n\t",\r
+        "comments": "",\r
+        "x": 1398,\r
+        "y": 392,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bbfbfcbd.81a6b",\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=\"`$tmp.merge.error-message`\"/>\n\t",\r
+        "comments": "",\r
+        "x": 1382,\r
+        "y": 454,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f2019004.80993",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 146,\r
+        "y": 118,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            [\r
+                "f02b838f.96f26"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f02b838f.96f26",\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": 313,\r
+        "y": 118,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            [\r
+                "6f7e3ed4.df123"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6f7e3ed4.df123",\r
+        "type": "method",\r
+        "name": "method GenerateConfig",\r
+        "xml": "<method rpc='GenerateConfig' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 559,\r
+        "y": 117,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            [\r
+                "52decd8e.01dd24"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "52decd8e.01dd24",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 155,\r
+        "y": 186,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            [\r
+                "8dc92cef.af16"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "30855e94.828402",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1026,\r
+        "y": 312,\r
+        "z": "bcb112aa.3df3",\r
+        "wires": [\r
+            []\r
+        ]\r
+    }\r
+]\r