<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:56:01 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-1392] Reformulate ImmutableNodes.fromInstanceId() in terms of NormalizedNodeStreamWriter</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-1392</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;We have a way to construct a NormalizedNode hierarchy, which is sadly tied to a particular implementation. There are a few use cases, where we really mean to push the state of a YangInstanceIdentifier into a NormalizedNodeStreamWriter and then emit a number of NormalizedNodes and close the identifier.&lt;/p&gt;

&lt;p&gt;Refactoring this utility method would allow users side-step the NormalizedNode representation and ditch quite a bit of complexity &amp;#8211; with the following construct:&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;
YangInstanceIdentifier id = ...;
NormalizedNodeStreamWriter writer = ...;

&lt;span class=&quot;code-keyword&quot;&gt;try&lt;/span&gt; (&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt; nnWriter = NormalizedNodeWriter.forStreamWriter(writer)) {
  &lt;span class=&quot;code-keyword&quot;&gt;try&lt;/span&gt; (&lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt; idCtx = nnWriter.enterPath(id)) {
     &lt;span class=&quot;code-comment&quot;&gt;// here we have emitted the events to &lt;span class=&quot;code-quote&quot;&gt;&apos;enter&apos;&lt;/span&gt; structure indicated by the id
&lt;/span&gt;     &lt;span class=&quot;code-comment&quot;&gt;// and can proceed to, &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; example
&lt;/span&gt;     nnWriter.writeNormalizedNode(...);
   }
   &lt;span class=&quot;code-comment&quot;&gt;// here we are again outside of the id, having rolled back the changes
&lt;/span&gt;}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="35134">YANGTOOLS-1392</key>
            <summary>Reformulate ImmutableNodes.fromInstanceId() in terms of NormalizedNodeStreamWriter</summary>
                <type id="10103" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10311&amp;avatarType=issuetype">New Feature</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="10000">Done</resolution>
                                        <assignee username="tcere">Tomas Cere</assignee>
                                    <reporter username="rovarga">Robert Varga</reporter>
                        <labels>
                    </labels>
                <created>Fri, 28 Jan 2022 14:04:37 +0000</created>
                <updated>Tue, 10 May 2022 16:29:46 +0000</updated>
                            <resolved>Fri, 11 Mar 2022 07:31:04 +0000</resolved>
                                                    <fixVersion>8.0.0</fixVersion>
                                    <component>data-api</component>
                    <component>data-impl</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="70631" author="rovarga" created="Thu, 10 Mar 2022 18:12:35 +0000"  >&lt;p&gt;The actual implementation is named YangInstanceIdentifierWriter and is instantiated through an &apos;open()&apos; static method, which returns an Autocloseable instance.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="30650">YANGTOOLS-898</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="35804">YANGTOOLS-1433</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="35251">YANGTOOLS-1402</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|i041bz:</customfieldvalue>

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