[
https://issues.apache.org/jira/browse/NIFI-1123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15009358#comment-15009358
]
ASF GitHub Bot commented on NIFI-1123:
--------------------------------------
Github user jskora commented on the pull request:
https://github.com/apache/nifi/pull/116#issuecomment-157484556
@apiri, the property value is compiled as a regex, any separators are in
the context of the regex.
I'm not sure I understand how the RegexValidator can evaluate the EL since
it could refer to dynamic attributes? If the validator works, won't the UI
prevent the processor from being started with the bad values like those in
@trkurc's tests? And won't the tests fail to run the processor since it is
invalid? If that's the case, the invalid values will never be used.
Regarding the deletion of framework attributes, should UpdateAttributes
prevent their deletion or should the ProcessSession sub-classes prevent that
more globally? What framework attributes should be protected, is it everything
in CoreAttributes?
> Extend the "Delete Attributes Expression" to support Expression Language
> ------------------------------------------------------------------------
>
> Key: NIFI-1123
> URL: https://issues.apache.org/jira/browse/NIFI-1123
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Reporter: Joe Skora
> Assignee: Joe Skora
> Priority: Minor
> Labels: easyfix, features, patch
>
> Allow the "Delete Attributes Expression" to accept Expression Language to
> dynamically produce the regular expression to identify attributes to be
> deleted per discussion on
> [NIFI-641|https://issues.apache.org/jira/browse/NIFI-641].
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)