Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25712

Add some metadata on objects stored in S3

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF21, 11.1, 2021.0
    • Component/s: S3
    • Release Notes Summary:
      Informative metadata are added to objects stored in S3 with new S3BlobProvider.
    • Tags:
    • Backlog priority:
      825
    • Impact type:
      Data Persistence Change
    • Upgrade notes:
      Hide

      When using the new S3BlobProvider (NXP-28460), blobs stored in S3 now have the following informative metadata automatically set:

      • Content-Type: MIME type
      • Content-Disposition: attachment; filename=...

      In addition, if the metadata.addusername part of the S3 connector XML configuration (or framework property nuxeo.s3storage.metadata.addusername) is set, the following Nuxeo-specific header is also set:

      • x-amz-meta-username: username

      These headers are not modified for subsequent changes to the document, they are only set the first time a given blob is written to S3.

      Show
      When using the new S3BlobProvider ( NXP-28460 ), blobs stored in S3 now have the following informative metadata automatically set: Content-Type : MIME type Content-Disposition : attachment; filename=... In addition, if the metadata.addusername part of the S3 connector XML configuration (or framework property nuxeo.s3storage.metadata.addusername ) is set, the following Nuxeo-specific header is also set: x-amz-meta-username : username These headers are not modified for subsequent changes to the document, they are only set the first time a given blob is written to S3.
    • Sprint:
      nxFG 11.1.11

      Description

      It could be useful for "backup" reasons to store some metadata with binaries. At least enough to be able to recover the original files (mime type, filename).

      It would make actually sense to store:

      • filename
      • mime type
      • put date
      • username of the session who did put the object

      Note that even if an object in S3 can be used by several documents in the database, having this information including the username can always be useful as most of the time there is a one-to-one mapping.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days
                  2d