You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2025/05/07 06:11:51 UTC

(camel-quarkus) branch main updated: fixes #7337: add ignore option also for service bus test

This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/main by this push:
     new 472b5c0391 fixes #7337: add ignore option also for service bus test
472b5c0391 is described below

commit 472b5c03912406eb9d2d0e4b8f8a97216a3a4bc6
Author: tveskrna <tv...@redhat.com>
AuthorDate: Tue May 6 14:37:02 2025 +0200

    fixes #7337: add ignore option also for service bus test
---
 .../component/azure/servicebus/it/AzureServiceBusHelper.java       | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/integration-test-groups/azure/azure-servicebus/src/main/java/org/apache/camel/quarkus/component/azure/servicebus/it/AzureServiceBusHelper.java b/integration-test-groups/azure/azure-servicebus/src/main/java/org/apache/camel/quarkus/component/azure/servicebus/it/AzureServiceBusHelper.java
index fe47d97afb..dc1bdfbc61 100644
--- a/integration-test-groups/azure/azure-servicebus/src/main/java/org/apache/camel/quarkus/component/azure/servicebus/it/AzureServiceBusHelper.java
+++ b/integration-test-groups/azure/azure-servicebus/src/main/java/org/apache/camel/quarkus/component/azure/servicebus/it/AzureServiceBusHelper.java
@@ -36,6 +36,13 @@ public final class AzureServiceBusHelper {
 
     public static boolean isAzureIdentityCredentialsAvailable() {
         Config config = ConfigProvider.getConfig();
+
+        Optional<Boolean> disableIdentity = config.getOptionalValue("CAMEL_QUARKUS_DISABLE_IDENTITY_EXCEPT_KEY_VAULT",
+                Boolean.class);
+        if (disableIdentity.isPresent() && disableIdentity.get()) {
+            return false;
+        }
+
         Optional<String> clientId = config.getOptionalValue("azure.client.id", String.class);
         Optional<String> tenantId = config.getOptionalValue("azure.tenant.id", String.class);
         Optional<String> username = config.getOptionalValue("azure.username", String.class);