Commit Graph

86 Commits (70f6c784c770d5348c7048a27118202ddfda6507)

Author SHA1 Message Date
Andy Wilkinson 70f6c784c7 Upgrade to Spring Web Services 3.0.0.RC1
Closes gh-10666
7 years ago
Stephane Nicoll dd90f071c6 Bump ASM version to be Java 8+ compatible
Closes gh-10647
7 years ago
Johnny Lim caa6e18be1 Remove "Securing the H2 console" section
Closes gh-10657
7 years ago
Stephane Nicoll 2eba1c5f62 Polish "Use Assert.state() with Supplier where possible"
Closes gh-10658
7 years ago
dreis2211 3b71393e0a Use Assert.state() with Supplier where possible
See gh-10658
7 years ago
Johnny Lim 5aa32b3d0f Polish
Closes gh-10636
7 years ago
Andy Wilkinson 0af4536316 Ensure media types are used consistently across endpoint mappings
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
7 years ago
Stephane Nicoll 22de4303c5 Polish "When pool autocommit is disabled, inform Hibernate"
Closes gh-9737
7 years ago
Craig Andrews d0e70e90de When pool autocommit is disabled, inform Hibernate
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
7 years ago
James McShane 3237b05785 Update docs for OpenShift
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
7 years ago
Johnny Lim e234fb5d19 Fix broken links
Closes gh-10616
7 years ago
Vedran Pavic 12233672db Use properties in Security OAuth2 Client doc config example
Closes gh-10615
7 years ago
Vedran Pavic d705696bdd Fix Security OAuth2 Client documentation
This commit fixes incorrect section level and sample configuration properties.

See gh-10615
7 years ago
Madhura Bhave d307eba0a3 Add property to configure base-path for web endpoints.
Also, move properties corresponding to management server under
`management.server.*`.

Closes gh-10230
7 years ago
Brian Clozel 68db43cf44 Support error conventions in Spring WebFlux
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
7 years ago
Andy Wilkinson f8602817af Merge branch '1.5.x' 7 years ago
Andy Wilkinson 63b7591031 Add another dependency required for javadoc generation with Java 9
See gh-10515
7 years ago
Andy Wilkinson c3d10a811e Add dependencies required for javadoc generation with Java 9
See gh-10515
7 years ago
Andy Wilkinson 44acef2ae2 Merge branch '1.5.x' 7 years ago
Andy Wilkinson be09f1c256 Merge branch '1.5.x' 7 years ago
Brian Clozel 81d1b3c6ee Build against Spring Framework 5.0.1.BUILD-SNAPSHOT
See gh-10587
7 years ago
Andy Wilkinson 273defdb1f Merge branch '1.5.x' 7 years ago
Johnny Lim a51765d0f4 Fix broken documentation links
Update links following recent project restructure.

Closes gh-10601
7 years ago
Phillip Webb 97afe8e938 Fix package tangle in properties source
Update `SpringConfigurationPropertySource` so that it no longer
references types in `org.springframework.boot.env`.

Closes gh-10592
7 years ago
Phillip Webb f48550aa44 Fix package tangle in binder
Update the `BinderConversionService` so that it no longer references
classes from `org.springframework.boot.context.properties.bind`.

See gh-10592
7 years ago
Andy Wilkinson 1bd44d89d6 Test metrics endpoint using tag available on Java 9 as well as 8
See gh-10524
7 years ago
Andy Wilkinson bcfb1d17b1 Merge branch '1.5.x' 7 years ago
Spencer Gibb ce2058fa97 Change @ConditionalOnClass from Servlet to Flux
Update `ReactiveManagementContextAutoConfiguration` to check for a
`Flux` class rather than `Servlet`.

Closes gh-10590
7 years ago
Phillip Webb f337323819 Allow recursive binding in Maps
Update `Binder` so that Maps containing references to themselves may
be bound. The existing stack-overflow protection (required when binding
a bean to a non enumerable source) now only applies to bean properties.

Fixes gh-9801
7 years ago
Madhura Bhave 3ec3b64d45 Guard against binding non-instantiable types
Update `JavaBeanBinder` so that null instances that are non-instantiable
are not bound.

Fixes gh-10131
7 years ago
Madhura Bhave b7c37c2807 Expose webServer from ReactiveWebServerApplicationContext
Closes gh-9746
7 years ago
Phillip Webb 22a6ee03eb Polish MetricsEndpoint
See gh-10535
7 years ago
Jon Schneider 37975836f0 Support composite registries in MetricsEndpoint
Update `MetricsEndpoint` to deal with `CompositeMeterRegistry`
instances.

Closes gh-10535
7 years ago
Phillip Webb b3555fa5c5 Fix checkstyle violation in properties file
See gh-10565
7 years ago
dreis2211 a76005e8d9 Remove concatenations with empty string
Closes gh-10512
7 years ago
Thiago Hirata 85e71f2373 Update OriginTrackedPropertiesLoader to ISO 8859-1
Align `OriginTrackedPropertiesLoader` with Java default property loading
by using ISO 8859-1 character encoding.

Closes gh-10565
7 years ago
Phillip Webb 8e030d4769 Upgrade to Spring Session 2.0.0.M5
Closes gh-10326
7 years ago
Phillip Webb 1c7177d24a Upgrade to Spring Security 5.0.0.M5
Closes gh-10327
7 years ago
Phillip Webb 748e0779b6 Update copyright year for changed files 7 years ago
Phillip Webb d62d829c19 Polish 7 years ago
Phillip Webb 0118653878 Upgrade to Sqlite Jdbc 3.20.1
Closes gh-10585
7 years ago
Phillip Webb 80c85568fa Upgrade to Spring Ldap 2.3.2.RELEASE
Closes gh-10584
7 years ago
Phillip Webb 6f159d2ee7 Upgrade to Javassist 3.22.0-CR2
Closes gh-10583
7 years ago
Phillip Webb d1ea57f496 Upgrade to Johnzon Jsonb 1.1.4
Closes gh-10582
7 years ago
Phillip Webb 34f290afbb Upgrade to Httpcore 4.4.8
Closes gh-10581
7 years ago
Phillip Webb 702e831fcd Upgrade to Activemq 5.15.1
Closes gh-10580
7 years ago
Phillip Webb 96287173f9 Upgrade to Byte Buddy 1.7.6
Closes gh-10579
7 years ago
Phillip Webb 7404221678 Upgrade to Jest 5.3.3
Closes gh-10578
7 years ago
Phillip Webb e3d864670f Upgrade to Rest Assured 3.0.5
Closes gh-10577
7 years ago
Phillip Webb 0be541e0fb Upgrade to Rxjava2 2.1.5
Closes gh-10576
7 years ago