You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Wayne Steel (JIRA)" <ji...@apache.org> on 2017/07/12 11:00:00 UTC

[jira] [Created] (NIFI-4177) MergeContent - Tar - Save modification timestamp like Tar does

Wayne Steel created NIFI-4177:
---------------------------------

             Summary: MergeContent - Tar - Save modification timestamp like Tar does
                 Key: NIFI-4177
                 URL: https://issues.apache.org/jira/browse/NIFI-4177
             Project: Apache NiFi
          Issue Type: Improvement
    Affects Versions: 1.3.0
            Reporter: Wayne Steel
            Priority: Trivial


Tar by default saves the modification timestamp of entries.
This mainly affects file based entries so could be done on reading the attribute file.lastModifiedTime, if it exists, which is written to the flowfile by GetFile or ListFile processors.
Otherwise just leave it out as it does now.

I propose a property with the default expression ${file.lastModifiedTime} but the value must resolve to a date format of "yyyy-MM-dd'T'HH:mm:ssZ". It should only be visible and enabled when MERGE_FORMAT is set to MERGE_FORMAT_TAR



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)