[
https://issues.apache.org/jira/browse/NIFI-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15428061#comment-15428061
]
ASF GitHub Bot commented on NIFI-1867:
--------------------------------------
Github user jskora commented on a diff in the pull request:
https://github.com/apache/nifi/pull/886#discussion_r75469531
--- Diff:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ModifyBytes.java
---
@@ -74,6 +74,13 @@
.addValidator(StandardValidators.DATA_SIZE_VALIDATOR)
.defaultValue("0 B")
.build();
+ public static final PropertyDescriptor REMOVE_ALL = new
PropertyDescriptor.Builder()
+ .name("Remove All Content")
+ .description("Remove all content from the FlowFile superseding
Start Offset and End Offset properties.")
+ .required(true)
+ .addValidator(StandardValidators.BOOLEAN_VALIDATOR)
+ .defaultValue("false")
--- End diff --
Will do.
> improve ModifyBytes to make it easy to remove all flowfile content
> ------------------------------------------------------------------
>
> Key: NIFI-1867
> URL: https://issues.apache.org/jira/browse/NIFI-1867
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: 0.6.1
> Reporter: Ben Icore
> Assignee: Joe Skora
>
> update ModifyBytes processor to include a "Remove all content" property.
> this property shouild default to false so existing functionality is not
> changed
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)