[
https://issues.apache.org/jira/browse/NIFI-2442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Koji Kawamura updated NIFI-2442:
--------------------------------
Assignee: Koji Kawamura
Status: Patch Available (was: Open)
I've added the ExternalStateManager.validateExternalStateAccess method to fully
support EL evaluation instead of onPropertyModified method.
Because, the values passed to onPropertyModified method are not validated yet,
and evaluating EL is hard since there's no context.
With validation context, we can evaluate EL including newly added Variable
registry.
> ExternalStateManager should support Expression Language evaluation
> ------------------------------------------------------------------
>
> Key: NIFI-2442
> URL: https://issues.apache.org/jira/browse/NIFI-2442
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Reporter: Koji Kawamura
> Assignee: Koji Kawamura
>
> Some components have to eagerly get property value change, and do some stuff.
> Sometimes, the target properties support Expression Language (EL).
> However, since current onPropertyModified method only passes String
> representation of property value, we can't evaluate EL in that method
> directly.
> It would be useful if we can use subject-less EL functions (i.e without
> incoming FlowFile) at onPropertyModified, especially with Variable Registry.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)