- 03 Feb, 2018 5 commits
-
-
Phillip Webb authored
Update `MapBinder` to only attempt conversion based binding when there are no know descendant elements. See gh-11892
-
Phillip Webb authored
Add a new `@Delimiter` annotation that can be used to change how a String value is bound to a Collection. Fixes gh-11883
-
Phillip Webb authored
Temporarily work around SPR-16456
-
Phillip Webb authored
-
Phillip Webb authored
-
- 02 Feb, 2018 21 commits
-
-
Andy Wilkinson authored
-
Madhura Bhave authored
Closes gh-10751
-
Andy Wilkinson authored
-
Andy Wilkinson authored
* gh-11889: Polish “Prevent reverse name lookup when configuring Jetty's address” Prevent reverse name lookup when configuring Jetty's address
-
Andy Wilkinson authored
Closes gh-11889
-
Henrich Kraemer authored
Previously, the host on Jetty's connector was configured using the host address of the InetSocketAddress. This could result in reverse name resolution that could cause Jetty to bind to a different IP address than was configured. This commit updates the configuration code to use the host string when specifically does not perform reverse name resolution. See gh-11889
-
Andy Wilkinson authored
* gh-11466: Detect jOOQ SQLDialect through jOOQ's JDBCUtils
-
Lukas Eder authored
This change updates SqlDialectLookup to delegate to jOOQ's JDBCUtils rather than creating an additional mapping between org.springframework.boot.jdbc.DatabaseDriver and org.jooq.SQLDialect. This has the following advantages: 1. jOOQ's `SQLDialect` to URL mappings are already maintained by jOOQ, so no additional changes will be necessary to Spring Boot in the future. 2. Delegating to jOOQ means that the mapping also works for the commercial jOOQ distributions, e.g. when working with DB2, Oracle, SQL Server, etc., as the JDBCUtils of the commercial distribution also contains the relevant logic to map to e.g. `SQLDialect.DB2`, `SQLDialect.ORACLE`, `SQLDialect.SQLSERVER` (which are not available from the open source distribution linked by Spring Boot by default). Closes gh-11466
-
Andy Wilkinson authored
* gh-11487: Use HTTPS URLs where applicable
-
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 14 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
-