Commit Graph

8583 Commits

Author SHA1 Message Date
Stephane Nicoll f5b0ebc9c2 Upgrade to Maven Shade Plugin 3.2.4
Closes gh-21838
2020-06-10 11:21:57 +02:00
Stephane Nicoll 331390cd74 Upgrade to Spring Security 5.2.5.RELEASE
Closes gh-21836
2020-06-10 11:21:57 +02:00
Stephane Nicoll 4c15c512fa Upgrade to Spring Amqp 2.2.7.RELEASE
Closes gh-21835
2020-06-10 11:21:57 +02:00
Stephane Nicoll 7a0b22086f Upgrade to Postgresql 42.2.13
Closes gh-21834
2020-06-10 11:21:57 +02:00
Stephane Nicoll 6ca229c678 Upgrade to Kotlin Coroutines 1.3.7
Closes gh-21833
2020-06-10 11:21:56 +02:00
Stephane Nicoll a91c157bf4 Upgrade to Hibernate Validator 6.0.20.Final
Closes gh-21832
2020-06-10 11:21:56 +02:00
Stephane Nicoll 5ae2a9e25c Upgrade to Hibernate 5.4.17.Final
Closes gh-21831
2020-06-10 11:21:56 +02:00
Stephane Nicoll 1f6582e3e4 Upgrade to Jaybird 3.0.9
Closes gh-21830
2020-06-10 11:21:56 +02:00
Stephane Nicoll c3cf3bd72b Upgrade to Elasticsearch 6.8.10
Closes gh-21829
2020-06-10 11:21:56 +02:00
Stephane Nicoll d07b460247 Upgrade to Jetty 9.4.29.v20200521
Closes gh-21828
2020-06-10 11:21:56 +02:00
Stephane Nicoll eadc6d07b8 Upgrade to Groovy 2.5.12
Closes gh-21827
2020-06-10 11:21:55 +02:00
Stephane Nicoll ad321895d5 Upgrade to Awaitility 4.0.3
Closes gh-21826
2020-06-10 11:21:55 +02:00
Stephane Nicoll 78a06d5343 Upgrade to Tomcat 9.0.36
Closes gh-21825
2020-06-10 11:21:55 +02:00
Stephane Nicoll ec5dc3bfa4 Upgrade to Johnzon Jsonb 1.2.7
Closes gh-21824
2020-06-10 11:21:55 +02:00
Stephane Nicoll a2738b51d6 Upgrade to Byte Buddy 1.10.11
Closes gh-21823
2020-06-10 11:21:55 +02:00
Stephane Nicoll 2eff659fa4 Upgrade to Rsocket 1.0.1
Closes gh-21822
2020-06-10 11:21:55 +02:00
Stephane Nicoll 518cdf2751 Upgrade to Netty 4.1.50.Final
Closes gh-21821
2020-06-10 11:21:54 +02:00
Stephane Nicoll 62d3f0d872 Upgrade to Micrometer 1.3.9
Closes gh-21820
2020-06-10 11:21:54 +02:00
Stephane Nicoll 9acfc81244 Upgrade to Dropwizard Metrics 4.1.9
Closes gh-21819
2020-06-10 11:21:54 +02:00
Stephane Nicoll 6aa7f7aed5 Upgrade to Hikaricp 3.4.5
Closes gh-21818
2020-06-10 11:21:54 +02:00
Stephane Nicoll cda93e0af7 Upgrade to Okhttp3 3.14.9
Closes gh-21817
2020-06-10 11:21:54 +02:00
Stephane Nicoll 7b3070cd8c Upgrade to Caffeine 2.8.4
Closes gh-21816
2020-06-10 11:21:54 +02:00
Stephane Nicoll b118d8953b Upgrade to Couchbase Client 2.7.15
Closes gh-21815
2020-06-10 11:21:53 +02:00
Andy Wilkinson 48acaa4bd9 Make AutoConfigureMockMvc use SecurityProperties' filter ordering
Previously, AutoConfigureMockMvc used Spring Security's default filter
ordering, ignoring the value configured by SecurityProperties that is
used at runtime. This resulted in different ordering at runtime and in
tests.

This commit updates the configuration for AutoConfigureMockMvc to
import the Spring Security filter auto-configuration, thereby ensuring
that the ordering configured via SecurityProperties is applied.

Fixes gh-21801
2020-06-10 09:51:05 +01:00
Stephane Nicoll 5d2a9e9220 Upgrade to Maven Shade Plugin 3.2.4
Closes gh-21814
2020-06-10 10:39:09 +02:00
Stephane Nicoll 8841feb311 Upgrade to Spring Security 5.1.11.RELEASE
Closes gh-21813
2020-06-10 10:22:34 +02:00
Stephane Nicoll 9d80ece9a5 Upgrade to Spring Amqp 2.1.15.RELEASE
Closes gh-21812
2020-06-10 10:22:33 +02:00
Stephane Nicoll c456b633d5 Upgrade to Postgresql 42.2.13
Closes gh-21811
2020-06-10 10:22:31 +02:00
Stephane Nicoll b560501c3c Upgrade to Hibernate Validator 6.0.20.Final
Closes gh-21810
2020-06-10 10:22:29 +02:00
Stephane Nicoll fa9890b381 Upgrade to Jaybird 3.0.9
Closes gh-21809
2020-06-10 10:22:28 +02:00
Stephane Nicoll 357ada7aa0 Upgrade to Jetty 9.4.29.v20200521
Closes gh-21808
2020-06-10 10:22:27 +02:00
Stephane Nicoll 544b688b62 Upgrade to Groovy 2.5.12
Closes gh-21807
2020-06-10 10:22:25 +02:00
Stephane Nicoll 4724839aea Upgrade to Tomcat 9.0.36
Closes gh-21806
2020-06-10 10:22:24 +02:00
Stephane Nicoll a07ccb0c39 Upgrade to Netty 4.1.50.Final
Closes gh-21805
2020-06-10 10:22:22 +02:00
Stephane Nicoll 27c94bd649 Upgrade to Micrometer 1.1.14
Closes gh-21804
2020-06-10 10:22:21 +02:00
Stephane Nicoll e88ae68430 Upgrade to Couchbase Client 2.7.15
Closes gh-21803
2020-06-10 10:22:19 +02:00
Madhura Bhave 36faa1d42a Document using system properties in gradle plugin docs
Closes gh-21317
2020-06-09 16:07:54 -07:00
Stephane Nicoll 6597c0c7f7 Start building against Spring Data Moore-SR8 snapshots
See gh-21775
2020-06-09 16:27:15 +02:00
Stephane Nicoll cc3575b3f4 Merge branch '2.1.x' into 2.2.x 2020-06-09 16:26:44 +02:00
Stephane Nicoll 79f0e38c54 Start building against Spring Data Lovelace-SR18 snapshots
See gh-21774
2020-06-09 16:16:34 +02:00
Stephane Nicoll 9a457527fd Polish test 2020-06-09 16:00:50 +02:00
Stephane Nicoll 180e57a8d7 Start building against Spring Batch 4.2.3 snapshots
See gh-21783
2020-06-09 14:50:53 +02:00
Stephane Nicoll 7b4707aab5 Start building against Spring Kafka 2.3.9 snapshots
See gh-21781
2020-06-09 14:49:57 +02:00
Stephane Nicoll 5cde880562 Start building against Spring Integration 5.2.7 snapshots
See gh-21778
2020-06-09 14:49:17 +02:00
Stephane Nicoll 679816d3a4 Upgrade to Spring Framework 5.2.7
Closes gh-21738
2020-06-09 14:48:32 +02:00
Stephane Nicoll 36a05375c7 Start building against Spring Kafka 2.2.14 snapshots
See gh-21780
2020-06-09 14:23:58 +02:00
Stephane Nicoll 445a9a461b Start building against Spring Integration 5.1.11 snapshots
See gh-21777
2020-06-09 14:23:58 +02:00
Stephane Nicoll de6ee358fb Upgrade to Spring Framework 5.1.16
Closes gh-21729
2020-06-09 13:36:32 +02:00
Andy Wilkinson a0f29edd4d Always initialize stompWebSocketHandlerMapping eagerly
Previously, when lazy initialization was enabled, STOMP-based WebSocket
messaging would not work as the stompWebSocketHandlerMapping bean was
not initialized and CONNECT requests would go unanswered.

This commit adds a LazyInitializationExcludeFilter that causes the
stompWebSocketHandlerMapping bean to always be initialized eagerly.
This triggers initialization of the WebSocket transport allowing
requests to be received and processed.

Fixes gh-19611
2020-06-09 11:02:02 +01:00
Stephane Nicoll 3889e6336a Upgrade to Reactor Dysprosium-SR8
Closes gh-21730
2020-06-09 09:02:55 +02:00
Stephane Nicoll 10e0ca7dce Upgrade to Reactor Californium-SR19
Closes gh-21728
2020-06-09 09:01:13 +02:00
Andy Wilkinson 2de906caf7 Polish "Clarify loss of defaults when adding custom mapping"
See gh-20716
2020-06-08 17:34:11 +01:00
Norio 9f009e4445 Clarify loss of defaults when adding custom mapping
See gh-20716
2020-06-08 17:31:26 +01:00
Andy Wilkinson 4a0e8217f0 Merge branch '2.1.x' into 2.2.x
Closes gh-21759
2020-06-08 17:07:51 +01:00
Andy Wilkinson 5dce945e29 Document dispatcher-types configuration for secured error pages
Closes gh-19293
2020-06-08 17:06:42 +01:00
Andy Wilkinson 296da88e31 Merge branch '2.1.x' into 2.2.x
Closes gh-21754
2020-06-08 14:43:14 +01:00
Andy Wilkinson c96455f7cf Remove . from CLI's classpath on Unix-like platforms
Previously, the spring bash script added . to the classpath but the
Windows spring.bat script did not. This commit aligns the classpath
of the two scripts by removing . from the classpath in the bash
script.

Fixes gh-19910
2020-06-08 14:40:14 +01:00
Andy Wilkinson 020a47ba3e Document support for Gradle 5
Closes gh-15358
2020-06-08 14:29:07 +01:00
Andy Wilkinson 8da1e3addb Merge branch '2.1.x' into 2.2.x 2020-06-08 11:35:10 +01:00
Andy Wilkinson 6a9450ee8b Polish 2020-06-08 11:34:56 +01:00
Phillip Webb bfe1c281f0 Merge branch '2.1.x' into 2.2.x
Closes gh-21743
2020-06-07 10:25:33 -07:00
Phillip Webb 70e0a27949 Drop the use of the term "white list"
Closes gh-21737
2020-06-07 10:22:35 -07:00
Stephane Nicoll 4c26c7d043 Start building against Spring Framework 5.2.7 snapshots
See gh-21738
2020-06-07 10:54:38 +02:00
Stephane Nicoll d4c8fa9b2a Start building against Spring Framework 5.1.16 snapshots
See gh-21729
2020-06-07 10:37:47 +02:00
Stephane Nicoll f4f9df3d10 Start building against Reactor Dysprosium-SR8 snapshots
See gh-21730
2020-06-06 09:26:15 +02:00
Stephane Nicoll 0b0187cd0d Start building against Reactor Californium-SR19 snapshots
See gh-21728
2020-06-06 08:48:15 +02:00
Phillip Webb 0a05b4c9fd Update copyright year of changed files 2020-06-05 15:36:09 -07:00
dreis2211 9bb22ffb69 Remove usages of deprecated Connector.setAttribute()
See gh-21671
2020-06-05 16:32:42 +02:00
Stephane Nicoll eb38eeaf30 Polish 2020-06-05 16:25:12 +02:00
Andy Wilkinson 29c2a0471d Add Oracle DB dependency management under com.oracle.database
Closes gh-20333
2020-06-03 08:06:26 +01:00
Phillip Webb 864daab03a Merge branch '2.1.x' into 2.2.x 2020-06-02 22:47:41 -07:00
Phillip Webb b5fe3c3494 Refine YAML type restriction error
Closes gh-21596
2020-06-02 22:46:47 -07:00
Phillip Webb 4fc0dec6c4 Support wrapped random property sources
Update `SpringConfigurationPropertySource` so that wrapped random
property sources can be used. It's assumed that wrapped random
sources will use the name of the source as the prefix.

