<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:56:17 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-1483] Enrich YangParserTestUtils with String literal YANG methods</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-1483</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;A number of integration tests end up parsing a simple YANG file and make assertions on that.&lt;/p&gt;

&lt;p&gt;For example, &lt;a href=&quot;https://jira.opendaylight.org/browse/MDSAL-810&quot; title=&quot;Disambiguate generated classes based on source statement&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MDSAL-810&quot;&gt;&lt;del&gt;MDSAL-810&lt;/del&gt;&lt;/a&gt; ends up doing:&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;
&lt;span class=&quot;code-keyword&quot;&gt;final&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt; it = DefaultBindingGenerator.generateFor(
    YangParserTestUtils.parseYangResource(&lt;span class=&quot;code-quote&quot;&gt;&quot;/mdsal-810/root-conflict.yang&quot;&lt;/span&gt;)).iterator();
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;and the input file is, literally:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;module root-conflict { // results in RootConflictData
 &#160;namespace root-conflict;
 &#160;prefix rc;

 &#160;container root-conflict-data; // results in RootConflictData as well
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;i.e. a bare-minimum model.&lt;/p&gt;

&lt;p&gt;Add YangParserTestUtils.parseYang(String... yangContent), which will create the appropriate YangTextSchemaSource (or deeper, as we should derive SourceIdentifier from the content by inspecting the IR). With that we should be able to do the above with:&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;
&lt;span class=&quot;code-keyword&quot;&gt;final&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;var&lt;/span&gt; it = DefaultBindingGenerator.generateFor(YangParserTestUtils.parseYang(&quot;&quot;&quot;
  module root-conflict { &lt;span class=&quot;code-comment&quot;&gt;// results in RootConflictData
&lt;/span&gt;   &#160;namespace root-conflict;
   &#160;prefix rc;

   &#160;container root-conflict-data; &lt;span class=&quot;code-comment&quot;&gt;// results in RootConflictData as well
&lt;/span&gt;  }&quot;&quot;&quot;)).iterator();&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This means we do not need to maintain a src/test/resources file and deal with whether it is accessible across modules (as needed for for Class.getResource()).&lt;/p&gt;</description>
                <environment></environment>
        <key id="36639">YANGTOOLS-1483</key>
            <summary>Enrich YangParserTestUtils with String literal YANG methods</summary>
                <type id="10103" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10311&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="1" iconUrl="https://jira.opendaylight.org/images/icons/priorities/blocker.svg">Highest</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="matusmatok">Mat&#250;&#353; Matok</assignee>
                                    <reporter username="rovarga">Robert Varga</reporter>
                        <labels>
                            <label>pt</label>
                    </labels>
                <created>Fri, 3 Feb 2023 00:17:09 +0000</created>
                <updated>Fri, 21 Jul 2023 15:06:35 +0000</updated>
                            <resolved>Fri, 12 May 2023 17:49:11 +0000</resolved>
                                                    <fixVersion>11.0.0</fixVersion>
                    <fixVersion>9.0.9</fixVersion>
                    <fixVersion>10.0.9</fixVersion>
                                    <component>parser</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="36840">YANGTOOLS-1506</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="36640">YANGTOOLS-1484</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|i0445j:</customfieldvalue>

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