- 24 Aug, 2016 1 commit
-
-
Stephane Nicoll authored
Closes gh-6738
-
- 23 Aug, 2016 9 commits
-
-
Stephane Nicoll authored
This commit fixes the prefix for the WebClient and WebDriver auto-config so that it complies with the prefix set on `AutoconfigureWebMvc` Closes gh-6727
-
Andy Wilkinson authored
Closes gh-6729
-
Andy Wilkinson authored
* gh-6721: Include netty-handler as transient dependency of cassandra-driver-dse
-
Mark Paluch authored
Previously, Spring Data Cassandra excluded Netty from the Cassandra Driver's dependencies. This was an error that we replicated in our dependency management. The exclusion has been removed from Spring Data Cassandra's pom. This commit makes the equivalent update to our dependency management. Fixes gh-6616 Closes gh-6721
-
Stephane Nicoll authored
* pr/6728: Polish
-
Johnny Lim authored
Closes gh-6728
-
Andy Wilkinson authored
Closes gh-6724
-
Andy Wilkinson authored
Previously, configuring the build-info goal in a pom would result in Eclipse reporting an error for the pom as it didn’t know if/when to execute the build-info goal. This commit adds lifecycle mapping metadata so that the goal is executed on incremental builds. This ensures that the contents of the generated file are kept up-to-date, reflecting the latest build time, etc. Closes gh-6723
-
Stephane Nicoll authored
This commit marks the auto-configured `JdbcTemplate` as `Primary`. Spring session creates its own so we could end up with two in a fully auto configured context. Closes gh-6717
-
- 22 Aug, 2016 16 commits
-
-
Andy Wilkinson authored
Previously, Tomcat’s background processing was only enabled on the context but access logging was configured on the engine. This means that the access log valve’s background processing method was never called and, therefore, that it wasn’t flushed periodically. This commit moves the enablement of background processing up to the engine, thereby ensuring that the access log is flushed periodically. Background processing cascades down the container hierarchy so, after this change, background processing will still be performed on the context as well. Closes gh-6646
-
Andy Wilkinson authored
Closes gh-6661
-
Andy Wilkinson authored
* gh-6706: Polish “Add constructor to TestRestTemplate that takes a RestTemplateBuilder” Add constructor to TestRestTemplate that takes a RestTemplateBuilder
-
Andy Wilkinson authored
Closes gh-6702
-
Maciej Walkowiak authored
Closes gh-6706 See gh-6702
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-6701
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
We make Liquibase aware of our custom Commons Logging-based logger by adding its package to the Liquibase ServiceLocator’s packages to scan. Previously, this was happening too late so Liquibase may have already initialized and cached a particular logger. This commit moves the registration of the extra package from the Liquibase auto-configuration to the application listener that customises Liquibase’s ServiceLocator. This ensures that the package is added before Liquibase is used. Unfortunately, configuring Liquibase’s ServiceLocator and its packages to scan causes it to try to perform some logging, resulting in it caching the wrong type of logger. We work around this problem by resetting Liquibase’s LogFactory once we’ve finished setting everything up. Closes gh-6713
-
Stephane Nicoll authored
As of Spring Boot 1.4, IDEs are supposed to provide auto-completion for hints and enum values. This commit removes the hard-coded copy of allowed values for enum-based properties. This was mostly the case already and this commit fixes the few ones remaining. Closes gh-6654
-
Andy Wilkinson authored
Previously, when access logging was enabled and the management server was running on a separate port, both the main server and the management server would write their access logs to the same file. Having two separate containers writing to the same file could cause problems such as causing log rotation to break. This commit updates the actuator so that when the management server is running on a separate port (and therefore using a separate container) it prepends management_ to the access log prefix so that the main server and the management server write their access logs to separate files in the same directory. Closes gh-6618
-
Andy Wilkinson authored
-
Stephane Nicoll authored
This commit restores the support of "spring.datasource.type". If this property is set to an unsupported `DataSource` implementation, we now properly create it again, rather than ignoring it because its value did not match any value we support. Since Spring Boot 1.4 now redirects `DataSource` implementation settings to dedicated namespaces, the documentation has been updated to explicitly mention how one can create such arrangement for an unsupported implementation. As a convenience, `DataSourceProperties` can initialize a `DataSourceBuilder` based on its internal state, making it very easy for anyone to create a `DataSource` from a `DataSourceProperties` instance. Closes gh-6695
-
Stephane Nicoll authored
This commit adds two properties that can be used to customize the prefix and suffix of the Undertow's access log. Closes gh-6652
-
- 18 Aug, 2016 13 commits
-
-
Andy Wilkinson authored
Closes gh-6677
-
Andy Wilkinson authored
Closes gh-6678
-
Stephane Nicoll authored
Closes gh-6687
-
Andy Wilkinson authored
See gh-6679
-
Andy Wilkinson authored
Fix botched merge
-
Andy Wilkinson authored
-
Andy Wilkinson authored
* gh-6683: Test that LaunchedURLClassLoader works when thread is interrupted Ensure that LaunchedURLClassLoader works when thread is interrupted
-
Andy Wilkinson authored
Previously, RandomAccessDataFile used a semaphore and acquired it interruptibly. This meant that an interrupted thread was unable to access the file. Notably, this would prevent LaunchedURLClassLoader from loading classes or resources on an interrupted thread. The previous commit (937f8576) updates RandomAccessDataFile to acquire the semaphore uninterruptibly. This commit adds a test to LaunchedURLClassLoader to verify that it can now load a resource from an interrupted thread. Closes gh-6683
-
hengyunabc authored
See gh-6683
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, RestTemplateBuilder unwrapped the request factory to allow the actual factory to be customised but then set this unwrapped factory on the template that is being built. This meant that any wrappers were lost. This commit updates the build to unwrap the factory prior to it being customised, but to the set the original, possibly wrapped factory on the template that is being built. Closes gh-6685
-
Andy Wilkinson authored
Closes gh-6680
-
Andy Wilkinson authored
Closes gh-6679
-
- 17 Aug, 2016 1 commit
-
-
Stephane Nicoll authored
See gh-6561
-