Commit Graph

8496 Commits (f5e1bad900b2de0486e74820d9e5c079d717b3c2)

Author SHA1 Message Date
Andy Wilkinson 3251c9d2b0 Upgrade to Hibernate 5.4.12.Final
Closes gh-20447
5 years ago
Andy Wilkinson 2a8136b56f Upgrade to FreeMarker 2.3.30
Closes gh-20446
5 years ago
Andy Wilkinson d2ebd77861 Upgrade to Flyway 6.3.0
Closes gh-20445
5 years ago
Andy Wilkinson 0cd8197ebf Upgrade to Couchbase Client 2.7.13
Closes gh-20444
5 years ago
Andy Wilkinson 7971bd50ba Upgrade to Cassandra Driver 4.5.0
Closes gh-20443
5 years ago
Andy Wilkinson 707fb929a2 Upgrade to Byte Buddy 1.10.8
Closes gh-20442
5 years ago
Andy Wilkinson 19cc388861 Test Tomcat's handling of a request on an idle connection
See gh-4657
5 years ago
Andy Wilkinson b8cb61bbe0 Align embedded Jetty's graceful shutdown behaviour with standalone
Standalone Jetty will, by default, include a Connection: close header
in all responses once graceful shutdown has begun. Previously, the
way in which we were shutting Jetty down did not cause this to happen.

This commit updates JettyGracefulShutdown to shut down each connector.
This causes Jetty to send the Connection: close header, aligning its
behaviour more closely with what it does when used standalone. The
tests have also been updated to verify this behaviour and to ensure
that the correct port is used for requests even once the connector is
no longer bound and the web server no longer knows its ephemeral port.

See gh-4657
5 years ago
Andy Wilkinson 5bb66e1b85 Try to make reactive Jetty connect after shutdown test more robust
See gh-4657
5 years ago
Madhura Bhave fd50a6755f Merge branch '2.2.x'
Closes gh-20433
5 years ago
Madhura Bhave a27e145f03 Merge branch '2.1.x' into 2.2.x
Closes gh-20432
5 years ago
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
5 years ago
Andy Wilkinson 6ec3865ed0 Polish spelling of elapsed
See gh-4657
5 years ago
Andy Wilkinson da06b38117 Polish
See gh-4657
5 years ago
Andy Wilkinson 308e1d3675 Add support for gracefully shutting down the web server
This commit adds support for gracefully shutting down the embedded
web server. When a grace period is configured
(server.shutdown.grace-period), upon shutdown, the web server will no
longer permit new requests and will wait for up to the grace period
for active requests to complete.

Closes gh-4657
5 years ago
dreis2211 9481f2c68d Remove hardcoded version from VersionOverridingElasticsearchContainer
See gh-20428
5 years ago
Stephane Nicoll f1f662e745 Revert Spring Data Couchbase version override 5 years ago
wycm 916a4743bb Polish
See gh-20419
5 years ago
Stephane Nicoll 278f769f80 Merge branch '2.2.x' 5 years ago
Stephane Nicoll 1fdb08300b Polish 5 years ago
dreis2211 6036df5f33 Upgrade to Elasticsearch 7.6.1
See gh-20423
5 years ago
dreis2211 361739ea3c Upgrade to Testcontainers 1.13.0
See gh-20416
5 years ago
dreis2211 53e8e49552 Fix JarFileTests for multi-release JARs on JDK14
See gh-20180
5 years ago
Stephane Nicoll e5394ceac2 Polish "Handle new Annotation.toString() behaviour in JDK 14"
See gh-20180
5 years ago
dreis2211 e22aca85e9 Handle new Annotation.toString() behaviour in JDK 14
See gh-20180
5 years ago
dreis2211 74ed37efbf Upgrade to Groovy 2.5.10
See gh-20411
5 years ago
Stephane Nicoll 5b92151dcb Update copyright of changed file
See gh-20407
5 years ago
wycm 67c2393a6a Polish
See gh-20407
5 years ago
Scott Frederick 185f644877 Remove the body from actuator 404 responses
When a request to the /actuator/env/{toMatch} endpoint does not match a
property, a response status 404 was being returned along with a body
containing the existing property sources. This commit removes the body
from the response to be more consistent with a typical 404 response.

