GitHub user kirkalicious opened a pull request:
https://github.com/apache/nifi/pull/774
Nifi 2440 - Add Last Modified Time attribute to ListSFTP
Add last modified time attribute to flow files generated by ListSFTP
processor.
The attribute format is consistent with what is expected by downstream
processors like PutFile
attribute - file.lastModifiedTime
attribute format - yyyy-MM-dd'T'HH:mm:ssZ
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kirkalicious/nifi NIFI-2440
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/774.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 #774
----
commit 85b196f07337110a4931bf80702604393df12afe
Author: Kirk Tarou <[email protected]>
Date: 2016-07-31T04:22:59Z
NIFI-2440
Add last modified time & timestamp attribute to flow files
generated by ListSFTP processor
commit 4136bf15fe7fac725cda3e252a2287807fcdead3
Author: Kirk Tarou <[email protected]>
Date: 2016-08-02T05:30:27Z
Changed format of file.lastModifiedTime attribute to match the format
required by PutFile processor
commit 13e1145a5a14755cfbbf637dc18ba0308801eb13
Author: Kirk Tarou <[email protected]>
Date: 2016-08-02T23:45:35Z
Changed imports to match required style
commit 4f56b4f9f4dfeda557ea926ec60cb78e4a5a3b8f
Author: Kirk Tarou <[email protected]>
Date: 2016-08-02T23:55:13Z
Remove WritesAttribute annotation for file.timestamp
----
---
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.
---