Closes gh-21595
2020-06-02 22:22:40 -07:00
Phillip Webb 09a47c9aad Fix containsDescendantOf for random sources
Fix the `containsDescendantOf` logic for random property sources to
ensure that ancestors are correctly matched.

Closes gh-21654
2020-06-02 10:57:48 -07:00
Phillip Webb 14e6c734a9 Merge branch '2.1.x' into 2.2.x
Closes gh-21643
2020-06-01 14:45:39 -07:00
Phillip Webb 95031295b9 Restore TomcatReactiveWebServerFactoryTests
Restore tests that were previously ignored due to a framework bug.

Closes gh-19702
2020-06-01 14:19:20 -07:00
Madhura Bhave 573cb98d90 Make management security configuration back off when SAML present
Fixes gh-21620
2020-06-01 13:39:46 -07:00
Phillip Webb 14c9804c5c Fix checkstyle issues 2020-05-27 19:19:11 -07:00
Phillip Webb af90604030 Merge branch '2.1.x' into 2.2.x
Closes gh-21597
2020-05-27 16:45:08 -07:00
Phillip Webb 587b840666 Restrict use of custom YAML types
Update `YamlJsonParser` and `OriginTrackedYamlLoader` to ensure that
custom types cannot be loaded.

Closes gh-21596
2020-05-27 16:36:46 -07:00
Bram De Cneudt 591d234e43 Fix links for Apache Camel starter
See gh-21540
2020-05-25 15:28:40 +02:00
Stephane Nicoll 77981ac2ae Polish "Use the container IP address for tests using TestContainer"
See gh-21480
2020-05-25 14:29:24 +02:00
olivier lamy 0c2bf70bb8 Use the container IP address for tests using TestContainer
See gh-21480
2020-05-25 14:03:18 +02:00
Stephane Nicoll afcb5d54b2 Polish "Fix uri tag for empty path"
See gh-21392
2020-05-25 13:51:40 +02:00
Jon Schneider f78f2d57e1 Fix uri tag for empty path
See gh-21392
2020-05-25 13:41:19 +02:00
Moritz do Rio Schulze 1e168a2145 Fix typo in section 4.30.6
See gh-21485
2020-05-20 17:41:50 -07:00
Scott Frederick 4a812fc29c Fix log name in ServletWebServerApplicationContext
Fixes gh-21354
2020-05-20 12:59:13 -05:00
Andy Wilkinson 4a896f2272 Merge branch '2.1.x' into 2.2.x
Closes gh-21471
2020-05-15 16:20:23 +01:00
Andy Wilkinson fdc63d71fe Use HTTPS when linking to groovy-lang.org
Closes gh-21466
2020-05-15 16:18:23 +01:00
Andy Wilkinson b78e4dacec Work around file handle leak when Undertow is stopped
There's a bug in Undertow that means it may leak a file handle is
the server is stopped immediately after a response to an SSL request
has been received. The stop processing races with Undertow's SSL
support tidying things up after sending the response. When the stop
processing wins, the tidying up fails with a NullPointerException that
prevents an input stream from being closed. On Windows, the input
stream remaining open prevents JUnit from being able to clean up its
temporary directory.

This commit uses Awaitility to wait for the file that's being served
over SSL to be deleted before stopping the server. On Windows, this
will delay the stop processing from beginning until after the tidy up
that's performed after sending the response has been completed,
hopefully eliminating the race condition that resulted in the input
stream being left open.

Fixes gh-21172
2020-05-14 12:45:37 +01:00
Phillip Webb 49a21ded7a Create endpoint beans as late as possible
Update `EndpointDiscoverer` so that `@Endpoint` and `@EndpointExtension`
beans are created as late as possible.

Prior to this commit, endpoint beans and extension beans would be
created during the discovery phase which could cause early bean
initialization. The problem was especially nasty when using an embedded
servlet container since `ServletEndpointRegistrar` is loaded as the
container is initialized. This would trigger discovery and load all
endpoint beans, including the health endpoint, and all health indicator
beans.

Fixes gh-20714
2020-05-13 19:10:54 -07:00
Madhura Bhave 27ada029b5 Revert "Expose property to configure OAuth2 provider configurationMetadata"
This reverts commit 7b79029949.

See gh-21375
2020-05-13 13:53:46 -07:00
Phillip Webb daed512076 Restore getUseRelativeRedirects in deprecated form
Restore the `getUseRelativeRedirects` method with a `Boolean` object
result and introduce `isUseRelativeRedirects` for the primitive boolean
variant.

See gh-20796
2020-05-13 11:36:24 -07:00
Phillip Webb 5157a75119 Polish 2020-05-13 11:36:02 -07:00
Madhura Bhave 7b79029949 Expose property to configure OAuth2 provider configurationMetadata
Closes gh-21375
2020-05-12 13:42:03 -07:00
Scott Frederick 6b8d08a6e3 Handle exceptions in management context
Prior to this commit, details about an exception would get dropped when
the management context was separate from the application context and
an actuator endpoint threw a binding exception.

This commit adds some logic to capture the exception so the management
context error handlers can add the appropriate attributes to the error
response.

Fixes gh-21036
2020-05-12 11:44:28 -05:00
Brian Clozel 3c666ac4c8 Upgrade to RSocket 1.0.0
Closes gh-21421
2020-05-12 14:44:35 +02:00
Stephane Nicoll c3eaa6dc54 Merge branch '2.1.x' into 2.2.x
Closes gh-21366
2020-05-08 16:57:41 +02:00
Stephane Nicoll efc9978362 Document use case of splitting auto-configuration and starter
Closes gh-20686
2020-05-08 16:55:47 +02:00
Stephane Nicoll 60ff8bafb5 Polish "Align TestRestTemplate Javadoc with documentation"
See gh-21318
2020-05-08 14:49:50 +02:00
Andrii Hrytsiuk f11c030b71 Align TestRestTemplate Javadoc with documentation
See gh-21318
2020-05-08 14:48:21 +02:00
Stephane Nicoll 31f9a965f0 Merge branch '2.1.x' into 2.2.x
Closes gh-21351
2020-05-07 14:12:53 +02:00
Stephane Nicoll 1a4f6df0a3 Upgrade to Spring Ldap 2.3.3.RELEASE
Closes gh-21342
2020-05-07 14:11:24 +02:00
Stephane Nicoll 55a1cd4a34 Upgrade to Spring Security 5.2.4.RELEASE
Closes gh-21348
2020-05-07 09:41:38 +02:00
Stephane Nicoll 66afe280cb Upgrade to Spring Security 5.1.10.RELEASE
Closes gh-21346
2020-05-07 09:32:15 +02:00
Madhura Bhave 5583f64b1f Add tests to verify Jetty's thread pool defaults match server defaults
Closes gh-21213
2020-05-06 16:35:00 -07:00
Madhura Bhave f29bce657e Harmonize default for server.tomcat.use-relative-redirects
Prior to this commit, the property was a Boolean with a null default.
If it was explicitly set by the user, a context customizer would use
that value to set it on the context. However, if it was not set, the default
wouldn't be tomcat's default but `false` because it was explicitly set to
`false` in `TomcatServletWebServerFactory`. This commit defaults the property
itself to `false` so that the default is more obvious to the user.

Fixes gh-20796
2020-05-06 15:54:27 -07:00
Andy Wilkinson 386d678d99 Use Gradle's CreateStartScripts task with 6.4 and later
Fixes gh-20759
2020-05-06 17:02:34 +01:00
Stephane Nicoll addaf5ff18 Upgrade to Jetty El 8.5.54
Closes gh-21340
2020-05-06 16:09:23 +02:00
Stephane Nicoll 4dc9aa082f Upgrade to Hibernate 5.4.15.Final
Closes gh-21339
2020-05-06 16:09:23 +02:00
Stephane Nicoll 5bb26bf9db Upgrade to Johnzon Jsonb 1.2.5
Closes gh-21338
2020-05-06 16:09:22 +02:00
Stephane Nicoll cd7048315d Upgrade to Byte Buddy 1.10.10
Closes gh-21337
2020-05-06 16:09:22 +02:00
Stephane Nicoll f4d007222f Upgrade to Dropwizard Metrics 4.1.7
Closes gh-21336
2020-05-06 16:09:22 +02:00
Stephane Nicoll 51740133c3 Upgrade to Saaj Impl 1.5.2
Closes gh-21335
2020-05-06 16:09:17 +02:00
Stephane Nicoll 30a48d55c4 Upgrade to Okhttp3 3.14.8
Closes gh-21334
2020-05-06 15:33:37 +02:00
Stephane Nicoll 5be1f67936 Upgrade to Hazelcast 3.12.7
Closes gh-21333
2020-05-06 15:33:36 +02:00
Stephane Nicoll 938a99bb21 Upgrade to Jackson 2.10.4
Closes gh-21332
2020-05-06 15:33:35 +02:00
Stephane Nicoll 293cd6edb9 Upgrade to Jetty El 8.5.54
Closes gh-21331
2020-05-06 15:21:58 +02:00
Stephane Nicoll 6c8f0a0082 Upgrade to Hibernate 5.3.17.Final
Closes gh-21330
2020-05-06 15:21:56 +02:00
Andy Wilkinson 9ba78db865 Allow Undertow to stop when a request is being handled
Previously, unlike embedded Jetty, Netty, and Tomcat, Undertow would
not stop when one of its worker threads was in use. This meant that a
a long-running or stalled request could prevent the application from
shutting down in response to SIGTERM or SIGINT, and SIGTERM would be
required to get the process to exit.

This commit updates the factories for the reactive and servlet
Undertow web server factories to configure Undertow to use a 0ms
shutdown timeout. This aligns it with the behaviour of Jetty, Netty,
and Tomcat. Tests have been introduced to verify the behaviour across
the reactive and servlet variants of all four supported embedded web
servers.

