- 07 Jun, 2021 2 commits
-
-
Phillip Webb authored
Closes gh-26782
-
Phillip Webb authored
Allow groups to be used with standard locations so that order of profile-specific files is consistent. Prior to this commit, the default search locations considered for application properties/yaml files was the following: optional:classpath:/ optional:classpath:/config/ optional:file:./ optional:file:./config/ optional:file:./config/*/ Each of these locations was independent which could cause confusion if certain combinations were used. For example, if profile-specific files were added to `classpath:/` and `classpath:/config/` then the latter would always override the former regardless of the profile ordering. This commit updates `StandardConfigDataLocationResolver` so that a group of locations can be specified for each item. This allows us to define the following set of search locations which provide more logical ordering for profile-specific files optional:classpath:/;optional:classpath:/config/ optional:file:./;optional:file:./config/;optional:file:./config/*/ Closes gh-26593
-
- 06 Jun, 2021 11 commits
-
-
Stephane Nicoll authored
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-26781
-
Stephane Nicoll authored
Closes gh-26780
-
Stephane Nicoll authored
Closes gh-26779
-
Stephane Nicoll authored
Closes gh-26778
-
Stephane Nicoll authored
Closes gh-26777
-
Stephane Nicoll authored
Closes gh-26776
-
Stephane Nicoll authored
See gh-26765
-
Stephane Nicoll authored
See gh-26764
-
Stephane Nicoll authored
See gh-26761
-
- 05 Jun, 2021 5 commits
-
-
Stephane Nicoll authored
-
Stephane Nicoll authored
-
Stephane Nicoll authored
See gh-26772
-
Stephane Nicoll authored
See gh-26771
-
Stephane Nicoll authored
See gh-26770
-
- 04 Jun, 2021 14 commits
-
-
Stephane Nicoll authored
-
Stephane Nicoll authored
See gh-26763
-
Stephane Nicoll authored
See gh-26762
-
Stephane Nicoll authored
See gh-26760
-
Stephane Nicoll authored
-
Stephane Nicoll authored
-
Stephane Nicoll authored
-
Stephane Nicoll authored
* pr/26751: Polish "Fix typo in 'Reacting to the Maven plugin' title" Fix typo in 'Reacting to the Maven plugin' title Closes gh-26751
-
Stephane Nicoll authored
See gh-26751
-
Abel Salgado Romero authored
See gh-26751
-
Phillip Webb authored
Closes gh-26755
-
Phillip Webb authored
Update the `ConfigDataEnvironment` so that the `resolveProfileSpecific` method of `ConfigDataLocationResolver` is no longer called when resolving imports declared in a profile-specific file. Fixes gh-26753
-
Phillip Webb authored
Closes gh-26754
-
Phillip Webb authored
Update `StandardConfigDataLocationResolver` so that profile-specific imports can only be used when there is no parent import. Prior to this commit, given the following application.properties file: spring.profiles.active=p1,p2 spring.config.import=other.properties We would attempt to import `other.properties`, `other-p1.properties` and `other-p2.properties`. This seems quite confusing and when we really only need to support profile-specific properties for the initial root set of locations. Fixes gh-26752
-
- 03 Jun, 2021 7 commits
-
-
Stephane Nicoll authored
Closes gh-26748
-
Stephane Nicoll authored
Closes gh-26747
-
Stephane Nicoll authored
* pr/26737: Remove reference to surefirebooter JAR Closes gh-26737
-
dreis2211 authored
See gh-26737
-
Phillip Webb authored
Closes gh-26744
-
Phillip Webb authored
Closes gh-26743
-
Phillip Webb authored
Update `JarFile` and `JarFileWrapper` classes so that they no longer close the `JarFile` early if a `SecurityManager` is in use. Prior to this commit, the closed `JarFile` would cause (an ultimately swallowed) NPE in `ZipFile` which manifested itself as a `ClassNotFoundException` when starting the app. Closes gh-25538
-
- 02 Jun, 2021 1 commit
-
-
Madhura Bhave authored
Closes gh-26741
-