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/application-config-rest/application-config-rest-services/src | |
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/application-config-rest/application-config-rest-services/src')
1 files changed, 0 insertions, 20 deletions
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/application-config-rest/application-config-rest-services/src/main/java/org/openecomp/sdcrests/applicationconfig/rest/services/ApplicationConfigurationImpl.java b/openecomp-be/api/openecomp-sdc-rest-webapp/application-config-rest/application-config-rest-services/src/main/java/org/openecomp/sdcrests/applicationconfig/rest/services/ApplicationConfigurationImpl.java index 27557e1d56..99ef94d166 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/application-config-rest/application-config-rest-services/src/main/java/org/openecomp/sdcrests/applicationconfig/rest/services/ApplicationConfigurationImpl.java +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/application-config-rest/application-config-rest-services/src/main/java/org/openecomp/sdcrests/applicationconfig/rest/services/ApplicationConfigurationImpl.java @@ -24,7 +24,6 @@ import org.openecomp.core.utilities.applicationconfig.dao.type.ApplicationConfig import org.openecomp.core.utilities.applicationconfig.type.ConfigurationData; import org.openecomp.core.utilities.file.FileUtils; import org.openecomp.sdc.applicationconfig.ApplicationConfigManager; -import org.openecomp.sdc.logging.context.impl.MdcDataDebugMessage; import org.openecomp.sdc.logging.types.LoggerConstants; import org.openecomp.sdc.logging.types.LoggerServiceName; import org.openecomp.sdcrests.applicationconfig.rest.ApplicationConfiguration; @@ -51,47 +50,31 @@ import java.util.Collection; @Service("applicationConfiguration") @Scope(value = "prototype") public class ApplicationConfigurationImpl implements ApplicationConfiguration { - - private static MdcDataDebugMessage mdcDataDebugMessage = new MdcDataDebugMessage(); @Autowired private ApplicationConfigManager applicationConfigManager; @Override public Response insertToTable(String namespace, String key, InputStream fileContainingSchema) { - - mdcDataDebugMessage.debugEntryMessage(null, null); - MDC.put(LoggerConstants.SERVICE_NAME, LoggerServiceName.Insert_To_ApplicationConfig_Table.toString()); String value = new String(FileUtils.toByteArray(fileContainingSchema)); applicationConfigManager.insertIntoTable(namespace, key, value); - - mdcDataDebugMessage.debugExitMessage(null, null); return Response.ok().build(); } @Override public Response getFromTable(String namespace, String key) { - - mdcDataDebugMessage.debugEntryMessage(null, null); - MDC.put(LoggerConstants.SERVICE_NAME, LoggerServiceName.Get_From_ApplicationConfig_Table.toString()); ConfigurationData value = applicationConfigManager.getFromTable(namespace, key); ConfigurationDataDto valueDto = new MapConfigurationDataToConfigurationDataDto() .applyMapping(value, ConfigurationDataDto.class); - - mdcDataDebugMessage.debugExitMessage(null, null); - return Response.ok(valueDto).build(); } @Override public Response getListOfConfigurationByNamespaceFromTable(String namespace) { - - mdcDataDebugMessage.debugEntryMessage(null, null); - MDC.put(LoggerConstants.SERVICE_NAME, LoggerServiceName .Get_List_From_ApplicationConfig_Table_By_Namespace.toString()); Collection<ApplicationConfigEntity> applicationConfigEntities = @@ -105,9 +88,6 @@ public class ApplicationConfigurationImpl implements ApplicationConfiguration { applicationConfigWrapper .add(mapper.applyMapping(applicationConfigEntity, ApplicationConfigDto.class)); } - - mdcDataDebugMessage.debugExitMessage(null, null); - return Response.ok(applicationConfigWrapper).build(); } } |