<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:52:32 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-195] MDSAL code generator ignores &quot;uses&quot; in RPC input args</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-195</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;If you generate code for the following yang model using org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl&lt;/p&gt;

&lt;p&gt;grouping global-fields {&lt;br/&gt;
   leaf glob-id &lt;/p&gt;
{type uint32;}&lt;br/&gt;
}&lt;br/&gt;
&lt;br/&gt;
rpc myRPC {&lt;br/&gt;
&lt;br/&gt;
     input {&lt;br/&gt;
          leaf id {type uint32;}
&lt;p&gt;          uses global-fields;&lt;br/&gt;
      }&lt;br/&gt;
     output {&lt;br/&gt;
           leaf success &lt;/p&gt;
{type boolean;}
&lt;p&gt;      }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;the myRPCInput interface does not contain getter for &quot;glob-id&quot; field.&lt;br/&gt;
I think the code generator cannot handle &quot;uses&quot; statement in RPC input arg.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="22615">YANGTOOLS-195</key>
            <summary>MDSAL code generator ignores &quot;uses&quot; in RPC input args</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="-1">Unassigned</assignee>
                                    <reporter username="ashwin.pankaj@hotmail.com">Ashwin Pankaj</reporter>
                        <labels>
                    </labels>
                <created>Fri, 27 Jun 2014 04:54:23 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:08 +0000</updated>
                            <resolved>Fri, 27 Jun 2014 11:35:08 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="42815" author="mvitez@cisco.com" created="Fri, 27 Jun 2014 06:42:09 +0000"  >&lt;p&gt;Ashwin,&lt;br/&gt;
MyRPCInput interface does not contain getter for &quot;glob-id&quot; field, but it extends GlobalFields interface (the one generated for grouping), which contains this getter.&lt;/p&gt;</comment>
                            <comment id="42816" author="mvitez@cisco.com" created="Fri, 27 Jun 2014 07:42:58 +0000"  >&lt;p&gt;Actually, with newly merged changes it turns out that on MAC there could be a problem with yangtools. If this is your case, please specify your OS version and JVM version.&lt;/p&gt;</comment>
                            <comment id="42817" author="tony.tkacik@gmail.com" created="Fri, 27 Jun 2014 07:44:55 +0000"  >&lt;p&gt;Probably similar problem in controller&lt;/p&gt;


&lt;p&gt;1&lt;br/&gt;
2&lt;br/&gt;
3&lt;br/&gt;
4&lt;br/&gt;
5&lt;br/&gt;
6&lt;br/&gt;
7&lt;br/&gt;
8&lt;br/&gt;
9&lt;br/&gt;
10&lt;br/&gt;
11&lt;br/&gt;
12&lt;br/&gt;
13&lt;br/&gt;
14&lt;br/&gt;
15&lt;br/&gt;
16&lt;br/&gt;
17&lt;br/&gt;
18&lt;br/&gt;
19&lt;br/&gt;
20&lt;br/&gt;
21&lt;br/&gt;
22&lt;br/&gt;
-------------------------------------------------------&lt;br/&gt;
 T E S T S&lt;br/&gt;
-------------------------------------------------------&lt;br/&gt;
Running org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizerTest&lt;br/&gt;
SLF4J: Failed to load class &quot;org.slf4j.impl.StaticLoggerBinder&quot;.&lt;br/&gt;
SLF4J: Defaulting to no-operation (NOP) logger implementation&lt;br/&gt;
SLF4J: See &lt;a href=&quot;http://www.slf4j.org/codes.html#StaticLoggerBinder&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.slf4j.org/codes.html#StaticLoggerBinder&lt;/a&gt; for further details.&lt;br/&gt;
Tests run: 10, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.016 sec &amp;lt;&amp;lt;&amp;lt; FAILURE! - in org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizerTest&lt;br/&gt;
testToLegacyNormalizedNode(org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizerTest)  Time elapsed: 0.26 sec  &amp;lt;&amp;lt;&amp;lt; FAILURE!&lt;br/&gt;
java.lang.AssertionError: Child node QName expected:&amp;lt;(urn:opendaylight:params:xml:ns:yang:controller:md:sal:normalization:test?revision=2014-03-13)inner-list&amp;gt; but was:&amp;lt;(urn:opendaylight:params:xml:ns:yang:controller:md:sal:normalization:test?revision=2014-03-13)id&amp;gt;&lt;br/&gt;
	at org.junit.Assert.fail(Assert.java:91)&lt;br/&gt;
	at org.junit.Assert.failNotEquals(Assert.java:645)&lt;br/&gt;
	at org.junit.Assert.assertEquals(Assert.java:126)&lt;br/&gt;
	at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizerTest.verifyLegacyNode(DataNormalizerTest.java:437)&lt;br/&gt;
	at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizerTest.verifyLegacyNode(DataNormalizerTest.java:441)&lt;br/&gt;
	at org.opendaylight.controller.md.sal.common.impl.util.compat.DataNormalizerTest.testToLegacyNormalizedNode(DataNormalizerTest.java:245)&lt;/p&gt;


&lt;p&gt;Results :&lt;/p&gt;

&lt;p&gt;Failed tests: &lt;br/&gt;
  DataNormalizerTest.testToLegacyNormalizedNode:245-&amp;gt;verifyLegacyNode:441-&amp;gt;verifyLegacyNode:437 Child node QName expected:&amp;lt;(urn:opendaylight:params:xml:ns:yang:controller:md:sal:normalization:test?revision=2014-03-13)inner-list&amp;gt; but was:&amp;lt;(urn:opendaylight:params:xml:ns:yang:controller:md:sal:normalization:test?revision=2014-03-13)id&lt;/p&gt;</comment>
                            <comment id="42818" author="ashwin.pankaj@hotmail.com" created="Fri, 27 Jun 2014 11:15:03 +0000"  >
&lt;p&gt;&amp;gt; Ashwin,&lt;br/&gt;
&amp;gt; MyRPCInput interface does not contain getter for &quot;glob-id&quot; field, but it&lt;br/&gt;
&amp;gt; extends GlobalFields interface (the one generated for grouping), which&lt;br/&gt;
&amp;gt; contains this getter.&lt;br/&gt;
Thanks Martin,&lt;br/&gt;
I just verified that this is the case. Should I close the bug?&lt;/p&gt;</comment>
                            <comment id="42819" author="mvitez@cisco.com" created="Fri, 27 Jun 2014 11:35:08 +0000"  >&lt;p&gt;Resolved, not a bug.&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>1251</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=1251]]></customfieldvalue>

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

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