-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 2023.13
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Configuration
-
Tags:
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:
- https://doc.nuxeo.com/nxdoc/amazon-s3-online-storage/
- https://doc.nuxeo.com/nxdoc/microsoft-azure-online-storage/
- https://jira.nuxeo.com/browse/NXP-31990
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>${nuxeo.core.binarymanager}</class> <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