Commit Graph

29605 Commits (d2d968ba16d518a98b69c215a8176efc5534d43c)
 

Author SHA1 Message Date
Stephane Nicoll f476051906 Merge branch '2.3.x' 4 years ago
Stephane Nicoll 4769889c6b Upgrade to JUnit 4.13.1
Closes gh-23876
4 years ago
Stephane Nicoll 30a9424f6c Upgrade to JUnit Jupiter 5.6.3
Closes gh-23915
4 years ago
Stephane Nicoll a5eb4d1a7e Merge branch '2.3.x' 4 years ago
Stephane Nicoll f727db3866 Upgrade to RSocket 1.0.3
Closes gh-23911
4 years ago
Stephane Nicoll 7d5635867b Merge branch '2.2.x' into 2.3.x 4 years ago
Stephane Nicoll d5cb6c1a4f Upgrade to RSocket 1.0.3
Closes gh-23910
4 years ago
Andy Wilkinson fafc0a91e3 Register @WebListeners in a way that allows them to register components
Previously, @WebListeners were discovered via custom component scanning
and then registered programmatically via the ServletContext. The servlet
spec requires any ServletContextListener registered in this manner to be
prohibited from programatically configuring servlets, filters, and
listeners. This left us not strictly complying with the servlet spec
as a ServletContextListener registered via a @WebListener annotation
should be able to programatically configure other components.

This commit updates WebListenerHandler to register each @WebListener
component directly with Jetty, Tomcat, or Undertow rather than via the
ServletContext API. This ensure that any @WebListener-annoated
ServletContextListener registered via servlet component scanning is
able to programatically register servlets, filters, and listeners.

There is a small chance that this will be a breaking change for some
users:

1. The ServletListenerRegistrationBeans that were previously defined
   for each @WebListener will now be
   WebListenerHandler.WebListenerRegistrars
2. Each @WebListener-annotated class will now be instantiated by
   Jetty, Tomcat, or Undertow. Jetty and Tomcat both require the class
   to be public and have a public default constructor. Previously,
   a package-private class or default constructor could be used as the
   instantiation was performed by Spring Framework. Undertow is not
   affected as it can instantiate a package-private type.

Fixes gh-18303
4 years ago
Scott Frederick 1a3f810cd8 Prevent serialization exception from Env actuator
When `EnvironmentEndpoint` is building a response to return to the
web infrastructure, it creates a data structure containing all
property values from all property sources. Prior to this commit, it
was possible for the response data structure to contain property
values that were not serializable to JSON by Jackson, which would
cause an exception to be thrown by the web infrastructure. This
commit ensures the data structure is serializable to JSON by
ensuring property values are primitives or Strings, and returning
a placeholder value if a property value is of any other type.

Fixes gh-23805
4 years ago
Stephane Nicoll 008ab4da25 Merge branch '2.3.x' 4 years ago
Stephane Nicoll 3119e85a32 Upgrade to Reactor Dysprosium-SR13
Closes gh-23770
4 years ago
Stephane Nicoll 7e7cd3e0dd Merge branch '2.2.x' into 2.3.x 4 years ago
Stephane Nicoll 7fa5ff46f7 Upgrade to Reactor Dysprosium-SR13
Closes gh-23769
4 years ago
Stephane Nicoll 6f2b1359a2 Merge branch '2.1.x' into 2.2.x 4 years ago
Stephane Nicoll a1699d34f0 Upgrade to Reactor Californium-SR22
Closes gh-23792
4 years ago
Phillip Webb 5e26954068 Provide default charset properties
Fixed gh-23827
4 years ago
Andy Wilkinson abfdfc3e5f Merge branch '2.3.x'
Closes gh-23908
4 years ago
Stephane Nicoll 9ab3abb728 Add support for SAML2 relying party registration's decryption credentials
Closes gh-23705
4 years ago
Andy Wilkinson c0bb6ff667 Await registration of http.server.requests meter
Previously, the test would make an HTTP request and, as soon as the
response was received, it would check the presence and value of the
http.server.requests meter. This create a race condition between the
meter being registered once the response had been flushed and the
meter's presence being checked. If the check won the race, the test
would fail.

This commit updates the test to wait for up to 5 seconds for the
meter to be present and have a count of 1, matching the single request
that has been made.

