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

Expose the "pathStyleAccess" s3 client option within a new configuration key

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 9.10
    • Fix Version/s: 9.10-HF14, 10.3
    • Component/s: BlobManager, S3
    • Release Notes Summary:
      A new configuration key is added to expose the "pathStyleAccess" S3 client option.
    • Impact type:
      Configuration Change
    • Upgrade notes:
      Hide

      To configure path-style access, use the configuration property:

      nuxeo.s3storage.pathstyleaccess=true
      

      Or if configuring from an extension point:

        <extension target="org.nuxeo.ecm.core.blob.BlobManager" point="configuration">
          <blobprovider name="default">
            <class>org.nuxeo.ecm.core.storage.sql.S3BinaryManager</class>
            <property name="pathstyleaccess">true</property>
            ...
          </blobprovider>
        </extension>
      
      Show
      To configure path-style access, use the configuration property: nuxeo.s3storage.pathstyleaccess= true Or if configuring from an extension point: <extension target= "org.nuxeo.ecm.core.blob.BlobManager" point= "configuration" > <blobprovider name= "default" > <class> org.nuxeo.ecm.core.storage.sql.S3BinaryManager </class> <property name= "pathstyleaccess" > true </property> ... </blobprovider> </extension>
    • Sprint:
      nxFG 10.3.3
    • Story Points:
      2

      Description

      For a customer who uses a DELL ECS product as main storage solution (S3 compatible) within the Nuxeo cloud-binary-manager, we need to use a path style (host/bucket instead of bucket.host) for the HTTP queries.

      An option is available in the S3 client but it's not exposed by our implementation yet.

      If it makes sense for the team, a possible improvement can be adding a new configuration key to toggle this option (disabled by default).

      https://www.emc.com/techpubs/ecs/ecs_s3_supported_features-1.htm

        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 hours
                  2h