aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CheckConfigStatus.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CommonConfiguration.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Configure.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CreateSnapShotVM.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadCliConfig.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadIsbcConfig.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadNetconfConfig.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadRestconfConfig.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadSBGConfig.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadXmlConfig.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_EvacuateVM.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateConfig.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateTemplateConfig.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_AnsibleDG.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_ChefDG.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_Configure.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfoTest.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetConfigParams.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetDeviceRunningConfig.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Ansible.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Chef.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetVfModuleInfo.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_MigrateVM.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ProcessParameterDefinition.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_PublishConfiguration.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RebuildVM.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVMCommonFlow.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVNFVMCommonFlow.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SaveRunningConfig.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SetStatus.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiInfo.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforPayloadInput.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforReferenceData.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ansible-adapter-1.0.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_chef.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_healthcheck.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_DownloadvIRCChefConfig_4.0.0.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_Generic_Restart.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_topology-operation-all_2.0.0.json22
39 files changed, 39 insertions, 819 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CheckConfigStatus.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CheckConfigStatus.json
index 7bf35074e..73b1d7aaa 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CheckConfigStatus.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CheckConfigStatus.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"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.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.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.openecomp.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.openecomp.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.openecomp.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.openecomp.sdnc.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.openecomp.sdnc.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.openecomp.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":[]}] \ No newline at end of file
+[{"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.openecomp.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.openecomp.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.openecomp.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.openecomp.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/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CommonConfiguration.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CommonConfiguration.json
index b4e0d0cf1..5df4bd121 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CommonConfiguration.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CommonConfiguration.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"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.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.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.openecomp.sdnc.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.openecomp.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.openecomp.sdnc.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":[[]]}]
+[{"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.openecomp.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/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Configure.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Configure.json
index aaef0aace..b817bbf00 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Configure.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Configure.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"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.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.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.openecomp.sdnc.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.openecomp.sdnc.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.openecomp.sdnc.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.openecomp.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.openecomp.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.openecomp.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.openecomp.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":[]}]
+[{"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.openecomp.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.openecomp.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.openecomp.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.openecomp.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/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CreateSnapShotVM.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CreateSnapShotVM.json
index 9bee24369..72d423375 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CreateSnapShotVM.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_CreateSnapShotVM.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"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.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.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.openecomp.sdnc.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.openecomp.sdnc.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.openecomp.appc.adapter.iaas.ProviderAdapter' method='createSnapshot'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$identity-url`\" />","comments":"","outputs":1,"x":767.7499694824219,"y":265.75,"z":"30478bde.f2abc4","wires":[["a43afbad.7e76b","6b99250e.35643c"]]}]
+[{"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.openecomp.appc.adapter.iaas.ProviderAdapter' method='createSnapshot'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$identity-url`\" />","comments":"","outputs":1,"x":767.7499694824219,"y":265.75,"z":"30478bde.f2abc4","wires":[["a43afbad.7e76b","6b99250e.35643c"]]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadCliConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadCliConfig.json
index 16475af1d..4aff6061b 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadCliConfig.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadCliConfig.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"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.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.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.openecomp.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.openecomp.sdnc.sli.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"]]}]
+[{"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.openecomp.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"]]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadIsbcConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadIsbcConfig.json
index e691b71af..f8a7b5737 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadIsbcConfig.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadIsbcConfig.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"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.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.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.openecomp.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.openecomp.sdnc.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.openecomp.sdnc.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.openecomp.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":[]}]
+[{"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.openecomp.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.openecomp.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":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadNetconfConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadNetconfConfig.json
index 5b120aba0..6a1d5da43 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadNetconfConfig.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadNetconfConfig.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"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.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.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":[]}]
+[{"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":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadRestconfConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadRestconfConfig.json
index c0590641e..74e781191 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadRestconfConfig.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadRestconfConfig.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"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.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.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.openecomp.sdnc.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":[]}]
+[{"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":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadSBGConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadSBGConfig.json
index 90129240a..0f99ae796 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadSBGConfig.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadSBGConfig.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"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.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.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.openecomp.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.openecomp.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":[]}]
+[{"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.openecomp.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.openecomp.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":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadXmlConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadXmlConfig.json
index e7df6f327..35f444aec 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadXmlConfig.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DownloadXmlConfig.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"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.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.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.openecomp.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":[]}]
+[{"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.openecomp.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":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_EvacuateVM.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_EvacuateVM.json
index b5df21a59..8f7f7961c 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_EvacuateVM.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_EvacuateVM.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"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.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.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.openecomp.appc.adapter.iaas.ProviderAdapter' method='evacuateServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$identity-url`\" />\n<parameter name=\"org.openecomp.appc.tenant.id\" value=\"`$tenant-id`\" />\n<parameter name=\"org.openecomp.appc.rebuildvm\" value=\"`$rebuild-vm`\" />\n<parameter name=\"org.openecomp.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.openecomp.sdnc.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.openecomp.sdnc.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":[[]]}]
+[{"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.openecomp.appc.adapter.iaas.ProviderAdapter' method='evacuateServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$identity-url`\" />\n<parameter name=\"org.openecomp.appc.tenant.id\" value=\"`$tenant-id`\" />\n<parameter name=\"org.openecomp.appc.rebuildvm\" value=\"`$rebuild-vm`\" />\n<parameter name=\"org.openecomp.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":[[]]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateConfig.json
index d81fa97a6..f14cad438 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateConfig.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateConfig.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"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.openecomp.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.openecomp.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.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.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":[[]]}]
+[{"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.openecomp.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.openecomp.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":[[]]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateTemplateConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateTemplateConfig.json
index 77e10f739..7af09f4c7 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateTemplateConfig.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GenerateTemplateConfig.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"42b2dfc0.a5c5e","type":"dgstart","name":"DGSTART","outputs":1,"x":168,"y":108,"z":"d7c523d9.040c","wires":[["d9d88d2e.06e01"]]},{"id":"d9d88d2e.06e01","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":320,"y":107,"z":"d7c523d9.040c","wires":[["f1a68f7c.b0fd1"]]},{"id":"f1a68f7c.b0fd1","type":"method","name":"method GenerateTemplateConfig","xml":"<method rpc='GenerateTemplateConfig' mode='sync'>\n","comments":"","outputs":1,"x":560,"y":110,"z":"d7c523d9.040c","wires":[["2975bd2f.022512"]]},{"id":"2975bd2f.022512","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":180,"y":171,"z":"d7c523d9.040c","wires":[["718c80aa.91b87","cac9421d.229c9"]]},{"id":"458ebbd8.86b484","type":"execute","name":"execute Merge Data with Template","xml":"<execute plugin=\"org.openecomp.sdnc.config.generator.merge.MergeNode\" method=\"mergeJsonDataOnTemplate\">\n<parameter name=\"jsonData\" value=\"`$configuration-params`\" />\n<parameter name=\"templateData\" value=\"`$config-template.file-content`\" />\n<parameter name=\"templateType\" value=\"json\" />\n<parameter name=\"responsePrefix\" value=\"tmp.merge\" />","comments":"","outputs":1,"x":680.5,"y":378,"z":"d7c523d9.040c","wires":[["b61648ca.231c98","95b9fc11.efc86"]]},{"id":"b61648ca.231c98","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":929.5,"y":346,"z":"d7c523d9.040c","wires":[["ad78434b.53b5e"]]},{"id":"ad78434b.53b5e","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1077.5,"y":347,"z":"d7c523d9.040c","wires":[["39a12381.5bf87c"]]},{"id":"39a12381.5bf87c","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":1251.5,"y":348,"z":"d7c523d9.040c","wires":[]},{"id":"95b9fc11.efc86","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":924.5,"y":422,"z":"d7c523d9.040c","wires":[["3e2c957.50e086a"]]},{"id":"3e2c957.50e086a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1072.5,"y":424,"z":"d7c523d9.040c","wires":[["4d72da43.0cfe14"]]},{"id":"4d72da43.0cfe14","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":1263.5,"y":423,"z":"d7c523d9.040c","wires":[]},{"id":"718c80aa.91b87","type":"switchNode","name":"switch Configuration params exists","xml":"<switch test='`$configuration-params`'>\n","comments":"","outputs":1,"x":425,"y":170,"z":"d7c523d9.040c","wires":[["8f31c08f.9dbb2","4be7f151.48d7f"]]},{"id":"baa4370e.36b778","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":664,"y":237,"z":"d7c523d9.040c","wires":[["458ebbd8.86b484"]]},{"id":"8f31c08f.9dbb2","type":"success","name":"outcome:Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":472,"y":234,"z":"d7c523d9.040c","wires":[["baa4370e.36b778"]]},{"id":"4be7f151.48d7f","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":765,"y":165,"z":"d7c523d9.040c","wires":[["a55c78ed.34cc38"]]},{"id":"cac9421d.229c9","type":"execute","name":"execute saveTemplateConfig","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"saveTemplateConfig\">\n<parameter name=\"responsePrefix\" value=\"tmp.saveTemplateConfig\" />","comments":"","outputs":1,"x":248,"y":623,"z":"d7c523d9.040c","wires":[["6a63d2a.0f3ba2c"]]},{"id":"6a63d2a.0f3ba2c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":458,"y":623,"z":"d7c523d9.040c","wires":[["f2ef42ef.faf2a"]]},{"id":"f2ef42ef.faf2a","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":625,"y":625,"z":"d7c523d9.040c","wires":[["2fab99ac.fc2306"]]},{"id":"2fab99ac.fc2306","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":816,"y":628,"z":"d7c523d9.040c","wires":[]},{"id":"a55c78ed.34cc38","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":955,"y":167,"z":"d7c523d9.040c","wires":[[]]}]
+[{"id":"42b2dfc0.a5c5e","type":"dgstart","name":"DGSTART","outputs":1,"x":168,"y":108,"z":"d7c523d9.040c","wires":[["d9d88d2e.06e01"]]},{"id":"d9d88d2e.06e01","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":320,"y":107,"z":"d7c523d9.040c","wires":[["f1a68f7c.b0fd1"]]},{"id":"f1a68f7c.b0fd1","type":"method","name":"method GenerateTemplateConfig","xml":"<method rpc='GenerateTemplateConfig' mode='sync'>\n","comments":"","outputs":1,"x":560,"y":110,"z":"d7c523d9.040c","wires":[["2975bd2f.022512"]]},{"id":"2975bd2f.022512","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":180,"y":171,"z":"d7c523d9.040c","wires":[["718c80aa.91b87","cac9421d.229c9"]]},{"id":"458ebbd8.86b484","type":"execute","name":"execute Merge Data with Template","xml":"<execute plugin=\"org.openecomp.sdnc.config.generator.merge.MergeNode\" method=\"mergeJsonDataOnTemplate\">\n<parameter name=\"jsonData\" value=\"`$configuration-params`\" />\n<parameter name=\"templateData\" value=\"`$config-template.file-content`\" />\n<parameter name=\"templateType\" value=\"json\" />\n<parameter name=\"responsePrefix\" value=\"tmp.merge\" />","comments":"","outputs":1,"x":680.5,"y":378,"z":"d7c523d9.040c","wires":[["b61648ca.231c98","95b9fc11.efc86"]]},{"id":"b61648ca.231c98","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":929.5,"y":346,"z":"d7c523d9.040c","wires":[["ad78434b.53b5e"]]},{"id":"ad78434b.53b5e","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1077.5,"y":347,"z":"d7c523d9.040c","wires":[["39a12381.5bf87c"]]},{"id":"39a12381.5bf87c","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":1251.5,"y":348,"z":"d7c523d9.040c","wires":[]},{"id":"95b9fc11.efc86","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":924.5,"y":422,"z":"d7c523d9.040c","wires":[["3e2c957.50e086a"]]},{"id":"3e2c957.50e086a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1072.5,"y":424,"z":"d7c523d9.040c","wires":[["4d72da43.0cfe14"]]},{"id":"4d72da43.0cfe14","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":1263.5,"y":423,"z":"d7c523d9.040c","wires":[]},{"id":"718c80aa.91b87","type":"switchNode","name":"switch Configuration params exists","xml":"<switch test='`$configuration-params`'>\n","comments":"","outputs":1,"x":425,"y":170,"z":"d7c523d9.040c","wires":[["8f31c08f.9dbb2","4be7f151.48d7f"]]},{"id":"baa4370e.36b778","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":664,"y":237,"z":"d7c523d9.040c","wires":[["458ebbd8.86b484"]]},{"id":"8f31c08f.9dbb2","type":"success","name":"outcome:Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":472,"y":234,"z":"d7c523d9.040c","wires":[["baa4370e.36b778"]]},{"id":"4be7f151.48d7f","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":765,"y":165,"z":"d7c523d9.040c","wires":[["a55c78ed.34cc38"]]},{"id":"cac9421d.229c9","type":"execute","name":"execute saveTemplateConfig","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"saveTemplateConfig\">\n<parameter name=\"responsePrefix\" value=\"tmp.saveTemplateConfig\" />","comments":"","outputs":1,"x":248,"y":623,"z":"d7c523d9.040c","wires":[["6a63d2a.0f3ba2c"]]},{"id":"6a63d2a.0f3ba2c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":458,"y":623,"z":"d7c523d9.040c","wires":[["f2ef42ef.faf2a"]]},{"id":"f2ef42ef.faf2a","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":625,"y":625,"z":"d7c523d9.040c","wires":[["2fab99ac.fc2306"]]},{"id":"2fab99ac.fc2306","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":816,"y":628,"z":"d7c523d9.040c","wires":[]},{"id":"a55c78ed.34cc38","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":955,"y":167,"z":"d7c523d9.040c","wires":[[]]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_AnsibleDG.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_AnsibleDG.json
index b58124be5..a5255c671 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_AnsibleDG.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_AnsibleDG.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"f9d2eb85.dfd418","type":"dgstart","name":"DGSTART","outputs":1,"x":168.66665649414062,"y":148.66665649414062,"z":"8d979a23.6d826","wires":[["5d68bca4.0159fc"]]},{"id":"5d68bca4.0159fc","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":373.3541564941406,"y":137.72915649414062,"z":"8d979a23.6d826","wires":[["a55d1227.45f05"]]},{"id":"a55d1227.45f05","type":"method","name":"method Generic_AnsibleDG","xml":"<method rpc='Generic_AnsibleDG' mode='sync'>\n","comments":"","outputs":1,"x":624.9166564941406,"y":137.72915649414062,"z":"8d979a23.6d826","wires":[["8b9ca10a.ec99c8"]]},{"id":"b99a5f9d.0955d","type":"call","name":"call: ansible-adapter-1.0","xml":"<call module=\"APPC\" rpc=\"ansible-adapter-1.0\" mode=\"sync\">","comments":"","outputs":1,"x":380.5211181640625,"y":862.491455078125,"z":"8d979a23.6d826","wires":[["27eb5717.7f1578","97eba8a5.6f26e8"]]},{"id":"2b1c8824.a9a448","type":"execute","name":"execute getDecrytedpassword","xml":" <execute plugin='org.openecomp.appc.encryptiontool.wrapper.EncryptionToolDGWrapper' method = 'getProperty'>\n <parameter name='propertyName' value=\"`$tmp.prefix+'.'+$password`\"/>\n <parameter name='responsePrefix' value =\"prefix\"/>","comments":"","outputs":1,"x":655.687255859375,"y":493.1387023925781,"z":"8d979a23.6d826","wires":[["f54d4be5.982b6","3ec9dca0.23308c"]]},{"id":"3d4634cd.056774","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"Unable to decrypt the password.\" />\n","comments":"","x":1319.7084197998047,"y":705.6582336425781,"z":"8d979a23.6d826","wires":[]},{"id":"1ebdbd5c.8a46e3","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1150.9790725708008,"y":705.8374347686768,"z":"8d979a23.6d826","wires":[["3d4634cd.056774"]]},{"id":"3ec9dca0.23308c","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":952.9166259765625,"y":703.458251953125,"z":"8d979a23.6d826","wires":[["1ebdbd5c.8a46e3"]]},{"id":"f54d4be5.982b6","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":933.9293212890625,"y":637.3124389648438,"z":"8d979a23.6d826","wires":[["1ebdbd5c.8a46e3"]]},{"id":"859dc462.b013c","type":"execute","name":"execute Convert payload to DG Context ","xml":"<execute plugin=\"org.openecomp.sdnc.config.generator.convert.ConvertNode\" method=\"convertJson2DGContext\">\n<parameter name=\"jsonData\" value=\"`$tmp.merge.mergedData`\" />\n<parameter name=\"isEscaped\" value=\"Y\" />\n<parameter name=\"blockKeys\" value=\"EnvParameters,PlaybookName,Timeout,vnf-host-ip-address,NodeList\" />\n<parameter name=\"responsePrefix\" value=\"tmp.convertnode\" />","comments":"","outputs":1,"x":733.5034103393555,"y":256.72020721435547,"z":"8d979a23.6d826","wires":[["24835a8e.df2746","33e209ac.94f7b6"]]},{"id":"a2f9c928.6ad4f8","type":"set","name":"set Payload params ","xml":"<set>\n<parameter name='PlaybookName' value='`$PlaybookName`' />\n<parameter name='NodeList' value='`$NodeList`'/>\n<parameter name='vnf_id' value='`$vnf-id`' />\n<parameter name='AgentUrl' value='`$vnf-host-ip-address`'/>\n <parameter name='User' value='`$propertyName`'/>\n <parameter name='Password' value='`$password`'/>\n <parameter name='EnvParameters' value='`$EnvParameters`'/>\n <parameter name='Timeout' value='`$Timeout`'/>\n\n\n\n","comments":"","x":449.31097412109375,"y":765.8724365234375,"z":"8d979a23.6d826","wires":[]},{"id":"33e209ac.94f7b6","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":952.7416076660156,"y":452.375,"z":"8d979a23.6d826","wires":[["216294d5.a7fb94"]]},{"id":"24835a8e.df2746","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":949.574951171875,"y":539.6583318710327,"z":"8d979a23.6d826","wires":[["b7ce4425.f48f58"]]},{"id":"216294d5.a7fb94","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1119.4083557128906,"y":455.5416564941406,"z":"8d979a23.6d826","wires":[["9067e852.5bfff8"]]},{"id":"b7ce4425.f48f58","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1125.7415237426758,"y":519.0249500274658,"z":"8d979a23.6d826","wires":[["4a3e995a.4273c"]]},{"id":"4a3e995a.4273c","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 process convert payload to context.\"/>\n\t\n","comments":"","x":1328.9415168762207,"y":522.2083377838135,"z":"8d979a23.6d826","wires":[]},{"id":"8b9ca10a.ec99c8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":421.0082550048828,"y":250.30825805664062,"z":"8d979a23.6d826","wires":[["859dc462.b013c","2b1c8824.a9a448","b99a5f9d.0955d","a2f9c928.6ad4f8","6192438.689873c","1ccfd19d.b184de","e1684642.0ecd8","5e29f749.55b95","dd3c902f.08a6a","db0f7de5.7f4038"]]},{"id":"9067e852.5bfff8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.convertnode.error-message`\"/>\n\t\n\t","comments":"","x":1347.9748840332031,"y":457.9416198730469,"z":"8d979a23.6d826","wires":[]},{"id":"a262ae5f.96344","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t","comments":"","x":1149.5749816894531,"y":894.4582824707031,"z":"8d979a23.6d826","wires":[]},{"id":"27eb5717.7f1578","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":887.6582336425781,"y":838.8916931152344,"z":"8d979a23.6d826","wires":[["a262ae5f.96344"]]},{"id":"97eba8a5.6f26e8","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":863.8583068847656,"y":921.4416198730469,"z":"8d979a23.6d826","wires":[["a262ae5f.96344"]]},{"id":"6192438.689873c","type":"set","name":"set tmp.prefix","xml":"<set>\n<parameter name=\"tmp.prefix\" value=\"`$vnf-type + '.' + $input.action`\"/>\n<parameter name=\"password\" value=\"password\"/>\n<parameter name=\"user\" value=\"user\"/>\n\n","comments":"","x":727.5115356445312,"y":345.95501708984375,"z":"8d979a23.6d826","wires":[]},{"id":"1ccfd19d.b184de","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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.action`\"/>\n<parameter name=\"field3\" value =\"`$tmp.merge.mergedData`\"/>\n<parameter name=\"field4\" value =\"`$tmp.merge`\"/>","comments":"","outputs":1,"x":821.6116638183594,"y":183.46163940429688,"z":"8d979a23.6d826","wires":[[]]},{"id":"e1684642.0ecd8","type":"execute","name":"execute getUser","xml":" <execute plugin='org.openecomp.appc.encryptiontool.wrapper.EncryptionToolDGWrapper' method = 'getProperty'>\n <parameter name='responsePrefix' value =\"prefix\"/>\n <parameter name='propertyName' value=\"`$tmp.prefix+'.'+$user`\"/>","comments":"","outputs":1,"x":550.3334350585938,"y":631.3333740234375,"z":"8d979a23.6d826","wires":[[]]},{"id":"5e29f749.55b95","type":"set","name":"set password","xml":"<set>\n<parameter name=\"tmp.prefix\" value=\"`$vnf-type + '.' + $input.action`\"/>\n<parameter name=\"password\" value=\"$propertyName\"/>\n\n\n","comments":"","x":638.66650390625,"y":570.3333129882812,"z":"8d979a23.6d826","wires":[]},{"id":"db0f7de5.7f4038","type":"set","name":"set user","xml":"<set>\n<parameter name=\"user\" value=\"$propertyName\"/>\n\n\n","comments":"","x":527,"y":690.6666259765625,"z":"8d979a23.6d826","wires":[]},{"id":"dd3c902f.08a6a","type":"set","name":"set Payload params ","xml":"<set>\n<parameter name='PlaybookName' value='`$block_PlaybookName`' />\n<parameter name='NodeList' value ='`$block_NodeList`'/>\n<parameter name='vnf_id' value='`$vnf-id`' />\n<parameter name='AgentUrl' value='`$vnf-host-ip-address`'/>\n<parameter name='EnvParameters' value='`$block_EnvParameters`'/>\n<parameter name='Timeout' value='`$block_Timeout`'/>\n\n\n\n","comments":"","x":735.3333129882812,"y":303.3333435058594,"z":"8d979a23.6d826","wires":[]}]
+[{"id":"f9d2eb85.dfd418","type":"dgstart","name":"DGSTART","outputs":1,"x":168.66665649414062,"y":148.66665649414062,"z":"8d979a23.6d826","wires":[["5d68bca4.0159fc"]]},{"id":"5d68bca4.0159fc","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":373.3541564941406,"y":137.72915649414062,"z":"8d979a23.6d826","wires":[["a55d1227.45f05"]]},{"id":"a55d1227.45f05","type":"method","name":"method Generic_AnsibleDG","xml":"<method rpc='Generic_AnsibleDG' mode='sync'>\n","comments":"","outputs":1,"x":624.9166564941406,"y":137.72915649414062,"z":"8d979a23.6d826","wires":[["8b9ca10a.ec99c8"]]},{"id":"b99a5f9d.0955d","type":"call","name":"call: ansible-adapter-1.0","xml":"<call module=\"APPC\" rpc=\"ansible-adapter-1.0\" mode=\"sync\">","comments":"","outputs":1,"x":380.5211181640625,"y":862.491455078125,"z":"8d979a23.6d826","wires":[["27eb5717.7f1578","97eba8a5.6f26e8"]]},{"id":"2b1c8824.a9a448","type":"execute","name":"execute getDecrytedpassword","xml":" <execute plugin='org.openecomp.appc.encryptiontool.wrapper.EncryptionToolDGWrapper' method = 'getProperty'>\n <parameter name='propertyName' value=\"`$tmp.prefix+'.'+$password`\"/>\n <parameter name='responsePrefix' value =\"prefix\"/>","comments":"","outputs":1,"x":655.687255859375,"y":493.1387023925781,"z":"8d979a23.6d826","wires":[["f54d4be5.982b6","3ec9dca0.23308c"]]},{"id":"3d4634cd.056774","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"Unable to decrypt the password.\" />\n","comments":"","x":1319.7084197998047,"y":705.6582336425781,"z":"8d979a23.6d826","wires":[]},{"id":"1ebdbd5c.8a46e3","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1150.9790725708008,"y":705.8374347686768,"z":"8d979a23.6d826","wires":[["3d4634cd.056774"]]},{"id":"3ec9dca0.23308c","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":952.9166259765625,"y":703.458251953125,"z":"8d979a23.6d826","wires":[["1ebdbd5c.8a46e3"]]},{"id":"f54d4be5.982b6","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":933.9293212890625,"y":637.3124389648438,"z":"8d979a23.6d826","wires":[["1ebdbd5c.8a46e3"]]},{"id":"859dc462.b013c","type":"execute","name":"execute Convert payload to DG Context ","xml":"<execute plugin=\"org.openecomp.sdnc.config.generator.convert.ConvertNode\" method=\"convertJson2DGContext\">\n<parameter name=\"jsonData\" value=\"`$tmp.merge.mergedData`\" />\n<parameter name=\"isEscaped\" value=\"Y\" />\n<parameter name=\"blockKeys\" value=\"EnvParameters,PlaybookName,Timeout,vnf-host-ip-address,NodeList\" />\n<parameter name=\"responsePrefix\" value=\"tmp.convertnode\" />","comments":"","outputs":1,"x":733.5034103393555,"y":256.72020721435547,"z":"8d979a23.6d826","wires":[["24835a8e.df2746","33e209ac.94f7b6"]]},{"id":"a2f9c928.6ad4f8","type":"set","name":"set Payload params ","xml":"<set>\n<parameter name='PlaybookName' value='`$PlaybookName`' />\n<parameter name='NodeList' value='`$NodeList`'/>\n<parameter name='vnf_id' value='`$vnf-id`' />\n<parameter name='AgentUrl' value='`$vnf-host-ip-address`'/>\n <parameter name='User' value='`$propertyName`'/>\n <parameter name='Password' value='`$password`'/>\n <parameter name='EnvParameters' value='`$EnvParameters`'/>\n <parameter name='Timeout' value='`$Timeout`'/>\n\n\n\n","comments":"","x":449.31097412109375,"y":765.8724365234375,"z":"8d979a23.6d826","wires":[]},{"id":"33e209ac.94f7b6","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":952.7416076660156,"y":452.375,"z":"8d979a23.6d826","wires":[["216294d5.a7fb94"]]},{"id":"24835a8e.df2746","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":949.574951171875,"y":539.6583318710327,"z":"8d979a23.6d826","wires":[["b7ce4425.f48f58"]]},{"id":"216294d5.a7fb94","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1119.4083557128906,"y":455.5416564941406,"z":"8d979a23.6d826","wires":[["9067e852.5bfff8"]]},{"id":"b7ce4425.f48f58","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1125.7415237426758,"y":519.0249500274658,"z":"8d979a23.6d826","wires":[["4a3e995a.4273c"]]},{"id":"4a3e995a.4273c","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 process convert payload to context.\"/>\n\t\n","comments":"","x":1328.9415168762207,"y":522.2083377838135,"z":"8d979a23.6d826","wires":[]},{"id":"8b9ca10a.ec99c8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":421.0082550048828,"y":250.30825805664062,"z":"8d979a23.6d826","wires":[["859dc462.b013c","2b1c8824.a9a448","b99a5f9d.0955d","a2f9c928.6ad4f8","6192438.689873c","1ccfd19d.b184de","e1684642.0ecd8","5e29f749.55b95","dd3c902f.08a6a","db0f7de5.7f4038"]]},{"id":"9067e852.5bfff8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.convertnode.error-message`\"/>\n\t\n\t","comments":"","x":1347.9748840332031,"y":457.9416198730469,"z":"8d979a23.6d826","wires":[]},{"id":"a262ae5f.96344","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t","comments":"","x":1149.5749816894531,"y":894.4582824707031,"z":"8d979a23.6d826","wires":[]},{"id":"27eb5717.7f1578","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":887.6582336425781,"y":838.8916931152344,"z":"8d979a23.6d826","wires":[["a262ae5f.96344"]]},{"id":"97eba8a5.6f26e8","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":863.8583068847656,"y":921.4416198730469,"z":"8d979a23.6d826","wires":[["a262ae5f.96344"]]},{"id":"6192438.689873c","type":"set","name":"set tmp.prefix","xml":"<set>\n<parameter name=\"tmp.prefix\" value=\"`$vnf-type + '.' + $input.action`\"/>\n<parameter name=\"password\" value=\"password\"/>\n<parameter name=\"user\" value=\"user\"/>\n\n","comments":"","x":727.5115356445312,"y":345.95501708984375,"z":"8d979a23.6d826","wires":[]},{"id":"1ccfd19d.b184de","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.action`\"/>\n<parameter name=\"field3\" value =\"`$tmp.merge.mergedData`\"/>\n<parameter name=\"field4\" value =\"`$tmp.merge`\"/>","comments":"","outputs":1,"x":821.6116638183594,"y":183.46163940429688,"z":"8d979a23.6d826","wires":[[]]},{"id":"e1684642.0ecd8","type":"execute","name":"execute getUser","xml":" <execute plugin='org.openecomp.appc.encryptiontool.wrapper.EncryptionToolDGWrapper' method = 'getProperty'>\n <parameter name='responsePrefix' value =\"prefix\"/>\n <parameter name='propertyName' value=\"`$tmp.prefix+'.'+$user`\"/>","comments":"","outputs":1,"x":550.3334350585938,"y":631.3333740234375,"z":"8d979a23.6d826","wires":[[]]},{"id":"5e29f749.55b95","type":"set","name":"set password","xml":"<set>\n<parameter name=\"tmp.prefix\" value=\"`$vnf-type + '.' + $input.action`\"/>\n<parameter name=\"password\" value=\"$propertyName\"/>\n\n\n","comments":"","x":638.66650390625,"y":570.3333129882812,"z":"8d979a23.6d826","wires":[]},{"id":"db0f7de5.7f4038","type":"set","name":"set user","xml":"<set>\n<parameter name=\"user\" value=\"$propertyName\"/>\n\n\n","comments":"","x":527,"y":690.6666259765625,"z":"8d979a23.6d826","wires":[]},{"id":"dd3c902f.08a6a","type":"set","name":"set Payload params ","xml":"<set>\n<parameter name='PlaybookName' value='`$block_PlaybookName`' />\n<parameter name='NodeList' value ='`$block_NodeList`'/>\n<parameter name='vnf_id' value='`$vnf-id`' />\n<parameter name='AgentUrl' value='`$vnf-host-ip-address`'/>\n<parameter name='EnvParameters' value='`$block_EnvParameters`'/>\n<parameter name='Timeout' value='`$block_Timeout`'/>\n\n\n\n","comments":"","x":735.3333129882812,"y":303.3333435058594,"z":"8d979a23.6d826","wires":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_ChefDG.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_ChefDG.json
index bf0130e76..414de1ec6 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_ChefDG.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_ChefDG.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"545e04ed.181234","type":"dgstart","name":"DGSTART","outputs":1,"x":287,"y":237,"z":"68fff755.a3d4d8","wires":[["a62bd6e0.096bd"]]},{"id":"a62bd6e0.096bd","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":491.6875,"y":226.0625,"z":"68fff755.a3d4d8","wires":[["259194f2.96ff6c"]]},{"id":"259194f2.96ff6c","type":"method","name":"method Generic_AnsibleDG","xml":"<method rpc='Generic_ChefDG' mode='sync'>\n","comments":"","outputs":1,"x":743.25,"y":226.0625,"z":"68fff755.a3d4d8","wires":[["98cbebaf.59b978"]]},{"id":"50578aed.59d2e4","type":"call","name":"call:chef","xml":"<call module=\"APPC\" rpc=\"chef\" mode=\"sync\">","comments":"","outputs":1,"x":498.8544616699219,"y":950.8247985839844,"z":"68fff755.a3d4d8","wires":[["cca3d157.3b8d9","f54a112b.e09388"]]},{"id":"b4ccce5b.25a54","type":"execute","name":"execute getDecrytedpassword","xml":" <execute plugin='org.openecomp.appc.encryptiontool.wrapper.EncryptionToolDGWrapper' method = 'getProperty'>\n <parameter name='propertyName' value=\"`$tmp.prefix+'.'+$password`\"/>\n <parameter name='responsePrefix' value =\"prefix\"/>","comments":"","outputs":1,"x":774.0205993652344,"y":581.4720458984375,"z":"68fff755.a3d4d8","wires":[["1ad509ac.6bde56","397377f2.2fc3b"]]},{"id":"d6fa1f8e.f2501","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"Unable to decrypt the password.\" />\n","comments":"","x":1438.041763305664,"y":793.9915771484375,"z":"68fff755.a3d4d8","wires":[]},{"id":"46252d4b.e7dacc","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1269.3124160766602,"y":794.1707782745361,"z":"68fff755.a3d4d8","wires":[["d6fa1f8e.f2501"]]},{"id":"397377f2.2fc3b","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1071.2499694824219,"y":791.7915954589844,"z":"68fff755.a3d4d8","wires":[["46252d4b.e7dacc"]]},{"id":"1ad509ac.6bde56","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1052.2626647949219,"y":725.6457824707031,"z":"68fff755.a3d4d8","wires":[["46252d4b.e7dacc"]]},{"id":"198ce026.c13188","type":"execute","name":"execute Convert payload to DG Context ","xml":"<execute plugin=\"org.openecomp.sdnc.config.generator.convert.ConvertNode\" method=\"convertJson2DGContext\">\n<parameter name=\"jsonData\" value=\"`$tmp.merge.mergedData`\" />\n<parameter name=\"isEscaped\" value=\"Y\" />\n<parameter name=\"blockKeys\" value=\"chef-server-address,chef-organization,chef-username,Node,NodeList,retryTimes,retryInterval,GetOutputFlag,PushJobFlag\" />\n<parameter name=\"responsePrefix\" value=\"tmp.convertnode\" />","comments":"","outputs":1,"x":851.8367538452148,"y":345.05355072021484,"z":"68fff755.a3d4d8","wires":[["cf425802.a48338","5a1e43db.08bb24"]]},{"id":"5a1e43db.08bb24","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1071.074951171875,"y":540.7083435058594,"z":"68fff755.a3d4d8","wires":[["27290e05.4a4002"]]},{"id":"cf425802.a48338","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1067.9082946777344,"y":627.9916753768921,"z":"68fff755.a3d4d8","wires":[["5ce0dfaf.34fb"]]},{"id":"27290e05.4a4002","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1237.74169921875,"y":543.875,"z":"68fff755.a3d4d8","wires":[["434c1e87.e2ea78"]]},{"id":"5ce0dfaf.34fb","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1244.0748672485352,"y":607.3582935333252,"z":"68fff755.a3d4d8","wires":[["2aaefdf8.b727ba"]]},{"id":"2aaefdf8.b727ba","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 process convert payload to context.\"/>\n\t\n","comments":"","x":1447.27486038208,"y":610.5416812896729,"z":"68fff755.a3d4d8","wires":[]},{"id":"98cbebaf.59b978","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":539.3415985107422,"y":338.6416015625,"z":"68fff755.a3d4d8","wires":[["198ce026.c13188","b4ccce5b.25a54","50578aed.59d2e4","82d5bd4e.2c94c8","33125b1.c4e57a4","e26c3001.6fd098","c887d74a.9f71","bfab8738.483068","5cd2bf9c.adbe38"]]},{"id":"434c1e87.e2ea78","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.convertnode.error-message`\"/>\n\t\n\t","comments":"","x":1466.3082275390625,"y":546.2749633789062,"z":"68fff755.a3d4d8","wires":[]},{"id":"50834eee.47b698","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t","comments":"","x":1267.9083251953125,"y":982.7916259765625,"z":"68fff755.a3d4d8","wires":[]},{"id":"cca3d157.3b8d9","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1005.9915771484375,"y":927.2250366210938,"z":"68fff755.a3d4d8","wires":[["50834eee.47b698"]]},{"id":"f54a112b.e09388","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":982.191650390625,"y":1009.7749633789062,"z":"68fff755.a3d4d8","wires":[["50834eee.47b698"]]},{"id":"82d5bd4e.2c94c8","type":"set","name":"set tmp.prefix","xml":"<set>\n<parameter name=\"tmp.prefix\" value=\"`$vnf-type + '.' + $input.action`\"/>\n<parameter name=\"password\" value=\"password\"/>\n<parameter name=\"user\" value=\"user\"/>\n\n","comments":"","x":845.8448791503906,"y":434.2883605957031,"z":"68fff755.a3d4d8","wires":[]},{"id":"33125b1.c4e57a4","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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.action`\"/>\n<parameter name=\"field3\" value =\"`$tmp.merge.mergedData`\"/>\n<parameter name=\"field4\" value =\"`$tmp.merge`\"/>","comments":"","outputs":1,"x":939.9450073242188,"y":271.79498291015625,"z":"68fff755.a3d4d8","wires":[[]]},{"id":"e26c3001.6fd098","type":"execute","name":"execute getUser","xml":" <execute plugin='org.openecomp.appc.encryptiontool.wrapper.EncryptionToolDGWrapper' method = 'getProperty'>\n <parameter name='responsePrefix' value =\"prefix\"/>\n <parameter name='propertyName' value=\"`$tmp.prefix+'.'+$user`\"/>","comments":"","outputs":1,"x":668.6667785644531,"y":719.6667175292969,"z":"68fff755.a3d4d8","wires":[[]]},{"id":"c887d74a.9f71","type":"set","name":"set password","xml":"<set>\n<parameter name=\"tmp.prefix\" value=\"`$vnf-type + '.' + $input.action`\"/>\n<parameter name=\"password\" value=\"$propertyName\"/>\n\n\n","comments":"","x":756.9998474121094,"y":658.6666564941406,"z":"68fff755.a3d4d8","wires":[]},{"id":"bfab8738.483068","type":"set","name":"set Payload params ","xml":"<set>\n<parameter name='Node' value='`$block_Node`' />\n<parameter name='NodeList' value ='`$block_NodeList`'/>\n<parameter name='vnf_id' value='`$vnf-id`' />\n<parameter name='chef-server-address' value='`$vnf-host-ip-address`'/>\n<parameter name='chef-organization' value='`$block_chef-organization`'/>\n<parameter name='retryTimes' value='`$block_retryTimes`'/>\n<parameter name='retryInterval' value='`$block_retryInterval`'/>\n<parameter name='GetOutputFlag' value='`$block_GetOutputFlag`'/>\n<parameter name='PushJobFlag' value='`$block_PushJobFlag`'/>\n\n\n\n","comments":"","x":853.6666564941406,"y":391.66668701171875,"z":"68fff755.a3d4d8","wires":[]},{"id":"5cd2bf9c.adbe38","type":"set","name":"set user ","xml":"<set>\n<parameter name='chef-username' value='`$propertyName`'/>\n<parameter name='Password' value='`$password`'/>\n \n\n\n\n","comments":"","x":567.6443176269531,"y":854.2057800292969,"z":"68fff755.a3d4d8","wires":[]}]
+[{"id":"545e04ed.181234","type":"dgstart","name":"DGSTART","outputs":1,"x":287,"y":237,"z":"68fff755.a3d4d8","wires":[["a62bd6e0.096bd"]]},{"id":"a62bd6e0.096bd","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":491.6875,"y":226.0625,"z":"68fff755.a3d4d8","wires":[["259194f2.96ff6c"]]},{"id":"259194f2.96ff6c","type":"method","name":"method Generic_AnsibleDG","xml":"<method rpc='Generic_ChefDG' mode='sync'>\n","comments":"","outputs":1,"x":743.25,"y":226.0625,"z":"68fff755.a3d4d8","wires":[["98cbebaf.59b978"]]},{"id":"50578aed.59d2e4","type":"call","name":"call:chef","xml":"<call module=\"APPC\" rpc=\"chef\" mode=\"sync\">","comments":"","outputs":1,"x":498.8544616699219,"y":950.8247985839844,"z":"68fff755.a3d4d8","wires":[["cca3d157.3b8d9","f54a112b.e09388"]]},{"id":"b4ccce5b.25a54","type":"execute","name":"execute getDecrytedpassword","xml":" <execute plugin='org.openecomp.appc.encryptiontool.wrapper.EncryptionToolDGWrapper' method = 'getProperty'>\n <parameter name='propertyName' value=\"`$tmp.prefix+'.'+$password`\"/>\n <parameter name='responsePrefix' value =\"prefix\"/>","comments":"","outputs":1,"x":774.0205993652344,"y":581.4720458984375,"z":"68fff755.a3d4d8","wires":[["1ad509ac.6bde56","397377f2.2fc3b"]]},{"id":"d6fa1f8e.f2501","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value=\"401\" />\n<parameter name='error-message' value=\"Unable to decrypt the password.\" />\n","comments":"","x":1438.041763305664,"y":793.9915771484375,"z":"68fff755.a3d4d8","wires":[]},{"id":"46252d4b.e7dacc","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1269.3124160766602,"y":794.1707782745361,"z":"68fff755.a3d4d8","wires":[["d6fa1f8e.f2501"]]},{"id":"397377f2.2fc3b","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1071.2499694824219,"y":791.7915954589844,"z":"68fff755.a3d4d8","wires":[["46252d4b.e7dacc"]]},{"id":"1ad509ac.6bde56","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1052.2626647949219,"y":725.6457824707031,"z":"68fff755.a3d4d8","wires":[["46252d4b.e7dacc"]]},{"id":"198ce026.c13188","type":"execute","name":"execute Convert payload to DG Context ","xml":"<execute plugin=\"org.openecomp.sdnc.config.generator.convert.ConvertNode\" method=\"convertJson2DGContext\">\n<parameter name=\"jsonData\" value=\"`$tmp.merge.mergedData`\" />\n<parameter name=\"isEscaped\" value=\"Y\" />\n<parameter name=\"blockKeys\" value=\"chef-server-address,chef-organization,chef-username,Node,NodeList,retryTimes,retryInterval,GetOutputFlag,PushJobFlag\" />\n<parameter name=\"responsePrefix\" value=\"tmp.convertnode\" />","comments":"","outputs":1,"x":851.8367538452148,"y":345.05355072021484,"z":"68fff755.a3d4d8","wires":[["cf425802.a48338","5a1e43db.08bb24"]]},{"id":"5a1e43db.08bb24","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1071.074951171875,"y":540.7083435058594,"z":"68fff755.a3d4d8","wires":[["27290e05.4a4002"]]},{"id":"cf425802.a48338","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1067.9082946777344,"y":627.9916753768921,"z":"68fff755.a3d4d8","wires":[["5ce0dfaf.34fb"]]},{"id":"27290e05.4a4002","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1237.74169921875,"y":543.875,"z":"68fff755.a3d4d8","wires":[["434c1e87.e2ea78"]]},{"id":"5ce0dfaf.34fb","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1244.0748672485352,"y":607.3582935333252,"z":"68fff755.a3d4d8","wires":[["2aaefdf8.b727ba"]]},{"id":"2aaefdf8.b727ba","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 process convert payload to context.\"/>\n\t\n","comments":"","x":1447.27486038208,"y":610.5416812896729,"z":"68fff755.a3d4d8","wires":[]},{"id":"98cbebaf.59b978","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":539.3415985107422,"y":338.6416015625,"z":"68fff755.a3d4d8","wires":[["198ce026.c13188","b4ccce5b.25a54","50578aed.59d2e4","82d5bd4e.2c94c8","33125b1.c4e57a4","e26c3001.6fd098","c887d74a.9f71","bfab8738.483068","5cd2bf9c.adbe38"]]},{"id":"434c1e87.e2ea78","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.convertnode.error-message`\"/>\n\t\n\t","comments":"","x":1466.3082275390625,"y":546.2749633789062,"z":"68fff755.a3d4d8","wires":[]},{"id":"50834eee.47b698","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t","comments":"","x":1267.9083251953125,"y":982.7916259765625,"z":"68fff755.a3d4d8","wires":[]},{"id":"cca3d157.3b8d9","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1005.9915771484375,"y":927.2250366210938,"z":"68fff755.a3d4d8","wires":[["50834eee.47b698"]]},{"id":"f54a112b.e09388","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":982.191650390625,"y":1009.7749633789062,"z":"68fff755.a3d4d8","wires":[["50834eee.47b698"]]},{"id":"82d5bd4e.2c94c8","type":"set","name":"set tmp.prefix","xml":"<set>\n<parameter name=\"tmp.prefix\" value=\"`$vnf-type + '.' + $input.action`\"/>\n<parameter name=\"password\" value=\"password\"/>\n<parameter name=\"user\" value=\"user\"/>\n\n","comments":"","x":845.8448791503906,"y":434.2883605957031,"z":"68fff755.a3d4d8","wires":[]},{"id":"33125b1.c4e57a4","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.action`\"/>\n<parameter name=\"field3\" value =\"`$tmp.merge.mergedData`\"/>\n<parameter name=\"field4\" value =\"`$tmp.merge`\"/>","comments":"","outputs":1,"x":939.9450073242188,"y":271.79498291015625,"z":"68fff755.a3d4d8","wires":[[]]},{"id":"e26c3001.6fd098","type":"execute","name":"execute getUser","xml":" <execute plugin='org.openecomp.appc.encryptiontool.wrapper.EncryptionToolDGWrapper' method = 'getProperty'>\n <parameter name='responsePrefix' value =\"prefix\"/>\n <parameter name='propertyName' value=\"`$tmp.prefix+'.'+$user`\"/>","comments":"","outputs":1,"x":668.6667785644531,"y":719.6667175292969,"z":"68fff755.a3d4d8","wires":[[]]},{"id":"c887d74a.9f71","type":"set","name":"set password","xml":"<set>\n<parameter name=\"tmp.prefix\" value=\"`$vnf-type + '.' + $input.action`\"/>\n<parameter name=\"password\" value=\"$propertyName\"/>\n\n\n","comments":"","x":756.9998474121094,"y":658.6666564941406,"z":"68fff755.a3d4d8","wires":[]},{"id":"bfab8738.483068","type":"set","name":"set Payload params ","xml":"<set>\n<parameter name='Node' value='`$block_Node`' />\n<parameter name='NodeList' value ='`$block_NodeList`'/>\n<parameter name='vnf_id' value='`$vnf-id`' />\n<parameter name='chef-server-address' value='`$vnf-host-ip-address`'/>\n<parameter name='chef-organization' value='`$block_chef-organization`'/>\n<parameter name='retryTimes' value='`$block_retryTimes`'/>\n<parameter name='retryInterval' value='`$block_retryInterval`'/>\n<parameter name='GetOutputFlag' value='`$block_GetOutputFlag`'/>\n<parameter name='PushJobFlag' value='`$block_PushJobFlag`'/>\n\n\n\n","comments":"","x":853.6666564941406,"y":391.66668701171875,"z":"68fff755.a3d4d8","wires":[]},{"id":"5cd2bf9c.adbe38","type":"set","name":"set user ","xml":"<set>\n<parameter name='chef-username' value='`$propertyName`'/>\n<parameter name='Password' value='`$password`'/>\n \n\n\n\n","comments":"","x":567.6443176269531,"y":854.2057800292969,"z":"68fff755.a3d4d8","wires":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_Configure.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_Configure.json
index e8e5be173..cd3c46664 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_Configure.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_Generic_Configure.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"bcf33378.a06a7","type":"dgstart","name":"DGSTART","outputs":1,"x":115,"y":60.33333778381348,"z":"9adc6d3f.4fd9a","wires":[["9aecacf7.59d93"]]},{"id":"9aecacf7.59d93","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":298,"y":61.33333778381348,"z":"9adc6d3f.4fd9a","wires":[["d767a7f1.e85ab8"]]},{"id":"d767a7f1.e85ab8","type":"method","name":"method Generic_Configure","xml":"<method rpc='Generic_Configure' mode='sync'>\n","comments":"","outputs":1,"x":513,"y":53.33333778381348,"z":"9adc6d3f.4fd9a","wires":[["9648a68e.58be58"]]},{"id":"9648a68e.58be58","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":132,"y":196.66666316986084,"z":"9adc6d3f.4fd9a","wires":[["b08a9e58.bd07e","ecefd839.64cd58","bbe79244.e2541","7421ecb2.1ac094"]]},{"id":"b08a9e58.bd07e","type":"call","name":"call: DownloadConfig","xml":"<call module=\"APPC\" rpc=\"`$tmp.configureactiondg.DOWNLOAD-CONFIG-DG`\" mode=\"sync\">","comments":"","outputs":1,"x":398.4444351196289,"y":472.77783012390137,"z":"9adc6d3f.4fd9a","wires":[["ef940996.264278","b02b2cdd.876c9","9cdecbc8.ba74f8"]]},{"id":"ef940996.264278","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":623.6666374206543,"y":409.4444389343262,"z":"9adc6d3f.4fd9a","wires":[["41480864.94a478"]]},{"id":"b02b2cdd.876c9","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":644.9166984558105,"y":576.8334465026855,"z":"9adc6d3f.4fd9a","wires":[["cc065ab0.bbd438"]]},{"id":"9cdecbc8.ba74f8","type":"success","name":" success","xml":"<outcome value=\"success\">","comments":"","outputs":1,"x":593.2500114440918,"y":769.1667022705078,"z":"9adc6d3f.4fd9a","wires":[["2e4169d0.23efc6"]]},{"id":"41480864.94a478","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":832.3333053588867,"y":403.66669845581055,"z":"9adc6d3f.4fd9a","wires":[["10597d65.368c33","c9fe6ef2.b8991","ee63b08a.143ca"]]},{"id":"cc065ab0.bbd438","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":827.8333282470703,"y":622.000072479248,"z":"9adc6d3f.4fd9a","wires":[["b2cd609c.f0e14"]]},{"id":"2e4169d0.23efc6","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":799.2500114440918,"y":760.4167022705078,"z":"9adc6d3f.4fd9a","wires":[["4351ab2.e80d754","5155e2e.c35c01c","ac964ccc.c134e","de42b2.dca01d5"]]},{"id":"10597d65.368c33","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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":1095.2222938537598,"y":385.888879776001,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"b2cd609c.f0e14","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":1231.2500228881836,"y":646.7500114440918,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"4351ab2.e80d754","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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":1089.750015258789,"y":756.1666979789734,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"c9fe6ef2.b8991","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t","comments":"","x":1111.777847290039,"y":549.4444303512573,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"ecefd839.64cd58","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":448.8888473510742,"y":350.4444570541382,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"5155e2e.c35c01c","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":1107.583267211914,"y":707.3333854675293,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"a4b7d4d9.d03ab8","type":"comment","name":"ConfigCompAdaptor resets error code for success cases","info":"","comments":"","x":1461.7500305175781,"y":704.3333892822266,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"bbe79244.e2541","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"get Config Info\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":449.55554962158203,"y":269.11108779907227,"z":"9adc6d3f.4fd9a","wires":[["d1d61570.0be3f8"]]},{"id":"ac964ccc.c134e","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"400: Download of Config file is Successful\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":1090.000015258789,"y":827.7500171661377,"z":"9adc6d3f.4fd9a","wires":[["93a11316.da719"]]},{"id":"5268669e.4e3c78","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.openecomp.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":1887.8889350891113,"y":551.5555553436279,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"77bc4fc2.cc583","type":"set","name":"set tmp.message","xml":"<set>\n<parameter name='tmp.message' value=\"`'Download Failure : ' + $error-code + ' : ' + $error-message`\" />\n","comments":"","x":1889.1110229492188,"y":477.8888874053955,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"ee63b08a.143ca","type":"switchNode","name":"switch: error-code","xml":"<switch test=\"`$error-code`\">\n","comments":"","outputs":1,"x":1120.9999084472656,"y":456.9999694824219,"z":"9adc6d3f.4fd9a","wires":[["b1c4ad91.8aa34","8d980f69.01da2"]]},{"id":"b1c4ad91.8aa34","type":"success","name":"outcome: 400","xml":"<outcome value=\"400\">","comments":"","outputs":1,"x":1316.6666946411133,"y":399.6666660308838,"z":"9adc6d3f.4fd9a","wires":[["8b8d3a30.692328"]]},{"id":"8b8d3a30.692328","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1551.6666717529297,"y":397.22224521636963,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"8d980f69.01da2","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":1327.6666259765625,"y":482.444429397583,"z":"9adc6d3f.4fd9a","wires":[["4cb182b1.06d15c"]]},{"id":"4cb182b1.06d15c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1551.1110382080078,"y":484.55556869506836,"z":"9adc6d3f.4fd9a","wires":[["77bc4fc2.cc583","5268669e.4e3c78"]]},{"id":"7625e08d.e0025","type":"comment","name":"ISBC cases returns failure to stop polling","info":"","comments":"","x":1601.6665344238281,"y":297.88886165618896,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"93a11316.da719","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1285.916648864746,"y":823.3333911895752,"z":"9adc6d3f.4fd9a","wires":[["b3148632.6019e8"]]},{"id":"b3148632.6019e8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1459.5000267028809,"y":824.8333911895752,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"d1d61570.0be3f8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":648.6666641235352,"y":269.99997329711914,"z":"9adc6d3f.4fd9a","wires":[["8e0a1916.289ea8"]]},{"id":"8e0a1916.289ea8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":866.8889312744141,"y":272.888897895813,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"de42b2.dca01d5","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1055.000015258789,"y":901.9998970031738,"z":"9adc6d3f.4fd9a","wires":[["547a0900.632ad8","cfef6f4a.c8106"]]},{"id":"cfef6f4a.c8106","type":"call","name":"call: SaveRunningConfig","xml":"<call module=\"APPC\" rpc=\"SaveRunningConfig\" mode=\"sync\">","comments":"","outputs":1,"x":1314.750015258789,"y":900.833270072937,"z":"9adc6d3f.4fd9a","wires":[["bfd5ce67.f2b84"]]},{"id":"547a0900.632ad8","type":"switchNode","name":"switch: request-action","xml":"<switch test=\"`$request-action`\">\n","comments":"","outputs":1,"x":1269.4998970031738,"y":992.4998931884766,"z":"9adc6d3f.4fd9a","wires":[["9e0e7bc6.f3ad08","2bc0abbb.b9c904"]]},{"id":"9e0e7bc6.f3ad08","type":"other","name":"Configure","xml":"<outcome value='Configure'>","comments":"","outputs":1,"x":1516.749900817871,"y":982.4165191650391,"z":"9adc6d3f.4fd9a","wires":[["43f68adb.c89264"]]},{"id":"2bc0abbb.b9c904","type":"other","name":"ConfigScale","xml":"<outcome value='ConfigScale'>","comments":"","outputs":1,"x":1521.5000228881836,"y":1049.4998941421509,"z":"9adc6d3f.4fd9a","wires":[["43f68adb.c89264"]]},{"id":"43f68adb.c89264","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1798.9165344238281,"y":1029.5832738876343,"z":"9adc6d3f.4fd9a","wires":[["65936072.2b5fa"]]},{"id":"65936072.2b5fa","type":"call","name":"call: UpdateAaiInfo","xml":"<call module=\"APPC\" rpc=\"UpdateAaiInfo\" mode=\"sync\">","comments":"","outputs":1,"x":820.3334465026855,"y":1139.9166431427002,"z":"9adc6d3f.4fd9a","wires":[["9151a526.f94b68"]]},{"id":"9151a526.f94b68","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1027.9167556762695,"y":1144.1666440963745,"z":"9adc6d3f.4fd9a","wires":[["1879d6b6.911e99"]]},{"id":"1879d6b6.911e99","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1222.083267211914,"y":1145.7498989105225,"z":"9adc6d3f.4fd9a","wires":[["e81a1fc0.a272c","f0dd7641.253498"]]},{"id":"e81a1fc0.a272c","type":"set","name":"set: dcae-error message","xml":"<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiInfo not found\"/>\n\t ","comments":"","x":1529.2500228881836,"y":1120.3332686424255,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"f0dd7641.253498","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n","comments":"","outputs":1,"x":1472.1666526794434,"y":1166.5832710266113,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"6518f897.340dd8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1721.0832748413086,"y":900.9998979568481,"z":"9adc6d3f.4fd9a","wires":[["186de19c.bcf0ae","407c43d8.cfa8ac"]]},{"id":"bfd5ce67.f2b84","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1528.5832748413086,"y":900.7498979568481,"z":"9adc6d3f.4fd9a","wires":[["6518f897.340dd8"]]},{"id":"186de19c.bcf0ae","type":"set","name":"set: dcae-error message","xml":"<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow SaveRunningConfig not found\"/>\n\t ","comments":"","x":2030.0000305175781,"y":903.2498960494995,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"407c43d8.cfa8ac","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n","comments":"","outputs":1,"x":1974.4999084472656,"y":958.0832719802856,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"7421ecb2.1ac094","type":"execute","name":"execute getCommonConfigInfo","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getCommonConfigInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.commonConfigInfo\" />\n","comments":"","outputs":1,"x":517.7777709960938,"y":156.66665649414062,"z":"9adc6d3f.4fd9a","wires":[["b891a8f2.0b2ce8","686bbe23.d037e"]]},{"id":"b891a8f2.0b2ce8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":785.7778053283691,"y":162.9999771118164,"z":"9adc6d3f.4fd9a","wires":[["17029b5a.574655"]]},{"id":"17029b5a.574655","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":948.7778053283691,"y":166.9999771118164,"z":"9adc6d3f.4fd9a","wires":[["8d2d875d.8b0af8"]]},{"id":"8d2d875d.8b0af8","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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":1116.7778053283691,"y":165.9999771118164,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"686bbe23.d037e","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":779.7777786254883,"y":237.99999237060547,"z":"9adc6d3f.4fd9a","wires":[["7cedc144.223ff"]]},{"id":"7cedc144.223ff","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":957.1110610961914,"y":238.33336639404297,"z":"9adc6d3f.4fd9a","wires":[["1ab7b9f2.f91326"]]},{"id":"1ab7b9f2.f91326","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 GetAaiInfo not found\"/>\n\t","comments":"","x":1144.7777099609375,"y":236.33328437805176,"z":"9adc6d3f.4fd9a","wires":[]}]
+[{"id":"bcf33378.a06a7","type":"dgstart","name":"DGSTART","outputs":1,"x":115,"y":60.33333778381348,"z":"9adc6d3f.4fd9a","wires":[["9aecacf7.59d93"]]},{"id":"9aecacf7.59d93","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":298,"y":61.33333778381348,"z":"9adc6d3f.4fd9a","wires":[["d767a7f1.e85ab8"]]},{"id":"d767a7f1.e85ab8","type":"method","name":"method Generic_Configure","xml":"<method rpc='Generic_Configure' mode='sync'>\n","comments":"","outputs":1,"x":513,"y":53.33333778381348,"z":"9adc6d3f.4fd9a","wires":[["9648a68e.58be58"]]},{"id":"9648a68e.58be58","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":132,"y":196.66666316986084,"z":"9adc6d3f.4fd9a","wires":[["b08a9e58.bd07e","ecefd839.64cd58","bbe79244.e2541","7421ecb2.1ac094"]]},{"id":"b08a9e58.bd07e","type":"call","name":"call: DownloadConfig","xml":"<call module=\"APPC\" rpc=\"`$tmp.configureactiondg.DOWNLOAD-CONFIG-DG`\" mode=\"sync\">","comments":"","outputs":1,"x":398.4444351196289,"y":472.77783012390137,"z":"9adc6d3f.4fd9a","wires":[["ef940996.264278","b02b2cdd.876c9","9cdecbc8.ba74f8"]]},{"id":"ef940996.264278","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":623.6666374206543,"y":409.4444389343262,"z":"9adc6d3f.4fd9a","wires":[["41480864.94a478"]]},{"id":"b02b2cdd.876c9","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":644.9166984558105,"y":576.8334465026855,"z":"9adc6d3f.4fd9a","wires":[["cc065ab0.bbd438"]]},{"id":"9cdecbc8.ba74f8","type":"success","name":" success","xml":"<outcome value=\"success\">","comments":"","outputs":1,"x":593.2500114440918,"y":769.1667022705078,"z":"9adc6d3f.4fd9a","wires":[["2e4169d0.23efc6"]]},{"id":"41480864.94a478","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":832.3333053588867,"y":403.66669845581055,"z":"9adc6d3f.4fd9a","wires":[["10597d65.368c33","c9fe6ef2.b8991","ee63b08a.143ca"]]},{"id":"cc065ab0.bbd438","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":827.8333282470703,"y":622.000072479248,"z":"9adc6d3f.4fd9a","wires":[["b2cd609c.f0e14"]]},{"id":"2e4169d0.23efc6","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":799.2500114440918,"y":760.4167022705078,"z":"9adc6d3f.4fd9a","wires":[["4351ab2.e80d754","5155e2e.c35c01c","ac964ccc.c134e","de42b2.dca01d5"]]},{"id":"10597d65.368c33","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":1095.2222938537598,"y":385.888879776001,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"b2cd609c.f0e14","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":1231.2500228881836,"y":646.7500114440918,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"4351ab2.e80d754","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":1089.750015258789,"y":756.1666979789734,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"c9fe6ef2.b8991","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t","comments":"","x":1111.777847290039,"y":549.4444303512573,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"ecefd839.64cd58","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":448.8888473510742,"y":350.4444570541382,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"5155e2e.c35c01c","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":1107.583267211914,"y":707.3333854675293,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"a4b7d4d9.d03ab8","type":"comment","name":"ConfigCompAdaptor resets error code for success cases","info":"","comments":"","x":1461.7500305175781,"y":704.3333892822266,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"bbe79244.e2541","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"get Config Info\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":449.55554962158203,"y":269.11108779907227,"z":"9adc6d3f.4fd9a","wires":[["d1d61570.0be3f8"]]},{"id":"ac964ccc.c134e","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"400: Download of Config file is Successful\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":1090.000015258789,"y":827.7500171661377,"z":"9adc6d3f.4fd9a","wires":[["93a11316.da719"]]},{"id":"5268669e.4e3c78","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.openecomp.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":1887.8889350891113,"y":551.5555553436279,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"77bc4fc2.cc583","type":"set","name":"set tmp.message","xml":"<set>\n<parameter name='tmp.message' value=\"`'Download Failure : ' + $error-code + ' : ' + $error-message`\" />\n","comments":"","x":1889.1110229492188,"y":477.8888874053955,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"ee63b08a.143ca","type":"switchNode","name":"switch: error-code","xml":"<switch test=\"`$error-code`\">\n","comments":"","outputs":1,"x":1120.9999084472656,"y":456.9999694824219,"z":"9adc6d3f.4fd9a","wires":[["b1c4ad91.8aa34","8d980f69.01da2"]]},{"id":"b1c4ad91.8aa34","type":"success","name":"outcome: 400","xml":"<outcome value=\"400\">","comments":"","outputs":1,"x":1316.6666946411133,"y":399.6666660308838,"z":"9adc6d3f.4fd9a","wires":[["8b8d3a30.692328"]]},{"id":"8b8d3a30.692328","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1551.6666717529297,"y":397.22224521636963,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"8d980f69.01da2","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":1327.6666259765625,"y":482.444429397583,"z":"9adc6d3f.4fd9a","wires":[["4cb182b1.06d15c"]]},{"id":"4cb182b1.06d15c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1551.1110382080078,"y":484.55556869506836,"z":"9adc6d3f.4fd9a","wires":[["77bc4fc2.cc583","5268669e.4e3c78"]]},{"id":"7625e08d.e0025","type":"comment","name":"ISBC cases returns failure to stop polling","info":"","comments":"","x":1601.6665344238281,"y":297.88886165618896,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"93a11316.da719","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1285.916648864746,"y":823.3333911895752,"z":"9adc6d3f.4fd9a","wires":[["b3148632.6019e8"]]},{"id":"b3148632.6019e8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1459.5000267028809,"y":824.8333911895752,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"d1d61570.0be3f8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":648.6666641235352,"y":269.99997329711914,"z":"9adc6d3f.4fd9a","wires":[["8e0a1916.289ea8"]]},{"id":"8e0a1916.289ea8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":866.8889312744141,"y":272.888897895813,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"de42b2.dca01d5","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1055.000015258789,"y":901.9998970031738,"z":"9adc6d3f.4fd9a","wires":[["547a0900.632ad8","cfef6f4a.c8106"]]},{"id":"cfef6f4a.c8106","type":"call","name":"call: SaveRunningConfig","xml":"<call module=\"APPC\" rpc=\"SaveRunningConfig\" mode=\"sync\">","comments":"","outputs":1,"x":1314.750015258789,"y":900.833270072937,"z":"9adc6d3f.4fd9a","wires":[["bfd5ce67.f2b84"]]},{"id":"547a0900.632ad8","type":"switchNode","name":"switch: request-action","xml":"<switch test=\"`$request-action`\">\n","comments":"","outputs":1,"x":1269.4998970031738,"y":992.4998931884766,"z":"9adc6d3f.4fd9a","wires":[["9e0e7bc6.f3ad08","2bc0abbb.b9c904"]]},{"id":"9e0e7bc6.f3ad08","type":"other","name":"Configure","xml":"<outcome value='Configure'>","comments":"","outputs":1,"x":1516.749900817871,"y":982.4165191650391,"z":"9adc6d3f.4fd9a","wires":[["43f68adb.c89264"]]},{"id":"2bc0abbb.b9c904","type":"other","name":"ConfigScale","xml":"<outcome value='ConfigScale'>","comments":"","outputs":1,"x":1521.5000228881836,"y":1049.4998941421509,"z":"9adc6d3f.4fd9a","wires":[["43f68adb.c89264"]]},{"id":"43f68adb.c89264","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1798.9165344238281,"y":1029.5832738876343,"z":"9adc6d3f.4fd9a","wires":[["65936072.2b5fa"]]},{"id":"65936072.2b5fa","type":"call","name":"call: UpdateAaiInfo","xml":"<call module=\"APPC\" rpc=\"UpdateAaiInfo\" mode=\"sync\">","comments":"","outputs":1,"x":820.3334465026855,"y":1139.9166431427002,"z":"9adc6d3f.4fd9a","wires":[["9151a526.f94b68"]]},{"id":"9151a526.f94b68","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1027.9167556762695,"y":1144.1666440963745,"z":"9adc6d3f.4fd9a","wires":[["1879d6b6.911e99"]]},{"id":"1879d6b6.911e99","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1222.083267211914,"y":1145.7498989105225,"z":"9adc6d3f.4fd9a","wires":[["e81a1fc0.a272c","f0dd7641.253498"]]},{"id":"e81a1fc0.a272c","type":"set","name":"set: dcae-error message","xml":"<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiInfo not found\"/>\n\t ","comments":"","x":1529.2500228881836,"y":1120.3332686424255,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"f0dd7641.253498","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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n","comments":"","outputs":1,"x":1472.1666526794434,"y":1166.5832710266113,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"6518f897.340dd8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1721.0832748413086,"y":900.9998979568481,"z":"9adc6d3f.4fd9a","wires":[["186de19c.bcf0ae","407c43d8.cfa8ac"]]},{"id":"bfd5ce67.f2b84","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1528.5832748413086,"y":900.7498979568481,"z":"9adc6d3f.4fd9a","wires":[["6518f897.340dd8"]]},{"id":"186de19c.bcf0ae","type":"set","name":"set: dcae-error message","xml":"<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow SaveRunningConfig not found\"/>\n\t ","comments":"","x":2030.0000305175781,"y":903.2498960494995,"z":"9adc6d3f.4fd9a","wires":[]},{"id":"407c43d8.cfa8ac","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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n","comments":"","outputs":1,"x":1974.4999084472656,"y":958.0832719802856,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"7421ecb2.1ac094","type":"execute","name":"execute getCommonConfigInfo","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getCommonConfigInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.commonConfigInfo\" />\n","comments":"","outputs":1,"x":517.7777709960938,"y":156.66665649414062,"z":"9adc6d3f.4fd9a","wires":[["b891a8f2.0b2ce8","686bbe23.d037e"]]},{"id":"b891a8f2.0b2ce8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":785.7778053283691,"y":162.9999771118164,"z":"9adc6d3f.4fd9a","wires":[["17029b5a.574655"]]},{"id":"17029b5a.574655","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":948.7778053283691,"y":166.9999771118164,"z":"9adc6d3f.4fd9a","wires":[["8d2d875d.8b0af8"]]},{"id":"8d2d875d.8b0af8","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":1116.7778053283691,"y":165.9999771118164,"z":"9adc6d3f.4fd9a","wires":[[]]},{"id":"686bbe23.d037e","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":779.7777786254883,"y":237.99999237060547,"z":"9adc6d3f.4fd9a","wires":[["7cedc144.223ff"]]},{"id":"7cedc144.223ff","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":957.1110610961914,"y":238.33336639404297,"z":"9adc6d3f.4fd9a","wires":[["1ab7b9f2.f91326"]]},{"id":"1ab7b9f2.f91326","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 GetAaiInfo not found\"/>\n\t","comments":"","x":1144.7777099609375,"y":236.33328437805176,"z":"9adc6d3f.4fd9a","wires":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfoTest.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfoTest.json
index 90ac3eee5..8f28cc306 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfoTest.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetAaiInfoTest.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"824ef7fe.3f3a28","type":"dgstart","name":"DGSTART","outputs":1,"x":103.33332443237305,"y":37.222219467163086,"z":"2e3a20a4.cdd4b","wires":[["63f1353e.3afaec"]]},{"id":"63f1353e.3afaec","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":270.66666412353516,"y":71.66667461395264,"z":"2e3a20a4.cdd4b","wires":[["39441c46.1ce144"]]},{"id":"39441c46.1ce144","type":"method","name":"method GetAaiInfo","xml":"<method rpc='GetAaiInfoTest' mode='sync'>\n","comments":"","outputs":1,"x":465.66666412353516,"y":66.66667461395264,"z":"2e3a20a4.cdd4b","wires":[["69fc431f.857fdc"]]},{"id":"69fc431f.857fdc","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":113.41666412353516,"y":208.66667366027832,"z":"2e3a20a4.cdd4b","wires":[["d21e1229.c7233","75cc0c83.6ea414"]]},{"id":"75cc0c83.6ea414","type":"execute","name":"execute getAllVServersVnfcsInfo","xml":"<execute plugin=\"org.openecomp.appc.aai.client.node.AAIResourceNode\" method=\"getAllVServersVnfcsInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n","comments":"","outputs":1,"x":360.16666412353516,"y":309.66667461395264,"z":"2e3a20a4.cdd4b","wires":[["b861bae7.ed7f38","e920d0c2.265e9"]]},{"id":"b861bae7.ed7f38","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":597.9166641235352,"y":308.16669273376465,"z":"2e3a20a4.cdd4b","wires":[["6536b658.4a6e98"]]},{"id":"e920d0c2.265e9","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":590.9166641235352,"y":373.9166946411133,"z":"2e3a20a4.cdd4b","wires":[["2e927b94.777bc4"]]},{"id":"6536b658.4a6e98","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":732.1666946411133,"y":307.41669368743896,"z":"2e3a20a4.cdd4b","wires":[["f5c71351.7eb9c"]]},{"id":"2e927b94.777bc4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":731.4166946411133,"y":373.9166946411133,"z":"2e3a20a4.cdd4b","wires":[["a3877152.03659"]]},{"id":"a3877152.03659","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$tmp.vnfInfo.error-message`\" />\n\n\n\t","comments":"","x":921.1667022705078,"y":374.91669273376465,"z":"2e3a20a4.cdd4b","wires":[]},{"id":"d21e1229.c7233","type":"execute","name":"execute getVnfInfo","xml":"<execute plugin=\"org.openecomp.appc.aai.client.node.AAIResourceNode\" method=\"getVnfInfo\">\n<parameter name=\"vnfId\" value=\"`$vnf-id`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n","comments":"","outputs":1,"x":357.66666412353516,"y":188.91667366027832,"z":"2e3a20a4.cdd4b","wires":[["a263590d.bf4bc8","883728c.1caaed8"]]},{"id":"a263590d.bf4bc8","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":541.4166641235352,"y":165.41667366027832,"z":"2e3a20a4.cdd4b","wires":[["6a5be154.0d7fd"]]},{"id":"6a5be154.0d7fd","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":692.4166984558105,"y":164.66667461395264,"z":"2e3a20a4.cdd4b","wires":[["b11705da.bdd1c8"]]},{"id":"b11705da.bdd1c8","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 Vnf Info from ANAI\" />\n\n\n\t","comments":"","x":867.1666984558105,"y":149.16667366027832,"z":"2e3a20a4.cdd4b","wires":[]},{"id":"883728c.1caaed8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":542.9166641235352,"y":236.66667556762695,"z":"2e3a20a4.cdd4b","wires":[["37a2c648.d6328a"]]},{"id":"37a2c648.d6328a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":690.1666984558105,"y":236.16667556762695,"z":"2e3a20a4.cdd4b","wires":[["b02272fd.969a9"]]},{"id":"b02272fd.969a9","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$tmp.vnfInfo.error-message`\" />\n\n\n\t","comments":"","x":866.4166984558105,"y":228.91667556762695,"z":"2e3a20a4.cdd4b","wires":[]},{"id":"bec2087a.fef188","type":"set","name":"set vnf-type, name","xml":"<set>\n<!--<parameter name='vnf-type' value='`$tmp.vnfInfo.vnf.vnf-type`' /> \n<parameter name='vnf-name' value='`$tmp.vnfInfo.vnf.vnf-name`' /> -->\n<parameter name='vnf-type' value='vUSP - vDBE-IPX HUB' /> \n<parameter name='vnf-name' value='vUSP - vDBE-IPX HUB' />\n\n","comments":"","x":150.16666412353516,"y":439.16669368743896,"z":"2e3a20a4.cdd4b","wires":[]},{"id":"f5c71351.7eb9c","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 VServer Info from A&amp;AI\" />\n\n\n\t","comments":"","x":909.1666984558105,"y":307.66669273376465,"z":"2e3a20a4.cdd4b","wires":[]}]
+[{"id":"824ef7fe.3f3a28","type":"dgstart","name":"DGSTART","outputs":1,"x":103.33332443237305,"y":37.222219467163086,"z":"2e3a20a4.cdd4b","wires":[["63f1353e.3afaec"]]},{"id":"63f1353e.3afaec","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":270.66666412353516,"y":71.66667461395264,"z":"2e3a20a4.cdd4b","wires":[["39441c46.1ce144"]]},{"id":"39441c46.1ce144","type":"method","name":"method GetAaiInfo","xml":"<method rpc='GetAaiInfoTest' mode='sync'>\n","comments":"","outputs":1,"x":465.66666412353516,"y":66.66667461395264,"z":"2e3a20a4.cdd4b","wires":[["69fc431f.857fdc"]]},{"id":"69fc431f.857fdc","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":113.41666412353516,"y":208.66667366027832,"z":"2e3a20a4.cdd4b","wires":[["d21e1229.c7233","75cc0c83.6ea414"]]},{"id":"75cc0c83.6ea414","type":"execute","name":"execute getAllVServersVnfcsInfo","xml":"<execute plugin=\"org.openecomp.appc.aai.client.node.AAIResourceNode\" method=\"getAllVServersVnfcsInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n","comments":"","outputs":1,"x":360.16666412353516,"y":309.66667461395264,"z":"2e3a20a4.cdd4b","wires":[["b861bae7.ed7f38","e920d0c2.265e9"]]},{"id":"b861bae7.ed7f38","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":597.9166641235352,"y":308.16669273376465,"z":"2e3a20a4.cdd4b","wires":[["6536b658.4a6e98"]]},{"id":"e920d0c2.265e9","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":590.9166641235352,"y":373.9166946411133,"z":"2e3a20a4.cdd4b","wires":[["2e927b94.777bc4"]]},{"id":"6536b658.4a6e98","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":732.1666946411133,"y":307.41669368743896,"z":"2e3a20a4.cdd4b","wires":[["f5c71351.7eb9c"]]},{"id":"2e927b94.777bc4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":731.4166946411133,"y":373.9166946411133,"z":"2e3a20a4.cdd4b","wires":[["a3877152.03659"]]},{"id":"a3877152.03659","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$tmp.vnfInfo.error-message`\" />\n\n\n\t","comments":"","x":921.1667022705078,"y":374.91669273376465,"z":"2e3a20a4.cdd4b","wires":[]},{"id":"d21e1229.c7233","type":"execute","name":"execute getVnfInfo","xml":"<execute plugin=\"org.openecomp.appc.aai.client.node.AAIResourceNode\" method=\"getVnfInfo\">\n<parameter name=\"vnfId\" value=\"`$vnf-id`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n","comments":"","outputs":1,"x":357.66666412353516,"y":188.91667366027832,"z":"2e3a20a4.cdd4b","wires":[["a263590d.bf4bc8","883728c.1caaed8"]]},{"id":"a263590d.bf4bc8","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":541.4166641235352,"y":165.41667366027832,"z":"2e3a20a4.cdd4b","wires":[["6a5be154.0d7fd"]]},{"id":"6a5be154.0d7fd","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":692.4166984558105,"y":164.66667461395264,"z":"2e3a20a4.cdd4b","wires":[["b11705da.bdd1c8"]]},{"id":"b11705da.bdd1c8","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 Vnf Info from ANAI\" />\n\n\n\t","comments":"","x":867.1666984558105,"y":149.16667366027832,"z":"2e3a20a4.cdd4b","wires":[]},{"id":"883728c.1caaed8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":542.9166641235352,"y":236.66667556762695,"z":"2e3a20a4.cdd4b","wires":[["37a2c648.d6328a"]]},{"id":"37a2c648.d6328a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":690.1666984558105,"y":236.16667556762695,"z":"2e3a20a4.cdd4b","wires":[["b02272fd.969a9"]]},{"id":"b02272fd.969a9","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$tmp.vnfInfo.error-message`\" />\n\n\n\t","comments":"","x":866.4166984558105,"y":228.91667556762695,"z":"2e3a20a4.cdd4b","wires":[]},{"id":"bec2087a.fef188","type":"set","name":"set vnf-type, name","xml":"<set>\n<!--<parameter name='vnf-type' value='`$tmp.vnfInfo.vnf.vnf-type`' /> \n<parameter name='vnf-name' value='`$tmp.vnfInfo.vnf.vnf-name`' /> -->\n<parameter name='vnf-type' value='vUSP - vDBE-IPX HUB' /> \n<parameter name='vnf-name' value='vUSP - vDBE-IPX HUB' />\n\n","comments":"","x":150.16666412353516,"y":439.16669368743896,"z":"2e3a20a4.cdd4b","wires":[]},{"id":"f5c71351.7eb9c","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 VServer Info from A&amp;AI\" />\n\n\n\t","comments":"","x":909.1666984558105,"y":307.66669273376465,"z":"2e3a20a4.cdd4b","wires":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetConfigParams.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetConfigParams.json
index 221505720..ea99a5335 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetConfigParams.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetConfigParams.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"bdadd291.e9b62","type":"dgstart","name":"DGSTART","outputs":1,"x":132,"y":77,"z":"9846523.9a152b","wires":[["5d2edae1.6fda04"]]},{"id":"85304d9c.535d2","type":"set","name":"set params based on Dispatcher Input","xml":"<set>\n<parameter name='vnf-id' value='`$input.action-identifiers.vnf-id`' /> \n<parameter name='service-instance-id' value='`$input.action-identifiers.service-instance-id`' /> \n\n\n<parameter name='request-id' value='`$input.common-header.request-id`' />\n<parameter name='originator-id' value='`$input.common-header.originator-id`' /> \n\n<parameter name='payload' value='`$input.payload`' /> \n<parameter name='api-ver' value='`$input.api-ver`' /> \n<parameter name='request-action' value='`$input.action`' />\n","comments":"","x":536,"y":120,"z":"9846523.9a152b","wires":[]},{"id":"5d2edae1.6fda04","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":283,"y":75,"z":"9846523.9a152b","wires":[["331e3f73.fe7c3"]]},{"id":"331e3f73.fe7c3","type":"method","name":"method GetConfigParams","xml":"<method rpc='GetConfigParams' mode='sync'>\n","comments":"","outputs":1,"x":490,"y":75,"z":"9846523.9a152b","wires":[["a78f2b9a.c49888"]]},{"id":"a78f2b9a.c49888","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":160,"y":587,"z":"9846523.9a152b","wires":[["85304d9c.535d2","34ff61f8.fd8f5e","8fc43feb.9a60c","c28019f8.afc3f8","9a0af1ec.da4f7","a77c9d6b.957d5","a05db48f.4a8cf8","b07d6e08.66999","877a53e3.29072","2e4ac4fe.4eb5bc","67ff975f.230538"]]},{"id":"877a53e3.29072","type":"execute","name":"execute Convert payload to DG Context ","xml":"<execute plugin=\"org.openecomp.sdnc.config.generator.convert.ConvertNode\" method=\"convertJson2DGContext\">\n<parameter name=\"jsonData\" value=\"`$input.payload`\" />\n<parameter name=\"isEscaped\" value=\"N\" />\n<parameter name=\"blockKeys\" value=\"configuration-parameters,configuration.configuration-string,configuration.configuration-json\" />\n<parameter name=\"responsePrefix\" value=\"tmp.convertnode\" />","comments":"","outputs":1,"x":533.5,"y":275,"z":"9846523.9a152b","wires":[["a8121e8f.60cb8","2f277cc.c7f9f84"]]},{"id":"a8121e8f.60cb8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":777.5,"y":261,"z":"9846523.9a152b","wires":[["d0b0f72c.1ef9b8"]]},{"id":"2f277cc.c7f9f84","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":769.5,"y":311,"z":"9846523.9a152b","wires":[["85134164.cff61"]]},{"id":"d0b0f72c.1ef9b8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":920.5,"y":259,"z":"9846523.9a152b","wires":[["4130df1b.21a72"]]},{"id":"85134164.cff61","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":928.5,"y":307,"z":"9846523.9a152b","wires":[["c604dbab.f04f18"]]},{"id":"2e4ac4fe.4eb5bc","type":"set","name":"set Payload params ","xml":"<set>\n<!-- vnf type, name is from A&AI \n<parameter name='vnf-type' value='`$tmp.vnfInfo.vnf.vnf-type`' />\n<parameter name='vnf-name' value='`$tmp.vnfInfo.vnf.vnf-name`' />\n-->\n<!-- 17.07 Parameters from request -->\n<parameter name='template-name' value='`$request-parameters.template-name`' />\n<parameter name='vnf-host-ip-address' value='`$request-parameters.vnf-host-ip-address`' />\n<parameter name='vnfc-type' value='`$request-parameters.vnfc-type`' /> \n\n<parameter name='configurationblock' value='`$block_configuration`' />\n\n\n<!-- parameters to be merged with template provided as input-->\n<parameter name='configuration-params' value='`$block_configuration-parameters`' /> \n\n<!-- Get from AAI \n<parameter name='vnf-type' value='`$request-parameters.vnf-type`' />\n\n<parameter name='vnf-name' value='`$request-parameters.vnf-name`' />\n\n<parameter name='vnfc-type' value='`$request-parameters.vm[0].vnfc[0].vnfc-type`' />\n<parameter name='vm-name' value='`$request-parameters.vm[0].vm-name`' />\n-->\n\n<!-- Not Used?\n<parameter name='site-location' value='`$request-parameters.site-location`' />\n<parameter name='file-name' value='`$request-parameters.file-name`' />\n-->\n\n\n\n\n","comments":"","x":468,"y":350,"z":"9846523.9a152b","wires":[]},{"id":"4130df1b.21a72","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.convertnode.error-message`\"/>\n\t\n\t","comments":"","x":1081.5,"y":258,"z":"9846523.9a152b","wires":[]},{"id":"c604dbab.f04f18","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 process input parameters\"/>\n\t","comments":"","x":1090.5,"y":305,"z":"9846523.9a152b","wires":[]},{"id":"8fc43feb.9a60c","type":"switchNode","name":"switch configuration.configuration-string","xml":"<switch test='`$block_configuration.configuration-string`'>\n","comments":"","outputs":1,"x":482,"y":657,"z":"9846523.9a152b","wires":[["e2cb4e10.aec7a","c1e6d145.7f735"]]},{"id":"88df205a.bdea6","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":921,"y":627,"z":"9846523.9a152b","wires":[[]]},{"id":"e2cb4e10.aec7a","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":757,"y":667,"z":"9846523.9a152b","wires":[["af9b29c9.310518"]]},{"id":"af9b29c9.310518","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":930,"y":666,"z":"9846523.9a152b","wires":[["d0db7df9.24bf"]]},{"id":"d0db7df9.24bf","type":"set","name":"set configuration","xml":"<set>\n<parameter name='configuration' value='`$block_configuration.configuration-string`' />\n","comments":"","x":1103,"y":667,"z":"9846523.9a152b","wires":[]},{"id":"93037cd8.f1eec","type":"comment","name":"CLI/XML","info":"","comments":"","x":1273,"y":644,"z":"9846523.9a152b","wires":[]},{"id":"c28019f8.afc3f8","type":"switchNode","name":"switch configuration.configuration-json","xml":"<switch test='`$block_configuration.configuration-json`'>\n","comments":"","outputs":1,"x":464.5,"y":720,"z":"9846523.9a152b","wires":[["68f64c8a.f2e724","6f982910.0c0b78"]]},{"id":"68f64c8a.f2e724","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":747.5,"y":764,"z":"9846523.9a152b","wires":[["3146e363.49402c"]]},{"id":"6e42dc89.a22324","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":923.5,"y":722,"z":"9846523.9a152b","wires":[[]]},{"id":"3146e363.49402c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":920.5,"y":761,"z":"9846523.9a152b","wires":[["94b621aa.d0b4b"]]},{"id":"94b621aa.d0b4b","type":"set","name":"set configuration","xml":"<set>\n<parameter name='configuration' value='`$block_configuration.configuration-json`' />\n","comments":"","x":1093.5,"y":761,"z":"9846523.9a152b","wires":[]},{"id":"cf21af62.b238b","type":"comment","name":"JSON","info":"","comments":"","x":1249,"y":758,"z":"9846523.9a152b","wires":[]},{"id":"34ff61f8.fd8f5e","type":"switchNode","name":"switch template-name","xml":"<switch test='`$template-name`'>\n","comments":"","outputs":1,"x":454,"y":554,"z":"9846523.9a152b","wires":[["bd1f9c68.27e6f","73d2981e.49fe78"]]},{"id":"bd1f9c68.27e6f","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":674,"y":533,"z":"9846523.9a152b","wires":[["5bb89cd3.40ca14"]]},{"id":"73d2981e.49fe78","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":679,"y":575,"z":"9846523.9a152b","wires":[["6f45286f.ee3fd8"]]},{"id":"6f45286f.ee3fd8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":852,"y":572,"z":"9846523.9a152b","wires":[["4e555f4.07e51a"]]},{"id":"4e555f4.07e51a","type":"set","name":"set config-type","xml":"<set>\n<parameter name='config-type' value='template' />\n","comments":"","x":1024,"y":574,"z":"9846523.9a152b","wires":[]},{"id":"9a0af1ec.da4f7","type":"switchNode","name":"switch configuration","xml":"<switch test='`$configuration`'>\n","comments":"","outputs":1,"x":434,"y":814,"z":"9846523.9a152b","wires":[["cd56d572.bb8218","5573ad8.e2dad54"]]},{"id":"cd56d572.bb8218","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":532,"y":897,"z":"9846523.9a152b","wires":[["77b23a98.d7bfa4"]]},{"id":"4b809017.42d3d","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":834,"y":823,"z":"9846523.9a152b","wires":[["e1702e21.a8c9a"]]},{"id":"8cd17825.b965d8","type":"set","name":"set config-type","xml":"<set>\n<parameter name='config-type' value='template' />\n","comments":"","x":1321,"y":912,"z":"9846523.9a152b","wires":[]},{"id":"82b1b984.79d688","type":"comment","name":"Template","info":"","comments":"","x":1301,"y":954,"z":"9846523.9a152b","wires":[]},{"id":"e1702e21.a8c9a","type":"switchNode","name":"switch Configuration params exists","xml":"<switch test='`$configuration-params`'>\n","comments":"","outputs":1,"x":1072,"y":823,"z":"9846523.9a152b","wires":[["f4c11152.2c21f","ad5ffddd.7bb23"]]},{"id":"f4c11152.2c21f","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":995,"y":910,"z":"9846523.9a152b","wires":[["432bcf96.ea922"]]},{"id":"432bcf96.ea922","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1159,"y":912,"z":"9846523.9a152b","wires":[["8cd17825.b965d8"]]},{"id":"2d36c832.da5f58","type":"comment","name":"Specific Template","info":"","comments":"","x":1215,"y":566,"z":"9846523.9a152b","wires":[]},{"id":"5bb89cd3.40ca14","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":863,"y":528,"z":"9846523.9a152b","wires":[[]]},{"id":"77b23a98.d7bfa4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":691,"y":900,"z":"9846523.9a152b","wires":[[]]},{"id":"11aca9f7.f168c6","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1500,"y":806,"z":"9846523.9a152b","wires":[["d0d253e5.fc042"]]},{"id":"d0d253e5.fc042","type":"switchNode","name":"switch template-name","xml":"<switch test='`$template-name`'>\n","comments":"","outputs":1,"x":1690,"y":807,"z":"9846523.9a152b","wires":[["5a278bf.16fda74"]]},{"id":"6012a2aa.a432ec","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1718,"y":857,"z":"9846523.9a152b","wires":[["b3766c28.ca798"]]},{"id":"b3766c28.ca798","type":"set","name":"set config-type","xml":"<set>\n<parameter name='config-type' value='template' />\n","comments":"","x":1903,"y":859,"z":"9846523.9a152b","wires":[]},{"id":"dcb50714.1aaec8","type":"comment","name":"Restore scenario:ASDC Template to be directly donwloaded - no params","info":"","comments":"","x":1844,"y":905,"z":"9846523.9a152b","wires":[]},{"id":"c1e6d145.7f735","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":759,"y":623,"z":"9846523.9a152b","wires":[["88df205a.bdea6"]]},{"id":"6f982910.0c0b78","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":752,"y":715,"z":"9846523.9a152b","wires":[["6e42dc89.a22324"]]},{"id":"5573ad8.e2dad54","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":644,"y":818,"z":"9846523.9a152b","wires":[["4b809017.42d3d"]]},{"id":"ad5ffddd.7bb23","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":1337,"y":813,"z":"9846523.9a152b","wires":[["11aca9f7.f168c6"]]},{"id":"5a278bf.16fda74","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":1897,"y":811,"z":"9846523.9a152b","wires":[["6012a2aa.a432ec"]]},{"id":"a77c9d6b.957d5","type":"execute","name":"execute getCommonConfigInfo","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getCommonConfigInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.commonConfigInfo\" />\n","comments":"","outputs":1,"x":530,"y":1094,"z":"9846523.9a152b","wires":[["d7c8eaa0.3ee748","3cfaba11.b14c06","52458f74.54ba4"]]},{"id":"d7c8eaa0.3ee748","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":761,"y":1079,"z":"9846523.9a152b","wires":[["1a62b176.c364af"]]},{"id":"3cfaba11.b14c06","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":753,"y":1126,"z":"9846523.9a152b","wires":[["1fb56fbd.d2396"]]},{"id":"1a62b176.c364af","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":944,"y":1082,"z":"9846523.9a152b","wires":[["a0790e89.65e41"]]},{"id":"a0790e89.65e41","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 Read Device Info\"/>\n\t\n","comments":"","x":1128,"y":1081,"z":"9846523.9a152b","wires":[]},{"id":"1fb56fbd.d2396","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":930,"y":1129,"z":"9846523.9a152b","wires":[["cca280e3.53bd6"]]},{"id":"cca280e3.53bd6","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.commonConfigInfo.error-message`\"/>\n\t\n\t\n\t\n","comments":"","x":1116,"y":1127,"z":"9846523.9a152b","wires":[]},{"id":"b07d6e08.66999","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"request\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":467,"y":194,"z":"9846523.9a152b","wires":[["c9769ad8.507058"]]},{"id":"a05db48f.4a8cf8","type":"set","name":"set tmp.message","xml":"<set>\n<parameter name=\"tmp.message\" value=\"`$vnf-id + ' : ' + $request-action + ': ' + $payload`\" />\n","comments":"","x":467,"y":155,"z":"9846523.9a152b","wires":[]},{"id":"c9769ad8.507058","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":651,"y":193,"z":"9846523.9a152b","wires":[["9f2b34ef.449da8"]]},{"id":"9f2b34ef.449da8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":808,"y":190,"z":"9846523.9a152b","wires":[[]]},{"id":"67ff975f.230538","type":"call","name":"call: getAAIInfo","xml":"<call module=\"APPC\" rpc=\"GetAaiInfo\" mode=\"sync\">","comments":"","outputs":1,"x":455,"y":435,"z":"9846523.9a152b","wires":[["2f57b512.b0b9ba"]]},{"id":"2f57b512.b0b9ba","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":631,"y":435,"z":"9846523.9a152b","wires":[["88e62d7d.4f67f"]]},{"id":"88e62d7d.4f67f","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":800,"y":440,"z":"9846523.9a152b","wires":[["adb46ab4.46b038"]]},{"id":"adb46ab4.46b038","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 GetAaiInfo not found\"/>\n\t","comments":"","x":983,"y":442,"z":"9846523.9a152b","wires":[]},{"id":"52458f74.54ba4","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":757,"y":1185,"z":"9846523.9a152b","wires":[["8a5d9bf6.d965a8"]]},{"id":"8a5d9bf6.d965a8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":920,"y":1189,"z":"9846523.9a152b","wires":[["f0e76d61.b35cf"]]},{"id":"f0e76d61.b35cf","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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":1088,"y":1188,"z":"9846523.9a152b","wires":[[]]}]
+[{"id":"bdadd291.e9b62","type":"dgstart","name":"DGSTART","outputs":1,"x":132,"y":77,"z":"9846523.9a152b","wires":[["5d2edae1.6fda04"]]},{"id":"85304d9c.535d2","type":"set","name":"set params based on Dispatcher Input","xml":"<set>\n<parameter name='vnf-id' value='`$input.action-identifiers.vnf-id`' /> \n<parameter name='service-instance-id' value='`$input.action-identifiers.service-instance-id`' /> \n\n\n<parameter name='request-id' value='`$input.common-header.request-id`' />\n<parameter name='originator-id' value='`$input.common-header.originator-id`' /> \n\n<parameter name='payload' value='`$input.payload`' /> \n<parameter name='api-ver' value='`$input.api-ver`' /> \n<parameter name='request-action' value='`$input.action`' />\n","comments":"","x":536,"y":120,"z":"9846523.9a152b","wires":[]},{"id":"5d2edae1.6fda04","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":283,"y":75,"z":"9846523.9a152b","wires":[["331e3f73.fe7c3"]]},{"id":"331e3f73.fe7c3","type":"method","name":"method GetConfigParams","xml":"<method rpc='GetConfigParams' mode='sync'>\n","comments":"","outputs":1,"x":490,"y":75,"z":"9846523.9a152b","wires":[["a78f2b9a.c49888"]]},{"id":"a78f2b9a.c49888","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":160,"y":587,"z":"9846523.9a152b","wires":[["85304d9c.535d2","34ff61f8.fd8f5e","8fc43feb.9a60c","c28019f8.afc3f8","9a0af1ec.da4f7","a77c9d6b.957d5","a05db48f.4a8cf8","b07d6e08.66999","877a53e3.29072","2e4ac4fe.4eb5bc","67ff975f.230538"]]},{"id":"877a53e3.29072","type":"execute","name":"execute Convert payload to DG Context ","xml":"<execute plugin=\"org.openecomp.sdnc.config.generator.convert.ConvertNode\" method=\"convertJson2DGContext\">\n<parameter name=\"jsonData\" value=\"`$input.payload`\" />\n<parameter name=\"isEscaped\" value=\"N\" />\n<parameter name=\"blockKeys\" value=\"configuration-parameters,configuration.configuration-string,configuration.configuration-json\" />\n<parameter name=\"responsePrefix\" value=\"tmp.convertnode\" />","comments":"","outputs":1,"x":533.5,"y":275,"z":"9846523.9a152b","wires":[["a8121e8f.60cb8","2f277cc.c7f9f84"]]},{"id":"a8121e8f.60cb8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":777.5,"y":261,"z":"9846523.9a152b","wires":[["d0b0f72c.1ef9b8"]]},{"id":"2f277cc.c7f9f84","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":769.5,"y":311,"z":"9846523.9a152b","wires":[["85134164.cff61"]]},{"id":"d0b0f72c.1ef9b8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":920.5,"y":259,"z":"9846523.9a152b","wires":[["4130df1b.21a72"]]},{"id":"85134164.cff61","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":928.5,"y":307,"z":"9846523.9a152b","wires":[["c604dbab.f04f18"]]},{"id":"2e4ac4fe.4eb5bc","type":"set","name":"set Payload params ","xml":"<set>\n<!-- vnf type, name is from A&AI \n<parameter name='vnf-type' value='`$tmp.vnfInfo.vnf.vnf-type`' />\n<parameter name='vnf-name' value='`$tmp.vnfInfo.vnf.vnf-name`' />\n-->\n<!-- 17.07 Parameters from request -->\n<parameter name='template-name' value='`$request-parameters.template-name`' />\n<parameter name='vnf-host-ip-address' value='`$request-parameters.vnf-host-ip-address`' />\n<parameter name='vnfc-type' value='`$request-parameters.vnfc-type`' /> \n\n<parameter name='configurationblock' value='`$block_configuration`' />\n\n\n<!-- parameters to be merged with template provided as input-->\n<parameter name='configuration-params' value='`$block_configuration-parameters`' /> \n\n<!-- Get from AAI \n<parameter name='vnf-type' value='`$request-parameters.vnf-type`' />\n\n<parameter name='vnf-name' value='`$request-parameters.vnf-name`' />\n\n<parameter name='vnfc-type' value='`$request-parameters.vm[0].vnfc[0].vnfc-type`' />\n<parameter name='vm-name' value='`$request-parameters.vm[0].vm-name`' />\n-->\n\n<!-- Not Used?\n<parameter name='site-location' value='`$request-parameters.site-location`' />\n<parameter name='file-name' value='`$request-parameters.file-name`' />\n-->\n\n\n\n\n","comments":"","x":468,"y":350,"z":"9846523.9a152b","wires":[]},{"id":"4130df1b.21a72","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.convertnode.error-message`\"/>\n\t\n\t","comments":"","x":1081.5,"y":258,"z":"9846523.9a152b","wires":[]},{"id":"c604dbab.f04f18","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 process input parameters\"/>\n\t","comments":"","x":1090.5,"y":305,"z":"9846523.9a152b","wires":[]},{"id":"8fc43feb.9a60c","type":"switchNode","name":"switch configuration.configuration-string","xml":"<switch test='`$block_configuration.configuration-string`'>\n","comments":"","outputs":1,"x":482,"y":657,"z":"9846523.9a152b","wires":[["e2cb4e10.aec7a","c1e6d145.7f735"]]},{"id":"88df205a.bdea6","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":921,"y":627,"z":"9846523.9a152b","wires":[[]]},{"id":"e2cb4e10.aec7a","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":757,"y":667,"z":"9846523.9a152b","wires":[["af9b29c9.310518"]]},{"id":"af9b29c9.310518","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":930,"y":666,"z":"9846523.9a152b","wires":[["d0db7df9.24bf"]]},{"id":"d0db7df9.24bf","type":"set","name":"set configuration","xml":"<set>\n<parameter name='configuration' value='`$block_configuration.configuration-string`' />\n","comments":"","x":1103,"y":667,"z":"9846523.9a152b","wires":[]},{"id":"93037cd8.f1eec","type":"comment","name":"CLI/XML","info":"","comments":"","x":1273,"y":644,"z":"9846523.9a152b","wires":[]},{"id":"c28019f8.afc3f8","type":"switchNode","name":"switch configuration.configuration-json","xml":"<switch test='`$block_configuration.configuration-json`'>\n","comments":"","outputs":1,"x":464.5,"y":720,"z":"9846523.9a152b","wires":[["68f64c8a.f2e724","6f982910.0c0b78"]]},{"id":"68f64c8a.f2e724","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":747.5,"y":764,"z":"9846523.9a152b","wires":[["3146e363.49402c"]]},{"id":"6e42dc89.a22324","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":923.5,"y":722,"z":"9846523.9a152b","wires":[[]]},{"id":"3146e363.49402c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":920.5,"y":761,"z":"9846523.9a152b","wires":[["94b621aa.d0b4b"]]},{"id":"94b621aa.d0b4b","type":"set","name":"set configuration","xml":"<set>\n<parameter name='configuration' value='`$block_configuration.configuration-json`' />\n","comments":"","x":1093.5,"y":761,"z":"9846523.9a152b","wires":[]},{"id":"cf21af62.b238b","type":"comment","name":"JSON","info":"","comments":"","x":1249,"y":758,"z":"9846523.9a152b","wires":[]},{"id":"34ff61f8.fd8f5e","type":"switchNode","name":"switch template-name","xml":"<switch test='`$template-name`'>\n","comments":"","outputs":1,"x":454,"y":554,"z":"9846523.9a152b","wires":[["bd1f9c68.27e6f","73d2981e.49fe78"]]},{"id":"bd1f9c68.27e6f","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":674,"y":533,"z":"9846523.9a152b","wires":[["5bb89cd3.40ca14"]]},{"id":"73d2981e.49fe78","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":679,"y":575,"z":"9846523.9a152b","wires":[["6f45286f.ee3fd8"]]},{"id":"6f45286f.ee3fd8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":852,"y":572,"z":"9846523.9a152b","wires":[["4e555f4.07e51a"]]},{"id":"4e555f4.07e51a","type":"set","name":"set config-type","xml":"<set>\n<parameter name='config-type' value='template' />\n","comments":"","x":1024,"y":574,"z":"9846523.9a152b","wires":[]},{"id":"9a0af1ec.da4f7","type":"switchNode","name":"switch configuration","xml":"<switch test='`$configuration`'>\n","comments":"","outputs":1,"x":434,"y":814,"z":"9846523.9a152b","wires":[["cd56d572.bb8218","5573ad8.e2dad54"]]},{"id":"cd56d572.bb8218","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":532,"y":897,"z":"9846523.9a152b","wires":[["77b23a98.d7bfa4"]]},{"id":"4b809017.42d3d","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":834,"y":823,"z":"9846523.9a152b","wires":[["e1702e21.a8c9a"]]},{"id":"8cd17825.b965d8","type":"set","name":"set config-type","xml":"<set>\n<parameter name='config-type' value='template' />\n","comments":"","x":1321,"y":912,"z":"9846523.9a152b","wires":[]},{"id":"82b1b984.79d688","type":"comment","name":"Template","info":"","comments":"","x":1301,"y":954,"z":"9846523.9a152b","wires":[]},{"id":"e1702e21.a8c9a","type":"switchNode","name":"switch Configuration params exists","xml":"<switch test='`$configuration-params`'>\n","comments":"","outputs":1,"x":1072,"y":823,"z":"9846523.9a152b","wires":[["f4c11152.2c21f","ad5ffddd.7bb23"]]},{"id":"f4c11152.2c21f","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":995,"y":910,"z":"9846523.9a152b","wires":[["432bcf96.ea922"]]},{"id":"432bcf96.ea922","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1159,"y":912,"z":"9846523.9a152b","wires":[["8cd17825.b965d8"]]},{"id":"2d36c832.da5f58","type":"comment","name":"Specific Template","info":"","comments":"","x":1215,"y":566,"z":"9846523.9a152b","wires":[]},{"id":"5bb89cd3.40ca14","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":863,"y":528,"z":"9846523.9a152b","wires":[[]]},{"id":"77b23a98.d7bfa4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":691,"y":900,"z":"9846523.9a152b","wires":[[]]},{"id":"11aca9f7.f168c6","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1500,"y":806,"z":"9846523.9a152b","wires":[["d0d253e5.fc042"]]},{"id":"d0d253e5.fc042","type":"switchNode","name":"switch template-name","xml":"<switch test='`$template-name`'>\n","comments":"","outputs":1,"x":1690,"y":807,"z":"9846523.9a152b","wires":[["5a278bf.16fda74"]]},{"id":"6012a2aa.a432ec","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1718,"y":857,"z":"9846523.9a152b","wires":[["b3766c28.ca798"]]},{"id":"b3766c28.ca798","type":"set","name":"set config-type","xml":"<set>\n<parameter name='config-type' value='template' />\n","comments":"","x":1903,"y":859,"z":"9846523.9a152b","wires":[]},{"id":"dcb50714.1aaec8","type":"comment","name":"Restore scenario:ASDC Template to be directly donwloaded - no params","info":"","comments":"","x":1844,"y":905,"z":"9846523.9a152b","wires":[]},{"id":"c1e6d145.7f735","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":759,"y":623,"z":"9846523.9a152b","wires":[["88df205a.bdea6"]]},{"id":"6f982910.0c0b78","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":752,"y":715,"z":"9846523.9a152b","wires":[["6e42dc89.a22324"]]},{"id":"5573ad8.e2dad54","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":644,"y":818,"z":"9846523.9a152b","wires":[["4b809017.42d3d"]]},{"id":"ad5ffddd.7bb23","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":1337,"y":813,"z":"9846523.9a152b","wires":[["11aca9f7.f168c6"]]},{"id":"5a278bf.16fda74","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":1897,"y":811,"z":"9846523.9a152b","wires":[["6012a2aa.a432ec"]]},{"id":"a77c9d6b.957d5","type":"execute","name":"execute getCommonConfigInfo","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getCommonConfigInfo\">\n<parameter name=\"responsePrefix\" value=\"tmp.commonConfigInfo\" />\n","comments":"","outputs":1,"x":530,"y":1094,"z":"9846523.9a152b","wires":[["d7c8eaa0.3ee748","3cfaba11.b14c06","52458f74.54ba4"]]},{"id":"d7c8eaa0.3ee748","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":761,"y":1079,"z":"9846523.9a152b","wires":[["1a62b176.c364af"]]},{"id":"3cfaba11.b14c06","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":753,"y":1126,"z":"9846523.9a152b","wires":[["1fb56fbd.d2396"]]},{"id":"1a62b176.c364af","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":944,"y":1082,"z":"9846523.9a152b","wires":[["a0790e89.65e41"]]},{"id":"a0790e89.65e41","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 Read Device Info\"/>\n\t\n","comments":"","x":1128,"y":1081,"z":"9846523.9a152b","wires":[]},{"id":"1fb56fbd.d2396","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":930,"y":1129,"z":"9846523.9a152b","wires":[["cca280e3.53bd6"]]},{"id":"cca280e3.53bd6","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.commonConfigInfo.error-message`\"/>\n\t\n\t\n\t\n","comments":"","x":1116,"y":1127,"z":"9846523.9a152b","wires":[]},{"id":"b07d6e08.66999","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"request\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":467,"y":194,"z":"9846523.9a152b","wires":[["c9769ad8.507058"]]},{"id":"a05db48f.4a8cf8","type":"set","name":"set tmp.message","xml":"<set>\n<parameter name=\"tmp.message\" value=\"`$vnf-id + ' : ' + $request-action + ': ' + $payload`\" />\n","comments":"","x":467,"y":155,"z":"9846523.9a152b","wires":[]},{"id":"c9769ad8.507058","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":651,"y":193,"z":"9846523.9a152b","wires":[["9f2b34ef.449da8"]]},{"id":"9f2b34ef.449da8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":808,"y":190,"z":"9846523.9a152b","wires":[[]]},{"id":"67ff975f.230538","type":"call","name":"call: getAAIInfo","xml":"<call module=\"APPC\" rpc=\"GetAaiInfo\" mode=\"sync\">","comments":"","outputs":1,"x":455,"y":435,"z":"9846523.9a152b","wires":[["2f57b512.b0b9ba"]]},{"id":"2f57b512.b0b9ba","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":631,"y":435,"z":"9846523.9a152b","wires":[["88e62d7d.4f67f"]]},{"id":"88e62d7d.4f67f","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":800,"y":440,"z":"9846523.9a152b","wires":[["adb46ab4.46b038"]]},{"id":"adb46ab4.46b038","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 GetAaiInfo not found\"/>\n\t","comments":"","x":983,"y":442,"z":"9846523.9a152b","wires":[]},{"id":"52458f74.54ba4","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":757,"y":1185,"z":"9846523.9a152b","wires":[["8a5d9bf6.d965a8"]]},{"id":"8a5d9bf6.d965a8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":920,"y":1189,"z":"9846523.9a152b","wires":[["f0e76d61.b35cf"]]},{"id":"f0e76d61.b35cf","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":1088,"y":1188,"z":"9846523.9a152b","wires":[[]]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetDeviceRunningConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetDeviceRunningConfig.json
index 95febf3a8..29c13707e 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetDeviceRunningConfig.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetDeviceRunningConfig.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"73fd49f3.a1d278","type":"dgstart","name":"DGSTART","outputs":1,"x":208.75,"y":98.75,"z":"d5c2f7ab.9eeb78","wires":[["98dbdd7c.fe8c3"]]},{"id":"53ce8877.2ecf68","type":"method","name":"method: GetDeviceRunningConfig","xml":"<method rpc='GetDeviceRunningConfig' mode='sync'>\n","comments":"","outputs":1,"x":645.1785430908203,"y":89.17857456207275,"z":"d5c2f7ab.9eeb78","wires":[["71df0315.00e07c"]]},{"id":"98dbdd7c.fe8c3","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"3.1.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":399.75,"y":96.75,"z":"d5c2f7ab.9eeb78","wires":[["53ce8877.2ecf68"]]},{"id":"a7b3e993.df4158","type":"set","name":"set Request Parameters","xml":"<set>\n<parameter name='vnf-type' value=\"`$config.vnf-type`\" />\n<parameter name='vnf-name' value=\"`$config.vnf-name`\" />\n<parameter name='protocol' value=\"`$config.protocol`\" />\n<parameter name='hostIpAddress' value=\"`$config.host-ip-address`\" />\n<parameter name='userName' value=\"`$config.user-name`\" />\n<parameter name='password' value=\"`$config.password`\" />\n<parameter name='portNumber' value=\"`$config.port-number`\" />\n","comments":"","x":571.0834197998047,"y":167.74999570846558,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"f83cb7cd.e4dd78","type":"execute","name":"execute: Get Rest Configuration","xml":"<execute plugin=\"com.att.sdnctl.restconf.RestConfCallNode\" method=\"getConfiguration\">\n<parameter name=\"hostIpAddress\" value=\"`$hostIpAddress`\" />\n<parameter name=\"protocol\" value=\"`$protocol`\" />\n<parameter name=\"responsePrefix\" value=\"restconf\" />\n","comments":"","outputs":1,"x":704.75,"y":512.75,"z":"d5c2f7ab.9eeb78","wires":[["198a50e4.1a084f","f26ecc71.80f99","813bb5a6.7d4a68"]]},{"id":"855c15a1.c5faf8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"Unable to Get the Configuration\"/>\n","comments":"","x":2005.7500381469727,"y":622.7500162124634,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"198a50e4.1a084f","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":961.75,"y":580.75,"z":"d5c2f7ab.9eeb78","wires":[["d887442e.fdbd68"]]},{"id":"d51d7787.158188","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":984.75,"y":632.75,"z":"d5c2f7ab.9eeb78","wires":[["2880086.7157bf8"]]},{"id":"2880086.7157bf8","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$restconf.config`\" />\n","comments":"","x":1213.75,"y":620.75,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"f26ecc71.80f99","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":800.75,"y":632.75,"z":"d5c2f7ab.9eeb78","wires":[["d51d7787.158188"]]},{"id":"d887442e.fdbd68","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1792.7500343322754,"y":612.7500648498535,"z":"d5c2f7ab.9eeb78","wires":[["855c15a1.c5faf8"]]},{"id":"71df0315.00e07c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":301.75,"y":166.75,"z":"d5c2f7ab.9eeb78","wires":[["a7b3e993.df4158","2fbf7d15.74f302"]]},{"id":"29cf8ea9.51acb2","type":"outcome","name":"RESTCONF-XML","xml":"<outcome value='RESTCONF-XML'>\n","comments":"","outputs":1,"x":346.75,"y":513.75,"z":"d5c2f7ab.9eeb78","wires":[["cbfbcb9b.61f818"]]},{"id":"cbfbcb9b.61f818","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":506.75,"y":464.75,"z":"d5c2f7ab.9eeb78","wires":[["f83cb7cd.e4dd78"]]},{"id":"2fbf7d15.74f302","type":"switchNode","name":"switch : Protocol","xml":"<switch test=\"`$protocol`\">\n","comments":"","outputs":1,"x":176.75,"y":268.75,"z":"d5c2f7ab.9eeb78","wires":[["29cf8ea9.51acb2","47521138.e1182","aa86a367.9e31","9e29ccc9.7ecc5","cb04f713.845c98","d235c42e.58bf08"]]},{"id":"47521138.e1182","type":"outcome","name":"CLI","xml":"<outcome value='CLI'>\n","comments":"","outputs":1,"x":370.75,"y":269.75,"z":"d5c2f7ab.9eeb78","wires":[["6f3ae8b7.9b6778"]]},{"id":"e982ff2.bf8a4","type":"get-resource","name":"get-resource GET_CONFIG_TEMPLATE","xml":"<get-resource\n\tplugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT TEMPLATE FROM GET_CONFIG_TEMPLATE WHERE vnf_type = $vnf-type ;\"\n force='true'\n\tpfx='config-template'>\n","comments":"","outputs":1,"x":754.7499694824219,"y":247.75,"z":"d5c2f7ab.9eeb78","wires":[["48deb1d2.fcd28","935998ed.ba2098"]]},{"id":"6f3ae8b7.9b6778","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":510.7499694824219,"y":270.75,"z":"d5c2f7ab.9eeb78","wires":[["e982ff2.bf8a4","5f0176d.376ce88"]]},{"id":"ede520ec.0c179","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"Unable to Read Config Template\"/>\n\t","comments":"","x":1331.7499694824219,"y":274.75,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"98a7d137.1e399","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":1160.7499694824219,"y":275.75,"z":"d5c2f7ab.9eeb78","wires":[["ede520ec.0c179"]]},{"id":"41ac5929.942928","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$cliOutput`\" />\n","comments":"","x":1207.75,"y":490.75004863739014,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"5f0176d.376ce88","type":"execute","name":"execute: Get CLI RunningConfig","xml":"<configure adaptor='org.openecomp.appc.ccadaptor.ConfigComponentAdaptor' key='GetCliRunningConfig'>\n<parameter name=\"Host_ip_address\" value=\"`$hostIpAddress`\" />\n<parameter name=\"User_name\" value=\"`$userName`\" />\n<parameter name=\"Password\" value=\"`$password`\" />\n<parameter name=\"Port_number\" value=\"`$portNumber`\" />\n<parameter name=\"Get_config_template\" value=\"`$config-template.TEMPLATE`\" />\n","comments":"","outputs":1,"x":720.7500152587891,"y":336.7500123977661,"z":"d5c2f7ab.9eeb78","wires":[["78d9a2f9.46003c","97890ce8.6b316","98f67919.c738f8"]]},{"id":"e6da77d0.fadda8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":986.75,"y":435.75006103515625,"z":"d5c2f7ab.9eeb78","wires":[["41ac5929.942928"]]},{"id":"48deb1d2.fcd28","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1007.7499694824219,"y":287.75,"z":"d5c2f7ab.9eeb78","wires":[["98a7d137.1e399"]]},{"id":"78d9a2f9.46003c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":812.75,"y":433.75006103515625,"z":"d5c2f7ab.9eeb78","wires":[["e6da77d0.fadda8"]]},{"id":"813bb5a6.7d4a68","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":970.75,"y":535.75,"z":"d5c2f7ab.9eeb78","wires":[["d887442e.fdbd68"]]},{"id":"935998ed.ba2098","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1006.7499694824219,"y":216.75,"z":"d5c2f7ab.9eeb78","wires":[["98a7d137.1e399"]]},{"id":"97890ce8.6b316","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":989.7500076293945,"y":351.7499933242798,"z":"d5c2f7ab.9eeb78","wires":[["560e0fe9.a63f6"]]},{"id":"98f67919.c738f8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":980.75,"y":390.75,"z":"d5c2f7ab.9eeb78","wires":[["d887442e.fdbd68"]]},{"id":"fde847ff.94d008","type":"comment","name":"User Story ID: US731106","info":"Developed by Brinda Santh <bs2796@att.com>","comments":"","x":887.7499694824219,"y":28.75,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"aa86a367.9e31","type":"outcome","name":"NETCONF-XML","xml":"<outcome value='NETCONF-XML'>\n","comments":"","outputs":1,"x":281.75,"y":676.75,"z":"d5c2f7ab.9eeb78","wires":[["e84e48c0.7bd1f8"]]},{"id":"e84e48c0.7bd1f8","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":453.75,"y":676.75,"z":"d5c2f7ab.9eeb78","wires":[["567cae24.a2056"]]},{"id":"567cae24.a2056","type":"execute","name":"execute: Get XML RunningConfig","xml":"<configure adaptor='org.openecomp.appc.ccadaptor.ConfigComponentAdaptor' key='xml-getrunningconfig'>\n<parameter name=\"Host_ip_address\" value=\"`$hostIpAddress`\" />\n<parameter name=\"User_name\" value=\"`$userName`\" />\n<parameter name=\"Password\" value=\"`$password`\" />\n<parameter name=\"Port_number\" value=\"`$portNumber`\" />\n<parameter name=\"Protocol\" value=\"`$protocol`\" />\n","comments":"","outputs":1,"x":683.6071929931641,"y":705.892858505249,"z":"d5c2f7ab.9eeb78","wires":[["50a8e434.940b6c","66893930.a5f318","d6c04b27.53f0c8"]]},{"id":"50a8e434.940b6c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1009.75,"y":687.75,"z":"d5c2f7ab.9eeb78","wires":[["560e0fe9.a63f6"]]},{"id":"66893930.a5f318","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1010.75,"y":736.75,"z":"d5c2f7ab.9eeb78","wires":[["d887442e.fdbd68"]]},{"id":"9e29ccc9.7ecc5","type":"outcome","name":"RESTCONF","xml":"<outcome value='RESTCONF'>\n","comments":"","outputs":1,"x":358.75,"y":438.75,"z":"d5c2f7ab.9eeb78","wires":[["cbfbcb9b.61f818"]]},{"id":"d6c04b27.53f0c8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":830.75,"y":784.75,"z":"d5c2f7ab.9eeb78","wires":[["907796bc.3521c8"]]},{"id":"907796bc.3521c8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1006.75,"y":783.75,"z":"d5c2f7ab.9eeb78","wires":[["230d353a.82deba"]]},{"id":"230d353a.82deba","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$xmlRunningConfigOutput `\" />\n","comments":"","x":1211.4169387817383,"y":781.7500133514404,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"cb04f713.845c98","type":"outcome","name":"CHEF","xml":"<outcome value='CHEF'>\n","comments":"","outputs":1,"x":252.75,"y":773.75,"z":"d5c2f7ab.9eeb78","wires":[["87e6927d.8c87a"]]},{"id":"2c9ce105.810cce","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":465.74999237060547,"y":821.4166603088379,"z":"d5c2f7ab.9eeb78","wires":[["830e8c40.09ea8"]]},{"id":"830e8c40.09ea8","type":"execute","name":"execute: getChefRunningConfig","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFilesByVnfVmNCategory\">\n<parameter name=\"fileCategory\" value=\"device_configuration\" />\n<parameter name='vnfId' value=\"`$config.vnf-id`\" />\n<parameter name='vmName' value=\"`$config.vm-name`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.deviceconfig\" />\n","comments":"","outputs":1,"x":701.8928680419922,"y":865.6072664260864,"z":"d5c2f7ab.9eeb78","wires":[["f10cdc38.2c8fd","d81f053f.e21898","8b94b394.610ac"]]},{"id":"8b94b394.610ac","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":896.4642944335938,"y":961.89284324646,"z":"d5c2f7ab.9eeb78","wires":[["ff4e13e0.ba24a"]]},{"id":"ff4e13e0.ba24a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1195.4167976379395,"y":996.4166450500488,"z":"d5c2f7ab.9eeb78","wires":[["bd7122ae.6d345"]]},{"id":"d81f053f.e21898","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1003.750129699707,"y":897.7500658035278,"z":"d5c2f7ab.9eeb78","wires":[[]]},{"id":"f10cdc38.2c8fd","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1002.750129699707,"y":848.7500658035278,"z":"d5c2f7ab.9eeb78","wires":[["3be4b321.a7b82c"]]},{"id":"bd7122ae.6d345","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n","comments":"","x":1431.750144958496,"y":1000.08331823349,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"3be4b321.a7b82c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1178.750129699707,"y":852.7500658035278,"z":"d5c2f7ab.9eeb78","wires":[["68fcda28.298664"]]},{"id":"68fcda28.298664","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n","comments":"","x":1329.0834503173828,"y":832.8929662704468,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"d47a34b9.96fae8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$error-message`\"/>\n","comments":"","x":1520.75,"y":398.75,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"560e0fe9.a63f6","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1345.75,"y":402.75,"z":"d5c2f7ab.9eeb78","wires":[["d47a34b9.96fae8"]]},{"id":"d235c42e.58bf08","type":"outcome","name":" Ansible","xml":"<outcome value='Ansible'>\n","comments":"","outputs":1,"x":227.19049835205078,"y":891.4763145446777,"z":"d5c2f7ab.9eeb78","wires":[["7994c061.4c34b"]]},{"id":"87e6927d.8c87a","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":413.33331298828125,"y":953.333251953125,"z":"d5c2f7ab.9eeb78","wires":[["b2457e62.0d6be"]]},{"id":"b2457e62.0d6be","type":"call","name":"call GetTemplateConfig_Chef","xml":"<call module='APPC' rpc='GetTemplateConfig_Chef' mode='sync' >\n","comments":"","outputs":1,"x":659.2857055664062,"y":954.0477857589722,"z":"d5c2f7ab.9eeb78","wires":[["e573827e.36bb9","35aad49a.f87bcc","7142f414.35002c"]]},{"id":"163d15dd.b3498a","type":"call","name":"call GetTemplateConfig_Ansible","xml":"<call module='APPC' rpc='GetTemplateConfig_Ansible' mode='sync' >\n","comments":"","outputs":1,"x":597.857063293457,"y":1235.476152420044,"z":"d5c2f7ab.9eeb78","wires":[["e6a86a3a.62afb8","80beb099.eee58","9ba09f64.03e81"]]},{"id":"35aad49a.f87bcc","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":722.6190185546875,"y":1095.7143206596375,"z":"d5c2f7ab.9eeb78","wires":[["d887442e.fdbd68"]]},{"id":"e573827e.36bb9","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":721.6190185546875,"y":1046.7143206596375,"z":"d5c2f7ab.9eeb78","wires":[["73395769.c7fd38"]]},{"id":"73395769.c7fd38","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":897.6190185546875,"y":1050.7143206596375,"z":"d5c2f7ab.9eeb78","wires":[["ebfee93d.0a6c28"]]},{"id":"ebfee93d.0a6c28","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n","comments":"","x":1089.6190185546875,"y":1043.7143206596375,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"7142f414.35002c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":660.9523315429688,"y":1169.047694683075,"z":"d5c2f7ab.9eeb78","wires":[["6ed3304a.f8835"]]},{"id":"6ed3304a.f8835","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":823.9523315429688,"y":1169.047694683075,"z":"d5c2f7ab.9eeb78","wires":[["99960733.d8c138"]]},{"id":"99960733.d8c138","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n<parameter name='output.status.code' value='`$org.openecomp.appc.adapter.ansible.result.code`' />\n<parameter name='output.status.message' value='`$org.openecomp.appc.adapter.ansible.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n","comments":"","x":1026.9523315429688,"y":1171.047694683075,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"7994c061.4c34b","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":409.52384185791016,"y":1150.4760665893555,"z":"d5c2f7ab.9eeb78","wires":[["163d15dd.b3498a"]]},{"id":"80beb099.eee58","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":831.1903610229492,"y":1300.4761695861816,"z":"d5c2f7ab.9eeb78","wires":[["d887442e.fdbd68"]]},{"id":"e6a86a3a.62afb8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":830.1903610229492,"y":1251.4761695861816,"z":"d5c2f7ab.9eeb78","wires":[["565cf063.e3efb"]]},{"id":"565cf063.e3efb","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1006.1903610229492,"y":1255.4761695861816,"z":"d5c2f7ab.9eeb78","wires":[["484bbab0.c63454"]]},{"id":"484bbab0.c63454","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n","comments":"","x":1198.1903381347656,"y":1248.4761772155762,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"9ba09f64.03e81","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":769.5236740112305,"y":1373.8095436096191,"z":"d5c2f7ab.9eeb78","wires":[["6b8fab54.184374"]]},{"id":"6b8fab54.184374","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":932.5236740112305,"y":1373.8095436096191,"z":"d5c2f7ab.9eeb78","wires":[["5dadab18.730154"]]},{"id":"5dadab18.730154","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n<parameter name='code' value='`$output.status.code`' />\n<parameter name='message' value='`$output.status.message`'/>\n<parameter name='Status' value = '`$output.status.results`'/>\n","comments":"","x":1135.5236282348633,"y":1375.809624671936,"z":"d5c2f7ab.9eeb78","wires":[]}]
+[{"id":"73fd49f3.a1d278","type":"dgstart","name":"DGSTART","outputs":1,"x":208.75,"y":98.75,"z":"d5c2f7ab.9eeb78","wires":[["98dbdd7c.fe8c3"]]},{"id":"53ce8877.2ecf68","type":"method","name":"method: GetDeviceRunningConfig","xml":"<method rpc='GetDeviceRunningConfig' mode='sync'>\n","comments":"","outputs":1,"x":645.1785430908203,"y":89.17857456207275,"z":"d5c2f7ab.9eeb78","wires":[["71df0315.00e07c"]]},{"id":"98dbdd7c.fe8c3","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":399.75,"y":96.75,"z":"d5c2f7ab.9eeb78","wires":[["53ce8877.2ecf68"]]},{"id":"a7b3e993.df4158","type":"set","name":"set Request Parameters","xml":"<set>\n<parameter name='vnf-type' value=\"`$config.vnf-type`\" />\n<parameter name='vnf-name' value=\"`$config.vnf-name`\" />\n<parameter name='protocol' value=\"`$config.protocol`\" />\n<parameter name='hostIpAddress' value=\"`$config.host-ip-address`\" />\n<parameter name='userName' value=\"`$config.user-name`\" />\n<parameter name='password' value=\"`$config.password`\" />\n<parameter name='portNumber' value=\"`$config.port-number`\" />\n","comments":"","x":571.0834197998047,"y":167.74999570846558,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"f83cb7cd.e4dd78","type":"execute","name":"execute: Get Rest Configuration","xml":"<execute plugin=\"com.att.sdnctl.restconf.RestConfCallNode\" method=\"getConfiguration\">\n<parameter name=\"hostIpAddress\" value=\"`$hostIpAddress`\" />\n<parameter name=\"protocol\" value=\"`$protocol`\" />\n<parameter name=\"responsePrefix\" value=\"restconf\" />\n","comments":"","outputs":1,"x":704.75,"y":512.75,"z":"d5c2f7ab.9eeb78","wires":[["198a50e4.1a084f","f26ecc71.80f99","813bb5a6.7d4a68"]]},{"id":"855c15a1.c5faf8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"Unable to Get the Configuration\"/>\n","comments":"","x":2005.7500381469727,"y":622.7500162124634,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"198a50e4.1a084f","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":961.75,"y":580.75,"z":"d5c2f7ab.9eeb78","wires":[["d887442e.fdbd68"]]},{"id":"d51d7787.158188","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":984.75,"y":632.75,"z":"d5c2f7ab.9eeb78","wires":[["2880086.7157bf8"]]},{"id":"2880086.7157bf8","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$restconf.config`\" />\n","comments":"","x":1213.75,"y":620.75,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"f26ecc71.80f99","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":800.75,"y":632.75,"z":"d5c2f7ab.9eeb78","wires":[["d51d7787.158188"]]},{"id":"d887442e.fdbd68","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1792.7500343322754,"y":612.7500648498535,"z":"d5c2f7ab.9eeb78","wires":[["855c15a1.c5faf8"]]},{"id":"71df0315.00e07c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":301.75,"y":166.75,"z":"d5c2f7ab.9eeb78","wires":[["a7b3e993.df4158","2fbf7d15.74f302"]]},{"id":"29cf8ea9.51acb2","type":"outcome","name":"RESTCONF-XML","xml":"<outcome value='RESTCONF-XML'>\n","comments":"","outputs":1,"x":346.75,"y":513.75,"z":"d5c2f7ab.9eeb78","wires":[["cbfbcb9b.61f818"]]},{"id":"cbfbcb9b.61f818","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":506.75,"y":464.75,"z":"d5c2f7ab.9eeb78","wires":[["f83cb7cd.e4dd78"]]},{"id":"2fbf7d15.74f302","type":"switchNode","name":"switch : Protocol","xml":"<switch test=\"`$protocol`\">\n","comments":"","outputs":1,"x":176.75,"y":268.75,"z":"d5c2f7ab.9eeb78","wires":[["29cf8ea9.51acb2","47521138.e1182","aa86a367.9e31","9e29ccc9.7ecc5","cb04f713.845c98","d235c42e.58bf08"]]},{"id":"47521138.e1182","type":"outcome","name":"CLI","xml":"<outcome value='CLI'>\n","comments":"","outputs":1,"x":370.75,"y":269.75,"z":"d5c2f7ab.9eeb78","wires":[["6f3ae8b7.9b6778"]]},{"id":"e982ff2.bf8a4","type":"get-resource","name":"get-resource GET_CONFIG_TEMPLATE","xml":"<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT TEMPLATE FROM GET_CONFIG_TEMPLATE WHERE vnf_type = $vnf-type ;\"\n force='true'\n\tpfx='config-template'>\n","comments":"","outputs":1,"x":754.7499694824219,"y":247.75,"z":"d5c2f7ab.9eeb78","wires":[["48deb1d2.fcd28","935998ed.ba2098"]]},{"id":"6f3ae8b7.9b6778","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":510.7499694824219,"y":270.75,"z":"d5c2f7ab.9eeb78","wires":[["e982ff2.bf8a4","5f0176d.376ce88"]]},{"id":"ede520ec.0c179","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"Unable to Read Config Template\"/>\n\t","comments":"","x":1331.7499694824219,"y":274.75,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"98a7d137.1e399","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":1160.7499694824219,"y":275.75,"z":"d5c2f7ab.9eeb78","wires":[["ede520ec.0c179"]]},{"id":"41ac5929.942928","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$cliOutput`\" />\n","comments":"","x":1207.75,"y":490.75004863739014,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"5f0176d.376ce88","type":"execute","name":"execute: Get CLI RunningConfig","xml":"<configure adaptor='org.openecomp.appc.ccadaptor.ConfigComponentAdaptor' key='GetCliRunningConfig'>\n<parameter name=\"Host_ip_address\" value=\"`$hostIpAddress`\" />\n<parameter name=\"User_name\" value=\"`$userName`\" />\n<parameter name=\"Password\" value=\"`$password`\" />\n<parameter name=\"Port_number\" value=\"`$portNumber`\" />\n<parameter name=\"Get_config_template\" value=\"`$config-template.TEMPLATE`\" />\n","comments":"","outputs":1,"x":720.7500152587891,"y":336.7500123977661,"z":"d5c2f7ab.9eeb78","wires":[["78d9a2f9.46003c","97890ce8.6b316","98f67919.c738f8"]]},{"id":"e6da77d0.fadda8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":986.75,"y":435.75006103515625,"z":"d5c2f7ab.9eeb78","wires":[["41ac5929.942928"]]},{"id":"48deb1d2.fcd28","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1007.7499694824219,"y":287.75,"z":"d5c2f7ab.9eeb78","wires":[["98a7d137.1e399"]]},{"id":"78d9a2f9.46003c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":812.75,"y":433.75006103515625,"z":"d5c2f7ab.9eeb78","wires":[["e6da77d0.fadda8"]]},{"id":"813bb5a6.7d4a68","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":970.75,"y":535.75,"z":"d5c2f7ab.9eeb78","wires":[["d887442e.fdbd68"]]},{"id":"935998ed.ba2098","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1006.7499694824219,"y":216.75,"z":"d5c2f7ab.9eeb78","wires":[["98a7d137.1e399"]]},{"id":"97890ce8.6b316","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":989.7500076293945,"y":351.7499933242798,"z":"d5c2f7ab.9eeb78","wires":[["560e0fe9.a63f6"]]},{"id":"98f67919.c738f8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":980.75,"y":390.75,"z":"d5c2f7ab.9eeb78","wires":[["d887442e.fdbd68"]]},{"id":"fde847ff.94d008","type":"comment","name":"User Story ID: US731106","info":"Developed by Brinda Santh <bs2796@att.com>","comments":"","x":887.7499694824219,"y":28.75,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"aa86a367.9e31","type":"outcome","name":"NETCONF-XML","xml":"<outcome value='NETCONF-XML'>\n","comments":"","outputs":1,"x":281.75,"y":676.75,"z":"d5c2f7ab.9eeb78","wires":[["e84e48c0.7bd1f8"]]},{"id":"e84e48c0.7bd1f8","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":453.75,"y":676.75,"z":"d5c2f7ab.9eeb78","wires":[["567cae24.a2056"]]},{"id":"567cae24.a2056","type":"execute","name":"execute: Get XML RunningConfig","xml":"<configure adaptor='org.openecomp.appc.ccadaptor.ConfigComponentAdaptor' key='xml-getrunningconfig'>\n<parameter name=\"Host_ip_address\" value=\"`$hostIpAddress`\" />\n<parameter name=\"User_name\" value=\"`$userName`\" />\n<parameter name=\"Password\" value=\"`$password`\" />\n<parameter name=\"Port_number\" value=\"`$portNumber`\" />\n<parameter name=\"Protocol\" value=\"`$protocol`\" />\n","comments":"","outputs":1,"x":683.6071929931641,"y":705.892858505249,"z":"d5c2f7ab.9eeb78","wires":[["50a8e434.940b6c","66893930.a5f318","d6c04b27.53f0c8"]]},{"id":"50a8e434.940b6c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1009.75,"y":687.75,"z":"d5c2f7ab.9eeb78","wires":[["560e0fe9.a63f6"]]},{"id":"66893930.a5f318","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1010.75,"y":736.75,"z":"d5c2f7ab.9eeb78","wires":[["d887442e.fdbd68"]]},{"id":"9e29ccc9.7ecc5","type":"outcome","name":"RESTCONF","xml":"<outcome value='RESTCONF'>\n","comments":"","outputs":1,"x":358.75,"y":438.75,"z":"d5c2f7ab.9eeb78","wires":[["cbfbcb9b.61f818"]]},{"id":"d6c04b27.53f0c8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":830.75,"y":784.75,"z":"d5c2f7ab.9eeb78","wires":[["907796bc.3521c8"]]},{"id":"907796bc.3521c8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1006.75,"y":783.75,"z":"d5c2f7ab.9eeb78","wires":[["230d353a.82deba"]]},{"id":"230d353a.82deba","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$xmlRunningConfigOutput `\" />\n","comments":"","x":1211.4169387817383,"y":781.7500133514404,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"cb04f713.845c98","type":"outcome","name":"CHEF","xml":"<outcome value='CHEF'>\n","comments":"","outputs":1,"x":252.75,"y":773.75,"z":"d5c2f7ab.9eeb78","wires":[["87e6927d.8c87a"]]},{"id":"2c9ce105.810cce","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":465.74999237060547,"y":821.4166603088379,"z":"d5c2f7ab.9eeb78","wires":[["830e8c40.09ea8"]]},{"id":"830e8c40.09ea8","type":"execute","name":"execute: getChefRunningConfig","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFilesByVnfVmNCategory\">\n<parameter name=\"fileCategory\" value=\"device_configuration\" />\n<parameter name='vnfId' value=\"`$config.vnf-id`\" />\n<parameter name='vmName' value=\"`$config.vm-name`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.deviceconfig\" />\n","comments":"","outputs":1,"x":701.8928680419922,"y":865.6072664260864,"z":"d5c2f7ab.9eeb78","wires":[["f10cdc38.2c8fd","d81f053f.e21898","8b94b394.610ac"]]},{"id":"8b94b394.610ac","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":896.4642944335938,"y":961.89284324646,"z":"d5c2f7ab.9eeb78","wires":[["ff4e13e0.ba24a"]]},{"id":"ff4e13e0.ba24a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1195.4167976379395,"y":996.4166450500488,"z":"d5c2f7ab.9eeb78","wires":[["bd7122ae.6d345"]]},{"id":"d81f053f.e21898","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1003.750129699707,"y":897.7500658035278,"z":"d5c2f7ab.9eeb78","wires":[[]]},{"id":"f10cdc38.2c8fd","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1002.750129699707,"y":848.7500658035278,"z":"d5c2f7ab.9eeb78","wires":[["3be4b321.a7b82c"]]},{"id":"bd7122ae.6d345","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n","comments":"","x":1431.750144958496,"y":1000.08331823349,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"3be4b321.a7b82c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1178.750129699707,"y":852.7500658035278,"z":"d5c2f7ab.9eeb78","wires":[["68fcda28.298664"]]},{"id":"68fcda28.298664","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n","comments":"","x":1329.0834503173828,"y":832.8929662704468,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"d47a34b9.96fae8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$error-message`\"/>\n","comments":"","x":1520.75,"y":398.75,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"560e0fe9.a63f6","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1345.75,"y":402.75,"z":"d5c2f7ab.9eeb78","wires":[["d47a34b9.96fae8"]]},{"id":"d235c42e.58bf08","type":"outcome","name":" Ansible","xml":"<outcome value='Ansible'>\n","comments":"","outputs":1,"x":227.19049835205078,"y":891.4763145446777,"z":"d5c2f7ab.9eeb78","wires":[["7994c061.4c34b"]]},{"id":"87e6927d.8c87a","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":413.33331298828125,"y":953.333251953125,"z":"d5c2f7ab.9eeb78","wires":[["b2457e62.0d6be"]]},{"id":"b2457e62.0d6be","type":"call","name":"call GetTemplateConfig_Chef","xml":"<call module='APPC' rpc='GetTemplateConfig_Chef' mode='sync' >\n","comments":"","outputs":1,"x":659.2857055664062,"y":954.0477857589722,"z":"d5c2f7ab.9eeb78","wires":[["e573827e.36bb9","35aad49a.f87bcc","7142f414.35002c"]]},{"id":"163d15dd.b3498a","type":"call","name":"call GetTemplateConfig_Ansible","xml":"<call module='APPC' rpc='GetTemplateConfig_Ansible' mode='sync' >\n","comments":"","outputs":1,"x":597.857063293457,"y":1235.476152420044,"z":"d5c2f7ab.9eeb78","wires":[["e6a86a3a.62afb8","80beb099.eee58","9ba09f64.03e81"]]},{"id":"35aad49a.f87bcc","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":722.6190185546875,"y":1095.7143206596375,"z":"d5c2f7ab.9eeb78","wires":[["d887442e.fdbd68"]]},{"id":"e573827e.36bb9","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":721.6190185546875,"y":1046.7143206596375,"z":"d5c2f7ab.9eeb78","wires":[["73395769.c7fd38"]]},{"id":"73395769.c7fd38","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":897.6190185546875,"y":1050.7143206596375,"z":"d5c2f7ab.9eeb78","wires":[["ebfee93d.0a6c28"]]},{"id":"ebfee93d.0a6c28","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n","comments":"","x":1089.6190185546875,"y":1043.7143206596375,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"7142f414.35002c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":660.9523315429688,"y":1169.047694683075,"z":"d5c2f7ab.9eeb78","wires":[["6ed3304a.f8835"]]},{"id":"6ed3304a.f8835","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":823.9523315429688,"y":1169.047694683075,"z":"d5c2f7ab.9eeb78","wires":[["99960733.d8c138"]]},{"id":"99960733.d8c138","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n<parameter name='output.status.code' value='`$org.openecomp.appc.adapter.ansible.result.code`' />\n<parameter name='output.status.message' value='`$org.openecomp.appc.adapter.ansible.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n","comments":"","x":1026.9523315429688,"y":1171.047694683075,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"7994c061.4c34b","type":"block","name":"block","xml":"<block atomic=\"true\">\n","atomic":"false","comments":"","outputs":1,"x":409.52384185791016,"y":1150.4760665893555,"z":"d5c2f7ab.9eeb78","wires":[["163d15dd.b3498a"]]},{"id":"80beb099.eee58","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":831.1903610229492,"y":1300.4761695861816,"z":"d5c2f7ab.9eeb78","wires":[["d887442e.fdbd68"]]},{"id":"e6a86a3a.62afb8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":830.1903610229492,"y":1251.4761695861816,"z":"d5c2f7ab.9eeb78","wires":[["565cf063.e3efb"]]},{"id":"565cf063.e3efb","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1006.1903610229492,"y":1255.4761695861816,"z":"d5c2f7ab.9eeb78","wires":[["484bbab0.c63454"]]},{"id":"484bbab0.c63454","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n","comments":"","x":1198.1903381347656,"y":1248.4761772155762,"z":"d5c2f7ab.9eeb78","wires":[]},{"id":"9ba09f64.03e81","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":769.5236740112305,"y":1373.8095436096191,"z":"d5c2f7ab.9eeb78","wires":[["6b8fab54.184374"]]},{"id":"6b8fab54.184374","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":932.5236740112305,"y":1373.8095436096191,"z":"d5c2f7ab.9eeb78","wires":[["5dadab18.730154"]]},{"id":"5dadab18.730154","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n<parameter name='code' value='`$output.status.code`' />\n<parameter name='message' value='`$output.status.message`'/>\n<parameter name='Status' value = '`$output.status.results`'/>\n","comments":"","x":1135.5236282348633,"y":1375.809624671936,"z":"d5c2f7ab.9eeb78","wires":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Ansible.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Ansible.json
index c46ad1608..81039f658 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Ansible.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Ansible.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"5803aa79.45b404","type":"method","name":"method GetTemplateConfig_Ansible","xml":"<method rpc='GetTemplateConfig_Ansible' mode='sync'>\n","comments":"","outputs":1,"x":588.7499847412109,"y":107.5,"z":"b2b332b8.ecb4c","wires":[["b3dc5912.de0548"]]},{"id":"35047526.e59a1a","type":"dgstart","name":"DGSTART","outputs":1,"x":127.0594711303711,"y":106.5714282989502,"z":"b2b332b8.ecb4c","wires":[["2ac38826.404d58"]]},{"id":"2ac38826.404d58","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":325.2023391723633,"y":104.14286041259766,"z":"b2b332b8.ecb4c","wires":[["5803aa79.45b404"]]},{"id":"7e21bb0c.03de44","type":"execute","name":"execute getTemplate","xml":"<execute plugin=\"org.openecomp.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":419.70245361328125,"y":319.5358352661133,"z":"b2b332b8.ecb4c","wires":[["54cd3796.95a458","90f2178d.ba27c8"]]},{"id":"90f2178d.ba27c8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":694.059513092041,"y":361.0000648498535,"z":"b2b332b8.ecb4c","wires":[["5392ab8b.3b7874"]]},{"id":"5392ab8b.3b7874","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":885.7896118164062,"y":362.1429262161255,"z":"b2b332b8.ecb4c","wires":[["d978e419.70a338"]]},{"id":"d978e419.70a338","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":1115.4563827514648,"y":364.9206962585449,"z":"b2b332b8.ecb4c","wires":[]},{"id":"54cd3796.95a458","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":700.583324432373,"y":283.6667594909668,"z":"b2b332b8.ecb4c","wires":[["e0937d2c.970ef"]]},{"id":"e0937d2c.970ef","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":884.916576385498,"y":288.0000877380371,"z":"b2b332b8.ecb4c","wires":[["9df2fa59.e3b388"]]},{"id":"b3dc5912.de0548","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":156.20235061645508,"y":342.5000410079956,"z":"b2b332b8.ecb4c","wires":[["7e21bb0c.03de44","941be79f.807ed8","7b6affbc.ca3f"]]},{"id":"ebd8afae.4253d","type":"not-found","name":"found","xml":"<outcome value='found'>\n","comments":"","outputs":1,"x":1145.6310234069824,"y":448.46429920196533,"z":"b2b332b8.ecb4c","wires":[["b022a59b.66efe8"]]},{"id":"8ced2749.1c0918","type":"other","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1149.7382049560547,"y":517.2143268585205,"z":"b2b332b8.ecb4c","wires":[["bb3ddb29.67e8a8"]]},{"id":"941be79f.807ed8","type":"call","name":"call Generic_AnsibleDG","xml":"<call module='APPC' rpc='Generic_AnsibleDG' mode='sync' >\n","comments":"","outputs":1,"x":324.91674041748047,"y":606.8571729660034,"z":"b2b332b8.ecb4c","wires":[["f0ca9dc.a029d6","c14fa4fe.f59ef8"]]},{"id":"b022a59b.66efe8","type":"call","name":"call MergeTemplateData","xml":"<call module='APPC' rpc='MergeTemplateData' mode='sync' >\n","comments":"","outputs":1,"x":1352.857192993164,"y":447.1428565979004,"z":"b2b332b8.ecb4c","wires":[[]]},{"id":"18d834e5.32eb1b","type":"execute","name":"execute getTemplate Parameter_definition","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getTemplateByVnfTypeNAction\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />","comments":"","outputs":1,"x":878.5714721679688,"y":471.4286117553711,"z":"b2b332b8.ecb4c","wires":[["ebd8afae.4253d","8ced2749.1c0918"]]},{"id":"bb3ddb29.67e8a8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1361.4285202026367,"y":528.5714836120605,"z":"b2b332b8.ecb4c","wires":[[]]},{"id":"f0ca9dc.a029d6","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":562.8571891784668,"y":657.1429481506348,"z":"b2b332b8.ecb4c","wires":[["4d19c7fd.436708"]]},{"id":"4d19c7fd.436708","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n<parameter name='output.status.code' value='`$output.status.code`' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n","comments":"","x":780.5716171264648,"y":663.5714693069458,"z":"b2b332b8.ecb4c","wires":[]},{"id":"c14fa4fe.f59ef8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":547.1428833007812,"y":558.5713958740234,"z":"b2b332b8.ecb4c","wires":[["55b4f534.292e5c"]]},{"id":"55b4f534.292e5c","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='output.status.code' value='200' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n","comments":"","x":798.571403503418,"y":574.28564453125,"z":"b2b332b8.ecb4c","wires":[]},{"id":"9df2fa59.e3b388","type":"execute","name":"execute: getAnsibleRunningConfig","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFilesByVnfActionNCategory\">\n<parameter name=\"fileCategory\" value=\"device_configuration\" />\n<parameter name='vnfname' value=\"`$config.vnf-name`\" />\n<parameter name='action' value=\"`$config.action`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.deviceconfig\" />\n","comments":"","outputs":1,"x":1141.6666107177734,"y":200.00000953674316,"z":"b2b332b8.ecb4c","wires":[["44e9bc7b.8cfb94","15aafa2c.198166","5aacae79.29154"]]},{"id":"5aacae79.29154","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1287.6666412353516,"y":281.9999647140503,"z":"b2b332b8.ecb4c","wires":[["8117d87b.2808a8"]]},{"id":"8117d87b.2808a8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1450.6666412353516,"y":281.9999647140503,"z":"b2b332b8.ecb4c","wires":[["b514f44.0458208"]]},{"id":"15aafa2c.198166","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1435.6666412353516,"y":224.9999647140503,"z":"b2b332b8.ecb4c","wires":[[]]},{"id":"44e9bc7b.8cfb94","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1441.3333206176758,"y":162.6666498184204,"z":"b2b332b8.ecb4c","wires":[["5e2afb10.22e314"]]},{"id":"b514f44.0458208","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n","comments":"","x":1653.6666412353516,"y":283.9999647140503,"z":"b2b332b8.ecb4c","wires":[]},{"id":"5e2afb10.22e314","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1617.3333206176758,"y":166.6666498184204,"z":"b2b332b8.ecb4c","wires":[["bd876721.641cc8"]]},{"id":"bd876721.641cc8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n","comments":"","x":1809.3333206176758,"y":159.6666498184204,"z":"b2b332b8.ecb4c","wires":[]},{"id":"7b6affbc.ca3f","type":"set","name":"set tmp.message","xml":"<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n","comments":"","x":308.75404357910156,"y":702.3611240386963,"z":"b2b332b8.ecb4c","wires":[]}]
+[{"id":"5803aa79.45b404","type":"method","name":"method GetTemplateConfig_Ansible","xml":"<method rpc='GetTemplateConfig_Ansible' mode='sync'>\n","comments":"","outputs":1,"x":588.7499847412109,"y":107.5,"z":"b2b332b8.ecb4c","wires":[["b3dc5912.de0548"]]},{"id":"35047526.e59a1a","type":"dgstart","name":"DGSTART","outputs":1,"x":127.0594711303711,"y":106.5714282989502,"z":"b2b332b8.ecb4c","wires":[["2ac38826.404d58"]]},{"id":"2ac38826.404d58","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":325.2023391723633,"y":104.14286041259766,"z":"b2b332b8.ecb4c","wires":[["5803aa79.45b404"]]},{"id":"7e21bb0c.03de44","type":"execute","name":"execute getTemplate","xml":"<execute plugin=\"org.openecomp.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":419.70245361328125,"y":319.5358352661133,"z":"b2b332b8.ecb4c","wires":[["54cd3796.95a458","90f2178d.ba27c8"]]},{"id":"90f2178d.ba27c8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":694.059513092041,"y":361.0000648498535,"z":"b2b332b8.ecb4c","wires":[["5392ab8b.3b7874"]]},{"id":"5392ab8b.3b7874","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":885.7896118164062,"y":362.1429262161255,"z":"b2b332b8.ecb4c","wires":[["d978e419.70a338"]]},{"id":"d978e419.70a338","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":1115.4563827514648,"y":364.9206962585449,"z":"b2b332b8.ecb4c","wires":[]},{"id":"54cd3796.95a458","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":700.583324432373,"y":283.6667594909668,"z":"b2b332b8.ecb4c","wires":[["e0937d2c.970ef"]]},{"id":"e0937d2c.970ef","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":884.916576385498,"y":288.0000877380371,"z":"b2b332b8.ecb4c","wires":[["9df2fa59.e3b388"]]},{"id":"b3dc5912.de0548","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":156.20235061645508,"y":342.5000410079956,"z":"b2b332b8.ecb4c","wires":[["7e21bb0c.03de44","941be79f.807ed8","7b6affbc.ca3f"]]},{"id":"ebd8afae.4253d","type":"not-found","name":"found","xml":"<outcome value='found'>\n","comments":"","outputs":1,"x":1145.6310234069824,"y":448.46429920196533,"z":"b2b332b8.ecb4c","wires":[["b022a59b.66efe8"]]},{"id":"8ced2749.1c0918","type":"other","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1149.7382049560547,"y":517.2143268585205,"z":"b2b332b8.ecb4c","wires":[["bb3ddb29.67e8a8"]]},{"id":"941be79f.807ed8","type":"call","name":"call Generic_AnsibleDG","xml":"<call module='APPC' rpc='Generic_AnsibleDG' mode='sync' >\n","comments":"","outputs":1,"x":324.91674041748047,"y":606.8571729660034,"z":"b2b332b8.ecb4c","wires":[["f0ca9dc.a029d6","c14fa4fe.f59ef8"]]},{"id":"b022a59b.66efe8","type":"call","name":"call MergeTemplateData","xml":"<call module='APPC' rpc='MergeTemplateData' mode='sync' >\n","comments":"","outputs":1,"x":1352.857192993164,"y":447.1428565979004,"z":"b2b332b8.ecb4c","wires":[[]]},{"id":"18d834e5.32eb1b","type":"execute","name":"execute getTemplate Parameter_definition","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getTemplateByVnfTypeNAction\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />","comments":"","outputs":1,"x":878.5714721679688,"y":471.4286117553711,"z":"b2b332b8.ecb4c","wires":[["ebd8afae.4253d","8ced2749.1c0918"]]},{"id":"bb3ddb29.67e8a8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1361.4285202026367,"y":528.5714836120605,"z":"b2b332b8.ecb4c","wires":[[]]},{"id":"f0ca9dc.a029d6","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":562.8571891784668,"y":657.1429481506348,"z":"b2b332b8.ecb4c","wires":[["4d19c7fd.436708"]]},{"id":"4d19c7fd.436708","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n<parameter name='output.status.code' value='`$output.status.code`' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n","comments":"","x":780.5716171264648,"y":663.5714693069458,"z":"b2b332b8.ecb4c","wires":[]},{"id":"c14fa4fe.f59ef8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":547.1428833007812,"y":558.5713958740234,"z":"b2b332b8.ecb4c","wires":[["55b4f534.292e5c"]]},{"id":"55b4f534.292e5c","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='output.status.code' value='200' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n","comments":"","x":798.571403503418,"y":574.28564453125,"z":"b2b332b8.ecb4c","wires":[]},{"id":"9df2fa59.e3b388","type":"execute","name":"execute: getAnsibleRunningConfig","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFilesByVnfActionNCategory\">\n<parameter name=\"fileCategory\" value=\"device_configuration\" />\n<parameter name='vnfname' value=\"`$config.vnf-name`\" />\n<parameter name='action' value=\"`$config.action`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.deviceconfig\" />\n","comments":"","outputs":1,"x":1141.6666107177734,"y":200.00000953674316,"z":"b2b332b8.ecb4c","wires":[["44e9bc7b.8cfb94","15aafa2c.198166","5aacae79.29154"]]},{"id":"5aacae79.29154","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1287.6666412353516,"y":281.9999647140503,"z":"b2b332b8.ecb4c","wires":[["8117d87b.2808a8"]]},{"id":"8117d87b.2808a8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1450.6666412353516,"y":281.9999647140503,"z":"b2b332b8.ecb4c","wires":[["b514f44.0458208"]]},{"id":"15aafa2c.198166","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1435.6666412353516,"y":224.9999647140503,"z":"b2b332b8.ecb4c","wires":[[]]},{"id":"44e9bc7b.8cfb94","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1441.3333206176758,"y":162.6666498184204,"z":"b2b332b8.ecb4c","wires":[["5e2afb10.22e314"]]},{"id":"b514f44.0458208","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n","comments":"","x":1653.6666412353516,"y":283.9999647140503,"z":"b2b332b8.ecb4c","wires":[]},{"id":"5e2afb10.22e314","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1617.3333206176758,"y":166.6666498184204,"z":"b2b332b8.ecb4c","wires":[["bd876721.641cc8"]]},{"id":"bd876721.641cc8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n","comments":"","x":1809.3333206176758,"y":159.6666498184204,"z":"b2b332b8.ecb4c","wires":[]},{"id":"7b6affbc.ca3f","type":"set","name":"set tmp.message","xml":"<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n","comments":"","x":308.75404357910156,"y":702.3611240386963,"z":"b2b332b8.ecb4c","wires":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Chef.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Chef.json
index 9b0ed2d23..0fed2cf26 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Chef.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetTemplateConfig_Chef.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"c9005ac7.c57248","type":"dgstart","name":"DGSTART","outputs":1,"x":130,"y":107.57143020629883,"z":"1c322045.61564","wires":[["81c4fde7.3fb5b"]]},{"id":"81c4fde7.3fb5b","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":311.00000762939453,"y":65.1428575515747,"z":"1c322045.61564","wires":[["c35c9610.8d2ad8"]]},{"id":"c35c9610.8d2ad8","type":"method","name":"method GetTemplateConfig_Chef ","xml":"<method rpc='GetTemplateConfig_Chef' mode='sync'>\n","comments":"","outputs":1,"x":574.5476837158203,"y":68.49999618530273,"z":"1c322045.61564","wires":[["791848b0.bcbe48"]]},{"id":"791848b0.bcbe48","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":142.00001907348633,"y":303.50003814697266,"z":"1c322045.61564","wires":[["13786ad0.1af775","9911db8b.909de8","a0dd8b28.4c27d8"]]},{"id":"13786ad0.1af775","type":"set","name":"set tmp.message","xml":"<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n","comments":"","x":409.37306213378906,"y":692.8253631591797,"z":"1c322045.61564","wires":[]},{"id":"3e746174.0ab35e","type":"execute","name":"execute isPDFILE","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getTemplateByVnfTypeNAction\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />","comments":"","outputs":1,"x":762.9166679382324,"y":514.1666812896729,"z":"1c322045.61564","wires":[["ca5f68cd.7df168","abf0e2c0.46e46"]]},{"id":"ca5f68cd.7df168","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1008.9166717529297,"y":494.6666507720947,"z":"1c322045.61564","wires":[[]]},{"id":"abf0e2c0.46e46","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1003.4166717529297,"y":536.6666774749756,"z":"1c322045.61564","wires":[["9285e961.bde908"]]},{"id":"9285e961.bde908","type":"call","name":"call chefDG","xml":"<call module='APPC' rpc='' mode='sync' >\n","comments":"","outputs":1,"x":1170.416690826416,"y":539.1666574478149,"z":"1c322045.61564","wires":[["6b096ef8.220c6"]]},{"id":"6b096ef8.220c6","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1349.1667938232422,"y":540.4167070388794,"z":"1c322045.61564","wires":[["3b23acb8.aee1b4"]]},{"id":"3b23acb8.aee1b4","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='output.status.code' value='`$org.openecomp.appc.adapter.ansible.result.code`' />\n<parameter name='output.status.message' value='`$org.openecomp.appc.adapter.ansible.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n","comments":"","x":1531.666706085205,"y":540.4166622161865,"z":"1c322045.61564","wires":[]},{"id":"9911db8b.909de8","type":"call","name":"call Generic_ChefDG","xml":"<call module='APPC' rpc='Generic_ChefDG' mode='sync' >\n","comments":"","outputs":1,"x":428.3334197998047,"y":591.666748046875,"z":"1c322045.61564","wires":[["13c04cd9.b43873","3d395b6f.37d6d4"]]},{"id":"70ff03bc.550c5c","type":"execute","name":"execute: getChefRunningConfig","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFilesByVnfActionNCategory\">\n<parameter name=\"fileCategory\" value=\"device_configuration\" />\n<parameter name='vnfname' value=\"`$config.vnf-name`\" />\n<parameter name='action' value=\"`$config.action`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.deviceconfig\" />\n","comments":"","outputs":1,"x":1041.66650390625,"y":158.33333206176758,"z":"1c322045.61564","wires":[["e0166624.d85ba8","2d46c9a9.5e4556","60877372.7124dc"]]},{"id":"60877372.7124dc","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1187.6665115356445,"y":240.3333044052124,"z":"1c322045.61564","wires":[["594ea12a.967b5"]]},{"id":"594ea12a.967b5","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1350.6665115356445,"y":240.3333044052124,"z":"1c322045.61564","wires":[["69841f84.beca3"]]},{"id":"2d46c9a9.5e4556","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1335.6665115356445,"y":183.3333044052124,"z":"1c322045.61564","wires":[[]]},{"id":"e0166624.d85ba8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1341.3331909179688,"y":120.99998950958252,"z":"1c322045.61564","wires":[["afceb049.effd"]]},{"id":"69841f84.beca3","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n","comments":"","x":1553.6665115356445,"y":242.3333044052124,"z":"1c322045.61564","wires":[]},{"id":"afceb049.effd","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1517.3331909179688,"y":124.99998950958252,"z":"1c322045.61564","wires":[["89203f87.bdd35"]]},{"id":"89203f87.bdd35","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n","comments":"","x":1709.3331909179688,"y":117.99998950958252,"z":"1c322045.61564","wires":[]},{"id":"a0dd8b28.4c27d8","type":"execute","name":"execute getTemplate","xml":"<execute plugin=\"org.openecomp.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":414.66676330566406,"y":274.1072106361389,"z":"1c322045.61564","wires":[["209fd4e.f5e6a2c","c880f1bf.06526"]]},{"id":"c880f1bf.06526","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":629.3811264038086,"y":316.52382373809814,"z":"1c322045.61564","wires":[["3e7c0fa2.d88be"]]},{"id":"3e7c0fa2.d88be","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":821.1112251281738,"y":317.6666851043701,"z":"1c322045.61564","wires":[["daf816d8.f062d8"]]},{"id":"daf816d8.f062d8","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":1050.7779960632324,"y":320.44445514678955,"z":"1c322045.61564","wires":[]},{"id":"209fd4e.f5e6a2c","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":635.9049377441406,"y":239.19051837921143,"z":"1c322045.61564","wires":[["32a527f0.aabd78"]]},{"id":"32a527f0.aabd78","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":820.2381896972656,"y":243.52384662628174,"z":"1c322045.61564","wires":[["70ff03bc.550c5c"]]},{"id":"3d395b6f.37d6d4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":651.6666259765625,"y":703.3333129882812,"z":"1c322045.61564","wires":[["d444f8cd.5ab698"]]},{"id":"d444f8cd.5ab698","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n<parameter name='output.status.code' value='`$output.status.code`' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n","comments":"","x":869.3810539245605,"y":709.7618341445923,"z":"1c322045.61564","wires":[]},{"id":"13c04cd9.b43873","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":635.952320098877,"y":604.7617607116699,"z":"1c322045.61564","wires":[["c021af06.07788"]]},{"id":"c021af06.07788","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='output.status.code' value='200' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n","comments":"","x":887.3808403015137,"y":620.4760093688965,"z":"1c322045.61564","wires":[]}]
+[{"id":"c9005ac7.c57248","type":"dgstart","name":"DGSTART","outputs":1,"x":130,"y":107.57143020629883,"z":"1c322045.61564","wires":[["81c4fde7.3fb5b"]]},{"id":"81c4fde7.3fb5b","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":311.00000762939453,"y":65.1428575515747,"z":"1c322045.61564","wires":[["c35c9610.8d2ad8"]]},{"id":"c35c9610.8d2ad8","type":"method","name":"method GetTemplateConfig_Chef ","xml":"<method rpc='GetTemplateConfig_Chef' mode='sync'>\n","comments":"","outputs":1,"x":574.5476837158203,"y":68.49999618530273,"z":"1c322045.61564","wires":[["791848b0.bcbe48"]]},{"id":"791848b0.bcbe48","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":142.00001907348633,"y":303.50003814697266,"z":"1c322045.61564","wires":[["13786ad0.1af775","9911db8b.909de8","a0dd8b28.4c27d8"]]},{"id":"13786ad0.1af775","type":"set","name":"set tmp.message","xml":"<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n","comments":"","x":409.37306213378906,"y":692.8253631591797,"z":"1c322045.61564","wires":[]},{"id":"3e746174.0ab35e","type":"execute","name":"execute isPDFILE","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getTemplateByVnfTypeNAction\">\n<parameter name=\"fileCategory\" value=\"config_template\" />\n<parameter name=\"responsePrefix\" value=\"config-template\" />","comments":"","outputs":1,"x":762.9166679382324,"y":514.1666812896729,"z":"1c322045.61564","wires":[["ca5f68cd.7df168","abf0e2c0.46e46"]]},{"id":"ca5f68cd.7df168","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1008.9166717529297,"y":494.6666507720947,"z":"1c322045.61564","wires":[[]]},{"id":"abf0e2c0.46e46","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1003.4166717529297,"y":536.6666774749756,"z":"1c322045.61564","wires":[["9285e961.bde908"]]},{"id":"9285e961.bde908","type":"call","name":"call chefDG","xml":"<call module='APPC' rpc='' mode='sync' >\n","comments":"","outputs":1,"x":1170.416690826416,"y":539.1666574478149,"z":"1c322045.61564","wires":[["6b096ef8.220c6"]]},{"id":"6b096ef8.220c6","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1349.1667938232422,"y":540.4167070388794,"z":"1c322045.61564","wires":[["3b23acb8.aee1b4"]]},{"id":"3b23acb8.aee1b4","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='output.status.code' value='`$org.openecomp.appc.adapter.ansible.result.code`' />\n<parameter name='output.status.message' value='`$org.openecomp.appc.adapter.ansible.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n","comments":"","x":1531.666706085205,"y":540.4166622161865,"z":"1c322045.61564","wires":[]},{"id":"9911db8b.909de8","type":"call","name":"call Generic_ChefDG","xml":"<call module='APPC' rpc='Generic_ChefDG' mode='sync' >\n","comments":"","outputs":1,"x":428.3334197998047,"y":591.666748046875,"z":"1c322045.61564","wires":[["13c04cd9.b43873","3d395b6f.37d6d4"]]},{"id":"70ff03bc.550c5c","type":"execute","name":"execute: getChefRunningConfig","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getConfigFilesByVnfActionNCategory\">\n<parameter name=\"fileCategory\" value=\"device_configuration\" />\n<parameter name='vnfname' value=\"`$config.vnf-name`\" />\n<parameter name='action' value=\"`$config.action`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.deviceconfig\" />\n","comments":"","outputs":1,"x":1041.66650390625,"y":158.33333206176758,"z":"1c322045.61564","wires":[["e0166624.d85ba8","2d46c9a9.5e4556","60877372.7124dc"]]},{"id":"60877372.7124dc","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1187.6665115356445,"y":240.3333044052124,"z":"1c322045.61564","wires":[["594ea12a.967b5"]]},{"id":"594ea12a.967b5","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1350.6665115356445,"y":240.3333044052124,"z":"1c322045.61564","wires":[["69841f84.beca3"]]},{"id":"2d46c9a9.5e4556","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1335.6665115356445,"y":183.3333044052124,"z":"1c322045.61564","wires":[[]]},{"id":"e0166624.d85ba8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1341.3331909179688,"y":120.99998950958252,"z":"1c322045.61564","wires":[["afceb049.effd"]]},{"id":"69841f84.beca3","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n","comments":"","x":1553.6665115356445,"y":242.3333044052124,"z":"1c322045.61564","wires":[]},{"id":"afceb049.effd","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1517.3331909179688,"y":124.99998950958252,"z":"1c322045.61564","wires":[["89203f87.bdd35"]]},{"id":"89203f87.bdd35","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"\"/>\n<parameter name=\"dcae-error-message\" value=\"`$tmp.deviceconfig.error-message`\"/>\n\n","comments":"","x":1709.3331909179688,"y":117.99998950958252,"z":"1c322045.61564","wires":[]},{"id":"a0dd8b28.4c27d8","type":"execute","name":"execute getTemplate","xml":"<execute plugin=\"org.openecomp.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":414.66676330566406,"y":274.1072106361389,"z":"1c322045.61564","wires":[["209fd4e.f5e6a2c","c880f1bf.06526"]]},{"id":"c880f1bf.06526","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":629.3811264038086,"y":316.52382373809814,"z":"1c322045.61564","wires":[["3e7c0fa2.d88be"]]},{"id":"3e7c0fa2.d88be","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":821.1112251281738,"y":317.6666851043701,"z":"1c322045.61564","wires":[["daf816d8.f062d8"]]},{"id":"daf816d8.f062d8","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":1050.7779960632324,"y":320.44445514678955,"z":"1c322045.61564","wires":[]},{"id":"209fd4e.f5e6a2c","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":635.9049377441406,"y":239.19051837921143,"z":"1c322045.61564","wires":[["32a527f0.aabd78"]]},{"id":"32a527f0.aabd78","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":820.2381896972656,"y":243.52384662628174,"z":"1c322045.61564","wires":[["70ff03bc.550c5c"]]},{"id":"3d395b6f.37d6d4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":651.6666259765625,"y":703.3333129882812,"z":"1c322045.61564","wires":[["d444f8cd.5ab698"]]},{"id":"d444f8cd.5ab698","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='device-running-config' value=\"`$tmp.deviceconfig.file-content`\" />\n<parameter name='output.status.code' value='`$output.status.code`' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n<parameter name='output.status.results' value = '`$output.status.results`'/>\n","comments":"","x":869.3810539245605,"y":709.7618341445923,"z":"1c322045.61564","wires":[]},{"id":"13c04cd9.b43873","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":635.952320098877,"y":604.7617607116699,"z":"1c322045.61564","wires":[["c021af06.07788"]]},{"id":"c021af06.07788","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='output.status.code' value='200' />\n<parameter name='output.status.message' value='`$output.status.message`'/>\n","comments":"","x":887.3808403015137,"y":620.4760093688965,"z":"1c322045.61564","wires":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetVfModuleInfo.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetVfModuleInfo.json
index f2247883b..0253b81a3 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetVfModuleInfo.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_GetVfModuleInfo.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"d0bfabf0.cf5018","type":"dgstart","name":"DGSTART","outputs":1,"x":242,"y":54,"z":"2e8f53e8.88cb5c","wires":[["1a12bc.08738d45"]]},{"id":"1a12bc.08738d45","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":423,"y":56,"z":"2e8f53e8.88cb5c","wires":[["e474848f.21f5f8"]]},{"id":"e474848f.21f5f8","type":"method","name":"method GetVfModuleInfo","xml":"<method rpc='GetVfModuleInfo' mode='sync'>\n","comments":"","outputs":1,"x":632,"y":52,"z":"2e8f53e8.88cb5c","wires":[["ab5248d5.760048"]]},{"id":"ab5248d5.760048","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":226,"y":111,"z":"2e8f53e8.88cb5c","wires":[["a570564e.9490f8","66ed2a9b.932894"]]},{"id":"a570564e.9490f8","type":"switchNode","name":"switch: ..tmp.aai-data-vm.relationship-list.relationship_length","xml":"<switch test=\"`$tmp.aai-data-vm.relationship-list.relationship_length`\">\n","comments":"","outputs":1,"x":563,"y":223,"z":"2e8f53e8.88cb5c","wires":[["b6f79781.cc5738","c08a74a.01ad688"]]},{"id":"b6f79781.cc5738","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":883,"y":172,"z":"2e8f53e8.88cb5c","wires":[["7956090a.c85eb8"]]},{"id":"7956090a.c85eb8","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":1033,"y":170,"z":"2e8f53e8.88cb5c","wires":[[]]},{"id":"c08a74a.01ad688","type":"other","name":"Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":881,"y":226,"z":"2e8f53e8.88cb5c","wires":[["c42e105e.98968"]]},{"id":"c42e105e.98968","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":1028,"y":221,"z":"2e8f53e8.88cb5c","wires":[["4b8f03e5.a7c54c"]]},{"id":"4b8f03e5.a7c54c","type":"for","name":"for: ...realtionship[]","xml":"<for atomic=\"true\" index=\"p\" start=\"0\" end=\"`$tmp.aai-data-vm.relationship-list.relationship_length`\" >","comments":"","outputs":1,"x":493,"y":301,"z":"2e8f53e8.88cb5c","wires":[["173a63dc.65a38c"]]},{"id":"173a63dc.65a38c","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":664,"y":301,"z":"2e8f53e8.88cb5c","wires":[["420e26df.969f58"]]},{"id":"420e26df.969f58","type":"switchNode","name":"switch: ...related-to","xml":"<switch test=\"`$tmp.aai-data-vm.relationship-list.relationship[$p].related-to`\">","comments":"","outputs":1,"x":839,"y":301,"z":"2e8f53e8.88cb5c","wires":[["4bb83cd1.1dc654"]]},{"id":"66ed2a9b.932894","type":"switchNode","name":"switch: tmp.vf-module-id","xml":"<switch test=\"`$tmp.vf-module-id`\">\n\n","comments":"","outputs":1,"x":393.5,"y":588,"z":"2e8f53e8.88cb5c","wires":[["540480a7.9f9a6"]]},{"id":"540480a7.9f9a6","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":578,"y":597,"z":"2e8f53e8.88cb5c","wires":[["e49ee214.93882"]]},{"id":"e49ee214.93882","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":727,"y":597,"z":"2e8f53e8.88cb5c","wires":[["5eeb968d.2583c8"]]},{"id":"5eeb968d.2583c8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<!-- Dont reset error codes for A&AI errors\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t-->\n<parameter name=\"aai-error-message\" value=\"`'Unable to get VF Module Id Info. ' + $aai-error-message`\"/>\n\t\n\t\n\t","comments":"","x":909,"y":599,"z":"2e8f53e8.88cb5c","wires":[]},{"id":"4bb83cd1.1dc654","type":"outcome","name":"vf-module","xml":"<outcome value=\"vf-module\">","comments":"","outputs":1,"x":1025,"y":299,"z":"2e8f53e8.88cb5c","wires":[["19f076a1.202eb9"]]},{"id":"19f076a1.202eb9","type":"for","name":"for: ...relationship-data[]","xml":"<for atomic=\"true\" index=\"q\" start=\"0\" end=\"`$tmp.aai-data-vm.relationship-list.relationship[$p].relationship-data_length`\" >","comments":"","outputs":1,"x":567,"y":361,"z":"2e8f53e8.88cb5c","wires":[["e17ddefa.38bfd"]]},{"id":"e17ddefa.38bfd","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":779,"y":362,"z":"2e8f53e8.88cb5c","wires":[["d0a8212a.63602"]]},{"id":"d0a8212a.63602","type":"switchNode","name":"switch: ...relationship-key","xml":"<switch test=\"`$tmp.aai-data-vm.relationship-list.relationship[$p].relationship-data[$q].relationship-key`\">","comments":"","outputs":1,"x":1022,"y":363,"z":"2e8f53e8.88cb5c","wires":[["22d4a363.1c5b4c"]]},{"id":"22d4a363.1c5b4c","type":"outcome","name":"vf-module.vf-module-id","xml":"<outcome value=\"vf-module.vf-module-id\">","comments":"","outputs":1,"x":682,"y":424,"z":"2e8f53e8.88cb5c","wires":[["9733527c.74d18"]]},{"id":"9733527c.74d18","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":894,"y":426,"z":"2e8f53e8.88cb5c","wires":[["ff51bcb4.c7ced","878fb3fa.fa008","22f05ed0.396902"]]},{"id":"ff51bcb4.c7ced","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n\n<parameter name=\"VFMODULEID\" value=\"`$tmp.aai-data-vm.relationship-list.relationship[$p].relationship-data[$q].relationship-value`\"/>\n","comments":"","outputs":1,"x":1066,"y":421,"z":"2e8f53e8.88cb5c","wires":[[]]},{"id":"878fb3fa.fa008","type":"set","name":"set tmp.vf-module-id","xml":"<set>\n<parameter name='tmp.vf-module-id' value='`$tmp.aai-data-vm.relationship-list.relationship[$p].relationship-data[$q].relationship-value`' />\n","comments":"","x":1088,"y":461,"z":"2e8f53e8.88cb5c","wires":[]},{"id":"22f05ed0.396902","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\n","comments":"","x":1053,"y":509,"z":"2e8f53e8.88cb5c","wires":[]},{"id":"120d0519.89947b","type":"comment","name":"Return failure so that it will exit immediately","info":"","comments":"","x":729,"y":506,"z":"2e8f53e8.88cb5c","wires":[]}]
+[{"id":"d0bfabf0.cf5018","type":"dgstart","name":"DGSTART","outputs":1,"x":242,"y":54,"z":"2e8f53e8.88cb5c","wires":[["1a12bc.08738d45"]]},{"id":"1a12bc.08738d45","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":423,"y":56,"z":"2e8f53e8.88cb5c","wires":[["e474848f.21f5f8"]]},{"id":"e474848f.21f5f8","type":"method","name":"method GetVfModuleInfo","xml":"<method rpc='GetVfModuleInfo' mode='sync'>\n","comments":"","outputs":1,"x":632,"y":52,"z":"2e8f53e8.88cb5c","wires":[["ab5248d5.760048"]]},{"id":"ab5248d5.760048","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":226,"y":111,"z":"2e8f53e8.88cb5c","wires":[["a570564e.9490f8","66ed2a9b.932894"]]},{"id":"a570564e.9490f8","type":"switchNode","name":"switch: ..tmp.aai-data-vm.relationship-list.relationship_length","xml":"<switch test=\"`$tmp.aai-data-vm.relationship-list.relationship_length`\">\n","comments":"","outputs":1,"x":563,"y":223,"z":"2e8f53e8.88cb5c","wires":[["b6f79781.cc5738","c08a74a.01ad688"]]},{"id":"b6f79781.cc5738","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":883,"y":172,"z":"2e8f53e8.88cb5c","wires":[["7956090a.c85eb8"]]},{"id":"7956090a.c85eb8","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":1033,"y":170,"z":"2e8f53e8.88cb5c","wires":[[]]},{"id":"c08a74a.01ad688","type":"other","name":"Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":881,"y":226,"z":"2e8f53e8.88cb5c","wires":[["c42e105e.98968"]]},{"id":"c42e105e.98968","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":1028,"y":221,"z":"2e8f53e8.88cb5c","wires":[["4b8f03e5.a7c54c"]]},{"id":"4b8f03e5.a7c54c","type":"for","name":"for: ...realtionship[]","xml":"<for atomic=\"true\" index=\"p\" start=\"0\" end=\"`$tmp.aai-data-vm.relationship-list.relationship_length`\" >","comments":"","outputs":1,"x":493,"y":301,"z":"2e8f53e8.88cb5c","wires":[["173a63dc.65a38c"]]},{"id":"173a63dc.65a38c","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":664,"y":301,"z":"2e8f53e8.88cb5c","wires":[["420e26df.969f58"]]},{"id":"420e26df.969f58","type":"switchNode","name":"switch: ...related-to","xml":"<switch test=\"`$tmp.aai-data-vm.relationship-list.relationship[$p].related-to`\">","comments":"","outputs":1,"x":839,"y":301,"z":"2e8f53e8.88cb5c","wires":[["4bb83cd1.1dc654"]]},{"id":"66ed2a9b.932894","type":"switchNode","name":"switch: tmp.vf-module-id","xml":"<switch test=\"`$tmp.vf-module-id`\">\n\n","comments":"","outputs":1,"x":393.5,"y":588,"z":"2e8f53e8.88cb5c","wires":[["540480a7.9f9a6"]]},{"id":"540480a7.9f9a6","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":578,"y":597,"z":"2e8f53e8.88cb5c","wires":[["e49ee214.93882"]]},{"id":"e49ee214.93882","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":727,"y":597,"z":"2e8f53e8.88cb5c","wires":[["5eeb968d.2583c8"]]},{"id":"5eeb968d.2583c8","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<!-- Dont reset error codes for A&AI errors\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t-->\n<parameter name=\"aai-error-message\" value=\"`'Unable to get VF Module Id Info. ' + $aai-error-message`\"/>\n\t\n\t\n\t","comments":"","x":909,"y":599,"z":"2e8f53e8.88cb5c","wires":[]},{"id":"4bb83cd1.1dc654","type":"outcome","name":"vf-module","xml":"<outcome value=\"vf-module\">","comments":"","outputs":1,"x":1025,"y":299,"z":"2e8f53e8.88cb5c","wires":[["19f076a1.202eb9"]]},{"id":"19f076a1.202eb9","type":"for","name":"for: ...relationship-data[]","xml":"<for atomic=\"true\" index=\"q\" start=\"0\" end=\"`$tmp.aai-data-vm.relationship-list.relationship[$p].relationship-data_length`\" >","comments":"","outputs":1,"x":567,"y":361,"z":"2e8f53e8.88cb5c","wires":[["e17ddefa.38bfd"]]},{"id":"e17ddefa.38bfd","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":779,"y":362,"z":"2e8f53e8.88cb5c","wires":[["d0a8212a.63602"]]},{"id":"d0a8212a.63602","type":"switchNode","name":"switch: ...relationship-key","xml":"<switch test=\"`$tmp.aai-data-vm.relationship-list.relationship[$p].relationship-data[$q].relationship-key`\">","comments":"","outputs":1,"x":1022,"y":363,"z":"2e8f53e8.88cb5c","wires":[["22d4a363.1c5b4c"]]},{"id":"22d4a363.1c5b4c","type":"outcome","name":"vf-module.vf-module-id","xml":"<outcome value=\"vf-module.vf-module-id\">","comments":"","outputs":1,"x":682,"y":424,"z":"2e8f53e8.88cb5c","wires":[["9733527c.74d18"]]},{"id":"9733527c.74d18","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":894,"y":426,"z":"2e8f53e8.88cb5c","wires":[["ff51bcb4.c7ced","878fb3fa.fa008","22f05ed0.396902"]]},{"id":"ff51bcb4.c7ced","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\n<parameter name=\"VFMODULEID\" value=\"`$tmp.aai-data-vm.relationship-list.relationship[$p].relationship-data[$q].relationship-value`\"/>\n","comments":"","outputs":1,"x":1066,"y":421,"z":"2e8f53e8.88cb5c","wires":[[]]},{"id":"878fb3fa.fa008","type":"set","name":"set tmp.vf-module-id","xml":"<set>\n<parameter name='tmp.vf-module-id' value='`$tmp.aai-data-vm.relationship-list.relationship[$p].relationship-data[$q].relationship-value`' />\n","comments":"","x":1088,"y":461,"z":"2e8f53e8.88cb5c","wires":[]},{"id":"22f05ed0.396902","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\n","comments":"","x":1053,"y":509,"z":"2e8f53e8.88cb5c","wires":[]},{"id":"120d0519.89947b","type":"comment","name":"Return failure so that it will exit immediately","info":"","comments":"","x":729,"y":506,"z":"2e8f53e8.88cb5c","wires":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_MigrateVM.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_MigrateVM.json
index 8f35c60ed..1e66423fb 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_MigrateVM.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_MigrateVM.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"29daabd9.730244","type":"dgstart","name":"DGSTART","outputs":1,"x":196.75,"y":188,"z":"27eb9f4d.8d411","wires":[["cc222124.e7128"]]},{"id":"cc222124.e7128","type":"service-logic","name":"APPC 2.0.0","module":"APPC","version":"2.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>","outputs":1,"x":353.75,"y":188,"z":"27eb9f4d.8d411","wires":[["7e1c4042.16219"]]},{"id":"7e1c4042.16219","type":"method","name":"MigrateVM","xml":"<method rpc='MigrateVM' mode='sync'>\n","comments":"","outputs":1,"x":551.75,"y":190,"z":"27eb9f4d.8d411","wires":[["c110c152.1bc2a8"]]},{"id":"1f969631.1d8242","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":919.7499694824219,"y":399.9999694824219,"z":"27eb9f4d.8d411","wires":[["9805b9e5.9e953"]]},{"id":"c17662ed.1e20f8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":928.7499694824219,"y":278.9999694824219,"z":"27eb9f4d.8d411","wires":[["da84e71.f159418"]]},{"id":"88ee1742.3ee838","type":"returnSuccess","name":"return success","xml":"<return status='success'>","comments":"","x":1475.7499694824219,"y":371.9999694824219,"z":"27eb9f4d.8d411","wires":[]},{"id":"3ef14420.6e1444","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":1236.7499694824219,"y":278.9999694824219,"z":"27eb9f4d.8d411","wires":[]},{"id":"9805b9e5.9e953","type":"switchNode","name":"switch error-code","xml":"<switch test='`$error_code`'>\n","comments":"","outputs":1,"x":1112.7499694824219,"y":400.9999694824219,"z":"27eb9f4d.8d411","wires":[["691e84cc.425a2c","aa558b50.816e18"]]},{"id":"691e84cc.425a2c","type":"success","name":"SUCCESS 200","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":1294.7499694824219,"y":370.9999694824219,"z":"27eb9f4d.8d411","wires":[["88ee1742.3ee838"]]},{"id":"aa558b50.816e18","type":"outcome","name":"ERROR","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1286.7499694824219,"y":529.9999694824219,"z":"27eb9f4d.8d411","wires":[["26d4a85e.24a188"]]},{"id":"26d4a85e.24a188","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1419.7499694824219,"y":530.9999694824219,"z":"27eb9f4d.8d411","wires":[["25417c19.7df6bc","d562ae2a.dd7e68"]]},{"id":"25417c19.7df6bc","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":1554.7499694824219,"y":572,"z":"27eb9f4d.8d411","wires":[]},{"id":"da84e71.f159418","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1084.7499694824219,"y":278.9999694824219,"z":"27eb9f4d.8d411","wires":[["3ef14420.6e1444"]]},{"id":"f66a49ef.3f7618","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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":918.86669921875,"y":220,"z":"27eb9f4d.8d411","wires":[[]]},{"id":"c110c152.1bc2a8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":740.6166687011719,"y":248.86666870117188,"z":"27eb9f4d.8d411","wires":[["f66a49ef.3f7618","c3151ca4.c3d568","553a1643.e935b8"]]},{"id":"d562ae2a.dd7e68","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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":1544.6166687011719,"y":502.8666687011719,"z":"27eb9f4d.8d411","wires":[[]]},{"id":"c3151ca4.c3d568","type":"execute","name":"migrateServer()","xml":"<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='migrateServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$identity-url`\" />\n<parameter name=\"org.openecomp.appc.skiphypervisorcheck\" value=\"`$skip-hypervisor-check`\" />","comments":"","outputs":1,"x":756.7499694824219,"y":334,"z":"27eb9f4d.8d411","wires":[["c17662ed.1e20f8","1f969631.1d8242"]]},{"id":"553a1643.e935b8","type":"set","name":"set skiphypervisorcheck","xml":"<set>\n<parameter name='org.openecomp.appc.skiphypervisorcheck' value='`$skip-hypervisor-check`' />\n","comments":"","x":954.75,"y":146.75,"z":"27eb9f4d.8d411","wires":[]}]
+[{"id":"29daabd9.730244","type":"dgstart","name":"DGSTART","outputs":1,"x":196.75,"y":188,"z":"27eb9f4d.8d411","wires":[["cc222124.e7128"]]},{"id":"cc222124.e7128","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":353.75,"y":188,"z":"27eb9f4d.8d411","wires":[["7e1c4042.16219"]]},{"id":"7e1c4042.16219","type":"method","name":"MigrateVM","xml":"<method rpc='MigrateVM' mode='sync'>\n","comments":"","outputs":1,"x":551.75,"y":190,"z":"27eb9f4d.8d411","wires":[["c110c152.1bc2a8"]]},{"id":"1f969631.1d8242","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":919.7499694824219,"y":399.9999694824219,"z":"27eb9f4d.8d411","wires":[["9805b9e5.9e953"]]},{"id":"c17662ed.1e20f8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":928.7499694824219,"y":278.9999694824219,"z":"27eb9f4d.8d411","wires":[["da84e71.f159418"]]},{"id":"88ee1742.3ee838","type":"returnSuccess","name":"return success","xml":"<return status='success'>","comments":"","x":1475.7499694824219,"y":371.9999694824219,"z":"27eb9f4d.8d411","wires":[]},{"id":"3ef14420.6e1444","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":1236.7499694824219,"y":278.9999694824219,"z":"27eb9f4d.8d411","wires":[]},{"id":"9805b9e5.9e953","type":"switchNode","name":"switch error-code","xml":"<switch test='`$error_code`'>\n","comments":"","outputs":1,"x":1112.7499694824219,"y":400.9999694824219,"z":"27eb9f4d.8d411","wires":[["691e84cc.425a2c","aa558b50.816e18"]]},{"id":"691e84cc.425a2c","type":"success","name":"SUCCESS 200","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":1294.7499694824219,"y":370.9999694824219,"z":"27eb9f4d.8d411","wires":[["88ee1742.3ee838"]]},{"id":"aa558b50.816e18","type":"outcome","name":"ERROR","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1286.7499694824219,"y":529.9999694824219,"z":"27eb9f4d.8d411","wires":[["26d4a85e.24a188"]]},{"id":"26d4a85e.24a188","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1419.7499694824219,"y":530.9999694824219,"z":"27eb9f4d.8d411","wires":[["25417c19.7df6bc","d562ae2a.dd7e68"]]},{"id":"25417c19.7df6bc","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":1554.7499694824219,"y":572,"z":"27eb9f4d.8d411","wires":[]},{"id":"da84e71.f159418","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1084.7499694824219,"y":278.9999694824219,"z":"27eb9f4d.8d411","wires":[["3ef14420.6e1444"]]},{"id":"f66a49ef.3f7618","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":918.86669921875,"y":220,"z":"27eb9f4d.8d411","wires":[[]]},{"id":"c110c152.1bc2a8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":740.6166687011719,"y":248.86666870117188,"z":"27eb9f4d.8d411","wires":[["f66a49ef.3f7618","c3151ca4.c3d568","553a1643.e935b8"]]},{"id":"d562ae2a.dd7e68","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":1544.6166687011719,"y":502.8666687011719,"z":"27eb9f4d.8d411","wires":[[]]},{"id":"c3151ca4.c3d568","type":"execute","name":"migrateServer()","xml":"<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='migrateServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$identity-url`\" />\n<parameter name=\"org.openecomp.appc.skiphypervisorcheck\" value=\"`$skip-hypervisor-check`\" />","comments":"","outputs":1,"x":756.7499694824219,"y":334,"z":"27eb9f4d.8d411","wires":[["c17662ed.1e20f8","1f969631.1d8242"]]},{"id":"553a1643.e935b8","type":"set","name":"set skiphypervisorcheck","xml":"<set>\n<parameter name='org.openecomp.appc.skiphypervisorcheck' value='`$skip-hypervisor-check`' />\n","comments":"","x":954.75,"y":146.75,"z":"27eb9f4d.8d411","wires":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ProcessParameterDefinition.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ProcessParameterDefinition.json
index 079c37e69..db1f0449e 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ProcessParameterDefinition.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ProcessParameterDefinition.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"2158a194.1f194e","type":"dgstart","name":"DGSTART","outputs":1,"x":210,"y":82,"z":"1d62f09b.653dff","wires":[["d50915e2.c462a8"]]},{"id":"d50915e2.c462a8","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":362,"y":85,"z":"1d62f09b.653dff","wires":[["69400c59.f5b5b4"]]},{"id":"69400c59.f5b5b4","type":"method","name":"method ProcessParametersDefinition","xml":"<method rpc='ProcessParameterDefinition' mode='sync'>\n","comments":"","outputs":1,"x":617,"y":84,"z":"1d62f09b.653dff","wires":[["e4aa58e0.4cf328"]]},{"id":"e4aa58e0.4cf328","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":238,"y":144,"z":"1d62f09b.653dff","wires":[["666a8fd4.8ffd8"]]},{"id":"666a8fd4.8ffd8","type":"execute","name":"execute getTemplate Parameter_definition","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getTemplate\">\n<parameter name=\"fileCategory\" value=\"parameter_definitions\" />\n<parameter name=\"responsePrefix\" value=\"parameter-definitions\" />","comments":"","outputs":1,"x":553,"y":142,"z":"1d62f09b.653dff","wires":[["a5091352.53d75","98e0dc66.4938a","8c1764db.08e568"]]},{"id":"a5091352.53d75","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":872,"y":135,"z":"1d62f09b.653dff","wires":[["fc420e10.a4535"]]},{"id":"8c1764db.08e568","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":864,"y":174,"z":"1d62f09b.653dff","wires":[["3372dc74.357bb4"]]},{"id":"fc420e10.a4535","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1024,"y":131,"z":"1d62f09b.653dff","wires":[["351359fa.9d4f26"]]},{"id":"3372dc74.357bb4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1018,"y":181,"z":"1d62f09b.653dff","wires":[["811b2688.0dcd18"]]},{"id":"351359fa.9d4f26","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 parameter definitions\"/>\n\t\n\t\n\t","comments":"","x":1194,"y":133,"z":"1d62f09b.653dff","wires":[]},{"id":"3f6dcf76.40da4","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$parameter-definitions.error-message`\"/>\n\t\n\t\n\t","comments":"","x":1182,"y":231,"z":"1d62f09b.653dff","wires":[]},{"id":"86037f00.c7dc5","type":"execute","name":"execute Get Instar Params","xml":"<execute plugin=\"org.openecomp.sdnc.config.params.parser.PropertyDefinitionNode\" method=\"processExternalSystemParamKeys\">\n<parameter name=\"systemName\" value=\"INSTAR\" />\n<parameter name=\"pdContent\" value=\"`$parameter-definitions.file-content`\" />\n<parameter name=\"jsonData\" value=\"`$configuration-params`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.instarParams\" />","comments":"","outputs":1,"x":298,"y":289,"z":"1d62f09b.653dff","wires":[["6d835a53.6595c4","66d08efa.e628b"]]},{"id":"6d835a53.6595c4","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":552,"y":271,"z":"1d62f09b.653dff","wires":[["e032c80c.ba08a8"]]},{"id":"66d08efa.e628b","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":540,"y":334,"z":"1d62f09b.653dff","wires":[["e88e851b.315d38"]]},{"id":"e032c80c.ba08a8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":715,"y":273,"z":"1d62f09b.653dff","wires":[["70028148.74044"]]},{"id":"e88e851b.315d38","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":688,"y":332,"z":"1d62f09b.653dff","wires":[["52ccb0b.e0de95"]]},{"id":"70028148.74044","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 Instar parameter definitions\"/>\n\t\n\t\n\t","comments":"","x":893,"y":270,"z":"1d62f09b.653dff","wires":[]},{"id":"52ccb0b.e0de95","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.instarParams.error-message`\"/>\n\t\n\t\n\t","comments":"","x":861,"y":331,"z":"1d62f09b.653dff","wires":[]},{"id":"33e8a0b7.d58be","type":"execute","name":"execute getTemplate Parameter_yang","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getTemplate\">\n<parameter name=\"fileCategory\" value=\"parameter_yang\" />\n<parameter name=\"responsePrefix\" value=\"parameter-yang\" />","comments":"","outputs":1,"x":326,"y":738,"z":"1d62f09b.653dff","wires":[["5411882c.030498","b0439127.fa374","39fe603c.f8171"]]},{"id":"5411882c.030498","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":582.5,"y":708,"z":"1d62f09b.653dff","wires":[["15ab6272.d3333e"]]},{"id":"b0439127.fa374","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":575.5,"y":766,"z":"1d62f09b.653dff","wires":[["6ed77220.53ab6c"]]},{"id":"15ab6272.d3333e","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":728.5,"y":707,"z":"1d62f09b.653dff","wires":[["5abbbddd.2fdd84","7f07065c.21aa58","dc62f036.1a331"]]},{"id":"6ed77220.53ab6c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":719.5,"y":768,"z":"1d62f09b.653dff","wires":[["8e93eb26.7e0988","7f07065c.21aa58","dc62f036.1a331"]]},{"id":"6a3156b.ee952a8","type":"comment","name":"INSTAR keys","info":"Result: [INSTAR.LOCAL_CORE_ALT_IP_ADDR.request-logic, INSTAR.LOCAL_CORE_ALT_IP_ADDR_MOD.request-logic, test.status, INSTAR.LOCAL_CORE_ALT_IP_ADDR_MOD.response-logic, INSTAR.LOCAL_CORE_ALT_IP_ADDR.response-logic, INSTAR.keys]\nINSTAR.keys : [\"LOCAL_CORE_ALT_IP_ADDR\",\"LOCAL_CORE_ALT_IP_ADDR_MOD\"]\nINSTAR.LOCAL_CORE_ALT_IP_ADDR.request-logic : null\nINSTAR.LOCAL_CORE_ALT_IP_ADDR.response-logic : null","comments":"","x":1465.5,"y":432,"z":"1d62f09b.653dff","wires":[]},{"id":"e5e7d1ac.76bb7","type":"execute","name":"execute Get Instar Data","xml":"<execute plugin=\"org.openecomp.appc.instar.node.InstarClientNode\" method=\"getInstarInfo\">\n<parameter name=\"instarKeys\" value=\"`$INSTAR.keys`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.instarValues\" />\n","comments":"","outputs":1,"x":881.5,"y":491,"z":"1d62f09b.653dff","wires":[["93afed75.efdb3"]]},{"id":"93afed75.efdb3","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1138.5,"y":489,"z":"1d62f09b.653dff","wires":[["70f1ba7e.3d82f4"]]},{"id":"70f1ba7e.3d82f4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1298.5,"y":491,"z":"1d62f09b.653dff","wires":[["2b90ad9a.211d22"]]},{"id":"2b90ad9a.211d22","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.instarValues.error-message`\"/>\n\t\n\t\n\t","comments":"","x":1467.5,"y":488,"z":"1d62f09b.653dff","wires":[]},{"id":"ca662853.446ed8","type":"execute","name":"execute read PD file","xml":"<execute plugin=\"org.openecomp.sdnc.config.generator.reader.ReaderNode\" method=\"getFileData\">\n<parameter name=\"fileName\" value=\"/opt/app/bvc/templates/pd.yaml\" />\n<parameter name=\"responsePrefix\" value=\"tmpFileData\" />","comments":"","outputs":1,"x":1477.5,"y":96,"z":"1d62f09b.653dff","wires":[[]]},{"id":"e6b2c683.cca4e8","type":"execute","name":"execute Get Complete Set of Params","xml":"<execute plugin=\"org.openecomp.sdnc.config.params.parser.PropertyDefinitionNode\" method=\"mergeJsonData\">\n<parameter name=\"jsonData\" value=\"`$configuration-params`\" />\n<parameter name=\"mergeJsonData\" value=\"`$tmp.instarValues.INSTAR-KEY-VALUES`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.allParams\" />","comments":"","outputs":1,"x":895.5,"y":566,"z":"1d62f09b.653dff","wires":[["e087477f.d4f878"]]},{"id":"e087477f.d4f878","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1153,"y":569,"z":"1d62f09b.653dff","wires":[["20063435.aecd9c"]]},{"id":"20063435.aecd9c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1305,"y":566,"z":"1d62f09b.653dff","wires":[["5761a3cf.c4dc4c"]]},{"id":"5761a3cf.c4dc4c","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.allParams.error-message`\"/>\n\t\n\t\n\t","comments":"","x":1456,"y":571,"z":"1d62f09b.653dff","wires":[]},{"id":"4577a98f.9f9c28","type":"set","name":"set","xml":"<set>\n<parameter name='parameter-definitions.file-content' value='`$tmpFileData.fileData`' />\n","comments":"","x":1457.5,"y":169,"z":"1d62f09b.653dff","wires":[]},{"id":"7d1276d9.b854e8","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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=\"`$INSTAR.keys`\" />\n","comments":"","outputs":1,"x":820,"y":443,"z":"1d62f09b.653dff","wires":[[]]},{"id":"a56b5f50.f6b18","type":"switchNode","name":"switch Instar Keys exists","xml":"<switch test='`$INSTAR.keys`'>\n","comments":"","outputs":1,"x":262,"y":438,"z":"1d62f09b.653dff","wires":[["35618876.01a2a8","bb3b56aa.fca5a8","285829ff.5ef416"]]},{"id":"35618876.01a2a8","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":481,"y":441,"z":"1d62f09b.653dff","wires":[["bb0994f5.44ccc8"]]},{"id":"bb0994f5.44ccc8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":662,"y":442,"z":"1d62f09b.653dff","wires":[[]]},{"id":"bb3b56aa.fca5a8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":466,"y":492,"z":"1d62f09b.653dff","wires":[["686e1d0f.ea0634"]]},{"id":"686e1d0f.ea0634","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":632,"y":492,"z":"1d62f09b.653dff","wires":[["e5e7d1ac.76bb7","e6b2c683.cca4e8","41045718.d06e28","7d1276d9.b854e8"]]},{"id":"41045718.d06e28","type":"set","name":"set configuration-params","xml":"<set>\n<parameter name='configuration-params' value='`$tmp.allParams.configuration-parameters`' />\n\n","comments":"","x":851,"y":630,"z":"1d62f09b.653dff","wires":[]},{"id":"39fe603c.f8171","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":257.5,"y":828,"z":"1d62f09b.653dff","wires":[["547d62bf.0b6c4c"]]},{"id":"547d62bf.0b6c4c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":420.5,"y":831,"z":"1d62f09b.653dff","wires":[["6d22c69f.2abc38"]]},{"id":"6d22c69f.2abc38","type":"execute","name":"execute Save in MDSal","xml":"<execute plugin='org.openecomp.appc.dg.common.VNFConfigurator' method='storeConfig' >\n<parameter name=\"uniqueId\" value=\"`$parameter-yang.config-file-id`\" />\n<parameter name=\"yang\" value=\"`$parameter-yang.file-content`\" />\n<parameter name=\"requestId\" value=\"`$request-id`\" />\n<parameter name=\"configJSON\" value=\"`'{&quot;vnf-config&quot;:' + $configuration-params + '}'`\" />\n<parameter name=\"prefix\" value=\"tmp.mdSalSave\" />\n\n<!--\n<parameter name=\"configJSON\" value=\"`$configuration-params`\" /> -->\n","comments":"","outputs":1,"x":643.5,"y":834,"z":"1d62f09b.653dff","wires":[["24f7581c.4787f8"]]},{"id":"24f7581c.4787f8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":840.5,"y":838,"z":"1d62f09b.653dff","wires":[["729cb57e.d7997c"]]},{"id":"729cb57e.d7997c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":984.5,"y":837,"z":"1d62f09b.653dff","wires":[["1591ce44.e43822","7f07065c.21aa58","dc62f036.1a331"]]},{"id":"5abbbddd.2fdd84","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"Unable to get Yang Model\"/>","comments":"","x":944.5,"y":708,"z":"1d62f09b.653dff","wires":[]},{"id":"8e93eb26.7e0988","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"`$parameter-yang.error-message`\"/>","comments":"","x":922.5,"y":769,"z":"1d62f09b.653dff","wires":[]},{"id":"1591ce44.e43822","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"`$tmp.mdSalSave.ERROR_MESSAGE`\"/>","comments":"","x":1194.5,"y":836,"z":"1d62f09b.653dff","wires":[]},{"id":"7f07065c.21aa58","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`'501:' + $dcae-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":735.5,"y":934,"z":"1d62f09b.653dff","wires":[["f8490268.c930e"]]},{"id":"3c5625a1.eec71a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1108.5,"y":935,"z":"1d62f09b.653dff","wires":[[]]},{"id":"f8490268.c930e","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":937.5,"y":936,"z":"1d62f09b.653dff","wires":[["3c5625a1.eec71a"]]},{"id":"dc62f036.1a331","type":"execute","name":"execute IntermediateMessageSender","xml":"<execute plugin='org.openecomp.appc.dg.common.IntermediateMessageSender' method='sendMessage' >\n<parameter name='code' value=\"501\" />\n<parameter name='message' value=\"`$dcae-error-message`\" />\n<parameter name='prefix' value=\"tmp.intermediateerror\"/>","comments":"","outputs":1,"x":766.5,"y":1008,"z":"1d62f09b.653dff","wires":[["c105074b.328e78","4f55c02f.e48f3"]]},{"id":"c105074b.328e78","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1002.5,"y":1006,"z":"1d62f09b.653dff","wires":[["1ad124f3.55337b"]]},{"id":"4f55c02f.e48f3","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":987.5,"y":1069,"z":"1d62f09b.653dff","wires":[["1ad124f3.55337b"]]},{"id":"f4496313.24acc","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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=\"MSGSENDERERERROR\" value=\"Unable to call IntermediateErrorMessageSender\"/>\n","comments":"","outputs":1,"x":1310.5,"y":1041,"z":"1d62f09b.653dff","wires":[[]]},{"id":"98e0dc66.4938a","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":159,"y":206,"z":"1d62f09b.653dff","wires":[["55593da7.06c544"]]},{"id":"55593da7.06c544","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":320,"y":211,"z":"1d62f09b.653dff","wires":[["86037f00.c7dc5","a56b5f50.f6b18","33e8a0b7.d58be"]]},{"id":"811b2688.0dcd18","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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=\"`'PD FILE NOTFOUND ' + $parameter-definitions.error-message`\" />\n","comments":"","outputs":1,"x":1153,"y":182,"z":"1d62f09b.653dff","wires":[[]]},{"id":"285829ff.5ef416","type":"success","name":"outcome: []","xml":"<outcome value='[]'>","comments":"","outputs":1,"x":486,"y":396,"z":"1d62f09b.653dff","wires":[["392efcf6.e32734"]]},{"id":"392efcf6.e32734","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":647,"y":397,"z":"1d62f09b.653dff","wires":[[]]},{"id":"1ad124f3.55337b","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1158,"y":1038,"z":"1d62f09b.653dff","wires":[["f4496313.24acc"]]}]
+[{"id":"2158a194.1f194e","type":"dgstart","name":"DGSTART","outputs":1,"x":210,"y":82,"z":"1d62f09b.653dff","wires":[["d50915e2.c462a8"]]},{"id":"d50915e2.c462a8","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":362,"y":85,"z":"1d62f09b.653dff","wires":[["69400c59.f5b5b4"]]},{"id":"69400c59.f5b5b4","type":"method","name":"method ProcessParametersDefinition","xml":"<method rpc='ProcessParameterDefinition' mode='sync'>\n","comments":"","outputs":1,"x":617,"y":84,"z":"1d62f09b.653dff","wires":[["e4aa58e0.4cf328"]]},{"id":"e4aa58e0.4cf328","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":238,"y":144,"z":"1d62f09b.653dff","wires":[["666a8fd4.8ffd8"]]},{"id":"666a8fd4.8ffd8","type":"execute","name":"execute getTemplate Parameter_definition","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getTemplate\">\n<parameter name=\"fileCategory\" value=\"parameter_definitions\" />\n<parameter name=\"responsePrefix\" value=\"parameter-definitions\" />","comments":"","outputs":1,"x":553,"y":142,"z":"1d62f09b.653dff","wires":[["a5091352.53d75","98e0dc66.4938a","8c1764db.08e568"]]},{"id":"a5091352.53d75","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":872,"y":135,"z":"1d62f09b.653dff","wires":[["fc420e10.a4535"]]},{"id":"8c1764db.08e568","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":864,"y":174,"z":"1d62f09b.653dff","wires":[["3372dc74.357bb4"]]},{"id":"fc420e10.a4535","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1024,"y":131,"z":"1d62f09b.653dff","wires":[["351359fa.9d4f26"]]},{"id":"3372dc74.357bb4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1018,"y":181,"z":"1d62f09b.653dff","wires":[["811b2688.0dcd18"]]},{"id":"351359fa.9d4f26","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 parameter definitions\"/>\n\t\n\t\n\t","comments":"","x":1194,"y":133,"z":"1d62f09b.653dff","wires":[]},{"id":"3f6dcf76.40da4","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$parameter-definitions.error-message`\"/>\n\t\n\t\n\t","comments":"","x":1182,"y":231,"z":"1d62f09b.653dff","wires":[]},{"id":"86037f00.c7dc5","type":"execute","name":"execute Get Instar Params","xml":"<execute plugin=\"org.openecomp.sdnc.config.params.parser.PropertyDefinitionNode\" method=\"processExternalSystemParamKeys\">\n<parameter name=\"systemName\" value=\"INSTAR\" />\n<parameter name=\"pdContent\" value=\"`$parameter-definitions.file-content`\" />\n<parameter name=\"jsonData\" value=\"`$configuration-params`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.instarParams\" />","comments":"","outputs":1,"x":298,"y":289,"z":"1d62f09b.653dff","wires":[["6d835a53.6595c4","66d08efa.e628b"]]},{"id":"6d835a53.6595c4","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":552,"y":271,"z":"1d62f09b.653dff","wires":[["e032c80c.ba08a8"]]},{"id":"66d08efa.e628b","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":540,"y":334,"z":"1d62f09b.653dff","wires":[["e88e851b.315d38"]]},{"id":"e032c80c.ba08a8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":715,"y":273,"z":"1d62f09b.653dff","wires":[["70028148.74044"]]},{"id":"e88e851b.315d38","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":688,"y":332,"z":"1d62f09b.653dff","wires":[["52ccb0b.e0de95"]]},{"id":"70028148.74044","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 Instar parameter definitions\"/>\n\t\n\t\n\t","comments":"","x":893,"y":270,"z":"1d62f09b.653dff","wires":[]},{"id":"52ccb0b.e0de95","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.instarParams.error-message`\"/>\n\t\n\t\n\t","comments":"","x":861,"y":331,"z":"1d62f09b.653dff","wires":[]},{"id":"33e8a0b7.d58be","type":"execute","name":"execute getTemplate Parameter_yang","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getTemplate\">\n<parameter name=\"fileCategory\" value=\"parameter_yang\" />\n<parameter name=\"responsePrefix\" value=\"parameter-yang\" />","comments":"","outputs":1,"x":326,"y":738,"z":"1d62f09b.653dff","wires":[["5411882c.030498","b0439127.fa374","39fe603c.f8171"]]},{"id":"5411882c.030498","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":582.5,"y":708,"z":"1d62f09b.653dff","wires":[["15ab6272.d3333e"]]},{"id":"b0439127.fa374","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":575.5,"y":766,"z":"1d62f09b.653dff","wires":[["6ed77220.53ab6c"]]},{"id":"15ab6272.d3333e","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":728.5,"y":707,"z":"1d62f09b.653dff","wires":[["5abbbddd.2fdd84","7f07065c.21aa58","dc62f036.1a331"]]},{"id":"6ed77220.53ab6c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":719.5,"y":768,"z":"1d62f09b.653dff","wires":[["8e93eb26.7e0988","7f07065c.21aa58","dc62f036.1a331"]]},{"id":"6a3156b.ee952a8","type":"comment","name":"INSTAR keys","info":"Result: [INSTAR.LOCAL_CORE_ALT_IP_ADDR.request-logic, INSTAR.LOCAL_CORE_ALT_IP_ADDR_MOD.request-logic, test.status, INSTAR.LOCAL_CORE_ALT_IP_ADDR_MOD.response-logic, INSTAR.LOCAL_CORE_ALT_IP_ADDR.response-logic, INSTAR.keys]\nINSTAR.keys : [\"LOCAL_CORE_ALT_IP_ADDR\",\"LOCAL_CORE_ALT_IP_ADDR_MOD\"]\nINSTAR.LOCAL_CORE_ALT_IP_ADDR.request-logic : null\nINSTAR.LOCAL_CORE_ALT_IP_ADDR.response-logic : null","comments":"","x":1465.5,"y":432,"z":"1d62f09b.653dff","wires":[]},{"id":"e5e7d1ac.76bb7","type":"execute","name":"execute Get Instar Data","xml":"<execute plugin=\"org.openecomp.appc.instar.node.InstarClientNode\" method=\"getInstarInfo\">\n<parameter name=\"instarKeys\" value=\"`$INSTAR.keys`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.instarValues\" />\n","comments":"","outputs":1,"x":881.5,"y":491,"z":"1d62f09b.653dff","wires":[["93afed75.efdb3"]]},{"id":"93afed75.efdb3","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1138.5,"y":489,"z":"1d62f09b.653dff","wires":[["70f1ba7e.3d82f4"]]},{"id":"70f1ba7e.3d82f4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1298.5,"y":491,"z":"1d62f09b.653dff","wires":[["2b90ad9a.211d22"]]},{"id":"2b90ad9a.211d22","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.instarValues.error-message`\"/>\n\t\n\t\n\t","comments":"","x":1467.5,"y":488,"z":"1d62f09b.653dff","wires":[]},{"id":"ca662853.446ed8","type":"execute","name":"execute read PD file","xml":"<execute plugin=\"org.openecomp.sdnc.config.generator.reader.ReaderNode\" method=\"getFileData\">\n<parameter name=\"fileName\" value=\"/opt/app/bvc/templates/pd.yaml\" />\n<parameter name=\"responsePrefix\" value=\"tmpFileData\" />","comments":"","outputs":1,"x":1477.5,"y":96,"z":"1d62f09b.653dff","wires":[[]]},{"id":"e6b2c683.cca4e8","type":"execute","name":"execute Get Complete Set of Params","xml":"<execute plugin=\"org.openecomp.sdnc.config.params.parser.PropertyDefinitionNode\" method=\"mergeJsonData\">\n<parameter name=\"jsonData\" value=\"`$configuration-params`\" />\n<parameter name=\"mergeJsonData\" value=\"`$tmp.instarValues.INSTAR-KEY-VALUES`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.allParams\" />","comments":"","outputs":1,"x":895.5,"y":566,"z":"1d62f09b.653dff","wires":[["e087477f.d4f878"]]},{"id":"e087477f.d4f878","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1153,"y":569,"z":"1d62f09b.653dff","wires":[["20063435.aecd9c"]]},{"id":"20063435.aecd9c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1305,"y":566,"z":"1d62f09b.653dff","wires":[["5761a3cf.c4dc4c"]]},{"id":"5761a3cf.c4dc4c","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.allParams.error-message`\"/>\n\t\n\t\n\t","comments":"","x":1456,"y":571,"z":"1d62f09b.653dff","wires":[]},{"id":"4577a98f.9f9c28","type":"set","name":"set","xml":"<set>\n<parameter name='parameter-definitions.file-content' value='`$tmpFileData.fileData`' />\n","comments":"","x":1457.5,"y":169,"z":"1d62f09b.653dff","wires":[]},{"id":"7d1276d9.b854e8","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=\"`$INSTAR.keys`\" />\n","comments":"","outputs":1,"x":820,"y":443,"z":"1d62f09b.653dff","wires":[[]]},{"id":"a56b5f50.f6b18","type":"switchNode","name":"switch Instar Keys exists","xml":"<switch test='`$INSTAR.keys`'>\n","comments":"","outputs":1,"x":262,"y":438,"z":"1d62f09b.653dff","wires":[["35618876.01a2a8","bb3b56aa.fca5a8","285829ff.5ef416"]]},{"id":"35618876.01a2a8","type":"success","name":"outcome: null","xml":"<outcome value=''>","comments":"","outputs":1,"x":481,"y":441,"z":"1d62f09b.653dff","wires":[["bb0994f5.44ccc8"]]},{"id":"bb0994f5.44ccc8","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":662,"y":442,"z":"1d62f09b.653dff","wires":[[]]},{"id":"bb3b56aa.fca5a8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":466,"y":492,"z":"1d62f09b.653dff","wires":[["686e1d0f.ea0634"]]},{"id":"686e1d0f.ea0634","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":632,"y":492,"z":"1d62f09b.653dff","wires":[["e5e7d1ac.76bb7","e6b2c683.cca4e8","41045718.d06e28","7d1276d9.b854e8"]]},{"id":"41045718.d06e28","type":"set","name":"set configuration-params","xml":"<set>\n<parameter name='configuration-params' value='`$tmp.allParams.configuration-parameters`' />\n\n","comments":"","x":851,"y":630,"z":"1d62f09b.653dff","wires":[]},{"id":"39fe603c.f8171","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":257.5,"y":828,"z":"1d62f09b.653dff","wires":[["547d62bf.0b6c4c"]]},{"id":"547d62bf.0b6c4c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":420.5,"y":831,"z":"1d62f09b.653dff","wires":[["6d22c69f.2abc38"]]},{"id":"6d22c69f.2abc38","type":"execute","name":"execute Save in MDSal","xml":"<execute plugin='org.openecomp.appc.dg.common.VNFConfigurator' method='storeConfig' >\n<parameter name=\"uniqueId\" value=\"`$parameter-yang.config-file-id`\" />\n<parameter name=\"yang\" value=\"`$parameter-yang.file-content`\" />\n<parameter name=\"requestId\" value=\"`$request-id`\" />\n<parameter name=\"configJSON\" value=\"`'{&quot;vnf-config&quot;:' + $configuration-params + '}'`\" />\n<parameter name=\"prefix\" value=\"tmp.mdSalSave\" />\n\n<!--\n<parameter name=\"configJSON\" value=\"`$configuration-params`\" /> -->\n","comments":"","outputs":1,"x":643.5,"y":834,"z":"1d62f09b.653dff","wires":[["24f7581c.4787f8"]]},{"id":"24f7581c.4787f8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":840.5,"y":838,"z":"1d62f09b.653dff","wires":[["729cb57e.d7997c"]]},{"id":"729cb57e.d7997c","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":984.5,"y":837,"z":"1d62f09b.653dff","wires":[["1591ce44.e43822","7f07065c.21aa58","dc62f036.1a331"]]},{"id":"5abbbddd.2fdd84","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"Unable to get Yang Model\"/>","comments":"","x":944.5,"y":708,"z":"1d62f09b.653dff","wires":[]},{"id":"8e93eb26.7e0988","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"`$parameter-yang.error-message`\"/>","comments":"","x":922.5,"y":769,"z":"1d62f09b.653dff","wires":[]},{"id":"1591ce44.e43822","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"`$tmp.mdSalSave.ERROR_MESSAGE`\"/>","comments":"","x":1194.5,"y":836,"z":"1d62f09b.653dff","wires":[]},{"id":"7f07065c.21aa58","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`'501:' + $dcae-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":735.5,"y":934,"z":"1d62f09b.653dff","wires":[["f8490268.c930e"]]},{"id":"3c5625a1.eec71a","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1108.5,"y":935,"z":"1d62f09b.653dff","wires":[[]]},{"id":"f8490268.c930e","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":937.5,"y":936,"z":"1d62f09b.653dff","wires":[["3c5625a1.eec71a"]]},{"id":"dc62f036.1a331","type":"execute","name":"execute IntermediateMessageSender","xml":"<execute plugin='org.openecomp.appc.dg.common.IntermediateMessageSender' method='sendMessage' >\n<parameter name='code' value=\"501\" />\n<parameter name='message' value=\"`$dcae-error-message`\" />\n<parameter name='prefix' value=\"tmp.intermediateerror\"/>","comments":"","outputs":1,"x":766.5,"y":1008,"z":"1d62f09b.653dff","wires":[["c105074b.328e78","4f55c02f.e48f3"]]},{"id":"c105074b.328e78","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1002.5,"y":1006,"z":"1d62f09b.653dff","wires":[["1ad124f3.55337b"]]},{"id":"4f55c02f.e48f3","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":987.5,"y":1069,"z":"1d62f09b.653dff","wires":[["1ad124f3.55337b"]]},{"id":"f4496313.24acc","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=\"MSGSENDERERERROR\" value=\"Unable to call IntermediateErrorMessageSender\"/>\n","comments":"","outputs":1,"x":1310.5,"y":1041,"z":"1d62f09b.653dff","wires":[[]]},{"id":"98e0dc66.4938a","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":159,"y":206,"z":"1d62f09b.653dff","wires":[["55593da7.06c544"]]},{"id":"55593da7.06c544","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":320,"y":211,"z":"1d62f09b.653dff","wires":[["86037f00.c7dc5","a56b5f50.f6b18","33e8a0b7.d58be"]]},{"id":"811b2688.0dcd18","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=\"`'PD FILE NOTFOUND ' + $parameter-definitions.error-message`\" />\n","comments":"","outputs":1,"x":1153,"y":182,"z":"1d62f09b.653dff","wires":[[]]},{"id":"285829ff.5ef416","type":"success","name":"outcome: []","xml":"<outcome value='[]'>","comments":"","outputs":1,"x":486,"y":396,"z":"1d62f09b.653dff","wires":[["392efcf6.e32734"]]},{"id":"392efcf6.e32734","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":647,"y":397,"z":"1d62f09b.653dff","wires":[[]]},{"id":"1ad124f3.55337b","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1158,"y":1038,"z":"1d62f09b.653dff","wires":[["f4496313.24acc"]]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_PublishConfiguration.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_PublishConfiguration.json
index d9e521176..01dbdb5c6 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_PublishConfiguration.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_PublishConfiguration.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"390ce99d.bf5d96","type":"dgstart","name":"DGSTART","outputs":1,"x":143,"y":95,"z":"ba18d0da.6b53d","wires":[["644628c3.2d9d28"]]},{"id":"644628c3.2d9d28","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":344,"y":87,"z":"ba18d0da.6b53d","wires":[["1413fa79.66a72e"]]},{"id":"1413fa79.66a72e","type":"method","name":"method PublishConfiguration","xml":"<method rpc='PublishConfiguration' mode='sync'>\n","comments":"","outputs":1,"x":582,"y":87,"z":"ba18d0da.6b53d","wires":[["4fe4cc0b.026be4"]]},{"id":"4fe4cc0b.026be4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":181,"y":182,"z":"ba18d0da.6b53d","wires":[["7f8c2a55.61673c","29662869.84a628","949cd4f7.5ed8f","7dba4e1.da4afb","2572109c.9829f8"]]},{"id":"7f8c2a55.61673c","type":"set","name":"set uploadconfigid for dispatcher","xml":"<set>\n<parameter name='output.payload.upload-config-id[0]' value='`$tmp.uploadConfigInfo.UPLOAD-CONFIG-ID`' />\n<!--\n<parameter name='output.payload.upload-config-id[0]' value='`$tmp.uploadconfigmax.uploadconfigid`' />\n-->\n\n","comments":"","x":446,"y":650,"z":"ba18d0da.6b53d","wires":[]},{"id":"29662869.84a628","type":"execute","name":"generateOutputPayloadFromContext","xml":"<execute plugin=\"org.openecomp.appc.dg.common.JsonDgUtil\" method=\"generateOutputPayloadFromContext\">\n\n<!-- this will set output.payload DG Context var with all vars that start with output.payload -->\n\n\n","comments":"","outputs":1,"x":460,"y":713,"z":"ba18d0da.6b53d","wires":[["93c26b79.ac00e8","ef5b9ce6.17dda"]]},{"id":"7dba4e1.da4afb","type":"execute","name":"execute Create Json for CVaas","xml":"<execute plugin=\"org.openecomp.sdnc.config.generator.convert.ConvertNode\" method=\"convertContextToJson\">\n<parameter name=\"contextKey\" value=\"tmp.config\" />\n<parameter name=\"responsePrefix\" value=\"tmp.jsonConversion\" />\n","comments":"","outputs":1,"x":495,"y":310,"z":"ba18d0da.6b53d","wires":[["68503e8b.6e9178","b9d5cca5.f26868","90ad3c4d.8e0db8"]]},{"id":"93c26b79.ac00e8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":726,"y":701,"z":"ba18d0da.6b53d","wires":[["9cb7432e.9c7e88"]]},{"id":"ef5b9ce6.17dda","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":727,"y":753,"z":"ba18d0da.6b53d","wires":[["136bd85.d652728"]]},{"id":"9cb7432e.9c7e88","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":885,"y":698,"z":"ba18d0da.6b53d","wires":[["cde3fbd5.e1f268"]]},{"id":"136bd85.d652728","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":897,"y":747,"z":"ba18d0da.6b53d","wires":[["9106d080.5bc63"]]},{"id":"cde3fbd5.e1f268","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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 from generateOutputPayloadFromContext = ' + $output.status.message`\" />\n","comments":"","outputs":1,"x":1066,"y":699,"z":"ba18d0da.6b53d","wires":[[]]},{"id":"9106d080.5bc63","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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=\"`'PAYLOAD from generateOutputPayloadFromContext = ' + $output.payload`\" />\n","comments":"","outputs":1,"x":1070,"y":747,"z":"ba18d0da.6b53d","wires":[[]]},{"id":"b9d5cca5.f26868","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":718,"y":310,"z":"ba18d0da.6b53d","wires":[["b4e79a48.cfd848"]]},{"id":"68503e8b.6e9178","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":717,"y":270,"z":"ba18d0da.6b53d","wires":[["5e0da89f.a9c5f8"]]},{"id":"5e0da89f.a9c5f8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":895,"y":269,"z":"ba18d0da.6b53d","wires":[["d8910515.c8984","92ad96ed.dc0f98","b5be72d3.4c2378"]]},{"id":"b4e79a48.cfd848","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":887,"y":316,"z":"ba18d0da.6b53d","wires":[["50458cf4.1d3894","92ad96ed.dc0f98","b5be72d3.4c2378"]]},{"id":"a485e3e3.6f9708","type":"record","name":"execute Write Config Details for Cvaas ","xml":"<execute plugin=\"org.openecomp.sdnc.config.generator.writer.FileWriterNode\" method=\"writeFile\">\n<parameter name=\"fileName\" value=\"`$tmp.fileName`\"/>\n<parameter name=\"requestData\" value=\"`$tmp.jsonConversion.jsonContent`\"/>\n\n","comments":"","outputs":1,"x":951,"y":375,"z":"ba18d0da.6b53d","wires":[["e0da83aa.86dc2"]]},{"id":"949cd4f7.5ed8f","type":"set","name":"set fileName","xml":"<set>\n<parameter name='tmp.fileName' value=\"`'/opt/app/bvc/cvaas/' + $vnf-id + '_' + $tmp.uploadConfigInfo.UPLOAD-TIMESTAMP + '_appc001' + '.json'`\"/>\n","comments":"","x":457,"y":164,"z":"ba18d0da.6b53d","wires":[]},{"id":"e0da83aa.86dc2","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1194,"y":377,"z":"ba18d0da.6b53d","wires":[["cf25c291.eeaac"]]},{"id":"cf25c291.eeaac","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1364,"y":383,"z":"ba18d0da.6b53d","wires":[["38f8974.498d2e8","92ad96ed.dc0f98","b5be72d3.4c2378"]]},{"id":"d8910515.c8984","type":"set","name":"set dcae-error-message","xml":"<set>\n<parameter name='dcae-error-message' value=\"'ConvertContextToJson not found\" />\n","comments":"","x":1121,"y":269,"z":"ba18d0da.6b53d","wires":[]},{"id":"50458cf4.1d3894","type":"set","name":"set dcae-error-message","xml":"<set>\n<parameter name='dcae-error-message' value=\"`'Error from convertContextToJson - ' + $tmp.jsonConversion.error-message`\" />\n","comments":"","x":1122,"y":316,"z":"ba18d0da.6b53d","wires":[]},{"id":"90ad3c4d.8e0db8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":506,"y":368,"z":"ba18d0da.6b53d","wires":[["c9826355.de2d88"]]},{"id":"c9826355.de2d88","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":674,"y":370,"z":"ba18d0da.6b53d","wires":[["a485e3e3.6f9708"]]},{"id":"38f8974.498d2e8","type":"set","name":"set dcae-error-message","xml":"<set>\n<parameter name='dcae-error-message' value=\"Unable to write file to /opt/app/bvc/cvaas\" />\n","comments":"","x":1596,"y":376,"z":"ba18d0da.6b53d","wires":[]},{"id":"92ad96ed.dc0f98","type":"execute","name":"execute IntermediateMessageSender","xml":"<execute plugin='org.openecomp.appc.dg.common.IntermediateMessageSender' method='sendMessage' >\n<parameter name='code' value=\"501\" />\n<parameter name='message' value=\"`$dcae-error-message`\" />\n<parameter name='prefix' value=\"tmp.intermediateerror\"/>","comments":"","outputs":1,"x":936,"y":449,"z":"ba18d0da.6b53d","wires":[["58b7c48d.5cbf0c","3db6580c.06a818"]]},{"id":"58b7c48d.5cbf0c","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1175,"y":448,"z":"ba18d0da.6b53d","wires":[["1b264e03.1285a2"]]},{"id":"3db6580c.06a818","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1172,"y":507,"z":"ba18d0da.6b53d","wires":[["1b264e03.1285a2"]]},{"id":"1b264e03.1285a2","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1335,"y":472,"z":"ba18d0da.6b53d","wires":[["d1436755.fdf6a8"]]},{"id":"d1436755.fdf6a8","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"MSGSENDERERERROR\" value=\"Unable to call IntermediateErrorMessageSender\"/>\n","comments":"","outputs":1,"x":1500,"y":473,"z":"ba18d0da.6b53d","wires":[[]]},{"id":"b5be72d3.4c2378","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`'501:' + $dcae-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":916,"y":549,"z":"ba18d0da.6b53d","wires":[["c81e7770.18ce18"]]},{"id":"c81e7770.18ce18","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1102,"y":551,"z":"ba18d0da.6b53d","wires":[["b5ce7da8.febb3"]]},{"id":"b5ce7da8.febb3","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1276,"y":553,"z":"ba18d0da.6b53d","wires":[[]]},{"id":"2572109c.9829f8","type":"set","name":"set payload parameters","xml":"<set>\n<parameter name='tmp.config.UPLOAD_CONFIG_ID' value=\"`$tmp.uploadConfigInfo.UPLOAD-CONFIG-ID`\" />\n<parameter name='tmp.config.REQUEST_ID' value=\"`$tmp.uploadConfigInfo.REQUEST-ID`\" />\n<parameter name='tmp.config.ORIGINATOR_ID' value=\"`$tmp.uploadConfigInfo.ORIGINATOR-ID`\" />\n<parameter name='tmp.config.SERVICE_DESCRIPTION' value=\"`$tmp.uploadConfigInfo.SERVICE-DESCRIPTION`\" />\n<parameter name='tmp.config.ACTION' value=\"`$tmp.uploadConfigInfo.ACTION`\" />\n<parameter name='tmp.config.UPLOAD_TIMESTAMP' value=\"`$tmp.uploadConfigInfo.UPLOAD-TIMESTAMP`\" />\n<parameter name='tmp.config.UPLOAD_DATE' value=\"`$tmp.uploadConfigInfo.UPLOAD-DATE`\" />\n<parameter name='tmp.config.VNF_ID' value=\"`$tmp.uploadConfigInfo.VNF-ID`\" />\n<parameter name='tmp.config.VNF_NAME' value=\"`$tmp.uploadConfigInfo.VNF-NAME`\" />\n<parameter name='tmp.config.VM_NAME' value=\"`$tmp.uploadConfigInfo.VM-NAME`\" />\n<parameter name='tmp.config.VNF_TYPE' value=\"`$tmp.uploadConfigInfo.VNF-TYPE`\" />\n<parameter name='tmp.config.VNFC_TYPE' value=\"`$tmp.uploadConfigInfo.VNFC-TYPE`\" />\n<parameter name='tmp.config.HOST_IP_ADDRESS' value=\"`$tmp.uploadConfigInfo.HOST-IP-ADDRESS`\" />\n<parameter name='tmp.config.CONFIG_INDICATOR' value=\"`$tmp.uploadConfigInfo.CONFIG-INDICATOR`\" />\n<parameter name='tmp.config.PENDING_DELETE' value=\"`$tmp.uploadConfigInfo.PENDING-DELETE`\" />\n<parameter name='tmp.config.CONTENT' value=\"`$tmp.uploadConfigInfo.CONTENT`\" />\n\n","comments":"","x":481,"y":227,"z":"ba18d0da.6b53d","wires":[]}]
+[{"id":"390ce99d.bf5d96","type":"dgstart","name":"DGSTART","outputs":1,"x":143,"y":95,"z":"ba18d0da.6b53d","wires":[["644628c3.2d9d28"]]},{"id":"644628c3.2d9d28","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":344,"y":87,"z":"ba18d0da.6b53d","wires":[["1413fa79.66a72e"]]},{"id":"1413fa79.66a72e","type":"method","name":"method PublishConfiguration","xml":"<method rpc='PublishConfiguration' mode='sync'>\n","comments":"","outputs":1,"x":582,"y":87,"z":"ba18d0da.6b53d","wires":[["4fe4cc0b.026be4"]]},{"id":"4fe4cc0b.026be4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":181,"y":182,"z":"ba18d0da.6b53d","wires":[["7f8c2a55.61673c","29662869.84a628","949cd4f7.5ed8f","7dba4e1.da4afb","2572109c.9829f8"]]},{"id":"7f8c2a55.61673c","type":"set","name":"set uploadconfigid for dispatcher","xml":"<set>\n<parameter name='output.payload.upload-config-id[0]' value='`$tmp.uploadConfigInfo.UPLOAD-CONFIG-ID`' />\n<!--\n<parameter name='output.payload.upload-config-id[0]' value='`$tmp.uploadconfigmax.uploadconfigid`' />\n-->\n\n","comments":"","x":446,"y":650,"z":"ba18d0da.6b53d","wires":[]},{"id":"29662869.84a628","type":"execute","name":"generateOutputPayloadFromContext","xml":"<execute plugin=\"org.openecomp.appc.dg.common.JsonDgUtil\" method=\"generateOutputPayloadFromContext\">\n\n<!-- this will set output.payload DG Context var with all vars that start with output.payload -->\n\n\n","comments":"","outputs":1,"x":460,"y":713,"z":"ba18d0da.6b53d","wires":[["93c26b79.ac00e8","ef5b9ce6.17dda"]]},{"id":"7dba4e1.da4afb","type":"execute","name":"execute Create Json for CVaas","xml":"<execute plugin=\"org.openecomp.sdnc.config.generator.convert.ConvertNode\" method=\"convertContextToJson\">\n<parameter name=\"contextKey\" value=\"tmp.config\" />\n<parameter name=\"responsePrefix\" value=\"tmp.jsonConversion\" />\n","comments":"","outputs":1,"x":495,"y":310,"z":"ba18d0da.6b53d","wires":[["68503e8b.6e9178","b9d5cca5.f26868","90ad3c4d.8e0db8"]]},{"id":"93c26b79.ac00e8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":726,"y":701,"z":"ba18d0da.6b53d","wires":[["9cb7432e.9c7e88"]]},{"id":"ef5b9ce6.17dda","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":727,"y":753,"z":"ba18d0da.6b53d","wires":[["136bd85.d652728"]]},{"id":"9cb7432e.9c7e88","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":885,"y":698,"z":"ba18d0da.6b53d","wires":[["cde3fbd5.e1f268"]]},{"id":"136bd85.d652728","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":897,"y":747,"z":"ba18d0da.6b53d","wires":[["9106d080.5bc63"]]},{"id":"cde3fbd5.e1f268","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 from generateOutputPayloadFromContext = ' + $output.status.message`\" />\n","comments":"","outputs":1,"x":1066,"y":699,"z":"ba18d0da.6b53d","wires":[[]]},{"id":"9106d080.5bc63","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=\"`'PAYLOAD from generateOutputPayloadFromContext = ' + $output.payload`\" />\n","comments":"","outputs":1,"x":1070,"y":747,"z":"ba18d0da.6b53d","wires":[[]]},{"id":"b9d5cca5.f26868","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":718,"y":310,"z":"ba18d0da.6b53d","wires":[["b4e79a48.cfd848"]]},{"id":"68503e8b.6e9178","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":717,"y":270,"z":"ba18d0da.6b53d","wires":[["5e0da89f.a9c5f8"]]},{"id":"5e0da89f.a9c5f8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":895,"y":269,"z":"ba18d0da.6b53d","wires":[["d8910515.c8984","92ad96ed.dc0f98","b5be72d3.4c2378"]]},{"id":"b4e79a48.cfd848","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":887,"y":316,"z":"ba18d0da.6b53d","wires":[["50458cf4.1d3894","92ad96ed.dc0f98","b5be72d3.4c2378"]]},{"id":"a485e3e3.6f9708","type":"record","name":"execute Write Config Details for Cvaas ","xml":"<execute plugin=\"org.openecomp.sdnc.config.generator.writer.FileWriterNode\" method=\"writeFile\">\n<parameter name=\"fileName\" value=\"`$tmp.fileName`\"/>\n<parameter name=\"requestData\" value=\"`$tmp.jsonConversion.jsonContent`\"/>\n\n","comments":"","outputs":1,"x":951,"y":375,"z":"ba18d0da.6b53d","wires":[["e0da83aa.86dc2"]]},{"id":"949cd4f7.5ed8f","type":"set","name":"set fileName","xml":"<set>\n<parameter name='tmp.fileName' value=\"`'/opt/app/bvc/cvaas/' + $vnf-id + '_' + $tmp.uploadConfigInfo.UPLOAD-TIMESTAMP + '_appc001' + '.json'`\"/>\n","comments":"","x":457,"y":164,"z":"ba18d0da.6b53d","wires":[]},{"id":"e0da83aa.86dc2","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1194,"y":377,"z":"ba18d0da.6b53d","wires":[["cf25c291.eeaac"]]},{"id":"cf25c291.eeaac","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1364,"y":383,"z":"ba18d0da.6b53d","wires":[["38f8974.498d2e8","92ad96ed.dc0f98","b5be72d3.4c2378"]]},{"id":"d8910515.c8984","type":"set","name":"set dcae-error-message","xml":"<set>\n<parameter name='dcae-error-message' value=\"'ConvertContextToJson not found\" />\n","comments":"","x":1121,"y":269,"z":"ba18d0da.6b53d","wires":[]},{"id":"50458cf4.1d3894","type":"set","name":"set dcae-error-message","xml":"<set>\n<parameter name='dcae-error-message' value=\"`'Error from convertContextToJson - ' + $tmp.jsonConversion.error-message`\" />\n","comments":"","x":1122,"y":316,"z":"ba18d0da.6b53d","wires":[]},{"id":"90ad3c4d.8e0db8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":506,"y":368,"z":"ba18d0da.6b53d","wires":[["c9826355.de2d88"]]},{"id":"c9826355.de2d88","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":674,"y":370,"z":"ba18d0da.6b53d","wires":[["a485e3e3.6f9708"]]},{"id":"38f8974.498d2e8","type":"set","name":"set dcae-error-message","xml":"<set>\n<parameter name='dcae-error-message' value=\"Unable to write file to /opt/app/bvc/cvaas\" />\n","comments":"","x":1596,"y":376,"z":"ba18d0da.6b53d","wires":[]},{"id":"92ad96ed.dc0f98","type":"execute","name":"execute IntermediateMessageSender","xml":"<execute plugin='org.openecomp.appc.dg.common.IntermediateMessageSender' method='sendMessage' >\n<parameter name='code' value=\"501\" />\n<parameter name='message' value=\"`$dcae-error-message`\" />\n<parameter name='prefix' value=\"tmp.intermediateerror\"/>","comments":"","outputs":1,"x":936,"y":449,"z":"ba18d0da.6b53d","wires":[["58b7c48d.5cbf0c","3db6580c.06a818"]]},{"id":"58b7c48d.5cbf0c","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1175,"y":448,"z":"ba18d0da.6b53d","wires":[["1b264e03.1285a2"]]},{"id":"3db6580c.06a818","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1172,"y":507,"z":"ba18d0da.6b53d","wires":[["1b264e03.1285a2"]]},{"id":"1b264e03.1285a2","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1335,"y":472,"z":"ba18d0da.6b53d","wires":[["d1436755.fdf6a8"]]},{"id":"d1436755.fdf6a8","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=\"MSGSENDERERERROR\" value=\"Unable to call IntermediateErrorMessageSender\"/>\n","comments":"","outputs":1,"x":1500,"y":473,"z":"ba18d0da.6b53d","wires":[[]]},{"id":"b5be72d3.4c2378","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`'501:' + $dcae-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":916,"y":549,"z":"ba18d0da.6b53d","wires":[["c81e7770.18ce18"]]},{"id":"c81e7770.18ce18","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1102,"y":551,"z":"ba18d0da.6b53d","wires":[["b5ce7da8.febb3"]]},{"id":"b5ce7da8.febb3","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1276,"y":553,"z":"ba18d0da.6b53d","wires":[[]]},{"id":"2572109c.9829f8","type":"set","name":"set payload parameters","xml":"<set>\n<parameter name='tmp.config.UPLOAD_CONFIG_ID' value=\"`$tmp.uploadConfigInfo.UPLOAD-CONFIG-ID`\" />\n<parameter name='tmp.config.REQUEST_ID' value=\"`$tmp.uploadConfigInfo.REQUEST-ID`\" />\n<parameter name='tmp.config.ORIGINATOR_ID' value=\"`$tmp.uploadConfigInfo.ORIGINATOR-ID`\" />\n<parameter name='tmp.config.SERVICE_DESCRIPTION' value=\"`$tmp.uploadConfigInfo.SERVICE-DESCRIPTION`\" />\n<parameter name='tmp.config.ACTION' value=\"`$tmp.uploadConfigInfo.ACTION`\" />\n<parameter name='tmp.config.UPLOAD_TIMESTAMP' value=\"`$tmp.uploadConfigInfo.UPLOAD-TIMESTAMP`\" />\n<parameter name='tmp.config.UPLOAD_DATE' value=\"`$tmp.uploadConfigInfo.UPLOAD-DATE`\" />\n<parameter name='tmp.config.VNF_ID' value=\"`$tmp.uploadConfigInfo.VNF-ID`\" />\n<parameter name='tmp.config.VNF_NAME' value=\"`$tmp.uploadConfigInfo.VNF-NAME`\" />\n<parameter name='tmp.config.VM_NAME' value=\"`$tmp.uploadConfigInfo.VM-NAME`\" />\n<parameter name='tmp.config.VNF_TYPE' value=\"`$tmp.uploadConfigInfo.VNF-TYPE`\" />\n<parameter name='tmp.config.VNFC_TYPE' value=\"`$tmp.uploadConfigInfo.VNFC-TYPE`\" />\n<parameter name='tmp.config.HOST_IP_ADDRESS' value=\"`$tmp.uploadConfigInfo.HOST-IP-ADDRESS`\" />\n<parameter name='tmp.config.CONFIG_INDICATOR' value=\"`$tmp.uploadConfigInfo.CONFIG-INDICATOR`\" />\n<parameter name='tmp.config.PENDING_DELETE' value=\"`$tmp.uploadConfigInfo.PENDING-DELETE`\" />\n<parameter name='tmp.config.CONTENT' value=\"`$tmp.uploadConfigInfo.CONTENT`\" />\n\n","comments":"","x":481,"y":227,"z":"ba18d0da.6b53d","wires":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RebuildVM.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RebuildVM.json
index 3abe5e419..c4087c50e 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RebuildVM.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RebuildVM.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"e426d1a4.04b0b","type":"service-logic","name":"APPC 2.0.0","module":"APPC","version":"2.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>","outputs":1,"x":281.75,"y":295,"z":"734c8384.84e874","wires":[["f11dad1d.996b88"]]},{"id":"b1ce76a2.53d928","type":"dgstart","name":"DGSTART","outputs":1,"x":288.75,"y":245,"z":"734c8384.84e874","wires":[["e426d1a4.04b0b"]]},{"id":"5bf06fcf.867b98","type":"execute","name":"rebuildServer()","xml":"<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='rebuildServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$vm-id`\"/>\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$identity-url`\" />\n<parameter name=\"org.openecomp.appc.skiphypervisorcheck\" value=\"`$skip-hypervisor-check`\" />","comments":"","outputs":1,"x":722.7499694824219,"y":348,"z":"734c8384.84e874","wires":[["7d4aacf6.6c04fc","4916b7b8.2d8468"]]},{"id":"7d4aacf6.6c04fc","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":866.7499694824219,"y":403,"z":"734c8384.84e874","wires":[["e3c23dad.ae06a"]]},{"id":"4916b7b8.2d8468","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":835.7499694824219,"y":225,"z":"734c8384.84e874","wires":[["dc58c2ba.2db078"]]},{"id":"4eeee11d.fb26f","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":571.75,"y":294.8833312988281,"z":"734c8384.84e874","wires":[["2c303534.0f7902","5bf06fcf.867b98","f2e4ec01.884618"]]},{"id":"2c303534.0f7902","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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 = '+ $vm-id`\" />","comments":"","outputs":1,"x":701.7499694824219,"y":295.8833312988281,"z":"734c8384.84e874","wires":[[]]},{"id":"6e491f05.7959","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='RPC Rebuild not found' />","comments":"","x":1120.7499694824219,"y":226.88333129882812,"z":"734c8384.84e874","wires":[]},{"id":"dc58c2ba.2db078","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":973.7499694824219,"y":226.88333129882812,"z":"734c8384.84e874","wires":[["6e491f05.7959"]]},{"id":"f11dad1d.996b88","type":"method","name":"RebuildVM","xml":"<method rpc='RebuildVM' mode='sync'>\n","comments":"","outputs":1,"x":432.75,"y":295.8833312988281,"z":"734c8384.84e874","wires":[["4eeee11d.fb26f"]]},{"id":"e3bd299a.2eb3d","type":"returnSuccess","name":"return success","xml":"<return status='success'>","comments":"","x":1448.7499694824219,"y":363.8833312988281,"z":"734c8384.84e874","wires":[]},{"id":"6da3c674.de3f5","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1365.7499694824219,"y":447.8833312988281,"z":"734c8384.84e874","wires":[["d3e45f44.e31868","52bdc72a.f6f06"]]},{"id":"d3e45f44.e31868","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":1522.7499694824219,"y":480.88336181640625,"z":"734c8384.84e874","wires":[]},{"id":"52bdc72a.f6f06","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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":1504.6166687011719,"y":427.7500305175781,"z":"734c8384.84e874","wires":[[]]},{"id":"e3c23dad.ae06a","type":"switchNode","name":"switch error-code","xml":"<switch test='`$error_code`'>\n","comments":"","outputs":1,"x":1044.7499694824219,"y":403.8833312988281,"z":"734c8384.84e874","wires":[["45af49c7.7ad408","14becb17.12bdad"]]},{"id":"45af49c7.7ad408","type":"success","name":"SUCCESS-200","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":1240.7499694824219,"y":365.8833312988281,"z":"734c8384.84e874","wires":[["e3bd299a.2eb3d"]]},{"id":"14becb17.12bdad","type":"outcome","name":"ERROR","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1224.7499694824219,"y":448.8833312988281,"z":"734c8384.84e874","wires":[["6da3c674.de3f5"]]},{"id":"f2e4ec01.884618","type":"set","name":"set skiphypervisorcheck","xml":"<set>\n<parameter name='org.openecomp.appc.skiphypervisorcheck' value='`$skip-hypervisor-check`' />\n","comments":"","x":758.75,"y":174.75,"z":"734c8384.84e874","wires":[]}]
+[{"id":"e426d1a4.04b0b","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":281.75,"y":295,"z":"734c8384.84e874","wires":[["f11dad1d.996b88"]]},{"id":"b1ce76a2.53d928","type":"dgstart","name":"DGSTART","outputs":1,"x":288.75,"y":245,"z":"734c8384.84e874","wires":[["e426d1a4.04b0b"]]},{"id":"5bf06fcf.867b98","type":"execute","name":"rebuildServer()","xml":"<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='rebuildServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$vm-id`\"/>\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$identity-url`\" />\n<parameter name=\"org.openecomp.appc.skiphypervisorcheck\" value=\"`$skip-hypervisor-check`\" />","comments":"","outputs":1,"x":722.7499694824219,"y":348,"z":"734c8384.84e874","wires":[["7d4aacf6.6c04fc","4916b7b8.2d8468"]]},{"id":"7d4aacf6.6c04fc","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":866.7499694824219,"y":403,"z":"734c8384.84e874","wires":[["e3c23dad.ae06a"]]},{"id":"4916b7b8.2d8468","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":835.7499694824219,"y":225,"z":"734c8384.84e874","wires":[["dc58c2ba.2db078"]]},{"id":"4eeee11d.fb26f","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":571.75,"y":294.8833312988281,"z":"734c8384.84e874","wires":[["2c303534.0f7902","5bf06fcf.867b98","f2e4ec01.884618"]]},{"id":"2c303534.0f7902","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 = '+ $vm-id`\" />","comments":"","outputs":1,"x":701.7499694824219,"y":295.8833312988281,"z":"734c8384.84e874","wires":[[]]},{"id":"6e491f05.7959","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='RPC Rebuild not found' />","comments":"","x":1120.7499694824219,"y":226.88333129882812,"z":"734c8384.84e874","wires":[]},{"id":"dc58c2ba.2db078","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":973.7499694824219,"y":226.88333129882812,"z":"734c8384.84e874","wires":[["6e491f05.7959"]]},{"id":"f11dad1d.996b88","type":"method","name":"RebuildVM","xml":"<method rpc='RebuildVM' mode='sync'>\n","comments":"","outputs":1,"x":432.75,"y":295.8833312988281,"z":"734c8384.84e874","wires":[["4eeee11d.fb26f"]]},{"id":"e3bd299a.2eb3d","type":"returnSuccess","name":"return success","xml":"<return status='success'>","comments":"","x":1448.7499694824219,"y":363.8833312988281,"z":"734c8384.84e874","wires":[]},{"id":"6da3c674.de3f5","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1365.7499694824219,"y":447.8833312988281,"z":"734c8384.84e874","wires":[["d3e45f44.e31868","52bdc72a.f6f06"]]},{"id":"d3e45f44.e31868","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":1522.7499694824219,"y":480.88336181640625,"z":"734c8384.84e874","wires":[]},{"id":"52bdc72a.f6f06","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":1504.6166687011719,"y":427.7500305175781,"z":"734c8384.84e874","wires":[[]]},{"id":"e3c23dad.ae06a","type":"switchNode","name":"switch error-code","xml":"<switch test='`$error_code`'>\n","comments":"","outputs":1,"x":1044.7499694824219,"y":403.8833312988281,"z":"734c8384.84e874","wires":[["45af49c7.7ad408","14becb17.12bdad"]]},{"id":"45af49c7.7ad408","type":"success","name":"SUCCESS-200","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":1240.7499694824219,"y":365.8833312988281,"z":"734c8384.84e874","wires":[["e3bd299a.2eb3d"]]},{"id":"14becb17.12bdad","type":"outcome","name":"ERROR","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1224.7499694824219,"y":448.8833312988281,"z":"734c8384.84e874","wires":[["6da3c674.de3f5"]]},{"id":"f2e4ec01.884618","type":"set","name":"set skiphypervisorcheck","xml":"<set>\n<parameter name='org.openecomp.appc.skiphypervisorcheck' value='`$skip-hypervisor-check`' />\n","comments":"","x":758.75,"y":174.75,"z":"734c8384.84e874","wires":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVMCommonFlow.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVMCommonFlow.json
index eccd89cce..912e1b90e 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVMCommonFlow.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVMCommonFlow.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"fb9d148d.f2d9","type":"dgstart","name":"DGSTART","outputs":1,"x":154.75,"y":203.75,"z":"acb37c25.7d695","wires":[["c90bb6a6.647f98"]]},{"id":"c90bb6a6.647f98","type":"service-logic","name":"APPC 2.0.0","module":"APPC","version":"2.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>","outputs":1,"x":311.75,"y":203.75,"z":"acb37c25.7d695","wires":[["116cfb8a.32bd8c"]]},{"id":"116cfb8a.32bd8c","type":"method","name":"RestartVMCommonFlow","xml":"<method rpc='RestartVMCommonFlow' mode='sync'>\n","comments":"","outputs":1,"x":509.75,"y":205.75,"z":"acb37c25.7d695","wires":[["1e02b081.c37eef"]]},{"id":"1adee386.87e9d4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":877.7499694824219,"y":415.7499694824219,"z":"acb37c25.7d695","wires":[["15c4aee3.95def9"]]},{"id":"5118ed02.7b4054","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":886.7499694824219,"y":294.7499694824219,"z":"acb37c25.7d695","wires":[["17a2e299.91aeed"]]},{"id":"f2ed13d.10a4af","type":"returnSuccess","name":"return success","xml":"<return status='success'>","comments":"","x":1433.7499694824219,"y":387.7499694824219,"z":"acb37c25.7d695","wires":[]},{"id":"3fab6fa7.02aab","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":1194.7499694824219,"y":294.7499694824219,"z":"acb37c25.7d695","wires":[]},{"id":"15c4aee3.95def9","type":"switchNode","name":"switch error-code","xml":"<switch test='`$error_code`'>\n","comments":"","outputs":1,"x":1070.7499694824219,"y":416.7499694824219,"z":"acb37c25.7d695","wires":[["c6756561.624ca8","212002a8.ea32fe"]]},{"id":"c6756561.624ca8","type":"success","name":"SUCCESS","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":1252.7499694824219,"y":386.7499694824219,"z":"acb37c25.7d695","wires":[["f2ed13d.10a4af"]]},{"id":"212002a8.ea32fe","type":"outcome","name":"ERROR","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1244.7499694824219,"y":545.7499694824219,"z":"acb37c25.7d695","wires":[["2b794bb8.68c304"]]},{"id":"2b794bb8.68c304","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1377.7499694824219,"y":546.7499694824219,"z":"acb37c25.7d695","wires":[["60ad6e19.dea3f","e3ac2d57.c4e65"]]},{"id":"60ad6e19.dea3f","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":1512.7499694824219,"y":587.75,"z":"acb37c25.7d695","wires":[]},{"id":"17a2e299.91aeed","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1042.7499694824219,"y":294.7499694824219,"z":"acb37c25.7d695","wires":[["3fab6fa7.02aab"]]},{"id":"eb2d0f23.0a1f58","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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":873.86669921875,"y":243.75,"z":"acb37c25.7d695","wires":[[]]},{"id":"1e02b081.c37eef","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":698.6166687011719,"y":264.6166687011719,"z":"acb37c25.7d695","wires":[["eb2d0f23.0a1f58","85ed6b90.7ce48","ead01081.d1b55"]]},{"id":"e3ac2d57.c4e65","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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":1502.6166687011719,"y":518.6166687011719,"z":"acb37c25.7d695","wires":[[]]},{"id":"85ed6b90.7ce48","type":"execute","name":"restartServer()","xml":"<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='restartServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$identity-url`\" />\n<parameter name=\"org.openecomp.appc.skiphypervisorcheck\" value=\"`$skip-hypervisor-check`\" />","comments":"","outputs":1,"x":714.7499694824219,"y":349.75,"z":"acb37c25.7d695","wires":[["5118ed02.7b4054","1adee386.87e9d4"]]},{"id":"ead01081.d1b55","type":"set","name":"set skiphypervisorcheck","xml":"<set>\n<parameter name='org.openecomp.appc.skiphypervisorcheck' value='`$skip-hypervisor-check`' />\n","comments":"","x":922.75,"y":175.75,"z":"acb37c25.7d695","wires":[]}]
+[{"id":"fb9d148d.f2d9","type":"dgstart","name":"DGSTART","outputs":1,"x":154.75,"y":203.75,"z":"acb37c25.7d695","wires":[["c90bb6a6.647f98"]]},{"id":"c90bb6a6.647f98","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":311.75,"y":203.75,"z":"acb37c25.7d695","wires":[["116cfb8a.32bd8c"]]},{"id":"116cfb8a.32bd8c","type":"method","name":"RestartVMCommonFlow","xml":"<method rpc='RestartVMCommonFlow' mode='sync'>\n","comments":"","outputs":1,"x":509.75,"y":205.75,"z":"acb37c25.7d695","wires":[["1e02b081.c37eef"]]},{"id":"1adee386.87e9d4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":877.7499694824219,"y":415.7499694824219,"z":"acb37c25.7d695","wires":[["15c4aee3.95def9"]]},{"id":"5118ed02.7b4054","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":886.7499694824219,"y":294.7499694824219,"z":"acb37c25.7d695","wires":[["17a2e299.91aeed"]]},{"id":"f2ed13d.10a4af","type":"returnSuccess","name":"return success","xml":"<return status='success'>","comments":"","x":1433.7499694824219,"y":387.7499694824219,"z":"acb37c25.7d695","wires":[]},{"id":"3fab6fa7.02aab","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":1194.7499694824219,"y":294.7499694824219,"z":"acb37c25.7d695","wires":[]},{"id":"15c4aee3.95def9","type":"switchNode","name":"switch error-code","xml":"<switch test='`$error_code`'>\n","comments":"","outputs":1,"x":1070.7499694824219,"y":416.7499694824219,"z":"acb37c25.7d695","wires":[["c6756561.624ca8","212002a8.ea32fe"]]},{"id":"c6756561.624ca8","type":"success","name":"SUCCESS","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":1252.7499694824219,"y":386.7499694824219,"z":"acb37c25.7d695","wires":[["f2ed13d.10a4af"]]},{"id":"212002a8.ea32fe","type":"outcome","name":"ERROR","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1244.7499694824219,"y":545.7499694824219,"z":"acb37c25.7d695","wires":[["2b794bb8.68c304"]]},{"id":"2b794bb8.68c304","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1377.7499694824219,"y":546.7499694824219,"z":"acb37c25.7d695","wires":[["60ad6e19.dea3f","e3ac2d57.c4e65"]]},{"id":"60ad6e19.dea3f","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":1512.7499694824219,"y":587.75,"z":"acb37c25.7d695","wires":[]},{"id":"17a2e299.91aeed","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1042.7499694824219,"y":294.7499694824219,"z":"acb37c25.7d695","wires":[["3fab6fa7.02aab"]]},{"id":"eb2d0f23.0a1f58","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":873.86669921875,"y":243.75,"z":"acb37c25.7d695","wires":[[]]},{"id":"1e02b081.c37eef","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":698.6166687011719,"y":264.6166687011719,"z":"acb37c25.7d695","wires":[["eb2d0f23.0a1f58","85ed6b90.7ce48","ead01081.d1b55"]]},{"id":"e3ac2d57.c4e65","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":1502.6166687011719,"y":518.6166687011719,"z":"acb37c25.7d695","wires":[[]]},{"id":"85ed6b90.7ce48","type":"execute","name":"restartServer()","xml":"<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='restartServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\" />\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$identity-url`\" />\n<parameter name=\"org.openecomp.appc.skiphypervisorcheck\" value=\"`$skip-hypervisor-check`\" />","comments":"","outputs":1,"x":714.7499694824219,"y":349.75,"z":"acb37c25.7d695","wires":[["5118ed02.7b4054","1adee386.87e9d4"]]},{"id":"ead01081.d1b55","type":"set","name":"set skiphypervisorcheck","xml":"<set>\n<parameter name='org.openecomp.appc.skiphypervisorcheck' value='`$skip-hypervisor-check`' />\n","comments":"","x":922.75,"y":175.75,"z":"acb37c25.7d695","wires":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVNFVMCommonFlow.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVNFVMCommonFlow.json
index 063b032ff..21b1c8390 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVNFVMCommonFlow.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_RestartVNFVMCommonFlow.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"8be5abbb.8e8238","type":"method","name":"RestartVMVNFCommonFlow","xml":"<method rpc='RestartVMVNFCommonFlow' mode='sync'>\n","comments":"","outputs":1,"x":162.75,"y":182,"z":"c78c4b7.7adc638","wires":[["436e1771.f30bb"]]},{"id":"4675131a.a2bb4c","type":"service-logic","name":"APPC 2.0.0","module":"APPC","version":"2.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>","outputs":1,"x":145.75,"y":133,"z":"c78c4b7.7adc638","wires":[["8be5abbb.8e8238"]]},{"id":"8e03a789.3ae3f8","type":"dgstart","name":"DGSTART","outputs":1,"x":137.75,"y":83,"z":"c78c4b7.7adc638","wires":[["4675131a.a2bb4c"]]},{"id":"bcbc30ba.d66ea8","type":"execute","name":"execute_getVNF_Hierarchy","xml":"<execute plugin='org.openecomp.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />","comments":"","outputs":1,"x":413.75,"y":269,"z":"c78c4b7.7adc638","wires":[["f2d80d63.c8c16","bbe6ec00.5438f8"]]},{"id":"f2d80d63.c8c16","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":569.0357208251953,"y":314.85713386535645,"z":"c78c4b7.7adc638","wires":[["5133513c.856678"]]},{"id":"d5460718.47f668","type":"block","name":"block : atomic","xml":"<block atomic='true'>\n","atomic":"true","comments":"","outputs":1,"x":1394.6073913574219,"y":309.5713963508606,"z":"c78c4b7.7adc638","wires":[["89a2871c.2a813","e61b9900.e00db"]]},{"id":"89a2871c.2a813","type":"for","name":"for_each_VMs","xml":"<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >","comments":"","outputs":1,"x":1587.3217239379883,"y":319.42853116989136,"z":"c78c4b7.7adc638","wires":[["47896469.b34acc"]]},{"id":"47896469.b34acc","type":"block","name":"block : atomic","xml":"<block atomic='true'>\n","atomic":"true","comments":"","outputs":1,"x":1699.3217010498047,"y":252.7142515182495,"z":"c78c4b7.7adc638","wires":[["52fff5b0.4373c4"]]},{"id":"52fff5b0.4373c4","type":"execute","name":"execute_UpdateAA&I","xml":"<execute plugin='org.openecomp.appc.dg.util.ExecuteNodeAction' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $VNF.VM[$i].VNFC' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Restarting\" />\n","comments":"","outputs":1,"x":1808.036018371582,"y":319.42854022979736,"z":"c78c4b7.7adc638","wires":[["31c0fe16.4742aa","a2d40fa2.090648"]]},{"id":"31c0fe16.4742aa","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2071.1785888671875,"y":320.57142639160156,"z":"c78c4b7.7adc638","wires":[["be4bc685.e500f"]]},{"id":"e61b9900.e00db","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":1581.0359420776367,"y":376.71416425704956,"z":"c78c4b7.7adc638","wires":[]},{"id":"bbe6ec00.5438f8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":566.03564453125,"y":92.28571319580078,"z":"c78c4b7.7adc638","wires":[["2812784e.6d9f"]]},{"id":"5510e749.6e8828","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure Executing getVNF_Hierarchy for Restart' />\n","comments":"","x":935.3214340209961,"y":141.57142579555511,"z":"c78c4b7.7adc638","wires":[]},{"id":"9c4bf697.756408","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":3518.7500076293945,"y":431.5714588165283,"z":"c78c4b7.7adc638","wires":[["2ad56342.527344"]]},{"id":"ab5d7a5c.3e581","type":"execute","name":"execute_update_AA&I","xml":"<execute plugin='org.openecomp.appc.dg.util.ExecuteNodeAction' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $VNF.VM[$i].VNFC' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Restarted\" />\n","comments":"","outputs":1,"x":4355.46378326416,"y":980.1429214477539,"z":"c78c4b7.7adc638","wires":[["81c62225.e792e8","bbf5360a.5bc72"]]},{"id":"81c62225.e792e8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":4548.892219543457,"y":1085.2858295440674,"z":"c78c4b7.7adc638","wires":[["4a8daed.def30d"]]},{"id":"aba526e8.36f458","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure in executing AAI Update' />\n","comments":"","x":4895.892219543457,"y":1136.2858295440674,"z":"c78c4b7.7adc638","wires":[]},{"id":"bbf5360a.5bc72","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":4548.178039550781,"y":888.0000867843628,"z":"c78c4b7.7adc638","wires":[["e14f710d.b91ca8"]]},{"id":"a2d40fa2.090648","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1882.7500381469727,"y":612.571478843689,"z":"c78c4b7.7adc638","wires":[["5e910b8f.321cb4"]]},{"id":"dd56ae0f.c5ba","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Error Updating AAI for Restart' />","comments":"","x":2206.32137298584,"y":701.4286470413208,"z":"c78c4b7.7adc638","wires":[]},{"id":"68548acd.173d04","type":"execute","name":"execute_Update_AA&I","xml":"<execute plugin='org.openecomp.appc.dg.util.ExecuteNodeAction' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $VNF.VM[$i].VNFC' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Error\" />\n","comments":"","outputs":1,"x":4881.035980224609,"y":594.7143478393555,"z":"c78c4b7.7adc638","wires":[["90a50ec1.5fc638","3382cc54.8f8ec4"]]},{"id":"90a50ec1.5fc638","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":5152.749912261963,"y":329.00002574920654,"z":"c78c4b7.7adc638","wires":[["9d0e2fd1.9c1f4"]]},{"id":"842b4e6e.1e2b88","type":"comment","name":"update VNFCs to Restarting","info":"","comments":"","x":1888.6074600219727,"y":281.71423721313477,"z":"c78c4b7.7adc638","wires":[]},{"id":"939f4559.9592f8","type":"comment","name":"call south bound to Restart VMs","info":"","comments":"","x":3345.1778717041016,"y":252.4285831451416,"z":"c78c4b7.7adc638","wires":[]},{"id":"c6333415.230b9","type":"comment","name":"if failure from south bound then update as Error","info":"","comments":"","x":4876.321907043457,"y":664.1428642272949,"z":"c78c4b7.7adc638","wires":[]},{"id":"972ff5db.a46f1","type":"comment","name":"Restarted VNFCs in AA&I","info":"","comments":"","x":4386.321113586426,"y":1017.714334487915,"z":"c78c4b7.7adc638","wires":[]},{"id":"d7b30e91.75e808","type":"comment","name":"Fetch all VMs and VNFCs from AA&I for given VNF_ID","info":"","comments":"","x":904.4642944335938,"y":172.85714149475098,"z":"c78c4b7.7adc638","wires":[]},{"id":"3382cc54.8f8ec4","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":5144.607753753662,"y":422.14294624328613,"z":"c78c4b7.7adc638","wires":[["2e3ea305.ff4bcc"]]},{"id":"733fe7fa.0cd4a","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":3483.035758972168,"y":102.85716247558594,"z":"c78c4b7.7adc638","wires":[["dfc7121e.032c28"]]},{"id":"f62397a3.6d3b68","type":"switchNode","name":"switch","xml":"<switch test='`$VNF.VMCount`'>\n","comments":"","outputs":1,"x":1011.607421875,"y":312.28571701049805,"z":"c78c4b7.7adc638","wires":[["863f594c.cb09c8","c9ef2a5a.b038c8"]]},{"id":"863f594c.cb09c8","type":"other","name":"outcome_0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":1280.0358276367188,"y":92.42858505249023,"z":"c78c4b7.7adc638","wires":[["820fea44.414b08"]]},{"id":"c9ef2a5a.b038c8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1228.8930282592773,"y":308.1428813934326,"z":"c78c4b7.7adc638","wires":[["d5460718.47f668"]]},{"id":"2ad56342.527344","type":"switchNode","name":"switch","xml":"<switch test='`$RESTART_STATUS`'>\n","comments":"","outputs":1,"x":3700.7500076293945,"y":430.5714588165283,"z":"c78c4b7.7adc638","wires":[["3dec0816.214ee8","f8697aba.3918c","c3be56a.b4937a8"]]},{"id":"c3be56a.b4937a8","type":"success","name":"outcome_SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":3988.1785583496094,"y":767.0000228881836,"z":"c78c4b7.7adc638","wires":[["5736a106.f1fa9"]]},{"id":"3dec0816.214ee8","type":"other","name":"outcome_CONTEXT_NOT_FOUND","xml":"<outcome value='CONTEXT_NOT_FOUND'>\n","comments":"","outputs":1,"x":4003.607635498047,"y":626.4286317825317,"z":"c78c4b7.7adc638","wires":[["52b45889.17d01"]]},{"id":"f8697aba.3918c","type":"other","name":"outcome_ERROR","xml":"<outcome value='ERROR'>\n","comments":"","outputs":1,"x":3900.7498474121094,"y":384.0000534057617,"z":"c78c4b7.7adc638","wires":[["69297849.639b5"]]},{"id":"b6417ff9.bc58e8","type":"execute","name":"execute_Restart","xml":"<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='restartServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$VNF.VM[$i].URL`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$AICIdentity`\" />\n\n","comments":"","outputs":1,"x":3343.0358657836914,"y":319.8571901321411,"z":"c78c4b7.7adc638","wires":[["9c4bf697.756408","733fe7fa.0cd4a"]]},{"id":"5133513c.856678","type":"switchNode","name":"switch","xml":"<switch test='`$getVnfHierarchy_result`'>\n","comments":"","outputs":1,"x":719.3214340209961,"y":312.8572082519531,"z":"c78c4b7.7adc638","wires":[["72b6ce18.26c098","9bead82f.cd767"]]},{"id":"9bead82f.cd767","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":867.5358428955078,"y":583.5714192390442,"z":"c78c4b7.7adc638","wires":[["542f0923.e53be8"]]},{"id":"f514a265.f82058","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure Getting VNF Hierarchy for Restart VNF' />\n","comments":"","x":1348.1071891784668,"y":660.285737991333,"z":"c78c4b7.7adc638","wires":[]},{"id":"72b6ce18.26c098","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":871.7499771118164,"y":313.1429080963135,"z":"c78c4b7.7adc638","wires":[["f62397a3.6d3b68"]]},{"id":"bf58666b.5d2968","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='No VMs found for Restart VNF' />","comments":"","x":1634.3217468261719,"y":146.8571014404297,"z":"c78c4b7.7adc638","wires":[]},{"id":"be4bc685.e500f","type":"switchNode","name":"switch","xml":"<switch test='`$postResource_result`'>\n","comments":"","outputs":1,"x":2406.1786003112793,"y":313.4285650253296,"z":"c78c4b7.7adc638","wires":[["48805c31.df9c94","c4d38aa0.b4e8f","7ec494b3.dd525c"]]},{"id":"48805c31.df9c94","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":3131.7501907348633,"y":324.7142677307129,"z":"c78c4b7.7adc638","wires":[["b6417ff9.bc58e8"]]},{"id":"c4d38aa0.b4e8f","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":2510.8929176330566,"y":96.4286117553711,"z":"c78c4b7.7adc638","wires":[["563a7593.eb4274"]]},{"id":"d27091ce.97eff8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Unable to send Post Request to update AAI' />","comments":"","x":2901.892868041992,"y":188.4285430908203,"z":"c78c4b7.7adc638","wires":[]},{"id":"7ec494b3.dd525c","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":2523.4642753601074,"y":604.857063293457,"z":"c78c4b7.7adc638","wires":[["c35c1366.818ab8"]]},{"id":"c4e150c6.fcb6e","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Post Failure Executing Update AAI for Restart' />","comments":"","x":2843.3210678100586,"y":700.2857112884521,"z":"c78c4b7.7adc638","wires":[]},{"id":"e14f710d.b91ca8","type":"switchNode","name":"switch","xml":"<switch test='`$postResource_result`'>\n","comments":"","outputs":1,"x":4710.892288208008,"y":888.428671836853,"z":"c78c4b7.7adc638","wires":[["b8831eff.8281c","6315cee2.ae8958","2807abc1.9b6e14"]]},{"id":"b8831eff.8281c","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":4896.606781005859,"y":887.1429166793823,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"6315cee2.ae8958","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":4901.606986999512,"y":819.2857484817505,"z":"c78c4b7.7adc638","wires":[["7eece4ab.7ff8fc"]]},{"id":"2807abc1.9b6e14","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":4884.606498718262,"y":953.142897605896,"z":"c78c4b7.7adc638","wires":[["27931143.bd9bf6"]]},{"id":"759fc367.db7e2c","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure in executing AAI Update-Not Found' />","comments":"","x":5265.035415649414,"y":881.8571405410767,"z":"c78c4b7.7adc638","wires":[]},{"id":"6c01944a.700a04","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure in executing AAI Update' />","comments":"","x":5292.464195251465,"y":1003.4285669326782,"z":"c78c4b7.7adc638","wires":[]},{"id":"9d0e2fd1.9c1f4","type":"switchNode","name":"switch","xml":"<switch test='`$postResource_result`'>\n","comments":"","outputs":1,"x":5279.179107666016,"y":322.8571615219116,"z":"c78c4b7.7adc638","wires":[["4b5074bb.24e7d4","26b9401d.a918d","5d819842.9acbd8"]]},{"id":"4b5074bb.24e7d4","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":5526.892833709717,"y":269.0000228881836,"z":"c78c4b7.7adc638","wires":[["91fb6ccc.f4eef8"]]},{"id":"91fb6ccc.f4eef8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Restart Failure' />\n","comments":"","x":5778.750324249268,"y":268.00002098083496,"z":"c78c4b7.7adc638","wires":[]},{"id":"26b9401d.a918d","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":5528.893047332764,"y":323.85716438293457,"z":"c78c4b7.7adc638","wires":[["76b4c65c.5494e8"]]},{"id":"5d819842.9acbd8","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":5521.750049591064,"y":389.42859840393066,"z":"c78c4b7.7adc638","wires":[["44730574.2bfc04"]]},{"id":"2812784e.6d9f","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":730.0356864929199,"y":91.99999713897705,"z":"c78c4b7.7adc638","wires":[["29ec2441.2ed354","5510e749.6e8828"]]},{"id":"29ec2441.2ed354","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Exception in getting VNF Hierachy\" />\n\n","comments":"","outputs":1,"x":935.1785926818848,"y":90.85714149475098,"z":"c78c4b7.7adc638","wires":[["5c59289d.8de6f8"]]},{"id":"5c59289d.8de6f8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1081.8928756713867,"y":87.14285659790039,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"542f0923.e53be8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1136.773910522461,"y":585.7620143890381,"z":"c78c4b7.7adc638","wires":[["f514a265.f82058","887f7ca9.35a54"]]},{"id":"887f7ca9.35a54","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure in getting VNF Hierachy\" />","comments":"","outputs":1,"x":1329.678638458252,"y":585.1429443359375,"z":"c78c4b7.7adc638","wires":[["a197a7a4.cb6e18"]]},{"id":"a197a7a4.cb6e18","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1510.9644165039062,"y":584.5715417861938,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"820fea44.414b08","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1460.321662902832,"y":93.85717391967773,"z":"c78c4b7.7adc638","wires":[["bf58666b.5d2968","d30d206.ec69d6"]]},{"id":"d30d206.ec69d6","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"VM Count is 0\" />\n","comments":"","outputs":1,"x":1643.7503547668457,"y":90.8571424484253,"z":"c78c4b7.7adc638","wires":[["6c930a9e.2240e4"]]},{"id":"6c930a9e.2240e4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1817.6074447631836,"y":92.57139015197754,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"5e910b8f.321cb4","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2030.321434020996,"y":611.1428813934326,"z":"c78c4b7.7adc638","wires":[["67794257.4253f4","dd56ae0f.c5ba"]]},{"id":"67794257.4253f4","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in updating AAI for' + $VNF.VM[$i].VNFC`\" />\n","comments":"","outputs":1,"x":2201.750244140625,"y":608.0000610351562,"z":"c78c4b7.7adc638","wires":[["d5a2eec0.c02f4"]]},{"id":"d5a2eec0.c02f4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2335.03564453125,"y":607.857177734375,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"c35c1366.818ab8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2688.0354232788086,"y":602.2856788635254,"z":"c78c4b7.7adc638","wires":[["8d88d68d.178098","c4e150c6.fcb6e"]]},{"id":"8d88d68d.178098","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Exception in AAI Update for vnfc ' + $VNF.VM[$i].VNFC`\" />\n\n","comments":"","outputs":1,"x":2845.03564453125,"y":603.142822265625,"z":"c78c4b7.7adc638","wires":[["191c4bc9.ddbc74"]]},{"id":"191c4bc9.ddbc74","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2972.178066253662,"y":602.8570718765259,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"563a7593.eb4274","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2699.464412689209,"y":92.42860984802246,"z":"c78c4b7.7adc638","wires":[["2e8a3fbc.e890c8","d27091ce.97eff8"]]},{"id":"2e8a3fbc.e890c8","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $VNF.VM[$i].VNFC`\" />\n","comments":"","outputs":1,"x":2899.1787300109863,"y":91.85716533660889,"z":"c78c4b7.7adc638","wires":[["ef0eaa38.35d1b8"]]},{"id":"ef0eaa38.35d1b8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":3058.6072311401367,"y":91.00004768371582,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"dfc7121e.032c28","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":4711.606857299805,"y":104.57143783569336,"z":"c78c4b7.7adc638","wires":[["11853f36.20c181","68548acd.173d04"]]},{"id":"11853f36.20c181","type":"execute","name":"Report_Failure_in_Restart","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in restart for:' + $VNF.VM[$i].URL`\" />","comments":"","outputs":1,"x":4931.178768157959,"y":131.285737991333,"z":"c78c4b7.7adc638","wires":[["fdc72ce2.9ea988"]]},{"id":"fdc72ce2.9ea988","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":5115.178413391113,"y":133.2857437133789,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"52b45889.17d01","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":4286.178771972656,"y":620.5714626312256,"z":"c78c4b7.7adc638","wires":[["68548acd.173d04","c3a57cd6.f21208"]]},{"id":"c3a57cd6.f21208","type":"execute","name":"Report_Context_not_found","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Stop : Context not found:' + $VNF.VM[$i].URL`\" />","comments":"","outputs":1,"x":4495.321556091309,"y":365.571475982666,"z":"c78c4b7.7adc638","wires":[["b2825586.5f88a"]]},{"id":"b2825586.5f88a","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":4863.180023193359,"y":376.1428756713867,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"69297849.639b5","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":4118.179046630859,"y":360.0000228881836,"z":"c78c4b7.7adc638","wires":[["68548acd.173d04","fb63e7f6.56328"]]},{"id":"fb63e7f6.56328","type":"execute","name":"Report_Error_occoured_while_restarting_the_server","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Stop : Error occoured while restarting the server:' + $VNF.VM[$i].URL`\" />","comments":"","outputs":1,"x":4313.607406616211,"y":220.85715770721436,"z":"c78c4b7.7adc638","wires":[["73e3e5cd.5347a4"]]},{"id":"73e3e5cd.5347a4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":4656.179046630859,"y":197.99999237060547,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"7eece4ab.7ff8fc","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":5098.607124328613,"y":817.7143201828003,"z":"c78c4b7.7adc638","wires":[["3e396754.cadd8","759fc367.db7e2c"]]},{"id":"27931143.bd9bf6","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":5095.463916778564,"y":949.8571300506592,"z":"c78c4b7.7adc638","wires":[["d2a97794.1b43b","6c01944a.700a04"]]},{"id":"4a8daed.def30d","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":4685.892219543457,"y":1081.2858295440674,"z":"c78c4b7.7adc638","wires":[["86b1c274.45e328","aba526e8.36f458"]]},{"id":"3e396754.cadd8","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $VNF.VM[$i].VNFC`\" />","comments":"","outputs":1,"x":5262.892913818359,"y":816.5714340209961,"z":"c78c4b7.7adc638","wires":[["4778c346.14f30c"]]},{"id":"d2a97794.1b43b","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Exception in AAI Update for vnfc' + $VNF.VM[$i].VNFC`\" />","comments":"","outputs":1,"x":5278.749771118164,"y":948.5713906288147,"z":"c78c4b7.7adc638","wires":[["29a82f21.5b0f2"]]},{"id":"4778c346.14f30c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":5435.892486572266,"y":821.2857761383057,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"29a82f21.5b0f2","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":5446.035621643066,"y":946.857105255127,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"86b1c274.45e328","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in updating AAI for' + $VNF.VM[$i].VNFC`\" />","comments":"","outputs":1,"x":4888.178146362305,"y":1077.1429538726807,"z":"c78c4b7.7adc638","wires":[["ca092d63.dce3c"]]},{"id":"ca092d63.dce3c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":5045.749572753906,"y":1071.1429538726807,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"8e902dec.138668","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure in executing AAI update-Restart Failure' />","comments":"","x":5440.749938964844,"y":689.9999990463257,"z":"c78c4b7.7adc638","wires":[]},{"id":"2e3ea305.ff4bcc","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":5264.75,"y":599.7142333984375,"z":"c78c4b7.7adc638","wires":[["87148039.f379c8","8e902dec.138668"]]},{"id":"87148039.f379c8","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in updating AAI for' + $VNF.VM[$i].VNFC`\" />\n","comments":"","outputs":1,"x":5436.178810119629,"y":596.571403503418,"z":"c78c4b7.7adc638","wires":[["e405c242.de001"]]},{"id":"e405c242.de001","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":5569.464210510254,"y":596.4285297393799,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"796af8b9.6f0df","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Not Found - Failure in executing AAI Update' />","comments":"","x":6149.75,"y":408,"z":"c78c4b7.7adc638","wires":[]},{"id":"76b4c65c.5494e8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":5942.32177734375,"y":328.00006103515625,"z":"c78c4b7.7adc638","wires":[["976e1ffd.3c5ac","796af8b9.6f0df"]]},{"id":"976e1ffd.3c5ac","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $VNF.VM[$i].VNFC`\" />\n","comments":"","outputs":1,"x":6147.035861968994,"y":311.4286222457886,"z":"c78c4b7.7adc638","wires":[["53aeb441.936564"]]},{"id":"53aeb441.936564","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":6306.4643630981445,"y":310.5715045928955,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"bb205133.796038","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Not Found - Failure in executing AAI Update-Restart Failure' />","comments":"","x":5882.75,"y":582,"z":"c78c4b7.7adc638","wires":[]},{"id":"44730574.2bfc04","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":5727.46435546875,"y":483.99996757507324,"z":"c78c4b7.7adc638","wires":[["e06ab492.36011","bb205133.796038"]]},{"id":"e06ab492.36011","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value='Exception in AAI Update for vnfc $VNF.VM[$i].VNFC' />\n","comments":"","outputs":1,"x":5884.464576721191,"y":484.85711097717285,"z":"c78c4b7.7adc638","wires":[["d1e85fde.16424"]]},{"id":"d1e85fde.16424","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":6011.6069984436035,"y":484.57136058807373,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"5736a106.f1fa9","type":"execute","name":"Report_Success_in_Restart","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='reportSuccess' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Restart event executed successfully for ' + $VNF.VM[$i].URL`\" />\n","comments":"","outputs":1,"x":3846.0833435058594,"y":974.6667098999023,"z":"c78c4b7.7adc638","wires":[["9238bd39.7f0f08","b06b539b.237a6"]]},{"id":"9238bd39.7f0f08","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":4072.083333333334,"y":1016.6666641235352,"z":"c78c4b7.7adc638","wires":[["ab5d7a5c.3e581"]]},{"id":"b06b539b.237a6","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":4106.083333333334,"y":908.6666641235352,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"436e1771.f30bb","type":"switchNode","name":"switch action-level","xml":"<switch test='`$action-level`'>\n","comments":"","outputs":1,"x":158.5,"y":255.75,"z":"c78c4b7.7adc638","wires":[["c3eb7ee2.6bc838","4b42a252.ce9b7c","2b0668a9.f98a5"]]},{"id":"c3eb7ee2.6bc838","type":"outcome","name":"vnf","xml":"<outcome value='vnf'>\n","comments":"","outputs":1,"x":377.5,"y":190.75,"z":"c78c4b7.7adc638","wires":[["bcbc30ba.d66ea8"]]},{"id":"4b42a252.ce9b7c","type":"outcome","name":"vm","xml":"<outcome value='vm'>\n","comments":"","outputs":1,"x":299.5,"y":916.75,"z":"c78c4b7.7adc638","wires":[["fcce9aee.30317"]]},{"id":"fcce9aee.30317","type":"call","name":"call RestartVMCommonFlow","xml":"<call module='APPC' rpc='RestartVMCommonFlow' mode='sync' >\n","comments":"","outputs":1,"x":524.5,"y":913.75,"z":"c78c4b7.7adc638","wires":[["7d578194.240498","f8a137de.0c9738","3a144b5c.7e90fc"]]},{"id":"7d578194.240498","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":749.5,"y":839.75,"z":"c78c4b7.7adc638","wires":[["a2b0ff50.40a9e"]]},{"id":"f8a137de.0c9738","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":750,"y":907.75,"z":"c78c4b7.7adc638","wires":[["a2b0ff50.40a9e"]]},{"id":"a2b0ff50.40a9e","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":957.75,"y":875.25,"z":"c78c4b7.7adc638","wires":[["4c06f4b2.5bf40c"]]},{"id":"57559431.e251f4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":925.5,"y":953.75,"z":"c78c4b7.7adc638","wires":[["b886d3f6.91d68"]]},{"id":"3a144b5c.7e90fc","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":747.7499942779541,"y":960.7499914169312,"z":"c78c4b7.7adc638","wires":[["57559431.e251f4"]]},{"id":"b886d3f6.91d68","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":1107.5,"y":951.75,"z":"c78c4b7.7adc638","wires":[]},{"id":"4c06f4b2.5bf40c","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":1127.5,"y":872.75,"z":"c78c4b7.7adc638","wires":[]},{"id":"8e978100.d3a1c8","type":"comment","name":"Check action-level, call VM restart if action level is VM","info":"","comments":"","x":246.25,"y":320.75,"z":"c78c4b7.7adc638","wires":[]},{"id":"d78e2f94.fc3e3","type":"comment","name":"Call DG for VM level Restart - parameters are in context","info":"","comments":"","x":456.5,"y":824.75,"z":"c78c4b7.7adc638","wires":[]},{"id":"2b0668a9.f98a5","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":279.75,"y":1012.75,"z":"c78c4b7.7adc638","wires":[["3188358.10d61ca"]]},{"id":"3188358.10d61ca","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":442.75,"y":1007.75,"z":"c78c4b7.7adc638","wires":[["8c09b4ed.560f08"]]},{"id":"8c09b4ed.560f08","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Invalid action-level found' />\n","comments":"","x":659.5,"y":1007.25,"z":"c78c4b7.7adc638","wires":[]}]
+[{"id":"8be5abbb.8e8238","type":"method","name":"RestartVMVNFCommonFlow","xml":"<method rpc='RestartVMVNFCommonFlow' mode='sync'>\n","comments":"","outputs":1,"x":162.75,"y":182,"z":"c78c4b7.7adc638","wires":[["436e1771.f30bb"]]},{"id":"4675131a.a2bb4c","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":145.75,"y":133,"z":"c78c4b7.7adc638","wires":[["8be5abbb.8e8238"]]},{"id":"8e03a789.3ae3f8","type":"dgstart","name":"DGSTART","outputs":1,"x":137.75,"y":83,"z":"c78c4b7.7adc638","wires":[["4675131a.a2bb4c"]]},{"id":"bcbc30ba.d66ea8","type":"execute","name":"execute_getVNF_Hierarchy","xml":"<execute plugin='org.openecomp.appc.dg.util.ExecuteNodeAction' method='getVnfHierarchy'>\n<parameter name=\"resourceKey\" value=\"`$input.action-identifiers.vnf-id`\" />","comments":"","outputs":1,"x":413.75,"y":269,"z":"c78c4b7.7adc638","wires":[["f2d80d63.c8c16","bbe6ec00.5438f8"]]},{"id":"f2d80d63.c8c16","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":569.0357208251953,"y":314.85713386535645,"z":"c78c4b7.7adc638","wires":[["5133513c.856678"]]},{"id":"d5460718.47f668","type":"block","name":"block : atomic","xml":"<block atomic='true'>\n","atomic":"true","comments":"","outputs":1,"x":1394.6073913574219,"y":309.5713963508606,"z":"c78c4b7.7adc638","wires":[["89a2871c.2a813","e61b9900.e00db"]]},{"id":"89a2871c.2a813","type":"for","name":"for_each_VMs","xml":"<for index=\"i\" start=\"0\" end=\"`$VNF.VMCount`\" >","comments":"","outputs":1,"x":1587.3217239379883,"y":319.42853116989136,"z":"c78c4b7.7adc638","wires":[["47896469.b34acc"]]},{"id":"47896469.b34acc","type":"block","name":"block : atomic","xml":"<block atomic='true'>\n","atomic":"true","comments":"","outputs":1,"x":1699.3217010498047,"y":252.7142515182495,"z":"c78c4b7.7adc638","wires":[["52fff5b0.4373c4"]]},{"id":"52fff5b0.4373c4","type":"execute","name":"execute_UpdateAA&I","xml":"<execute plugin='org.openecomp.appc.dg.util.ExecuteNodeAction' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $VNF.VM[$i].VNFC' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Restarting\" />\n","comments":"","outputs":1,"x":1808.036018371582,"y":319.42854022979736,"z":"c78c4b7.7adc638","wires":[["31c0fe16.4742aa","a2d40fa2.090648"]]},{"id":"31c0fe16.4742aa","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2071.1785888671875,"y":320.57142639160156,"z":"c78c4b7.7adc638","wires":[["be4bc685.e500f"]]},{"id":"e61b9900.e00db","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":1581.0359420776367,"y":376.71416425704956,"z":"c78c4b7.7adc638","wires":[]},{"id":"bbe6ec00.5438f8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":566.03564453125,"y":92.28571319580078,"z":"c78c4b7.7adc638","wires":[["2812784e.6d9f"]]},{"id":"5510e749.6e8828","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure Executing getVNF_Hierarchy for Restart' />\n","comments":"","x":935.3214340209961,"y":141.57142579555511,"z":"c78c4b7.7adc638","wires":[]},{"id":"9c4bf697.756408","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":3518.7500076293945,"y":431.5714588165283,"z":"c78c4b7.7adc638","wires":[["2ad56342.527344"]]},{"id":"ab5d7a5c.3e581","type":"execute","name":"execute_update_AA&I","xml":"<execute plugin='org.openecomp.appc.dg.util.ExecuteNodeAction' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $VNF.VM[$i].VNFC' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Restarted\" />\n","comments":"","outputs":1,"x":4355.46378326416,"y":980.1429214477539,"z":"c78c4b7.7adc638","wires":[["81c62225.e792e8","bbf5360a.5bc72"]]},{"id":"81c62225.e792e8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":4548.892219543457,"y":1085.2858295440674,"z":"c78c4b7.7adc638","wires":[["4a8daed.def30d"]]},{"id":"aba526e8.36f458","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure in executing AAI Update' />\n","comments":"","x":4895.892219543457,"y":1136.2858295440674,"z":"c78c4b7.7adc638","wires":[]},{"id":"bbf5360a.5bc72","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":4548.178039550781,"y":888.0000867843628,"z":"c78c4b7.7adc638","wires":[["e14f710d.b91ca8"]]},{"id":"a2d40fa2.090648","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1882.7500381469727,"y":612.571478843689,"z":"c78c4b7.7adc638","wires":[["5e910b8f.321cb4"]]},{"id":"dd56ae0f.c5ba","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Error Updating AAI for Restart' />","comments":"","x":2206.32137298584,"y":701.4286470413208,"z":"c78c4b7.7adc638","wires":[]},{"id":"68548acd.173d04","type":"execute","name":"execute_Update_AA&I","xml":"<execute plugin='org.openecomp.appc.dg.util.ExecuteNodeAction' method='postResource'>\n<parameter name=\"resourceType\" value=\"vnfc\" />\n<parameter name=\"prefix\" value=\"vnfc\" />\n<parameter name=\"resourceKey\" value='vnfc-name = $VNF.VM[$i].VNFC' />\n<parameter name=\"attributeName\" value=\"orchestration-status\" />\n<parameter name=\"attributeValue\" value=\"Error\" />\n","comments":"","outputs":1,"x":4881.035980224609,"y":594.7143478393555,"z":"c78c4b7.7adc638","wires":[["90a50ec1.5fc638","3382cc54.8f8ec4"]]},{"id":"90a50ec1.5fc638","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":5152.749912261963,"y":329.00002574920654,"z":"c78c4b7.7adc638","wires":[["9d0e2fd1.9c1f4"]]},{"id":"842b4e6e.1e2b88","type":"comment","name":"update VNFCs to Restarting","info":"","comments":"","x":1888.6074600219727,"y":281.71423721313477,"z":"c78c4b7.7adc638","wires":[]},{"id":"939f4559.9592f8","type":"comment","name":"call south bound to Restart VMs","info":"","comments":"","x":3345.1778717041016,"y":252.4285831451416,"z":"c78c4b7.7adc638","wires":[]},{"id":"c6333415.230b9","type":"comment","name":"if failure from south bound then update as Error","info":"","comments":"","x":4876.321907043457,"y":664.1428642272949,"z":"c78c4b7.7adc638","wires":[]},{"id":"972ff5db.a46f1","type":"comment","name":"Restarted VNFCs in AA&I","info":"","comments":"","x":4386.321113586426,"y":1017.714334487915,"z":"c78c4b7.7adc638","wires":[]},{"id":"d7b30e91.75e808","type":"comment","name":"Fetch all VMs and VNFCs from AA&I for given VNF_ID","info":"","comments":"","x":904.4642944335938,"y":172.85714149475098,"z":"c78c4b7.7adc638","wires":[]},{"id":"3382cc54.8f8ec4","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":5144.607753753662,"y":422.14294624328613,"z":"c78c4b7.7adc638","wires":[["2e3ea305.ff4bcc"]]},{"id":"733fe7fa.0cd4a","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":3483.035758972168,"y":102.85716247558594,"z":"c78c4b7.7adc638","wires":[["dfc7121e.032c28"]]},{"id":"f62397a3.6d3b68","type":"switchNode","name":"switch","xml":"<switch test='`$VNF.VMCount`'>\n","comments":"","outputs":1,"x":1011.607421875,"y":312.28571701049805,"z":"c78c4b7.7adc638","wires":[["863f594c.cb09c8","c9ef2a5a.b038c8"]]},{"id":"863f594c.cb09c8","type":"other","name":"outcome_0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":1280.0358276367188,"y":92.42858505249023,"z":"c78c4b7.7adc638","wires":[["820fea44.414b08"]]},{"id":"c9ef2a5a.b038c8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1228.8930282592773,"y":308.1428813934326,"z":"c78c4b7.7adc638","wires":[["d5460718.47f668"]]},{"id":"2ad56342.527344","type":"switchNode","name":"switch","xml":"<switch test='`$RESTART_STATUS`'>\n","comments":"","outputs":1,"x":3700.7500076293945,"y":430.5714588165283,"z":"c78c4b7.7adc638","wires":[["3dec0816.214ee8","f8697aba.3918c","c3be56a.b4937a8"]]},{"id":"c3be56a.b4937a8","type":"success","name":"outcome_SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":3988.1785583496094,"y":767.0000228881836,"z":"c78c4b7.7adc638","wires":[["5736a106.f1fa9"]]},{"id":"3dec0816.214ee8","type":"other","name":"outcome_CONTEXT_NOT_FOUND","xml":"<outcome value='CONTEXT_NOT_FOUND'>\n","comments":"","outputs":1,"x":4003.607635498047,"y":626.4286317825317,"z":"c78c4b7.7adc638","wires":[["52b45889.17d01"]]},{"id":"f8697aba.3918c","type":"other","name":"outcome_ERROR","xml":"<outcome value='ERROR'>\n","comments":"","outputs":1,"x":3900.7498474121094,"y":384.0000534057617,"z":"c78c4b7.7adc638","wires":[["69297849.639b5"]]},{"id":"b6417ff9.bc58e8","type":"execute","name":"execute_Restart","xml":"<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='restartServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$VNF.VM[$i].URL`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$AICIdentity`\" />\n\n","comments":"","outputs":1,"x":3343.0358657836914,"y":319.8571901321411,"z":"c78c4b7.7adc638","wires":[["9c4bf697.756408","733fe7fa.0cd4a"]]},{"id":"5133513c.856678","type":"switchNode","name":"switch","xml":"<switch test='`$getVnfHierarchy_result`'>\n","comments":"","outputs":1,"x":719.3214340209961,"y":312.8572082519531,"z":"c78c4b7.7adc638","wires":[["72b6ce18.26c098","9bead82f.cd767"]]},{"id":"9bead82f.cd767","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":867.5358428955078,"y":583.5714192390442,"z":"c78c4b7.7adc638","wires":[["542f0923.e53be8"]]},{"id":"f514a265.f82058","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure Getting VNF Hierarchy for Restart VNF' />\n","comments":"","x":1348.1071891784668,"y":660.285737991333,"z":"c78c4b7.7adc638","wires":[]},{"id":"72b6ce18.26c098","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":871.7499771118164,"y":313.1429080963135,"z":"c78c4b7.7adc638","wires":[["f62397a3.6d3b68"]]},{"id":"bf58666b.5d2968","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='No VMs found for Restart VNF' />","comments":"","x":1634.3217468261719,"y":146.8571014404297,"z":"c78c4b7.7adc638","wires":[]},{"id":"be4bc685.e500f","type":"switchNode","name":"switch","xml":"<switch test='`$postResource_result`'>\n","comments":"","outputs":1,"x":2406.1786003112793,"y":313.4285650253296,"z":"c78c4b7.7adc638","wires":[["48805c31.df9c94","c4d38aa0.b4e8f","7ec494b3.dd525c"]]},{"id":"48805c31.df9c94","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":3131.7501907348633,"y":324.7142677307129,"z":"c78c4b7.7adc638","wires":[["b6417ff9.bc58e8"]]},{"id":"c4d38aa0.b4e8f","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":2510.8929176330566,"y":96.4286117553711,"z":"c78c4b7.7adc638","wires":[["563a7593.eb4274"]]},{"id":"d27091ce.97eff8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Unable to send Post Request to update AAI' />","comments":"","x":2901.892868041992,"y":188.4285430908203,"z":"c78c4b7.7adc638","wires":[]},{"id":"7ec494b3.dd525c","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":2523.4642753601074,"y":604.857063293457,"z":"c78c4b7.7adc638","wires":[["c35c1366.818ab8"]]},{"id":"c4e150c6.fcb6e","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Post Failure Executing Update AAI for Restart' />","comments":"","x":2843.3210678100586,"y":700.2857112884521,"z":"c78c4b7.7adc638","wires":[]},{"id":"e14f710d.b91ca8","type":"switchNode","name":"switch","xml":"<switch test='`$postResource_result`'>\n","comments":"","outputs":1,"x":4710.892288208008,"y":888.428671836853,"z":"c78c4b7.7adc638","wires":[["b8831eff.8281c","6315cee2.ae8958","2807abc1.9b6e14"]]},{"id":"b8831eff.8281c","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":4896.606781005859,"y":887.1429166793823,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"6315cee2.ae8958","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":4901.606986999512,"y":819.2857484817505,"z":"c78c4b7.7adc638","wires":[["7eece4ab.7ff8fc"]]},{"id":"2807abc1.9b6e14","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":4884.606498718262,"y":953.142897605896,"z":"c78c4b7.7adc638","wires":[["27931143.bd9bf6"]]},{"id":"759fc367.db7e2c","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure in executing AAI Update-Not Found' />","comments":"","x":5265.035415649414,"y":881.8571405410767,"z":"c78c4b7.7adc638","wires":[]},{"id":"6c01944a.700a04","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure in executing AAI Update' />","comments":"","x":5292.464195251465,"y":1003.4285669326782,"z":"c78c4b7.7adc638","wires":[]},{"id":"9d0e2fd1.9c1f4","type":"switchNode","name":"switch","xml":"<switch test='`$postResource_result`'>\n","comments":"","outputs":1,"x":5279.179107666016,"y":322.8571615219116,"z":"c78c4b7.7adc638","wires":[["4b5074bb.24e7d4","26b9401d.a918d","5d819842.9acbd8"]]},{"id":"4b5074bb.24e7d4","type":"outcome","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":5526.892833709717,"y":269.0000228881836,"z":"c78c4b7.7adc638","wires":[["91fb6ccc.f4eef8"]]},{"id":"91fb6ccc.f4eef8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Restart Failure' />\n","comments":"","x":5778.750324249268,"y":268.00002098083496,"z":"c78c4b7.7adc638","wires":[]},{"id":"26b9401d.a918d","type":"outcome","name":"NOT_FOUND","xml":"<outcome value='NOT_FOUND'>\n","comments":"","outputs":1,"x":5528.893047332764,"y":323.85716438293457,"z":"c78c4b7.7adc638","wires":[["76b4c65c.5494e8"]]},{"id":"5d819842.9acbd8","type":"outcome","name":"FAILURE","xml":"<outcome value='FAILURE'>\n","comments":"","outputs":1,"x":5521.750049591064,"y":389.42859840393066,"z":"c78c4b7.7adc638","wires":[["44730574.2bfc04"]]},{"id":"2812784e.6d9f","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":730.0356864929199,"y":91.99999713897705,"z":"c78c4b7.7adc638","wires":[["29ec2441.2ed354","5510e749.6e8828"]]},{"id":"29ec2441.2ed354","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Exception in getting VNF Hierachy\" />\n\n","comments":"","outputs":1,"x":935.1785926818848,"y":90.85714149475098,"z":"c78c4b7.7adc638","wires":[["5c59289d.8de6f8"]]},{"id":"5c59289d.8de6f8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1081.8928756713867,"y":87.14285659790039,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"542f0923.e53be8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1136.773910522461,"y":585.7620143890381,"z":"c78c4b7.7adc638","wires":[["f514a265.f82058","887f7ca9.35a54"]]},{"id":"887f7ca9.35a54","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"Failure in getting VNF Hierachy\" />","comments":"","outputs":1,"x":1329.678638458252,"y":585.1429443359375,"z":"c78c4b7.7adc638","wires":[["a197a7a4.cb6e18"]]},{"id":"a197a7a4.cb6e18","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1510.9644165039062,"y":584.5715417861938,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"820fea44.414b08","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1460.321662902832,"y":93.85717391967773,"z":"c78c4b7.7adc638","wires":[["bf58666b.5d2968","d30d206.ec69d6"]]},{"id":"d30d206.ec69d6","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"VM Count is 0\" />\n","comments":"","outputs":1,"x":1643.7503547668457,"y":90.8571424484253,"z":"c78c4b7.7adc638","wires":[["6c930a9e.2240e4"]]},{"id":"6c930a9e.2240e4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1817.6074447631836,"y":92.57139015197754,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"5e910b8f.321cb4","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2030.321434020996,"y":611.1428813934326,"z":"c78c4b7.7adc638","wires":[["67794257.4253f4","dd56ae0f.c5ba"]]},{"id":"67794257.4253f4","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in updating AAI for' + $VNF.VM[$i].VNFC`\" />\n","comments":"","outputs":1,"x":2201.750244140625,"y":608.0000610351562,"z":"c78c4b7.7adc638","wires":[["d5a2eec0.c02f4"]]},{"id":"d5a2eec0.c02f4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2335.03564453125,"y":607.857177734375,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"c35c1366.818ab8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2688.0354232788086,"y":602.2856788635254,"z":"c78c4b7.7adc638","wires":[["8d88d68d.178098","c4e150c6.fcb6e"]]},{"id":"8d88d68d.178098","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Exception in AAI Update for vnfc ' + $VNF.VM[$i].VNFC`\" />\n\n","comments":"","outputs":1,"x":2845.03564453125,"y":603.142822265625,"z":"c78c4b7.7adc638","wires":[["191c4bc9.ddbc74"]]},{"id":"191c4bc9.ddbc74","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2972.178066253662,"y":602.8570718765259,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"563a7593.eb4274","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2699.464412689209,"y":92.42860984802246,"z":"c78c4b7.7adc638","wires":[["2e8a3fbc.e890c8","d27091ce.97eff8"]]},{"id":"2e8a3fbc.e890c8","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $VNF.VM[$i].VNFC`\" />\n","comments":"","outputs":1,"x":2899.1787300109863,"y":91.85716533660889,"z":"c78c4b7.7adc638","wires":[["ef0eaa38.35d1b8"]]},{"id":"ef0eaa38.35d1b8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":3058.6072311401367,"y":91.00004768371582,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"dfc7121e.032c28","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":4711.606857299805,"y":104.57143783569336,"z":"c78c4b7.7adc638","wires":[["11853f36.20c181","68548acd.173d04"]]},{"id":"11853f36.20c181","type":"execute","name":"Report_Failure_in_Restart","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in restart for:' + $VNF.VM[$i].URL`\" />","comments":"","outputs":1,"x":4931.178768157959,"y":131.285737991333,"z":"c78c4b7.7adc638","wires":[["fdc72ce2.9ea988"]]},{"id":"fdc72ce2.9ea988","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":5115.178413391113,"y":133.2857437133789,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"52b45889.17d01","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":4286.178771972656,"y":620.5714626312256,"z":"c78c4b7.7adc638","wires":[["68548acd.173d04","c3a57cd6.f21208"]]},{"id":"c3a57cd6.f21208","type":"execute","name":"Report_Context_not_found","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Stop : Context not found:' + $VNF.VM[$i].URL`\" />","comments":"","outputs":1,"x":4495.321556091309,"y":365.571475982666,"z":"c78c4b7.7adc638","wires":[["b2825586.5f88a"]]},{"id":"b2825586.5f88a","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":4863.180023193359,"y":376.1428756713867,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"69297849.639b5","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":4118.179046630859,"y":360.0000228881836,"z":"c78c4b7.7adc638","wires":[["68548acd.173d04","fb63e7f6.56328"]]},{"id":"fb63e7f6.56328","type":"execute","name":"Report_Error_occoured_while_restarting_the_server","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Stop : Error occoured while restarting the server:' + $VNF.VM[$i].URL`\" />","comments":"","outputs":1,"x":4313.607406616211,"y":220.85715770721436,"z":"c78c4b7.7adc638","wires":[["73e3e5cd.5347a4"]]},{"id":"73e3e5cd.5347a4","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":4656.179046630859,"y":197.99999237060547,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"7eece4ab.7ff8fc","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":5098.607124328613,"y":817.7143201828003,"z":"c78c4b7.7adc638","wires":[["3e396754.cadd8","759fc367.db7e2c"]]},{"id":"27931143.bd9bf6","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":5095.463916778564,"y":949.8571300506592,"z":"c78c4b7.7adc638","wires":[["d2a97794.1b43b","6c01944a.700a04"]]},{"id":"4a8daed.def30d","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":4685.892219543457,"y":1081.2858295440674,"z":"c78c4b7.7adc638","wires":[["86b1c274.45e328","aba526e8.36f458"]]},{"id":"3e396754.cadd8","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $VNF.VM[$i].VNFC`\" />","comments":"","outputs":1,"x":5262.892913818359,"y":816.5714340209961,"z":"c78c4b7.7adc638","wires":[["4778c346.14f30c"]]},{"id":"d2a97794.1b43b","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Exception in AAI Update for vnfc' + $VNF.VM[$i].VNFC`\" />","comments":"","outputs":1,"x":5278.749771118164,"y":948.5713906288147,"z":"c78c4b7.7adc638","wires":[["29a82f21.5b0f2"]]},{"id":"4778c346.14f30c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":5435.892486572266,"y":821.2857761383057,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"29a82f21.5b0f2","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":5446.035621643066,"y":946.857105255127,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"86b1c274.45e328","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in updating AAI for' + $VNF.VM[$i].VNFC`\" />","comments":"","outputs":1,"x":4888.178146362305,"y":1077.1429538726807,"z":"c78c4b7.7adc638","wires":[["ca092d63.dce3c"]]},{"id":"ca092d63.dce3c","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":5045.749572753906,"y":1071.1429538726807,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"8e902dec.138668","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Failure in executing AAI update-Restart Failure' />","comments":"","x":5440.749938964844,"y":689.9999990463257,"z":"c78c4b7.7adc638","wires":[]},{"id":"2e3ea305.ff4bcc","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":5264.75,"y":599.7142333984375,"z":"c78c4b7.7adc638","wires":[["87148039.f379c8","8e902dec.138668"]]},{"id":"87148039.f379c8","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Failure in updating AAI for' + $VNF.VM[$i].VNFC`\" />\n","comments":"","outputs":1,"x":5436.178810119629,"y":596.571403503418,"z":"c78c4b7.7adc638","wires":[["e405c242.de001"]]},{"id":"e405c242.de001","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":5569.464210510254,"y":596.4285297393799,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"796af8b9.6f0df","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Not Found - Failure in executing AAI Update' />","comments":"","x":6149.75,"y":408,"z":"c78c4b7.7adc638","wires":[]},{"id":"76b4c65c.5494e8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":5942.32177734375,"y":328.00006103515625,"z":"c78c4b7.7adc638","wires":[["976e1ffd.3c5ac","796af8b9.6f0df"]]},{"id":"976e1ffd.3c5ac","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'VNFC not found in AAI : ' + $VNF.VM[$i].VNFC`\" />\n","comments":"","outputs":1,"x":6147.035861968994,"y":311.4286222457886,"z":"c78c4b7.7adc638","wires":[["53aeb441.936564"]]},{"id":"53aeb441.936564","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":6306.4643630981445,"y":310.5715045928955,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"bb205133.796038","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Not Found - Failure in executing AAI Update-Restart Failure' />","comments":"","x":5882.75,"y":582,"z":"c78c4b7.7adc638","wires":[]},{"id":"44730574.2bfc04","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":5727.46435546875,"y":483.99996757507324,"z":"c78c4b7.7adc638","wires":[["e06ab492.36011","bb205133.796038"]]},{"id":"e06ab492.36011","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='report' >\n<parameter name=\"apiVer\" value=\"1.01\"/>\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value='Exception in AAI Update for vnfc $VNF.VM[$i].VNFC' />\n","comments":"","outputs":1,"x":5884.464576721191,"y":484.85711097717285,"z":"c78c4b7.7adc638","wires":[["d1e85fde.16424"]]},{"id":"d1e85fde.16424","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":6011.6069984436035,"y":484.57136058807373,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"5736a106.f1fa9","type":"execute","name":"Report_Success_in_Restart","xml":"<execute plugin='org.openecomp.appc.dg.common.DCAEReporterPlugin' method='reportSuccess' >\n<parameter name=\"eventId\" value=\"`$input.action-identifiers.vnf-id`\" />\n<parameter name=\"output.status.message\" value=\"`'Restart event executed successfully for ' + $VNF.VM[$i].URL`\" />\n","comments":"","outputs":1,"x":3846.0833435058594,"y":974.6667098999023,"z":"c78c4b7.7adc638","wires":[["9238bd39.7f0f08","b06b539b.237a6"]]},{"id":"9238bd39.7f0f08","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":4072.083333333334,"y":1016.6666641235352,"z":"c78c4b7.7adc638","wires":[["ab5d7a5c.3e581"]]},{"id":"b06b539b.237a6","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":4106.083333333334,"y":908.6666641235352,"z":"c78c4b7.7adc638","wires":[[]]},{"id":"436e1771.f30bb","type":"switchNode","name":"switch action-level","xml":"<switch test='`$action-level`'>\n","comments":"","outputs":1,"x":158.5,"y":255.75,"z":"c78c4b7.7adc638","wires":[["c3eb7ee2.6bc838","4b42a252.ce9b7c","2b0668a9.f98a5"]]},{"id":"c3eb7ee2.6bc838","type":"outcome","name":"vnf","xml":"<outcome value='vnf'>\n","comments":"","outputs":1,"x":377.5,"y":190.75,"z":"c78c4b7.7adc638","wires":[["bcbc30ba.d66ea8"]]},{"id":"4b42a252.ce9b7c","type":"outcome","name":"vm","xml":"<outcome value='vm'>\n","comments":"","outputs":1,"x":299.5,"y":916.75,"z":"c78c4b7.7adc638","wires":[["fcce9aee.30317"]]},{"id":"fcce9aee.30317","type":"call","name":"call RestartVMCommonFlow","xml":"<call module='APPC' rpc='RestartVMCommonFlow' mode='sync' >\n","comments":"","outputs":1,"x":524.5,"y":913.75,"z":"c78c4b7.7adc638","wires":[["7d578194.240498","f8a137de.0c9738","3a144b5c.7e90fc"]]},{"id":"7d578194.240498","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":749.5,"y":839.75,"z":"c78c4b7.7adc638","wires":[["a2b0ff50.40a9e"]]},{"id":"f8a137de.0c9738","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":750,"y":907.75,"z":"c78c4b7.7adc638","wires":[["a2b0ff50.40a9e"]]},{"id":"a2b0ff50.40a9e","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":957.75,"y":875.25,"z":"c78c4b7.7adc638","wires":[["4c06f4b2.5bf40c"]]},{"id":"57559431.e251f4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":925.5,"y":953.75,"z":"c78c4b7.7adc638","wires":[["b886d3f6.91d68"]]},{"id":"3a144b5c.7e90fc","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":747.7499942779541,"y":960.7499914169312,"z":"c78c4b7.7adc638","wires":[["57559431.e251f4"]]},{"id":"b886d3f6.91d68","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":1107.5,"y":951.75,"z":"c78c4b7.7adc638","wires":[]},{"id":"4c06f4b2.5bf40c","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":1127.5,"y":872.75,"z":"c78c4b7.7adc638","wires":[]},{"id":"8e978100.d3a1c8","type":"comment","name":"Check action-level, call VM restart if action level is VM","info":"","comments":"","x":246.25,"y":320.75,"z":"c78c4b7.7adc638","wires":[]},{"id":"d78e2f94.fc3e3","type":"comment","name":"Call DG for VM level Restart - parameters are in context","info":"","comments":"","x":456.5,"y":824.75,"z":"c78c4b7.7adc638","wires":[]},{"id":"2b0668a9.f98a5","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":279.75,"y":1012.75,"z":"c78c4b7.7adc638","wires":[["3188358.10d61ca"]]},{"id":"3188358.10d61ca","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":442.75,"y":1007.75,"z":"c78c4b7.7adc638","wires":[["8c09b4ed.560f08"]]},{"id":"8c09b4ed.560f08","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='Invalid action-level found' />\n","comments":"","x":659.5,"y":1007.25,"z":"c78c4b7.7adc638","wires":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SaveRunningConfig.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SaveRunningConfig.json
index 1c2a49cd8..97de6415d 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SaveRunningConfig.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SaveRunningConfig.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"f7089b6e.27e52","type":"dgstart","name":"DGSTART","outputs":1,"x":138,"y":98,"z":"30436ccd.4adc14","wires":[["a81660a2.acdb6"]]},{"id":"a81660a2.acdb6","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":292,"y":97,"z":"30436ccd.4adc14","wires":[["6912640f.71411c"]]},{"id":"6912640f.71411c","type":"method","name":"method SaveRunningConfig","xml":"<method rpc='SaveRunningConfig' mode='sync'>\n","comments":"","outputs":1,"x":520,"y":100,"z":"30436ccd.4adc14","wires":[["33c4539f.9dc64c"]]},{"id":"94be0ae2.28833","type":"set","name":"set call DG Parameters","xml":"<set>\n<parameter name='config.vnf-id' value=\"`$vnf-id`\" />\n<parameter name='config.vm-name' value=\"`$vm-name`\" />\n<parameter name='config.vnf-type' value=\"`$vnf-type`\" />\n<parameter name='config.vnf-name' value=\"`$vnf-name`\" />\n<parameter name='config.protocol' value=\"`$tmp.deviceinterfaceprotocol.PROTOCOL`\" />\n<parameter name='config.host-ip-address' value=\"`$vnf-host-ip-address`\" />\n<parameter name='config.user-name' value=\"`$device-authentication.USER-NAME`\" />\n<parameter name='config.password' value=\"`$device-authentication.PASSWORD`\" />\n<parameter name='config.port-number' value=\"`$device-authentication.PORT-NUMBER`\" />\n","comments":"","x":426,"y":154,"z":"30436ccd.4adc14","wires":[]},{"id":"33c4539f.9dc64c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":167,"y":154,"z":"30436ccd.4adc14","wires":[["94be0ae2.28833","c2d0c3c1.33fe58","efc0edd.6d55e1"]]},{"id":"efc0edd.6d55e1","type":"call","name":"call: GetDeviceRunningConfig","xml":"<call module='APPC' rpc='GetDeviceRunningConfig' mode='sync' >\n","comments":"","outputs":1,"x":224,"y":575,"z":"30436ccd.4adc14","wires":[["2b84bd3f.c43e22","8e9e97db.0c6f3","c67b35a7.d90cc"]]},{"id":"2b84bd3f.c43e22","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":484,"y":594,"z":"30436ccd.4adc14","wires":[["4793b4e7.03b284"]]},{"id":"8e9e97db.0c6f3","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":479,"y":659,"z":"30436ccd.4adc14","wires":[["4793b4e7.03b284"]]},{"id":"c67b35a7.d90cc","type":"not-found","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":489,"y":539,"z":"30436ccd.4adc14","wires":[["b634a873.25805"]]},{"id":"4793b4e7.03b284","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":660,"y":629,"z":"30436ccd.4adc14","wires":[["815c662d.84ab88","e44ffe63.65498","67e0c003.fc637"]]},{"id":"b634a873.25805","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":654,"y":541,"z":"30436ccd.4adc14","wires":[["10d69be.e94b2e4"]]},{"id":"e44ffe63.65498","type":"execute","name":"execute IntermediateMessageSender","xml":"<execute plugin='org.openecomp.appc.dg.common.IntermediateMessageSender' method='sendMessage' >\n<parameter name='code' value=\"501\" />\n<parameter name='message' value=\"`$dcae-error-message`\" />\n<parameter name='prefix' value=\"tmp.intermediateerror\"/>","comments":"","outputs":1,"x":1389,"y":676,"z":"30436ccd.4adc14","wires":[["860f3f46.08ddc","72f4d895.e59d38"]]},{"id":"860f3f46.08ddc","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1618,"y":642,"z":"30436ccd.4adc14","wires":[["1f235b69.85d695"]]},{"id":"72f4d895.e59d38","type":"failure","name":"failure","xml":"<outcome value='failure'>","comments":"","outputs":1,"x":1610,"y":710,"z":"30436ccd.4adc14","wires":[["1f235b69.85d695"]]},{"id":"1f235b69.85d695","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1789,"y":642,"z":"30436ccd.4adc14","wires":[["cf2797ac.14177"]]},{"id":"2032452c.51d42a","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1314,"y":548,"z":"30436ccd.4adc14","wires":[["dec2c7fd.e23a58","e44ffe63.65498","67e0c003.fc637"]]},{"id":"cf2797ac.14177","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"MSGSENDERERERROR\" value=\"Unable to call IntermediateErrorMessageSender\"/>\n","comments":"","outputs":1,"x":1960,"y":642,"z":"30436ccd.4adc14","wires":[[]]},{"id":"10d69be.e94b2e4","type":"execute","name":"execute updateUploadConfig","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"updateUploadConfig\">\n<parameter name=\"responsePrefix\" value=\"tmp.uploadconfig\" />\n\n","comments":"","outputs":1,"x":896,"y":536,"z":"30436ccd.4adc14","wires":[["60922c75.3eea14","bf243306.adc27","a2c86ad3.ec63f8"]]},{"id":"60922c75.3eea14","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1110,"y":537,"z":"30436ccd.4adc14","wires":[["2032452c.51d42a"]]},{"id":"bf243306.adc27","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1111,"y":571,"z":"30436ccd.4adc14","wires":[["2032452c.51d42a"]]},{"id":"a2c86ad3.ec63f8","type":"not-found","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1081,"y":296,"z":"30436ccd.4adc14","wires":[["eac20556.00c348"]]},{"id":"67e0c003.fc637","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`'501:' + $dcae-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":1357.5,"y":776,"z":"30436ccd.4adc14","wires":[["26fc329c.a59e4e"]]},{"id":"26fc329c.a59e4e","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1553.5,"y":776,"z":"30436ccd.4adc14","wires":[["bb8dff26.bccd28"]]},{"id":"bb8dff26.bccd28","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1725.5,"y":778,"z":"30436ccd.4adc14","wires":[[]]},{"id":"c2d0c3c1.33fe58","type":"execute","name":"execute Read Properties","xml":"<execute plugin='org.openecomp.sdnc.prop.PropertiesNode' method='readProperties' >\n\t<parameter name=\"fileName\" value=\"%SDNC_CONFIG_DIR%/appc.properties\"/>\n\t<parameter name=\"contextPrefix\" value=\"prop\"/>\n\n","comments":"","outputs":1,"x":400,"y":202,"z":"30436ccd.4adc14","wires":[["9bfb70c8.4c792","b78d6023.fd1328"]]},{"id":"9bfb70c8.4c792","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":625,"y":175,"z":"30436ccd.4adc14","wires":[["7501ba71.939a9c"]]},{"id":"b78d6023.fd1328","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":600,"y":216,"z":"30436ccd.4adc14","wires":[["7501ba71.939a9c"]]},{"id":"7501ba71.939a9c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":787,"y":189,"z":"30436ccd.4adc14","wires":[["ccc94347.bf78e","9cef9dac.6442d"]]},{"id":"ccc94347.bf78e","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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=\"DCAEREPORTERERROR\" value=\"Unable to read appc.properties File\"/>\n","comments":"","outputs":1,"x":947,"y":156,"z":"30436ccd.4adc14","wires":[[]]},{"id":"9cef9dac.6442d","type":"set","name":"set topic name to null","xml":"<set>\n<parameter name='prop.appc.LCM.topic.write' value=\"\" />\n","comments":"","x":999,"y":215,"z":"30436ccd.4adc14","wires":[]},{"id":"eac20556.00c348","type":"call","name":"call: PublishConfiguration","xml":"<call module=\"APPC\" rpc=\"PublishConfiguration\" mode=\"sync\">","comments":"","outputs":1,"x":1298,"y":294,"z":"30436ccd.4adc14","wires":[["a15a38a7.876bc"]]},{"id":"a15a38a7.876bc","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1512,"y":298,"z":"30436ccd.4adc14","wires":[["4f5647e3.e12ca"]]},{"id":"4f5647e3.e12ca","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1694,"y":300,"z":"30436ccd.4adc14","wires":[["a2df8d58.688c38","e44ffe63.65498","67e0c003.fc637"]]},{"id":"dec2c7fd.e23a58","type":"set","name":"set dcae-error-message","xml":"<set>\n<parameter name='dcae-error-message' value=\"`'Configuration is successful but unable to save the running config.' + $tmp.uploadconfig.error-message`\" />\n","comments":"","x":1581,"y":542,"z":"30436ccd.4adc14","wires":[]},{"id":"815c662d.84ab88","type":"set","name":"set dcae-error-message","xml":"<set>\n<parameter name='dcae-error-message' value=\"Configuration is successful but unable to get the running config.\" />\n","comments":"","x":896,"y":605,"z":"30436ccd.4adc14","wires":[]},{"id":"a2df8d58.688c38","type":"set","name":"set dcae-error-message","xml":"<set>\n<parameter name='dcae-error-message' value='Configuration is successful.DG Workflow PublishConfiguration not found' />\n","comments":"","x":1924,"y":301,"z":"30436ccd.4adc14","wires":[]}]
+[{"id":"f7089b6e.27e52","type":"dgstart","name":"DGSTART","outputs":1,"x":138,"y":98,"z":"30436ccd.4adc14","wires":[["a81660a2.acdb6"]]},{"id":"a81660a2.acdb6","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":292,"y":97,"z":"30436ccd.4adc14","wires":[["6912640f.71411c"]]},{"id":"6912640f.71411c","type":"method","name":"method SaveRunningConfig","xml":"<method rpc='SaveRunningConfig' mode='sync'>\n","comments":"","outputs":1,"x":520,"y":100,"z":"30436ccd.4adc14","wires":[["33c4539f.9dc64c"]]},{"id":"94be0ae2.28833","type":"set","name":"set call DG Parameters","xml":"<set>\n<parameter name='config.vnf-id' value=\"`$vnf-id`\" />\n<parameter name='config.vm-name' value=\"`$vm-name`\" />\n<parameter name='config.vnf-type' value=\"`$vnf-type`\" />\n<parameter name='config.vnf-name' value=\"`$vnf-name`\" />\n<parameter name='config.protocol' value=\"`$tmp.deviceinterfaceprotocol.PROTOCOL`\" />\n<parameter name='config.host-ip-address' value=\"`$vnf-host-ip-address`\" />\n<parameter name='config.user-name' value=\"`$device-authentication.USER-NAME`\" />\n<parameter name='config.password' value=\"`$device-authentication.PASSWORD`\" />\n<parameter name='config.port-number' value=\"`$device-authentication.PORT-NUMBER`\" />\n","comments":"","x":426,"y":154,"z":"30436ccd.4adc14","wires":[]},{"id":"33c4539f.9dc64c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":167,"y":154,"z":"30436ccd.4adc14","wires":[["94be0ae2.28833","c2d0c3c1.33fe58","efc0edd.6d55e1"]]},{"id":"efc0edd.6d55e1","type":"call","name":"call: GetDeviceRunningConfig","xml":"<call module='APPC' rpc='GetDeviceRunningConfig' mode='sync' >\n","comments":"","outputs":1,"x":224,"y":575,"z":"30436ccd.4adc14","wires":[["2b84bd3f.c43e22","8e9e97db.0c6f3","c67b35a7.d90cc"]]},{"id":"2b84bd3f.c43e22","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":484,"y":594,"z":"30436ccd.4adc14","wires":[["4793b4e7.03b284"]]},{"id":"8e9e97db.0c6f3","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":479,"y":659,"z":"30436ccd.4adc14","wires":[["4793b4e7.03b284"]]},{"id":"c67b35a7.d90cc","type":"not-found","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":489,"y":539,"z":"30436ccd.4adc14","wires":[["b634a873.25805"]]},{"id":"4793b4e7.03b284","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":660,"y":629,"z":"30436ccd.4adc14","wires":[["815c662d.84ab88","e44ffe63.65498","67e0c003.fc637"]]},{"id":"b634a873.25805","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":654,"y":541,"z":"30436ccd.4adc14","wires":[["10d69be.e94b2e4"]]},{"id":"e44ffe63.65498","type":"execute","name":"execute IntermediateMessageSender","xml":"<execute plugin='org.openecomp.appc.dg.common.IntermediateMessageSender' method='sendMessage' >\n<parameter name='code' value=\"501\" />\n<parameter name='message' value=\"`$dcae-error-message`\" />\n<parameter name='prefix' value=\"tmp.intermediateerror\"/>","comments":"","outputs":1,"x":1389,"y":676,"z":"30436ccd.4adc14","wires":[["860f3f46.08ddc","72f4d895.e59d38"]]},{"id":"860f3f46.08ddc","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1618,"y":642,"z":"30436ccd.4adc14","wires":[["1f235b69.85d695"]]},{"id":"72f4d895.e59d38","type":"failure","name":"failure","xml":"<outcome value='failure'>","comments":"","outputs":1,"x":1610,"y":710,"z":"30436ccd.4adc14","wires":[["1f235b69.85d695"]]},{"id":"1f235b69.85d695","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1789,"y":642,"z":"30436ccd.4adc14","wires":[["cf2797ac.14177"]]},{"id":"2032452c.51d42a","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1314,"y":548,"z":"30436ccd.4adc14","wires":[["dec2c7fd.e23a58","e44ffe63.65498","67e0c003.fc637"]]},{"id":"cf2797ac.14177","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=\"MSGSENDERERERROR\" value=\"Unable to call IntermediateErrorMessageSender\"/>\n","comments":"","outputs":1,"x":1960,"y":642,"z":"30436ccd.4adc14","wires":[[]]},{"id":"10d69be.e94b2e4","type":"execute","name":"execute updateUploadConfig","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"updateUploadConfig\">\n<parameter name=\"responsePrefix\" value=\"tmp.uploadconfig\" />\n\n","comments":"","outputs":1,"x":896,"y":536,"z":"30436ccd.4adc14","wires":[["60922c75.3eea14","bf243306.adc27","a2c86ad3.ec63f8"]]},{"id":"60922c75.3eea14","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1110,"y":537,"z":"30436ccd.4adc14","wires":[["2032452c.51d42a"]]},{"id":"bf243306.adc27","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1111,"y":571,"z":"30436ccd.4adc14","wires":[["2032452c.51d42a"]]},{"id":"a2c86ad3.ec63f8","type":"not-found","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1081,"y":296,"z":"30436ccd.4adc14","wires":[["eac20556.00c348"]]},{"id":"67e0c003.fc637","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`'501:' + $dcae-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":1357.5,"y":776,"z":"30436ccd.4adc14","wires":[["26fc329c.a59e4e"]]},{"id":"26fc329c.a59e4e","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1553.5,"y":776,"z":"30436ccd.4adc14","wires":[["bb8dff26.bccd28"]]},{"id":"bb8dff26.bccd28","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1725.5,"y":778,"z":"30436ccd.4adc14","wires":[[]]},{"id":"c2d0c3c1.33fe58","type":"execute","name":"execute Read Properties","xml":"<execute plugin='org.openecomp.sdnc.prop.PropertiesNode' method='readProperties' >\n\t<parameter name=\"fileName\" value=\"%SDNC_CONFIG_DIR%/appc.properties\"/>\n\t<parameter name=\"contextPrefix\" value=\"prop\"/>\n\n","comments":"","outputs":1,"x":400,"y":202,"z":"30436ccd.4adc14","wires":[["9bfb70c8.4c792","b78d6023.fd1328"]]},{"id":"9bfb70c8.4c792","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":625,"y":175,"z":"30436ccd.4adc14","wires":[["7501ba71.939a9c"]]},{"id":"b78d6023.fd1328","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":600,"y":216,"z":"30436ccd.4adc14","wires":[["7501ba71.939a9c"]]},{"id":"7501ba71.939a9c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":787,"y":189,"z":"30436ccd.4adc14","wires":[["ccc94347.bf78e","9cef9dac.6442d"]]},{"id":"ccc94347.bf78e","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=\"DCAEREPORTERERROR\" value=\"Unable to read appc.properties File\"/>\n","comments":"","outputs":1,"x":947,"y":156,"z":"30436ccd.4adc14","wires":[[]]},{"id":"9cef9dac.6442d","type":"set","name":"set topic name to null","xml":"<set>\n<parameter name='prop.appc.LCM.topic.write' value=\"\" />\n","comments":"","x":999,"y":215,"z":"30436ccd.4adc14","wires":[]},{"id":"eac20556.00c348","type":"call","name":"call: PublishConfiguration","xml":"<call module=\"APPC\" rpc=\"PublishConfiguration\" mode=\"sync\">","comments":"","outputs":1,"x":1298,"y":294,"z":"30436ccd.4adc14","wires":[["a15a38a7.876bc"]]},{"id":"a15a38a7.876bc","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1512,"y":298,"z":"30436ccd.4adc14","wires":[["4f5647e3.e12ca"]]},{"id":"4f5647e3.e12ca","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1694,"y":300,"z":"30436ccd.4adc14","wires":[["a2df8d58.688c38","e44ffe63.65498","67e0c003.fc637"]]},{"id":"dec2c7fd.e23a58","type":"set","name":"set dcae-error-message","xml":"<set>\n<parameter name='dcae-error-message' value=\"`'Configuration is successful but unable to save the running config.' + $tmp.uploadconfig.error-message`\" />\n","comments":"","x":1581,"y":542,"z":"30436ccd.4adc14","wires":[]},{"id":"815c662d.84ab88","type":"set","name":"set dcae-error-message","xml":"<set>\n<parameter name='dcae-error-message' value=\"Configuration is successful but unable to get the running config.\" />\n","comments":"","x":896,"y":605,"z":"30436ccd.4adc14","wires":[]},{"id":"a2df8d58.688c38","type":"set","name":"set dcae-error-message","xml":"<set>\n<parameter name='dcae-error-message' value='Configuration is successful.DG Workflow PublishConfiguration not found' />\n","comments":"","x":1924,"y":301,"z":"30436ccd.4adc14","wires":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SetStatus.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SetStatus.json
index ca05a52c5..1b955b4bc 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SetStatus.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_SetStatus.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"4dde859f.fc64cc","type":"dgstart","name":"DGSTART","outputs":1,"x":273,"y":79,"z":"70b2523f.6b685c","wires":[["bfe190d1.196d2"]]},{"id":"bfe190d1.196d2","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":432,"y":79,"z":"70b2523f.6b685c","wires":[["30593d85.ab3dc2"]]},{"id":"30593d85.ab3dc2","type":"method","name":"method SetStatus","xml":"<method rpc='SetStatus' mode='sync'>\n","comments":"","outputs":1,"x":632,"y":78,"z":"70b2523f.6b685c","wires":[["f1351cc3.b1a25"]]},{"id":"19172065.c5b0a","type":"switchNode","name":"switch: request-action","xml":"<switch test=\"`$request-action`\">\n","comments":"","outputs":1,"x":894.5,"y":338,"z":"70b2523f.6b685c","wires":[["9747b2ab.aec3e","57dfbf95.80724"]]},{"id":"57dfbf95.80724","type":"other","name":"ConfigScale","xml":"<outcome value='ConfigScale'>","comments":"","outputs":1,"x":1114,"y":365,"z":"70b2523f.6b685c","wires":[["a7111ded.29a1e"]]},{"id":"9747b2ab.aec3e","type":"other","name":"Configure","xml":"<outcome value='Configure'>","comments":"","outputs":1,"x":1115.5,"y":290,"z":"70b2523f.6b685c","wires":[["a7111ded.29a1e"]]},{"id":"59fe443f.2decbc","type":"call","name":"call: UpdateAaiInfo","xml":"<call module=\"APPC\" rpc=\"UpdateAaiInfo\" mode=\"sync\">","comments":"","outputs":1,"x":837,"y":470,"z":"70b2523f.6b685c","wires":[["c4b222a6.df039"]]},{"id":"d8c49649.ea2c88","type":"switchNode","name":"switch: error-code","xml":"<switch test=\"`$error-code`\">\n","comments":"","outputs":1,"x":279,"y":196,"z":"70b2523f.6b685c","wires":[["ed9a1aba.c4d6c8","461e66ac.15dc58"]]},{"id":"28ebb19c.5f49ae","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":660,"y":195,"z":"70b2523f.6b685c","wires":[["f9b83601.004e48","19172065.c5b0a","2a00c2b.88ebe3e","d3fd9387.1d4c4"]]},{"id":"ed9a1aba.c4d6c8","type":"success","name":"outcome: 400","xml":"<outcome value=\"400\">","comments":"","outputs":1,"x":483,"y":195,"z":"70b2523f.6b685c","wires":[["28ebb19c.5f49ae"]]},{"id":"461e66ac.15dc58","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":486,"y":864,"z":"70b2523f.6b685c","wires":[["d427e6fd.fb6f78"]]},{"id":"d427e6fd.fb6f78","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":687,"y":865,"z":"70b2523f.6b685c","wires":[["d83e228b.87786","11494413.bf835c","b9ef7dd2.d9ceb"]]},{"id":"f1351cc3.b1a25","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":279,"y":131,"z":"70b2523f.6b685c","wires":[["d8c49649.ea2c88"]]},{"id":"11494413.bf835c","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\n\n","comments":"","x":880,"y":969,"z":"70b2523f.6b685c","wires":[]},{"id":"d83e228b.87786","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"ERRORCODE\" value=\"`$error-code`\"/>\n<parameter name=\"ERRORMESSAGE\" value=\"`$error-message`\"/>\n","comments":"","outputs":1,"x":872,"y":865,"z":"70b2523f.6b685c","wires":[[]]},{"id":"c4b222a6.df039","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1067.5,"y":458,"z":"70b2523f.6b685c","wires":[["56027b2c.0a5614"]]},{"id":"56027b2c.0a5614","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1252.5,"y":460,"z":"70b2523f.6b685c","wires":[["4ad76b90.eabd64","c6a4c94.df29038"]]},{"id":"4ad76b90.eabd64","type":"set","name":"set: dcae-error message","xml":"<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiInfo not found\"/>\n\t ","comments":"","x":1505.5,"y":455,"z":"70b2523f.6b685c","wires":[]},{"id":"f9b83601.004e48","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\n","comments":"","x":552,"y":793,"z":"70b2523f.6b685c","wires":[]},{"id":"a7111ded.29a1e","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1281,"y":323,"z":"70b2523f.6b685c","wires":[["59fe443f.2decbc"]]},{"id":"2a00c2b.88ebe3e","type":"call","name":"call: SaveRunningConfig","xml":"<call module=\"APPC\" rpc=\"SaveRunningConfig\" mode=\"sync\">","comments":"","outputs":1,"x":901,"y":128,"z":"70b2523f.6b685c","wires":[["d5d0faee.e29388"]]},{"id":"d5d0faee.e29388","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1124,"y":130,"z":"70b2523f.6b685c","wires":[["ffd6d09b.31a6c"]]},{"id":"ffd6d09b.31a6c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1314,"y":129,"z":"70b2523f.6b685c","wires":[["b375bde8.81374","3146abb.479e554"]]},{"id":"b375bde8.81374","type":"set","name":"set: dcae-error message","xml":"<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow SaveRunningConfig not found\"/>\n\t ","comments":"","x":1530,"y":130,"z":"70b2523f.6b685c","wires":[]},{"id":"3146abb.479e554","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n","comments":"","outputs":1,"x":1487,"y":179,"z":"70b2523f.6b685c","wires":[[]]},{"id":"c6a4c94.df29038","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n","comments":"","outputs":1,"x":1463,"y":495,"z":"70b2523f.6b685c","wires":[[]]},{"id":"d3fd9387.1d4c4","type":"set","name":"set error-code 400","xml":"<set>\n<parameter name='error-code' value='400' />\n<parameter name=\"error-message\" value=\"SUCCESS - request has been processed successfully\" />\n","comments":"","x":625,"y":722,"z":"70b2523f.6b685c","wires":[]},{"id":"b9ef7dd2.d9ceb","type":"set","name":"set error-code 401","xml":"<set>\n<parameter name='error-code' value='401' />\n","comments":"","x":912,"y":919,"z":"70b2523f.6b685c","wires":[]},{"id":"7047038e.7e839c","type":"comment","name":"Setting error code since Config Comp Adaptor may reset it...","info":"","comments":"","x":889,"y":778,"z":"70b2523f.6b685c","wires":[]}]
+[{"id":"4dde859f.fc64cc","type":"dgstart","name":"DGSTART","outputs":1,"x":273,"y":79,"z":"70b2523f.6b685c","wires":[["bfe190d1.196d2"]]},{"id":"bfe190d1.196d2","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":432,"y":79,"z":"70b2523f.6b685c","wires":[["30593d85.ab3dc2"]]},{"id":"30593d85.ab3dc2","type":"method","name":"method SetStatus","xml":"<method rpc='SetStatus' mode='sync'>\n","comments":"","outputs":1,"x":632,"y":78,"z":"70b2523f.6b685c","wires":[["f1351cc3.b1a25"]]},{"id":"19172065.c5b0a","type":"switchNode","name":"switch: request-action","xml":"<switch test=\"`$request-action`\">\n","comments":"","outputs":1,"x":894.5,"y":338,"z":"70b2523f.6b685c","wires":[["9747b2ab.aec3e","57dfbf95.80724"]]},{"id":"57dfbf95.80724","type":"other","name":"ConfigScale","xml":"<outcome value='ConfigScale'>","comments":"","outputs":1,"x":1114,"y":365,"z":"70b2523f.6b685c","wires":[["a7111ded.29a1e"]]},{"id":"9747b2ab.aec3e","type":"other","name":"Configure","xml":"<outcome value='Configure'>","comments":"","outputs":1,"x":1115.5,"y":290,"z":"70b2523f.6b685c","wires":[["a7111ded.29a1e"]]},{"id":"59fe443f.2decbc","type":"call","name":"call: UpdateAaiInfo","xml":"<call module=\"APPC\" rpc=\"UpdateAaiInfo\" mode=\"sync\">","comments":"","outputs":1,"x":837,"y":470,"z":"70b2523f.6b685c","wires":[["c4b222a6.df039"]]},{"id":"d8c49649.ea2c88","type":"switchNode","name":"switch: error-code","xml":"<switch test=\"`$error-code`\">\n","comments":"","outputs":1,"x":279,"y":196,"z":"70b2523f.6b685c","wires":[["ed9a1aba.c4d6c8","461e66ac.15dc58"]]},{"id":"28ebb19c.5f49ae","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":660,"y":195,"z":"70b2523f.6b685c","wires":[["f9b83601.004e48","19172065.c5b0a","2a00c2b.88ebe3e","d3fd9387.1d4c4"]]},{"id":"ed9a1aba.c4d6c8","type":"success","name":"outcome: 400","xml":"<outcome value=\"400\">","comments":"","outputs":1,"x":483,"y":195,"z":"70b2523f.6b685c","wires":[["28ebb19c.5f49ae"]]},{"id":"461e66ac.15dc58","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":486,"y":864,"z":"70b2523f.6b685c","wires":[["d427e6fd.fb6f78"]]},{"id":"d427e6fd.fb6f78","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":687,"y":865,"z":"70b2523f.6b685c","wires":[["d83e228b.87786","11494413.bf835c","b9ef7dd2.d9ceb"]]},{"id":"f1351cc3.b1a25","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":279,"y":131,"z":"70b2523f.6b685c","wires":[["d8c49649.ea2c88"]]},{"id":"11494413.bf835c","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\n\n","comments":"","x":880,"y":969,"z":"70b2523f.6b685c","wires":[]},{"id":"d83e228b.87786","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=\"ERRORCODE\" value=\"`$error-code`\"/>\n<parameter name=\"ERRORMESSAGE\" value=\"`$error-message`\"/>\n","comments":"","outputs":1,"x":872,"y":865,"z":"70b2523f.6b685c","wires":[[]]},{"id":"c4b222a6.df039","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1067.5,"y":458,"z":"70b2523f.6b685c","wires":[["56027b2c.0a5614"]]},{"id":"56027b2c.0a5614","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1252.5,"y":460,"z":"70b2523f.6b685c","wires":[["4ad76b90.eabd64","c6a4c94.df29038"]]},{"id":"4ad76b90.eabd64","type":"set","name":"set: dcae-error message","xml":"<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiInfo not found\"/>\n\t ","comments":"","x":1505.5,"y":455,"z":"70b2523f.6b685c","wires":[]},{"id":"f9b83601.004e48","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\n","comments":"","x":552,"y":793,"z":"70b2523f.6b685c","wires":[]},{"id":"a7111ded.29a1e","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1281,"y":323,"z":"70b2523f.6b685c","wires":[["59fe443f.2decbc"]]},{"id":"2a00c2b.88ebe3e","type":"call","name":"call: SaveRunningConfig","xml":"<call module=\"APPC\" rpc=\"SaveRunningConfig\" mode=\"sync\">","comments":"","outputs":1,"x":901,"y":128,"z":"70b2523f.6b685c","wires":[["d5d0faee.e29388"]]},{"id":"d5d0faee.e29388","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1124,"y":130,"z":"70b2523f.6b685c","wires":[["ffd6d09b.31a6c"]]},{"id":"ffd6d09b.31a6c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1314,"y":129,"z":"70b2523f.6b685c","wires":[["b375bde8.81374","3146abb.479e554"]]},{"id":"b375bde8.81374","type":"set","name":"set: dcae-error message","xml":"<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow SaveRunningConfig not found\"/>\n\t ","comments":"","x":1530,"y":130,"z":"70b2523f.6b685c","wires":[]},{"id":"3146abb.479e554","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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n","comments":"","outputs":1,"x":1487,"y":179,"z":"70b2523f.6b685c","wires":[[]]},{"id":"c6a4c94.df29038","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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n","comments":"","outputs":1,"x":1463,"y":495,"z":"70b2523f.6b685c","wires":[[]]},{"id":"d3fd9387.1d4c4","type":"set","name":"set error-code 400","xml":"<set>\n<parameter name='error-code' value='400' />\n<parameter name=\"error-message\" value=\"SUCCESS - request has been processed successfully\" />\n","comments":"","x":625,"y":722,"z":"70b2523f.6b685c","wires":[]},{"id":"b9ef7dd2.d9ceb","type":"set","name":"set error-code 401","xml":"<set>\n<parameter name='error-code' value='401' />\n","comments":"","x":912,"y":919,"z":"70b2523f.6b685c","wires":[]},{"id":"7047038e.7e839c","type":"comment","name":"Setting error code since Config Comp Adaptor may reset it...","info":"","comments":"","x":889,"y":778,"z":"70b2523f.6b685c","wires":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiInfo.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiInfo.json
index 0eddb5160..753b0fed9 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiInfo.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiInfo.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"17fdf157.d14c8f","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":320,"y":53.75,"z":"85d5f290.0432b","wires":[["989f4ec5.54141"]]},{"id":"4b7a7d8a.aede34","type":"dgstart","name":"DGSTART","outputs":1,"x":165.83331298828125,"y":52.083343505859375,"z":"85d5f290.0432b","wires":[["17fdf157.d14c8f"]]},{"id":"989f4ec5.54141","type":"method","name":"method UpdateAaiInfo","xml":"<method rpc='UpdateAaiInfo' mode='sync'>","comments":"","outputs":1,"x":578.333381652832,"y":52.41666507720947,"z":"85d5f290.0432b","wires":[["246c33ee.325e3c"]]},{"id":"246c33ee.325e3c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":192,"y":121.75000762939453,"z":"85d5f290.0432b","wires":[["25f09202.68f34e","56e6ecf6.411024"]]},{"id":"25f09202.68f34e","type":"set","name":"set DCAE Message to Initialise","xml":"<set>\n<parameter name=\"dcae-error-message\" value=\"\"/>\n","comments":"","x":463.1111145019531,"y":123.8611011505127,"z":"85d5f290.0432b","wires":[]},{"id":"56e6ecf6.411024","type":"switchNode","name":"switch VMNAME","xml":"<switch test='`$VMNAME0`'>\n","comments":"","outputs":1,"x":240.11111450195312,"y":471.52777099609375,"z":"85d5f290.0432b","wires":[["3f4eb5a1.98132a","cbe78139.de9e4"]]},{"id":"3f4eb5a1.98132a","type":"success","name":"outcome: Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":486.8611373901367,"y":516.1388349533081,"z":"85d5f290.0432b","wires":[["f1b02edf.c1e2d"]]},{"id":"cbe78139.de9e4","type":"success","name":"outcome:null","xml":"<outcome value=''>","comments":"","outputs":1,"x":471.4722595214844,"y":288.3055419921875,"z":"85d5f290.0432b","wires":[["e0740ca2.40979"]]},{"id":"e0740ca2.40979","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":712.6388549804688,"y":285.8611145019531,"z":"85d5f290.0432b","wires":[["bb65b932.69d368"]]},{"id":"bb65b932.69d368","type":"call","name":"call: UpdateAaiforReferenceData","xml":"<call module=\"APPC\" rpc=\"UpdateAaiforReferenceData\" mode=\"sync\">","comments":"","outputs":1,"x":987.47216796875,"y":281.0833435058594,"z":"85d5f290.0432b","wires":[["f7b24d7a.2bc04"]]},{"id":"f7b24d7a.2bc04","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1221.055419921875,"y":282.7221984863281,"z":"85d5f290.0432b","wires":[["da291abd.c33048"]]},{"id":"da291abd.c33048","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1389.9998779296875,"y":281.6943664550781,"z":"85d5f290.0432b","wires":[["6394e117.9a32e","e93b5abd.e1d8c8"]]},{"id":"6394e117.9a32e","type":"set","name":"set: dcae-error message","xml":"<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiforReferenceData not found\"/>\n\t ","comments":"","x":1656.8609619140625,"y":281.5832824707031,"z":"85d5f290.0432b","wires":[]},{"id":"e93b5abd.e1d8c8","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n","comments":"","outputs":1,"x":1602.16650390625,"y":335.88885498046875,"z":"85d5f290.0432b","wires":[[]]},{"id":"f1b02edf.c1e2d","type":"call","name":"call: UpdateAaiforPayloadInput","xml":"<call module=\"APPC\" rpc=\"UpdateAaiforPayloadInput\" mode=\"sync\">","comments":"","outputs":1,"x":748.8889007568359,"y":515.9722051620483,"z":"85d5f290.0432b","wires":[["1e45aff3.f0d15"]]},{"id":"1e45aff3.f0d15","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":988.1665954589844,"y":517.2777919769287,"z":"85d5f290.0432b","wires":[["90c4daac.170898"]]},{"id":"90c4daac.170898","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1159.1110305786133,"y":518.749906539917,"z":"85d5f290.0432b","wires":[["3077a87f.eb3848","604f6585.fedb0c"]]},{"id":"3077a87f.eb3848","type":"set","name":"set: dcae-error message","xml":"<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiforPayloadInput not found\"/>\n\t ","comments":"","x":1384.1942977905273,"y":486.16663360595703,"z":"85d5f290.0432b","wires":[]},{"id":"604f6585.fedb0c","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n","comments":"","outputs":1,"x":1363.4165687561035,"y":526.6666488647461,"z":"85d5f290.0432b","wires":[[]]}]
+[{"id":"17fdf157.d14c8f","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":320,"y":53.75,"z":"85d5f290.0432b","wires":[["989f4ec5.54141"]]},{"id":"4b7a7d8a.aede34","type":"dgstart","name":"DGSTART","outputs":1,"x":165.83331298828125,"y":52.083343505859375,"z":"85d5f290.0432b","wires":[["17fdf157.d14c8f"]]},{"id":"989f4ec5.54141","type":"method","name":"method UpdateAaiInfo","xml":"<method rpc='UpdateAaiInfo' mode='sync'>","comments":"","outputs":1,"x":578.333381652832,"y":52.41666507720947,"z":"85d5f290.0432b","wires":[["246c33ee.325e3c"]]},{"id":"246c33ee.325e3c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":192,"y":121.75000762939453,"z":"85d5f290.0432b","wires":[["25f09202.68f34e","56e6ecf6.411024"]]},{"id":"25f09202.68f34e","type":"set","name":"set DCAE Message to Initialise","xml":"<set>\n<parameter name=\"dcae-error-message\" value=\"\"/>\n","comments":"","x":463.1111145019531,"y":123.8611011505127,"z":"85d5f290.0432b","wires":[]},{"id":"56e6ecf6.411024","type":"switchNode","name":"switch VMNAME","xml":"<switch test='`$VMNAME0`'>\n","comments":"","outputs":1,"x":240.11111450195312,"y":471.52777099609375,"z":"85d5f290.0432b","wires":[["3f4eb5a1.98132a","cbe78139.de9e4"]]},{"id":"3f4eb5a1.98132a","type":"success","name":"outcome: Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":486.8611373901367,"y":516.1388349533081,"z":"85d5f290.0432b","wires":[["f1b02edf.c1e2d"]]},{"id":"cbe78139.de9e4","type":"success","name":"outcome:null","xml":"<outcome value=''>","comments":"","outputs":1,"x":471.4722595214844,"y":288.3055419921875,"z":"85d5f290.0432b","wires":[["e0740ca2.40979"]]},{"id":"e0740ca2.40979","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":712.6388549804688,"y":285.8611145019531,"z":"85d5f290.0432b","wires":[["bb65b932.69d368"]]},{"id":"bb65b932.69d368","type":"call","name":"call: UpdateAaiforReferenceData","xml":"<call module=\"APPC\" rpc=\"UpdateAaiforReferenceData\" mode=\"sync\">","comments":"","outputs":1,"x":987.47216796875,"y":281.0833435058594,"z":"85d5f290.0432b","wires":[["f7b24d7a.2bc04"]]},{"id":"f7b24d7a.2bc04","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1221.055419921875,"y":282.7221984863281,"z":"85d5f290.0432b","wires":[["da291abd.c33048"]]},{"id":"da291abd.c33048","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1389.9998779296875,"y":281.6943664550781,"z":"85d5f290.0432b","wires":[["6394e117.9a32e","e93b5abd.e1d8c8"]]},{"id":"6394e117.9a32e","type":"set","name":"set: dcae-error message","xml":"<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiforReferenceData not found\"/>\n\t ","comments":"","x":1656.8609619140625,"y":281.5832824707031,"z":"85d5f290.0432b","wires":[]},{"id":"e93b5abd.e1d8c8","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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n","comments":"","outputs":1,"x":1602.16650390625,"y":335.88885498046875,"z":"85d5f290.0432b","wires":[[]]},{"id":"f1b02edf.c1e2d","type":"call","name":"call: UpdateAaiforPayloadInput","xml":"<call module=\"APPC\" rpc=\"UpdateAaiforPayloadInput\" mode=\"sync\">","comments":"","outputs":1,"x":748.8889007568359,"y":515.9722051620483,"z":"85d5f290.0432b","wires":[["1e45aff3.f0d15"]]},{"id":"1e45aff3.f0d15","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":988.1665954589844,"y":517.2777919769287,"z":"85d5f290.0432b","wires":[["90c4daac.170898"]]},{"id":"90c4daac.170898","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1159.1110305786133,"y":518.749906539917,"z":"85d5f290.0432b","wires":[["3077a87f.eb3848","604f6585.fedb0c"]]},{"id":"3077a87f.eb3848","type":"set","name":"set: dcae-error message","xml":"<set>\n\t <parameter name=\"dcae-error-message\" value=\"DG Workflow UpdateAaiforPayloadInput not found\"/>\n\t ","comments":"","x":1384.1942977905273,"y":486.16663360595703,"z":"85d5f290.0432b","wires":[]},{"id":"604f6585.fedb0c","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=\"DCAEERRORMESSAGE\" value=\"`$dcae-error-message`\"/>\n","comments":"","outputs":1,"x":1363.4165687561035,"y":526.6666488647461,"z":"85d5f290.0432b","wires":[[]]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforPayloadInput.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforPayloadInput.json
index 311669633..5b713611a 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforPayloadInput.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforPayloadInput.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"9333f052.3d35c","type":"service-logic","name":"APPC 3.0.0","module":"APPC","version":"3.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='3.0.0'>","outputs":1,"x":267,"y":42.333335876464844,"z":"2c29979c.085788","wires":[["b5bc2ae5.c3ccb8"]]},{"id":"ccfc3135.e932f","type":"dgstart","name":"DGSTART","outputs":1,"x":96.83331298828125,"y":41.66667938232422,"z":"2c29979c.085788","wires":[["9333f052.3d35c"]]},{"id":"b5bc2ae5.c3ccb8","type":"method","name":"method UpdateAaiforPayloadInput","xml":"<method rpc='UpdateAaiforPayloadInput' mode='sync'>\n","comments":"","outputs":1,"x":490.3333740234375,"y":39,"z":"2c29979c.085788","wires":[["6f4f9cf7.421284"]]},{"id":"6f4f9cf7.421284","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":120,"y":262.33333587646484,"z":"2c29979c.085788","wires":[["dacd8a6.62c3978","46ce8310.34f23c","16298fb8.22c27","f50ba4be.268618"]]},{"id":"46ce8310.34f23c","type":"record","name":"record","xml":"<record plugin=\"com.att.sdnctl.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"RETURNEDERRORMSG\" value=\"`$aai-error-message`\"/>\n\n","comments":"","outputs":1,"x":327,"y":717.3333969116211,"z":"2c29979c.085788","wires":[[]]},{"id":"dacd8a6.62c3978","type":"switchNode","name":"switch: vm length","xml":"<switch test=\"`$size_request-parameters.vm`\">","comments":"","outputs":1,"x":356,"y":165.44445037841797,"z":"2c29979c.085788","wires":[["44fdeb61.aa9034","72261fcd.ca467","2a6d9b73.a96634"]]},{"id":"daef72.bdc6c09","type":"for","name":"for: vm","xml":"<for index=\"j\" start=\"0\" end=\"`$size_request-parameters.vm`\" >","comments":"","outputs":1,"x":365,"y":319.3333969116211,"z":"2c29979c.085788","wires":[["9ed29edc.ebe52"]]},{"id":"44fdeb61.aa9034","type":"other","name":"outcome: Length=0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":591.0000610351562,"y":142.44445037841797,"z":"2c29979c.085788","wires":[["bfe524b3.a8b848"]]},{"id":"72261fcd.ca467","type":"other","name":"outcome: NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":581.0000610351562,"y":201.44445037841797,"z":"2c29979c.085788","wires":[["bfe524b3.a8b848"]]},{"id":"9ed29edc.ebe52","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":540.0000610351562,"y":320.3333969116211,"z":"2c29979c.085788","wires":[["8a8c3760.6f71b8"]]},{"id":"bfe524b3.a8b848","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":785.0000610351562,"y":171.44445037841797,"z":"2c29979c.085788","wires":[["270c634c.7568ec","a13ad30b.4366c"]]},{"id":"6ef24474.a983ec","type":"get-resource","name":"get-resource: A&AI Data for VNFC Name ","xml":"<get-resource plugin=\"com.att.sdnctl.sli.aai.AAIService\" resource=\"vnfc\" key=\"vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name\" pfx=\"tmp.aai-data-vnfc\" >\n\n\n","comments":"","outputs":1,"x":1249.5001220703125,"y":677.5555648803711,"z":"2c29979c.085788","wires":[["a751861e.5d43a8","52d5b700.fd5458"]]},{"id":"270c634c.7568ec","type":"record","name":"record","xml":"<record plugin=\"com.att.sdnctl.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"VM data not found in request\"/>\n\n\n","comments":"","outputs":1,"x":975.0000610351562,"y":152.44445037841797,"z":"2c29979c.085788","wires":[[]]},{"id":"a751861e.5d43a8","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1511,"y":680.3333358764648,"z":"2c29979c.085788","wires":[["3e894fae.eed92"]]},{"id":"3e894fae.eed92","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1682,"y":685.3333358764648,"z":"2c29979c.085788","wires":[["29d3772.e8a1788"]]},{"id":"defef68c.efd408","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1274.1664962768555,"y":1023.5833148956299,"z":"2c29979c.085788","wires":[["1b7742ee.646d8d"]]},{"id":"1b7742ee.646d8d","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1465.1664962768555,"y":1023.0833148956299,"z":"2c29979c.085788","wires":[["484c0808.c6a598","22e0181c.878b98"]]},{"id":"484c0808.c6a598","type":"record","name":"record","xml":"<record plugin=\"com.att.sdnctl.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Insert to AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n\n","comments":"","outputs":1,"x":1641.6665000915527,"y":977.5833759307861,"z":"2c29979c.085788","wires":[[]]},{"id":"22e0181c.878b98","type":"set","name":"set: Append to aai error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'Insert to A&amp;AI Failed for ' + $request-parameters.vm[$j].vnfc[$k].vnfc-name + '.' + $aai-error-message`\"/>","comments":"","x":1718.1664962768555,"y":1071.8333158493042,"z":"2c29979c.085788","wires":[]},{"id":"8ffddb97.757d58","type":"for","name":"for: vm.vnfc","xml":"<for index=\"k\" start=\"0\" end=\"`$size_request-parameters.vm[$j].vnfc`\" >","comments":"","outputs":1,"x":875.2143783569336,"y":614.7619743347168,"z":"2c29979c.085788","wires":[["c2298a98.0adbd8"]]},{"id":"c2298a98.0adbd8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1060.5001831054688,"y":615.3333358764648,"z":"2c29979c.085788","wires":[["b61d1503.913e98","6ef24474.a983ec"]]},{"id":"b61d1503.913e98","type":"record","name":"record","xml":"<record plugin=\"com.att.sdnctl.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n\n<parameter name=\"VNFCNAME\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n\n<parameter name=\"VMNAME\" value=\"`$request-parameters.vm[$j].vm-name`\"/>\n","comments":"","outputs":1,"x":1245.5001831054688,"y":597.3333358764648,"z":"2c29979c.085788","wires":[[]]},{"id":"2a6d9b73.a96634","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":373.00006103515625,"y":248.1111068725586,"z":"2c29979c.085788","wires":[["b4699d7b.74cfd"]]},{"id":"b4699d7b.74cfd","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":560,"y":253.1111068725586,"z":"2c29979c.085788","wires":[["daef72.bdc6c09"]]},{"id":"e4aab88c.91de48","type":"switchNode","name":"switch: vnfc length","xml":"<switch test=\"`$size_request-parameters.vm[$j].vnfc`\">","comments":"","outputs":1,"x":704.3572540283203,"y":477.9047508239746,"z":"2c29979c.085788","wires":[["cc76df4b.79195","b9647e56.5428","515b427.0838abc"]]},{"id":"cc76df4b.79195","type":"other","name":"outcome: Length=0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":1012.5001831054688,"y":465.33333587646484,"z":"2c29979c.085788","wires":[["daca7ad3.6849a8"]]},{"id":"b9647e56.5428","type":"other","name":"outcome: NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":999.5001831054688,"y":503.33333587646484,"z":"2c29979c.085788","wires":[["daca7ad3.6849a8"]]},{"id":"515b427.0838abc","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1002.5001831054688,"y":555.3333358764648,"z":"2c29979c.085788","wires":[["85b4db72.6fea78"]]},{"id":"daca7ad3.6849a8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1233.500244140625,"y":493.33333587646484,"z":"2c29979c.085788","wires":[["a51065d2.dda8e8","84809a16.798bb8"]]},{"id":"a51065d2.dda8e8","type":"record","name":"record","xml":"<record plugin=\"com.att.sdnctl.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"VNFC data not in request\"/>\n\n\n","comments":"","outputs":1,"x":1425.500244140625,"y":459.33333587646484,"z":"2c29979c.085788","wires":[[]]},{"id":"85b4db72.6fea78","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":663.5001220703125,"y":615.3333358764648,"z":"2c29979c.085788","wires":[["8ffddb97.757d58"]]},{"id":"8a8c3760.6f71b8","type":"get-resource","name":"get-resource: A&AI Data for VM Name","xml":"<get-resource plugin=\"com.att.sdnctl.sli.aai.AAIService\" resource=\"vserver\" key=\"vserver-name = $request-parameters.vm[$j].vm-name\" pfx=\"tmp.aai-data-vm\" >\n\n","comments":"","outputs":1,"x":813.1666870117188,"y":323.1111068725586,"z":"2c29979c.085788","wires":[["891fa503.2eb248","8165f2d1.c2795","760228ff.b17788"]]},{"id":"891fa503.2eb248","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1074.166748046875,"y":284.1111068725586,"z":"2c29979c.085788","wires":[["ffbb360a.0f9b98"]]},{"id":"8165f2d1.c2795","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1083.166748046875,"y":335.1111068725586,"z":"2c29979c.085788","wires":[["ffbb360a.0f9b98"]]},{"id":"760228ff.b17788","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1060,"y":396.33333587646484,"z":"2c29979c.085788","wires":[["9ead1868.e9e0d8"]]},{"id":"ffbb360a.0f9b98","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1265.166748046875,"y":310.1111068725586,"z":"2c29979c.085788","wires":[["23cd0ec8.29e192"]]},{"id":"23cd0ec8.29e192","type":"set","name":"set: Append to aai-error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'Get from A&amp;AI Failed for ' + $request-parameters.vm[$j].vm-name + '.' + $aai-error-message`\"/>","comments":"","x":1538.166748046875,"y":315.1111068725586,"z":"2c29979c.085788","wires":[]},{"id":"a13ad30b.4366c","type":"set","name":"set: Append to aai-error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'VM Info not found in request.' + $aai-error-message`\"/>","comments":"","x":1055.1666870117188,"y":198.1111068725586,"z":"2c29979c.085788","wires":[]},{"id":"84809a16.798bb8","type":"set","name":"set: Append to aai-error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'VNFC Info not found in request.' + $aai-error-message`\"/>","comments":"","x":1505.6668701171875,"y":520.3333358764648,"z":"2c29979c.085788","wires":[]},{"id":"16298fb8.22c27","type":"switchNode","name":"switch: aai-error-message","xml":"<switch test=\"`$aai-error-message`\">","comments":"","outputs":1,"x":131.16668701171875,"y":859.1111068725586,"z":"2c29979c.085788","wires":[["ccb9af83.f0c75","d8d6fa14.d6e7e8"]]},{"id":"ccb9af83.f0c75","type":"other","name":"outcome: not populated","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":387.16668701171875,"y":858.1111068725586,"z":"2c29979c.085788","wires":[["8e4f6b95.1df068"]]},{"id":"8e4f6b95.1df068","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":589.1666870117188,"y":872.1111068725586,"z":"2c29979c.085788","wires":[["18c23b39.337805"]]},{"id":"d8d6fa14.d6e7e8","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":362.16668701171875,"y":936.1111068725586,"z":"2c29979c.085788","wires":[["94c6b29b.e6273"]]},{"id":"94c6b29b.e6273","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":554.1666870117188,"y":938.1111068725586,"z":"2c29979c.085788","wires":[["73ce9597.b49bcc","715964cb.dde1bc"]]},{"id":"18c23b39.337805","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\n","comments":"","x":782.1666870117188,"y":874.1111068725586,"z":"2c29979c.085788","wires":[]},{"id":"73ce9597.b49bcc","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\n","comments":"","x":746.1666870117188,"y":1004.1111679077148,"z":"2c29979c.085788","wires":[]},{"id":"f50ba4be.268618","type":"set","name":"set prov-status and orch-status","xml":"<set>\n<parameter name=\"tmp.aai-prov-status\" value=\"NVTPROV\" />\n\t<parameter name=\"tmp.aai-orch-status\" value=\"CONFIGURED\" />\n","comments":"","x":403,"y":84.33333587646484,"z":"2c29979c.085788","wires":[]},{"id":"c46d035a.6bbd7","type":"save","name":"save Put VNFC","xml":"<save plugin='com.att.sdnctl.sli.aai.AAIService' resource='vnfc' key='vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name' force='true' pfx='tmp.vnfc-sys-controller'>\n<parameter name='vnfc-function-code' value='`$request-parameters.vm[$j].vnfc[$k].vnfc-function-code`'/>\n<parameter name='vnfc-type' value='`$request-parameters.vm[$j].vnfc[$k].vnfc-type`'/>\n<parameter name='ipaddress-v4-oam-vip' value='`$request-parameters.vm[$j].vnfc[$k].ipaddress-v4-oam-vip`'/>\n<parameter name='prov-status' value='`$tmp.aai-prov-status`'/>\n<parameter name='orchestration-status' value='`$tmp.aai-orch-status`'/>\n<parameter name='in-maint' value = 'false'/>\n<parameter name='is-closed-loop' value = 'false'/>\n<parameter name='group-notation' value='`$request-parameters.vm[$j].vnfc[$k].group-notation`'/>\n\n\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"vserver\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"vserver.vserver-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value='`$tmp.aai-data-vm.vserver-id`'/>\n\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"tenant.tenant-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value='`$tmp.aai-data-vm.tenant-id`'/>\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-key\" value=\"cloud-region.cloud-owner\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-value\" value=\"att-aic\"/>\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[3].relationship-key\" value=\"cloud-region.cloud-region-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[3].relationship-value\" value='`$tmp.aai-data-vm.cloud-region-id`'/>\n\n\n<parameter name=\"relationship-list.relationship[1].related-to\" value=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value='`$vnf-id`'/>\n\n<parameter name=\"relationship-list.relationship[2].related-to\" value=\"vf-module\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[0].relationship-value\" value='`$vnf-id`'/>\n\n<parameter name=\"relationship-list.relationship[2].relationship-data[1].relationship-key\" value=\"vf-module.vf-module-id\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[1].relationship-value\" value='`$tmp.vf-module-id`'/>\n\n\n\n","comments":"","outputs":1,"x":1553.749984741211,"y":896.8333148956299,"z":"2c29979c.085788","wires":[["defef68c.efd408"]]},{"id":"29d3772.e8a1788","type":"call","name":"call: GetVfModuleInfo","xml":"<call module=\"APPC\" rpc=\"GetVfModuleInfo\" mode=\"sync\">","comments":"","outputs":1,"x":1110.5,"y":771.3333358764648,"z":"2c29979c.085788","wires":[["c6141f12.05436","9041ddd8.6b377"]]},{"id":"c6141f12.05436","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1109.5,"y":901.3333358764648,"z":"2c29979c.085788","wires":[["e0ced342.2ee9"]]},{"id":"e0ced342.2ee9","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1349.9999885559082,"y":893.0833740234375,"z":"2c29979c.085788","wires":[["c46d035a.6bbd7"]]},{"id":"9ead1868.e9e0d8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1241,"y":397.33333587646484,"z":"2c29979c.085788","wires":[["e4aab88c.91de48"]]},{"id":"9041ddd8.6b377","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1329,"y":770.3333358764648,"z":"2c29979c.085788","wires":[["745b11d2.f9797"]]},{"id":"efef03f8.81d38","type":"switchNode","name":"switch: tmp.vf-module-id","xml":"<switch test=\"`$tmp.vf-module-id`\">","comments":"","outputs":1,"x":1744,"y":771.3333358764648,"z":"2c29979c.085788","wires":[["525acc69.20d3e4","9b2ee4c2.6db578"]]},{"id":"745b11d2.f9797","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1505,"y":769.3333358764648,"z":"2c29979c.085788","wires":[["efef03f8.81d38"]]},{"id":"525acc69.20d3e4","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1965,"y":767.3333358764648,"z":"2c29979c.085788","wires":[["8cf964a5.579d18"]]},{"id":"8cf964a5.579d18","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2120,"y":768.3333358764648,"z":"2c29979c.085788","wires":[[]]},{"id":"9b2ee4c2.6db578","type":"outcome","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1962,"y":821.3333358764648,"z":"2c29979c.085788","wires":[["e0ced342.2ee9"]]},{"id":"715964cb.dde1bc","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"com.att.appc.config.generator.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`'501:' + $aai-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":768,"y":947.3333358764648,"z":"2c29979c.085788","wires":[[]]},{"id":"52d5b700.fd5458","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1515.928581237793,"y":622.6904859542847,"z":"2c29979c.085788","wires":[["ca342217.314c8"]]},{"id":"ca342217.314c8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1674.678581237793,"y":622.6904859542847,"z":"2c29979c.085788","wires":[["56cad9d9.774ac8"]]},{"id":"56cad9d9.774ac8","type":"get-resource","name":"update: A&AI Data for VNFC status update","xml":"<update plugin=\"com.att.sdnctl.sli.aai.AAIService\" resource=\"vnfc\" key=\"vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name\" pfx=\"tmp.aai-data-vnfc-update\" >\n<parameter name='vnfc-name' value='`$request-parameters.vm[$j].vnfc[$k].vnfc-name`'/>\n<parameter name='prov-status' value='`$tmp.aai-prov-status`'/>\n<parameter name='orchestration-status' value='`$tmp.aai-orch-status`'/>\n\n","comments":"","outputs":1,"x":1952.1785888671875,"y":622.6904859542847,"z":"2c29979c.085788","wires":[["cc410b82.8ebc38","e8d3d750.465eb8"]]},{"id":"cc410b82.8ebc38","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2238.6787109375,"y":599.9404907226562,"z":"2c29979c.085788","wires":[["df90a4f2.8e71d8"]]},{"id":"df90a4f2.8e71d8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2390.6785583496094,"y":617.1904773712158,"z":"2c29979c.085788","wires":[["69ebc07.edf0c4","4743ee44.6c93f"]]},{"id":"69ebc07.edf0c4","type":"record","name":"record","xml":"<record plugin=\"com.att.sdnctl.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=\"Update VNFC status to AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n<parameter name=\"field4\" value=\"`$tmp.aai-data-vnfc-update`\"/>\n\n","comments":"","outputs":1,"x":2584.6785583496094,"y":599.1904773712158,"z":"2c29979c.085788","wires":[[]]},{"id":"4743ee44.6c93f","type":"set","name":"set: Append to aai error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'Update VNFC status to A&amp;AI Failed for ' + $request-parameters.vm[$j].vnfc[$k].vnfc-name + '.' + $aai-error-message`\"/>","comments":"","x":2666.178596496582,"y":660.940486907959,"z":"2c29979c.085788","wires":[]},{"id":"e8d3d750.465eb8","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2225.9285583496094,"y":683.9404773712158,"z":"2c29979c.085788","wires":[["c21aabb4.5a6d58"]]},{"id":"c21aabb4.5a6d58","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2387.1785926818848,"y":682.690486907959,"z":"2c29979c.085788","wires":[["a5bec166.b3913"]]},{"id":"a5bec166.b3913","type":"record","name":"record","xml":"<record plugin=\"com.att.sdnctl.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=\"Update VNFC status to AnAI Request Success\"/>\n<parameter name=\"field3\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n<parameter name=\"field4\" value=\"`$tmp.aai-data-vnfc-update`\"/>\n\n","comments":"","outputs":1,"x":2568.4285583496094,"y":707.6904773712158,"z":"2c29979c.085788","wires":[[]]}]
+[{"id":"9333f052.3d35c","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":267,"y":42.333335876464844,"z":"2c29979c.085788","wires":[["b5bc2ae5.c3ccb8"]]},{"id":"ccfc3135.e932f","type":"dgstart","name":"DGSTART","outputs":1,"x":96.83331298828125,"y":41.66667938232422,"z":"2c29979c.085788","wires":[["9333f052.3d35c"]]},{"id":"b5bc2ae5.c3ccb8","type":"method","name":"method UpdateAaiforPayloadInput","xml":"<method rpc='UpdateAaiforPayloadInput' mode='sync'>\n","comments":"","outputs":1,"x":490.3333740234375,"y":39,"z":"2c29979c.085788","wires":[["6f4f9cf7.421284"]]},{"id":"6f4f9cf7.421284","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":120,"y":262.33333587646484,"z":"2c29979c.085788","wires":[["dacd8a6.62c3978","46ce8310.34f23c","16298fb8.22c27","f50ba4be.268618"]]},{"id":"46ce8310.34f23c","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=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"RETURNEDERRORMSG\" value=\"`$aai-error-message`\"/>\n\n","comments":"","outputs":1,"x":327,"y":717.3333969116211,"z":"2c29979c.085788","wires":[[]]},{"id":"dacd8a6.62c3978","type":"switchNode","name":"switch: vm length","xml":"<switch test=\"`$size_request-parameters.vm`\">","comments":"","outputs":1,"x":356,"y":165.44445037841797,"z":"2c29979c.085788","wires":[["44fdeb61.aa9034","72261fcd.ca467","2a6d9b73.a96634"]]},{"id":"daef72.bdc6c09","type":"for","name":"for: vm","xml":"<for index=\"j\" start=\"0\" end=\"`$size_request-parameters.vm`\" >","comments":"","outputs":1,"x":365,"y":319.3333969116211,"z":"2c29979c.085788","wires":[["9ed29edc.ebe52"]]},{"id":"44fdeb61.aa9034","type":"other","name":"outcome: Length=0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":591.0000610351562,"y":142.44445037841797,"z":"2c29979c.085788","wires":[["bfe524b3.a8b848"]]},{"id":"72261fcd.ca467","type":"other","name":"outcome: NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":581.0000610351562,"y":201.44445037841797,"z":"2c29979c.085788","wires":[["bfe524b3.a8b848"]]},{"id":"9ed29edc.ebe52","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":540.0000610351562,"y":320.3333969116211,"z":"2c29979c.085788","wires":[["8a8c3760.6f71b8"]]},{"id":"bfe524b3.a8b848","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":785.0000610351562,"y":171.44445037841797,"z":"2c29979c.085788","wires":[["270c634c.7568ec","a13ad30b.4366c"]]},{"id":"6ef24474.a983ec","type":"get-resource","name":"get-resource: A&AI Data for VNFC Name ","xml":"<get-resource plugin=\"org.openecomp.sdnc.sli.resource.sql.SqlResource\" resource=\"vnfc\" key=\"vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name\" pfx=\"tmp.aai-data-vnfc\" >\n\n\n","comments":"","outputs":1,"x":1249.5001220703125,"y":677.5555648803711,"z":"2c29979c.085788","wires":[["a751861e.5d43a8","52d5b700.fd5458"]]},{"id":"270c634c.7568ec","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=\"VM data not found in request\"/>\n\n\n","comments":"","outputs":1,"x":975.0000610351562,"y":152.44445037841797,"z":"2c29979c.085788","wires":[[]]},{"id":"a751861e.5d43a8","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1511,"y":680.3333358764648,"z":"2c29979c.085788","wires":[["3e894fae.eed92"]]},{"id":"3e894fae.eed92","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1682,"y":685.3333358764648,"z":"2c29979c.085788","wires":[["29d3772.e8a1788"]]},{"id":"defef68c.efd408","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1274.1664962768555,"y":1023.5833148956299,"z":"2c29979c.085788","wires":[["1b7742ee.646d8d"]]},{"id":"1b7742ee.646d8d","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1465.1664962768555,"y":1023.0833148956299,"z":"2c29979c.085788","wires":[["484c0808.c6a598","22e0181c.878b98"]]},{"id":"484c0808.c6a598","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=\"Insert to AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n\n","comments":"","outputs":1,"x":1641.6665000915527,"y":977.5833759307861,"z":"2c29979c.085788","wires":[[]]},{"id":"22e0181c.878b98","type":"set","name":"set: Append to aai error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'Insert to A&amp;AI Failed for ' + $request-parameters.vm[$j].vnfc[$k].vnfc-name + '.' + $aai-error-message`\"/>","comments":"","x":1718.1664962768555,"y":1071.8333158493042,"z":"2c29979c.085788","wires":[]},{"id":"8ffddb97.757d58","type":"for","name":"for: vm.vnfc","xml":"<for index=\"k\" start=\"0\" end=\"`$size_request-parameters.vm[$j].vnfc`\" >","comments":"","outputs":1,"x":875.2143783569336,"y":614.7619743347168,"z":"2c29979c.085788","wires":[["c2298a98.0adbd8"]]},{"id":"c2298a98.0adbd8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1060.5001831054688,"y":615.3333358764648,"z":"2c29979c.085788","wires":[["b61d1503.913e98","6ef24474.a983ec"]]},{"id":"b61d1503.913e98","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\n<parameter name=\"VNFCNAME\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n\n<parameter name=\"VMNAME\" value=\"`$request-parameters.vm[$j].vm-name`\"/>\n","comments":"","outputs":1,"x":1245.5001831054688,"y":597.3333358764648,"z":"2c29979c.085788","wires":[[]]},{"id":"2a6d9b73.a96634","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":373.00006103515625,"y":248.1111068725586,"z":"2c29979c.085788","wires":[["b4699d7b.74cfd"]]},{"id":"b4699d7b.74cfd","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":560,"y":253.1111068725586,"z":"2c29979c.085788","wires":[["daef72.bdc6c09"]]},{"id":"e4aab88c.91de48","type":"switchNode","name":"switch: vnfc length","xml":"<switch test=\"`$size_request-parameters.vm[$j].vnfc`\">","comments":"","outputs":1,"x":704.3572540283203,"y":477.9047508239746,"z":"2c29979c.085788","wires":[["cc76df4b.79195","b9647e56.5428","515b427.0838abc"]]},{"id":"cc76df4b.79195","type":"other","name":"outcome: Length=0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":1012.5001831054688,"y":465.33333587646484,"z":"2c29979c.085788","wires":[["daca7ad3.6849a8"]]},{"id":"b9647e56.5428","type":"other","name":"outcome: NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":999.5001831054688,"y":503.33333587646484,"z":"2c29979c.085788","wires":[["daca7ad3.6849a8"]]},{"id":"515b427.0838abc","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1002.5001831054688,"y":555.3333358764648,"z":"2c29979c.085788","wires":[["85b4db72.6fea78"]]},{"id":"daca7ad3.6849a8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1233.500244140625,"y":493.33333587646484,"z":"2c29979c.085788","wires":[["a51065d2.dda8e8","84809a16.798bb8"]]},{"id":"a51065d2.dda8e8","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=\"VNFC data not in request\"/>\n\n\n","comments":"","outputs":1,"x":1425.500244140625,"y":459.33333587646484,"z":"2c29979c.085788","wires":[[]]},{"id":"85b4db72.6fea78","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":663.5001220703125,"y":615.3333358764648,"z":"2c29979c.085788","wires":[["8ffddb97.757d58"]]},{"id":"8a8c3760.6f71b8","type":"get-resource","name":"get-resource: A&AI Data for VM Name","xml":"<get-resource plugin=\"org.openecomp.sdnc.sli.resource.sql.SqlResource\" resource=\"vserver\" key=\"vserver-name = $request-parameters.vm[$j].vm-name\" pfx=\"tmp.aai-data-vm\" >\n\n","comments":"","outputs":1,"x":813.1666870117188,"y":323.1111068725586,"z":"2c29979c.085788","wires":[["891fa503.2eb248","8165f2d1.c2795","760228ff.b17788"]]},{"id":"891fa503.2eb248","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1074.166748046875,"y":284.1111068725586,"z":"2c29979c.085788","wires":[["ffbb360a.0f9b98"]]},{"id":"8165f2d1.c2795","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1083.166748046875,"y":335.1111068725586,"z":"2c29979c.085788","wires":[["ffbb360a.0f9b98"]]},{"id":"760228ff.b17788","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1060,"y":396.33333587646484,"z":"2c29979c.085788","wires":[["9ead1868.e9e0d8"]]},{"id":"ffbb360a.0f9b98","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1265.166748046875,"y":310.1111068725586,"z":"2c29979c.085788","wires":[["23cd0ec8.29e192"]]},{"id":"23cd0ec8.29e192","type":"set","name":"set: Append to aai-error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'Get from A&amp;AI Failed for ' + $request-parameters.vm[$j].vm-name + '.' + $aai-error-message`\"/>","comments":"","x":1538.166748046875,"y":315.1111068725586,"z":"2c29979c.085788","wires":[]},{"id":"a13ad30b.4366c","type":"set","name":"set: Append to aai-error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'VM Info not found in request.' + $aai-error-message`\"/>","comments":"","x":1055.1666870117188,"y":198.1111068725586,"z":"2c29979c.085788","wires":[]},{"id":"84809a16.798bb8","type":"set","name":"set: Append to aai-error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'VNFC Info not found in request.' + $aai-error-message`\"/>","comments":"","x":1505.6668701171875,"y":520.3333358764648,"z":"2c29979c.085788","wires":[]},{"id":"16298fb8.22c27","type":"switchNode","name":"switch: aai-error-message","xml":"<switch test=\"`$aai-error-message`\">","comments":"","outputs":1,"x":131.16668701171875,"y":859.1111068725586,"z":"2c29979c.085788","wires":[["ccb9af83.f0c75","d8d6fa14.d6e7e8"]]},{"id":"ccb9af83.f0c75","type":"other","name":"outcome: not populated","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":387.16668701171875,"y":858.1111068725586,"z":"2c29979c.085788","wires":[["8e4f6b95.1df068"]]},{"id":"8e4f6b95.1df068","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":589.1666870117188,"y":872.1111068725586,"z":"2c29979c.085788","wires":[["18c23b39.337805"]]},{"id":"d8d6fa14.d6e7e8","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":362.16668701171875,"y":936.1111068725586,"z":"2c29979c.085788","wires":[["94c6b29b.e6273"]]},{"id":"94c6b29b.e6273","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":554.1666870117188,"y":938.1111068725586,"z":"2c29979c.085788","wires":[["73ce9597.b49bcc","715964cb.dde1bc"]]},{"id":"18c23b39.337805","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\n","comments":"","x":782.1666870117188,"y":874.1111068725586,"z":"2c29979c.085788","wires":[]},{"id":"73ce9597.b49bcc","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\n","comments":"","x":746.1666870117188,"y":1004.1111679077148,"z":"2c29979c.085788","wires":[]},{"id":"f50ba4be.268618","type":"set","name":"set prov-status and orch-status","xml":"<set>\n<parameter name=\"tmp.aai-prov-status\" value=\"NVTPROV\" />\n\t<parameter name=\"tmp.aai-orch-status\" value=\"CONFIGURED\" />\n","comments":"","x":403,"y":84.33333587646484,"z":"2c29979c.085788","wires":[]},{"id":"c46d035a.6bbd7","type":"save","name":"save Put VNFC","xml":"<save plugin='org.openecomp.sdnc.sli.resource.sql.SqlResource' resource='vnfc' key='vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name' force='true' pfx='tmp.vnfc-sys-controller'>\n<parameter name='vnfc-function-code' value='`$request-parameters.vm[$j].vnfc[$k].vnfc-function-code`'/>\n<parameter name='vnfc-type' value='`$request-parameters.vm[$j].vnfc[$k].vnfc-type`'/>\n<parameter name='ipaddress-v4-oam-vip' value='`$request-parameters.vm[$j].vnfc[$k].ipaddress-v4-oam-vip`'/>\n<parameter name='prov-status' value='`$tmp.aai-prov-status`'/>\n<parameter name='orchestration-status' value='`$tmp.aai-orch-status`'/>\n<parameter name='in-maint' value = 'false'/>\n<parameter name='is-closed-loop' value = 'false'/>\n<parameter name='group-notation' value='`$request-parameters.vm[$j].vnfc[$k].group-notation`'/>\n\n\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"vserver\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"vserver.vserver-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value='`$tmp.aai-data-vm.vserver-id`'/>\n\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"tenant.tenant-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value='`$tmp.aai-data-vm.tenant-id`'/>\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-key\" value=\"cloud-region.cloud-owner\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-value\" value=\"att-aic\"/>\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[3].relationship-key\" value=\"cloud-region.cloud-region-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[3].relationship-value\" value='`$tmp.aai-data-vm.cloud-region-id`'/>\n\n\n<parameter name=\"relationship-list.relationship[1].related-to\" value=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value='`$vnf-id`'/>\n\n<parameter name=\"relationship-list.relationship[2].related-to\" value=\"vf-module\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[0].relationship-value\" value='`$vnf-id`'/>\n\n<parameter name=\"relationship-list.relationship[2].relationship-data[1].relationship-key\" value=\"vf-module.vf-module-id\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[1].relationship-value\" value='`$tmp.vf-module-id`'/>\n\n\n\n","comments":"","outputs":1,"x":1553.749984741211,"y":896.8333148956299,"z":"2c29979c.085788","wires":[["defef68c.efd408"]]},{"id":"29d3772.e8a1788","type":"call","name":"call: GetVfModuleInfo","xml":"<call module=\"APPC\" rpc=\"GetVfModuleInfo\" mode=\"sync\">","comments":"","outputs":1,"x":1110.5,"y":771.3333358764648,"z":"2c29979c.085788","wires":[["c6141f12.05436","9041ddd8.6b377"]]},{"id":"c6141f12.05436","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1109.5,"y":901.3333358764648,"z":"2c29979c.085788","wires":[["e0ced342.2ee9"]]},{"id":"e0ced342.2ee9","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1349.9999885559082,"y":893.0833740234375,"z":"2c29979c.085788","wires":[["c46d035a.6bbd7"]]},{"id":"9ead1868.e9e0d8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1241,"y":397.33333587646484,"z":"2c29979c.085788","wires":[["e4aab88c.91de48"]]},{"id":"9041ddd8.6b377","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1329,"y":770.3333358764648,"z":"2c29979c.085788","wires":[["745b11d2.f9797"]]},{"id":"efef03f8.81d38","type":"switchNode","name":"switch: tmp.vf-module-id","xml":"<switch test=\"`$tmp.vf-module-id`\">","comments":"","outputs":1,"x":1744,"y":771.3333358764648,"z":"2c29979c.085788","wires":[["525acc69.20d3e4","9b2ee4c2.6db578"]]},{"id":"745b11d2.f9797","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1505,"y":769.3333358764648,"z":"2c29979c.085788","wires":[["efef03f8.81d38"]]},{"id":"525acc69.20d3e4","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":1965,"y":767.3333358764648,"z":"2c29979c.085788","wires":[["8cf964a5.579d18"]]},{"id":"8cf964a5.579d18","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2120,"y":768.3333358764648,"z":"2c29979c.085788","wires":[[]]},{"id":"9b2ee4c2.6db578","type":"outcome","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1962,"y":821.3333358764648,"z":"2c29979c.085788","wires":[["e0ced342.2ee9"]]},{"id":"715964cb.dde1bc","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`'501:' + $aai-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":768,"y":947.3333358764648,"z":"2c29979c.085788","wires":[[]]},{"id":"52d5b700.fd5458","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1515.928581237793,"y":622.6904859542847,"z":"2c29979c.085788","wires":[["ca342217.314c8"]]},{"id":"ca342217.314c8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1674.678581237793,"y":622.6904859542847,"z":"2c29979c.085788","wires":[["56cad9d9.774ac8"]]},{"id":"56cad9d9.774ac8","type":"get-resource","name":"update: A&AI Data for VNFC status update","xml":"<update plugin=\"org.openecomp.sdnc.sli.resource.sql.SqlResource\" resource=\"vnfc\" key=\"vnfc-name = $request-parameters.vm[$j].vnfc[$k].vnfc-name\" pfx=\"tmp.aai-data-vnfc-update\" >\n<parameter name='vnfc-name' value='`$request-parameters.vm[$j].vnfc[$k].vnfc-name`'/>\n<parameter name='prov-status' value='`$tmp.aai-prov-status`'/>\n<parameter name='orchestration-status' value='`$tmp.aai-orch-status`'/>\n\n","comments":"","outputs":1,"x":1952.1785888671875,"y":622.6904859542847,"z":"2c29979c.085788","wires":[["cc410b82.8ebc38","e8d3d750.465eb8"]]},{"id":"cc410b82.8ebc38","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2238.6787109375,"y":599.9404907226562,"z":"2c29979c.085788","wires":[["df90a4f2.8e71d8"]]},{"id":"df90a4f2.8e71d8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2390.6785583496094,"y":617.1904773712158,"z":"2c29979c.085788","wires":[["69ebc07.edf0c4","4743ee44.6c93f"]]},{"id":"69ebc07.edf0c4","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=\"Update VNFC status to AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n<parameter name=\"field4\" value=\"`$tmp.aai-data-vnfc-update`\"/>\n\n","comments":"","outputs":1,"x":2584.6785583496094,"y":599.1904773712158,"z":"2c29979c.085788","wires":[[]]},{"id":"4743ee44.6c93f","type":"set","name":"set: Append to aai error message","xml":"<set>\n\t <parameter name=\"aai-error-message\" value=\"`'Update VNFC status to A&amp;AI Failed for ' + $request-parameters.vm[$j].vnfc[$k].vnfc-name + '.' + $aai-error-message`\"/>","comments":"","x":2666.178596496582,"y":660.940486907959,"z":"2c29979c.085788","wires":[]},{"id":"e8d3d750.465eb8","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2225.9285583496094,"y":683.9404773712158,"z":"2c29979c.085788","wires":[["c21aabb4.5a6d58"]]},{"id":"c21aabb4.5a6d58","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2387.1785926818848,"y":682.690486907959,"z":"2c29979c.085788","wires":[["a5bec166.b3913"]]},{"id":"a5bec166.b3913","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=\"Update VNFC status to AnAI Request Success\"/>\n<parameter name=\"field3\" value=\"`$request-parameters.vm[$j].vnfc[$k].vnfc-name`\"/>\n<parameter name=\"field4\" value=\"`$tmp.aai-data-vnfc-update`\"/>\n\n","comments":"","outputs":1,"x":2568.4285583496094,"y":707.6904773712158,"z":"2c29979c.085788","wires":[[]]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforReferenceData.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforReferenceData.json
index ef609f64d..f8f98b5f9 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforReferenceData.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_UpdateAaiforReferenceData.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"c69cd5c6.8eaf98","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":265,"y":43,"z":"fc522b47.df72a8","wires":[["b1be4c4.c4d55b"]]},{"id":"b15f51d0.e9644","type":"dgstart","name":"DGSTART","outputs":1,"x":110.83331298828125,"y":41.333343505859375,"z":"fc522b47.df72a8","wires":[["c69cd5c6.8eaf98"]]},{"id":"b1be4c4.c4d55b","type":"method","name":"method UpdateAaiforReferenceData","xml":"<method rpc='UpdateAaiforReferenceData' mode='sync'>","comments":"","outputs":1,"x":523.333381652832,"y":41.66666507720947,"z":"fc522b47.df72a8","wires":[["825cd02b.13654"]]},{"id":"825cd02b.13654","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":137,"y":111.00000762939453,"z":"fc522b47.df72a8","wires":[["b0c09c76.678a4","91b4bedf.8242e"]]},{"id":"3d5bc46a.eb3eac","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"RETURNEDERRORMSG\" value=\"`$dcae-error-message`\"/>\n\n","comments":"","outputs":1,"x":701,"y":798.0000381469727,"z":"fc522b47.df72a8","wires":[[]]},{"id":"7b50f281.3bd31c","type":"execute","name":"execute addVnfcs","xml":"<execute plugin=\"org.openecomp.appc.aai.client.node.AAIResourceNode\" method=\"addVnfcs\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n","comments":"","outputs":1,"x":804.4722518920898,"y":309.9166955947876,"z":"fc522b47.df72a8","wires":[["6923ea4a.854004"]]},{"id":"6923ea4a.854004","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":998.4166717529297,"y":311.6666555404663,"z":"fc522b47.df72a8","wires":[["57336ac3.2f76c4"]]},{"id":"57336ac3.2f76c4","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1200.9166717529297,"y":301.1389045715332,"z":"fc522b47.df72a8","wires":[["a0914fb9.6aa8d"]]},{"id":"9999c346.0a4e8","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`'501:' + $dcae-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":884.0000076293945,"y":488.9166965484619,"z":"fc522b47.df72a8","wires":[["f51ac733.4c4768"]]},{"id":"a0914fb9.6aa8d","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"`$dcae-error-message + $tmp.vnfInfo.error-message` \"/>","comments":"","x":1446.0554962158203,"y":303.22223472595215,"z":"fc522b47.df72a8","wires":[]},{"id":"82371710.a9d4e8","type":"execute","name":"execute IntermediateMessageSender","xml":"<execute plugin='org.openecomp.appc.dg.common.IntermediateMessageSender' method='sendMessage' >\n<parameter name='code' value=\"501\" />\n<parameter name='message' value=\"`$dcae-error-message`\" />\n<parameter name='prefix' value=\"tmp.intermediateerror\"/>","comments":"","outputs":1,"x":931.7500152587891,"y":589.9166955947876,"z":"fc522b47.df72a8","wires":[["dcdf5417.c44018","569bfe06.8d086"]]},{"id":"dcdf5417.c44018","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1183.7500190734863,"y":555.4166965484619,"z":"fc522b47.df72a8","wires":[["12d82c2e.3fb1f4"]]},{"id":"569bfe06.8d086","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1181.5000190734863,"y":638.6666965484619,"z":"fc522b47.df72a8","wires":[["12d82c2e.3fb1f4"]]},{"id":"12d82c2e.3fb1f4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1352.0000190734863,"y":598.9166955947876,"z":"fc522b47.df72a8","wires":[["fb53247d.69b308"]]},{"id":"fb53247d.69b308","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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=\"MSGSENDERERERROR\" value=\"Unable to call IntermediateErrorMessageSender\"/>\n","comments":"","outputs":1,"x":1509.0000228881836,"y":599.416695356369,"z":"fc522b47.df72a8","wires":[[]]},{"id":"b0c09c76.678a4","type":"execute","name":"execute getVnfcReference","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getVnfcReference\">\n<parameter name=\"responsePrefix\" value=\"vnfcReference[]\" />\n","comments":"","outputs":1,"x":370.6111068725586,"y":206.80553817749023,"z":"fc522b47.df72a8","wires":[["c7965317.f93b8","f5513545.9ebe58","4e0097d1.637198"]]},{"id":"c7965317.f93b8","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":604,"y":131.66666412353516,"z":"fc522b47.df72a8","wires":[["b2bfe106.18886"]]},{"id":"f5513545.9ebe58","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":598,"y":175.66666412353516,"z":"fc522b47.df72a8","wires":[["195d6b48.f1dd15"]]},{"id":"b2bfe106.18886","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":783,"y":113.66666412353516,"z":"fc522b47.df72a8","wires":[["509bacca.15cd24"]]},{"id":"195d6b48.f1dd15","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":767,"y":166.66666412353516,"z":"fc522b47.df72a8","wires":[["db840e52.e49de"]]},{"id":"4e0097d1.637198","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":570,"y":227.66666412353516,"z":"fc522b47.df72a8","wires":[["58a9e06a.4fd7b"]]},{"id":"509bacca.15cd24","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"Unable to Update A&amp;AI. Unable to read vnfc-reference data \"/>","comments":"","x":1016,"y":111.66666412353516,"z":"fc522b47.df72a8","wires":[]},{"id":"db840e52.e49de","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"`'Unable to Update A&amp;AI. ' + $vnfc-reference[0].error-message` \"/>","comments":"","x":1002,"y":170.66666412353516,"z":"fc522b47.df72a8","wires":[]},{"id":"58a9e06a.4fd7b","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":729,"y":222.66666412353516,"z":"fc522b47.df72a8","wires":[["61838342.3eb0dc","7b50f281.3bd31c"]]},{"id":"91b4bedf.8242e","type":"switchNode","name":"switch dcae message","xml":"<switch test='`$dcae-error-message`'>\n","comments":"","outputs":1,"x":322.5,"y":431.4166965484619,"z":"fc522b47.df72a8","wires":[["ee5101dd.36d73","830349c.beb4cb8"]]},{"id":"ee5101dd.36d73","type":"outcome","name":"outcome null","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":566.0000076293945,"y":430.4166965484619,"z":"fc522b47.df72a8","wires":[["1d8c3b97.711514"]]},{"id":"830349c.beb4cb8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":523.7500038146973,"y":499.66669845581055,"z":"fc522b47.df72a8","wires":[["572fefb0.03cc1"]]},{"id":"572fefb0.03cc1","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":685.7500076293945,"y":503.16669845581055,"z":"fc522b47.df72a8","wires":[["9999c346.0a4e8","82371710.a9d4e8","3d5bc46a.eb3eac"]]},{"id":"1d8c3b97.711514","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":728.0000076293945,"y":429.1666965484619,"z":"fc522b47.df72a8","wires":[[]]},{"id":"61838342.3eb0dc","type":"execute","name":"execute updateVnfVServer","xml":"<execute plugin=\"org.openecomp.appc.aai.client.node.AAIResourceNode\" method=\"updateVnfAndVServerStatus\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n","comments":"","outputs":1,"x":1021.5,"y":220.4166603088379,"z":"fc522b47.df72a8","wires":[["ba6a8b0c.35b0a8"]]},{"id":"ba6a8b0c.35b0a8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1234.5000038146973,"y":221.16666221618652,"z":"fc522b47.df72a8","wires":[["adfe125f.70063"]]},{"id":"adfe125f.70063","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1386.2500076293945,"y":218.16666221618652,"z":"fc522b47.df72a8","wires":[["44dcf49d.ca985c"]]},{"id":"44dcf49d.ca985c","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"`$tmp.vnfInfo.error-message` \"/>","comments":"","x":1605.250015258789,"y":219.6666603088379,"z":"fc522b47.df72a8","wires":[]},{"id":"f51ac733.4c4768","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1068.000015258789,"y":488.6666946411133,"z":"fc522b47.df72a8","wires":[["3a09ed31.0554e2"]]},{"id":"3a09ed31.0554e2","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1223.000015258789,"y":488.6666965484619,"z":"fc522b47.df72a8","wires":[[]]}]
+[{"id":"c69cd5c6.8eaf98","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":265,"y":43,"z":"fc522b47.df72a8","wires":[["b1be4c4.c4d55b"]]},{"id":"b15f51d0.e9644","type":"dgstart","name":"DGSTART","outputs":1,"x":110.83331298828125,"y":41.333343505859375,"z":"fc522b47.df72a8","wires":[["c69cd5c6.8eaf98"]]},{"id":"b1be4c4.c4d55b","type":"method","name":"method UpdateAaiforReferenceData","xml":"<method rpc='UpdateAaiforReferenceData' mode='sync'>","comments":"","outputs":1,"x":523.333381652832,"y":41.66666507720947,"z":"fc522b47.df72a8","wires":[["825cd02b.13654"]]},{"id":"825cd02b.13654","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":137,"y":111.00000762939453,"z":"fc522b47.df72a8","wires":[["b0c09c76.678a4","91b4bedf.8242e"]]},{"id":"3d5bc46a.eb3eac","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=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"RETURNEDERRORMSG\" value=\"`$dcae-error-message`\"/>\n\n","comments":"","outputs":1,"x":701,"y":798.0000381469727,"z":"fc522b47.df72a8","wires":[[]]},{"id":"7b50f281.3bd31c","type":"execute","name":"execute addVnfcs","xml":"<execute plugin=\"org.openecomp.appc.aai.client.node.AAIResourceNode\" method=\"addVnfcs\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n","comments":"","outputs":1,"x":804.4722518920898,"y":309.9166955947876,"z":"fc522b47.df72a8","wires":[["6923ea4a.854004"]]},{"id":"6923ea4a.854004","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":998.4166717529297,"y":311.6666555404663,"z":"fc522b47.df72a8","wires":[["57336ac3.2f76c4"]]},{"id":"57336ac3.2f76c4","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1200.9166717529297,"y":301.1389045715332,"z":"fc522b47.df72a8","wires":[["a0914fb9.6aa8d"]]},{"id":"9999c346.0a4e8","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"`'501:' + $dcae-error-message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n","comments":"","outputs":1,"x":884.0000076293945,"y":488.9166965484619,"z":"fc522b47.df72a8","wires":[["f51ac733.4c4768"]]},{"id":"a0914fb9.6aa8d","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"`$dcae-error-message + $tmp.vnfInfo.error-message` \"/>","comments":"","x":1446.0554962158203,"y":303.22223472595215,"z":"fc522b47.df72a8","wires":[]},{"id":"82371710.a9d4e8","type":"execute","name":"execute IntermediateMessageSender","xml":"<execute plugin='org.openecomp.appc.dg.common.IntermediateMessageSender' method='sendMessage' >\n<parameter name='code' value=\"501\" />\n<parameter name='message' value=\"`$dcae-error-message`\" />\n<parameter name='prefix' value=\"tmp.intermediateerror\"/>","comments":"","outputs":1,"x":931.7500152587891,"y":589.9166955947876,"z":"fc522b47.df72a8","wires":[["dcdf5417.c44018","569bfe06.8d086"]]},{"id":"dcdf5417.c44018","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1183.7500190734863,"y":555.4166965484619,"z":"fc522b47.df72a8","wires":[["12d82c2e.3fb1f4"]]},{"id":"569bfe06.8d086","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1181.5000190734863,"y":638.6666965484619,"z":"fc522b47.df72a8","wires":[["12d82c2e.3fb1f4"]]},{"id":"12d82c2e.3fb1f4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1352.0000190734863,"y":598.9166955947876,"z":"fc522b47.df72a8","wires":[["fb53247d.69b308"]]},{"id":"fb53247d.69b308","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=\"MSGSENDERERERROR\" value=\"Unable to call IntermediateErrorMessageSender\"/>\n","comments":"","outputs":1,"x":1509.0000228881836,"y":599.416695356369,"z":"fc522b47.df72a8","wires":[[]]},{"id":"b0c09c76.678a4","type":"execute","name":"execute getVnfcReference","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getVnfcReference\">\n<parameter name=\"responsePrefix\" value=\"vnfcReference[]\" />\n","comments":"","outputs":1,"x":370.6111068725586,"y":206.80553817749023,"z":"fc522b47.df72a8","wires":[["c7965317.f93b8","f5513545.9ebe58","4e0097d1.637198"]]},{"id":"c7965317.f93b8","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":604,"y":131.66666412353516,"z":"fc522b47.df72a8","wires":[["b2bfe106.18886"]]},{"id":"f5513545.9ebe58","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":598,"y":175.66666412353516,"z":"fc522b47.df72a8","wires":[["195d6b48.f1dd15"]]},{"id":"b2bfe106.18886","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":783,"y":113.66666412353516,"z":"fc522b47.df72a8","wires":[["509bacca.15cd24"]]},{"id":"195d6b48.f1dd15","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":767,"y":166.66666412353516,"z":"fc522b47.df72a8","wires":[["db840e52.e49de"]]},{"id":"4e0097d1.637198","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":570,"y":227.66666412353516,"z":"fc522b47.df72a8","wires":[["58a9e06a.4fd7b"]]},{"id":"509bacca.15cd24","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"Unable to Update A&amp;AI. Unable to read vnfc-reference data \"/>","comments":"","x":1016,"y":111.66666412353516,"z":"fc522b47.df72a8","wires":[]},{"id":"db840e52.e49de","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"`'Unable to Update A&amp;AI. ' + $vnfc-reference[0].error-message` \"/>","comments":"","x":1002,"y":170.66666412353516,"z":"fc522b47.df72a8","wires":[]},{"id":"58a9e06a.4fd7b","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":729,"y":222.66666412353516,"z":"fc522b47.df72a8","wires":[["61838342.3eb0dc","7b50f281.3bd31c"]]},{"id":"91b4bedf.8242e","type":"switchNode","name":"switch dcae message","xml":"<switch test='`$dcae-error-message`'>\n","comments":"","outputs":1,"x":322.5,"y":431.4166965484619,"z":"fc522b47.df72a8","wires":[["ee5101dd.36d73","830349c.beb4cb8"]]},{"id":"ee5101dd.36d73","type":"outcome","name":"outcome null","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":566.0000076293945,"y":430.4166965484619,"z":"fc522b47.df72a8","wires":[["1d8c3b97.711514"]]},{"id":"830349c.beb4cb8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":523.7500038146973,"y":499.66669845581055,"z":"fc522b47.df72a8","wires":[["572fefb0.03cc1"]]},{"id":"572fefb0.03cc1","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":685.7500076293945,"y":503.16669845581055,"z":"fc522b47.df72a8","wires":[["9999c346.0a4e8","82371710.a9d4e8","3d5bc46a.eb3eac"]]},{"id":"1d8c3b97.711514","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":728.0000076293945,"y":429.1666965484619,"z":"fc522b47.df72a8","wires":[[]]},{"id":"61838342.3eb0dc","type":"execute","name":"execute updateVnfVServer","xml":"<execute plugin=\"org.openecomp.appc.aai.client.node.AAIResourceNode\" method=\"updateVnfAndVServerStatus\">\n<parameter name=\"responsePrefix\" value=\"tmp.vnfInfo\" />\n","comments":"","outputs":1,"x":1021.5,"y":220.4166603088379,"z":"fc522b47.df72a8","wires":[["ba6a8b0c.35b0a8"]]},{"id":"ba6a8b0c.35b0a8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1234.5000038146973,"y":221.16666221618652,"z":"fc522b47.df72a8","wires":[["adfe125f.70063"]]},{"id":"adfe125f.70063","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1386.2500076293945,"y":218.16666221618652,"z":"fc522b47.df72a8","wires":[["44dcf49d.ca985c"]]},{"id":"44dcf49d.ca985c","type":"set","name":"set: dcae-error message","xml":"<set>\n <parameter name=\"dcae-error-message\" value=\"`$tmp.vnfInfo.error-message` \"/>","comments":"","x":1605.250015258789,"y":219.6666603088379,"z":"fc522b47.df72a8","wires":[]},{"id":"f51ac733.4c4768","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1068.000015258789,"y":488.6666946411133,"z":"fc522b47.df72a8","wires":[["3a09ed31.0554e2"]]},{"id":"3a09ed31.0554e2","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1223.000015258789,"y":488.6666965484619,"z":"fc522b47.df72a8","wires":[[]]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ansible-adapter-1.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ansible-adapter-1.0.json
index 094c5183c..3900dc3e1 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ansible-adapter-1.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_ansible-adapter-1.0.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"d048ba2a.84e2f8","type":"method","name":"ansible-adapter-1.0","xml":"<method rpc='ansible-adapter-1.0' mode='sync'>\n","comments":"","outputs":1,"x":477.6999816894531,"y":230.8833348751068,"z":"7d7da29a.2b7398","wires":[["13d8bcd3.33755f"]]},{"id":"750a91a2.96947","type":"service-logic","name":"APPC 2.0.1","module":"APPC","version":"2.0.1","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.1'>","outputs":1,"x":268.6999816894531,"y":308.8833348751068,"z":"7d7da29a.2b7398","wires":[["d048ba2a.84e2f8"]]},{"id":"53079a4f.559f84","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$org.openecomp.appc.adapter.ansible.message`' />\n<parameter name='output.status.results' value='`$org.openecomp.appc.adapter.ansible.results`' />\n","comments":"","x":1218.6999816894531,"y":669.8833348751068,"z":"7d7da29a.2b7398","wires":[]},{"id":"13d8bcd3.33755f","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.adapter.ansible.AnsibleAdapter' method='reqExec' >\n<parameter name='AgentUrl' value='`$AgentUrl`'/>\n <parameter name='User' value='`$User`'/>\n <parameter name='Password' value='`$Password`'/>\n <parameter name='LocalParameters' value='`$LocalParameters`'/>\n <parameter name='EnvParameters' value='`$EnvParameters`'/>\n <parameter name='NodeList' value='`$NodeList`'/>\n <parameter name='Timeout' value='`$Timeout`'/>\n <parameter name='Version' value='`$Version`'/>\n <parameter name='PlaybookName' value='`$PlaybookName`'/>\n","comments":"","outputs":1,"x":682.6999816894531,"y":228.8833348751068,"z":"7d7da29a.2b7398","wires":[["237110e5.33ae38","fe1ba4a5.cd6b68"]]},{"id":"30b13fff.531b44","type":"switchNode","name":"switch","xml":"<switch test=\"`$org.openecomp.appc.adapter.ansible.result.code`\">\n","comments":"","outputs":1,"x":472.6999816894531,"y":389.8833348751068,"z":"7d7da29a.2b7398","wires":[["f58c4f93.2bcb6","66fbd51d.685a14","c8a28d7.c69dd3"]]},{"id":"f58c4f93.2bcb6","type":"other","name":"outcome","xml":"<outcome value='500'>\n","comments":"","outputs":1,"x":659.6999816894531,"y":389.8833348751068,"z":"7d7da29a.2b7398","wires":[["53079a4f.559f84"]]},{"id":"66fbd51d.685a14","type":"other","name":"outcome","xml":"<outcome value='100'>\n","comments":"","outputs":1,"x":296.6999816894531,"y":477.8833348751068,"z":"7d7da29a.2b7398","wires":[["daab3eeb.acc3e8"]]},{"id":"daab3eeb.acc3e8","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.adapter.ansible.AnsibleAdapter' method='reqExecResult' >\n <parameter name='message' value='`$org.openecomp.appc.adapter.ansible.message`'/>\n <parameter name='code' value='$org.openecomp.appc.adapter.ansible.result.code`'/>\n <parameter name='AgentUrl' value='`$AgentUrl`'/>\n <parameter name='User' value='`$User`'/>\n <parameter name='Password' value='`$Password`'/>\n <parameter name='Id' value='`$org.openecomp.appc.adapter.ansible.Id`'/>\n","comments":"","outputs":1,"x":474.6999816894531,"y":476.8833348751068,"z":"7d7da29a.2b7398","wires":[["415101d2.f995cc","98312eaf.163de8"]]},{"id":"237110e5.33ae38","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":936.6999816894531,"y":229.8833348751068,"z":"7d7da29a.2b7398","wires":[["53079a4f.559f84"]]},{"id":"fe1ba4a5.cd6b68","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":295.6999816894531,"y":390.8833348751068,"z":"7d7da29a.2b7398","wires":[["30b13fff.531b44"]]},{"id":"415101d2.f995cc","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":664.6999816894531,"y":477.8833348751068,"z":"7d7da29a.2b7398","wires":[["53079a4f.559f84"]]},{"id":"c8a28d7.c69dd3","type":"other","name":"outcome","xml":"<outcome value='101'>\n","comments":"","outputs":1,"x":283.6999816894531,"y":670.8833348751068,"z":"7d7da29a.2b7398","wires":[["53079a4f.559f84"]]},{"id":"98312eaf.163de8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":662.6999816894531,"y":546.8833348751068,"z":"7d7da29a.2b7398","wires":[["2c831d15.81b10a"]]},{"id":"2c831d15.81b10a","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='output.status.code' value='`$org.openecomp.appc.adapter.ansible.result.code`' />\n<parameter name='output.status.message' value='`$org.openecomp.appc.adapter.ansible.message`'/>\n<parameter name='output.status.results' value = '`$org.openecomp.appc.adapter.ansible.results`'/>\n","comments":"","x":814.6999816894531,"y":621.8833348751068,"z":"7d7da29a.2b7398","wires":[]},{"id":"f6dd55b0.6ce568","type":"dgstart","name":"DGSTART","outputs":1,"x":246.69998168945312,"y":208.8833348751068,"z":"7d7da29a.2b7398","wires":[["750a91a2.96947"]]}]
+[{"id":"d048ba2a.84e2f8","type":"method","name":"ansible-adapter-1.0","xml":"<method rpc='ansible-adapter-1.0' mode='sync'>\n","comments":"","outputs":1,"x":477.6999816894531,"y":230.8833348751068,"z":"7d7da29a.2b7398","wires":[["13d8bcd3.33755f"]]},{"id":"750a91a2.96947","type":"service-logic","name":"APPC 2.0.1","module":"APPC","version":"2.0.1","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.1'>","outputs":1,"x":268.6999816894531,"y":308.8833348751068,"z":"7d7da29a.2b7398","wires":[["d048ba2a.84e2f8"]]},{"id":"53079a4f.559f84","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$org.openecomp.appc.adapter.ansible.message`' />\n<parameter name='output.status.results' value='`$org.openecomp.appc.adapter.ansible.results`' />\n","comments":"","x":1218.6999816894531,"y":669.8833348751068,"z":"7d7da29a.2b7398","wires":[]},{"id":"13d8bcd3.33755f","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.adapter.ansible.AnsibleAdapter' method='reqExec' >\n<parameter name='AgentUrl' value='`$AgentUrl`'/>\n <parameter name='User' value='`$User`'/>\n <parameter name='Password' value='`$Password`'/>\n <parameter name='LocalParameters' value='`$LocalParameters`'/>\n <parameter name='EnvParameters' value='`$EnvParameters`'/>\n <parameter name='NodeList' value='`$NodeList`'/>\n <parameter name='Timeout' value='`$Timeout`'/>\n <parameter name='Version' value='`$Version`'/>\n <parameter name='PlaybookName' value='`$PlaybookName`'/>\n","comments":"","outputs":1,"x":682.6999816894531,"y":228.8833348751068,"z":"7d7da29a.2b7398","wires":[["237110e5.33ae38","fe1ba4a5.cd6b68"]]},{"id":"30b13fff.531b44","type":"switchNode","name":"switch","xml":"<switch test=\"`$org.openecomp.appc.adapter.ansible.result.code`\">\n","comments":"","outputs":1,"x":472.6999816894531,"y":389.8833348751068,"z":"7d7da29a.2b7398","wires":[["f58c4f93.2bcb6","66fbd51d.685a14","c8a28d7.c69dd3"]]},{"id":"f58c4f93.2bcb6","type":"other","name":"outcome","xml":"<outcome value='500'>\n","comments":"","outputs":1,"x":659.6999816894531,"y":389.8833348751068,"z":"7d7da29a.2b7398","wires":[["53079a4f.559f84"]]},{"id":"66fbd51d.685a14","type":"other","name":"outcome","xml":"<outcome value='100'>\n","comments":"","outputs":1,"x":296.6999816894531,"y":477.8833348751068,"z":"7d7da29a.2b7398","wires":[["daab3eeb.acc3e8"]]},{"id":"daab3eeb.acc3e8","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.adapter.ansible.AnsibleAdapter' method='reqExecResult' >\n <parameter name='message' value='`$org.openecomp.appc.adapter.ansible.message`'/>\n <parameter name='code' value='$org.openecomp.appc.adapter.ansible.result.code`'/>\n <parameter name='AgentUrl' value='`$AgentUrl`'/>\n <parameter name='User' value='`$User`'/>\n <parameter name='Password' value='`$Password`'/>\n <parameter name='Id' value='`$org.openecomp.appc.adapter.ansible.Id`'/>\n","comments":"","outputs":1,"x":474.6999816894531,"y":476.8833348751068,"z":"7d7da29a.2b7398","wires":[["415101d2.f995cc","98312eaf.163de8"]]},{"id":"237110e5.33ae38","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":936.6999816894531,"y":229.8833348751068,"z":"7d7da29a.2b7398","wires":[["53079a4f.559f84"]]},{"id":"fe1ba4a5.cd6b68","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":295.6999816894531,"y":390.8833348751068,"z":"7d7da29a.2b7398","wires":[["30b13fff.531b44"]]},{"id":"415101d2.f995cc","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":664.6999816894531,"y":477.8833348751068,"z":"7d7da29a.2b7398","wires":[["53079a4f.559f84"]]},{"id":"c8a28d7.c69dd3","type":"other","name":"outcome","xml":"<outcome value='101'>\n","comments":"","outputs":1,"x":283.6999816894531,"y":670.8833348751068,"z":"7d7da29a.2b7398","wires":[["53079a4f.559f84"]]},{"id":"98312eaf.163de8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":662.6999816894531,"y":546.8833348751068,"z":"7d7da29a.2b7398","wires":[["2c831d15.81b10a"]]},{"id":"2c831d15.81b10a","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='output.status.code' value='`$org.openecomp.appc.adapter.ansible.result.code`' />\n<parameter name='output.status.message' value='`$org.openecomp.appc.adapter.ansible.message`'/>\n<parameter name='output.status.results' value = '`$org.openecomp.appc.adapter.ansible.results`'/>\n","comments":"","x":814.6999816894531,"y":621.8833348751068,"z":"7d7da29a.2b7398","wires":[]},{"id":"f6dd55b0.6ce568","type":"dgstart","name":"DGSTART","outputs":1,"x":246.69998168945312,"y":208.8833348751068,"z":"7d7da29a.2b7398","wires":[["750a91a2.96947"]]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_chef.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_chef.json
index 6c2d690db..975269c80 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_chef.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_chef.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"140af023.c01a74","type":"set","name":"chef server set","xml":"<set>\n<parameter name='chef-server-address' value='`$chef-server-address`' />\n<parameter name='chef-username' value='`$chef-username`' />\n<parameter name='chef-organization' value='`$chef-organization`'/>\n","comments":"","x":365.45452880859375,"y":189.45455932617187,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"2b2e3f8.1e4be4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":180,"y":435.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["435fc781.218d3","4721f95d.96aacc"]]},{"id":"435fc781.218d3","type":"execute","name":"Environment","xml":"<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='VnfcEnvironment' >\n<parameter name='organizations' value='`$chef-organization`'/> \n<parameter name='serverAddress' value='`$chef-server-address`'/> \n<parameter name='username' value='`$chef-username`'/> \n<parameter name='Environment' value='`$Environment`'/>","comments":"","outputs":1,"x":371.3636474609375,"y":361.27272033691406,"z":"d01d9ed1.ef0e3","wires":[[]]},{"id":"5557f4f3.12a834","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":778.3636322021484,"y":359.7272529602051,"z":"d01d9ed1.ef0e3","wires":[["bfed75ec.2b8ab8","7b9b653d.d895bc"]]},{"id":"bfed75ec.2b8ab8","type":"execute","name":"VnfcNodeobjects","xml":"<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='VnfcNodeobjects' >\n<parameter name='organizations' value='`$chef-organization`'/> \n<parameter name='serverAddress' value='`$chef-server-address`'/> \n<parameter name='username' value='`$chef-username`'/> \n<parameter name='NodeList' value='`$NodeList`'/>\n<parameter name='Node' value='`$Node`'/>","comments":"","outputs":1,"x":1011.54541015625,"y":317.99999618530273,"z":"d01d9ed1.ef0e3","wires":[[]]},{"id":"7b9b653d.d895bc","type":"switchNode","name":"switch","xml":"<switch test='`$chefServerResult.code`'>","comments":"","outputs":1,"x":1024.54541015625,"y":421.99999618530273,"z":"d01d9ed1.ef0e3","wires":[["bba9eac6.8963","5201322b.f4fb04"]]},{"id":"5201322b.f4fb04","type":"other","name":"outcome","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":1212.54541015625,"y":404.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["f4945dcf.a990c"]]},{"id":"bba9eac6.8963","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1122.54541015625,"y":537.9999961853027,"z":"d01d9ed1.ef0e3","wires":[["55c99e5b.134484"]]},{"id":"e39566b4.a3d428","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1642.636474609375,"y":150.09090423583984,"z":"d01d9ed1.ef0e3","wires":[["869b2999.23ad9","de7cd48.8c432a8"]]},{"id":"89f57d06.98e65","type":"execute","name":"checkPushJob","xml":"<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='checkPushJob' >\n\t<parameter name='organizations' value='`$chef-organization`'/> \n\t<parameter name='serverAddress' value='`$chef-server-address`'/> \n\t<parameter name='username' value='`$chef-username`'/> \n\t<parameter name='jobid' value='`$jobID`'/>\n\t<parameter name='retryTimes' value='`$retryTimes`'/>\n\t<parameter name='retryInterval' value='`$retryInterval`'/>","comments":"","outputs":1,"x":2304.908920288086,"y":680.9999189376831,"z":"d01d9ed1.ef0e3","wires":[[]]},{"id":"7e919e85.903df","type":"other","name":"outcome","xml":"<outcome value='201'>\n","comments":"","outputs":1,"x":1839.5453491210937,"y":532.1817626953125,"z":"d01d9ed1.ef0e3","wires":[["c405481b.6960d8"]]},{"id":"bc2f0cc3.e72f4","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1842.6362609863281,"y":377.9090385437012,"z":"d01d9ed1.ef0e3","wires":[["e59aab7c.9268a8"]]},{"id":"de7cd48.8c432a8","type":"switchNode","name":"switch","xml":"<switch test='`$chefServerResult.code`'>\n","comments":"","outputs":1,"x":1681.8181495666504,"y":437.54541778564453,"z":"d01d9ed1.ef0e3","wires":[["7e919e85.903df","bc2f0cc3.e72f4"]]},{"id":"869b2999.23ad9","type":"execute","name":"pushJob","xml":"<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='VnfcPushJob'>\n\t<parameter name='organizations' value='`$chef-organization`'/> \n\t<parameter name='serverAddress' value='`$chef-server-address`'/> \n\t<parameter name='username' value='`$chef-username`'/> \n\t<parameter name='NodeList' value='`$NodeList`'/>\n\t<parameter name='CallbackCapable' value='`$CallbackCapable`'/>\n\t<parameter name='RequestId' value='`$RequestId`'/>\n\t<parameter name='CallbackUrl' value='`$CallbackUrl`'/>","comments":"","outputs":1,"x":1823.727294921875,"y":132.63634490966797,"z":"d01d9ed1.ef0e3","wires":[[]]},{"id":"a34166a1.34cb58","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":524,"y":539.9999923706055,"z":"d01d9ed1.ef0e3","wires":[["e58c4075.ed393"]]},{"id":"2e7b281e.16947","type":"other","name":"outcome","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":539,"y":390.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["5557f4f3.12a834"]]},{"id":"4721f95d.96aacc","type":"switchNode","name":"switch","xml":"<switch test='`$chefServerResult.code`'>","comments":"","outputs":1,"x":341.81817626953125,"y":585.5454635620117,"z":"d01d9ed1.ef0e3","wires":[["a34166a1.34cb58","2e7b281e.16947","c922487b.69f3f8"]]},{"id":"55c99e5b.134484","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n","comments":"","x":1296.54541015625,"y":543.9999961853027,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"e58c4075.ed393","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n","comments":"","x":748,"y":548.9999923706055,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"c922487b.69f3f8","type":"other","name":"outcome","xml":"<outcome value='201'>\n","comments":"","outputs":1,"x":539.9090576171875,"y":460.27269744873047,"z":"d01d9ed1.ef0e3","wires":[["5557f4f3.12a834"]]},{"id":"c891e16f.0bcab","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":55,"y":288.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["140af023.c01a74","2b2e3f8.1e4be4","2e05211e.aedffa"]]},{"id":"e59aab7c.9268a8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n","comments":"","x":2045,"y":376.99999237060547,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"c405481b.6960d8","type":"switchNode","name":"switch","xml":"<switch test='`$CallbackCapable`'>\n","comments":"","outputs":1,"x":1915,"y":638.9999923706055,"z":"d01d9ed1.ef0e3","wires":[["ed08562b.daacc8","b2d207f7.541de8"]]},{"id":"b2d207f7.541de8","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2076,"y":691.9999923706055,"z":"d01d9ed1.ef0e3","wires":[["31229535.42d75e"]]},{"id":"ed08562b.daacc8","type":"outcomeTrue","name":"outcome","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2079.0909118652344,"y":537.7272682189941,"z":"d01d9ed1.ef0e3","wires":[["32d473d9.6462a4"]]},{"id":"32d473d9.6462a4","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='output.status.code' value='400' />\n<parameter name='output.status.message' value='chef success, waiting for callback' />","comments":"","x":2262,"y":538.9999923706055,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"9ca9daea.6acd88","type":"other","name":"outcome","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":2413,"y":935.9999923706055,"z":"d01d9ed1.ef0e3","wires":[["4eef569.fb26f68"]]},{"id":"c6d62c0a.3f9b9","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2416.0909118652344,"y":781.7272682189941,"z":"d01d9ed1.ef0e3","wires":[["ca8973b0.029ee"]]},{"id":"e96f044b.63d178","type":"switchNode","name":"switch","xml":"<switch test='`$chefServerResult.code`'>\n","comments":"","outputs":1,"x":2255.2728004455566,"y":841.3636474609375,"z":"d01d9ed1.ef0e3","wires":[["9ca9daea.6acd88","c6d62c0a.3f9b9"]]},{"id":"ca8973b0.029ee","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />","comments":"","x":2635.363525390625,"y":732.9999923706055,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"87c5419b.6dab8","type":"execute","name":"fetchResults","xml":"<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='fetchResults' >\n\t<parameter name='organizations' value='`$chef-organization`'/> \n\t<parameter name='serverAddress' value='`$chef-server-address`'/> \n\t<parameter name='username' value='`$chef-username`'/> \n\t<parameter name='NodeList' value='`$NodeList`'/>","comments":"","outputs":1,"x":2940.181640625,"y":1173.1818771362304,"z":"d01d9ed1.ef0e3","wires":[[]]},{"id":"31229535.42d75e","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2078.9999999999995,"y":794.9999923706052,"z":"d01d9ed1.ef0e3","wires":[["89f57d06.98e65","e96f044b.63d178"]]},{"id":"a02c4706.79bfd","type":"switchNode","name":"switch","xml":"<switch test='`$chefServerResult.code`'>\n","comments":"","outputs":1,"x":2927.0000000000004,"y":1316.9999923706057,"z":"d01d9ed1.ef0e3","wires":[["1aaf2aa6.4b2ed5","5442d73e.8a3dbc"]]},{"id":"5442d73e.8a3dbc","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":3200.0909156799316,"y":1434.0000219345095,"z":"d01d9ed1.ef0e3","wires":[["cd3ecae3.6d4fe"]]},{"id":"1aaf2aa6.4b2ed5","type":"other","name":"outcome","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":3201.181884765625,"y":1281.7272872924807,"z":"d01d9ed1.ef0e3","wires":[["af3c7cd7.ce071"]]},{"id":"af3c7cd7.ce071","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='output.status.code' value='400' />\n<parameter name='output.status.message' value='finish' />\n<parameter name='output.status.results' value='`$chefServerResult.message`' />","comments":"","x":3429.36376953125,"y":1282.4545822143557,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"cd3ecae3.6d4fe","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n","comments":"","x":3435.181884765625,"y":1442.727165222168,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"adaf20bf.bee18","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2777,"y":1236.9999923706054,"z":"d01d9ed1.ef0e3","wires":[["87c5419b.6dab8","a02c4706.79bfd"]]},{"id":"4eef569.fb26f68","type":"switchNode","name":"switch","xml":"<switch test='`$GetOutputFlag`'>\n","comments":"","outputs":1,"x":2581,"y":1014.9999923706055,"z":"d01d9ed1.ef0e3","wires":[["dc3b0064.30c57","549d03c6.e67ec4"]]},{"id":"549d03c6.e67ec4","type":"outcomeTrue","name":"outcome","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2780.0909156799316,"y":1072.0000219345092,"z":"d01d9ed1.ef0e3","wires":[["adaf20bf.bee18"]]},{"id":"dc3b0064.30c57","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2783.181827545166,"y":917.727297782898,"z":"d01d9ed1.ef0e3","wires":[["860f1f7c.8abfe"]]},{"id":"860f1f7c.8abfe","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='output.status.code' value='400' />\n<parameter name='output.status.message' value='`$chefServerResult.message`' />","comments":"","x":2967.36376953125,"y":920.4545211791992,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"818dcbdc.5b35d8","type":"dgstart","name":"DGSTART","outputs":1,"x":110,"y":31.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["2bdc7277.2d4bae"]]},{"id":"2a671177.11d28e","type":"method","name":"chef","xml":"<method rpc='chef' mode='sync'>\n","comments":"","outputs":1,"x":88,"y":192.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["c891e16f.0bcab"]]},{"id":"f4945dcf.a990c","type":"switchNode","name":"switch","xml":"<switch test='`$PushJobFlag`'>\n","comments":"","outputs":1,"x":1318,"y":241.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["45a18d9c.fae008","34db35c3.1ebd66"]]},{"id":"34db35c3.1ebd66","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1438,"y":298.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["638a8115.b9ed04"]]},{"id":"45a18d9c.fae008","type":"outcomeTrue","name":"outcome","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1441.0909118652343,"y":144.72726821899414,"z":"d01d9ed1.ef0e3","wires":[["e39566b4.a3d428"]]},{"id":"638a8115.b9ed04","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='output.status.code' value='400' />\n<parameter name='output.status.message' value='chef success, do not need push job ' />","comments":"","x":1480,"y":418.99999237060547,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"2bdc7277.2d4bae","type":"service-logic","name":"APPC 3.0.0","module":"APPC","version":"3.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='3.0.0'>","outputs":1,"x":108.45452117919922,"y":113.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["2a671177.11d28e"]]},{"id":"2e05211e.aedffa","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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":298.00000762939453,"y":280.5713939666748,"z":"d01d9ed1.ef0e3","wires":[[]]}]
+[{"id":"140af023.c01a74","type":"set","name":"chef server set","xml":"<set>\n<parameter name='chef-server-address' value='`$chef-server-address`' />\n<parameter name='chef-username' value='`$chef-username`' />\n<parameter name='chef-organization' value='`$chef-organization`'/>\n","comments":"","x":365.45452880859375,"y":189.45455932617187,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"2b2e3f8.1e4be4","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":180,"y":435.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["435fc781.218d3","4721f95d.96aacc"]]},{"id":"435fc781.218d3","type":"execute","name":"Environment","xml":"<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='VnfcEnvironment' >\n<parameter name='organizations' value='`$chef-organization`'/> \n<parameter name='serverAddress' value='`$chef-server-address`'/> \n<parameter name='username' value='`$chef-username`'/> \n<parameter name='Environment' value='`$Environment`'/>","comments":"","outputs":1,"x":371.3636474609375,"y":361.27272033691406,"z":"d01d9ed1.ef0e3","wires":[[]]},{"id":"5557f4f3.12a834","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":778.3636322021484,"y":359.7272529602051,"z":"d01d9ed1.ef0e3","wires":[["bfed75ec.2b8ab8","7b9b653d.d895bc"]]},{"id":"bfed75ec.2b8ab8","type":"execute","name":"VnfcNodeobjects","xml":"<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='VnfcNodeobjects' >\n<parameter name='organizations' value='`$chef-organization`'/> \n<parameter name='serverAddress' value='`$chef-server-address`'/> \n<parameter name='username' value='`$chef-username`'/> \n<parameter name='NodeList' value='`$NodeList`'/>\n<parameter name='Node' value='`$Node`'/>","comments":"","outputs":1,"x":1011.54541015625,"y":317.99999618530273,"z":"d01d9ed1.ef0e3","wires":[[]]},{"id":"7b9b653d.d895bc","type":"switchNode","name":"switch","xml":"<switch test='`$chefServerResult.code`'>","comments":"","outputs":1,"x":1024.54541015625,"y":421.99999618530273,"z":"d01d9ed1.ef0e3","wires":[["bba9eac6.8963","5201322b.f4fb04"]]},{"id":"5201322b.f4fb04","type":"other","name":"outcome","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":1212.54541015625,"y":404.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["f4945dcf.a990c"]]},{"id":"bba9eac6.8963","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1122.54541015625,"y":537.9999961853027,"z":"d01d9ed1.ef0e3","wires":[["55c99e5b.134484"]]},{"id":"e39566b4.a3d428","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1642.636474609375,"y":150.09090423583984,"z":"d01d9ed1.ef0e3","wires":[["869b2999.23ad9","de7cd48.8c432a8"]]},{"id":"89f57d06.98e65","type":"execute","name":"checkPushJob","xml":"<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='checkPushJob' >\n\t<parameter name='organizations' value='`$chef-organization`'/> \n\t<parameter name='serverAddress' value='`$chef-server-address`'/> \n\t<parameter name='username' value='`$chef-username`'/> \n\t<parameter name='jobid' value='`$jobID`'/>\n\t<parameter name='retryTimes' value='`$retryTimes`'/>\n\t<parameter name='retryInterval' value='`$retryInterval`'/>","comments":"","outputs":1,"x":2304.908920288086,"y":680.9999189376831,"z":"d01d9ed1.ef0e3","wires":[[]]},{"id":"7e919e85.903df","type":"other","name":"outcome","xml":"<outcome value='201'>\n","comments":"","outputs":1,"x":1839.5453491210937,"y":532.1817626953125,"z":"d01d9ed1.ef0e3","wires":[["c405481b.6960d8"]]},{"id":"bc2f0cc3.e72f4","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1842.6362609863281,"y":377.9090385437012,"z":"d01d9ed1.ef0e3","wires":[["e59aab7c.9268a8"]]},{"id":"de7cd48.8c432a8","type":"switchNode","name":"switch","xml":"<switch test='`$chefServerResult.code`'>\n","comments":"","outputs":1,"x":1681.8181495666504,"y":437.54541778564453,"z":"d01d9ed1.ef0e3","wires":[["7e919e85.903df","bc2f0cc3.e72f4"]]},{"id":"869b2999.23ad9","type":"execute","name":"pushJob","xml":"<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='VnfcPushJob'>\n\t<parameter name='organizations' value='`$chef-organization`'/> \n\t<parameter name='serverAddress' value='`$chef-server-address`'/> \n\t<parameter name='username' value='`$chef-username`'/> \n\t<parameter name='NodeList' value='`$NodeList`'/>\n\t<parameter name='CallbackCapable' value='`$CallbackCapable`'/>\n\t<parameter name='RequestId' value='`$RequestId`'/>\n\t<parameter name='CallbackUrl' value='`$CallbackUrl`'/>","comments":"","outputs":1,"x":1823.727294921875,"y":132.63634490966797,"z":"d01d9ed1.ef0e3","wires":[[]]},{"id":"a34166a1.34cb58","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":524,"y":539.9999923706055,"z":"d01d9ed1.ef0e3","wires":[["e58c4075.ed393"]]},{"id":"2e7b281e.16947","type":"other","name":"outcome","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":539,"y":390.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["5557f4f3.12a834"]]},{"id":"4721f95d.96aacc","type":"switchNode","name":"switch","xml":"<switch test='`$chefServerResult.code`'>","comments":"","outputs":1,"x":341.81817626953125,"y":585.5454635620117,"z":"d01d9ed1.ef0e3","wires":[["a34166a1.34cb58","2e7b281e.16947","c922487b.69f3f8"]]},{"id":"55c99e5b.134484","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n","comments":"","x":1296.54541015625,"y":543.9999961853027,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"e58c4075.ed393","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n","comments":"","x":748,"y":548.9999923706055,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"c922487b.69f3f8","type":"other","name":"outcome","xml":"<outcome value='201'>\n","comments":"","outputs":1,"x":539.9090576171875,"y":460.27269744873047,"z":"d01d9ed1.ef0e3","wires":[["5557f4f3.12a834"]]},{"id":"c891e16f.0bcab","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":55,"y":288.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["140af023.c01a74","2b2e3f8.1e4be4","2e05211e.aedffa"]]},{"id":"e59aab7c.9268a8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n","comments":"","x":2045,"y":376.99999237060547,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"c405481b.6960d8","type":"switchNode","name":"switch","xml":"<switch test='`$CallbackCapable`'>\n","comments":"","outputs":1,"x":1915,"y":638.9999923706055,"z":"d01d9ed1.ef0e3","wires":[["ed08562b.daacc8","b2d207f7.541de8"]]},{"id":"b2d207f7.541de8","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2076,"y":691.9999923706055,"z":"d01d9ed1.ef0e3","wires":[["31229535.42d75e"]]},{"id":"ed08562b.daacc8","type":"outcomeTrue","name":"outcome","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2079.0909118652344,"y":537.7272682189941,"z":"d01d9ed1.ef0e3","wires":[["32d473d9.6462a4"]]},{"id":"32d473d9.6462a4","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='output.status.code' value='400' />\n<parameter name='output.status.message' value='chef success, waiting for callback' />","comments":"","x":2262,"y":538.9999923706055,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"9ca9daea.6acd88","type":"other","name":"outcome","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":2413,"y":935.9999923706055,"z":"d01d9ed1.ef0e3","wires":[["4eef569.fb26f68"]]},{"id":"c6d62c0a.3f9b9","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2416.0909118652344,"y":781.7272682189941,"z":"d01d9ed1.ef0e3","wires":[["ca8973b0.029ee"]]},{"id":"e96f044b.63d178","type":"switchNode","name":"switch","xml":"<switch test='`$chefServerResult.code`'>\n","comments":"","outputs":1,"x":2255.2728004455566,"y":841.3636474609375,"z":"d01d9ed1.ef0e3","wires":[["9ca9daea.6acd88","c6d62c0a.3f9b9"]]},{"id":"ca8973b0.029ee","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />","comments":"","x":2635.363525390625,"y":732.9999923706055,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"87c5419b.6dab8","type":"execute","name":"fetchResults","xml":"<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='fetchResults' >\n\t<parameter name='organizations' value='`$chef-organization`'/> \n\t<parameter name='serverAddress' value='`$chef-server-address`'/> \n\t<parameter name='username' value='`$chef-username`'/> \n\t<parameter name='NodeList' value='`$NodeList`'/>","comments":"","outputs":1,"x":2940.181640625,"y":1173.1818771362304,"z":"d01d9ed1.ef0e3","wires":[[]]},{"id":"31229535.42d75e","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2078.9999999999995,"y":794.9999923706052,"z":"d01d9ed1.ef0e3","wires":[["89f57d06.98e65","e96f044b.63d178"]]},{"id":"a02c4706.79bfd","type":"switchNode","name":"switch","xml":"<switch test='`$chefServerResult.code`'>\n","comments":"","outputs":1,"x":2927.0000000000004,"y":1316.9999923706057,"z":"d01d9ed1.ef0e3","wires":[["1aaf2aa6.4b2ed5","5442d73e.8a3dbc"]]},{"id":"5442d73e.8a3dbc","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":3200.0909156799316,"y":1434.0000219345095,"z":"d01d9ed1.ef0e3","wires":[["cd3ecae3.6d4fe"]]},{"id":"1aaf2aa6.4b2ed5","type":"other","name":"outcome","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":3201.181884765625,"y":1281.7272872924807,"z":"d01d9ed1.ef0e3","wires":[["af3c7cd7.ce071"]]},{"id":"af3c7cd7.ce071","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='output.status.code' value='400' />\n<parameter name='output.status.message' value='finish' />\n<parameter name='output.status.results' value='`$chefServerResult.message`' />","comments":"","x":3429.36376953125,"y":1282.4545822143557,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"cd3ecae3.6d4fe","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='`$chefServerResult.message`' />\n","comments":"","x":3435.181884765625,"y":1442.727165222168,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"adaf20bf.bee18","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":2777,"y":1236.9999923706054,"z":"d01d9ed1.ef0e3","wires":[["87c5419b.6dab8","a02c4706.79bfd"]]},{"id":"4eef569.fb26f68","type":"switchNode","name":"switch","xml":"<switch test='`$GetOutputFlag`'>\n","comments":"","outputs":1,"x":2581,"y":1014.9999923706055,"z":"d01d9ed1.ef0e3","wires":[["dc3b0064.30c57","549d03c6.e67ec4"]]},{"id":"549d03c6.e67ec4","type":"outcomeTrue","name":"outcome","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":2780.0909156799316,"y":1072.0000219345092,"z":"d01d9ed1.ef0e3","wires":[["adaf20bf.bee18"]]},{"id":"dc3b0064.30c57","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2783.181827545166,"y":917.727297782898,"z":"d01d9ed1.ef0e3","wires":[["860f1f7c.8abfe"]]},{"id":"860f1f7c.8abfe","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='output.status.code' value='400' />\n<parameter name='output.status.message' value='`$chefServerResult.message`' />","comments":"","x":2967.36376953125,"y":920.4545211791992,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"818dcbdc.5b35d8","type":"dgstart","name":"DGSTART","outputs":1,"x":110,"y":31.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["2bdc7277.2d4bae"]]},{"id":"2a671177.11d28e","type":"method","name":"chef","xml":"<method rpc='chef' mode='sync'>\n","comments":"","outputs":1,"x":88,"y":192.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["c891e16f.0bcab"]]},{"id":"f4945dcf.a990c","type":"switchNode","name":"switch","xml":"<switch test='`$PushJobFlag`'>\n","comments":"","outputs":1,"x":1318,"y":241.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["45a18d9c.fae008","34db35c3.1ebd66"]]},{"id":"34db35c3.1ebd66","type":"other","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1438,"y":298.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["638a8115.b9ed04"]]},{"id":"45a18d9c.fae008","type":"outcomeTrue","name":"outcome","xml":"<outcome value='true'>\n","comments":"","outputs":1,"x":1441.0909118652343,"y":144.72726821899414,"z":"d01d9ed1.ef0e3","wires":[["e39566b4.a3d428"]]},{"id":"638a8115.b9ed04","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='output.status.code' value='400' />\n<parameter name='output.status.message' value='chef success, do not need push job ' />","comments":"","x":1480,"y":418.99999237060547,"z":"d01d9ed1.ef0e3","wires":[]},{"id":"2bdc7277.2d4bae","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":108.45452117919922,"y":113.99999237060547,"z":"d01d9ed1.ef0e3","wires":[["2a671177.11d28e"]]},{"id":"2e05211e.aedffa","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":298.00000762939453,"y":280.5713939666748,"z":"d01d9ed1.ef0e3","wires":[[]]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_healthcheck.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_healthcheck.json
index d04a86f92..f75bbfad8 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_healthcheck.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_healthcheck.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"eb339652.aa1bb","type":"dgstart","name":"DGSTART","outputs":1,"x":361.8833312988281,"y":294.5666790008545,"z":"8fbf021e.b75288","wires":[["6a6b9cbd.5c5064"]]},{"id":"6a6b9cbd.5c5064","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":520.8833312988281,"y":290.5666790008545,"z":"8fbf021e.b75288","wires":[["ad9ed23f.8f9c68"]]},{"id":"ad9ed23f.8f9c68","type":"method","name":"method healthcheck","xml":"<method rpc='healthcheck' mode='sync'>\n","comments":"","outputs":1,"x":725.8833389282227,"y":289.5666809082031,"z":"8fbf021e.b75288","wires":[["23912012.6a432"]]},{"id":"23912012.6a432","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":385.8833312988281,"y":398.5666790008545,"z":"8fbf021e.b75288","wires":[["96f48524.be9e1","d37d976d.cb8ed"]]},{"id":"96f48524.be9e1","type":"execute","name":"execute get and executeFlowSequence","xml":"<execute plugin=\"org.openecomp.appc.flow.controller.node.RestServiceNode\" method=\"sendRequest\">\n<parameter name=\"responsePrefix\" value=\"APPC.healthcheck\" />\n\n","comments":"","outputs":1,"x":438.8832702636719,"y":497.01111030578613,"z":"8fbf021e.b75288","wires":[["6be528f6.12212","d4a71709.a43268","c328bc28.cc53f"]]},{"id":"6be528f6.12212","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":737.994457244873,"y":469.34446811676025,"z":"8fbf021e.b75288","wires":[["248dee55.40e1d2"]]},{"id":"248dee55.40e1d2","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":891.4388961791992,"y":456.5666694641113,"z":"8fbf021e.b75288","wires":[["31d502fd.89de4e"]]},{"id":"31d502fd.89de4e","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to find Execute Node DG sendRequest\" />\n\n\n\t","comments":"","x":1059.9667205810547,"y":443.9000587463379,"z":"8fbf021e.b75288","wires":[]},{"id":"d4a71709.a43268","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":739.6610946655273,"y":514.1222286224365,"z":"8fbf021e.b75288","wires":[["1d2f2a87.475dc5"]]},{"id":"1d2f2a87.475dc5","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":891.2166862487793,"y":507.34448051452637,"z":"8fbf021e.b75288","wires":[["bc79231c.35d1f"]]},{"id":"bc79231c.35d1f","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$APPC.healthcheck.error-message`\" />\n\n\n\t","comments":"","x":1053.2723236083984,"y":500.5111427307129,"z":"8fbf021e.b75288","wires":[]},{"id":"d37d976d.cb8ed","type":"set","name":"set Context params","xml":"<set>\n<parameter name='vnf-id' value='`$input.action-identifiers.vnf-id`' /> \n<parameter name='service-instance-id' value='`$input.action-identifiers.service-instance-id`' /> \n\n<parameter name='request-id' value='`$input.common-header.request-id`' />\n\n<parameter name='originator-id' value='`$input.common-header.originator-id`' /> \n\n<!-- Not required in Get request<parameter name='payload' value='`$input.payload`' /> -->\n\n<parameter name='request-action-type' value= 'GET' /> \n\n\n\n","comments":"","x":1149.0261611938477,"y":373.67383003234863,"z":"8fbf021e.b75288","wires":[]},{"id":"c328bc28.cc53f","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":749.9944763183594,"y":571.9000425338745,"z":"8fbf021e.b75288","wires":[["a4c92174.a2ada8"]]},{"id":"a4c92174.a2ada8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":931.3277626037598,"y":570.2333450317383,"z":"8fbf021e.b75288","wires":[["f6918f40.5299c"]]},{"id":"f6918f40.5299c","type":"set","name":"set payloadResponse","xml":"<set>\n<parameter name='output.payload' value='`$APPC.healthcheck.status-message`' /> \n\n\n\n\n","comments":"","x":1175.8833465576172,"y":561.3166847229004,"z":"8fbf021e.b75288","wires":[]}]
+[{"id":"eb339652.aa1bb","type":"dgstart","name":"DGSTART","outputs":1,"x":361.8833312988281,"y":294.5666790008545,"z":"8fbf021e.b75288","wires":[["6a6b9cbd.5c5064"]]},{"id":"6a6b9cbd.5c5064","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":520.8833312988281,"y":290.5666790008545,"z":"8fbf021e.b75288","wires":[["ad9ed23f.8f9c68"]]},{"id":"ad9ed23f.8f9c68","type":"method","name":"method healthcheck","xml":"<method rpc='healthcheck' mode='sync'>\n","comments":"","outputs":1,"x":725.8833389282227,"y":289.5666809082031,"z":"8fbf021e.b75288","wires":[["23912012.6a432"]]},{"id":"23912012.6a432","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":385.8833312988281,"y":398.5666790008545,"z":"8fbf021e.b75288","wires":[["96f48524.be9e1","d37d976d.cb8ed"]]},{"id":"96f48524.be9e1","type":"execute","name":"execute get and executeFlowSequence","xml":"<execute plugin=\"org.openecomp.appc.flow.controller.node.RestServiceNode\" method=\"sendRequest\">\n<parameter name=\"responsePrefix\" value=\"APPC.healthcheck\" />\n\n","comments":"","outputs":1,"x":438.8832702636719,"y":497.01111030578613,"z":"8fbf021e.b75288","wires":[["6be528f6.12212","d4a71709.a43268","c328bc28.cc53f"]]},{"id":"6be528f6.12212","type":"failure","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":737.994457244873,"y":469.34446811676025,"z":"8fbf021e.b75288","wires":[["248dee55.40e1d2"]]},{"id":"248dee55.40e1d2","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":891.4388961791992,"y":456.5666694641113,"z":"8fbf021e.b75288","wires":[["31d502fd.89de4e"]]},{"id":"31d502fd.89de4e","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to find Execute Node DG sendRequest\" />\n\n\n\t","comments":"","x":1059.9667205810547,"y":443.9000587463379,"z":"8fbf021e.b75288","wires":[]},{"id":"d4a71709.a43268","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":739.6610946655273,"y":514.1222286224365,"z":"8fbf021e.b75288","wires":[["1d2f2a87.475dc5"]]},{"id":"1d2f2a87.475dc5","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":891.2166862487793,"y":507.34448051452637,"z":"8fbf021e.b75288","wires":[["bc79231c.35d1f"]]},{"id":"bc79231c.35d1f","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$APPC.healthcheck.error-message`\" />\n\n\n\t","comments":"","x":1053.2723236083984,"y":500.5111427307129,"z":"8fbf021e.b75288","wires":[]},{"id":"d37d976d.cb8ed","type":"set","name":"set Context params","xml":"<set>\n<parameter name='vnf-id' value='`$input.action-identifiers.vnf-id`' /> \n<parameter name='service-instance-id' value='`$input.action-identifiers.service-instance-id`' /> \n\n<parameter name='request-id' value='`$input.common-header.request-id`' />\n\n<parameter name='originator-id' value='`$input.common-header.originator-id`' /> \n\n<!-- Not required in Get request<parameter name='payload' value='`$input.payload`' /> -->\n\n<parameter name='request-action-type' value= 'GET' /> \n\n\n\n","comments":"","x":1149.0261611938477,"y":373.67383003234863,"z":"8fbf021e.b75288","wires":[]},{"id":"c328bc28.cc53f","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":749.9944763183594,"y":571.9000425338745,"z":"8fbf021e.b75288","wires":[["a4c92174.a2ada8"]]},{"id":"a4c92174.a2ada8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":931.3277626037598,"y":570.2333450317383,"z":"8fbf021e.b75288","wires":[["f6918f40.5299c"]]},{"id":"f6918f40.5299c","type":"set","name":"set payloadResponse","xml":"<set>\n<parameter name='output.payload' value='`$APPC.healthcheck.status-message`' /> \n\n\n\n\n","comments":"","x":1175.8833465576172,"y":561.3166847229004,"z":"8fbf021e.b75288","wires":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_DownloadvIRCChefConfig_4.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_DownloadvIRCChefConfig_4.0.0.json
index 866294529..3faa7139f 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_DownloadvIRCChefConfig_4.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_DownloadvIRCChefConfig_4.0.0.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"7429c878.5abe38","type":"dgstart","name":"DGSTART","outputs":1,"x":136,"y":73,"z":"f809d11d.5015c","wires":[["2a4f05d6.88a89a"]]},{"id":"2a4f05d6.88a89a","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":125,"y":141,"z":"f809d11d.5015c","wires":[["aa94c1db.ebfc"]]},{"id":"aa94c1db.ebfc","type":"method","name":"method","xml":"<method rpc='DownloadvIRCChefConfig' mode='sync'>\n","comments":"","outputs":1,"x":124,"y":216,"z":"f809d11d.5015c","wires":[["ea7c5ec6.16476"]]},{"id":"ea7c5ec6.16476","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":113,"y":315,"z":"f809d11d.5015c","wires":[["d3e04c9b.c07be","d1b241f6.8c179","9c35834d.a01fa","da9b7cd9.09d6f","bf9d85fc.805698"]]},{"id":"d3e04c9b.c07be","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='retrieveData'>\n <parameter name='org.openecomp.appc.instance.dgContext' value='environment-name'/>\n <parameter name='org.openecomp.appc.instance.allConfig' value='`$virc-environment`'/>\n <parameter name='org.openecomp.appc.instance.key' value='name'/>\n","comments":"","outputs":1,"x":409,"y":126,"z":"f809d11d.5015c","wires":[[]]},{"id":"d1b241f6.8c179","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='combineStrings' >\n <parameter name='org.openecomp.appc.instance.dgContext' value='chef-action'/>\n <parameter name='org.openecomp.appc.instance.String1' value='/environments/'/>\n <parameter name='org.openecomp.appc.instance.String2' value='`$environment-name`'/>","comments":"","outputs":1,"x":399,"y":183,"z":"f809d11d.5015c","wires":[[]]},{"id":"9c35834d.a01fa","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='chefPut' >\n<parameter name='org.openecomp.appc.instance.organizations' value='`$chef-organization`'/> \n<parameter name='org.openecomp.appc.instance.serverAddress' value='`$chef-server-address`'/> \n<parameter name='org.openecomp.appc.instance.username' value='`$chef-username`'/> \n<parameter name='org.openecomp.appc.instance.chefAction' value='`$chef-action`'/> \n<parameter name='org.openecomp.appc.instance.chefRequestBody' value='`$virc-environment`'/>","comments":"","outputs":1,"x":405,"y":244,"z":"f809d11d.5015c","wires":[[]]},{"id":"da9b7cd9.09d6f","type":"switchNode","name":"switch","xml":"<switch test='`$org.openecomp.appc.chefServerResult.code`'>\n","comments":"","outputs":1,"x":252,"y":453,"z":"f809d11d.5015c","wires":[["374e8d98.aebe72","616a3c9c.5953a4","41e33222.25d1ec"]]},{"id":"374e8d98.aebe72","type":"outcome","name":"outcome","xml":"<outcome value='404'>\n","comments":"","outputs":1,"x":456,"y":329,"z":"f809d11d.5015c","wires":[["15bca697.807fd9"]]},{"id":"eb531a20.afbbd8","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='chefPost' >\n<parameter name='org.openecomp.appc.instance.organizations' value='`$chef-organization`'/> \n<parameter name='org.openecomp.appc.instance.serverAddress' value='`$chef-server-address`'/> \n<parameter name='org.openecomp.appc.instance.username' value='`$chef-username`'/> \n<parameter name='org.openecomp.appc.instance.chefAction' value='/environments'/> \n<parameter name='org.openecomp.appc.instance.chefRequestBody' value='`$virc-environment`'/>\n","comments":"","outputs":1,"x":789,"y":228,"z":"f809d11d.5015c","wires":[[]]},{"id":"11e5058e.84b97a","type":"outcome","name":"outcome","xml":"<outcome value='201'>\n","comments":"","outputs":1,"x":1083,"y":534,"z":"f809d11d.5015c","wires":[["6ded9d24.0dbaa4"]]},{"id":"f5ae799f.bf25a8","type":"outcome","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1081,"y":352,"z":"f809d11d.5015c","wires":[["1f394e1f.056dd2"]]},{"id":"23cc137a.1b7dfc","type":"switchNode","name":"switch","xml":"<switch test='`$org.openecomp.appc.chefServerResult.code`'>\n","comments":"","outputs":1,"x":803,"y":410,"z":"f809d11d.5015c","wires":[["11e5058e.84b97a","f5ae799f.bf25a8"]]},{"id":"15bca697.807fd9","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":615,"y":329,"z":"f809d11d.5015c","wires":[["eb531a20.afbbd8","23cc137a.1b7dfc"]]},{"id":"616a3c9c.5953a4","type":"outcome","name":"outcome","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":591,"y":565,"z":"f809d11d.5015c","wires":[["5abbe56e.76c5cc"]]},{"id":"41e33222.25d1ec","type":"outcome","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":606,"y":667,"z":"f809d11d.5015c","wires":[["b231a35d.86656"]]},{"id":"6ded9d24.0dbaa4","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='successfully create the chef environment'/>\n","comments":"","x":1289,"y":529,"z":"f809d11d.5015c","wires":[]},{"id":"1f394e1f.056dd2","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$org.openecomp.appc.chefServerResult.message`' />\n","comments":"","x":1292,"y":350,"z":"f809d11d.5015c","wires":[]},{"id":"b231a35d.86656","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$org.openecomp.appc.chefServerResult.message`' />\n","comments":"","x":793,"y":669,"z":"f809d11d.5015c","wires":[]},{"id":"5abbe56e.76c5cc","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='successfully updated the chef environment'/>\n","comments":"","x":808,"y":567,"z":"f809d11d.5015c","wires":[]},{"id":"bf9d85fc.805698","type":"set","name":"set","xml":"<set>\n<parameter name='chef-server-address' value='`$vnf-host-ip-address`' />\n<parameter name='chef-username' value='`$device-authentication.USER-NAME`' />\n<parameter name='chef-organization' value='virc'/>\n<parameter name='virc-environment' value='`$deviceconfig-file-content`' />","comments":"","x":419,"y":68,"z":"f809d11d.5015c","wires":[]}]
+[{"id":"7429c878.5abe38","type":"dgstart","name":"DGSTART","outputs":1,"x":136,"y":73,"z":"f809d11d.5015c","wires":[["2a4f05d6.88a89a"]]},{"id":"2a4f05d6.88a89a","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":125,"y":141,"z":"f809d11d.5015c","wires":[["aa94c1db.ebfc"]]},{"id":"aa94c1db.ebfc","type":"method","name":"method","xml":"<method rpc='DownloadvIRCChefConfig' mode='sync'>\n","comments":"","outputs":1,"x":124,"y":216,"z":"f809d11d.5015c","wires":[["ea7c5ec6.16476"]]},{"id":"ea7c5ec6.16476","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":113,"y":315,"z":"f809d11d.5015c","wires":[["d3e04c9b.c07be","d1b241f6.8c179","9c35834d.a01fa","da9b7cd9.09d6f","bf9d85fc.805698"]]},{"id":"d3e04c9b.c07be","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='retrieveData'>\n <parameter name='org.openecomp.appc.instance.dgContext' value='environment-name'/>\n <parameter name='org.openecomp.appc.instance.allConfig' value='`$virc-environment`'/>\n <parameter name='org.openecomp.appc.instance.key' value='name'/>\n","comments":"","outputs":1,"x":409,"y":126,"z":"f809d11d.5015c","wires":[[]]},{"id":"d1b241f6.8c179","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='combineStrings' >\n <parameter name='org.openecomp.appc.instance.dgContext' value='chef-action'/>\n <parameter name='org.openecomp.appc.instance.String1' value='/environments/'/>\n <parameter name='org.openecomp.appc.instance.String2' value='`$environment-name`'/>","comments":"","outputs":1,"x":399,"y":183,"z":"f809d11d.5015c","wires":[[]]},{"id":"9c35834d.a01fa","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='chefPut' >\n<parameter name='org.openecomp.appc.instance.organizations' value='`$chef-organization`'/> \n<parameter name='org.openecomp.appc.instance.serverAddress' value='`$chef-server-address`'/> \n<parameter name='org.openecomp.appc.instance.username' value='`$chef-username`'/> \n<parameter name='org.openecomp.appc.instance.chefAction' value='`$chef-action`'/> \n<parameter name='org.openecomp.appc.instance.chefRequestBody' value='`$virc-environment`'/>","comments":"","outputs":1,"x":405,"y":244,"z":"f809d11d.5015c","wires":[[]]},{"id":"da9b7cd9.09d6f","type":"switchNode","name":"switch","xml":"<switch test='`$org.openecomp.appc.chefServerResult.code`'>\n","comments":"","outputs":1,"x":252,"y":453,"z":"f809d11d.5015c","wires":[["374e8d98.aebe72","616a3c9c.5953a4","41e33222.25d1ec"]]},{"id":"374e8d98.aebe72","type":"outcome","name":"outcome","xml":"<outcome value='404'>\n","comments":"","outputs":1,"x":456,"y":329,"z":"f809d11d.5015c","wires":[["15bca697.807fd9"]]},{"id":"eb531a20.afbbd8","type":"execute","name":"execute","xml":"<execute plugin='org.openecomp.appc.adapter.chef.ChefAdapter' method='chefPost' >\n<parameter name='org.openecomp.appc.instance.organizations' value='`$chef-organization`'/> \n<parameter name='org.openecomp.appc.instance.serverAddress' value='`$chef-server-address`'/> \n<parameter name='org.openecomp.appc.instance.username' value='`$chef-username`'/> \n<parameter name='org.openecomp.appc.instance.chefAction' value='/environments'/> \n<parameter name='org.openecomp.appc.instance.chefRequestBody' value='`$virc-environment`'/>\n","comments":"","outputs":1,"x":789,"y":228,"z":"f809d11d.5015c","wires":[[]]},{"id":"11e5058e.84b97a","type":"outcome","name":"outcome","xml":"<outcome value='201'>\n","comments":"","outputs":1,"x":1083,"y":534,"z":"f809d11d.5015c","wires":[["6ded9d24.0dbaa4"]]},{"id":"f5ae799f.bf25a8","type":"outcome","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1081,"y":352,"z":"f809d11d.5015c","wires":[["1f394e1f.056dd2"]]},{"id":"23cc137a.1b7dfc","type":"switchNode","name":"switch","xml":"<switch test='`$org.openecomp.appc.chefServerResult.code`'>\n","comments":"","outputs":1,"x":803,"y":410,"z":"f809d11d.5015c","wires":[["11e5058e.84b97a","f5ae799f.bf25a8"]]},{"id":"15bca697.807fd9","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":615,"y":329,"z":"f809d11d.5015c","wires":[["eb531a20.afbbd8","23cc137a.1b7dfc"]]},{"id":"616a3c9c.5953a4","type":"outcome","name":"outcome","xml":"<outcome value='200'>\n","comments":"","outputs":1,"x":591,"y":565,"z":"f809d11d.5015c","wires":[["5abbe56e.76c5cc"]]},{"id":"41e33222.25d1ec","type":"outcome","name":"outcome","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":606,"y":667,"z":"f809d11d.5015c","wires":[["b231a35d.86656"]]},{"id":"6ded9d24.0dbaa4","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='successfully create the chef environment'/>\n","comments":"","x":1289,"y":529,"z":"f809d11d.5015c","wires":[]},{"id":"1f394e1f.056dd2","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$org.openecomp.appc.chefServerResult.message`' />\n","comments":"","x":1292,"y":350,"z":"f809d11d.5015c","wires":[]},{"id":"b231a35d.86656","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value='`$org.openecomp.appc.chefServerResult.message`' />\n","comments":"","x":793,"y":669,"z":"f809d11d.5015c","wires":[]},{"id":"5abbe56e.76c5cc","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value='successfully updated the chef environment'/>\n","comments":"","x":808,"y":567,"z":"f809d11d.5015c","wires":[]},{"id":"bf9d85fc.805698","type":"set","name":"set","xml":"<set>\n<parameter name='chef-server-address' value='`$vnf-host-ip-address`' />\n<parameter name='chef-username' value='`$device-authentication.USER-NAME`' />\n<parameter name='chef-organization' value='virc'/>\n<parameter name='virc-environment' value='`$deviceconfig-file-content`' />","comments":"","x":419,"y":68,"z":"f809d11d.5015c","wires":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_Generic_Restart.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_Generic_Restart.json
index 2906eb1f8..d818ec2eb 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_Generic_Restart.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_Generic_Restart.json
@@ -1,23 +1,3 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
[
{
"id": "77efa2fe.5906a4",
@@ -42,7 +22,7 @@
"module": "APPC",
"version": "2.0.1",
"comments": "",
- "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.1'>",
+ "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.1'>",
"outputs": 1,
"x": 97,
"y": 70,
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_topology-operation-all_2.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_topology-operation-all_2.0.0.json
index 059a88624..8da7294dc 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_topology-operation-all_2.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_method_topology-operation-all_2.0.0.json
@@ -1,23 +1,3 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
[
{
"id": "99bfac0c.66405",
@@ -26,7 +6,7 @@
"module": "APPC",
"version": "2.0.0",
"comments": "",
- "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='2.0.0'>",
+ "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": 114.75,
"y": 78,