remove redundant dg files part 1 59/55259/1
authorTaka Cho <tc012c@att.com>
Fri, 22 Jun 2018 15:31:09 +0000 (11:31 -0400)
committerTaka Cho <tc012c@att.com>
Fri, 22 Jun 2018 15:33:01 +0000 (11:33 -0400)
DG files pick up from APPC's Repo dg-provider.jar  not from here any more

Issue-ID: APPC-1031
Change-Id: I1b2b8079d409991e1f7ca4ddafb91c3ba9eed4b0
Signed-off-by: Taka Cho <tc012c@att.com>
platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_CheckConfigStatus.json [deleted file]
platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_CommonConfiguration.json [deleted file]
platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_Configure.json [deleted file]
platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_CreateSnapShotVM.json [deleted file]

diff --git a/platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_CheckConfigStatus.json b/platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_CheckConfigStatus.json
deleted file mode 100644 (file)
index dd07392..0000000
+++ /dev/null
@@ -1 +0,0 @@
-[{"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":[]}]
diff --git a/platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_CommonConfiguration.json b/platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_CommonConfiguration.json
deleted file mode 100644 (file)
index ef6c0d0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-[{"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":[[]]}]
diff --git a/platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_Configure.json b/platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_Configure.json
deleted file mode 100644 (file)
index 196956e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-[{"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":[]}]
diff --git a/platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_CreateSnapShotVM.json b/platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_CreateSnapShotVM.json
deleted file mode 100644 (file)
index ae43937..0000000
+++ /dev/null
@@ -1 +0,0 @@
-[{"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"]]}]