<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:55: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>[CONTROLLER-1367] Rpc via restconf using json returns &quot;Error parsing input: Incorrec nesting caused by parser.&quot;</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1367</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;The same rpc invocation via restconf using xml works. Nothing appeared in karaf.log (root set to INFO).&lt;/p&gt;

&lt;p&gt;This is working xml input:&lt;br/&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&amp;gt;&lt;br/&gt;
&amp;lt;input xmlns=&quot;urn:opendaylight:bulk-flow:service&quot;&amp;gt;&lt;/p&gt;

&lt;p&gt;    &amp;lt;bulk-flow-item&amp;gt;&lt;/p&gt;

&lt;p&gt;      &amp;lt;node xmlns:inv=&quot;urn:opendaylight:inventory&quot;&amp;gt;/inv:nodes/inv:node&lt;span class=&quot;error&quot;&gt;&amp;#91;inv:id=&amp;quot;openflow:1&amp;quot;&amp;#93;&lt;/span&gt;&amp;lt;/node&amp;gt;&lt;br/&gt;
      &amp;lt;table_id&amp;gt;0&amp;lt;/table_id&amp;gt;&lt;/p&gt;

&lt;p&gt;      &amp;lt;cookie&amp;gt;142&amp;lt;/cookie&amp;gt;&lt;br/&gt;
      &amp;lt;priority&amp;gt;0&amp;lt;/priority&amp;gt;&lt;br/&gt;
      &amp;lt;strict&amp;gt;false&amp;lt;/strict&amp;gt;&lt;br/&gt;
      &amp;lt;flags&amp;gt;SEND_FLOW_REM&amp;lt;/flags&amp;gt;&lt;br/&gt;
      &amp;lt;hard-timeout&amp;gt;0&amp;lt;/hard-timeout&amp;gt;&lt;br/&gt;
      &amp;lt;idle-timeout&amp;gt;0&amp;lt;/idle-timeout&amp;gt;&lt;br/&gt;
      &amp;lt;instructions&amp;gt;&lt;br/&gt;
        &amp;lt;instruction&amp;gt;&lt;br/&gt;
          &amp;lt;apply-actions&amp;gt;&lt;br/&gt;
            &amp;lt;action&amp;gt;&lt;br/&gt;
              &amp;lt;dec-nw-ttl/&amp;gt;&lt;br/&gt;
              &amp;lt;order&amp;gt;0&amp;lt;/order&amp;gt;&lt;br/&gt;
            &amp;lt;/action&amp;gt;&lt;br/&gt;
          &amp;lt;/apply-actions&amp;gt;&lt;br/&gt;
          &amp;lt;order&amp;gt;0&amp;lt;/order&amp;gt;&lt;br/&gt;
        &amp;lt;/instruction&amp;gt;&lt;br/&gt;
      &amp;lt;/instructions&amp;gt;&lt;br/&gt;
      &amp;lt;match&amp;gt;&lt;br/&gt;
        &amp;lt;ethernet-match&amp;gt;&lt;br/&gt;
          &amp;lt;ethernet-type&amp;gt;&lt;br/&gt;
            &amp;lt;type&amp;gt;2048&amp;lt;/type&amp;gt;&lt;br/&gt;
          &amp;lt;/ethernet-type&amp;gt;&lt;br/&gt;
        &amp;lt;/ethernet-match&amp;gt;&lt;br/&gt;
        &amp;lt;ipv4-destination&amp;gt;10.0.1.0/24&amp;lt;/ipv4-destination&amp;gt;&lt;br/&gt;
      &amp;lt;/match&amp;gt;&lt;br/&gt;
    &amp;lt;/bulk-flow-item&amp;gt;&lt;br/&gt;
&amp;lt;/input&amp;gt;&lt;/p&gt;

