[CONTROLLER-2087] Don't use NotificationListener in CONTROLLER components Created: 06/Sep/23 Updated: 18/Jan/24 Resolved: 18/Jan/24 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 9.0.0 |
| Type: | Task | Priority: | Medium |
| Reporter: | Ruslan Kashapov | Assignee: | Matej Šramčík |
| Resolution: | Done | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
Usage of generated interfaces extending org.opendaylight.yangtools.yang.binding.NotificationListener interface was deprecated for removal via 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: ./controller/benchmark/ntfbenchmark/src/main/java/ntfbenchmark/impl/NtfbenchmarkProvider.java: listeners.add(listenService.registerNotificationListener(listener)); ./controller/opendaylight/blueprint/src/main/java/org/opendaylight/controller/blueprint/ext/NotificationListenerBean.java: registration = notificationService.registerNotificationListener(notificationListener); ./controller/opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/MdsalLowLevelTestProvider.java: notificationService.registerNotificationListener(new YnlListener(input.getId()))); ./controller/opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/listener/PeopleCarListener.java: reg = notifService.registerNotificationListener(this); ./controller/opendaylight/md-sal/samples/toaster-consumer/src/main/java/org/opendaylight/controller/sample/kitchen/impl/KitchenServiceImpl.java: reg = notifService.registerNotificationListener(this); ./controller/opendaylight/md-sal/sal-binding-it/src/test/java/org/opendaylight/controller/test/sal/binding/it/NotificationIT.java: notificationService.registerNotificationListener(listener1); ./controller/opendaylight/md-sal/sal-binding-it/src/test/java/org/opendaylight/controller/test/sal/binding/it/NotificationIT.java: notificationService.registerNotificationListener(listener2); |