<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:43 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-596] Make bits serialization sorted (by position)</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-596</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;Yang specification describes canonical form for bits to be ordered by position: &lt;a href=&quot;http://tools.ietf.org/html/rfc6020#section-9.7.3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://tools.ietf.org/html/rfc6020#section-9.7.3&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But yang-data-api specifies:&lt;br/&gt;
  public interface BitsCodec&amp;lt;T&amp;gt; extends Codec&amp;lt;T, Set&amp;lt;String&amp;gt;&amp;gt;{&lt;br/&gt;
and Set loses the ordering.&lt;br/&gt;
This makes ODL report bits in pseudorandom order, which is not nice as users need more logic to compare outputs, or convert them to canonical form if needed.&lt;/p&gt;

&lt;p&gt;getBits() of BitsTypeDefinition already is a List, so it can preserve given ordering. But BitsCodes API change is required to make the ordering visible for serialization. Also, BitsTypeBuilder.build() is already aware of positions, but it does not use this information when passing arguments to constructor of BaseBitsType (usinging positionMap as a TreeMap could fix that).&lt;/p&gt;

&lt;p&gt;As this improvement requires an API change, it could be done as part of Binding Specification v2 initiative.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23016">YANGTOOLS-596</key>
            <summary>Make bits serialization sorted (by position)</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="10000">Done</resolution>
                                        <assignee username="rovarga">Robert Varga</assignee>
                                    <reporter username="vrpolak">Vratko Polak</reporter>
                        <labels>
                    </labels>
                <created>Fri, 18 Mar 2016 17:26:20 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:45 +0000</updated>
                            <resolved>Tue, 18 Oct 2016 15:05:29 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="43836" author="rovarga" created="Mon, 5 Sep 2016 12:38:02 +0000"  >&lt;p&gt;java.util.Set does not specify iteration order, it only defines hashCode() and equals(). Iteration order is a property of an implementation and there certainly are implementations which have predictable iteration order: ImmutableSet, LinkedHashSet, for example.&lt;/p&gt;

&lt;p&gt;Hence there is no need to change APIs.&lt;/p&gt;</comment>
                            <comment id="43837" author="rovarga" created="Mon, 5 Sep 2016 13:26:04 +0000"  >&lt;p&gt;master: &lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=5561&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=5561&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="43838" author="rovarga" created="Mon, 5 Sep 2016 13:26:23 +0000"  >&lt;p&gt;master: &lt;a href=&quot;https://git.opendaylight.org/gerrit/45158&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/45158&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="43839" author="rovarga" created="Mon, 5 Sep 2016 14:43:53 +0000"  >&lt;p&gt;mdsal part for BA-&amp;gt;BI: &lt;a href=&quot;https://git.opendaylight.org/gerrit/45158&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/45158&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="43840" author="rovarga" created="Thu, 8 Sep 2016 10:54:33 +0000"  >&lt;p&gt;last link should be &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/45161/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/45161/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="43841" author="rgoulding" created="Tue, 18 Oct 2016 15:05:29 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/47014/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/47014/&lt;/a&gt;&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>5561</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=5561]]></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="10307"><![CDATA[Boron-1]]></customfieldvalue>

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

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