Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-5013

NiFi Standard Processors should build a test jar to reduce duplication

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Labels:
      None

      Description

      There are some classes, notably TestServer, which are in the nifi standard processors jar which could be used by other processors, either in the project ( already 2 or 3 copies ) or in 3rd party processor/controller projects.

      link Apache Maven details how to handle this case in two ways.

       

      1.  create a test-jar from the project
      2. create a new module to hold shared testing code and scope:test include it

      While #2 is the preferred way, nifi should support #1 in the interim, until some discussion on the location and structure of the test module(s) and the classes that should be moved to them happens.  The scope there will be quite a bit larger.

       

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                otto Otto Fowler
                Reporter:
                otto Otto Fowler
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: