<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:16:45 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-1128] Eliminate AbstractIdentifierAwareJaxRsProvider</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-1128</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;We are using this as a base class for Json/XmlNormalizedNodeBodyReader and Xml/JsonPatchBodyReader.&lt;/p&gt;

&lt;p&gt;In order to get the requisite information, we must rely on @Context-injected UriInfo and Request &amp;#8211; which &lt;a href=&quot;https://github.com/jakartaee/rest/issues/796&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;do not work on client-side anyway&lt;/a&gt; &amp;#8211; and based on these and InstanceIdentifier&apos;s content we make a ton of assumptions about what context the NormalizedNodePayload is being read.&lt;/p&gt;

&lt;p&gt;Those assumptions are easily eliminating by the actual users in RestconfDataServiceImpl and RestconfOperationsServiceImpl actually driving the parsing process.&lt;/p&gt;

&lt;p&gt;This means that all users relying on NormalizedNodePayload being injected as an argument, like:&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-java&quot;&gt;
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; void invokeRpc(@Encoded @PathParam(&lt;span class=&quot;code-quote&quot;&gt;&quot;identifier&quot;&lt;/span&gt;) &lt;span class=&quot;code-keyword&quot;&gt;final&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;String&lt;/span&gt; identifier,
            &lt;span class=&quot;code-keyword&quot;&gt;final&lt;/span&gt; NormalizedNodePayload payload, @Context &lt;span class=&quot;code-keyword&quot;&gt;final&lt;/span&gt; UriInfo uriInfo, @Suspended &lt;span class=&quot;code-keyword&quot;&gt;final&lt;/span&gt; AsyncResponse ar) {
    &lt;span class=&quot;code-comment&quot;&gt;// ...
&lt;/span&gt;    }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;need to actually start with creating an InstanceIdentifierContext (from identifier) and pass the proper parameters to the appropriate parser.&lt;/p&gt;

&lt;p&gt;For dealing with @Consumes variance, we only have two sets of input types (JSON, XML), so providing specialized methods for the two types.&lt;/p&gt;</description>
                <environment></environment>
        <key id="37187">NETCONF-1128</key>
            <summary>Eliminate AbstractIdentifierAwareJaxRsProvider</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</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>Tue, 8 Aug 2023 12:31:33 +0000</created>
                <updated>Sun, 10 Sep 2023 14:35:51 +0000</updated>
                            <resolved>Sun, 10 Sep 2023 14:35:51 +0000</resolved>
                                                    <fixVersion>7.0.0</fixVersion>
                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="37176">NETCONF-1118</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_10002" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>NETCONF-773</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0467r:</customfieldvalue>

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