diff --git a/pom.xml b/pom.xml index 367dd94405..8fb2234a23 100644 --- a/pom.xml +++ b/pom.xml @@ -729,6 +729,7 @@ spring-batch-2 spring-boot-rest spring-drools + spring-cloud-modules/spring-cloud-azure spring-cloud-modules/spring-cloud-contract spring-cloud-modules/spring-cloud-data-flow spring-cloud-modules/spring-cloud-circuit-breaker @@ -1000,6 +1001,7 @@ spring-batch-2 spring-boot-rest spring-drools + spring-cloud-modules/spring-cloud-azure spring-cloud-modules/spring-cloud-circuit-breaker spring-exceptions spring-jenkins-pipeline diff --git a/spring-cloud-modules/pom.xml b/spring-cloud-modules/pom.xml index 564eff536c..9c926bbe61 100644 --- a/spring-cloud-modules/pom.xml +++ b/spring-cloud-modules/pom.xml @@ -55,7 +55,7 @@ spring-cloud-sleuth spring-cloud-open-telemetry - spring-cloud-azure + spring-cloud-openfeign-2 @@ -99,4 +99,4 @@ 3.1.3 - \ No newline at end of file + diff --git a/spring-cloud-modules/spring-cloud-azure/pom.xml b/spring-cloud-modules/spring-cloud-azure/pom.xml index 5271ee7e7e..fd5589555f 100644 --- a/spring-cloud-modules/spring-cloud-azure/pom.xml +++ b/spring-cloud-modules/spring-cloud-azure/pom.xml @@ -52,7 +52,7 @@ 2021.0.3 - 4.0.0 + 5.0.0 \ No newline at end of file diff --git a/spring-cloud-modules/spring-cloud-azure/src/test/java/com/baeldung/spring/cloud/azure/keyvault/KeyVaultAutoconfiguredClientIntegrationTest.java b/spring-cloud-modules/spring-cloud-azure/src/test/java/com/baeldung/spring/cloud/azure/keyvault/KeyVaultAutoconfiguredClientIntegrationTest.java index d480bc33d4..7236d371c5 100644 --- a/spring-cloud-modules/spring-cloud-azure/src/test/java/com/baeldung/spring/cloud/azure/keyvault/KeyVaultAutoconfiguredClientIntegrationTest.java +++ b/spring-cloud-modules/spring-cloud-azure/src/test/java/com/baeldung/spring/cloud/azure/keyvault/KeyVaultAutoconfiguredClientIntegrationTest.java @@ -11,7 +11,7 @@ import org.springframework.boot.test.context.SpringBootTest; import com.baeldung.spring.cloud.azure.keyvault.service.KeyVaultAutoconfiguredClient; @SpringBootTest(classes = Application.class) -public class KeyVaultAutoconfiguredClientIntegrationTest { +class KeyVaultAutoconfiguredClientIntegrationTest { @Autowired @Qualifier(value = "KeyVaultAutoconfiguredClient") @@ -22,5 +22,4 @@ public class KeyVaultAutoconfiguredClientIntegrationTest { String secretKey = "mySecret"; Assertions.assertThrows(NoSuchElementException.class, () -> keyVaultAutoconfiguredClient.getSecret(secretKey)); } - } diff --git a/spring-cloud-modules/spring-cloud-azure/src/test/resources/application.yaml b/spring-cloud-modules/spring-cloud-azure/src/test/resources/application.yaml index 88c54b32eb..3e9a0b5e87 100644 --- a/spring-cloud-modules/spring-cloud-azure/src/test/resources/application.yaml +++ b/spring-cloud-modules/spring-cloud-azure/src/test/resources/application.yaml @@ -12,10 +12,10 @@ spring: endpoint: https://spring-cloud-azure.vault.azure.net/ azure: keyvault: - vaultUrl: myVaultUrl - tenantId: myTenantId - clientId: myClientId - clientSecret: myClientSecret + vaultUrl: {$myVaultUrl} + tenantId: {$myTenantId} + clientId: {$myClientId} + clientSecret: {$myClientSecret} database: secret: value: my-database-secret \ No newline at end of file