<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:41 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>[NETCONF-707] Netconf TestTool: Validation for invalid file in  &quot;schemas-dir&quot; argument  </title>
                <link>https://jira.opendaylight.org/browse/NETCONF-707</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;Netconf-testtool supports &quot;schemas-dir&quot; argument in java command line.&lt;/p&gt;

&lt;p&gt;If the  schema directory contains  a file  which is not readable as text then  it throws &quot;MissingSchemaSourceException: All available providers exhausted&quot;.  &lt;/p&gt;

&lt;p&gt;The exception is misleading, it should be thrown in existing validate method. &lt;/p&gt;

&lt;p&gt;In Yang tool library, it takes only Yang type file in class  FilesystemSchemaSourceCache.findFileWithNewestRev(),  so condition for file type &quot;.yang&quot; can be added in   TesttoolParameters class&apos;  validation method . &lt;/p&gt;
</description>
                <environment></environment>
        <key id="32901">NETCONF-707</key>
            <summary>Netconf TestTool: Validation for invalid file in  &quot;schemas-dir&quot; argument  </summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.opendaylight.org/images/icons/priorities/minor.svg">Low</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="ojo">Oleksandr Zharov</assignee>
                                    <reporter username="nikhil.soni.lumina">Nikhil Soni</reporter>
                        <labels>
                            <label>pt</label>
                    </labels>
                <created>Sun, 28 Jun 2020 11:12:53 +0000</created>
                <updated>Mon, 28 Mar 2022 21:10:28 +0000</updated>
                            <resolved>Mon, 21 Mar 2022 05:10:21 +0000</resolved>
                                                    <fixVersion>3.0.0</fixVersion>
                    <fixVersion>2.0.15</fixVersion>
                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="70312" author="rovarga" created="Wed, 1 Dec 2021 11:25:50 +0000"  >&lt;p&gt;Alright, so the outstanding patch has a number of comments which were not addressed. It needs to be rebased and the comments addressed.&lt;/p&gt;

&lt;p&gt;Once that happens we should be okay, I think.&lt;/p&gt;</comment>
                            <comment id="70611" author="ivanhrasko" created="Wed, 2 Mar 2022 11:05:00 +0000"  >&lt;p&gt;IMO:&lt;/p&gt;

&lt;p&gt;1. its clear that schemadir is for yang files - testool is just tool used by devs - not a production product that needs to be prepared for situations like this&lt;/p&gt;

&lt;p&gt;2. testtool has no possibility to verify if yang files are correct or form complete schema context - that is the work for yangtools&lt;/p&gt;

&lt;p&gt;3. if you really want you can reject not .yang extension files - but that is not 100% fail-proof&lt;/p&gt;

&lt;p&gt;4. if the problem is the misleading exception - you can catch exception from yangtools and tell the user of testool that something is wrong in his schemadir files.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="17020" name="[NETCONF-707] Steps to reproduce.docx" size="14110" author="ivanm1996" created="Tue, 23 Nov 2021 10:22:33 +0000"/>
                            <attachment id="17021" name="[NETCONF-707] log.txt.txt" size="26018" author="ivanm1996" created="Tue, 23 Nov 2021 10:22:33 +0000"/>
                    </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|i03tcv:</customfieldvalue>

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