Fixes gh-21319
2020-05-06 12:23:37 +01:00
Madhura Bhave 43e7ccd620 Detect log4j2-test.* files when using log4J2
Fixes gh-17001
2020-05-05 14:12:34 -07:00
Phillip Webb 98d27db767 Merge branch '2.1.x' into 2.2.x
Closes gh-21320
2020-05-05 12:12:31 -07:00
Phillip Webb df70c42f98 Allow classpath wildcards with Java 11 or above
Update `StaticResourceJars` to catch both `IOException` and
`InvalidPathException` when checking URLs. Prior to this commit only
`IOException` was caught which worked on Java 8 but not Java 11 or
above.

Fixes gh-21312
2020-05-05 12:10:31 -07:00
Phillip Webb 92ef515fbe Fix @DefaultValue PropertyEditor based conversion
Update `ValueObjectBinder` reattempt conversion if the `@DefaultValue`
contains a single element. Prior to this commit, single element
conversion relied on the `ArrayToObjectConverter` which isn't always
available.

Fixes gh-21264
2020-05-01 18:26:18 -07:00
Stephane Nicoll 6051a27bd7 Upgrade to Spring Integration 5.2.6
Closes gh-20950
2020-04-30 15:24:19 +02:00
Stephane Nicoll 5292b3a693 Upgrade to Spring Integration 5.1.10
Closes gh-20941
2020-04-30 15:22:41 +02:00
Stephane Nicoll 2ca5eebd25 Upgrade to Spring Kafka 2.3.8
Closes gh-20952
2020-04-29 14:24:17 +02:00
Stephane Nicoll 8e999a4a9e Upgrade to Spring AMQP 2.2.6
Closes gh-20946
2020-04-29 14:23:38 +02:00
Stephane Nicoll 3e6b62b043 Upgrade to Spring Kafka 2.2.13
Closes gh-20988
2020-04-29 14:20:59 +02:00
Stephane Nicoll 524d316500 Upgrade to Spring AMQP 2.1.14
Closes gh-20939
2020-04-29 14:20:39 +02:00
Stephane Nicoll a18a6e1058 Upgrade to Glassfish Jaxb 2.3.3
Closes gh-21195
2020-04-29 14:12:58 +02:00
Stephane Nicoll 673af8d1d9 Upgrade to Spring Data Moore-SR7
Closes gh-20948
2020-04-28 15:41:35 +02:00
Stephane Nicoll 76740db9a5 Upgrade to Spring HATEOAS 1.0.5.RELEASE
Closes gh-21209
2020-04-28 15:40:51 +02:00
Stephane Nicoll ca458c2666 Upgrade to Spring Data Lovelace-SR17
Closes gh-20940
2020-04-28 15:38:02 +02:00
Stephane Nicoll 9e88af9703 Upgrade to Spring Data Lovelace-SR17
Closes gh-20940
2020-04-28 15:36:16 +02:00
Stephane Nicoll 5dc82eda53 Upgrade to Spring Framework 5.1.15
Closes gh-20938
2020-04-28 15:35:08 +02:00
Brian Clozel a63ab468a3 Upgrade to RSocket 1.0.0-RC7
This commit upgrades to RSocket 1.0.0-RC7.
This new RC brings API changes we have to adapt to. As of this commit,
we're introducing a new `RSocketServerCustomizer` which replaces the now
deprecated `ServerRSocketFactoryProcessor`.

Closes gh-21046
2020-04-28 11:09:37 +02:00
Stephane Nicoll 6ff7b81239 Upgrade to Spring Ws 3.0.9.RELEASE
Closes gh-21205
2020-04-28 10:02:49 +02:00
Stephane Nicoll 47c26ef69d Upgrade to Spring Security 5.2.3.RELEASE
Closes gh-21204
2020-04-28 10:02:49 +02:00
Stephane Nicoll 4cc45f964c Upgrade to Spring Batch 4.2.2.RELEASE
Closes gh-21203
2020-04-28 10:02:49 +02:00
Stephane Nicoll 423ec71d45 Upgrade to Postgresql 42.2.12
Closes gh-21202
2020-04-28 10:02:49 +02:00
Stephane Nicoll 65fc43865a Upgrade to Neo4j Ogm 3.2.11
Closes gh-21201
2020-04-28 10:02:49 +02:00
Stephane Nicoll cacdfa443f Upgrade to Liquibase 3.8.9
Closes gh-21200
2020-04-28 10:02:49 +02:00
Stephane Nicoll f621ac61fa Upgrade to Kotlin 1.3.72
Closes gh-21199
2020-04-28 10:02:49 +02:00
Stephane Nicoll f45fd47a34 Upgrade to Infinispan 9.4.19.Final
Closes gh-21198
2020-04-28 10:02:49 +02:00
Stephane Nicoll 51cedc6225 Upgrade to Hibernate Validator 6.0.19.Final
Closes gh-21197
2020-04-28 10:02:49 +02:00
Stephane Nicoll 5668bf456a Upgrade to Hibernate 5.4.14.Final
Closes gh-21196
2020-04-28 10:02:49 +02:00
Stephane Nicoll e822c497ef Upgrade to Elasticsearch 6.8.8
Closes gh-21194
2020-04-28 09:28:33 +02:00
Stephane Nicoll 6182d83f8c Upgrade to Jetty 9.4.28.v20200408
Closes gh-21193
2020-04-28 09:28:31 +02:00
Stephane Nicoll e88ee06b5b Upgrade to Groovy 2.5.11
Closes gh-21192
2020-04-28 09:28:30 +02:00
Stephane Nicoll 7820f0115a Upgrade to Tomcat 9.0.34
Closes gh-21191
2020-04-28 09:28:29 +02:00
Stephane Nicoll 5027a05b0e Upgrade to Johnzon Jsonb 1.2.4
Closes gh-21190
2020-04-28 09:28:28 +02:00
Stephane Nicoll c7d0928114 Upgrade to Byte Buddy 1.10.9
Closes gh-21189
2020-04-28 09:28:27 +02:00
Stephane Nicoll e82bd7f3a1 Upgrade to Mysql 8.0.20
Closes gh-21188
2020-04-28 09:28:25 +02:00
Stephane Nicoll 32f128bb9f Upgrade to Joda Time 2.10.6
Closes gh-21187
2020-04-28 09:28:24 +02:00
Stephane Nicoll 09fb95bd6d Upgrade to Netty 4.1.49.Final
Closes gh-21186
2020-04-28 09:28:23 +02:00
Stephane Nicoll 13edf342f6 Upgrade to Micrometer 1.3.8
Closes gh-21185
2020-04-28 09:28:22 +02:00
Stephane Nicoll c8b2440afb Upgrade to Dropwizard Metrics 4.1.6
Closes gh-21184
2020-04-28 09:28:21 +02:00
Stephane Nicoll 0fb174e54c Upgrade to Hikaricp 3.4.3
Closes gh-21183
2020-04-28 09:28:19 +02:00
Stephane Nicoll 732a51a898 Upgrade to Sendgrid 4.4.8
Closes gh-21182
2020-04-28 09:28:18 +02:00
Stephane Nicoll 8fb2ea4e65 Upgrade to Appengine Sdk 1.9.80
Closes gh-21181
2020-04-28 09:28:17 +02:00
Stephane Nicoll 8831856d79 Upgrade to Caffeine 2.8.2
Closes gh-21180
2020-04-28 09:28:16 +02:00
Stephane Nicoll fb6fcff198 Upgrade to Couchbase Client 2.7.14
Closes gh-21179
2020-04-28 09:28:15 +02:00
Phillip Webb 50e9674631 Backport "Attempt to prevent JarFiles from being left open"
Update `JarFile` so that `super.close()` is called early so that the
file is not left open. Since we re-implement `JarFile` methods to work
directly on the underlying `RandomAccessDataFile`, it should be safe
to close immediately.

Closes gh-21177
2020-04-27 19:03:52 -07:00
Phillip Webb 36b082e8c1 Merge branch '2.1.x' into 2.2.x
Closes gh-21174
2020-04-27 16:18:55 -07:00
Phillip Webb e2705b2cfd Throw exception if classpath*: is used
Update `ConfigFileApplicationListener` to throw a better exception if
`classpath*:` is used as a location.

Closes gh-21168
2020-04-27 13:42:40 -07:00
Stephane Nicoll 0761ff1f0b Upgrade to Reactor Bom Dysprosium-SR7
Closes gh-20942
2020-04-27 14:30:20 +02:00
Stephane Nicoll 16005c608f Upgrade to Reactor Bom Californium-SR18
Clsoes gh-20937
2020-04-27 14:28:43 +02:00
Stephane Nicoll 3ea0b4198b Upgrade to Maven Dependency Plugin 3.1.2
Closes gh-21167
2020-04-27 09:38:51 +02:00
Stephane Nicoll a7e3257e7f Upgrade to Xmlunit2 2.6.4
Closes gh-21166
2020-04-27 09:38:50 +02:00
Stephane Nicoll cac0407762 Upgrade to Spring Ws 3.0.9.RELEASE
Closes gh-21165
2020-04-27 09:38:49 +02:00
Stephane Nicoll 4e93115b05 Upgrade to Spring Session Bom Bean-SR10
Closes gh-21164
2020-04-27 09:38:48 +02:00
Stephane Nicoll 0697b3acb4 Upgrade to Spring Security 5.1.9.RELEASE
Closes gh-21163
2020-04-27 09:38:47 +02:00
Stephane Nicoll f24351d12a Upgrade to Spring Batch 4.1.4.RELEASE
Closes gh-21162
2020-04-27 09:38:46 +02:00
Stephane Nicoll c3c5b444e7 Upgrade to Postgresql 42.2.12
Closes gh-21161
2020-04-27 09:38:45 +02:00
Stephane Nicoll 25fb48d0e3 Upgrade to Neo4j Ogm 3.1.19
Closes gh-21160
2020-04-27 09:38:44 +02:00
Stephane Nicoll 067a07386a Upgrade to Mimepull 1.9.13
Closes gh-21159
2020-04-27 09:38:43 +02:00
Stephane Nicoll e6b17bc5b8 Upgrade to Infinispan 9.4.19.Final
Closes gh-21158
2020-04-27 09:38:41 +02:00
Stephane Nicoll 9bb16e44b0 Upgrade to Hibernate Validator 6.0.19.Final
Closes gh-21157
2020-04-27 09:38:40 +02:00
Stephane Nicoll 191a4e5a51 Upgrade to Hibernate 5.3.16.Final
Closes gh-21156
2020-04-27 09:38:39 +02:00
Stephane Nicoll 19826847d4 Upgrade to Freemarker 2.3.30
Closes gh-21155
2020-04-27 09:38:38 +02:00
Stephane Nicoll 46fe25480c Upgrade to Jetty 9.4.28.v20200408
Closes gh-21154
2020-04-27 09:38:37 +02:00
Stephane Nicoll ce4001c54b Upgrade to Janino 3.0.16
Closes gh-21153
2020-04-27 09:38:36 +02:00
Stephane Nicoll a9a3845168 Upgrade to Groovy 2.5.11
Closes gh-21152
2020-04-27 09:38:35 +02:00
Stephane Nicoll a01b0b7145 Upgrade to Tomcat 9.0.34
Closes gh-21151
2020-04-27 09:38:34 +02:00
Stephane Nicoll 4a51a8be2a Upgrade to Solr 7.7.3
Closes gh-21150
2020-04-27 09:38:33 +02:00
Stephane Nicoll a336f29ce2 Upgrade to Httpclient 4.5.12
Closes gh-21149
2020-04-27 09:38:32 +02:00
Stephane Nicoll 72e3d71067 Upgrade to Activemq 5.15.12
Closes gh-21148
2020-04-27 09:38:31 +02:00
Stephane Nicoll c0398e190a Upgrade to Mysql 8.0.20
Closes gh-21147
2020-04-27 09:38:30 +02:00
Stephane Nicoll d63d2075fa Upgrade to Joda Time 2.10.6
Closes gh-21146
2020-04-27 09:38:29 +02:00
Stephane Nicoll 671f3c2075 Upgrade to Undertow 2.0.30.Final
Closes gh-21145
2020-04-27 09:38:28 +02:00
Stephane Nicoll d1821b3895 Upgrade to Rxjava2 2.2.19
Closes gh-21144
2020-04-27 09:38:27 +02:00
Stephane Nicoll b29d2eedc8 Upgrade to Netty Tcnative 2.0.30.Final
Closes gh-21143
2020-04-27 09:38:25 +02:00
Stephane Nicoll 8a02bac617 Upgrade to Netty 4.1.49.Final
Closes gh-21142
2020-04-27 09:38:24 +02:00
Stephane Nicoll effa0cb024 Upgrade to Micrometer 1.1.13
Closes gh-21141
2020-04-27 09:38:23 +02:00
Stephane Nicoll 4ea31a2d2e Upgrade to Appengine Sdk 1.9.80
Closes gh-21140
2020-04-27 09:38:22 +02:00
Stephane Nicoll 4c3880427a Upgrade to Jackson 2.9.10.20200411
Closes gh-21139
2020-04-27 09:38:21 +02:00
Stephane Nicoll 0c4efffaa7 Upgrade to Couchbase Client 2.7.14
Closes gh-21138
2020-04-27 09:38:20 +02:00
Phillip Webb 7d53f7d27f Attempt to prevent JarFiles from being left open
Update `JarFile` to also call `super.close()` early for nested jars.

