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

Allow using arbitrary file keys in S3

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF31, 11.3, 2021.0
    • Component/s: S3
    • Release Notes Summary:
      Objects can be stored in S3 with an arbitrary file key.
    • Tags:
    • Upgrade notes:
      Hide

       

      In order to be able to use arbitrary file keys generated either by the provider or by a trusted upload client the new S3BlobProvider should be used and the key strategy should be set to "managed" (default key strategy is "digest"): 

      nuxeo.core.binarymanager=org.nuxeo.ecm.blob.s3.S3BlobProvider
      nuxeo.core.blobstore.keyStrategy=managed

       

       

      Show
        In order to be able to use arbitrary file keys generated either by the provider or by a trusted upload client the new S3BlobProvider should be used and the key strategy should be set to "managed" (default key strategy is "digest"):  nuxeo.core.binarymanager=org.nuxeo.ecm.blob.s3.S3BlobProvider nuxeo.core.blobstore.keyStrategy=managed    

      Description

      Today we rely on usage of the md5 digest of blobs as object keys in S3.

      This however means we have to compute this digest everytime as well as copying files to perform the required renames which takes time.

      As an optimization, when dealing with a trusted client, we could allow using an arbitrary file key provided by the client.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 1 week
                  1w