<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:22 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-579] Add a strongly typed internal (Java) RPC API for JSONRestconfService&apos;s subscribeToStream()</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-579</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;This is a follow-up to&#160;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/77273/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/77273/&lt;/a&gt; (re. &lt;a href=&quot;https://jira.opendaylight.org/browse/NETVIRT-1460&quot; title=&quot;websocket failing: causes instance creation failures&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETVIRT-1460&quot;&gt;NETVIRT-1460&lt;/a&gt; &amp;amp; &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-1039&quot; title=&quot;Not able to set SLAVE role on device openflow:97702827111235, reason: Was not able to propagate SLAVE role on device. Error: org.opendaylight.openflowplugin.impl.role.RoleChangeException: Can&amp;#39;t commit a completed message.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-1039&quot;&gt;&lt;del&gt;OPNFLWPLUG-1039&lt;/del&gt;&lt;/a&gt;) :&lt;/p&gt;

&lt;p&gt;It seems strange to me that in that &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/77273/10/northbound-api/src/main/java/org/opendaylight/neutron/northbound/impl/PortStatusUpdateInitializer.java&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;PortStatusUpdateInitializer&lt;/a&gt;,  &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=jhershbe&quot; class=&quot;user-hover&quot; rel=&quot;jhershbe&quot;&gt;jhershbe&lt;/a&gt; apparently had to use &lt;tt&gt;JSONRestconfService&lt;/tt&gt;&apos;s &lt;tt&gt;invokeRpc()&lt;/tt&gt; on &lt;tt&gt;sal-remote:create-data-change-event-subscription&lt;/tt&gt; with a &lt;tt&gt;SUBSCRIBE_JSON&lt;/tt&gt; String.&lt;/p&gt;

&lt;p&gt;We&apos;ll merge that, but wouldn&apos;t be better if there was a clean strongly typed internal (Java) API for that instead of this weird architecture where neutron uses restconf to invoke an RPC like this?&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=JMorvay&quot; class=&quot;user-hover&quot; rel=&quot;JMorvay&quot;&gt;JMorvay&lt;/a&gt; is this something you would consider adding?&lt;/p&gt;</description>
                <environment></environment>
        <key id="30969">NETCONF-579</key>
            <summary>Add a strongly typed internal (Java) RPC API for JSONRestconfService&apos;s subscribeToStream()</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="jhershbe">Josh Hershberg</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Thu, 1 Nov 2018 11:39:56 +0000</created>
                <updated>Tue, 19 Mar 2019 13:44:02 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="65474" author="vorburger" created="Thu, 1 Nov 2018 13:04:59 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=jhershbe&quot; class=&quot;user-hover&quot; rel=&quot;jhershbe&quot;&gt;jhershbe&lt;/a&gt; hey wait a second ... so this &lt;tt&gt;sal-remote:create-data-change-event-subscription&lt;/tt&gt; RPC is from netconf/restconf/restconf-common-models/src/main/yang/opendaylight-md-sal-remote.yang. And so the &lt;tt&gt;org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.remote.rev140114.SalRemoteService&lt;/tt&gt; has a &lt;tt&gt;createDataChangeEventSubscription&lt;/tt&gt;. So ... why did you do that handstand hoop via &lt;tt&gt;JSONRestconfService&lt;/tt&gt;&apos;s &lt;tt&gt;invokeRpc()&lt;/tt&gt; instead of just calling that RPC &quot;as always&quot; ?&lt;/p&gt;</comment>
                            <comment id="65475" author="vorburger" created="Thu, 1 Nov 2018 14:27:21 +0000"  >&lt;p&gt;So &lt;a href=&quot;https://git.opendaylight.org/gerrit/77410&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/77410&lt;/a&gt; uses the Java RPC for sal-remote:create-data-change-event-subscription ...&lt;/p&gt;

&lt;p&gt;BUT the &lt;tt&gt;subscribeToStream()&lt;/tt&gt; (of &lt;tt&gt;JSONRestconfService&lt;/tt&gt; is still lacking a Java RPC, and that&apos;s what this issues is really about (I initially got confused) .. &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=JMorvay&quot; class=&quot;user-hover&quot; rel=&quot;JMorvay&quot;&gt;JMorvay&lt;/a&gt; (or &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=tpantelis&quot; class=&quot;user-hover&quot; rel=&quot;tpantelis&quot;&gt;tpantelis&lt;/a&gt;) is that something you would like to add in restconf, some time?&lt;/p&gt;</comment>
                            <comment id="65502" author="vorburger" created="Mon, 5 Nov 2018 12:54:20 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/77410/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;c/77410&lt;/a&gt;&#160;can probably be restored when this is made available.&lt;/p&gt;</comment>
                    </comments>
                    <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|i03k47:</customfieldvalue>

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