<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:10:11 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>[MDSAL-589] $YangModuleInfoImpl not generated</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-589</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;When using module containing only extension(s), the $YangModuleInfoImpl.java class for this module is not generated.&lt;/p&gt;

&lt;p&gt;As a workaround, the extension module needs to contain at least one other element - It works when (at least) container or identity was added to module.&lt;/p&gt;

&lt;p&gt;module with extension defined:&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;
module extension-model {
    yang-version 1;
    namespace &lt;span class=&quot;code-quote&quot;&gt;&quot;extension-model&quot;&lt;/span&gt;;
    prefix &lt;span class=&quot;code-quote&quot;&gt;&quot;ex&quot;&lt;/span&gt;;

    revision &lt;span class=&quot;code-quote&quot;&gt;&quot;2020-08-13&quot;&lt;/span&gt; { }

    extension custom-ex {
        description &lt;span class=&quot;code-quote&quot;&gt;&quot;.....&quot;&lt;/span&gt;;
    }
}&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;module where extension is used:&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;
module main-model {
    yang-version 1;
    namespace &lt;span class=&quot;code-quote&quot;&gt;&quot;main-model&quot;&lt;/span&gt;;
    prefix &lt;span class=&quot;code-quote&quot;&gt;&quot;main&quot;&lt;/span&gt;;

    &lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; extension-model { prefix &lt;span class=&quot;code-quote&quot;&gt;&quot;ex&quot;&lt;/span&gt;; }

    revision &lt;span class=&quot;code-quote&quot;&gt;&quot;2020-08-13&quot;&lt;/span&gt; { }

    container root-contaner {
        leaf leaf1 {
            type string;
            ex:custom-ex;
        }
    }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;for these it will not generate $YangModuleInfoImpl.java class file.&lt;/p&gt;

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

&lt;p&gt;the $YangModuleInfoImpl.java class will be generated if extension model is updated by adding dummy container:&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;
module extension-model {
    yang-version 1;
    namespace &lt;span class=&quot;code-quote&quot;&gt;&quot;extension-model&quot;&lt;/span&gt;;
    prefix &lt;span class=&quot;code-quote&quot;&gt;&quot;ex&quot;&lt;/span&gt;;

    revision &lt;span class=&quot;code-quote&quot;&gt;&quot;2020-08-13&quot;&lt;/span&gt; { }

    extension custom-ex {
        description &lt;span class=&quot;code-quote&quot;&gt;&quot;.....&quot;&lt;/span&gt;;
    }

    container dummy {
        &lt;span class=&quot;code-comment&quot;&gt;// necessary element in only extensions model
&lt;/span&gt;    }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Example models are shown also in gerrit change&#160;&lt;a href=&quot;https://git.opendaylight.org/gerrit/c/mdsal/+/92155&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;92155&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="33172">MDSAL-589</key>
            <summary>$YangModuleInfoImpl not generated</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="rovarga">Robert Varga</assignee>
                                    <reporter username="mibanik">Michal Banik</reporter>
                        <labels>
                    </labels>
                <created>Fri, 14 Aug 2020 16:42:28 +0000</created>
                <updated>Wed, 21 Oct 2020 14:40:51 +0000</updated>
                            <resolved>Wed, 21 Oct 2020 14:40:51 +0000</resolved>
                                                    <fixVersion>6.0.4</fixVersion>
                                    <component>Binding codegen</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="68636" author="rovarga" created="Mon, 21 Sep 2020 19:04:04 +0000"  >&lt;p&gt;I believe this was fixed 6+ years ago, in 45bb1442df2e0d1a762cbb44e95580caf89e3b11.&lt;/p&gt;</comment>
                            <comment id="68721" author="mibanik" created="Wed, 21 Oct 2020 14:40:51 +0000"  >&lt;p&gt;Hi Robert,&lt;/p&gt;

&lt;p&gt;I can confirm that it works for aluminium&lt;/p&gt;

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

&lt;p&gt;closing&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03uh3:</customfieldvalue>

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