You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/02/14 17:22:01 UTC
[jira] [Commented] (NIFI-4367) InvokedScriptedProcessor does not
support scripted processor that extends AbstractProcessor
[ https://issues.apache.org/jira/browse/NIFI-4367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16768546#comment-16768546 ]
ASF subversion and git services commented on NIFI-4367:
-------------------------------------------------------
Commit 8a197e5a96479b4b298aa821a8ab9fdfdc1deb60 in nifi's branch refs/heads/master from Patrice Freydiere
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=8a197e5 ]
NIFI-4367 Fix on processor for permit deriving script classes from AbstractProcessor or other Records based base classes
Improve UT
Add licence and fix import
improve filtering properties
Signed-off-by: Matthew Burgess <ma...@apache.org>
This closes #2201
> InvokedScriptedProcessor does not support scripted processor that extends AbstractProcessor
> -------------------------------------------------------------------------------------------
>
> Key: NIFI-4367
> URL: https://issues.apache.org/jira/browse/NIFI-4367
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: Patrice Freydiere
> Priority: Major
> Labels: InvokeScriptedProcessor, validation
> Time Spent: 10m
> Remaining Estimate: 0h
>
> InvokeScriptedProcessor pass his ValidationContext to the inner script, validate call
> InvokeScriptedProcessor Line 465 : final Collection<ValidationResult> instanceResults = instance.validate(context);
>
> The problem is that the invokedscript pass the ScriptFile PropertyDescriptor that is validated, if the script derived from the AbstractConfigurableComponent, (because the AbstractConfigurableComponent validate all the context properties).
> The context should be refined to remove the InvokeScriptedProcessor Properties.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)