Fixes gh-23863
4 years ago
Andy Wilkinson 10f887a5ad Introduce management base-path property for servlet and reactive actuator
Previously, the base path of a servlet-based management server could be
configured using management.server.servlet.context-path but there was no
equivalent property for WebFlux.

This commit introduces a new property, management.server.base-path,
that can be used with both servlet and reactive management servers. The
existing servlet-specific property has been deprecated in favour of the
new general property. When using the servlet stack, if both the general
property and the servlet-specific property are set, the new general
property takes precedence. When using the reactive stack, only the new
general property is considered.

Closes gh-22906
4 years ago
Andy Wilkinson 653e64c4ef Upgrade to SendGrid 4.6.7
Closes gh-23906
4 years ago
Andy Wilkinson 1cf842cbf7 Upgrade to Rabbit AMQP Client 5.10.0
Closes gh-23905
4 years ago
Andy Wilkinson 5a35d3fd3d Upgrade to R2DBC Bom Arabba-SR8
Closes gh-23904
4 years ago
Andy Wilkinson 7fd392e66b Upgrade to Postgresql 42.2.18
Closes gh-23903
4 years ago
Andy Wilkinson e57b65d719 Upgrade to Oracle Database 19.8.0.0
Closes gh-23902
4 years ago
Andy Wilkinson b414fd1f3d Upgrade to Nimbus JOSE JWT 9.1.1
Closes gh-23901
4 years ago
Andy Wilkinson c2df079d96 Upgrade to OAuth2 OIDC SDK 8.23.1
Closes gh-23900
4 years ago
Andy Wilkinson 3a5b2e293c Upgrade to Netty 4.1.53.Final
Closes gh-23899
4 years ago
Andy Wilkinson f10ed6a05b Upgrade to MySQL 8.0.22
Closes gh-23898
4 years ago
Andy Wilkinson 130735f366 Upgrade to MongoDB 4.1.1
Closes gh-23897
4 years ago
Andy Wilkinson 09a4646280 Upgrade to Mockito 3.5.15
Closes gh-23896
4 years ago
Andy Wilkinson ad5bd122fe Upgrade to Lombok 1.18.16
Closes gh-23895
4 years ago
Andy Wilkinson ad75681ab3 Upgrade to jOOQ 3.14.0
Closes gh-23894
4 years ago
Andy Wilkinson b7c56f205d Upgrade to Jetty 9.4.33.v20201020
Closes gh-23893
4 years ago
Andy Wilkinson 708c43a8d1 Upgrade to Flyway 7.0.4
Closes gh-23892
4 years ago
Andy Wilkinson 7519e199d1 Upgrade to Elasticsearch 7.9.3
Closes gh-23891
4 years ago
Andy Wilkinson 499ba7e0bc Upgrade to Dropwizard Metrics 4.1.14
Closes gh-23890
4 years ago
Andy Wilkinson 47e6063533 Upgrade to Commons Pool2 2.9.0
Closes gh-23889
4 years ago
Andy Wilkinson 54a76199b7 Upgrade to AssertJ 3.18.0
Closes gh-23888
4 years ago
Andy Wilkinson 3d24f8a833 Merge branch '2.3.x' 4 years ago
Andy Wilkinson dedd8e603d Upgrade to Tomcat 9.0.39
Closes gh-23885
4 years ago
Andy Wilkinson 4b6ef6ef44 Upgrade to Spring Security 5.3.5.RELEASE
Closes gh-23884
4 years ago
Andy Wilkinson 1520de773d Upgrade to RxJava2 2.2.20
Closes gh-23883
4 years ago
Andy Wilkinson 74e4d8effb Upgrade to R2DBC Bom Arabba-SR8
Closes gh-23882
4 years ago
Andy Wilkinson 87c6ca0757 Upgrade to Postgresql 42.2.18
Closes gh-23881
4 years ago
Andy Wilkinson 48608896ab Upgrade to Netty 4.1.53.Final
Closes gh-23880
4 years ago
Andy Wilkinson 890e61989f Upgrade to Neo4j OGM 3.2.17
Closes gh-23879
4 years ago
Andy Wilkinson b41a4970fa Upgrade to MySQL 8.0.22
Closes gh-23878
4 years ago
Andy Wilkinson 47831a3b34 Upgrade to Lombok 1.18.16
Closes gh-23877
4 years ago
Andy Wilkinson d75288b726 Upgrade to jOOQ 3.13.5
Closes gh-23875
4 years ago