Details
-
Task
-
Status: Resolved
-
Medium
-
Resolution: Done
-
None
-
None
Description
Usage of generated interfaces extending org.opendaylight.yangtools.yang.binding.NotificationListener interface was deprecated for removal via MDSAL-496.
In order to eliminate dependency on deprecated interface the affected logic require update to use org.opendaylight.mdsal.binding.api.NotificationService.Listener instead.
Affected components:
./transportpce/dmaap-client/src/main/java/org/opendaylight/transportpce/dmaap/client/impl/DmaapClientProvider.java: listenerRegistration = notificationService.registerNotificationListener( ./transportpce/dmaap-client/src/test/java/org/opendaylight/transportpce/dmaap/client/impl/DmaapClientProviderTest.java: .registerNotificationListener(Mockito.any(NbiNotificationsListenerImpl.class)); ./transportpce/networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/NetworkModelProvider.java: serviceHandlerListenerRegistration = notificationService.registerNotificationListener(serviceHandlerListner); ./transportpce/networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/dto/NodeRegistration.java: listeners.add(notificationService.registerNotificationListener(alarmListener)); ./transportpce/networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/dto/NodeRegistration.java: listeners.add(notificationService.registerNotificationListener(deOperationsListener)); ./transportpce/networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/dto/NodeRegistration.java: listeners.add(notificationService.registerNotificationListener(deviceListener)); ./transportpce/networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/dto/NodeRegistration.java: listeners.add(notificationService.registerNotificationListener(tcaListener)); ./transportpce/networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/dto/NodeRegistration.java: listeners.add(notificationService.registerNotificationListener(alarmListener)); ./transportpce/networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/dto/NodeRegistration.java: listeners.add(notificationService.registerNotificationListener(deOperationsListener)); ./transportpce/networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/dto/NodeRegistration.java: listeners.add(notificationService.registerNotificationListener(deviceListener)); ./transportpce/networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/dto/NodeRegistration.java: listeners.add(notificationService.registerNotificationListener(tcaListener)); ./transportpce/networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/dto/NodeRegistration.java: listeners.add(notificationService.registerNotificationListener(alarmListener)); ./transportpce/networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/dto/NodeRegistration.java: listeners.add(notificationService.registerNotificationListener(deOperationsListener)); ./transportpce/networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/dto/NodeRegistration.java: listeners.add(notificationService.registerNotificationListener(deviceListener)); ./transportpce/networkmodel/src/main/java/org/opendaylight/transportpce/networkmodel/dto/NodeRegistration.java: listeners.add(notificationService.registerNotificationListener(tcaListener)); ./transportpce/servicehandler/src/main/java/org/opendaylight/transportpce/servicehandler/impl/ServicehandlerProvider.java: pcelistenerRegistration = notificationService.registerNotificationListener(pceListenerImpl); ./transportpce/servicehandler/src/main/java/org/opendaylight/transportpce/servicehandler/impl/ServicehandlerProvider.java: rendererlistenerRegistration = notificationService.registerNotificationListener(rendererListenerImpl); ./transportpce/servicehandler/src/main/java/org/opendaylight/transportpce/servicehandler/impl/ServicehandlerProvider.java: networkmodellistenerRegistration = notificationService.registerNotificationListener(networkModelListenerImpl); ./transportpce/tapi/src/main/java/org/opendaylight/transportpce/tapi/impl/TapiProvider.java: pcelistenerRegistration = notificationService.registerNotificationListener(pceListenerImpl); ./transportpce/tapi/src/main/java/org/opendaylight/transportpce/tapi/impl/TapiProvider.java: rendererlistenerRegistration = notificationService.registerNotificationListener(rendererListenerImpl); ./transportpce/tapi/src/main/java/org/opendaylight/transportpce/tapi/impl/TapiProvider.java: .registerNotificationListener(serviceHandlerListenerImpl); ./transportpce/tapi/src/main/java/org/opendaylight/transportpce/tapi/impl/TapiProvider.java: .registerNotificationListener(tapiNetworkModelListenerImpl); ./transportpce/nbinotifications/src/main/java/org/opendaylight/transportpce/nbinotifications/impl/NbiNotificationsProvider.java: listenerRegistration = notificationService.registerNotificationListener(nbiNotificationsListener); ./transportpce/nbinotifications/src/test/java/org/opendaylight/transportpce/nbinotifications/impl/NbiNotificationsProviderTest.java: .registerNotificationListener(any(NbiNotificationsListenerImpl.class));
Attachments
Issue Links
- blocks
-
MDSAL-497 Remove support for listening on generated NotificationListener interfaces
-
- Resolved
-