Class GoogleStorageBinaryManager

  • All Implemented Interfaces:
    BinaryManager, BlobProvider

    public class GoogleStorageBinaryManager
    extends AbstractCloudBinaryManager
    A Binary Manager that stores binaries as Google Storage BLOBs

    The BLOBs are cached locally on first access for efficiency.

    Because the BLOB length can be accessed independently of the binary stream, it is also cached in a simple text file if accessed before the stream. Related to GCP credentials, here are the options:

    • nuxeo.gcp.credentials=/path/to/file.json
    • nuxeo.gcp.credentials=file.json (located in nxserver/config)
    • If nothing is set, Nuxeo will look into 'gcp-credentials.json' file by default (located in nxserver/config)