[ 
https://issues.apache.org/jira/browse/OAK-9548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Adamcin resolved OAK-9548.
-------------------------------
    Resolution: Fixed

> Azure Blob Store Presigned Url Param "blockId" does not match official Azure 
> REST API contract 
> -----------------------------------------------------------------------------------------------
>
>                 Key: OAK-9548
>                 URL: https://issues.apache.org/jira/browse/OAK-9548
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: blob-cloud-azure
>    Affects Versions: 1.40.0
>            Reporter: Mark Adamcin
>            Priority: Minor
>         Attachments: OAK-9548-blockId-to-blockid.patch, 
> org.apache.jackrabbit.oak.plugins.blob.datastore.AzureDataStore.cfg.json
>
>
> I'm trying to get Direct Binary Upload to work locally using an Azurite blob 
> service emulator. I've run into an issue where the {{blockId}} parameter for 
> a PUT block request from an AEM Cloud SDK instance is failing to match the 
> necessary operation in the Azure OpenAPI spec and Azurite is not tolerating 
> the difference in casing when compared to the serialized form, {{blockid}}.
> Link: source of issue inĀ 
> [AzureBlobStoreBackend.java|https://github.com/apache/jackrabbit-oak/blob/c6ddcc55bee3de915459af01e91edad32d538f3d/oak-blob-cloud-azure/src/main/java/org/apache/jackrabbit/oak/blob/cloud/azure/blobstorage/AzureBlobStoreBackend.java#L972]
> Link: [Azure Put Block REST 
> API|https://docs.microsoft.com/en-us/rest/api/storageservices/put-block#uri-parameters]
> I've confirmed that simply rewriting the oak-signed URL to change the only 
> the one parameter name, i.e., by hacking the JS clientlib for the AEM Assets 
> UI, fixes the issue with Azurite.



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

Reply via email to