<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:54:05 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-711] XPath: provide an evaluator on top of DataTreeCandidate</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-711</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;In order to efficiently propagate state to applications, we want to expose a utility method, which can evaluate a chain of incoming DataTreeCandidates and accurately translate them to a chain of changes to an expression&apos;s return values.&lt;/p&gt;

&lt;p&gt;The way this should work is:&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;
XPath xpath = ...;
XPathDelta delta = XPathDeltaFactory.initial(xpath);

Collection&amp;lt;DataTreeCandiates&amp;gt; candidates = ...;
&lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; (DataTreeCandidate c : candidates) {
  &lt;span class=&quot;code-keyword&quot;&gt;final&lt;/span&gt; Optional&amp;lt;XPathResult&amp;gt; res = delta.apply(c);
  &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (res.isPresent()) {
    &lt;span class=&quot;code-comment&quot;&gt;// Should not result in duplicates printed
&lt;/span&gt;    LOG.debug(&lt;span class=&quot;code-quote&quot;&gt;&quot;XPath {} changed result to {}&quot;&lt;/span&gt;, xpath, res.get());
  }
}
&lt;span class=&quot;code-comment&quot;&gt;// If no state has been applied, &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt; will &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; Optional.empty()
&lt;/span&gt;Optional&amp;lt;XPathResult&amp;gt; currentResult = delta.current();
LOG.debug(&lt;span class=&quot;code-quote&quot;&gt;&quot;Current XPath {} result is {}&quot;&lt;/span&gt;, xpath, currentResult);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23131">YANGTOOLS-711</key>
            <summary>XPath: provide an evaluator on top of DataTreeCandidate</summary>
                <type id="10103" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10311&amp;avatarType=issuetype">New Feature</type>
                                                <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>Fri, 4 Nov 2016 22:27:51 +0000</created>
                <updated>Thu, 18 Jan 2024 18:05:41 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="21382">NETCONF-369</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22897">YANGTOOLS-477</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="23109">YANGTOOLS-689</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="23108">YANGTOOLS-688</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="31512">YANGTOOLS-966</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="29895">YANGTOOLS-878</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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7092</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=7092]]></customfieldvalue>

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

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

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