See gh-21126
2020-04-25 22:20:53 -07:00
Phillip Webb 7c6e912463 Attempt to prevent JarFiles from being left open
Update `JarFile` so that `super.close()` is called early so that the
file is not left open. Since we re-implement `JarFile` methods to work
directly on the underlying `RandomAccessDataFile`, it should be safe
to close immediately.

See gh-21126
2020-04-25 13:03:07 -07:00
Stephane Nicoll 80410997ec Polish "Enhance Database initialization how to guide"
See gh-21077
2020-04-25 09:30:58 +02:00
nikmanzotti f2b10be01e Enhance Database initialization how to guide
See gh-21077
2020-04-25 09:30:43 +02:00
dreis2211 e3a9bacf3b Fix typo
See gh-21002
2020-04-25 09:14:01 +02:00
Andy Wilkinson 29dc236bb2 Broaden deprecation warning check in Gradle Plugin's tests
Closes gh-21111
2020-04-24 17:45:42 +01:00
Phillip Webb 581ce09f88 Merge branch '2.1.x' into 2.2.x
Closes gh-21106
2020-04-23 16:39:38 -07:00
Phillip Webb 416cfc2c86 Improve @Value documentation
Improve "@ConfigurationProperties vs. @Value" documentation with the
recommendation that kebab-case is used with the `@Value` annotation.

Closes gh-20507
2020-04-23 16:39:22 -07:00
Phillip Webb db28c0c65c Backport "Attempt to fix CI" 2020-04-23 16:35:01 -07:00
Phillip Webb 93f7e2b6ba Limit when PortInUseException is thrown
Refactor `PortInUseException` logic to a single place and refine when
the exception is thrown.

Prior to this commit, we assumed that a `BindException` was only thrown
when the port was in use. In fact, it's possible that the exception
could be thrown because the requested address "could not be assigned".

We now only throw a `PortInUserException` if the `BindException` message
includes the phrase "in use".

Fixes gh-21101
2020-04-23 14:42:30 -07:00
Phillip Webb 9bb53a4c37 Polish 2020-04-23 14:31:49 -07:00
Madhura Bhave 4dc9bbe127 @SpringBootTest classes with different args shouldn't share a context
Fixes gh-20866
2020-04-23 10:18:14 -07:00
Stephane Nicoll 8ac3ab5551 Add missing metadata for removed configuration keys
Closes gh-20846
2020-04-23 14:39:10 +02:00
Stephane Nicoll 311952730e Merge branch '2.1.x' into 2.2.x
Closes gh-21097
2020-04-23 14:07:31 +02:00
Stephane Nicoll 291165f060 Order additional metadata according to lexicographic order
Closes gh-21095
2020-04-23 13:58:49 +02:00
Phillip Webb d1649fbb9a Merge branch '2.1.x' into 2.2.x
Closes gh-21091
2020-04-22 16:49:33 -07:00
Phillip Webb e0f94f54ac Add "Health as Gauge" how-to documentation
Add how-to documentation describing how health information can be
exported to a Micrometer Gauge.

Closes gh-18329
2020-04-22 16:45:46 -07:00
Madhura Bhave b9c2b7b257 Prevent early initialization in MockitoPostProcessor
Fixes gh-20665
2020-04-22 14:35:50 -07:00
Phillip Webb 3e3587e0fb Polish 2020-04-22 12:57:08 -07:00
Phillip Webb 102729b5e1 Merge branch '2.1.x' into 2.2.x
Closes gh-21082
2020-04-22 11:58:39 -07:00
Phillip Webb b3d33754a5 Remove outdated FIXMEs from tests
Closes gh-19782
2020-04-22 11:55:35 -07:00
Phillip Webb 6bf933205c Merge branch '2.1.x' into 2.2.x
Fixes gh-21073
2020-04-21 17:21:32 -07:00
Madhura Bhave 16ac968f69 Relocate section on configuring DevTools' file system watcher
Closes gh-20895
2020-04-21 17:09:40 -07:00
Phillip Webb c85918b8b3 Create new JarFile instance for URL connections
Update `JarURLConnection` to ensure that when connections are opened
a new copy of the JarFile is provided.

Prior to this commit, a single `JarFile` instance was shared which meant
that it could be accidental closed if accessed via
`JarURLConnection.getJarFile()`. If the underlying jar file is closed
then it's possible for a `NoClassDefFoundError` to be thrown if running
on JDK 11 with an active `SecurityManager`.

Closes gh-17796
2020-04-21 16:32:51 -07:00
Phillip Webb 7d0b14fe1c Merge branch '2.1.x' into 2.2.x
Closes gh-21070
2020-04-21 11:43:09 -07:00
Phillip Webb 6011470ba6 Auto-configure cors on WelcomePageHandlerMapping
Update `WebMvcAutoConfiguration` to automatically apply cors
configuration to the `WelcomePageHandlerMapping`.

Fixes gh-21048
2020-04-21 11:40:26 -07:00
Stephane Nicoll 8cbd7f5cd0 Polish "Add support for initializing nested object when nothing bound"
This commit harmonizes the change made to @DefaultValue to the
annotation processor. If such annotation is added to a scalar value with
no value at all, no default value is produced.

Closes gh-18917
2020-04-21 15:59:34 +02:00
Andy Wilkinson 3065c88d6f Fix typo in IncludeExcludeEndpointFilter's name
Closes gh-21061
2020-04-21 13:27:35 +01:00
Phillip Webb 7d68c7c4c4 Merge branch '2.1.x' into 2.2.x
Closes gh-21052
2020-04-20 17:55:33 -07:00
Phillip Webb a2fdf23e41 Don't throw NettyWebServer on permission errors
Update `NettyWebServer` so that the `PortInUseException` is not thrown
for permission denied errors.

Fixes gh-19807
2020-04-20 17:54:13 -07:00
Phillip Webb c7611112f7 Include cause when throwing PortInUseException
Update classes that throw `PortInUseException` so that they also
include the cause. Prior to this commit the cause was not included
which could make diagnosing the real cause difficult.

See gh-19807
2020-04-20 17:54:10 -07:00
Madhura Bhave 4e0fdbee17 Process additional locations when non-default location configured
Fixes gh-20745
2020-04-20 17:08:54 -07:00
Madhura Bhave af6d538781 Add support for initializing nested object when nothing bound
When using constructor binding, if no properties are bound to
a nested property, the top-level instance will be created with a
null value for the nested property.
This commit introduces support for an empty `@DefaultValue` which
indicates that an instance of the nested property must be created
even if nothing is bound to it. It honors any `@DefaultValue`
annotations that the nested property might have in its constructor.

Closes gh-18917
2020-04-20 15:39:55 -07:00
Phillip Webb df26e24605 Fix ConditionalOnAvailableEndpoint dashed matching
Update `ConditionalOnAvailableEndpoint` so that it now uses the same
matching code as the endpoint filter. This allows the condition to
match endpoint IDs that contain a dash.

In order to share logic, the `ExposeExcludePropertyEndpointFilter` class
has been deprecated and its logic moved to a new `expose` package
under `IncludExcludeEndpointFilter`. This filter is used by both the
`OnAvailableEndpointCondition` and the auto-configuration classes.

Fixes gh-21044
2020-04-20 13:10:59 -07:00
Andy Wilkinson 439d9beecb Test that gridFsDatabase is honored by auto-configured GridFsTemplate
Closes gh-21039
2020-04-20 17:09:37 +01:00
Phillip Webb d27e437ddc Merge branch '2.1.x' into 2.2.x
Closes gh-21027
2020-04-19 18:55:15 -07:00
Phillip Webb f0ec571b2e Document relaxed binding from the environment
Update the reference documentation with more details about how relaxed
binding works against environment variables.

Closes gh-18215
2020-04-19 18:51:07 -07:00
Phillip Webb 55f0af7f0f Merge branch '2.1.x' into 2.2.x
Closes gh-21025
2020-04-19 17:48:32 -07:00
Phillip Webb 359b508077 Document devtool property file profile restrictions
Closes gh-19972
2020-04-19 17:46:24 -07:00
Phillip Webb 83553ee504 Fix test checkstyle issues
Fix checkstyle issues from forward merge.

See gh-21022
2020-04-19 16:51:59 -07:00
Phillip Webb 5757c0864c Merge branch '2.1.x' into 2.2.x
Closes gh-21022
2020-04-19 16:03:49 -07:00
Phillip Webb 6a4d98a865 Allow exposure patterns to match dashed IDs
Update `ExposeExcludePropertyEndpointFilter` so that patterns will
also match endpoint IDs that contain a dash.

Closes gh-20997
2020-04-19 15:58:20 -07:00
Stephane Nicoll 90c0378a7d Apply configuration properties deprecation consistently
This commit makes sure that both the getter and the setter of a
deprecated configuration properties is flagged with `@Deprecated`.

Closes gh-20812
2020-04-19 16:35:16 +02:00
Phillip Webb 1a8aa72afd Merge branch '2.1.x' into 2.2.x
Closes gh-21003
2020-04-17 15:19:45 -07:00
Phillip Webb 822d9f6a31 Allow empty URIs to create embedded datasource
Refine `DataSourceAutoConfiguration` conditions so that an empty
`spring.datasource.url` property can be used to enable the embedded
source.

