<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:14:33 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-252] XML POST method not working correctly because of wrong xml reader parsing</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-252</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;karaf installed features:&lt;br/&gt;
odl-restconf-all&lt;br/&gt;
odl-netconf-topology&lt;/p&gt;

&lt;p&gt;When sending post request to create a mountpoint to some device&lt;br/&gt;
url:&lt;br/&gt;
&lt;a href=&quot;http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf&lt;/a&gt;&lt;br/&gt;
and payload:&lt;/p&gt;

&lt;p&gt; &amp;lt;node xmlns=&quot;urn:TBD:params:xml:ns:yang:network-topology&quot;&amp;gt;&lt;br/&gt;
   &amp;lt;node-id&amp;gt;new-netconf-device&amp;lt;/node-id&amp;gt;&lt;br/&gt;
   &amp;lt;host xmlns=&quot;urn:opendaylight:netconf-node-topology&quot;&amp;gt;127.0.0.1&amp;lt;/host&amp;gt;&lt;br/&gt;
   &amp;lt;port xmlns=&quot;urn:opendaylight:netconf-node-topology&quot;&amp;gt;17830&amp;lt;/port&amp;gt;&lt;br/&gt;
   &amp;lt;username xmlns=&quot;urn:opendaylight:netconf-node-topology&quot;&amp;gt;admin&amp;lt;/username&amp;gt;&lt;br/&gt;
   &amp;lt;password xmlns=&quot;urn:opendaylight:netconf-node-topology&quot;&amp;gt;admin&amp;lt;/password&amp;gt;&lt;br/&gt;
   &amp;lt;tcp-only xmlns=&quot;urn:opendaylight:netconf-node-topology&quot;&amp;gt;false&amp;lt;/tcp-only&amp;gt;&lt;br/&gt;
   &amp;lt;keepalive-delay xmlns=&quot;urn:opendaylight:netconf-node-topology&quot;&amp;gt;0&amp;lt;/keepalive-delay&amp;gt;&lt;br/&gt;
 &amp;lt;/node&amp;gt;&lt;/p&gt;

&lt;p&gt;readFrom function in XmlNormalizedNodeBodyReader class will parse to MapEntryNode and postDataViaTransaction in BrokerFacade class will submit the write transaction differently in compare to the request with same url and following payload:&lt;/p&gt;

&lt;p&gt; {&lt;br/&gt;
  &quot;node&quot;: &lt;/p&gt;
{
    &quot;node-id&quot;: &quot;new-netconf-device&quot;,
    &quot;host&quot;: &quot;0.0.0.0&quot;,
    &quot;port&quot;: &quot;9999&quot;,
    &quot;username&quot;:&quot;admin&quot;,
    &quot;password&quot;:&quot;admin&quot;,
    &quot;tcp-only&quot;: &quot;false&quot;
  }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;Which is same request in json but read from function in JsonNormalizedNodeBodyReader will parse this payload to MapNode.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21265">NETCONF-252</key>
            <summary>XML POST method not working correctly because of wrong xml reader parsing</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="-1">Unassigned</assignee>
                                    <reporter username="miroslav.kovac@pantheon.tech">Miroslav Kovac</reporter>
                        <labels>
                    </labels>
                <created>Mon, 8 Aug 2016 14:16:12 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:28 +0000</updated>
                            <resolved>Wed, 10 Aug 2016 09:14:19 +0000</resolved>
                                                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="39591" author="miroslav.kovac@pantheon.tech" created="Wed, 10 Aug 2016 09:14:19 +0000"  >&lt;p&gt;Fixed with other patch - &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/43316/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/43316/1&lt;/a&gt;&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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6359</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=6359]]></customfieldvalue>

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

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

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