- 18 Oct, 2017 8 commits
-
-
Brian Clozel authored
See gh-10679
-
Andy Wilkinson authored
Closes gh-10678
-
Andy Wilkinson authored
Closes gh-10677
-
Andy Wilkinson authored
Closes gh-10676
-
Andy Wilkinson authored
Closes gh-10675
-
Andy Wilkinson authored
Closes gh-10674
-
Stephane Nicoll authored
* pr/10670: Polish HttpHeaderInterceptor
-
dreis2211 authored
Closes gh-10670
-
- 17 Oct, 2017 24 commits
-
-
Andy Wilkinson authored
Closes gh-10477
-
Andy Wilkinson authored
Previously, we relied on Mockito's internals to bypass any Spring AOP proxy during verification of a spy. Thanks to a new API in Mockito, we can replace the use of Mockito's internals with a VerificationStartedListener. This listener changes Mockito's view of the mock to be the ultimate target of the AOP proxy, i.e. to be the actual Mockito-created spy, allowing Mockito's verification of the spy to proceed successfully. This above-described change will mean that we require a very up-to-date version of Mockito so the tests that verify our compatibility with 2.5 have been removed as we will no longer support it when using @MockBean or @SpyBean. Lastly, two tests have been updated to replace their usage of the internal MockUtil class with the equivalent public API calls. Closes gh-10352
-
Andy Wilkinson authored
Closes gh-10668
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-10666
-
Stephane Nicoll authored
Closes gh-10647
-
Stephane Nicoll authored
* pr/10657: Remove "Securing the H2 console" section
-
Johnny Lim authored
Closes gh-10657
-
Stephane Nicoll authored
* pr/10658: Polish "Use Assert.state() with Supplier where possible" Use Assert.state() with Supplier where possible
-
Stephane Nicoll authored
Closes gh-10658
-
dreis2211 authored
See gh-10658
-
Stephane Nicoll authored
* pr/10636: Polish
-
Johnny Lim authored
Closes gh-10636
-
Andy Wilkinson authored
Previously, the media types that are consumed and produced by endpoints were configured in the web stack-specific configuration. Furthermore, these configured media types were not used for the discovery "endpoint" that links to all the available endpoints. This commit introduces EndpointMediaTypes that is configred in a single, central location and then used to configure the consumed and produced media types for endpoints exposed via WebFlux, Web MVC, and Jersey as well as the discovery "endpoint" provided by each. Closes gh-10659
-
Stephane Nicoll authored
* pr/9737: Polish "When pool autocommit is disabled, inform Hibernate" When pool autocommit is disabled, inform Hibernate
-
Stephane Nicoll authored
Closes gh-9737
-
Craig Andrews authored
Starting with Hibernate 5.2.10, the JPA property `hibernate.connection.provider_disables_autocommit` should be set to true when the datasource has autocommit disabled in order to improve performance. See gh-9737
-
Stephane Nicoll authored
* pr/10609: Update docs for OpenShift
-
James McShane authored
The current documentation references mechanisms for OpenShift 2, which has been changed significantly with the latest releases, specifically the OpenShift 3 release. Closes gh-10609
-
Stephane Nicoll authored
* pr/10616: Fix broken links
-
Johnny Lim authored
Closes gh-10616
-
Stephane Nicoll authored
* pr/10615: Use properties in Security OAuth2 Client doc config example Fix Security OAuth2 Client documentation
-
Vedran Pavic authored
Closes gh-10615
-
Vedran Pavic authored
This commit fixes incorrect section level and sample configuration properties. See gh-10615
-
- 16 Oct, 2017 8 commits
-
-
Madhura Bhave authored
Also, move properties corresponding to management server under `management.server.*`. Closes gh-10230
-
Brian Clozel authored
This commit adds support for Spring Boot error conventions with WebFlux. The Spring MVC support for that is based on an `Controller` that's mapped on a specific `"/error"` path and configured as an error page in the Servlet container. With WebFlux, this support leverages a `WebExceptionHandler`, which catches exceptions flowing through the reactive pipeline and handles them. The `DefaultErrorWebExceptionHandler` supports the following: * return a JSON error response to machine clients * return error HTML views (templates, static or default HTML view) One can customize the error information by contributing an `ErrorAttributes` bean to the application context. Spring Boot provides an `ErrorWebExceptionHandler` marker interface and a base implementation that provides high level constructs to handle errors, based on the Spring WebFlux functional flavor. The error handling logic can be completely changed by providing a custom `RouterFunction` there. Fixes gh-8625
-
Stephane Nicoll authored
-
Stephane Nicoll authored
-
Spring Buildmaster authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-10515
-
Andy Wilkinson authored
-