Ryan Baxter
Ryan Baxter
This does not seem related to spring cloud config
> but it we have a requirement that each active profile may load up different properties from arbitrary vault paths that have nothing to do with the application or profile...
See this documentation https://docs.spring.io/spring-cloud-config/docs/current/reference/html/#_multiple_properties_sources
I think I understand this better now. Honestly it was something we never anticipated supporting to begin with. I am going to open this up for votes to see if...
I believe the way you order things in `spring.config.import` will specify the priority order (the last one will win).
Have you tried this with Spring Cloud 2021.0.5 or 2022.0.1?
For local overrides to work properly you need to use Bootstrap configuration. If you add `spring-cloud-starter-bootstrap` to the classpath and then set `spring.cloud.config.uri` in bootstrap.properties and remove the `spring.config.import` property...
I understand, but this is a limitation that is out of our control because Spring Boot is loading the properties when using `spring.config.import`. This is why I am suggesting an...
The other option is to use a profile specific properties file in the client. If you create `application-overrides.properties` and activate the `overrides` profile properties in that file will override what...
That documentation is very old its from `Version: Brixton.BUILD-SNAPSHOT`. I don't see any references to this in our current docs https://docs.spring.io/spring-cloud/docs/current/reference/html/ https://docs.spring.io/spring-cloud/docs/2021.0.5/reference/html/