nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Payne (JIRA)" <>
Subject [jira] [Commented] (NIFI-447) Add "Replacement Strategy" property to ReplaceText
Date Fri, 04 Sep 2015 18:49:45 GMT


Mark Payne commented on NIFI-447:

I can't argue that we shouldn't. Though if we are going to allow it for each option.. perhaps
that should be separated into a new property? Similar to the way that it is currently configured...
Line-by-Line or Entire Text, and then Append, Prepend, Regex, Literal Replacement

> Add "Replacement Strategy" property to ReplaceText
> --------------------------------------------------
>                 Key: NIFI-447
>                 URL:
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Mark Payne
>             Fix For: 0.4.0
> "Regular Expression" property should have displayName changed to "Search Value"
> ReplaceText should allow for a "Replacement Strategy" with values:
> Prepend (Search Value is ignored; replacement value prepended to FlowFile)
> Append (Search Value is ignored; replacement value appended to FlowFIle)
> Regex Replace (current behavior, so this should be default)
> Linewise Regex Replace (like current behavior if Evaluation Mode is set to Line-by-Line)
> Literal Replace (do not interpret the Replacement value
> The Line-by-Line property should be removed; this is breaking change!

This message was sent by Atlassian JIRA

View raw message