Andrea Cosentino created CAMEL-26618:
----------------------------------------

             Summary: camel-azure-eventhubs - run the integration tests on 
Floci AZ
                 Key: CAMEL-26618
                 URL: https://issues.apache.org/jira/browse/CAMEL-26618
             Project: Camel
          Issue Type: Test
          Components: camel-azure-eventhubs
            Reporter: Andrea Cosentino
            Assignee: Andrea Cosentino
             Fix For: 4.24.0


Part of the move of the Azure test-infra to Floci AZ (CAMEL-26613).

The integration tests of camel-azure-eventhubs ({{EventHubsProducerIT}}, 
{{EventHubsConsumerIT}}, {{EventHubsProducerCustomClientIT}}, 
{{EventProcessorIT}}, {{EventHubsProducerOperationsIT}}) run only with the 
connection string of a real namespace, plus a storage account for the 
checkpoint store.

Floci AZ emulates Event Hubs over AMQP 1.0 with an ActiveMQ Artemis sidecar 
that it starts through the Docker socket. The SDK connects with 
{{Endpoint=sb://<host>:<port>;SharedAccessKeyName=...;SharedAccessKey=...;UseDevelopmentEmulator=true}},
 the event hubs are declared with {{FLOCI_AZ_SERVICES_EVENT_HUB_ENTITIES}}, and 
the Blob checkpoint store can use the Floci AZ Blob service.

h4. Change
* Add a {{camel-test-infra-azure-eventhubs}} module that starts Floci AZ with 
the Docker socket mounted and the event hubs the tests use, and gives the 
connection string and the Blob endpoint.
* Run the integration tests against it; keep the remote mode.
* Skip the integration tests on ppc64le and s390x.

h4. To check
Floci AZ answers the {{$management}} node only for the event hub properties: 
the partition properties request gets a 501. Tests that need it stay remote 
only.

Depends on CAMEL-26613.

_Claude Code on behalf of Andrea Cosentino_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to