<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:33 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>[CONTROLLER-655] Config-sub sys code generator not handling container with uses statement</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-655</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;The config code generator reports an error when using the a config with a container containing a &quot;uses&quot; statement. The generator accepts the uses statement without the container.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; yang-to-sources: Unable to generate sources with org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator generator&lt;br/&gt;
java.lang.IllegalStateException: Unexpected &apos;refine&apos; child node size of container authz-data&lt;br/&gt;
    at com.google.common.base.Preconditions.checkState(Preconditions.java:149)&lt;br/&gt;
    at org.opendaylight.controller.config.yangjmxgenerator.ModuleMXBeanEntryBuilder.extractDependency(ModuleMXBeanEntryBuilder.java:473)&lt;br/&gt;
    at org.opendaylight.controller.config.yangjmxgenerator.ModuleMXBeanEntryBuilder.getAttributeValue(ModuleMXBeanEntryBuilder.java:443)&lt;br/&gt;
    at org.opendaylight.controller.config.yangjmxgenerator.ModuleMXBeanEntryBuilder.fillConfiguration(ModuleMXBeanEntryBuilder.java:411)&lt;br/&gt;
    at org.opendaylight.controller.config.yangjmxgenerator.ModuleMXBeanEntryBuilder.processChoiceCaseNode(ModuleMXBeanEntryBuilder.java:274)&lt;br/&gt;
    at org.opendaylight.controller.config.yangjmxgenerator.ModuleMXBeanEntryBuilder.build(ModuleMXBeanEntryBuilder.java:137)&lt;br/&gt;
    at org.opendaylight.controller.config.yangjmxgenerator.ModuleMXBeanEntry.create(ModuleMXBeanEntry.java:160)&lt;br/&gt;
    at org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator.generateSources(JMXGenerator.java:134)&lt;/p&gt;

&lt;p&gt;module aaa-authz-service-impl {&lt;/p&gt;

&lt;p&gt;    yang-version 1;&lt;br/&gt;
    namespace &quot;urn:opendaylight:params:xml:ns:yang:controller:config:aaa-authz:srv&quot;;&lt;br/&gt;
    prefix &quot;aaa-authz-srv-impl&quot;;&lt;/p&gt;

&lt;p&gt;    import config &lt;/p&gt;
{ prefix config; revision-date 2013-04-05; }
&lt;p&gt;    import opendaylight-md-sal-binding &lt;/p&gt;
{ prefix mdsal; revision-date 2013-10-28; }
&lt;p&gt;    import authorization-schema &lt;/p&gt;
{ prefix authzs; revision-date 2014-07-22; }


&lt;p&gt;    revision &quot;2014-07-01&quot; &lt;/p&gt;
{
        description
            &quot;Initial revision.&quot;;
    }

&lt;p&gt;    // This is the definition of the service implementation as a module identity.&lt;br/&gt;
    identity aaa-authz-service &lt;/p&gt;
{
            base config:module-type;

            // Specifies the prefix for generated java classes.
            config:java-name-prefix AuthzSrv;
    }

&lt;p&gt;    // Augments the &apos;configuration&apos; choice node under modules/module.&lt;br/&gt;
    augment &quot;/config:modules/config:module/config:configuration&quot; {&lt;br/&gt;
        case aaa-authz-service {&lt;br/&gt;
            when &quot;/config:modules/config:module/config:type = &apos;aaa-authz-service&apos;&quot;;&lt;/p&gt;

&lt;p&gt;            container data-broker {&lt;br/&gt;
                uses config:service-ref {&lt;br/&gt;
                    refine type &lt;/p&gt;
{
                        mandatory false;
                        config:required-identity mdsal:binding-data-broker;

                    }
&lt;p&gt;                }&lt;br/&gt;
            }&lt;/p&gt;


&lt;p&gt;           container authz-data &lt;/p&gt;
{
                 uses authzs:authorization-grp;
           }

&lt;p&gt;            }&lt;br/&gt;
  }&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25209">CONTROLLER-655</key>
            <summary>Config-sub sys code generator not handling container with uses statement</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="mmarsale@cisco.com">Maros Marsalek</assignee>
                                    <reporter username="wojdec">Wojciech Dec</reporter>
                        <labels>
                    </labels>
                <created>Tue, 29 Jul 2014 21:34:49 +0000</created>
                <updated>Wed, 30 Jul 2014 10:41:09 +0000</updated>
                            <resolved>Wed, 30 Jul 2014 10:41:09 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>config</component>
                        <due>Thu, 31 Jul 2014 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="48786" author="mmarsale@cisco.com" created="Wed, 30 Jul 2014 10:41:09 +0000"  >&lt;p&gt;Hi Wojciech,&lt;/p&gt;

&lt;p&gt;I fixed very similar bug (probably the same) yesterday. It was 1410. Could you please re-check with latest code for ODL ? The fix is already merged into master.&lt;/p&gt;

&lt;p&gt;Changing status to works for me, please recheck and reopen if necessary. &lt;br/&gt;
Providing the schema for grouping authzs:authorization-grp; might be helpful if the fix does not work for you.&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>1451</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=1451]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10363"><![CDATA[Helium-M4]]></customfieldvalue>

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

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