Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-2087

Don't use NotificationListener in CONTROLLER components

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • 9.0.0
    • None
    • None

      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:

      ./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);

            matej.sramcik Matej Šramčík
            rkashapov Ruslan Kashapov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: