Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-17567

Improve Stream CLI implementation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • cli
    • Security Level: Public (Default Security Level. Issues are Public)

    Description

      The current implemention for the CLI's Streams command that was introduced in SOLR-14673 has multiple issues that should be addressed, including but not limited to:

      • Use of raw strings in Option#getOptionValue()
      • Overlapping options (-f and -e)
      • Multiple type suppressions that can be avoided
      • A bug that causes specific bats tests to fail
      • StreamTool.LocalCatStream overrides CatStream btu does not properly set commaDelimitedFilepaths (this may be a bug)
      • Obsolete LetStream#getLetParams() was introduced
      • Function StreamTool.constructStream seems obsolete and occurrences can be replaced with implementation
      • Implementation of StreamTool.readExpression does not take leading spaces infront of comment lines into account
      • Implementation of StreamTool.readExpression does not support */ at the end of line

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              malliaridis Christos Malliaridis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m