X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=acs%2Frequestprocessor%2Fsrc%2Fmain%2Fjava%2Forg%2Fcommscope%2Ftr069adapter%2Facs%2Frequestprocessor%2Fimpl%2FTR069EventNotificationService.java;fp=acs%2Frequestprocessor%2Fsrc%2Fmain%2Fjava%2Forg%2Fcommscope%2Ftr069adapter%2Facs%2Frequestprocessor%2Fimpl%2FTR069EventNotificationService.java;h=87ea94ed49d34b5277b89cb0017818ddb9cc0138;hb=bfb65ab24d6ce7db221c5f52689a8efd8873fb1a;hp=2f1ac6fb9e08e25bd0f8cff010afdd35fab3294b;hpb=76744e810f35c84ecbd1d9998e361052466e9483;p=oam%2Ftr069-adapter.git diff --git a/acs/requestprocessor/src/main/java/org/commscope/tr069adapter/acs/requestprocessor/impl/TR069EventNotificationService.java b/acs/requestprocessor/src/main/java/org/commscope/tr069adapter/acs/requestprocessor/impl/TR069EventNotificationService.java index 2f1ac6f..87ea94e 100644 --- a/acs/requestprocessor/src/main/java/org/commscope/tr069adapter/acs/requestprocessor/impl/TR069EventNotificationService.java +++ b/acs/requestprocessor/src/main/java/org/commscope/tr069adapter/acs/requestprocessor/impl/TR069EventNotificationService.java @@ -30,10 +30,12 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.slf4j.MDC; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.Profile; import org.springframework.jms.core.JmsTemplate; import org.springframework.stereotype.Component; @Component +//@Profile(value="default") public class TR069EventNotificationService { private static final Logger logger = LoggerFactory.getLogger(TR069EventNotificationService.class); @@ -50,6 +52,7 @@ public class TR069EventNotificationService { String deviceId = deviceNotification.getDeviceDetails().getDeviceId(); try { MDC.put(CLIENT_STR, deviceId); + TR069InformType notificationType = (TR069InformType) deviceNotification.getInformType(); logger.debug("Device Inform Event received: '{}'", notificationType.getNotificationCode());