• Andy Wilkinson's avatar
    Resolve placeholders against the env in active/include profiles values · 7d247a71
    Andy Wilkinson authored
    The changes made in 919d0c61 meant that the value of
    spring.profiles.active or spring.profiles.include was only processed
    when a single property source, the property source for the config file
    being read, was available. This meant that any placeholders in those
    values would only be resolved against properties in the configuration
    file rather than against the entire environment.
    
    This commit updates the binding process so that placeholder resolution
    is not performed during binding against a single configuration file.
    Once binding has completed, the bounds values are post-processed to
    resolve and placeholders that they may contain.
    
    The two-step process described above is used in preference to binding
    against the whole environment. This avoids a problem with profiles
    that are active or included by property sources in the environment
    being processed repeatedly.
    
    Closes gh-8234
    7d247a71
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools 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-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...