Fixed gh-20996
2020-04-17 15:07:50 -07:00
Stephane Nicoll 1dd8dcc6c9 Polish "Polish JarFile to extra anonymous inner class"
See gh-20882
2020-04-15 09:39:00 +02:00
Konrado85 e0d1cf0e38 Polish JarFile to extra anonymous inner class
See gh-20882
2020-04-15 09:33:24 +02:00
Madhura Bhave 947594addd Merge branch '2.1.x' into 2.2.x
Closes gh-20963
2020-04-14 16:54:54 -07:00
Madhura Bhave c98fe51914 Make it more obvious that Jolokia does not work with a WebFlux app
Closes gh-20623
2020-04-14 16:45:31 -07:00
Stephane Nicoll 6e1ff50328 Start building against Spring Kafka 2.3.8 snapshots
See gh-20952
2020-04-14 14:29:41 +02:00
Stephane Nicoll fafac58311 Start building against Spring Integration 5.2.6 snapshots
See gh-20950
2020-04-14 14:29:06 +02:00
Stephane Nicoll fb11285279 Start building against Spring Data Moore-SR7 snapshots
See gh-20948
2020-04-14 14:28:21 +02:00
Stephane Nicoll 99b576707e Start building against Spring AMQP 2.2.6 snapshots
See gh-20946
2020-04-14 14:27:46 +02:00
Stephane Nicoll ea1345d074 Start building against Spring Framework 5.2.6 snapshots
See gh-20944
2020-04-14 14:27:11 +02:00
Stephane Nicoll 4474da8850 Start building against Reactor Dysprosium-SR7 snapshots
See gh-20942
2020-04-14 14:26:28 +02:00
Brian Clozel 49bbcceda9 Fix Undertow compression config with invalid Mime Types
Prior to this commit, the Undertow compression configuration provided by
Spring Boot would fail and throw an exception for invalid MIME Types
when trying to check them against the list of configured types for
compression.

This commit ensures that invalid MIME Types are ignored and that
compression is disabled for those.

Fixes gh-20955
2020-04-14 14:15:39 +02:00
Stephane Nicoll a3095d5956 Start building against Spring Integration 5.1.10 snapshots
See gh-20941
2020-04-14 10:35:23 +02:00
Stephane Nicoll 35c66d9088 Start building against Spring Data Lovelace-SR17 snapshots
See gh-20940
2020-04-14 10:32:41 +02:00
Stephane Nicoll 16334304d6 Start building against Spring AMQP 2.1.14 snapshots
See gh-20939
2020-04-14 10:32:04 +02:00
Stephane Nicoll 6a4fbe18c2 Start building against Spring Framework 5.1.15 snapshots
See gh-20938
2020-04-14 10:24:08 +02:00
Stephane Nicoll fca3601477 Start building against Reactor Californium-SR18 snapshots
See gh-20937
2020-04-14 10:22:45 +02:00
Stephane Nicoll 60f726a080 Polish 2020-04-11 10:27:05 +02:00
Stephane Nicoll 3cdb5a690a Polish "Align Kafka's missingTopicsFatal default value"
See gh-20917
2020-04-11 10:20:09 +02:00
dhimathu a12eace2a8 Align Kafka's missingTopicsFatal default value
See gh-20917
2020-04-11 10:03:21 +02:00
A Vaz 267f6481f8 Fix typo
See gh-20907
2020-04-10 11:36:46 +02:00
Andy Wilkinson 7e1807c01b Polish "Update endpoint enablement description to describe availability"
See gh-20799
2020-04-09 12:41:16 +01:00
Eric Opoku 399c85a5ef Update endpoint enablement description to describe availability
See gh-20799
2020-04-09 12:41:05 +01:00
Stephane Nicoll cb66e4a206 Update copyright year
See gh-20832
2020-04-07 15:09:27 +02:00
dreis2211 235e693906 Fix WebappLoader constructor deprecations
See gh-20832
2020-04-07 15:08:28 +02:00
dreis2211 2f93196fbb Polish ConditionMessage#because()
See gh-20847
2020-04-07 15:04:50 +02:00
Stephane Nicoll 1960c90d5f Deprecated PushRegistry's numThreads property
This property is a left-over and was never used in Micrometer so this
commit deprecates its use so that it can be removed in the next feature
release.

Closes gh-20835
2020-04-05 15:12:42 +02:00
Stephane Nicoll 4641794fb5 Fix AtlasProperties hierarchy
This commit fixes the AtlasProperties hierarchy so that it no longer is
a StepRegistryProperties. The AtlasConfig on the Micrometer side of
things does not share the common config hierarchy either and some
properties have different default and lifecycle.

Closes gh-20843
2020-04-05 14:57:25 +02:00
Andy Wilkinson 6d7c3da1cf Polish "Make it clear to which type the DataSource properties are bound"
See gh-20727
2020-03-31 12:56:34 +01:00
Param 004ea51b05 Make it clear to which type the DataSource properties are bound
See gh-20727
2020-03-31 12:56:13 +01:00
dreis2211 798e21fd3e Polish GroovyTemplateAutoConfiguration
See gh-20708
2020-03-31 11:58:49 +01:00
Andy Wilkinson ce95fd6825 Polish "Use @DynamicPropertySource for Neo4J and Redis data tests"
See gh-20676
2020-03-31 11:31:05 +01:00
dreis2211 d84422a41c Use @DynamicPropertySource for Neo4J and Redis data tests
See gh-20676
2020-03-31 11:31:05 +01:00
Stephane Nicoll ac56db703e Merge branch '2.1.x' into 2.2.x
Closes gh-20725
2020-03-30 13:02:58 +02:00
Stephane Nicoll 88b7b78344 Make sure that cassandra health check reports version
Closes gh-20719
2020-03-30 12:58:41 +02:00
Stephane Nicoll 05f10819c4 Merge branch '2.1.x' into 2.2.x
Closes gh-20717
2020-03-29 18:39:17 +02:00
Stephane Nicoll c9e32aaa47 Use LOCAL_ONE when querying system.local
This commit is a follow-up of gh-20709 to apply the same consistency
level to the Cassandra reactive health indicator.

Closes gh-20713
2020-03-29 18:37:30 +02:00
Stephane Nicoll a9a6df2ed4 Merge branch '2.1.x' into 2.2.x
Closes gh-20711
2020-03-28 16:05:36 +01:00
Stephane Nicoll 63be1678de Polish "Use LOCAL_ONE when querying system.local"
See gh-20709
2020-03-28 16:02:04 +01:00
Alexandre Dutra 851f631eac Use LOCAL_ONE when querying system.local
The system keyspace has a replication factor of 1 and is local to each
node; it is therefore recommended to query system.local with a
consistency level of ONE or LOCAL_ONE.

Stronger consistency levels may result in an Unavailable error, but this
does not mean that the node is down.

See gh-20709
2020-03-28 16:01:47 +01:00
Stephane Nicoll 5d56e24da2 Document that Java 14 is a supported version
Closes gh-20689
2020-03-27 11:00:42 +01:00
Madhura Bhave 042a02e0da Update copyright of changed files 2020-03-26 16:34:52 -07:00
Anastasiia Losieva a55c3e4ab7 Use jws-algorithm property in ReactiveOAuth2ResourceServerJwkConfiguration
See gh-20681
2020-03-26 16:20:31 -07:00
Stephane Nicoll a234dff573 Remove check for deprecated configuration properties
See gh-20528
2020-03-26 11:06:47 +01:00
Stephane Nicoll ab01c55d8e Deprecate use of path extensions for request mapping and content negotiation
Closes gh-20528
2020-03-26 10:41:08 +01:00
Andy Wilkinson 0c3be4dde5 Upgrade to Spring Integration 5.2.5.RELEASE
Closes gh-20672
2020-03-25 19:50:19 +00:00
Stephane Nicoll 48f235c2cf Upgrade to Spring Kafka 2.3.7
Closes gh-20574
2020-03-25 18:28:56 +01:00
Stephane Nicoll f218565e7c Upgrade to Mimepull 1.9.13
Closes gh-20675
2020-03-25 18:20:48 +01:00
Stephane Nicoll 1b3efb52df Upgrade to Spring Data Moore SR6
Closes gh-20573
2020-03-25 12:01:31 +01:00
Stephane Nicoll 6316d26754 Upgrade to Spring HATEOAS 1.0.4.RELEASE
Closes gh-20232
2020-03-25 11:49:11 +01:00
Stephane Nicoll 009361d38c Merge branch '2.1.x' into 2.2.x
Closes gh-20670
2020-03-25 11:34:51 +01:00
Stephane Nicoll 18353231a0 Do not fail if "spring.datasource.url" cannot be resolved
Previously, a condition checked the value of "spring.datasource.url" to
determine if an embedded database has to be created as a fallback. When
the value is set with an unresolved placeholder, this fails even if
the DataSource is going to created by another mean ultimately.

This commit makes a more conservative check by only checking the
presence of the property rather than its value.