Fixes gh-20314
5 years ago
Andy Wilkinson c668798923 Pin SD Couchbase to 4.0.0.M3 to avoid latest breaking changes 5 years ago
Stephane Nicoll fa8a09d46d Merge branch '2.2.x'
Closes gh-20395
5 years ago
dreis2211 f08a9db984 Fix some deprecations
See gh-20388
5 years ago
Stephane Nicoll 1333af4dcf Polish "Refine if statement logic"
See gh-20390
5 years ago
gir1yaphets 9480e2d605 Refine if statement logic
See gh-20390
5 years ago
Johnny Lim bd08b4d91c Polish DataSourceHealthIndicator
See gh-20367
5 years ago
Stephane Nicoll 51c29229d3 Polish "Improve details of neo4h health indicator"
See gh-20356
5 years ago
Said BOUDJELDA b09d5d27e0 Improve details of neo4h health indicator
This commit changes the neo4j health indicator to provide the version
and edition of the neo4j database.

See gh-20356
5 years ago
Stephane Nicoll 89e5c285e5 Merge branch '2.2.x'
Closes gh-20387
5 years ago
Johnny Lim 1721aeccb0 Use ServerHttpResponse.getRawStatusCode() in WebFluxTags
See gh-19987
5 years ago
Stephane Nicoll 89805fdb61 Fix checkstyle violations 5 years ago
dreis2211 daa3855fc8 Test the Gradle Plugin against Gradle 6.2.2
See gh-20385
5 years ago
Stephane Nicoll aa4dad1d73 Polish "Allow Embedded directory to be used without spring-data-ldap"
See gh-20223
5 years ago
Frank Schmager a92c57c07d Allow Embedded directory to be used without spring-data-ldap
See gh-20223
5 years ago
Stephane Nicoll 2d5a55fb0d Bind ConnectionPool beans that are exposed as ConnectionFactory
This commit relaxes the class condition to ConnectionFactory, checking
if the connection factory is a connection pool and bind its metrics to
the registry accordingly.

Closes gh-20349
5 years ago
dreis2211 9588188800 Use isEmpty() where possible
See gh-20370
5 years ago
Brian Clozel ea45d8ef25 Fix "spring.integration.rsocket" canonical name
See gh-18834
5 years ago
Artem Bilan 3967e76b9b Auto-Configure RSocket support for Spring Integration
This commit adds a new auto-configuration for RSocket support in Spring
Integration.

Given an application with `spring-messaging`, `spring-integration-rsocket`
and RSocket dependencies, developers are now able to leverage Spring
Integration features with RSocket.

