Package org.nuxeo.ecm.blob.azure
Class AzureBlobStoreConfiguration
- java.lang.Object
-
- org.nuxeo.ecm.core.blob.PropertyBasedConfiguration
-
- org.nuxeo.ecm.core.blob.AbstractBlobStoreConfiguration
-
- org.nuxeo.ecm.blob.CloudBlobStoreConfiguration
-
- org.nuxeo.ecm.blob.azure.AzureBlobStoreConfiguration
-
public class AzureBlobStoreConfiguration extends CloudBlobStoreConfiguration
Blob storage configuration in Azure Storage.- Since:
- 2023.6
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACCOUNT_KEY_PROPERTY
static String
ACCOUNT_NAME_PROPERTY
static String
AZURE_CDN_PROPERTY
protected static String
AZURE_STORAGE_ACCESS_KEY_ENV_VAR
protected static String
AZURE_STORAGE_ACCOUNT_ENV_VAR
protected com.microsoft.azure.storage.blob.CloudBlobClient
blobClient
protected String
cdnHost
protected com.microsoft.azure.storage.blob.CloudBlobContainer
container
static String
CONTAINER_PROPERTY
protected String
containerName
static String
ENDPOINT_PROTOCOL_PROPERTY
protected static org.apache.logging.log4j.Logger
log
protected String
prefix
static String
PREFIX_PROPERTY
protected com.microsoft.azure.storage.CloudStorageAccount
storageAccount
static String
SYSTEM_PROPERTY_PREFIX
-
Fields inherited from class org.nuxeo.ecm.blob.CloudBlobStoreConfiguration
cachingConfiguration, DEFAULT_DIRECTDOWNLOAD_EXPIRE, DIGEST_ALGORITHM_PROPERTY, digestConfiguration, directDownload, DIRECTDOWNLOAD_EXPIRE_PROPERTY, DIRECTDOWNLOAD_PROPERTY, directDownloadExpire
-
Fields inherited from class org.nuxeo.ecm.core.blob.AbstractBlobStoreConfiguration
namespace
-
Fields inherited from class org.nuxeo.ecm.core.blob.PropertyBasedConfiguration
properties, systemPropertyPrefix
-
-
Constructor Summary
Constructors Constructor Description AzureBlobStoreConfiguration(Map<String,String> properties)
-
Method Summary
-
Methods inherited from class org.nuxeo.ecm.blob.CloudBlobStoreConfiguration
parseDirectDownload, parseDirectDownloadExpire
-
Methods inherited from class org.nuxeo.ecm.core.blob.AbstractBlobStoreConfiguration
propertiesWithNamespace
-
Methods inherited from class org.nuxeo.ecm.core.blob.PropertyBasedConfiguration
getBooleanProperty, getIntProperty, getIntProperty, getLongProperty, getProperty, getProperty
-
-
-
-
Field Detail
-
AZURE_STORAGE_ACCESS_KEY_ENV_VAR
protected static final String AZURE_STORAGE_ACCESS_KEY_ENV_VAR
- See Also:
- Constant Field Values
-
AZURE_STORAGE_ACCOUNT_ENV_VAR
protected static final String AZURE_STORAGE_ACCOUNT_ENV_VAR
- See Also:
- Constant Field Values
-
log
protected static final org.apache.logging.log4j.Logger log
-
ACCOUNT_KEY_PROPERTY
public static final String ACCOUNT_KEY_PROPERTY
- See Also:
- Constant Field Values
-
ACCOUNT_NAME_PROPERTY
public static final String ACCOUNT_NAME_PROPERTY
- See Also:
- Constant Field Values
-
AZURE_CDN_PROPERTY
public static final String AZURE_CDN_PROPERTY
- See Also:
- Constant Field Values
-
CONTAINER_PROPERTY
public static final String CONTAINER_PROPERTY
- See Also:
- Constant Field Values
-
ENDPOINT_PROTOCOL_PROPERTY
public static final String ENDPOINT_PROTOCOL_PROPERTY
- See Also:
- Constant Field Values
-
PREFIX_PROPERTY
public static final String PREFIX_PROPERTY
- See Also:
- Constant Field Values
-
SYSTEM_PROPERTY_PREFIX
public static final String SYSTEM_PROPERTY_PREFIX
- See Also:
- Constant Field Values
-
blobClient
protected final com.microsoft.azure.storage.blob.CloudBlobClient blobClient
-
cdnHost
protected final String cdnHost
-
container
protected final com.microsoft.azure.storage.blob.CloudBlobContainer container
-
containerName
protected final String containerName
-
prefix
protected String prefix
-
storageAccount
protected final com.microsoft.azure.storage.CloudStorageAccount storageAccount
-
-
Constructor Detail
-
AzureBlobStoreConfiguration
public AzureBlobStoreConfiguration(Map<String,String> properties) throws IOException
- Throws:
IOException
-
-