From acd7ec01fb7a388324f95e46a34cb62db7eefacf Mon Sep 17 00:00:00 2001 From: vempo Date: Sun, 28 Jan 2018 14:39:56 +0200 Subject: Removed reference to MDC for logging Change-Id: I6d7e5b40ba6f2bc596be9b3e80ea5c274f1ae447 Issue-ID: SDC-875 Signed-off-by: vempo --- .../sdcrests/notifications/rest/services/impl/NotificationsImpl.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp/notifications-rest') diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/notifications-rest/notifications-rest-services/src/main/java/org/openecomp/sdcrests/notifications/rest/services/impl/NotificationsImpl.java b/openecomp-be/api/openecomp-sdc-rest-webapp/notifications-rest/notifications-rest-services/src/main/java/org/openecomp/sdcrests/notifications/rest/services/impl/NotificationsImpl.java index 8ff0ac0eea..9f6455e7f2 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/notifications-rest/notifications-rest-services/src/main/java/org/openecomp/sdcrests/notifications/rest/services/impl/NotificationsImpl.java +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/notifications-rest/notifications-rest-services/src/main/java/org/openecomp/sdcrests/notifications/rest/services/impl/NotificationsImpl.java @@ -5,8 +5,6 @@ import org.openecomp.sdc.datatypes.error.ErrorLevel; import org.openecomp.sdc.datatypes.error.ErrorMessage; 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.types.LoggerServiceName; import org.openecomp.sdc.notification.dao.types.NotificationEntity; import org.openecomp.sdc.notification.dtos.NotificationsStatus; import org.openecomp.sdc.notification.exceptons.NotificationNotExistException; @@ -43,7 +41,6 @@ public class NotificationsImpl implements Notifications { @Override public Response getNotifications(String user, UUID lastDelivered, UUID endOfPage) { - MdcUtil.initMdc(LoggerServiceName.notifications.toString()); NotificationsStatus notificationsStatus = notificationsService .getNotificationsStatus(user, lastDelivered, selectionLimit, endOfPage); MapNotificationsStatusToDto converter = new MapNotificationsStatusToDto(); @@ -91,8 +88,6 @@ public class NotificationsImpl implements Notifications { @Override public Response getNewNotificationsByOwnerId(String user, String eventId, String limitStr) { - MdcUtil.initMdc(LoggerServiceName.notifications.toString()); - int limit = selectionLimit; if (Objects.nonNull(limitStr)) { -- cgit 1.2.3-korg