Commit Graph

4560 Commits (8a0dc61c5957cd596c1b918d5fa438bf9369a175)

Author SHA1 Message Date
Andy Wilkinson 5ae7aeff21 Revert "Upgrade to Saaj Impl 1.5.1"
This reverts commit 1f47bd9717.

See gh-15915
6 years ago
Andy Wilkinson 799ac24da1 Reinstate auto-config of RequestContextFilter with Jersey
Previously, the auto-configuration for both Jersey and WebMvc would auto-configure
a RequestContextFilter bean. In 2.1.0, this led to a startup failure due to the latter
attempting to override the bean defined by the former. In addition to the override there
were also problems with the order of the filter as Jersey uses -1 and MVC uses -105.

To avoid the above-described problems, the auto-configuration of the RequestContextFilter
was removed from JerseyAutoConfiguration in 2.1.1. Unfortunately, the broke
request-scoped beans for those using only Jersey.

This commit attempts to strike a better balance by reintroducing the auto-configuration
of RequestContextFilter in JerseyAutoConfiguration. It will back off if the user defines
their own filter or filter registration. WebMvcAutoConfiguration has been updated to
back off in the same manner. This leaves the potential for ordering problems, but they
are no worse than they were before. Furthermore, the user has the means to correct any
problems by using the various filter ordering properties that are provided for Jersey,
Spring Session, Spring Security, etc.

Closes gh-15376
6 years ago
Andy Wilkinson cc64398800 Revert "Upgrade to Couchbase Client 2.7.3"
This reverts commit 06feb728b8.

See gh-15914
6 years ago
Stephane Nicoll 4469c46b0a Polish "Document internationalization support"
Closes gh-15881
6 years ago
Kedar Joshi 989ac08f34 Document internationalization support
See gh-15881
6 years ago
Andy Wilkinson ef10eed83f Upgrade to Lombok 1.18.6
Closes gh-15928
6 years ago
Andy Wilkinson 3ec19362d6 Upgrade to Pooled Jms Version 1.0.4
Closes gh-15927
6 years ago
Andy Wilkinson 2ea9037aef Upgrade to Liquibase 3.6.3
Closes gh-15926
6 years ago
Andy Wilkinson 4cd1e68660 Upgrade to Mimepull 1.9.11
Closes gh-15925
6 years ago
Andy Wilkinson ba786048e0 Upgrade to Infinispan 9.4.6.Final
Closes gh-15924
6 years ago
Andy Wilkinson 8076dbc277 Upgrade to Groovy 2.5.6
Closes gh-15923
6 years ago
Andy Wilkinson 8b9b162675 Upgrade to Tomcat 9.0.16
Closes gh-15922
6 years ago
Andy Wilkinson 6dcf0ebb9b Upgrade to Log4j2 2.11.2
Closes gh-15921
6 years ago
Andy Wilkinson f8548d10b4 Upgrade to Artemis 2.6.4
Closes gh-15920
6 years ago
Andy Wilkinson 14212e9e22 Upgrade to Byte Buddy 1.9.10
Closes gh-15919
6 years ago
Andy Wilkinson ec9fe4bed5 Upgrade to Mysql 8.0.15
Closes gh-15918
6 years ago
Andy Wilkinson 59e9396c7d Upgrade to Undertow 2.0.17.Final
Closes gh-15917
6 years ago
Andy Wilkinson c2b5d9655d Upgrade to Rxjava2 2.2.6
Closes gh-15916
6 years ago
Andy Wilkinson 1f47bd9717 Upgrade to Saaj Impl 1.5.1
Closes gh-15915
6 years ago
Andy Wilkinson 06feb728b8 Upgrade to Couchbase Client 2.7.3
Closes gh-15914
6 years ago
Andy Wilkinson 0f2e13e707 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 103e072836 Upgrade to Thymeleaf Extras Java8time 3.0.3.RELEASE
Closes gh-15913
6 years ago
Andy Wilkinson 776e6bd47b Upgrade to Neo4j Ogm 3.1.7
Closes gh-15912
6 years ago
Andy Wilkinson 4bc40f9c47 Upgrade to Hibernate 5.2.18.Final
Closes gh-15911
6 years ago
Andy Wilkinson bb0d948f66 Upgrade to Janino 3.0.12
Closes gh-15910
6 years ago
Andy Wilkinson 33c32e8cb4 Upgrade to Reactor Bom Bismuth-SR16
Closes gh-15909
6 years ago
Andy Wilkinson 8ddf4a5a52 Upgrade to Netty 4.1.33.Final
Closes gh-15908
6 years ago
Andy Wilkinson b16aa6b21c Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson a975c0ad16 Use Testcontainers’ CassandraContainer rather than our own
Closes gh-15901
6 years ago
Andy Wilkinson 8426d8854f Import Testcontainers' bom rather than managing modules individually
Closes gh-15900
6 years ago
Andy Wilkinson 2884d99a5d Complete move to Testcontainers' Neo4j container
Closes gh-15638
6 years ago
Andy Wilkinson 01b8e2c834 Polish “Replace custom Neo4j container with Testcontainers version”
See gh-15638
6 years ago
Michael Simons 316126e8f0 Replace custom Neo4j container with Testcontainers version
See gh-15638
6 years ago
Andy Wilkinson a5aceb35d7 Upgrade to Testcontainers 1.10.6
Closes gh-15893
6 years ago
Andy Wilkinson 20f26c4d30 Polish "Fix stopping of Embedded Mongo before context is closed"
See gh-15692
6 years ago
Eugene 750246f021 Fix stopping of Embedded Mongo before context is closed
See gh-15692
6 years ago
Andy Wilkinson 295a660e35 Polish "Set NO_REQUEST_TIMEOUT as a server option not a socket option"
See gh-15822
6 years ago
ayudovin dbce3731a4 Set NO_REQUEST_TIMEOUT as a server option not a socket option
See gh-15822
6 years ago
Jeffrey van der Laan 4f86233ca7 Do not auto-configure OEMIV filter when user defines registration bean
See gh-15889
6 years ago
Andy Wilkinson 3f32fbd0de Polish "Remove unwanted @Nullable annotations"
See gh-15876
6 years ago
wonwoo 2855321074 Remove unwanted @Nullable annotations
See gh-15876
6 years ago
Andy Wilkinson 6fe9e3a0e1 Test the Gradle plugin against Gradle 5.2.1
Closes gh-15892
6 years ago
Andy Wilkinson 4faa0f51b7 Polish "Test the Gradle plugin against Gradle 4.10.3 and 5.1.1"
Closes gh-15791
6 years ago
dreis2211 1de372d896 Test the Gradle plugin against Gradle 4.10.3 and 5.1.1
See gh-15791
6 years ago
Madhura Bhave 26da45aa9a Configure a JerseyApplicationPath bean for the actuators
This commit also ensures that Jersey-based actuator endpoints are
available before the user has configured a `ResourceConfig` bean