Closes gh-20438
2020-03-25 11:25:47 +01:00
Stephane Nicoll 089c0471fa Test the Gradle Plugin against Gradle 6.3
Closes gh-20669
2020-03-25 09:57:04 +01:00
Stephane Nicoll 44a8ff893d Upgrade to Spring Framework 5.2.5
Closes gh-20571
2020-03-24 14:28:15 +01:00
Stephane Nicoll b53687535d Upgrade to Maven Dependency Plugin 3.1.2
Closes gh-20658
2020-03-24 12:04:13 +01:00
Stephane Nicoll 9e87b54f09 Upgrade to Xmlunit2 2.6.4
Closes gh-20657
2020-03-24 12:04:13 +01:00
Stephane Nicoll 0bb564dff9 Upgrade to Spring Session Bom Corn-SR2
Closes gh-20656
2020-03-24 12:04:13 +01:00
Stephane Nicoll d87726a953 Upgrade to Postgresql 42.2.11
Closes gh-20655
2020-03-24 12:04:13 +01:00
Stephane Nicoll c99ef5df76 Upgrade to Neo4j Ogm 3.2.10
Closes gh-20654
2020-03-24 12:04:13 +01:00
Stephane Nicoll 64ca69305f Upgrade to Liquibase 3.8.8
Closes gh-20653
2020-03-24 12:04:13 +01:00
Stephane Nicoll 67d2b8baa9 Upgrade to Kotlin Coroutines 1.3.5
Closes gh-20652
2020-03-24 12:04:12 +01:00
Stephane Nicoll 059e1cdd13 Upgrade to Kotlin 1.3.71
Closes gh-20651
2020-03-24 12:04:12 +01:00
Stephane Nicoll 468ddee339 Upgrade to Freemarker 2.3.30
Closes gh-20650
2020-03-24 12:04:12 +01:00
Stephane Nicoll e3bdcae09d Upgrade to Elasticsearch 6.8.7
Closes gh-20649
2020-03-24 12:04:12 +01:00
Stephane Nicoll ef9d64c1fb Upgrade to Jetty 9.4.27.v20200227
Closes gh-20648
2020-03-24 12:04:12 +01:00
Stephane Nicoll e1e8528867 Upgrade to Janino 3.1.2
Closes gh-20647
2020-03-24 12:04:12 +01:00
Stephane Nicoll bd96698ca3 Upgrade to Tomcat 9.0.33
Closes gh-20646
2020-03-24 12:04:12 +01:00
Stephane Nicoll 47e1e273c1 Upgrade to Httpclient 4.5.12
Closes gh-20645
2020-03-24 12:04:12 +01:00
Stephane Nicoll 46ffb4fd88 Upgrade to Activemq 5.15.12
Closes gh-20644
2020-03-24 12:04:12 +01:00
Stephane Nicoll f244e12ec2 Add dependency management for Jakarta Xml Soap 1.4.2
Closes gh-20659
2020-03-24 12:04:12 +01:00
Stephane Nicoll 7b215e6998 Upgrade to Jakarta Xml Ws 2.3.3
Closes gh-20643
2020-03-24 10:59:40 +01:00
Stephane Nicoll ecb1bdcc45 Upgrade to Jakarta Xml Bind 2.3.3
Closes gh-20642
2020-03-24 10:59:39 +01:00
Stephane Nicoll 5294c46380 Upgrade to Undertow 2.0.30.Final
Closes gh-20641
2020-03-24 10:59:37 +01:00
Stephane Nicoll 0766c2c591 Upgrade to Rxjava2 2.2.19
Closes gh-20640
2020-03-24 10:59:36 +01:00
Stephane Nicoll 3fe6f409b7 Upgrade to Netty Tcnative 2.0.30.Final
Closes gh-20639
2020-03-24 10:59:35 +01:00
Stephane Nicoll 5d1e303c0b Upgrade to Netty 4.1.48.Final
Closes gh-20638
2020-03-24 10:59:34 +01:00
Stephane Nicoll cde39f4676 Upgrade to Micrometer 1.3.6
Closes gh-20637
2020-03-24 10:59:33 +01:00
Stephane Nicoll 278b206af5 Upgrade to Dropwizard Metrics 4.1.5
Closes gh-20636
2020-03-24 10:59:32 +01:00
Stephane Nicoll 262f1239db Upgrade to Jakarta Mail 1.6.5
Closes gh-20635
2020-03-24 10:59:31 +01:00
Stephane Nicoll 2ec2416357 Upgrade to Sendgrid 4.4.6
Closes gh-20634
2020-03-24 10:59:29 +01:00
Stephane Nicoll fcde01cc21 Upgrade to Appengine Sdk 1.9.79
Closes gh-20633
2020-03-24 10:59:28 +01:00
Stephane Nicoll 1ffdf8a194 Upgrade to Jackson 2.10.3
Closes gh-20632
2020-03-24 10:59:27 +01:00
Stephane Nicoll 89d8fe6717 Upgrade to Couchbase Client 2.7.13
Closes gh-20631
2020-03-24 10:59:25 +01:00
Phillip Webb 16b5ea3414 Update copyright year of changed files 2020-03-23 14:13:33 -07:00
Stephane Nicoll 8d9c9126b1 Upgrade to Reactor Dysprosium-SR6
Closes gh-20569
2020-03-23 18:40:08 +01:00
Stephane Nicoll 9a5ffb7e0c Upgrade to Reactor Californium SR17
Closes gh-20624
2020-03-23 18:28:42 +01:00
Stephane Nicoll bf15276af1 Fix import in constructor binding example
Closes gh-20378
2020-03-23 15:27:08 +01:00
Stephane Nicoll 8f265f8d57 Polish "Fix @FlywayDataSource with multiple data sources"
See gh-20617
2020-03-23 14:37:23 +01:00
Shimbo Takaaki 2410d6bbd1 Fix @FlywayDataSource with multiple data sources
See gh-20617
2020-03-23 14:25:57 +01:00
Stephane Nicoll 7be3db2d4d Merge branch '2.1.x' into 2.2.x
Closes gh-20618
2020-03-23 14:22:30 +01:00
Stephane Nicoll bcce6f9f07 Document that Jackson is a required dependency of the Actuator
Closes gh-19564
2020-03-23 14:16:55 +01:00
Stephane Nicoll 39b965e1fd Merge branch '2.1.x' into 2.2.x
Closes gh-20615
2020-03-23 12:55:44 +01:00
Stephane Nicoll f5761bd508 Auto-configure listener container factory without consumer factory
Previously, the presence of a `ConsumerFactory` bean would make the
auto-configured one to back off, leading to a failure down the line if
no available instance matches the generics criterion. This commit
improves the auto-configuration to create a `ConsumerFactory<?,?>`
behind the scenes if none is available.

Closes gh-19221
2020-03-23 12:52:33 +01:00
Stephane Nicoll 08a89b6288 Polish "Configure signature algorithm when using public key jwt decoder"
See gh-20523
2020-03-23 11:17:22 +01:00
Michael Kreis 69e33d6e62 Configure signature algorithm when using public key jwt decoder
See gh-20523
2020-03-23 10:56:59 +01:00
dreis2211 6ff842441c Polish BindableTests
See gh-20604
2020-03-22 19:55:32 +01:00
Stephane Nicoll 8593270b5b Only remove trailing slash from URI value
This commit upgrades the algorithm when trailing slash are to be
ignored. Previously a root URI (i.e. "/") would result to to empty
string which is an issue for monitoring system that requires tag values
to be non empty. If the URI is a single character, the trailing is not
applied and "/" is left as is.

Closes gh-20536
2020-03-21 15:11:50 +01:00
Andy Wilkinson 9e7ab46ecc Merge branch '2.1.x' into 2.2.x
Closes gh-20589
2020-03-20 11:03:15 +00:00
Jordan Simpson 0d9d0f8532 Link to correct factory in TomcatReactiveWebServerFactory's javadoc
See gh-20583
2020-03-20 11:02:41 +00:00
Stephane Nicoll 579a6ac254 Adapt tests for support for Java 14
See gh-20576
2020-03-19 14:54:33 +01:00
Stephane Nicoll 58a45c53ac Upgrade to Groovy 2.5.10
Closes gh-20575
2020-03-19 13:33:57 +01:00
Stephane Nicoll bece0f1360 Start building against Spring Kafka 2.3.7 snapshots
See gh-20574
2020-03-19 11:00:19 +01:00
Stephane Nicoll 96cffb9dd3 Start building against Spring Data Moore SR6 snapshots
See gh-20573
2020-03-19 10:59:18 +01:00
Stephane Nicoll e940e751c1 Start building against Spring Framework 5.2.5 snapshots
See gh-20571
2020-03-19 10:52:32 +01:00
Stephane Nicoll 3966730e02 Start building against Reactor Dysprosium-SR6 snapshots
See gh-20569
2020-03-19 10:49:42 +01:00
Lars Grefer c748f36856 Fix recommended task dependency configuration
`compileJava.dependsOn(processResources)` is not enough to ensure the
correct behavior. Using `dependsOn` only affects the execution order
(`processResources` before `compileJava`) but not the up-to-date check
of `compileJava`. After modifying
`META-INF/additional-spring-configuration-metadata.json`, the
`processResouces` task will considered out-of-date and will be
re-executed, but after that `compileJava` will still be considered
up-to-date which causes the changes not to be merged into
`META-INF/spring-configuration-metadata.json`

With this change the up-do-date check of `compileJava` is affected,
too. Therefore, it will correctly re-execute the
configuration-processor when
`META-INF/additional-spring-configuration-metadata.json` was changed.

See gh-20323
2020-03-18 10:55:32 +00:00
dreis2211 d9171d0afe Use @Configuration(proxyBeanMethods=false) wherever possible
See gh-20541
2020-03-17 17:17:38 +01:00
Andy Wilkinson 566f79b086 Merge branch '2.1.x' into 2.2.x
Closes gh-20543
2020-03-17 12:50:45 +00:00
Andy Wilkinson b51c7386aa Fix detection of application home for paths containing spaces
Fixes gh-20531
2020-03-17 12:41:26 +00:00
Andy Wilkinson 9fbb664db6 Avoid eager init when evaluating DevToolsDataSourceCondition
Previously, DevToolsDataSourceCondition called
getBeanNamesForType(Class) which could trigger unwanted initialization
of lazy init singletons and objects created by FactoryBeans.

This commit updates DevToolsDataSourceCondition to prohibit eager
init when getting the names of the beans of a particular type.

Fixes gh-20430
2020-03-11 14:02:16 +00:00
Andy Wilkinson e937b2e0cd Merge branch '2.1.x' into 2.2.x
Closes gh-20501
2020-03-11 13:12:27 +00:00
Andy Wilkinson f251772e17 Fix behaviour of DependencyCustomizer ifAllResourcesPresent
Previously, DependencyCustomizer's ifAllResourcesPresent method
would return a customizer that added modules if any of the resources
were present. This commit corrects this behaviours so that modules are
only added if all resources are present.

Fixes gh-20418
2020-03-11 13:00:49 +00:00
Andy Wilkinson e1ce21c3a5 Merge branch '2.1.x' into 2.2.x
Closes gh-20499
2020-03-11 09:34:11 +00:00
Andy Wilkinson 2b2113714d Use getTomcatWebServer to create TomcatWebServer instance
TomcatReactiveWebServerFactory's getTomcatWebServer is described as
being a hook point the can be overrideden to return a different
TomcatWebServer or to apply additional processing to the Tomcat
server. Previously, this did not work as the method was not called
to create the TomcatWebServer instance. Instead, TomcatWebServer was
instantiated and returned directly.

This commit updates TomcatReactiveWebServerFactory to call
getTomcatWebServer to create the TomcatWebServer instance. A test
has also been added to verify that the method is now used.

Fixes gh-20386
2020-03-11 09:24:27 +00:00
Florian Dreier 76451d47b7 Update versiion of git-properties plugin shown in the docs
See gh-20436
2020-03-10 21:26:48 +00:00
Madhura Bhave a27e145f03 Merge branch '2.1.x' into 2.2.x
Closes gh-20432
2020-03-09 16:06:47 -07:00
Madhura Bhave 06d870bdd0 Do not wrap CF JSON Keys containing special characters
This reverts commit 6828a15d31.
The commit has been reverted as it breaks backwards compatiblity.

