X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=dmaap-client%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Ftransportpce%2Fdmaap%2Fclient%2Flistener%2FNbiNotificationsListenerImpl.java;h=4a91e6a4cf1d80cb2c9572797af898cc57a3d442;hb=274148a8d813140f86e1f9770ba992b072c1a5cd;hp=ed84dae964be554a3f23e67cfb3c997d0448c1ff;hpb=9668c60311b185709a4bc15b01bc7fb861ed3e22;p=transportpce.git diff --git a/dmaap-client/src/main/java/org/opendaylight/transportpce/dmaap/client/listener/NbiNotificationsListenerImpl.java b/dmaap-client/src/main/java/org/opendaylight/transportpce/dmaap/client/listener/NbiNotificationsListenerImpl.java index ed84dae96..4a91e6a4c 100644 --- a/dmaap-client/src/main/java/org/opendaylight/transportpce/dmaap/client/listener/NbiNotificationsListenerImpl.java +++ b/dmaap-client/src/main/java/org/opendaylight/transportpce/dmaap/client/listener/NbiNotificationsListenerImpl.java @@ -17,8 +17,9 @@ import org.glassfish.jersey.logging.LoggingFeature; import org.opendaylight.transportpce.dmaap.client.resource.EventsApi; import org.opendaylight.transportpce.dmaap.client.resource.config.JsonConfigurator; import org.opendaylight.transportpce.dmaap.client.resource.model.CreatedEvent; -import org.opendaylight.yang.gen.v1.nbi.notifications.rev201130.NbiNotificationsListener; -import org.opendaylight.yang.gen.v1.nbi.notifications.rev201130.PublishNotificationService; +import org.opendaylight.yang.gen.v1.nbi.notifications.rev210813.NbiNotificationsListener; +import org.opendaylight.yang.gen.v1.nbi.notifications.rev210813.PublishNotificationAlarmService; +import org.opendaylight.yang.gen.v1.nbi.notifications.rev210813.PublishNotificationProcessService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -42,7 +43,7 @@ public class NbiNotificationsListenerImpl implements NbiNotificationsListener { } @Override - public void onPublishNotificationService(PublishNotificationService notification) { + public void onPublishNotificationProcessService(PublishNotificationProcessService notification) { try { CreatedEvent response = api.sendEvent(topic, notification); LOG.info("Response received {}", response); @@ -52,4 +53,9 @@ public class NbiNotificationsListenerImpl implements NbiNotificationsListener { } + @Override + public void onPublishNotificationAlarmService(PublishNotificationAlarmService notification) { + + } + }