• Phillip Webb's avatar
    Rationalize multi-document config file handling · c0d79b92
    Phillip Webb authored
    Update `PropertySourceLoader` so that it no longer needs to deal with
    matching multi-document files using the `spring.profile` property. The
    loader now simply returns one or more `PropertSource` instances for a
    given `Resource`.
    
    All property matching now occurs in the `ConfigFileApplicationListener`.
    This allows document processing logic to be contained in a single place,
    and allows us to rationalize the algorithm so that negative matching
    profiles are processed last.
    
    Fixes gh-12159
    c0d79b92
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
spring-boot-project Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-samples-invoker Loading commit data...
spring-boot-tests Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml 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...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...