Fixes gh-20343
2020-03-09 15:56:48 -07:00
Stephane Nicoll 1fdb08300b Polish 2020-03-08 17:22:22 +01:00
dreis2211 f08a9db984 Fix some deprecations
See gh-20388
2020-03-05 10:24:49 +01:00
Johnny Lim 1721aeccb0 Use ServerHttpResponse.getRawStatusCode() in WebFluxTags
See gh-19987
2020-03-04 15:28:31 +01:00
dreis2211 daa3855fc8 Test the Gradle Plugin against Gradle 6.2.2
See gh-20385
2020-03-04 14:56:20 +01:00
dreis2211 4eaaf88b2d Remove redundant code
See gh-20339
2020-02-27 12:56:43 -08:00
Madhura Bhave ea8f2a7276 Fix tests following changes to EndpointRequest
See gh-20329
2020-02-26 17:05:16 -08:00
Madhura Bhave cdae79dad9 Cache management port type in EndpointRequestMatcher
Closes gh-20329
2020-02-26 14:59:54 -08:00
Stephane Nicoll 421fe77b04 Upgrade to Neo4j Ogm 3.2.9
Closes gh-20330
2020-02-26 17:06:54 -05:00
Stephane Nicoll ef67ad7a35 Upgrade to Liquibase 3.8.7
Closes gh-20328
2020-02-26 15:52:07 -05:00
Stephane Nicoll fa6f8f80b5 Upgrade to Rxjava2 2.2.18
Closes gh-20327
2020-02-26 15:52:06 -05:00
Stephane Nicoll a838537487 Upgrade to Dropwizard Metrics 4.1.3
Closes gh-20326
2020-02-26 15:52:05 -05:00
Stephane Nicoll 398e68393e Upgrade to Okhttp3 3.14.7
Closes gh-20325
2020-02-26 15:52:03 -05:00
Stephane Nicoll 560bf28e85 Upgrade to Spring Kafka 2.3.6.RELEASE
Closes gh-20203
2020-02-26 15:38:47 -05:00
Stephane Nicoll 080d549cb2 Upgrade to Spring Integration 5.2.4.RELEASE
Closes gh-20202
2020-02-26 15:38:12 -05:00
Stephane Nicoll 3c7ed819fa Upgrade to Spring AMQP 2.2.5.RELEASE
Closes gh-20106
2020-02-26 15:37:31 -05:00
Stephane Nicoll c0bac905e1 Revert "Start building against Spring HATEOAS 1.0.4 snapshots"
This reverts commit 34f33e8b0d.

See gh-20232
2020-02-26 11:33:12 -05:00
Stephane Nicoll 0c5973f688 Upgrade to Neo4j Ogm 3.1.17
Closes gh-20322
2020-02-26 08:52:42 -05:00
Stephane Nicoll eb33be8849 Upgrade to Rxjava2 2.2.18
Closes gh-20321
2020-02-26 08:52:40 -05:00
Stephane Nicoll 5db92e3d30 Upgrade to Jackson 2.9.10.20200223
Closes gh-20320
2020-02-26 08:52:39 -05:00
Stephane Nicoll cd456c2e41 Upgrade to Spring Data Moore-SR5
Closes gh-20201
2020-02-26 08:48:42 -05:00
Stephane Nicoll de3f72f25b Upgrade to Spring Data Lovelace-SR16
Closes gh-20198
2020-02-26 08:47:01 -05:00
Stephane Nicoll 4cd4e510e1 Upgrade to Spring Framework 5.2.4.RELEASE
Cloes gh-20199
2020-02-25 13:51:58 -05:00
Stephane Nicoll eaafe50880 Upgrade to Spring Framework 5.1.14
Closes gh-20197
2020-02-25 13:50:25 -05:00
Yoo In Keun ec20246415 Fix typos in documentation
See gh-20313
2020-02-25 08:59:12 -05:00
dreis2211 442733600e Test the Gradle plugin against Gradle 6.2.1
See gh-20310
2020-02-25 05:52:00 -05:00
Andy Wilkinson 2059ff6c39 Upgrade to Reactor Dysprosium-SR5
Closes gh-20200
2020-02-25 09:23:13 +00:00
Andy Wilkinson cb2e3bd076 Upgrade to Reactor Californium-SR16
Closes gh-20196
2020-02-25 09:15:02 +00:00
Madhura Bhave 42bb56c1ba Merge branch '2.1.x' into 2.2.x 2020-02-24 15:04:24 -08:00
Madhura Bhave 88ee50601d Update copyright of changed files 2020-02-24 15:03:38 -08:00
Madhura Bhave 368a77f355 Merge branch '2.1.x' into 2.2.x
Closes gh-20306
2020-02-24 15:01:38 -08:00
Madhura Bhave 0957168626 Binding to collection of custom objects should not fail with unbound error
Fixes gh-20134
2020-02-24 14:48:10 -08:00
Brian Clozel 11b9862064 Revert "Clear ProducesRequestCondition cache attribute"
Closes gh-20292
2020-02-21 17:38:43 +01:00
Stephane Nicoll 3f0a5a5482 Upgrade to Maven Shade Plugin 3.2.2
Closes gh-20288
2020-02-21 14:33:29 +01:00
Stephane Nicoll 4a64426218 Upgrade to Spring Session Bom Corn-SR1
Closes gh-20287
2020-02-21 14:33:29 +01:00
Stephane Nicoll a3d4367ccc Upgrade to Spring Security 5.2.2.RELEASE
Closes gh-20286
2020-02-21 14:33:29 +01:00
Stephane Nicoll 412aee65ea Upgrade to Lombok 1.18.12
Closes gh-20285
2020-02-21 14:33:29 +01:00
Stephane Nicoll fb0d14baa8 Upgrade to Postgresql 42.2.10
Closes gh-20284
2020-02-21 14:33:29 +01:00
Stephane Nicoll 6a3a32460f Upgrade to Neo4j Ogm 3.2.8
Closes gh-20283
2020-02-21 14:33:29 +01:00
Stephane Nicoll 85139c0321 Upgrade to Liquibase 3.8.6
Closes gh-20282
2020-02-21 14:33:29 +01:00
Stephane Nicoll 4b3273440f Upgrade to Jooq 3.12.4
Closes gh-20281
2020-02-21 14:33:29 +01:00
Stephane Nicoll e56a4dfc87 Upgrade to Infinispan 9.4.18.Final
Closes gh-20280
2020-02-21 14:33:29 +01:00
Stephane Nicoll 7b389f04ad Upgrade to Hibernate 5.4.12.Final
Closes gh-20279
2020-02-21 14:33:29 +01:00
Stephane Nicoll a99f7910bc Upgrade to Jetty 9.4.26.v20200117
Closes gh-20278
2020-02-21 14:33:29 +01:00
Stephane Nicoll 402eb87847 Upgrade to Tomcat 9.0.31
Closes gh-20277
2020-02-21 14:33:22 +01:00
Stephane Nicoll 1909bac5c8 Upgrade to Johnzon Jsonb 1.2.3
Closes gh-20276
2020-02-21 14:33:21 +01:00
Stephane Nicoll 3447936823 Upgrade to Httpclient 4.5.11
Closes gh-20275
2020-02-21 14:33:21 +01:00
Stephane Nicoll 15134d92f5 Upgrade to Byte Buddy 1.10.8
Closes gh-20274
2020-02-21 14:33:21 +01:00
Stephane Nicoll 53389ec61b Upgrade to Rsocket 1.0.0-RC6
Closes gh-20273
2020-02-21 14:33:21 +01:00
Stephane Nicoll bcd0a7bbb3 Upgrade to Netty Tcnative 2.0.29.Final
Closes gh-20272
2020-02-21 14:33:21 +01:00
Stephane Nicoll 3c59f08796 Upgrade to Micrometer 1.3.5
Closes gh-20271
2020-02-21 14:33:21 +01:00
Stephane Nicoll 62287739e7 Upgrade to Lettuce 5.2.2.RELEASE
Closes gh-20270
2020-02-21 14:33:21 +01:00
Stephane Nicoll 1858219d1d Upgrade to Jakarta Activation 1.2.2
Closes gh-20269
2020-02-21 14:33:21 +01:00
Stephane Nicoll a7f3b801ae Upgrade to Sendgrid 4.4.5
Closes gh-20268
2020-02-21 14:33:15 +01:00
Stephane Nicoll d684277f29 Upgrade to Hazelcast 3.12.6
Closes gh-20267
2020-02-21 14:25:03 +01:00
Stephane Nicoll e5baa1c55a Upgrade to Appengine Sdk 1.9.78
Closes gh-20266
2020-02-21 14:25:01 +01:00
Stephane Nicoll 26d30f5019 Upgrade to Caffeine 2.8.1
Closes gh-20265
2020-02-21 14:25:00 +01:00
Stephane Nicoll 0b1b05f129 Upgrade to Jackson 2.10.2.20200130
Closes gh-20264
2020-02-21 14:24:58 +01:00
Stephane Nicoll 021575a335 Upgrade to Couchbase Client 2.7.12
Closes gh-20263
2020-02-21 14:24:57 +01:00
Stephane Nicoll fb97f075b9 Upgrade to Maven Shade Plugin 3.2.2
Closes gh-20260
2020-02-21 14:17:36 +01:00
Stephane Nicoll 29d7714a2b Upgrade to Spring Session Bom Bean-SR9
Closes gh-20259
2020-02-21 14:17:36 +01:00
Stephane Nicoll eecd8e1669 Upgrade to Spring Security 5.1.8.RELEASE
Closes gh-20258
2020-02-21 14:17:36 +01:00
Stephane Nicoll 3f538c2b4a Upgrade to Lombok 1.18.12
Closes gh-20257
2020-02-21 14:17:36 +01:00
Stephane Nicoll 32fdc42ce1 Upgrade to Postgresql 42.2.10
Closes gh-20256
2020-02-21 14:17:36 +01:00
Stephane Nicoll 1e5b548501 Upgrade to Infinispan 9.4.18.Final
Closes gh-20255
2020-02-21 14:17:36 +01:00
Stephane Nicoll 7b8d3c284d Upgrade to Jetty 9.4.26.v20200117
Closes gh-20254
2020-02-21 14:17:36 +01:00
Stephane Nicoll ac41bcbb66 Upgrade to Tomcat 9.0.31
Closes gh-20253
2020-02-21 14:17:30 +01:00
Stephane Nicoll 2b033c532b Upgrade to Httpclient 4.5.11
Closes gh-20252
2020-02-21 13:32:59 +01:00
Stephane Nicoll b3b7d80374 Upgrade to Dependency Management Plugin 1.0.9.RELEASE
Closes gh-20251
2020-02-21 13:32:58 +01:00
Stephane Nicoll b5a20492bd Upgrade to Netty Tcnative 2.0.29.Final
Closes gh-20250
2020-02-21 13:32:56 +01:00
Stephane Nicoll cd99b838f7 Upgrade to Hazelcast 3.11.7
Closes gh-20249
2020-02-21 13:32:55 +01:00
Stephane Nicoll 4b9070d9b5 Upgrade to Appengine Sdk 1.9.78
Closes gh-20248
2020-02-21 13:32:54 +01:00
Stephane Nicoll f4a3d7ff3a Upgrade to Couchbase Client 2.7.12
Closes gh-20247
2020-02-21 13:32:52 +01:00
Dmytro Nosan 1a8c321a7b Support nested requests in MetricsClientHttpRequestInterceptor
Prior to this commit, requests made by `HttpRequestInterceptor`
instances configured on `RestTemplate` would not be recorded
properly.

This commit ensures that nested requests are recorded separately.

Closes gh-20231
2020-02-20 14:49:50 -08:00
Scott Frederick 625b40aa90 Prefer arguments in POM over spring-boot.run.arguments
This commit changes the order of precedence for the `arguments` property
of the AbstractRunMojo so that values specified in the POM override
values provided on the command line using `spring-boot.run.arguments`.
This brings the `arguments` property in line with all other Mojo
parameters.

