<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:54:15 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>[YANGTOOLS-765] yang-common: allow application-specific RpcErrors</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-765</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;yang.common.RpcError does not model &lt;a href=&quot;https://tools.ietf.org/html/rfc6241#section-4.3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tools.ietf.org/html/rfc6241#section-4.3&lt;/a&gt; correctly, specifically it misinterprets error-info as a String field, whereas the RFC defines it as a tag, which can be extended with richer content (&lt;a href=&quot;https://tools.ietf.org/html/rfc6241#appendix-A&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tools.ietf.org/html/rfc6241#appendix-A&lt;/a&gt;, see &apos;   error-tag: missing-attribute&apos;).&lt;/p&gt;

&lt;p&gt;At least the cases covered in RFC6241 need to be covered, but there seems to be appetite to add more: &lt;a href=&quot;https://lists.opendaylight.org/pipermail/yangtools-dev/2017-January/001730.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/yangtools-dev/2017-January/001730.html&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;We need to devise a way to channel this information in a way which will allow both XML and JSON encodings to work correctly. One way of achieving that would we to allow getInfo() to return a NormalizedNode structure, which would be allowed to only contain String leaves &amp;#8211; but that is not possible due to this class being shared by both BI and BA applications. We may need to move RpcResult to its proper domain, i.e. have it defined in md-sal for both BA and BI interfaces and perform transcoding.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23185">YANGTOOLS-765</key>
            <summary>yang-common: allow application-specific RpcErrors</summary>
                <type id="10103" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10311&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="1" iconUrl="https://jira.opendaylight.org/images/icons/priorities/blocker.svg">Highest</priority>
                        <status id="10003" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Confirmed</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="rovarga">Robert Varga</reporter>
                        <labels>
                    </labels>
                <created>Wed, 22 Mar 2017 13:50:38 +0000</created>
                <updated>Tue, 19 Sep 2023 16:21:09 +0000</updated>
                                                            <fixVersion>14.0.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="44392" author="vrpolak" created="Wed, 27 Sep 2017 14:39:27 +0000"  >&lt;p&gt;&amp;gt; does not model &lt;a href=&quot;https://tools.ietf.org/html/rfc6241#section-4.3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tools.ietf.org/html/rfc6241#section-4.3&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Are there any gotchas which would prevent us writing a Yang model to define the allowed structure?&lt;br/&gt;
Or perhaps the XML/JSON serialization would need to behave differently from our usual codecs for yang modeled data?&lt;/p&gt;</comment>
                            <comment id="68631" author="rovarga" created="Mon, 21 Sep 2020 09:56:04 +0000"  >&lt;p&gt;Well, first of all the data is not instantiated in the tree, hence it requires either RFC8040 yang-data or RFC8791 structure extension. The second is that the namespace itself seems to be rooted in RFC6241. The third is that this needs to be correctly mapped across all the spaces.&lt;/p&gt;</comment>
                            <comment id="68632" author="rovarga" created="Mon, 21 Sep 2020 10:02:28 +0000"  >&lt;p&gt;We need the parser to understand RFC8791 constructs. We then need to a yang-data-api binding for those, which could be as simple as ContainerNode.&lt;/p&gt;

&lt;p&gt;We then need to decide what to do with yang-common implications.&lt;/p&gt;

&lt;p&gt;Finally, we want the yang-{model,data}-api model of RpcError be mirrored in MD-SAL&apos;s DOM layer. We want to generate bindings from RFC8791 constructs and have those be present in errors.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="32788">YANGTOOLS-1113</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="22596">YANGTOOLS-176</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>YANGTOOLS-1023</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8047</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=8047]]></customfieldvalue>

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

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

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