diff options
author | vempo <vitaliy.emporopulo@amdocs.com> | 2018-01-04 18:45:34 +0200 |
---|---|---|
committer | Vitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com> | 2018-01-04 17:54:51 +0000 |
commit | 26326a795b1220a280ae31cd7b964b9e1f54c99a (patch) | |
tree | 35ce4b4b9a7180e105f78812b3e9974f60479409 /openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest | |
parent | 2a98583ab8a211566ec8cfd7b70a014c682401c2 (diff) |
Remove enter/exit debug #1
Change-Id: I1271f6b0beb8c45881d90b08763d08892092e7d3
Issue-ID: SDC-875
Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
Diffstat (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest')
2 files changed, 1 insertions, 10 deletions
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/ComponentMonitoringUploadsImpl.java b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/ComponentMonitoringUploadsImpl.java index a997d94d63..6e7f9cdbc2 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/ComponentMonitoringUploadsImpl.java +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/ComponentMonitoringUploadsImpl.java @@ -7,7 +7,6 @@ import org.openecomp.sdc.common.errors.Messages; import org.openecomp.sdc.logging.api.Logger; import org.openecomp.sdc.logging.api.LoggerFactory; import org.openecomp.sdc.logging.context.MdcUtil; -import org.openecomp.sdc.logging.context.impl.MdcDataDebugMessage; import org.openecomp.sdc.logging.messages.AuditMessages; import org.openecomp.sdc.logging.types.LoggerServiceName; import org.openecomp.sdc.vendorsoftwareproduct.ComponentManager; @@ -36,7 +35,6 @@ import java.io.InputStream; @Scope(value = "prototype") //@Validated public class ComponentMonitoringUploadsImpl implements ComponentMonitoringUploads { - private static MdcDataDebugMessage mdcDataDebugMessage = new MdcDataDebugMessage(); private MonitoringUploadsManager monitoringUploadsManager = MonitoringUploadsManagerFactory.getInstance().createInterface(); private ComponentManager componentManager = @@ -48,7 +46,6 @@ public class ComponentMonitoringUploadsImpl implements ComponentMonitoringUpload public Response upload(Attachment attachment, String vspId, String versionId, String componentId, String type, String user) throws Exception { - mdcDataDebugMessage.debugEntryMessage("VSP id, component id", vspId + "," + componentId); MdcUtil.initMdc(LoggerServiceName.Upload_Monitoring_Artifact.toString()); logger.audit(AuditMessages.AUDIT_MSG + String.format(AuditMessages .UPLOAD_MONITORING_FILE, type, vspId, componentId)); @@ -60,8 +57,6 @@ public class ComponentMonitoringUploadsImpl implements ComponentMonitoringUpload monitoringUploadsManager.upload(attachment.getObject(InputStream.class), attachment.getContentDisposition().getParameter("filename"), vspId, version, componentId, monitoringUploadType); - - mdcDataDebugMessage.debugExitMessage("VSP id, component id", vspId + "," + componentId); return Response.ok().build(); } @@ -82,7 +77,6 @@ public class ComponentMonitoringUploadsImpl implements ComponentMonitoringUpload @Override public Response delete(String vspId, String versionId, String componentId, String type, String user) throws Exception { - mdcDataDebugMessage.debugEntryMessage("VSP id, component id", vspId + "," + componentId); MdcUtil.initMdc(LoggerServiceName.Delete_Monitoring_Artifact.toString()); MonitoringUploadType monitoringUploadType = getMonitoringUploadType(vspId, componentId, type); @@ -90,8 +84,6 @@ public class ComponentMonitoringUploadsImpl implements ComponentMonitoringUpload Version version = new Version(versionId); componentManager.validateComponentExistence(vspId, version, componentId); monitoringUploadsManager.delete(vspId, version, componentId, monitoringUploadType); - - mdcDataDebugMessage.debugExitMessage("VSP id, component id", vspId + "," + componentId); return Response.ok().build(); } diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/ComponentUploadsImpl.java b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/ComponentUploadsImpl.java index f88508250a..32b04e4a93 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/ComponentUploadsImpl.java +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-software-products-rest/vendor-software-products-rest-services/src/main/java/org/openecomp/sdcrests/vsp/rest/services/ComponentUploadsImpl.java @@ -25,8 +25,7 @@ //import org.openecomp.sdc.logging.api.Logger; //import org.openecomp.sdc.logging.api.LoggerFactory; //import org.openecomp.sdc.logging.context.MdcUtil; -//import org.openecomp.sdc.logging.context.impl.MdcDataDebugMessage; -//import org.openecomp.sdc.logging.messages.AuditMessages; +////import org.openecomp.sdc.logging.messages.AuditMessages; //import org.openecomp.sdc.logging.types.LoggerServiceName; //import org.openecomp.sdc.vendorsoftwareproduct.ComponentManager; //import org.openecomp.sdc.vendorsoftwareproduct.ComponentManagerFactory; |