GitHub user jskora opened a pull request:
https://github.com/apache/nifi/pull/886
NIFI-1867 Improve ModifyBytes to make it easy to remove all FlowFile
content (0.x)
* Add "Remove All Content" property, related functionality, and tests to
ModifyBytes processor to allow deletion of all flow file content.
* Removed @Ignore annotation on class and unnecessary EOL translation of
test data. Because ModifyBytes treat input as binary data, not text, line
endings don't matter as long as they byte offsets are calculated correctly.
(For 0.x branch, a separate PR for 1.x branch will follow.)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jskora/nifi NIFI-1867-0.x
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/886.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #886
----
commit d8cba513daecb022e0620a8a0bd57bdca76ea99a
Author: Joe Skora <[email protected]>
Date: 2016-08-18T14:02:24Z
* Add "Remove All Content" property, related functionality, and tests to
ModifyBytes processor to allow deletion of all flow file content.
* Removed @Ignore annotation on class and unnecessary EOL translation of
test data. Because ModifyBytes treat input as binary data, not text, line
endings don't matter as long as they byte offsets are calculated correctly.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---