This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new 1623a656392 CAMEL-21265 - Create ApplicationEnvironmentPreparedEvent
for Vault components - Google Secret Manager (#1258)
1623a656392 is described below
commit 1623a656392091f0e3a71ffeb5ab7b5fea00fb7a
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Oct 16 18:21:13 2024 +0200
CAMEL-21265 - Create ApplicationEnvironmentPreparedEvent for Vault
components - Google Secret Manager (#1258)
Signed-off-by: Andrea Cosentino <[email protected]>
---
.../secret/manager/springboot/EarlyResolvedPropertiesTest.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/components-starter/camel-google-secret-manager-starter/src/test/java/org/apache/camel/component/google/secret/manager/springboot/EarlyResolvedPropertiesTest.java
b/components-starter/camel-google-secret-manager-starter/src/test/java/org/apache/camel/component/google/secret/manager/springboot/EarlyResolvedPropertiesTest.java
index c2ae93ea7ec..9d3313a0f46 100644
---
a/components-starter/camel-google-secret-manager-starter/src/test/java/org/apache/camel/component/google/secret/manager/springboot/EarlyResolvedPropertiesTest.java
+++
b/components-starter/camel-google-secret-manager-starter/src/test/java/org/apache/camel/component/google/secret/manager/springboot/EarlyResolvedPropertiesTest.java
@@ -53,12 +53,12 @@ import java.io.IOException;
"early.resolved.property.simple={{gcp:databaseTestPassword}}"
})
-// Must be manually tested. Provide your own projectId using
-Dcamel.vault.test.gcp.projectId and -Dcamel.vault.test.gcp.useDefaultInstance
+// Must be manually tested. Provide your own projectId using
-Dcamel.vault.test.gcp.projectId and
-Dcamel.vault.test.gcp.useDefaultInstance=true
@EnabledIfSystemProperties({
@EnabledIfSystemProperty(named = "camel.vault.test.gcp.projectId",
matches = ".*",
- disabledReason = "Access key not provided"),
- @EnabledIfSystemProperty(named =
"camel.vault.test.gcp.useDefaultInstance", matches = ".*",
- disabledReason = "Secret key not provided"),
+ disabledReason = "Project Id not provided"),
+ @EnabledIfSystemProperty(named =
"camel.vault.test.gcp.useDefaultInstance", matches = "true",
+ disabledReason = "Default instance not enabled"),
})
@EnabledIfEnvironmentVariables({
@EnabledIfEnvironmentVariable(named="GOOGLE_APPLICATION_CREDENTIALS",
matches = ".*", disabledReason = "No environment variables for google
credentials set")