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

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


The following commit(s) were added to refs/heads/3.20.x by this push:
     new 0f18dca56a Add ignore option also for service bus test
0f18dca56a is described below

commit 0f18dca56ab508f5e2d403975f379d287ccdad31
Author: tveskrna <tvesk...@redhat.com>
AuthorDate: Tue May 6 14:37:02 2025 +0200

    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);

Reply via email to