remove redundant APPC dg files
[appc/deployment.git] / platform-logic / appc / src / main / json / dg-loader-dgs / APPC / APPC_PublishConfiguration.json
diff --git a/platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_PublishConfiguration.json b/platform-logic/appc/src/main/json/dg-loader-dgs/APPC/APPC_PublishConfiguration.json
deleted file mode 100644 (file)
index a73d21a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-[{"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.onap.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.onap.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.onap.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.onap.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.onap.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":[]}]