<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:16:47 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-1144] Referencing nonexistent schemas on branches 4 and 5</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-1144</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;When creating references to schemas we create reference to the schema within the json mime type, which correctly references an existing schema. We do the same for xml mime type except we add the &quot;_xml&quot; suffix.&lt;/p&gt;

&lt;p&gt;This is problem as we are not creating schema with such name, so we end up with&lt;br/&gt;
incorrect references, thus with incorrect request/response body.&lt;/p&gt;

&lt;p&gt;This problem with &quot;_xml&quot; schema references is not present on master branch and neither on the branch 6, but affects branches 4 and 5.&lt;/p&gt;

&lt;p&gt;Possible solutions are:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;create the extra schemas that are not created, but are being referenced
	&lt;ul&gt;
		&lt;li&gt;might be as easy as just creating schema with the &quot;_xml&quot; suffix and make it reference the non-suffixed schema&lt;/li&gt;
		&lt;li&gt;this however will increase our already high number of schemas&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;apply change from master that removes &quot;_xml&quot; and &quot;_post&quot; suffixed schemas
	&lt;ul&gt;
		&lt;li&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/c/netconf/+/105042&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/netconf/+/105042&lt;/a&gt;&lt;/li&gt;
		&lt;li&gt;preferred solution to the previous as it simplifies the whole swagger document and reduces the number of schemas&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;NOTE:&lt;/p&gt;

&lt;p&gt;This is different issue than &lt;a href=&quot;https://jira.opendaylight.org/browse/NETCONF-1133&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.opendaylight.org/browse/NETCONF-1133&lt;/a&gt; , which also deals incorrect schema reference, but that deals with the reference in root POST operation, which affects all branches (this issue affects only branches 4 and 5).&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="37306">NETCONF-1144</key>
            <summary>Referencing nonexistent schemas on branches 4 and 5</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</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="SamoSchneider">Samuel Schneider</assignee>
                                    <reporter username="simon0pt">&#352;imon Uku&#353;</reporter>
                        <labels>
                            <label>pt</label>
                    </labels>
                <created>Wed, 30 Aug 2023 08:39:37 +0000</created>
                <updated>Tue, 9 Jan 2024 12:59:19 +0000</updated>
                            <resolved>Wed, 8 Nov 2023 14:07:44 +0000</resolved>
                                                    <fixVersion>4.0.9</fixVersion>
                    <fixVersion>5.0.8</fixVersion>
                                    <component>restconf-openapi</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="72646" author="JIRAUSER14508" created="Thu, 12 Oct 2023 14:36:30 +0000"  >&lt;p&gt;This issue was resolved by Cherry picks:&lt;br/&gt;
4.0.x : &lt;a href=&quot;https://git.opendaylight.org/gerrit/c/netconf/+/107568&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/netconf/+/107568&lt;/a&gt;&lt;br/&gt;
5.0.x : &lt;a href=&quot;https://git.opendaylight.org/gerrit/c/netconf/+/107567&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/netconf/+/107567&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As was proposed by possible solution #2.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="37195">NETCONF-1133</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="19101" name="incorrect-schema-ref-on-5-branch.jpg" size="192934" author="simon0pt" created="Wed, 30 Aug 2023 08:54:39 +0000"/>
                    </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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i046d3:</customfieldvalue>

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