Andrea Cosentino created CAMEL-23330:
----------------------------------------

             Summary: camel-azure-storage-blob - Add support for blob version 
ID access
                 Key: CAMEL-23330
                 URL: https://issues.apache.org/jira/browse/CAMEL-23330
             Project: Camel
          Issue Type: New Feature
          Components: camel-azure
            Reporter: Andrea Cosentino
            Assignee: Andrea Cosentino
             Fix For: 4.20.0


The camel-azure-storage-blob component cannot currently access a specific 
version of a blob. When blob versioning is enabled on an Azure Storage account, 
users should be able to read/download a blob at a specific version.

Currently BlobContainerClientWrapper.getBlobClientWrapper() only accepts 
blobName. The Azure SDK supports BlobContainerClient.getBlobClient(blobName, 
versionId) for accessing specific blob versions.

*Implementation scope:*
- Add versionId @UriParam to BlobConfiguration
- Add BLOB_VERSION_ID header constant to BlobConstants 
(CamelAzureStorageBlobVersionId)
- Modify BlobContainerClientWrapper.getBlobClientWrapper() to accept and pass 
version ID
- Update BlobConfigurationOptionsProxy to resolve version ID from header or 
configuration
- Add version ID to BlobExchangeHeaders consumer output (from 
BlobProperties.getVersionId())
- Ensure read operations (getBlob, downloadBlobToFile, downloadLink) can target 
a specific version
- Update documentation and add tests



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to