You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Otto Fowler (JIRA)" <ji...@apache.org> on 2018/03/23 20:11:00 UTC
[jira] [Created] (NIFI-5013) NiFi Standard Processors should build
a test jar to reduce duplication
Otto Fowler created NIFI-5013:
---------------------------------
Summary: NiFi Standard Processors should build a test jar to reduce duplication
Key: NIFI-5013
URL: https://issues.apache.org/jira/browse/NIFI-5013
Project: Apache NiFi
Issue Type: Improvement
Reporter: Otto Fowler
Assignee: Otto Fowler
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|https://maven.apache.org/plugins/maven-jar-plugin/examples/create-test-jar.html] details how to handle this case in two ways.
# create a test-jar from the project
# 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)