-
Notifications
You must be signed in to change notification settings - Fork 41.3k
Open
Labels
status: pending-design-workNeeds design work before any code can be developedNeeds design work before any code can be developedtheme: config-dataIssues related to the configuration themeIssues related to the configuration themetype: enhancementA general enhancementA general enhancement
Milestone
Description
Currently application.properties
and application.yaml
files are loaded from the classpath and the first match wins. This makes it hard to bundle common properties into jar files. It would be nice if we could find a way for jars to also contribute properties without needing to implement a EnvironmentPostProcessor
.
There are a few things we need to be careful of:
- What order to we load the resources and how do we make sure a developer can override a contributed value
- We don't want to increase startup time (for example by doing a full classpath search)
- We can't break back-compatibility
- We need to be mindful of
spring.config.import=classpath:
mathze, svolle, tagae, remal, jkdoug and 4 more
Metadata
Metadata
Assignees
Labels
status: pending-design-workNeeds design work before any code can be developedNeeds design work before any code can be developedtheme: config-dataIssues related to the configuration themeIssues related to the configuration themetype: enhancementA general enhancementA general enhancement