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

Namespaced blob providers

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10
    • Component/s: BlobManager
    • Impact type:
      API change, Configuration Change
    • Upgrade notes:
      Hide

      It's now possible to request a blob provider where there hasn't been any explicit configuration for it, using BlobManager.getBlobProviderWithNamespace(id). If there is no blob provider configured for this id, then the default one will be used, although using a namespace based on the id to avoid collisions.

      For the filesystem-based blob provider, if the default is stored in .../data/binaries/... then a namespaced provider for myid will be stored in .../data/binaries_myid/...

      For the S3 blob provider, the binaries of a namespaced provider myid will be stored in a S3 "subfolder" named myid/ under the storage for default. Azure works similarly.

      Also, a blob provider whose name starts with transient will automatically be flagged as transient (see NXP-24421) to avoid manual configuration.

      Show
      It's now possible to request a blob provider where there hasn't been any explicit configuration for it, using BlobManager.getBlobProviderWithNamespace(id) . If there is no blob provider configured for this id, then the default one will be used, although using a  namespace  based on the id to avoid collisions. For the filesystem-based blob provider, if the default  is stored in .../data/binaries/... then a namespaced provider for myid will be stored in .../data/binaries_myid/... For the S3 blob provider, the binaries of a namespaced provider myid  will be stored in a S3 "subfolder" named myid/ under the storage for default . Azure works similarly. Also, a blob provider whose name starts with transient will automatically be flagged as transient (see  NXP-24421 ) to avoid manual configuration.
    • Sprint:
      nxFG 10.10.4
    • Story Points:
      3

      Description

      Allow blob providers to be defined based on another blob provider's configuration by just changing its "namespace".

      Required by NXP-26581.

       

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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