Class GoogleStorageBinaryManager

All Implemented Interfaces:
BinaryManager, BlobProvider

@Deprecated(since="2023.9") public class GoogleStorageBinaryManager extends AbstractCloudBinaryManager
Deprecated.
since 2023.9, use GoogleStorageBlobProvider instead
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)
Since:
10.10-HF12
  • Field Details

    • BUCKET_NAME_PROPERTY

      public static final String BUCKET_NAME_PROPERTY
      Deprecated.
      See Also:
    • BUCKET_PREFIX_PROPERTY

      public static final String BUCKET_PREFIX_PROPERTY
      Deprecated.
      See Also:
    • UPLOAD_CHUNK_SIZE_PROPERTY

      public static final String UPLOAD_CHUNK_SIZE_PROPERTY
      Deprecated.
      Since:
      11.4
      See Also:
    • DEFAULT_UPLOAD_CHUNK_SIZE

      public static final int DEFAULT_UPLOAD_CHUNK_SIZE
      Deprecated.
      Default is taken from BaseWriteChannel.
      Since:
      11.4
      See Also:
    • PROJECT_ID_PROPERTY

      public static final String PROJECT_ID_PROPERTY
      Deprecated.
      See Also:
    • GOOGLE_APPLICATION_CREDENTIALS

      public static final String GOOGLE_APPLICATION_CREDENTIALS
      Deprecated.
      See Also:
    • GOOGLE_PLATFORM_SCOPE

      public static final String GOOGLE_PLATFORM_SCOPE
      Deprecated.
      See Also:
    • GOOGLE_STORAGE_SCOPE

      public static final String GOOGLE_STORAGE_SCOPE
      Deprecated.
      See Also:
    • SYSTEM_PROPERTY_PREFIX

      public static final String SYSTEM_PROPERTY_PREFIX
      Deprecated.
      See Also:
    • DELIMITER

      public static final String DELIMITER
      Deprecated.
      See Also:
    • GCP_JSON_FILE

      public static final String GCP_JSON_FILE
      Deprecated.
      See Also:
    • bucketName

      protected String bucketName
      Deprecated.
    • bucketPrefix

      protected String bucketPrefix
      Deprecated.
    • bucket

      protected com.google.cloud.storage.Bucket bucket
      Deprecated.
    • storage

      protected com.google.cloud.storage.Storage storage
      Deprecated.
    • chunkSize

      protected int chunkSize
      Deprecated.
      Since:
      11.4
  • Constructor Details

    • GoogleStorageBinaryManager

      public GoogleStorageBinaryManager()
      Deprecated.
  • Method Details