Fixes gh-15625
Fixes gh-15877
6 years ago
Brian Clozel c24f02696f Upgrade to Californium-BUILD-SNAPSHOT
See gh-15878
6 years ago
Brian Clozel 72c8e5d366 Collect HTTP trace at commit time for WebFlux
Prior to this commit, the `HttpTraceWebFilter` would collect the
response information (status and headers) for tracing purposes, after
the handling chain is done with the exchange - inside a
`doAfterSuccessOrError`.

Once the handler has processed the exchange, there is no strong
guarantee about the HTTP resources being still present. Depending on the
web server implementation, HTTP resources (including HTTP header maps)
might be recycled, because pooled in the first place.

This commit moves the collection and processing of the HTTP trace right
before the response is committed. This removes the need to handle
special cases with exceptions, since by that time all exception handlers
have processed the response and the information that we extract is the
information that's about to be written to the network.

Fixes gh-15819
6 years ago
Brian Clozel cba6079b7b Log unhandled server exceptions in WebFlux
Prior to this commit, errors unhandled by custom `WebExceptionHandler`
and resulting in an HTTP 500 status would not be logged at ERROR level,
giving no information to developers about the actual exception.

This commit ensures that such exceptions are logged at the ERROR level
with their exception. By the time the exception hits the
`DefaultErrorWebExceptionHandler`, if the response is already committed
or if the exception is due to a client disconnecting, the error is
delegated to Framework support as Spring Boot won't be able to render an
error page as expected.

Fixes gh-15769
6 years ago
Johnny Lim 885c28891b Polish
Closes gh-15873
6 years ago
dreis2211 48295e16fc Fix assertion
Closes gh-15871
6 years ago
Madhura Bhave dc31f617b3 Document limitations of YAML documents & profile-specific files
Fixes gh-15790
6 years ago
Andy Wilkinson 688eb894d0 Start building against Micrometer 1.1.3 snapshots
See gh-15869
6 years ago
Andy Wilkinson 4efca4a455 Start building against Spring Session Bean-SR3 snapshots
See gh-15868
6 years ago
Andy Wilkinson 01693bb1fd Start building against Spring Kafka 2.2.4 snapshots
See gh-15867
6 years ago
Andy Wilkinson 474a706cc3 Start building against Spring Integration 5.1.3 snapshots
See gh-15866
6 years ago
Andy Wilkinson 245d3cf9f4 Start building against Spring AMQP 2.1.4 snapshots
See gh-15865
6 years ago
Andy Wilkinson 96cf7b1e64 Start building against Spring Data Lovelace-SR5 snapshots
See gh-15864
6 years ago
Andy Wilkinson 333fe77f58 Start building against Spring Security 5.1.4 snapshots
See gh-15863
6 years ago
Andy Wilkinson 1f4927b65d Start building against Spring Framework 5.1.5 snapshots
See gh-15862
6 years ago
Andy Wilkinson 59c66eaf41 Correct documented path for locked synchronizer's identity hashcode
Closes gh-15847
6 years ago
Andy Wilkinson ebcc53a9b7 Include tasks with custom triggers in scheduledtasks endpoint output
Closes gh-15815
6 years ago
Andy Wilkinson 1f67707509 Fix cast in TestRestTemplateContextCustomizer
Closes gh-15843
6 years ago
Andy Wilkinson 8a7958ef55 Do not use reflection to fall back to JDKs jar URLStreamHandler
Closes gh-15844
6 years ago
Andy Wilkinson 82bc87560c Use AssertJ’s exception assertions rather than fail
Closes gh-15761
6 years ago
Stephane Nicoll 9357a92503 Add reference to Codecentric's SOAP Web Services starter 6 years ago
Andy Wilkinson 2650a07dc9 Leave module-info.class in root of archive when repackaging
Closes gh-15810
6 years ago
Stephane Nicoll ede23caace Polish "Inject Map directly rather than via ObjectProvider"
Closes gh-15798
6 years ago
ayudovin 3a2e85ce75 Inject Map directly rather than via ObjectProvider
See gh-15798
6 years ago
Stephane Nicoll c5675de666 Polish "Handle AccessControlException in JspTemplateAvailabilityProvider"
Closes gh-15778
6 years ago
ayudovin 81273bdf9a Handle AccessControlException in JspTemplateAvailabilityProvider
See gh-15778
6 years ago
Stephane Nicoll 6f86a84301 Polish "Alias auto-configured `TaskExecutor` to make async tasks use it"
Closes gh-15748
6 years ago
Camille Vienot d0859f1569 Alias auto-configured `TaskExecutor` to make async tasks use it
See gh-15748
6 years ago
Vedran Pavic d7550d73a3 Remove duplicate code from HealthWebEndpointResponseMapper
Closes gh-15784
6 years ago
Andy Wilkinson a172e146de Polish "Always fail fast when SSL is enabled without a key store"
Closes gh-15709
6 years ago
Raheela 62c8ac6ee8 Always fail fast when SSL is enabled without a key store
See gh-15709
6 years ago
Andy Wilkinson e15e140f8c Polish "Fix typos in JsonContentAssert failure messages"
See gh-15752
6 years ago
Johnny Lim 3744082996 Fix typos in JsonContentAssert failure messages
Closes gh-15752
6 years ago
Stephane Nicoll f0a20b1821 Polish contribution
Closes gh-15733
6 years ago
NAIT BELKACEM 6a0053c8bc Fix typo
See gh-15733
6 years ago
Stephane Nicoll 708ca0636f Clarify that Spring Boot uses the platform MBeanServer by default
Closes gh-15728
6 years ago
Stephane Nicoll 485bdc9901 Polish "Remove redundant interface modifiers"
Closes gh-15694
6 years ago
igor-suhorukov 2d873c78fe Remove redundant interface modifiers
See gh-15694
6 years ago
Phillip Webb 72400d3a96 Upgrade to Spring Batch 4.1.1
Closes gh-15659
6 years ago
Phillip Webb 9e58942698 Update copyright year for changed files 6 years ago
Phillip Webb 6a901199f5 Polish 6 years ago
Andy Wilkinson 023c7159ac Upgrade to Spring Batch 4.0.2.RELEASE
Closes gh-15658
6 years ago
Andy Wilkinson f0141dadab Revert "Upgrade to Glassfish Jaxb 2.3.2"
This reverts commit 6b952f5b65.

See gh-15689
6 years ago
Andy Wilkinson 6b952f5b65 Upgrade to Glassfish Jaxb 2.3.2
Closes gh-15689
6 years ago
Andy Wilkinson 48b485161e Upgrade to Byte Buddy 1.9.7
Closes gh-15688
6 years ago
Andy Wilkinson eb96cdffd2 Upgrade to Reactor Bom Californium-SR4
Closes gh-15687
6 years ago
Andy Wilkinson c5e14afcd1 Upgrade to Micrometer 1.1.2
Closes gh-15686
6 years ago
Andy Wilkinson 1bd030c17a Upgrade to Spring Kafka 2.1.12.RELEASE
Closes gh-15685
6 years ago
Andy Wilkinson 99df485268 Merge branch '2.0.x' into 2.1.x 6 years ago
Andy Wilkinson 2af133084a Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 6307cb5943 Disable Tomcat’s reference clearing
Closes gh-15101
6 years ago
Stephane Nicoll e95a6e8c5c Upgrade to Spring Kafka 2.2.3
Closes gh-15414
6 years ago
Stephane Nicoll c18a0756ac Upgrade to Spring Session Bean-SR2
Closes gh-15531
6 years ago
Stephane Nicoll def5c15a14 Upgrade to Spring Security 5.1.3
Closes gh-15417
6 years ago
Stephane Nicoll 211d7aee5d Upgrade to Spring Integration 5.1.2
Closes gh-15413
6 years ago
Stephane Nicoll 3fe3ff7be6 Upgrade to Spring AMQP 2.1.3
Closes gh-15407
6 years ago
Stephane Nicoll 89fcb8b381 Upgrade to Spring Session Apple-SR8
Closes gh-15530
6 years ago
Stephane Nicoll aaadc620da Upgrade to Spring Security 5.0.11
Closes gh-15416
6 years ago
Stephane Nicoll 3c917bc80f Upgrade to Spring Integration 5.0.11
Closes gh-15412
6 years ago
Stephane Nicoll e1c2eb04e0 Upgrade to Spring AMQP 2.0.11
Closes gh-15406
6 years ago
Madhura Bhave b345fc8574 Fix validation when key matching the prefix is set
Fixes gh-15597
6 years ago
Andy Wilkinson b9d2fab70c Upgrade to Reactor Bom Bismuth-SR15
Closes gh-15676
6 years ago
Stephane Nicoll 7529179d39 Upgrade to Spring Data Lovelace SR4
Closes gh-15410
6 years ago
Stephane Nicoll 8722d02c1e Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll c8c047d3d8 Upgrade to Spring Data Kay SR13
Closes gh-15409
6 years ago
Stephane Nicoll a697d641e7 Upgrade to Neo4j Ogm 3.1.6
Closes gh-15671
6 years ago
Stephane Nicoll cdf76e34a9 Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll 44dc29901b Upgrade to Micrometer 1.0.9
Closes gh-15669
6 years ago
Stephane Nicoll 9a35a037a9 Upgrade to Spring Web Services 3.0.6.RELEASE
Closes gh-15667
6 years ago
Stephane Nicoll 5a5367591a Upgrade to Spring Framework 5.1.4.RELEASE
Closes gh-15493
6 years ago
Stephane Nicoll e28b802775 Upgrade to Spring Framework 5.0.12.RELEASE
Closes gh-15528
6 years ago
Brian Clozel 958e08c413 Merge branch '2.0.x' into 2.1.x 6 years ago
dreis2211 95e26ffcb9 Avoid uri tag explosion when use of path variable is undetected
This commit aligns the Spring WebFlux instrumentation on Spring MVC
since gh-12447.
From now on, if the best matching path pattern is not found,
the recorded uri tag will be "UNKNOWN".

Note that for WebFlux.fn, the pattern information is properly
recorded as of SPR-17395.

Closes gh-15609
6 years ago
Brian Clozel 6200a319f2 Polish
Closes gh-15385
6 years ago
ayudovin e9588ca04b Support server.connection-timeout for Netty server 6 years ago
Brian Clozel c40e61c117 Merge branch '2.0.x' into 2.1.x 6 years ago
Brian Clozel 0e13fd039d Configure HTTP compression for HTTP/2 with Tomcat
This commit ensures that the compression options are also applied on the
`Http2Protocol` when http/2 is enabled with Tomcat.

Closes gh-15591
6 years ago
Stephane Nicoll ca7f338a39 Polish "Remove redundant throws Exception"
Closes gh-15647
6 years ago
Stephane Nicoll 02581c005a Polish "Fix typo"
Closes gh-15642
6 years ago
Michael Simons 7a2313892c Fix typo
See gh-15642
6 years ago
小呆 e5b2aeb5da Remove redundant throws Exception
Closes gh-15645
6 years ago
Stephane Nicoll 4670770da9 Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll 7330b8b16f Upgrade to Hibernate Validator 6.0.14.Final
Closes gh-15639
6 years ago
Stephane Nicoll 830da28b8c Fix JPA bootstrap executor detection with multiple candidates
Spring Boot provides two separate auto-configurations that can
potentially expose an `AsyncTaskExecutor` implementation so relying on
the presence of a single instance is too weak.

This commit fixes the detection of the AsyncTaskExecutor that can be
used to bootstrap JPA so that a single instance is used and, in the case
more than one exists, the one named `applicationTaskExecutor`.

Closes gh-15447
6 years ago
Stephane Nicoll d4992777b9 Improve TaskExecution documentation with custom Executor and Spring MVC
Closes gh-15447
6 years ago
Stephane Nicoll 6ad01a6dfc Optimize ConditionalOnEnabledEndpoint usage
Closes gh-15451
6 years ago
Stephane Nicoll 2d2aa96c05 Allow ConditionalOnEnabledEndpoint to be set at class level
See gh-15451
6 years ago
Stephane Nicoll 580c73a026 Upgrade to Jooq 3.11.9
Closes gh-15617
6 years ago
Stephane Nicoll b0dbe09b8c Upgrade to Ehcache3 3.6.3
Closes gh-15616
6 years ago
Stephane Nicoll 232f0fe894 Upgrade to Groovy 2.5.5
Closes gh-15615
6 years ago
Stephane Nicoll 383da2183e Upgrade to Rxjava2 2.2.5
Closes gh-15614
6 years ago
Stephane Nicoll a713e598e7 Upgrade to Dropwizard Metrics 4.0.5
Closes gh-15613
6 years ago
Stephane Nicoll 8024c2c543 Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll d909b722f6 Upgrade to Maven Assembly Plugin 3.1.1
Closes gh-15612
6 years ago
Stephane Nicoll 1132ad411d Upgrade to Johnzon Jsonb 1.1.11
Closes gh-15611
6 years ago
Johnny Lim c41dc4e0cb Fix the anchor for the Micrometer Elasticsearch section
Closes gh-15610
6 years ago
Stephane Nicoll 4729d170a8 Polish "Ensure checking customizer ordering"
Closes gh-15603
6 years ago
Tadaya Tsuyukubo b34e752db6 Ensure checking customizer ordering
See gh-15603
6 years ago
Madhura Bhave 5b990605dc Polish "Order actuator security config after resource-server config"
Closes gh-15472
6 years ago
Stephen Doxsee 4597e7cc82 Order actuator security config after resource-server config
See gh-15472
6 years ago
Madhura Bhave d1e1a82b32 Support binding to collection with EnumSet values
Fixes gh-15539
6 years ago
Oleksii Bondar b52dddf784 Refactor OAuth2ClientPropertiesRegistrationAdapterTests
Closes gh-15586
6 years ago
Stephane Nicoll c6202b57e0 Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll be161b23cb Polish class conditions documentation
Closes gh-15578
6 years ago
Stephane Nicoll a8efcadc90 Merge branch '2.0.x' into 2.1.x 6 years ago
Stephane Nicoll 4509164789 Polish "Add unit test for cassandra health checker"
Closes gh-15583
6 years ago