Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-707

Netconf TestTool: Validation for invalid file in "schemas-dir" argument

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Done
    • None
    • 3.0.0, 2.0.15
    • netconf

    Description

      Netconf-testtool supports "schemas-dir" argument in java command line.

      If the schema directory contains a file which is not readable as text then it throws "MissingSchemaSourceException: All available providers exhausted".

      The exception is misleading, it should be thrown in existing validate method.

      In Yang tool library, it takes only Yang type file in class FilesystemSchemaSourceCache.findFileWithNewestRev(), so condition for file type ".yang" can be added in TesttoolParameters class' validation method .

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ojo Oleksandr Zharov
            nikhil.soni.lumina Nikhil Soni
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: