[
https://issues.apache.org/jira/browse/NIFI-5436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16547138#comment-16547138
]
ASF subversion and git services commented on NIFI-5436:
-------------------------------------------------------
Commit 3746ae258d619c38d763c580f1acb6521c6c3bc5 in nifi's branch
refs/heads/master from [~ottobackwards]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=3746ae2 ]
NIFI-5436 Add ability to set the processor name in the ProcessContext when
using the TestRunner.
This closes #2902.
Signed-off-by: Andy LoPresto <[email protected]>
> 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
> Priority: Major
>
> 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)