Commit Graph

9872 Commits

Author SHA1 Message Date
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
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
2020-02-25 15:11:42 -06:00
Stephane Nicoll
7d7b1e13a2 Upgrade to Spring Framework 5.2.4.RELEASE
Closes gh-20240
2020-02-25 13:52:56 -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
Stephane Nicoll
ea66940be1 Document R2DBC support
Closes gh-19988

Co-authored-by: Mark Paluch <mpaluch@pivotal.io>
2020-02-25 09:29:36 -05:00
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>
2020-02-25 09:22:57 -05:00
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>
2020-02-25 09:22:31 -05:00
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>
2020-02-25 09:21:47 -05:00
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>
2020-02-25 09:14:08 -05:00
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>
2020-02-25 09:12:28 -05:00
Stephane Nicoll
4c2ff9c314 Merge branch '2.2.x'
Closes gh-20315
2020-02-25 09:00:30 -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
db1d923ad8 Merge branch '2.2.x' 2020-02-24 15:04:35 -08: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
65c6f32428 Merge branch '2.2.x'
Closes gh-20307
2020-02-24 15:02:14 -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
dreis2211
e66758d3d0 Explicitly set java home in CommandLineInvoker
See gh-20242
2020-02-24 08:48:35 +01:00
Brian Clozel
e73ee7b3fe Merge branch '2.2.x'
Closes gh-20293
2020-02-21 18:48:54 +01:00
Brian Clozel
11b9862064 Revert "Clear ProducesRequestCondition cache attribute"
Closes gh-20292
2020-02-21 17:38:43 +01:00
Brian Clozel
ab72cc8fdb Revert "Add actuator specific ObjectMapper"
See gh-12951
See gh-20291
2020-02-21 17:16:24 +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