&lt;p&gt;This is corresponding json (not working):&lt;br/&gt;
{&quot;input&quot;: [&lt;br/&gt;
    {&quot;bulk-flow-item&quot;: {&lt;br/&gt;
        &quot;node&quot;: &quot;/opendaylight-inventory:nodes/node&lt;span class=&quot;error&quot;&gt;&amp;#91;opendaylight-inventory:id=\&amp;quot;openflow:1\&amp;quot;&amp;#93;&lt;/span&gt;&quot;,&lt;br/&gt;
        &quot;cookie&quot;: 142, &lt;br/&gt;
        &quot;flags&quot;: &quot;SEND_FLOW_REM&quot;, &lt;br/&gt;
        &quot;hard-timeout&quot;: 0, &lt;br/&gt;
        &quot;idle-timeout&quot;: 0, &lt;br/&gt;
        &quot;instructions&quot;: {&lt;br/&gt;
            &quot;instruction&quot;: [{&lt;br/&gt;
                &quot;apply-actions&quot;: {&lt;br/&gt;
                    &quot;action&quot;: [&lt;br/&gt;
                        {&lt;br/&gt;
                            &quot;dec-nw-ttl&quot;: {}, &lt;br/&gt;
                            &quot;order&quot;: 0&lt;br/&gt;
                        }&lt;br/&gt;
                    ]&lt;br/&gt;
                }, &lt;br/&gt;
                &quot;order&quot;: 0&lt;br/&gt;
            }]&lt;br/&gt;
        }, &lt;br/&gt;
        &quot;match&quot;: {&lt;br/&gt;
            &quot;ethernet-match&quot;: {&lt;br/&gt;
                &quot;ethernet-type&quot;: &lt;/p&gt;
{
                    &quot;type&quot;: 2048
                }
&lt;p&gt;            }, &lt;br/&gt;
            &quot;ipv4-destination&quot;: &quot;10.0.4.0/24&quot;&lt;br/&gt;
        }, &lt;br/&gt;
        &quot;priority&quot;: 0, &lt;br/&gt;
        &quot;table_id&quot;: 0&lt;br/&gt;
    }}&lt;br/&gt;
]}&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25921">CONTROLLER-1367</key>
            <summary>Rpc via restconf using json returns &quot;Error parsing input: Incorrec nesting caused by parser.&quot;</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="vdemcak@cisco.com">Vaclav Demcak</assignee>
                                    <reporter username="michal.rehak">Michal Rehak</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Jun 2015 09:51:27 +0000</created>
                <updated>Fri, 12 Jun 2015 09:34:08 +0000</updated>
                            <resolved>Fri, 12 Jun 2015 09:34:08 +0000</resolved>
                                    <version>Lithium</version>
                                                    <component>restconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="50830" author="tony.tkacik@gmail.com" created="Thu, 11 Jun 2015 10:16:11 +0000"  >&lt;p&gt;dec-nw-ttl is modeled as container or type empty?&lt;/p&gt;</comment>
                            <comment id="50831" author="mirehak@cisco.com" created="Fri, 12 Jun 2015 09:11:43 +0000"  >&lt;p&gt;case dec-nw-ttl-case {&lt;br/&gt;
                container dec-nw-ttl {&lt;br/&gt;
                }&lt;br/&gt;
             }&lt;/p&gt;</comment>
                            <comment id="50832" author="mirehak@cisco.com" created="Fri, 12 Jun 2015 09:34:08 +0000"  >&lt;p&gt;Actually there were 2 typos:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;in json there no list of bulk-flow-item elements (as in xml), but bulk-flow-item contains list of data objects&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&quot;node&quot;: &quot;/opendaylight-inventory:nodes/node&lt;span class=&quot;error&quot;&gt;&amp;#91;opendaylight-inventory:id=\&amp;quot;openflow:1\&amp;quot;&amp;#93;&lt;/span&gt;&quot;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;should be:&lt;/p&gt;

&lt;p&gt;&quot;node&quot;: &quot;/opendaylight-inventory:nodes/opendaylight-inventory:node&lt;span class=&quot;error&quot;&gt;&amp;#91;opendaylight-inventory:id=\&amp;quot;openflow:1\&amp;quot;&amp;#93;&lt;/span&gt;&quot;&lt;/p&gt;


&lt;p&gt;Now it works, sorry for false alarm.&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>3672</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=3672]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

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

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

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