• Andy Wilkinson's avatar
    Merge config from custom locations with default configuration · 5f8c1e77
    Andy Wilkinson authored
    Previously, when one or more custom locations were specified on
    @ConfigurationProperties, the configuration loaded from those locations
    was used in isolation from the default configuration provided by the
    environment. Users have been surprised by this behaviour. For example,
    it means that a placeholder used in the custom configuration will not
    be resolved against the system properties.
    
    This commit adds a new attribute, merge, to @ConfigurationProperties,
    that defaults to true. When merge is true the default property sources
    are appended to those that are loaded from the custom locations. When
    set to false the custom configuration is used in isolation.
    
    Closes #1301
    5f8c1e77
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
spring-boot-versions Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...