<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:56 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>[CONTROLLER-810] getting XML from RESTCONF results in unreadable namespaces (zdef#)</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-810</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;For example fetching the TTP XML from RESTCONF starts like this:&lt;/p&gt;

&lt;p&gt;GET &lt;a href=&quot;http://localhost:8181/restconf/config/onf-ttp:opendaylight-ttps/onf-ttp:table-type-patterns/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/onf-ttp:opendaylight-ttps/onf-ttp:table-type-patterns/&lt;/a&gt;&lt;br/&gt;
Header: &quot;Accept: application/xml&quot;&lt;/p&gt;

&lt;p&gt;&amp;lt;zdef-178745529:table-type-patterns xmlns:zdef-178745529=&quot;urn:onf:ttp&quot;&amp;gt;&lt;br/&gt;
  &amp;lt;zdef-178745529:table-type-pattern&amp;gt;&lt;br/&gt;
    &amp;lt;zdef-178745529:identifiers&amp;gt;&lt;br/&gt;
      &amp;lt;zdef-178745529:var&amp;gt;&amp;lt;subnet_VID&amp;gt;&amp;lt;/zdef-178745529:var&amp;gt;&lt;br/&gt;
      &amp;lt;zdef-178745529:doc&amp;gt;The VLAN ID of a locally attached L2 subnet on a Router.    &amp;lt;/zdef-178745529:doc&amp;gt;&lt;br/&gt;
    &amp;lt;/zdef-178745529:identifiers&amp;gt;&lt;br/&gt;
    &amp;lt;zdef-178745529:identifiers&amp;gt;&lt;br/&gt;
      &amp;lt;zdef-178745529:var&amp;gt;&amp;lt;group_entry_types/name&amp;gt;&amp;lt;/zdef-178745529:var&amp;gt;&lt;br/&gt;
      &amp;lt;zdef-178745529:doc&amp;gt;of the type indicated by the variable name&amp;lt;/zdef-178745529:doc&amp;gt;&lt;br/&gt;
      &amp;lt;zdef-178745529:doc&amp;gt;An OpenFlow group identifier (integer) identifying a group table entry&amp;lt;/zdef-178745529:doc&amp;gt;&lt;br/&gt;
    &amp;lt;/zdef-178745529:identifiers&amp;gt;&lt;br/&gt;
  &amp;lt;/zdef-178745529:table-type-pattern&amp;gt;&lt;br/&gt;
&amp;lt;/zdef-178745529:table-type-patterns&amp;gt;&lt;/p&gt;

&lt;p&gt;After posting this:&lt;/p&gt;


&lt;p&gt;PUT: &lt;a href=&quot;http://localhost:8181/restconf/config/onf-ttp:opendaylight-ttps/onf-ttp:table-type-patterns/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/onf-ttp:opendaylight-ttps/onf-ttp:table-type-patterns/&lt;/a&gt;&lt;br/&gt;
Headers: &quot;Content-Type: application/json&quot;&lt;/p&gt;

&lt;p&gt;{&lt;br/&gt;
  &quot;table-type-patterns&quot;: {&lt;br/&gt;
  &quot;table-type-pattern&quot;: [&lt;br/&gt;
    {&lt;br/&gt;
      &quot;identifiers&quot;: [&lt;br/&gt;
        &lt;/p&gt;
{
          &quot;var&quot;: &quot;&amp;lt;subnet_VID&amp;gt;&quot;,
          &quot;doc&quot;: [
            &quot;The VLAN ID of a locally attached L2 subnet on a Router.&quot;
          ]
        }
&lt;p&gt;,&lt;/p&gt;
        {
          &quot;var&quot;: &quot;&amp;lt;group_entry_types/name&amp;gt;&quot;,
          &quot;doc&quot;: [
            &quot;An OpenFlow group identifier (integer) identifying a group table entry&quot;,
            &quot;of the type indicated by the variable name&quot;
          ]
        }
&lt;p&gt;      ]&lt;br/&gt;
    }&lt;br/&gt;
  ]&lt;br/&gt;
}&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;The number after zdef appears to be random and changes on &lt;b&gt;every&lt;/b&gt; request making simple comparisons impossible in addition to very user unfriendly.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25364">CONTROLLER-810</key>
            <summary>getting XML from RESTCONF results in unreadable namespaces (zdef#)</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <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="tony.tkacik@gmail.com">Tony Tkacik</assignee>
                                    <reporter username="colindixon">Colin Dixon</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Sep 2014 16:55:57 +0000</created>
                <updated>Fri, 17 Oct 2014 09:18:03 +0000</updated>
                            <resolved>Fri, 17 Oct 2014 09:18:03 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>restconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="49134" author="tony.tkacik@gmail.com" created="Fri, 12 Sep 2014 15:30:55 +0000"  >&lt;p&gt;This is more of consmetic issue. zdef- namespaces were introduced when we switched to XMLStream APIs for streaming content from datastore, instead of creating xml and then sending it.&lt;/p&gt;

&lt;p&gt;zdef- namespaces are introduced by isNamespaceRepairing flag, which checks&lt;br/&gt;
and adds missing namespace definitions if necessary, this could be turned off&lt;br/&gt;
now, since we qualified codec which uses XMLStreamWriterto proper &lt;br/&gt;
emit namespace when necessary.&lt;/p&gt;


&lt;p&gt;This Yangtools patchset will remove zdef for all elements except root of the mountpoint&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/11109/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/11109/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This patchset will remove zdef for mountpoints and turn off namespace repairing function from XMLStreamWriter API (which will increase performance):&lt;/p&gt;


&lt;p&gt;The controller patch needs to be merged after yangtools one.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/11110/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/11110/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="22717">YANGTOOLS-297</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1818</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=1818]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10372"><![CDATA[Helium-RC2]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02mp3:</customfieldvalue>

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