[
https://issues.apache.org/jira/browse/CAMEL-26613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-26613 stopped by Andrea Cosentino.
------------------------------------------------
> camel-test-infra-azure - move the Blob and Queue services from Azurite to
> Floci AZ
> ----------------------------------------------------------------------------------
>
> Key: CAMEL-26613
> URL: https://issues.apache.org/jira/browse/CAMEL-26613
> Project: Camel
> Issue Type: Test
> Components: camel-azure, camel-test-infra
> Reporter: Andrea Cosentino
> Assignee: Andrea Cosentino
> Priority: Major
>
> Floci AZ ([https://github.com/floci-io/floci-az], MIT) is the Azure emulator
> of the Floci family that the AWS test-infra uses since
> [#23404|https://github.com/apache/camel/pull/23404]. CAMEL-26615 adds a Floci
> AZ container to {{camel-test-infra-azure-common}}, and the other Azure
> components build on it.
> The {{storage-blob}} and {{storage-queue}} local services stay on Azurite
> ({{mcr.microsoft.com/azure-storage/azurite:3.37.0}}) for now: run on Floci AZ
> 0.16.0, 12 camel-azure-storage-blob integration tests and 1
> camel-azure-storage-queue integration test fail, and all of them pass on
> Azurite.
> * Page blobs: Put Page answers 501 NotImplemented, and Put Blob ignores
> {{x-ms-blob-content-length}} for a page blob (the blob has size 0).
> {{BlobOperationsIT}} ({{testCreateAndUploadPageBlob}},
> {{testGetPageBlobRanges}}, {{testResizePageBlob}}, {{testClearPages}}) and
> {{BlobProducerIT.testCreateAndUploadPageBlob}} fail.
> * Put Blob answers without {{Content-MD5}}: {{BlobOperationsIT}}
> ({{testUploadBlockBlob}}, {{testUploadBlockBlobAsCachedStream}},
> {{testUploadBlockBlobAsStreamWithBlobSizeHeader}}) fail, and the append blob
> tests that come after them fail with {{InvalidBlobType}}, because the block
> blob they leave behind has the same name.
> * After Copy Blob, Get Blob Properties has no {{x-ms-copy-id}} or
> {{x-ms-copy-status}}, so the copy poller of the SDK ends with
> {{POLLING_FAILED}}: the {{moveAfterRead}} tests of
> {{BlobConsumerDeleteMoveIT}} fail.
> * Get Messages does not return the messages of one call in the order they
> were sent: {{StorageQueueConsumerIT.testPollingMessages}} fails.
> When a Floci AZ release covers them, move the two services to Floci AZ. Floci
> AZ serves every service on one port, so the local Queue endpoint then becomes
> {{http://<host>:<port>/devstoreaccount1-queue}} instead of
> {{http://<host>:10001/devstoreaccount1}}: code that builds the Queue URL from
> {{host()}} and {{port()}} (for example the camel-kafka-connector
> {{itests-azure-storage-queue}} module) needs the new path.
> _Claude Code on behalf of Andrea Cosentino_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)