• Andy Wilkinson's avatar
    Use unique names for wildcard property sources · 32e1289b
    Andy Wilkinson authored
    Update `StandardConfigDataLoader` to use unique names for property
    sources imported from a wildcard location.
    
    Prior to this commit, all the property sources created from the same
    wildcard location would have the same name. Each time a property source
    that is equal to an existing property source is added, it replaces the
    existing property source. Property source equality is name-based so this
    resulted in the last property sources from the wildcard location
    winning.
    
    This commit updates `StandardConfigDataLoader` to use the resolved
    Resource rather than the wildcard location in which it was discovered
    in the name of the property source that it creates, ensuring that each
    is property source from a wildcard location is uniquely named.
    
    Fixes gh-24428
    32e1289b
Name
Last commit
Last update
.github Loading commit data...
buildSrc Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
gradle/wrapper Loading commit data...
idea Loading commit data...
spring-boot-project Loading commit data...
spring-boot-tests Loading commit data...
src Loading commit data...
.editorconfig Loading commit data...
.gitignore 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...
build.gradle Loading commit data...
gradle.properties Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle Loading commit data...