Skip to content

Commit 472b5c0

Browse files
tveskrnajamesnetherton
authored andcommitted
fixes #7337: add ignore option also for service bus test
1 parent 6a1134d commit 472b5c0

File tree

1 file changed

+7
-0
lines changed
  • integration-test-groups/azure/azure-servicebus/src/main/java/org/apache/camel/quarkus/component/azure/servicebus/it

1 file changed

+7
-0
lines changed

integration-test-groups/azure/azure-servicebus/src/main/java/org/apache/camel/quarkus/component/azure/servicebus/it/AzureServiceBusHelper.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ public static boolean isMinimumConfigurationAvailable() {
3636

3737
public static boolean isAzureIdentityCredentialsAvailable() {
3838
Config config = ConfigProvider.getConfig();
39+
40+
Optional<Boolean> disableIdentity = config.getOptionalValue("CAMEL_QUARKUS_DISABLE_IDENTITY_EXCEPT_KEY_VAULT",
41+
Boolean.class);
42+
if (disableIdentity.isPresent() && disableIdentity.get()) {
43+
return false;
44+
}
45+
3946
Optional<String> clientId = config.getOptionalValue("azure.client.id", String.class);
4047
Optional<String> tenantId = config.getOptionalValue("azure.tenant.id", String.class);
4148
Optional<String> username = config.getOptionalValue("azure.username", String.class);

0 commit comments

Comments
 (0)