- 07 Jun, 2021 7 commits
-
-
Stephane Nicoll authored
Closes gh-26788
-
Stephane Nicoll authored
Closes gh-26787
-
Stephane Nicoll authored
Closes gh-26786
-
Stephane Nicoll authored
Closes gh-26785
-
Stephane Nicoll authored
Closes gh-26784
-
Stephane Nicoll authored
Closes gh-26783
-
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 7 commits
-
-
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
-
- 05 Jun, 2021 4 commits
-
-
Stephane Nicoll authored
-
Stephane Nicoll authored
See gh-26772
-
Stephane Nicoll authored
See gh-26771
-
Stephane Nicoll authored
See gh-26770
-
- 04 Jun, 2021 7 commits
-
-
Stephane Nicoll authored
See gh-26763
-
Stephane Nicoll authored
See gh-26762
-
Stephane Nicoll authored
See gh-26760
-
Stephane Nicoll authored
-
Stephane Nicoll authored
-
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
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 5 commits
-
-
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-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 6 commits
-
-
Madhura Bhave authored
Closes gh-26740
-
Madhura Bhave authored
Fixes gh-26736
-
Madhura Bhave authored
Closes gh-26738
-
Madhura Bhave authored
This commit aligns int and long so that a random number is generated by delegating to ints/longs in the JDK's Random API. In the case of a single bound value, it needs to be greater than 0 because 0 is used as the lower bound. Fixes gh-26628
-
Stephane Nicoll authored
Closes gh-26734
-
Stephane Nicoll authored
Closes gh-26733
-
- 01 Jun, 2021 2 commits
-
-
Stephane Nicoll authored
Closes gh-26724
-
Stephane Nicoll authored
Previously, LoggingSystem#get would chose Logback by the sole presence of a class in logback-core, with the assumption that logback-classic is also on the classpath. An app that only had the former would therefore fail. This commit updates the condition to check for a class in logback-classic instead. Closes gh-26711
-
- 31 May, 2021 2 commits
-
-
Stephane Nicoll authored
Closes gh-26716
-
Stephane Nicoll authored
* pr/26713: Remove redudant space Closes gh-26713
-