It is now possible to configure an RSocket server with
`"spring.rsocket.server.*"` properties and let it use
`IntegrationRSocketEndpoint` or `RSocketOutboundGateway` components to
handle incoming RSocket messages. This infrastructure can handle Spring
Integration RSocket channel adapters and `@MessageMapping` handlers
(given `"spring.integration.rsocket.server.message-mapping-enabled"`is
configured.

If the `"spring.integration.rsocket.client.host"` and
`"spring.integration.rsocket.client.port"` (for TCP protocol), or
`"spring.integration.rsocket.client.uri"`  (for WebSocket) is configured
then a `ClientRSocketConnector` will be configured accordingly.

Closes gh-18834

Co-authored-by: Brian Clozel <bclozel@pivotal.io>
5 years ago
Stephane Nicoll 925756dae1 Polish "Add descriptions for data source pool metrics"
See gh-20354
5 years ago
Johnny Lim 21a0b0544a Add descriptions for data source pool metrics
See gh-20354
5 years ago
Johnny Lim 98738d22f4 Polish tests
See gh-20318
5 years ago
Scott Frederick 296a13a479 Fix unit test case formatting 5 years ago
Scott Frederick b00ed5b143 Remove unused imports 5 years ago
Scott Frederick ce03f501c4 Merge pull request #20297 from mikesmithson 5 years ago
Scott Frederick ada0741e10 Polish Docker client exception handling 5 years ago
Mike Smithson 6f095d6fec Improve error message from image building
Translate IOException to DockerException for a more meaningful error
message when the Docker daemon is not available.

Fixes gh-20151
5 years ago
Madhura Bhave 7634bfb179 Merge branch '2.2.x'
Closes gh-20340
5 years ago
dreis2211 4eaaf88b2d Remove redundant code
See gh-20339
5 years ago
Madhura Bhave 5bf1f7641b Merge branch '2.2.x' 5 years ago
Madhura Bhave ea8f2a7276 Fix tests following changes to EndpointRequest
See gh-20329
5 years ago
Madhura Bhave 250493d681 Merge branch '2.2.x'
Closes gh-20331
5 years ago
Madhura Bhave cdae79dad9 Cache management port type in EndpointRequestMatcher
Closes gh-20329
5 years ago
Scott Frederick e60a7ea8d6 Fix Maven plugins tests on Windows
This commit fixes problems with file path separators and command
line argument quoting in Maven plug integration tests when run on
Windows.

Fixes gh-20244
5 years ago
Stephane Nicoll 421fe77b04 Upgrade to Neo4j Ogm 3.2.9
Closes gh-20330
5 years ago
Stephane Nicoll ef67ad7a35 Upgrade to Liquibase 3.8.7
Closes gh-20328
5 years ago
Stephane Nicoll fa6f8f80b5 Upgrade to Rxjava2 2.2.18
Closes gh-20327
5 years ago
Stephane Nicoll a838537487 Upgrade to Dropwizard Metrics 4.1.3
Closes gh-20326
5 years ago
Stephane Nicoll 398e68393e Upgrade to Okhttp3 3.14.7
Closes gh-20325
5 years ago
Stephane Nicoll 560bf28e85 Upgrade to Spring Kafka 2.3.6.RELEASE
Closes gh-20203
5 years ago
Stephane Nicoll 080d549cb2 Upgrade to Spring Integration 5.2.4.RELEASE
Closes gh-20202
5 years ago
Stephane Nicoll 3c7ed819fa Upgrade to Spring AMQP 2.2.5.RELEASE
Closes gh-20106
5 years ago
Stephane Nicoll c0bac905e1 Revert "Start building against Spring HATEOAS 1.0.4 snapshots"
This reverts commit 34f33e8b0d.

See gh-20232
5 years ago
Stephane Nicoll 0c5973f688 Upgrade to Neo4j Ogm 3.1.17
Closes gh-20322
5 years ago
Stephane Nicoll eb33be8849 Upgrade to Rxjava2 2.2.18
Closes gh-20321
5 years ago
Stephane Nicoll 5db92e3d30 Upgrade to Jackson 2.9.10.20200223
Closes gh-20320
5 years ago
Stephane Nicoll cd456c2e41 Upgrade to Spring Data Moore-SR5
Closes gh-20201
5 years ago
Stephane Nicoll de3f72f25b Upgrade to Spring Data Lovelace-SR16
Closes gh-20198
5 years ago
Scott Frederick 509a1f1d41 Configure buildpack to use target Java version
With this commit, the Maven `spring-boot:build-image` goal and the
Gradle `bootBuildImage` task will configure the OpenJDK buildpack
to use the same JRE version as the project's target version,
provided the buildpack Java version is not explicitly set in the
build configuration.

Fixes gh-20172
5 years ago
Stephane Nicoll 7d7b1e13a2 Upgrade to Spring Framework 5.2.4.RELEASE
Closes gh-20240
5 years ago
Stephane Nicoll 4cd4e510e1 Upgrade to Spring Framework 5.2.4.RELEASE
Cloes gh-20199
5 years ago
Stephane Nicoll eaafe50880 Upgrade to Spring Framework 5.1.14
Closes gh-20197
5 years ago
Stephane Nicoll ea66940be1 Document R2DBC support
Closes gh-19988

Co-authored-by: Mark Paluch <mpaluch@pivotal.io>
5 years ago
Stephane Nicoll 45e6058761 Add R2BC connection pool metrics
This commit adds metrics support for `ConnectionPool` beans.

See gh-19988

Co-authored-by: Mark Paluch <mpaluch@pivotal.io>
Co-authored-by: Tadaya Tsuyukubo <tadaya@ttddyy.net>
5 years ago
Stephane Nicoll bee7302fc7 Add R2BC connection factory health check
This commit adds an health indicator for R2DBC. If a validation query is
provided, it is used to validate the state of the database. If not, a
check of the connection is issued.

See gh-19988

Co-authored-by: Mark Paluch <mpaluch@pivotal.io>
5 years ago
Stephane Nicoll 6817856e7d Add test slice for Spring Data R2DBC
This commit adds a test slice for Spring Data R2DBC. When
`DataR2dbcTest` is added on a test, only Spring Data R2DBC repositories
and the infrastructure that they need is auto-configured.

Contrary to the JDBC counterpart, the `ConnectionFactory` is not swapped
by an embedded database.

See gh-19988

Co-authored-by: Mark Paluch <mpaluch@pivotal.io>
5 years ago
Stephane Nicoll 19fbac7d59 Add auto-configuration for Spring Data R2DBC
This commit adds auto-configuration support for Spring Data R2DBC. If a
`ConnectionFactory` and Spring Data are available, scanning of reactive
repositories is enabled.

This commit also adds a starter to bring R2DBC and the necessary Spring
Data libraries.

See gh-19988

Co-authored-by: Mark Paluch <mpaluch@pivotal.io>
Co-authored-by: Oliver Drotbohm <odrotbohm@pivotal.io>
5 years ago
Stephane Nicoll 5c174feb65 Add auto-configuration for R2DBC's ConnectionFactory
This commit adds auto-configuration for R2DBC. If R2DBC is on the
classpath, a `ConnectionFactory` is created similarly to the algorithm
used to create a `DataSource`.

If an url is specified, it is used to determine the R2DBC driver and
database location. If not, an embedded database is started (with only
support of H2 via r2dbc-h2). If none of those succeed, an exception is
thrown that is handled by a dedicated FailureAnalyzer.

To clearly separate reactive from imperative access, a `DataSource` is
not auto-configured if a `ConnectionFactory` is present. This makes sure
that any auto-configuration that relies on the presence of a
`DataSource` backs off.

There is no dedicated database initialization at the moment but it is
possible to configure flyway or liquibase to create a local `DataSource`
for the duration of the migration. Alternatively, if Spring Data R2DBC
is on the classpath, a `ResourceDatabasePopulator` bean can be defined
with the scripts to execute on startup.

See gh-19988

Co-authored-by: Mark Paluch <mpaluch@pivotal.io>
5 years ago
Stephane Nicoll 4c2ff9c314 Merge branch '2.2.x'
Closes gh-20315
5 years ago
Yoo In Keun ec20246415 Fix typos in documentation
See gh-20313
5 years ago
dreis2211 442733600e Test the Gradle plugin against Gradle 6.2.1
See gh-20310
5 years ago
Andy Wilkinson 2059ff6c39 Upgrade to Reactor Dysprosium-SR5
Closes gh-20200
5 years ago
Andy Wilkinson cb2e3bd076 Upgrade to Reactor Californium-SR16
Closes gh-20196
5 years ago
Madhura Bhave db1d923ad8 Merge branch '2.2.x' 5 years ago
Madhura Bhave 42bb56c1ba Merge branch '2.1.x' into 2.2.x 5 years ago
Madhura Bhave 88ee50601d Update copyright of changed files 5 years ago
Madhura Bhave 65c6f32428 Merge branch '2.2.x'
Closes gh-20307
5 years ago
Madhura Bhave 368a77f355 Merge branch '2.1.x' into 2.2.x
Closes gh-20306
5 years ago
Madhura Bhave 0957168626 Binding to collection of custom objects should not fail with unbound error
Fixes gh-20134
5 years ago
dreis2211 e66758d3d0 Explicitly set java home in CommandLineInvoker
See gh-20242
5 years ago
Brian Clozel e73ee7b3fe Merge branch '2.2.x'
Closes gh-20293
5 years ago
Brian Clozel 11b9862064 Revert "Clear ProducesRequestCondition cache attribute"
Closes gh-20292
5 years ago
Brian Clozel ab72cc8fdb Revert "Add actuator specific ObjectMapper"
See gh-12951
See gh-20291
5 years ago
Stephane Nicoll 3f0a5a5482 Upgrade to Maven Shade Plugin 3.2.2
Closes gh-20288
5 years ago
Stephane Nicoll 4a64426218 Upgrade to Spring Session Bom Corn-SR1
Closes gh-20287
5 years ago
Stephane Nicoll a3d4367ccc Upgrade to Spring Security 5.2.2.RELEASE
Closes gh-20286
5 years ago
Stephane Nicoll 412aee65ea Upgrade to Lombok 1.18.12
Closes gh-20285
5 years ago
Stephane Nicoll fb0d14baa8 Upgrade to Postgresql 42.2.10
Closes gh-20284
5 years ago
Stephane Nicoll 6a3a32460f Upgrade to Neo4j Ogm 3.2.8
Closes gh-20283
5 years ago
Stephane Nicoll 85139c0321 Upgrade to Liquibase 3.8.6
Closes gh-20282
5 years ago
Stephane Nicoll 4b3273440f Upgrade to Jooq 3.12.4
Closes gh-20281
5 years ago
Stephane Nicoll e56a4dfc87 Upgrade to Infinispan 9.4.18.Final
Closes gh-20280
5 years ago
Stephane Nicoll 7b389f04ad Upgrade to Hibernate 5.4.12.Final
Closes gh-20279
5 years ago
Stephane Nicoll a99f7910bc Upgrade to Jetty 9.4.26.v20200117
Closes gh-20278
5 years ago
Stephane Nicoll 402eb87847 Upgrade to Tomcat 9.0.31
Closes gh-20277
5 years ago
Stephane Nicoll 1909bac5c8 Upgrade to Johnzon Jsonb 1.2.3
Closes gh-20276
5 years ago
Stephane Nicoll 3447936823 Upgrade to Httpclient 4.5.11
Closes gh-20275
5 years ago
Stephane Nicoll 15134d92f5 Upgrade to Byte Buddy 1.10.8
Closes gh-20274
5 years ago
Stephane Nicoll 53389ec61b Upgrade to Rsocket 1.0.0-RC6
Closes gh-20273
5 years ago
Stephane Nicoll bcd0a7bbb3 Upgrade to Netty Tcnative 2.0.29.Final
Closes gh-20272
5 years ago
Stephane Nicoll 3c59f08796 Upgrade to Micrometer 1.3.5
Closes gh-20271
5 years ago
Stephane Nicoll 62287739e7 Upgrade to Lettuce 5.2.2.RELEASE
Closes gh-20270
5 years ago
Stephane Nicoll 1858219d1d Upgrade to Jakarta Activation 1.2.2
Closes gh-20269
5 years ago
Stephane Nicoll a7f3b801ae Upgrade to Sendgrid 4.4.5
Closes gh-20268
5 years ago
Stephane Nicoll d684277f29 Upgrade to Hazelcast 3.12.6
Closes gh-20267
5 years ago
Stephane Nicoll e5baa1c55a Upgrade to Appengine Sdk 1.9.78
Closes gh-20266
5 years ago
Stephane Nicoll 26d30f5019 Upgrade to Caffeine 2.8.1
Closes gh-20265
5 years ago
Stephane Nicoll 0b1b05f129 Upgrade to Jackson 2.10.2.20200130
Closes gh-20264
5 years ago
Stephane Nicoll 021575a335 Upgrade to Couchbase Client 2.7.12
Closes gh-20263
5 years ago
Stephane Nicoll fb97f075b9 Upgrade to Maven Shade Plugin 3.2.2
Closes gh-20260
5 years ago
Stephane Nicoll 29d7714a2b Upgrade to Spring Session Bom Bean-SR9
Closes gh-20259
5 years ago
Stephane Nicoll eecd8e1669 Upgrade to Spring Security 5.1.8.RELEASE
Closes gh-20258
5 years ago
Stephane Nicoll 3f538c2b4a Upgrade to Lombok 1.18.12
Closes gh-20257
5 years ago
Stephane Nicoll 32fdc42ce1 Upgrade to Postgresql 42.2.10
Closes gh-20256
5 years ago
Stephane Nicoll 1e5b548501 Upgrade to Infinispan 9.4.18.Final
Closes gh-20255
5 years ago
Stephane Nicoll 7b8d3c284d Upgrade to Jetty 9.4.26.v20200117
Closes gh-20254
5 years ago
Stephane Nicoll ac41bcbb66 Upgrade to Tomcat 9.0.31
Closes gh-20253
5 years ago
Stephane Nicoll 2b033c532b Upgrade to Httpclient 4.5.11
Closes gh-20252
5 years ago
Stephane Nicoll b3b7d80374 Upgrade to Dependency Management Plugin 1.0.9.RELEASE
Closes gh-20251
5 years ago
Stephane Nicoll b5a20492bd Upgrade to Netty Tcnative 2.0.29.Final
Closes gh-20250
5 years ago
Stephane Nicoll cd99b838f7 Upgrade to Hazelcast 3.11.7
Closes gh-20249
5 years ago
Stephane Nicoll 4b9070d9b5 Upgrade to Appengine Sdk 1.9.78
Closes gh-20248
5 years ago
Stephane Nicoll f4a3d7ff3a Upgrade to Couchbase Client 2.7.12
Closes gh-20247
5 years ago
Stephane Nicoll c0c097117a Polish
See gh-20244
5 years ago
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
5 years ago
Madhura Bhave 95f8f83833 Remove spring security dependencies from Rsocket starter
Fixes gh-20243
5 years ago
Scott Frederick 23e781033c Merge branch '2.2.x'
Closes gh-20244
5 years ago
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
5 years ago
Stephane Nicoll e7c265bc3d Start building against Spring Data Neumann M4 snapshots
See gh-20241
5 years ago
Stephane Nicoll a039f6328d Start building against Spring Framework 5.2.4 snapshots
See gh-20240
5 years ago
Stephane Nicoll cc3eac898a Start building against Spring Kafka 2.3.6 snapshots
See gh-20203
5 years ago
Stephane Nicoll effa2a29f2 Start building against Spring AMQP 2.2.5 snapshots
See gh-20106
5 years ago