spring-boot/spring-boot-project
Andy Wilkinson 32e1289bbc Use unique names for wildcard property sources
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
2020-12-10 10:43:34 -08:00
..
2020-12-10 13:52:49 +01:00
2020-12-10 13:53:06 +01:00
2020-11-10 17:44:05 +01:00
2020-12-04 18:31:55 -08:00
2020-12-08 12:13:02 -08:00