nifi/nifi-nar-bundles/nifi-standard-bundle
Tamás Bunth b1e77019ac NIFI-6128 UnpackContent: Store unpacked file data
Tar format allows us to archive files with their original permission,
owner, group name and last modification time.

When unpacking with Tar unpacker, these information are stored in new
attributes with names: "file.inner.*". This way, it preserves backward
compatibility when using parallel with GetFile processor (which stores
information in "file.*").

NIFI-6128 Tar unpackContent: assert date of last modification of content is a valid date format.

NIFI-6128 UnpackContent: use original attributes

In case of tar format:
- Use "file.*" attributes instead of "file.inner.*" (which eventually
  lead to overwrite if tar had been fetched with GetFile)
- Store file permission in "rwx" format, instead of integer
  representation.
- Also replace SimpleDateFormat with DateTimeFormatter.

Replace generic error with IllegalArgumentException
Also refactor: move permission string to top of file as static constant.

Update test

Remove 'file systems' text

Unpackcontent: Fill file.creationTime attribute
which always holds the very same value as file.lastModifiedTime.

This closes #4370.

Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
2020-07-14 18:04:56 +02:00
..
nifi-jolt-transform-json-ui NIFI-7021-RC3 prepare for next development iteration 2020-01-19 14:14:40 -05:00
nifi-standard-content-viewer NIFI-7021-RC3 prepare for next development iteration 2020-01-19 14:14:40 -05:00
nifi-standard-nar NIFI-7268 Removed org.mindrot.jBcrypt library and replaced with at.fa… (#4151) 2020-03-17 19:49:15 -07:00
nifi-standard-processors NIFI-6128 UnpackContent: Store unpacked file data 2020-07-14 18:04:56 +02:00
nifi-standard-reporting-tasks NIFI-7021-RC3 prepare for next development iteration 2020-01-19 14:14:40 -05:00
nifi-standard-utils NIFI-7542 Override jackson-databind version. 2020-06-22 17:37:57 -04:00
nifi-standard-web-test-utils NIFI-7021-RC3 prepare for next development iteration 2020-01-19 14:14:40 -05:00
pom.xml NIFI-7187 adding missing version strings from accumulo bundle pom 2020-03-20 10:07:56 -04:00