<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:09:35 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-350] Binding codegen should not tolerate duplicate files</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-350</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;Duplicate classes are indicative of a mapping conflict and we should not merely warn on them, but rather fail the build unless instructed otherwise.&lt;/p&gt;

&lt;p&gt;Refactor org.opendaylight.mdsal.binding.java.api.generator.GeneratorJavaFile and org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl to perform two-stage file/codegen mapping so that they lazily map files/content.&lt;/p&gt;

&lt;p&gt;GeneratorJavaFile.generateToFile() needs to be updated to return Map&amp;lt;File, CharSource&amp;gt;, which will contain unique mapping. It should take a flag indicating whether conflicts should cause an abort or should be ignored. CodeGeneratorImpl needs to then perform the actual generation output and route maven configuration to that flag.&lt;/p&gt;</description>
                <environment></environment>
        <key id="30142">MDSAL-350</key>
            <summary>Binding codegen should not tolerate duplicate files</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</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>Mon, 18 Jun 2018 09:56:17 +0000</created>
                <updated>Mon, 15 Jan 2024 20:32:43 +0000</updated>
                                                            <fixVersion>14.0.0</fixVersion>
                                    <component>Binding codegen</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="69317" author="rovarga" created="Fri, 18 Jun 2021 14:51:06 +0000"  >&lt;p&gt;This still requires dealing with Builder naming, as we have a test which explodes on this, i.e. we have:&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 &lt;span class=&quot;code-keyword&quot;&gt;class-&lt;/span&gt;name-collision {
 &#160;&#160;&#160;yang-version 1;
 &#160;&#160;&#160;namespace &lt;span class=&quot;code-quote&quot;&gt;&quot;urn:&lt;span class=&quot;code-keyword&quot;&gt;class:&lt;/span&gt;name:collision&quot;&lt;/span&gt;;
 &#160;&#160;&#160;prefix &lt;span class=&quot;code-quote&quot;&gt;&quot;bar&quot;&lt;/span&gt;;

 &#160;&#160;&#160;list string {

 &#160;&#160;&#160;}

 &#160;&#160;&#160;list string-builder {

 &#160;&#160;&#160;}
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;i.e. we explode on StringBuilder being claimed by two entities.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="30143">OPNFLWPLUG-1019</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="29602">MDSAL-332</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="30286">TSC-127</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03fn3:</customfieldvalue>

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