Fixes gh-20024
2020-02-20 13:09:20 -06:00
Stephane Nicoll cc3eac898a Start building against Spring Kafka 2.3.6 snapshots
See gh-20203
2020-02-20 14:24:55 +01:00
Stephane Nicoll effa2a29f2 Start building against Spring AMQP 2.2.5 snapshots
See gh-20106
2020-02-20 14:24:55 +01:00
Stephane Nicoll 942cd85d76 Start building against Spring Integration 5.2.4 snapshots
See gh-20202
2020-02-20 14:24:55 +01:00
Stephane Nicoll 2095295c4c Start building against Spring Data Moore SR5 snapshots
See gh-20201
2020-02-20 14:24:55 +01:00
Stephane Nicoll 34f33e8b0d Start building against Spring HATEOAS 1.0.4 snapshots
See gh-20232
2020-02-20 14:24:55 +01:00
Stephane Nicoll 67d2258e76 Start building against Spring Framework 5.2.4 snapshots
See gh-20199
2020-02-20 14:24:55 +01:00
Stephane Nicoll ef0d881846 Start building against Reactor Dysprosium-SR5 snapshots
See gh-20200
2020-02-20 11:12:01 +01:00
Stephane Nicoll 5750b8d826 Start building against Reactor Californium-SR16 snapshots
See gh-20196
2020-02-20 11:10:11 +01:00
Stephane Nicoll 592ae85043 Merge branch '2.1.x' into 2.2.x 2020-02-20 11:03:10 +01:00
Stephane Nicoll 6aeff91f50 Polish 2020-02-20 10:58:37 +01:00
Andy Wilkinson 29bc5d848e Start building against Spring Data Lovelace-SR16 snapshots
See gh-20198
2020-02-19 18:51:24 +00:00
Andy Wilkinson 5ae66d4c08 Start building against Spring Framework 5.1.14 snapshots
See gh-20197
2020-02-19 18:51:24 +00:00
dreis2211 d55bc5f850 Test the Gradle Plugin against Gradle 6.2
See gh-20222
2020-02-19 09:26:54 +01:00
hbellahc d890f1f6d8 Document missing reference to DataSourceHealthIndicator
See gh-20216
2020-02-18 17:29:16 +01:00
Stephane Nicoll 1d60184075 Merge branch '2.1.x' into 2.2.x
Closes gh-20217
2020-02-18 16:58:46 +01:00
Stephane Nicoll 2147976c17 Do not fallback to embedded configuration if a datasource url is set
This commit makes sure that a fallback embedded datasource is not
created if no suitable connection pool is found and an url has been
explicitly registered.

This is consistent with EmbeddedDataSourceConfiguration as it is using
EmbeddedDatabaseBuilder behind the scenes and the latter does not
honour the configured URL anyway.

Closes gh-19192
2020-02-18 16:27:31 +01:00
Brian Clozel e59d3fbb86 Clear ProducesRequestCondition cache attribute
As of spring-projects/spring-framework#22644, Spring Framework caches
the "produces" condition when matching for endpoints in the
`HandlerMapping` infrastructure. This has been improved in
spring-projects/spring-framework#23091 to prevent side-effects in other
implementations.

Prior to this commit, the Spring Boot actuator infrastructure for
`EndpointHandlerMapping` would not clear the cached attribute,
presenting the same issue as Spring Framework's infrastructure. This
means that a custom arrangement with custom `HandlerMapping` or
`ContentTypeResolver` would not work properly and reuse the cached
produced conditions for other, unintented, parts of the handler mapping
process.

This commit clears the cached data and ensures that other handler
mapping implementations are free of that side-effect.

Fixes gh-20150
2020-02-17 11:33:45 +01:00
Andy Wilkinson bf8ed44453 Upgrade to Spring AMQP 2.2.4.RELEASE
Closes gh-20106
2020-02-15 13:14:04 +00:00
Andy Wilkinson e065ee7be2 Merge branch '2.1.x' into 2.2.x
Closes gh-20183
2020-02-14 14:47:03 +00:00
Stephane Nicoll 40d1727cc5 Polish "Document sanitized keys and uri sanitization behavior"
See gh-20169
2020-02-14 15:29:47 +01:00
Juzer Ali 30f7f9c9c4 Document sanitized keys and uri sanitization behavior
See gh-20169
2020-02-14 15:28:36 +01:00
Andy Wilkinson c8907d46b4 Fix up-to-date checking of build info properties
Closes gh-20135
2020-02-14 11:56:19 +00:00
Dave Syer dcaaf9785f Remove duplicate auto-configuration class
See gh-20168
2020-02-14 10:25:19 +01:00
Stephane Nicoll 2ede9e63b9 Merge branch '2.1.x' into 2.2.x
Closes gh-20117
2020-02-14 10:20:33 +01:00
Stephane Nicoll 32c1dd45a9 Revert "Merge pull request #19926 from xak2000"
Closes gh-19926
2020-02-14 10:18:02 +01:00
dreis2211 92b4ba6367 Fix structuring your code link in multi-page HTML documentation
Closes gh-19953
2020-02-12 17:43:08 +00:00
Madhura Bhave 4eb71fc424 Merge branch '2.1.x' into 2.2.x 2020-02-11 19:43:19 -08:00
Madhura Bhave 97ac6c9de7 Polish 2020-02-11 19:41:54 -08:00
Madhura Bhave 98a657fedb Merge branch '2.1.x' into 2.2.x
Closes gh-20132
2020-02-11 19:02:19 -08:00
Madhura Bhave ac91f14f05 Polish "Verify ssl key alias on server startup"
See gh-19202
2020-02-11 17:08:59 -08:00
cbono e351605962 Verify ssl key alias on server startup
See gh-19202
2020-02-11 17:04:31 -08:00
Madhura Bhave 3bdd91a119 Merge branch '2.1.x' into 2.2.x 2020-02-11 14:57:49 -08:00
Madhura Bhave 747eab020d Update copyright of changed files 2020-02-11 14:57:17 -08:00
Madhura Bhave d1c7699539 Merge branch '2.1.x' into 2.2.x
Closes gh-20129
2020-02-11 14:53:30 -08:00
Madhura Bhave 544dca7f1b Polish contribution
Along with surrounding map keys with dot from VCAP_SERVICES with `[ ]`,
this commit also does that for non-alphanumeric and `-` characters so that
they are not stripped off later.

See gh-18915
2020-02-11 14:50:55 -08:00
Hans Schulz 6828a15d31 Handle JSON keys containing a dot from CF environment as a single path segment
See gh-18915
2020-02-11 14:50:04 -08:00
Stephane Nicoll 8f06d819e4 Harmonize JMS connection factory bean names
This commit restores consistent naming for the auto-configured
connection factory.

Closes gh-19565
2020-02-11 16:23:56 +01:00
Stephane Nicoll d1f4a1821c Merge branch '2.1.x' into 2.2.x
Closes gh-20123
2020-02-11 14:26:57 +01:00
Stephane Nicoll b0aba9ed67 Document how to register a blocking health contributor with reactive
Closes gh-19707
2020-02-11 14:22:16 +01:00
Stephane Nicoll 765b2178d1 Document spring-boot.run.arguments behaviour with multiple arguments
Closes gh-19998
2020-02-11 13:39:10 +01:00
Stephane Nicoll a425cc1b46 Merge branch '2.1.x' into 2.2.x
Closes gh-20117
2020-02-11 10:30:19 +01:00
Ruslan Stelmachenko 5f7e1ac4f2 Remove unnecessary leading slash in changelog locations
See gh-19926
2020-02-11 10:14:49 +01:00
Stephane Nicoll 66809c6c1e Polish "Fix condition source in OnBeanCondition"
See gh-19948
2020-02-11 09:27:59 +01:00
Jorge Cordoba 547fc30ead Fix condition source in OnBeanCondition
See gh-19948
2020-02-11 09:10:07 +01:00
Madhura Bhave d485708f68 Fix 404 when composite contributor is added to a group
Fixes gh-19974
2020-02-10 17:09:01 -08:00
Stephane Nicoll 76c21571b4 Remove unnecessary dependency on sendgrid
Closes gh-20099
2020-02-08 09:11:03 +01:00
Stephane Nicoll ddb5cc3f99 Polish "Make Kubernetes detection slightly more efficient"
See gh-19002
2020-02-07 14:24:39 +01:00
med-amine.dahmen aee22bfb51 Make Kubernetes detection slightly more efficient
See gh-19002
2020-02-07 13:45:50 +01:00
Madhura Bhave acc453db4a Polish contribution
See gh-19999
2020-02-06 17:36:05 -08:00
cbono badc83d368 Add 'uris', 'address' and 'addresses' to keys to sanitize.
See gh-19999
2020-02-06 17:23:23 -08:00
Andy Wilkinson 45fd60337d Merge branch '2.1.x' into 2.2.x
Closes gh-20042
2020-02-05 14:07:05 +00:00
Andy Wilkinson b6a408ae77 Upgrade to Spring Asciidoctor Extensions 0.4.0.RELEASE
Closes gh-20041
2020-02-05 14:04:14 +00:00
Stephane Nicoll d85bdfb23c Fix checkstyle violation 2020-02-04 10:19:01 +01:00
Stephane Nicoll 10643b7702 Polish "Stop time web metrics when autotime is disabled"
See gh-19981
2020-02-04 10:03:08 +01:00
babjo e323e05eea Stop time web metrics when autotime is disabled
See gh-19981
2020-02-04 09:50:49 +01:00
Stephane Nicoll fa239a0628 Merge branch '2.1.x' into 2.2.x
Closes gh-20028
2020-02-04 09:18:22 +01:00
Stephane Nicoll 12b644d73c Polish contribution
See gh-19901
2020-02-04 09:03:55 +01:00
Dmytro Nosan aead3a7c44 Handle message of @ResponseStatus-annotated exception with WebFlux
See gh-19901
2020-02-04 09:03:45 +01:00
Stephane Nicoll 90e3d88793 Fix link to Spring Integration Graph documentation
Closes gh-20023
2020-02-03 17:30:37 +01:00
Johnny Lim 6ef288f45b Polish samples in doc
See gh-20004
2020-02-03 09:37:06 +01:00
Andy Wilkinson 7b0d1eaffc Test the Gradle Plugin against Gradle 6.1.1
Closes gh-19912
2020-01-30 15:12:30 +00:00
Andy Wilkinson a37c170376 Try to make CouchbaseAutoConfigurationIntegrationTests less flakey
Closes gh-19932
2020-01-30 15:10:13 +00:00
Johnny Lim f3aed11714 Update test name in WebFluxTagsTests
See gh-19976
2020-01-28 16:59:43 -08:00
Andy Wilkinson 553311c690 Merge branch '2.1.x' into 2.2.x
Closes gh-19970
2020-01-28 17:15:57 +00:00
Andy Wilkinson 140f5e7baf Unwraper handler to find ContextHandler when logging context path
Previously, only the top-level handlers were examined to find the
ContextHandlers and log the context path. If those handlers had
been wrapped, this prevented the ContextHandlers from being found
and an empty string was always logged.

When finding the context path, this commit unwraps the handler held
by a HandlerWrapper until the ContextHandler is found.

Fixes gh-19969
2020-01-28 17:01:11 +00:00
Stephane Nicoll b420bdb3ac Merge branch '2.1.x' into 2.2.x
Closes gh-19965
2020-01-28 14:43:30 +01:00
dreis2211 db2bacc62a Fix Gradle plugin documentation links
See gh-19961
2020-01-28 14:41:05 +01:00