<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:16:48 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[NETCONF-1150] Don&apos;t use NotificationListener in NETCONF components</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-1150</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;Usage of generated interfaces extending org.opendaylight.yangtools.yang.binding.&lt;b&gt;NotificationListener&lt;/b&gt; interface was deprecated for removal via &lt;a href=&quot;https://jira.opendaylight.org/browse/MDSAL-496&quot; title=&quot;Deprecate generated notification listener interface&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MDSAL-496&quot;&gt;&lt;del&gt;MDSAL-496&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;In order to eliminate dependency on deprecated interface the affected logic require update to use org.opendaylight.mdsal.binding.api.NotificationService.&lt;b&gt;Listener&lt;/b&gt; instead.&lt;/p&gt;

&lt;p&gt;Affected components:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;./netconf/plugins/netconf-server-mdsal/src/main/java/org/opendaylight/netconf/server/mdsal/notifications/CreateSubscription.java: &#160; &#160; &#160; &#160;subscriptions.add(notifications.registerNotificationListener(streamNameType,
./netconf/plugins/netconf-server-mdsal/src/main/java/org/opendaylight/netconf/server/mdsal/notifications/NetconfNotificationManager.java: &#160; &#160;public synchronized Registration registerNotificationListener(final StreamNameType stream,
./netconf/plugins/netconf-server-mdsal/src/test/java/org/opendaylight/netconf/server/mdsal/notifications/NetconfNotificationManagerTest.java: &#160; &#160; &#160; &#160;try (var reg = netconfNotificationManager.registerNotificationListener(
./netconf/plugins/netconf-server-mdsal/src/test/java/org/opendaylight/netconf/server/mdsal/notifications/NetconfNotificationManagerTest.java: &#160; &#160; &#160; &#160;netconfNotificationManager.registerNotificationListener(
./netconf/plugins/netconf-server-mdsal/src/test/java/org/opendaylight/netconf/server/mdsal/notifications/NetconfNotificationManagerTest.java: &#160; &#160; &#160; &#160;netconfNotificationManager.registerNotificationListener(testStream.getName(), listener);
./netconf/plugins/netconf-server-mdsal/src/test/java/org/opendaylight/netconf/server/mdsal/notifications/NetconfNotificationManagerTest.java: &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;.registerNotificationListener(NetconfNotificationManager.BASE_NETCONF_STREAM.getName(), listener);
./netconf/plugins/netconf-server-mdsal/src/test/java/org/opendaylight/netconf/server/mdsal/notifications/CreateSubscriptionTest.java: &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;.registerNotificationListener(any(StreamNameType.class), any(NetconfNotificationListener.class));
./netconf/plugins/netconf-client-mdsal/src/main/java/org/opendaylight/netconf/client/mdsal/spi/NetconfDeviceNotificationService.java: &#160; &#160;public synchronized &amp;lt;T extends DOMNotificationListener&amp;gt; ListenerRegistration&amp;lt;T&amp;gt; registerNotificationListener(
./netconf/plugins/netconf-client-mdsal/src/main/java/org/opendaylight/netconf/client/mdsal/spi/NetconfDeviceNotificationService.java: &#160; &#160;public synchronized &amp;lt;T extends DOMNotificationListener&amp;gt; ListenerRegistration&amp;lt;T&amp;gt; registerNotificationListener(
./netconf/plugins/netconf-client-mdsal/src/main/java/org/opendaylight/netconf/client/mdsal/spi/NetconfDeviceNotificationService.java: &#160; &#160; &#160; &#160;return registerNotificationListener(listener, Lists.newArrayList(types));
./netconf/plugins/netconf-client-mdsal/src/main/java/org/opendaylight/netconf/client/mdsal/spi/NetconfDeviceNotificationService.java: &#160; &#160;public synchronized Registration registerNotificationListeners(
./netconf/plugins/netconf-client-mdsal/src/test/java/org/opendaylight/netconf/client/mdsal/spi/NetconfDeviceNotificationServiceTest.java: &#160; &#160; &#160; &#160;service.registerNotificationListener(listener1, path1);
./netconf/plugins/netconf-client-mdsal/src/test/java/org/opendaylight/netconf/client/mdsal/spi/NetconfDeviceNotificationServiceTest.java: &#160; &#160; &#160; &#160;registration = service.registerNotificationListener(listener2, path2);
./netconf/netconf/tools/netconf-test-perf/src/main/java/org/opendaylight/netconf/test/perf/MountedDeviceListener.java: &#160; &#160; &#160; &#160;listeners.put(path, notificationService.registerNotificationListener(
./netconf/protocol/netconf-server/src/main/java/org/opendaylight/netconf/server/api/notifications/NetconfNotificationRegistry.java: &#160; &#160;@NonNull Registration registerNotificationListener(@NonNull StreamNameType stream,
./netconf/restconf/sal-restconf-broker/src/main/java/org/opendaylight/netconf/sal/restconf/broker/impl/DataBrokerServiceImpl.java: &#160; &#160; &#160; &#160;final ListenerRegistration&amp;lt;?&amp;gt; reg = restConfListenableEventStreamContext.registerNotificationListener(remoteDataChangeNotificationListener);
./netconf/restconf/sal-restconf-broker/src/main/java/org/opendaylight/netconf/sal/restconf/broker/impl/NotificationServiceImpl.java: &#160; &#160;public &amp;lt;T extends Notification&amp;gt; ListenerRegistration&amp;lt;NotificationListener&amp;lt;T&amp;gt;&amp;gt; registerNotificationListener(Class&amp;lt;T&amp;gt; notificationType, NotificationListener&amp;lt;T&amp;gt; listener) {
./netconf/restconf/sal-restconf-broker/src/main/java/org/opendaylight/netconf/sal/restconf/broker/impl/NotificationServiceImpl.java: &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;.registerNotificationListener(remoteNotificationListener);
./netconf/restconf/sal-restconf-broker/src/main/java/org/opendaylight/netconf/sal/restconf/broker/impl/NotificationServiceImpl.java: &#160; &#160;public ListenerRegistration&amp;lt;org.opendaylight.yangtools.yang.binding.NotificationListener&amp;gt; registerNotificationListener(org.opendaylight.yangtools.yang.binding.NotificationListener listener) {
./netconf/restconf/sal-restconf-broker/src/main/java/org/opendaylight/netconf/sal/restconf/broker/impl/NotificationServiceImpl.java: &#160; &#160; &#160; &#160;return restconfClientContext.getEventStreamContext(desiredEventStream.get(desiredEventStream.get(notificationStreamName))).registerNotificationListener(listener);
./netconf/restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/rests/services/impl/RestconfDataServiceImpl.java: &#160; &#160; &#160; &#160; &#160; &#160;: listenersBroker.registerNotificationListener(Absolute.of(notifName), streamName, outputType);
./netconf/restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/streams/listeners/DeviceNotificationListenerAdaptor.java: &#160; &#160; &#160; &#160; &#160; &#160;setRegistration(notificationService.registerNotificationListener(this, paths));
./netconf/restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/streams/listeners/NotificationListenerAdapter.java: &#160; &#160; &#160; &#160; &#160; &#160;setRegistration(notificationService.registerNotificationListener(this, getSchemaPath()));
./netconf/restconf/restconf-nb/src/main/java/org/opendaylight/restconf/nb/rfc8040/streams/listeners/ListenersBroker.java: &#160; &#160;public NotificationListenerAdapter registerNotificationListener(final Absolute schemaPath,
./netconf/restconf/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/streams/listeners/JsonNotificationListenerTest.java: &#160; &#160; &#160; &#160;final NotificationListenerAdapter notifiAdapter = ListenersBroker.getInstance().registerNotificationListener(
./netconf/restconf/restconf-nb/src/test/java/org/opendaylight/restconf/nb/rfc8040/streams/listeners/XmlNotificationListenerTest.java: &#160; &#160; &#160; &#160;final NotificationListenerAdapter notifiAdapter = ListenersBroker.getInstance().registerNotificationListener(&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="37322">NETCONF-1150</key>
            <summary>Don&apos;t use NotificationListener in NETCONF components</summary>
                <type id="10101" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10318&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10001">Won&apos;t Do</resolution>
                                        <assignee username="rkashapov">Ruslan Kashapov</assignee>
                                    <reporter username="rkashapov">Ruslan Kashapov</reporter>
                        <labels>
                    </labels>
                <created>Wed, 6 Sep 2023 10:22:25 +0000</created>
                <updated>Thu, 7 Sep 2023 09:45:34 +0000</updated>
                            <resolved>Thu, 7 Sep 2023 09:45:34 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="72524" author="JIRAUSER13216" created="Thu, 7 Sep 2023 09:45:34 +0000"  >&lt;p&gt;NETCONF uses DOMNotificationListener only, no dependency on MDSAL deprecated interface&lt;br/&gt;
except sal-restconf-broker which is excluded from build and targeted for re-implementation.&lt;br/&gt;
Nothing to do here. resolving as&#160; Won&apos;t Do&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="32247">MDSAL-497</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i046gn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>