<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:08:23 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-3] MacAddress flaws</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-3</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;Greetings,&lt;br/&gt;
in ietf-yang-types project there is generated class MacAddress having following flaws:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Pattern is not thread safe - should not be compiled once in static block&lt;/li&gt;
	&lt;li&gt;field patterns is not accessible so it can&apos;t be really validated&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Questions/Suggestions:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;why is it not validated in contructor (string version)?&lt;/li&gt;
	&lt;li&gt;if it is not efficient to validate at creation time, can the regex pattern list be exposed to validate later?&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26825">MDSAL-3</key>
            <summary>MacAddress flaws</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</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="10000">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="michal.rehak">Michal Rehak</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 Dec 2013 10:37:54 +0000</created>
                <updated>Fri, 9 Mar 2018 18:00:01 +0000</updated>
                            <resolved>Mon, 17 Oct 2016 08:25:41 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="53907" author="rovarga" created="Thu, 23 Jan 2014 14:59:58 +0000"  >&lt;p&gt;The thread safety issues have been fixed. The proposed changes will be address after Hydrogen release by introducing a static factory method of the form:&lt;/p&gt;

&lt;p&gt;public static MacAddress checkedCreate(String value);&lt;/p&gt;

&lt;p&gt;which will perform validation.&lt;/p&gt;</comment>
                            <comment id="53908" author="jgloncak" created="Wed, 5 Mar 2014 13:38:08 +0000"  >&lt;p&gt;investigating&lt;/p&gt;</comment>
                            <comment id="53909" author="jgloncak" created="Tue, 11 Mar 2014 07:13:55 +0000"  >&lt;p&gt;following changes were made&lt;br/&gt;
method checkedCreate generation was added to ClassTemplate.xtend&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;situation when union type is generated isn&apos;t fixed (how many&lt;br/&gt;
  checkedCreate methods should be generated - one for every union type&lt;br/&gt;
  with pattern or one common checkedCreate method?)&lt;/li&gt;
	&lt;li&gt;building constant PATTERN_CONSTANT_NAME and pattern list was removed&lt;br/&gt;
  from TypeProviderImpl and was moved directly to ClassTemplate.xtend&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/5589/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/5589/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53910" author="rovarga" created="Wed, 18 Mar 2015 13:05:00 +0000"  >&lt;p&gt;This has been partially fixed. The checkCreate has not been created and needs to be addressed in the next binding spec.&lt;/p&gt;</comment>
                            <comment id="53911" author="rovarga" created="Mon, 17 Oct 2016 08:25:41 +0000"  >&lt;p&gt;Patterns are enforced in the constructor and there is an IetfInetUtils class to help with known-good MAC address creation.&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>210</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=210]]></customfieldvalue>

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

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10301"><![CDATA[Normal]]></customfieldvalue>

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

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