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/07/17 14:58:00 UTC
[jira] [Created] (NIFI-5436) TestRunner should allow setting the
processor name
Otto Fowler created NIFI-5436:
---------------------------------
Summary: TestRunner should allow setting the processor name
Key: NIFI-5436
URL: https://issues.apache.org/jira/browse/NIFI-5436
Project: Apache NiFi
Issue Type: Improvement
Reporter: Otto Fowler
Assignee: Otto Fowler
Currently, the ProcessContext.getName() just returns a blank String. Some users use that value of the context, but cannot test their processors properly because there is no way to set this value.
The TestRunner down to the MockProcessContext should support setting the name of the processor when you create the TestRunner instance.
If no name is provided, the the Processor class name should be used.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)