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

Add a nuxeo.conf property to expose the final Blob URL

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2021.40, 2023.1
    • Component/s: Rest API
    • Release Notes Summary:
      When activating direct download, the final blob URL can be exposed with a nuxeo.conf property
    • Release Notes Description:
      Hide

      To expose the final Blob URL, use the following nuxeo.conf property:

      org.nuxeo.download.url.follow.redirect=true
      
      Show
      To expose the final Blob URL, use the following nuxeo.conf property: org.nuxeo.download.url.follow.redirect= true
    • Tags:
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #92, nxplatform #93
    • Story Points:
      2

      Description

      If a document's blob provider is configured for direct download, it's poss ible to get direct links to the final download URL (to S3 or CloudFront typically) returned in the JSON document output by activating a Configuration Service property:

        <require>org.nuxeo.ecm.core.io.download.DownloadService</require>
        <extension target="org.nuxeo.runtime.ConfigurationService" point="configuration">
          <property name="org.nuxeo.download.url.follow.redirect">true</property>
        </extension>
      

      We want to be able to configure this configuration property through a nuxeo.conf property:

      org.nuxeo.download.url.follow.redirect=true
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: