You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: secretmanager to be an optional dep in autoconfig module (#3706)
* fix: secretmanager to be an optional dep in autoconfig module
Fixes#3560
It markes the secretmanager dependency as optional.
The config loader in the Secret Manager autoconfig was assuming the existence of the now optional Secret Manager integration
.
We now check for the class to be present before resolving the properties
* Update spring-cloud-gcp-autoconfigure/src/main/java/com/google/cloud/spring/autoconfigure/secretmanager/SecretManagerConfigDataLocationResolver.java
* improve comment
* fix comment checkstyle
Copy file name to clipboardExpand all lines: spring-cloud-gcp-autoconfigure/src/main/java/com/google/cloud/spring/autoconfigure/secretmanager/SecretManagerConfigDataLocationResolver.java
+29
Original file line number
Diff line number
Diff line change
@@ -53,14 +53,43 @@ public class SecretManagerConfigDataLocationResolver implements
0 commit comments