<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:11: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>[MDSAL-833] Support setting schema source URL by YangLibraryContentBuilder </title>
                <link>https://jira.opendaylight.org/browse/MDSAL-833</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;Currently there are multiple services generating yang-library content (using both new and legacy models) within NETCONF project. In order to avoid code duplication it seems reasonable to use dedicated implementation &#8211; &lt;b&gt;mdsal-yanglib-rfc8525&lt;/b&gt;. The blocking issue is there is no way to set schema source URL for modules (submodules) when yang-library content being built.&#160;&lt;/p&gt;

&lt;p&gt;The expected is support for optional component (implementing predefined interface, ie SourceUrlProvider) which provides schema source URL by module/submodule QName so associated field (`schema` for legacy model, `location` for new one) values can be populated. Required is interface only, implementation is responsibility of consumer (some simple one can be used for testing).&#160;&lt;/p&gt;

&lt;p&gt;Expected api change like below&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; yangLibNode = yangLib.newContentBuilder()
    .defaultContext(defaultContext)
    .sourceUrlProvider(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;::getUrlByQName)
    .formatYangLibraryContent(); &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Source URL is optional. If no sourceUrlProvider is defined or no URL provided then associated field should remain empty (null).&lt;/p&gt;</description>
                <environment></environment>
        <key id="37120">MDSAL-833</key>
            <summary>Support setting schema source URL by YangLibraryContentBuilder </summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="rovarga">Robert Varga</assignee>
                                    <reporter username="rkashapov">Ruslan Kashapov</reporter>
                        <labels>
                            <label>pt</label>
                    </labels>
                <created>Wed, 19 Jul 2023 09:45:10 +0000</created>
                <updated>Wed, 19 Jul 2023 13:08:12 +0000</updated>
                                                                            <component>yanglib</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="32595">NETCONF-668</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|i045t3:</customfieldvalue>

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