Github user trkurc commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/248#discussion_r64084293
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/UnpackContent.java
 ---
    @@ -111,8 +107,18 @@
                 .name("Packaging Format")
                 .description("The Packaging Format used to create the file")
                 .required(true)
    -            .allowableValues(AUTO_DETECT_FORMAT, TAR_FORMAT, ZIP_FORMAT, 
FLOWFILE_STREAM_FORMAT_V3, FLOWFILE_STREAM_FORMAT_V2, FLOWFILE_TAR_FORMAT)
    -            .defaultValue(AUTO_DETECT_FORMAT)
    +            .allowableValues(PackageFormat.AUTO_DETECT_FORMAT.toString(), 
PackageFormat.TAR_FORMAT.toString(),
    +                    PackageFormat.ZIP_FORMAT.toString(), 
PackageFormat.FLOWFILE_STREAM_FORMAT_V3.toString(),
    +                    PackageFormat.FLOWFILE_STREAM_FORMAT_V2.toString(), 
PackageFormat.FLOWFILE_TAR_FORMAT.toString())
    +            .defaultValue(PackageFormat.AUTO_DETECT_FORMAT.toString())
    +            .build();
    +
    +    public static final PropertyDescriptor FILE_FILTER = new 
PropertyDescriptor.Builder()
    +            .name("File Filter")
    +            .description("Only files whose names match the given regular 
expression will be extracted (tar/zip only)")
    +            .required(true)
    +            .defaultValue("[^\\.].*")
    --- End diff --
    
    @rickysaltzer - I'm a bit confused by this default value... is the default 
to filter files starting with "."? Does this change this processor's behavior?


---
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.
---

Reply via email to