<!-- 
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-1152] RESTCONF DataTreeChange notifications use incorrect format</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-1152</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;There are two distinct problems here. A JSON notification is encoded as:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-json&quot;&gt;
{
  &lt;span class=&quot;code-quote&quot;&gt;&quot;urn-ietf-params-xml-ns-netconf-notification-1.0:notification&quot;&lt;/span&gt;: {
    &lt;span class=&quot;code-quote&quot;&gt;&quot;urn-opendaylight-params-xml-ns-yang-controller-md-sal-remote:data-changed-notification&quot;&lt;/span&gt;: {
      &lt;span class=&quot;code-quote&quot;&gt;&quot;data-change-event&quot;&lt;/span&gt;: [
        {
          &lt;span class=&quot;code-quote&quot;&gt;&quot;path&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;/instance-identifier-patch-module:patch-cont/instance-identifier-patch-module:my-list1/instance-identifier-patch-module:my-list1[instance-identifier-patch-module:name=&lt;span class=&quot;code-quote&quot;&gt;&apos;Althea&apos;&lt;/span&gt;]/instance-identifier-patch-module:name&quot;&lt;/span&gt;,
          &lt;span class=&quot;code-quote&quot;&gt;&quot;data&quot;&lt;/span&gt;: {
            &lt;span class=&quot;code-quote&quot;&gt;&quot;instance-identifier-patch-module:name&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;Althea&quot;&lt;/span&gt;
          },
          &lt;span class=&quot;code-quote&quot;&gt;&quot;operation&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;updated&quot;&lt;/span&gt;
        },
        {
          &lt;span class=&quot;code-quote&quot;&gt;&quot;path&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;/instance-identifier-patch-module:patch-cont/instance-identifier-patch-module:my-list1/instance-identifier-patch-module:my-list1[instance-identifier-patch-module:name=&lt;span class=&quot;code-quote&quot;&gt;&apos;Althea&apos;&lt;/span&gt;]/instance-identifier-patch-module:my-leaf12&quot;&lt;/span&gt;,
          &lt;span class=&quot;code-quote&quot;&gt;&quot;data&quot;&lt;/span&gt;: {
            &lt;span class=&quot;code-quote&quot;&gt;&quot;instance-identifier-patch-module:my-leaf12&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;Bertha&quot;&lt;/span&gt;
          },
          &lt;span class=&quot;code-quote&quot;&gt;&quot;operation&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;created&quot;&lt;/span&gt;
        },
        {
        &lt;span class=&quot;code-quote&quot;&gt;&quot;path&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;/instance-identifier-patch-module:patch-cont/augment-instance-identifier-patch-module:patch-choice1/augment-instance-identifier-patch-module:&lt;span class=&quot;code-keyword&quot;&gt;case&lt;/span&gt;-leaf1&quot;&lt;/span&gt;,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;data&quot;&lt;/span&gt;: {
          &lt;span class=&quot;code-quote&quot;&gt;&quot;augment-iip-module:&lt;span class=&quot;code-keyword&quot;&gt;case&lt;/span&gt;-leaf1&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;ChoiceUpdate&quot;&lt;/span&gt;
        },
          &lt;span class=&quot;code-quote&quot;&gt;&quot;operation&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;updated&quot;&lt;/span&gt;
        },
        {
          &lt;span class=&quot;code-quote&quot;&gt;&quot;path&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;/instance-identifier-patch-module:patch-cont/augment-instance-identifier-patch-module:leaf1&quot;&lt;/span&gt;,
          &lt;span class=&quot;code-quote&quot;&gt;&quot;data&quot;&lt;/span&gt;: {
            &lt;span class=&quot;code-quote&quot;&gt;&quot;augment-iip-module:leaf1&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;AugmentLeaf&quot;&lt;/span&gt;
          },
          &lt;span class=&quot;code-quote&quot;&gt;&quot;operation&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;updated&quot;&lt;/span&gt;
        }
      ]
    },
    &lt;span class=&quot;code-quote&quot;&gt;&quot;event-time&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;2022-02-18T18:04:25.214583+01:00&quot;&lt;/span&gt;
  }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The first issue is that the top two elements have incorrect namespaces:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;the first should be &quot;ietf-restconf:notification&quot;, as per &lt;a href=&quot;https://www.rfc-editor.org/rfc/rfc8040#page-72&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.rfc-editor.org/rfc/rfc8040#page-72&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;the second should be &quot;sal-remote:data-changed-notification&quot; as per JSON encoding rules&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The second problem, shared with XML encoding, is how  &apos;path&apos; element&apos;s name is encoded. This is using AbstractWebsocketSerializer.convertPath(), which is ... funky to say the least. It pretends to use the JSON encoding, but does not use module names but XMLNamespaces ... and changes them by replacing all &apos;:&apos;s with &apos;-&apos;s. Just to pick on it a bit more, it does not eliminate unneeded namespace references.&lt;/p&gt;

&lt;p&gt;All of this needs to be fixed up, but means we are changing our external interface, so the fix should be only delivered to netconf-7.&lt;/p&gt;</description>
                <environment></environment>
        <key id="37324">NETCONF-1152</key>
            <summary>RESTCONF DataTreeChange notifications use incorrect format</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.opendaylight.org/images/icons/priorities/blocker.svg">Highest</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="10000">Done</resolution>
                                        <assignee username="rovarga">Robert Varga</assignee>
                                    <reporter username="rovarga">Robert Varga</reporter>
                        <labels>
                            <label>pt</label>
                    </labels>
                <created>Thu, 7 Sep 2023 13:13:26 +0000</created>
                <updated>Tue, 12 Sep 2023 17:36:56 +0000</updated>
                            <resolved>Tue, 12 Sep 2023 17:36:56 +0000</resolved>
                                    <version>2.0.17</version>
                    <version>3.0.9</version>
                    <version>5.0.7</version>
                    <version>4.0.8</version>
                    <version>6.0.2</version>
                                    <fixVersion>7.0.0</fixVersion>
                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                        <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|i046h3:</customfieldvalue>

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