- 02 Feb, 2018 12 commits
-
-
dreis2211 authored
-
Andy Wilkinson authored
The fix in Spring Data Redis for sentinel configuration means that two Jedis sentinel tests now attempt to connect to a Sentinel. As a result the tests fail. Running a Redis Sentinel in a Docker container appears to be non-trivial. As an alternative, this commit updates the tests to capture the JedisConnectionFactory prior to its initialization (which is the failure trigger) and then assert that its configuration is as expected. See gh-11884 Closes gh-11855
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
* gh-11812: Polish “Remove or use unused method parameters” Remove or use unused method parameters
-
Andy Wilkinson authored
Closes gh-11812
-
igor-suhorukov authored
-
Phillip Webb authored
Refine the options to include 'default'. Also no longer add the prefix to all results. Closes gh-11875
-
Phillip Webb authored
Fix failure introduced in commit 8af02ce0. See gh-11880
-
Phillip Webb authored
Update `AbstractHealthIndicator` so that the warning message can be customized. Also updated our existing indicators with better messages. Fixes gh-11880
-
Phillip Webb authored
Move `ApplicationHome`, `ApplicationPid` and `ApplicationTemp` to the `system` package. Since `system` package is now much lower level, the existing `FileWriter` implementations also needed to move to prevent package tangles. Fixes gh-8614
-
Phillip Webb authored
Add a new `WebServerApplicationContext` interface that provides a common abstraction for all application contexts that create and manage the lifecycle of an embedded `WebServer`. Allows server namespaces to become a first-class concept (rather subverting `ConfigurableWebApplicationContext.getNamespace()`) and allow us to drop `getServerId()` from `WebServerInitializedEvent`. Also helps to improve `ManagementContextAutoConfiguration` and `ManagementContextFactory`. Fixes gh-11881
-
- 01 Feb, 2018 22 commits
-
-
Phillip Webb authored
Update the CLI encodepassword command to also include the algorithm prefix. Closes gh-11875
-
Phillip Webb authored
-
Phillip Webb authored
Update `SpringBootContextLoader` so that `getInitializers()` is now a protected method for subclasses to override if necessary. Closes gh-11457
-
Phillip Webb authored
Update the CLI so that `encodepassword <password>` can be used to generate an encoded password. Fixes gh-11875
-
Andy Wilkinson authored
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
See gh-11877
-
Madhura Bhave authored
Closes gh-11861
-
Madhura Bhave authored
-
Andy Wilkinson authored
By default, AbstractTestExecutionListeners have an order of lowest precedence. This means that it is impossible to write a listener with lower precedence that any listener that's using the default order. This commit updates Boot's 6 AbstractTestExecutionListeners to order them explicitly. MockitoTestExecutionListener performs injection of Mockito mocks and spies into the test instance. It now has an order of 2050 giving it slightly lower precedence than the dependency injection test execution listener (2000). The remaining 5 listeners have all been ordered with lowest precedence - 100. This leaves them near their current lowest precedence position while creating some room for any listeners that require lower precedence. Closes gh-11796
-
Andy Wilkinson authored
Previously, the order of the entries in a TestJarFile was determined by the underlying file system rather than by the order in which they were added. This could lead to unpredicatable ordering and failures in tests that verify archive entry ordering. This commit updates TestJarFile to add entries to the archive in insertion order. See gh-11695 See gh-11696
-
Andy Wilkinson authored
Closes gh-11761
-
Andy Wilkinson authored
Closes gh-11830
-
Andy Wilkinson authored
Previously, the Repackager would write entries in the following order: - Libraries that require unpacking - Existing entries - Application classes - WEB-INF/lib jars in a war - Libraries that do not require unpacking - Loader classes Libraries that require unpacking were written before existing entries so that, when repackaging a war, an entry in WEB-INF/lib would not get in first and prevent a library with same location from being unpacked. However, this had the unwanted side-effect of changing the classpath order when an entry requires unpacking. This commit reworks the handling of existing entries and libraries that require unpacking so that existing entries can be written first while also marking any that match a library that requires unpacking as requiring unpacking. Additionally, loader classes are now written first. They are the first classes in the jar that will be used so it seems to make sense for them to appear first. This aligns Maven-based repackaging with the Gradle plugin's behaviour and with the structure documented in the reference documentation's "The Executable Jar Format" appendix. The net result of the changes described above is that entries are now written in the following order: - Loader classes - Existing entries - Application classes - WEB-INF/lib jars in a war marked for unpacking if needed - Libraries Closes gh-11695 Closes gh-11696
-
Andy Wilkinson authored
See gh-11397
-
Stephane Nicoll authored
* pr/11874: Remove obsolete comment
-
dreis2211 authored
Closes gh-11874
-
Stephane Nicoll authored
* pr/11871: Polish
-
Johnny Lim authored
Closes gh-11871
-
Madhura Bhave authored
-
Madhura Bhave authored
Closes gh-11420
-
- 31 Jan, 2018 6 commits
-
-
Andy Wilkinson authored
Closes gh-11504
-
Andy Wilkinson authored
See gh-11870
-
Andy Wilkinson authored
Closes gh-11225
-
Andy Wilkinson authored
* gh-11866: Add dependency management for remaining REST Assured modules Add dependency management for io.rest-assured:spring-mock-mvc
-
Stephane Nicoll authored
This commit makes sure that caching is enabled if an operation has nullable parameters and the actual invocation provides null values. Closes gh-11795
-
Andy Wilkinson authored
Close gh-11866
-