You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (JIRA)" <ji...@apache.org> on 2019/02/14 17:26:00 UTC
[jira] [Updated] (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:all-tabpanel ]
Matt Burgess updated NIFI-4367:
-------------------------------
Resolution: Fixed
Fix Version/s: 1.9.0
Status: Resolved (was: Patch Available)
> 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
> Fix For: 1.9.0
>
> Time Spent: 20m
> 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)