<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:05 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-461] RPC with all optional parameters returns 200 but is not invoked without content-type header</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-461</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;Clients can get a 200 back from a POST that is invoking an RPC that has &lt;br/&gt;
all optional parameters but the RPC is actually never called. The code&lt;br/&gt;
flow ends up in a @deprecated method (see details below).&lt;/p&gt;

&lt;p&gt;The call stack that leads to invoking the RPC go through RestconfCompositeWrapper in the first method below and those that fail to invoke the RPC go through the second method below (which happens to be deprecated)&lt;br/&gt;
(line 64)&lt;br/&gt;
@Override&lt;br/&gt;
public NormalizedNodeContext invokeRpc(final String identifier, final NormalizedNodeContext payload,&lt;br/&gt;
final UriInfo uriInfo)&lt;/p&gt;
{ return this.restconf.invokeRpc(identifier, payload, uriInfo); }
&lt;p&gt;@Override&lt;br/&gt;
@Deprecated&lt;br/&gt;
public NormalizedNodeContext invokeRpc(final String identifier, final String noPayload, final UriInfo uriInfo)&lt;/p&gt;
{ return this.restconf.invokeRpc(identifier, noPayload, uriInfo); }
&lt;p&gt;Lower on the call stack is the HttpMethodRule which uses a HttpMethodRule.Matcher around&lt;br/&gt;
line 100 that uses the request media type in trying to figure out which method to call above.&lt;br/&gt;
With CURL, the media type is set to &quot;application/json&quot; on the command line. With swagger,&lt;br/&gt;
the media type is coming in as &quot;text/plain&quot; even though the swagger ui shows &quot;application/json&quot;. So this is also a bug in swagger right now.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21474">NETCONF-461</key>
            <summary>RPC with all optional parameters returns 200 but is not invoked without content-type header</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="ivanm1996">Ivan Martiniak</assignee>
                                    <reporter username="aclarke@pobox.com">Allan Clarke</reporter>
                        <labels>
                    </labels>
                <created>Thu, 24 Aug 2017 19:37:04 +0000</created>
                <updated>Fri, 3 Dec 2021 06:43:45 +0000</updated>
                            <resolved>Fri, 3 Dec 2021 06:43:45 +0000</resolved>
                                                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="70317" author="JIRAUSER14303" created="Thu, 2 Dec 2021 17:23:11 +0000"  >&lt;p&gt;As code has shifted, issue is not reproducible anymore.&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>9052</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=9052]]></customfieldvalue>

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

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