Delay PropertySource
lookup for VaultPropertySourceRegistrar
#776
Labels
status: declined
A suggestion or change that we don't feel we should currently apply
Milestone
VaultPropertySourceRegistrar
performs an early bean lookup viabeanFactory.getBeansOfType(…)
to obtain property sources. While this lookup allows for early initialization of components, it triggers in case of Spring Boot the initialization ofVaultAutoConfiguration
too early which fails with constructor resolution.We can delay the initialization but that comes at the cost of vault property sources being activated after running the bean postprocessor.
This issue was originally reported via spring-cloud/spring-cloud-vault#642
The text was updated successfully, but these errors were encountered: