Commit Graph

4036 Commits (c06424f00ace1b7d979f255b84f58548ab40864c)

Author SHA1 Message Date
Andy Wilkinson 6353603d63 Avoid exposing Jetty's WebSocketUpgradeFilter as a bean
When the filter is exposed as a bean (directly or through a
registration bean), it's picked up by the auto-configuration of
MockMvc. This causes a problem as MockMvc does not call init on a
filter before it's used and WebSocketUpgradeFilter fails with a
NullPointerException if its doFilter method is called when its init
method has not been called.

This commit reworks the WebSocket auto-configuration to use a
ServletContextInitalizer to register WebSocketUpgradeFilter rather
than a FilterRegistrationBean. This ensure that the filter is still
registered at the required position in the chain (last filter before
the servlet) while also preventing it from being registered with the
auto-configured MockMvc in tests.

Closes gh-37660
1 year ago
Andy Wilkinson 931584f8af Merge branch '2.7.x' into 3.0.x
Closes gh-37659
1 year ago
Johnny Lim c9932bb73a Use AssertJ's fail, not JUnit's
This commit also updates Checkstyle to prevent use of JUnit's
assertions from being reintroduced.

See gh-37655
1 year ago
Andy Wilkinson 26b9602596 Merge branch '2.7.x' into 3.0.x 1 year ago
Andy Wilkinson 0205b875a0 Polish 1 year ago
Andy Wilkinson 04054b6670 Merge branch '2.7.x' into 3.0.x
Closes gh-37631
1 year ago
Andy Wilkinson bfd1a29e53 Exclude AbstractTransactionAspect from lazy init
Fixes gh-37506
1 year ago
Andy Wilkinson c486892a9b Fix additional metadata location for spring.webflux.multipart.streaming
Closes gh-37608
1 year ago
Andy Wilkinson 6b107530f5 Polish "Use Neo4jManagedTypes to populate the mapping context"
See gh-37574
1 year ago
Michael Simons e0a5de01ca Use Neo4jManagedTypes to populate the mapping context
See gh-37574
1 year ago
Andy Wilkinson e2982a3a07 Merge branch '2.7.x' into 3.0.x
Closes gh-37552
1 year ago
Andy Wilkinson feae7be0a1 Polish "Fix handling of JMS listener concurrency properties"
See gh-37180
1 year ago
Vedran Pavic 366607f517 Fix handling of JMS listener concurrency properties
Update JMS listener concurrency configuration to set the same minimum
and maximum number of consumers when users specify only the minimum
using `spring.jms.listener.concurrency` property.

Prior to this commit, when using `spring.jms.listener.concurrency` to
set the minimum number of consumers without also specifying
`spring.jms.listener.max-concurrency` would result in effective
concurrency where the actual minimum number of consumers is always 1,
while the maximum number of consumers is the value of
`spring.jms.listener.concurrency`.

See gh-37180
1 year ago
Phillip Webb 9b5062e5bb Merge branch '2.7.x' into 3.0.x 1 year ago
Phillip Webb b83e7b42bb Update copyright year of changed files 1 year ago
Moritz Halbritter 5ec358099c Merge branch '2.7.x' into 3.0.x
Closes gh-37481
1 year ago
Moritz Halbritter 0ed455b058 Apply SAML2 sign-request even if metadata url is set
Closes gh-33747
1 year ago
Moritz Halbritter 99473362d8 Merge branch '2.7.x' into 3.0.x
Closes gh-37456
1 year ago
Moritz Halbritter 95690f7327 Fall back to all media types if encountering invalid Accept header
A warn log message is printed, and if log level is set to debug, the
exception stacktrace is logged, too.

Closes gh-37455
1 year ago
Andy Wilkinson 994bafdfd9 Merge branch '2.7.x' into 3.0.x 1 year ago
Marten Deinum 5141e5c4ac Fix description of brokerUrl property in ArtemisProperties
Update description to refer to url instead of port.

See gh-37260
1 year ago
Stephane Nicoll a52d7e255b Upgrade to Couchbase Client 3.4.10
Closes gh-37289
1 year ago
Moritz Halbritter a69ff3bd59 Merge branch '2.7.x' into 3.0.x 1 year ago
Moritz Halbritter 76e51bc92f Only enable needed Couchbase services in integration tests 1 year ago
Andy Wilkinson 67e1ee5dcf Fix ordering of Jetty's WebSocketUpgradeFilter
Closes gh-37115
1 year ago
Stephane Nicoll e8d329d99f Polish 1 year ago
Moritz Halbritter d3816651ce Merge branch '2.7.x' into 3.0.x
Closes gh-37014
1 year ago
Moritz Halbritter dc62e5fbc3 Polish "Set max request header size on Netty when using HTTP/2"
See gh-36766
1 year ago
Nerses Aznauryan ee5b23bb02 Set max request header size on Netty when using HTTP/2
Fix an issue that server.max-http-request-header-size doesn't have an
effect on Netty server with http2 enabled.

See gh-36766
1 year ago
Phillip Webb 9805723415 Update copyright year of changed files 1 year ago
Phillip Webb a0089c5c76 Merge branch '2.7.x' into 3.0.x 1 year ago
Phillip Webb 46773dd5df Update copyright year of changed files 1 year ago
Phillip Webb 527b2f2cac Polish 1 year ago
Andy Wilkinson 7c77668372 Merge branch '2.7.x' into 3.0.x
Closes gh-36864
1 year ago
Andy Wilkinson c1f2efe00c Document that spring.security.filter properties are Servlet-only
Closes gh-33551
1 year ago
Stephane Nicoll e7706b4201 Merge branch '2.7.x' into 3.0.x
Closes gh-36771
1 year ago
Stephane Nicoll 5e11bac1da Polish "Configure ActiveMQConnectionFactory properly without spring-jms"
See gh-36767
1 year ago
Eddú Meléndez bcfaad2cb8 Configure ActiveMQConnectionFactory properly without spring-jms
Previously, if spring-jms is not available and a non-pool connection
factory is requested (the default), no `CachingConnectionFactory` is
created. This commit makes sure to separate the two conditions, so
that a connection factory can be obtained even if spring-jms is not
on the classpath.

See gh-36767
1 year ago
Andy Wilkinson c6dc505932 Auto-configure JsonpMapper even with user-defined transport
Closes gh-36698
1 year ago
Andy Wilkinson 803c155e69 Order default customizers so that they can be overridden
Closes gh-36674
1 year ago
Stephane Nicoll 259fac57a9 Merge branch '2.7.x' into 3.0.x
Closes gh-36531
1 year ago
Stephane Nicoll 854c162966 Polish "Fail fast if job name does not exist"
See gh-36060
1 year ago
Akshay Dubey c38cd74542 Fail fast if job name does not exist
See gh-36060
1 year ago
Stephane Nicoll 73cc54ad34 Prevent PostConstruct to be used in production code
Closes gh-36528
1 year ago
Andy Wilkinson 6a2a3e2b26 Merge branch '2.7.x' into 3.0.x
Closes gh-36491
1 year ago
Andy Wilkinson 5a0f1bbe9b Polish "Correct description of overrides for spring.redis.url"
See gh-36477
1 year ago
Johnny Lim 1effd3723f Correct description of overrides for spring.redis.url
See gh-36477
1 year ago
Pengfei-Lu 8697d9ddd5 Correct conditions on auto-configured JacksonJsonpMapper
See gh-36109

Signed-off-by: Pengfei-Lu <459360594@qq.com>
1 year ago
Phillip Webb f1b0d76d9b Merge branch '2.7.x' into 3.0.x
Closes gh-36162
1 year ago
Phillip Webb b6990940b1 Polish 'Choose SAML party based on entity ID rather than always using first'
See gh-35902
1 year ago