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

Configure additional blob providers in nuxeo.conf

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2023.13
    • Fix Version/s: QualifiedToSchedule
    • Component/s: Configuration

      Description

      The default blob provider can be configured using properties defined in nuxeo.conf e.g.

      nuxeo.s3storage.bucket=your_BUCKET
      nuxeo.s3storage.bucket_prefix=yourfolder/
      ...
      nuxeo.storage.azure.container
      

       See:

      It would be useful to be able to configure additional blob providers in the same way using properties in nuxeo.conf, for example:

      nuxeo.s3storage.fulltext.bucket_prefix=my_fulltext_blobs
      ...
      nuxeo.storage.azure.fulltext.prefix=my_fulltext_blobs

      Note: these (undefined) properties are particularly relevant for users wanting to store fulltext in blob storage rather than in the database. See: https://jira.nuxeo.com/browse/NXP-26704

      This would obviously require additional configuration extensions e.g.

      <#escape x as x?xml>
      <?xml version="1.0"?>
      <component name="my-fulltext-config">
      
      <#if "${nuxeo.vcs.fulltext.storedInBlob}" == "true">
        <extension target="org.nuxeo.ecm.core.blob.BlobManager" point="configuration">
          <blobprovider name="fulltext">
            <class&gt;${nuxeo.core.binarymanager}</class&gt;
            <property name="path">${nuxeo.binarystores.root}/fulltext</property>
            <property name="key">${nuxeo.core.binarymanager_key}</property>
            <property name="bucket_prefix">${nuxeo.s3storage.fulltext.bucket_prefix}</property>
          </blobprovider>
        </extension>
      </#if>
      
      </component>
      </#escape>
      

      Other examples of additional blob provider configuration (not using nuxeo.conf properties) can be seen here: https://doc.nuxeo.com/nxdoc/file-storage-configuration/#blob-dispatcher 

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              msaye Mark Saye
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: