[
https://issues.apache.org/jira/browse/NIFI-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15169774#comment-15169774
]
ASF GitHub Bot commented on NIFI-1568:
--------------------------------------
Github user olegz commented on a diff in the pull request:
https://github.com/apache/nifi/pull/248#discussion_r54299720
--- Diff:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/UnpackContent.java
---
@@ -202,11 +213,11 @@ public void onTrigger(final ProcessContext context,
final ProcessSession session
final boolean addFragmentAttrs;
switch (packagingFormat) {
case TAR_FORMAT:
--- End diff --
I would. And if there are ways to improve test coverage that would help
eliminate the "fear it would break" in the future ;)
> Allow user to specify file filter regex when unpacking zip/tar archives
> ------------------------------------------------------------------------
>
> Key: NIFI-1568
> URL: https://issues.apache.org/jira/browse/NIFI-1568
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Ricky Saltzer
> Assignee: Ricky Saltzer
>
> There are times where you may want to only extract a portion of an archive,
> such as a specific folder, or perhaps a specific file. Similar to how the
> {{GetFile}} processor works, we should provide a property ({{File Filter}})
> which by default extracts all files. The user can modify this property to
> extract only files they wish to process downstream.
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)