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>
6 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>
6 years ago
Andy Wilkinson
2059ff6c39
Upgrade to Reactor Dysprosium-SR5
...
Closes gh-20200
6 years ago
Andy Wilkinson
cb2e3bd076
Upgrade to Reactor Californium-SR16
...
Closes gh-20196
6 years ago
Stephane Nicoll
3f0a5a5482
Upgrade to Maven Shade Plugin 3.2.2
...
Closes gh-20288
6 years ago
Stephane Nicoll
4a64426218
Upgrade to Spring Session Bom Corn-SR1
...
Closes gh-20287
6 years ago
Stephane Nicoll
a3d4367ccc
Upgrade to Spring Security 5.2.2.RELEASE
...
Closes gh-20286
6 years ago
Stephane Nicoll
412aee65ea
Upgrade to Lombok 1.18.12
...
Closes gh-20285
6 years ago
Stephane Nicoll
fb0d14baa8
Upgrade to Postgresql 42.2.10
...
Closes gh-20284
6 years ago
Stephane Nicoll
6a3a32460f
Upgrade to Neo4j Ogm 3.2.8
...
Closes gh-20283
6 years ago
Stephane Nicoll
85139c0321
Upgrade to Liquibase 3.8.6
...
Closes gh-20282
6 years ago
Stephane Nicoll
4b3273440f
Upgrade to Jooq 3.12.4
...
Closes gh-20281
6 years ago
Stephane Nicoll
e56a4dfc87
Upgrade to Infinispan 9.4.18.Final
...
Closes gh-20280
6 years ago
Stephane Nicoll
7b389f04ad
Upgrade to Hibernate 5.4.12.Final
...
Closes gh-20279
6 years ago
Stephane Nicoll
a99f7910bc
Upgrade to Jetty 9.4.26.v20200117
...
Closes gh-20278
6 years ago
Stephane Nicoll
402eb87847
Upgrade to Tomcat 9.0.31
...
Closes gh-20277
6 years ago
Stephane Nicoll
1909bac5c8
Upgrade to Johnzon Jsonb 1.2.3
...
Closes gh-20276
6 years ago
Stephane Nicoll
3447936823
Upgrade to Httpclient 4.5.11
...
Closes gh-20275
6 years ago
Stephane Nicoll
15134d92f5
Upgrade to Byte Buddy 1.10.8
...
Closes gh-20274
6 years ago
Stephane Nicoll
53389ec61b
Upgrade to Rsocket 1.0.0-RC6
...
Closes gh-20273
6 years ago
Stephane Nicoll
bcd0a7bbb3
Upgrade to Netty Tcnative 2.0.29.Final
...
Closes gh-20272
6 years ago
Stephane Nicoll
3c59f08796
Upgrade to Micrometer 1.3.5
...
Closes gh-20271
6 years ago
Stephane Nicoll
62287739e7
Upgrade to Lettuce 5.2.2.RELEASE
...
Closes gh-20270
6 years ago
Stephane Nicoll
1858219d1d
Upgrade to Jakarta Activation 1.2.2
...
Closes gh-20269
6 years ago
Stephane Nicoll
a7f3b801ae
Upgrade to Sendgrid 4.4.5
...
Closes gh-20268
6 years ago
Stephane Nicoll
d684277f29
Upgrade to Hazelcast 3.12.6
...
Closes gh-20267
6 years ago
Stephane Nicoll
e5baa1c55a
Upgrade to Appengine Sdk 1.9.78
...
Closes gh-20266
6 years ago
Stephane Nicoll
26d30f5019
Upgrade to Caffeine 2.8.1
...
Closes gh-20265
6 years ago
Stephane Nicoll
0b1b05f129
Upgrade to Jackson 2.10.2.20200130
...
Closes gh-20264
6 years ago
Stephane Nicoll
021575a335
Upgrade to Couchbase Client 2.7.12
...
Closes gh-20263
6 years ago
Stephane Nicoll
fb97f075b9
Upgrade to Maven Shade Plugin 3.2.2
...
Closes gh-20260
6 years ago
Stephane Nicoll
29d7714a2b
Upgrade to Spring Session Bom Bean-SR9
...
Closes gh-20259
6 years ago
Stephane Nicoll
eecd8e1669
Upgrade to Spring Security 5.1.8.RELEASE
...
Closes gh-20258
6 years ago
Stephane Nicoll
3f538c2b4a
Upgrade to Lombok 1.18.12
...
Closes gh-20257
6 years ago
Stephane Nicoll
32fdc42ce1
Upgrade to Postgresql 42.2.10
...
Closes gh-20256
6 years ago
Stephane Nicoll
1e5b548501
Upgrade to Infinispan 9.4.18.Final
...
Closes gh-20255
6 years ago
Stephane Nicoll
7b8d3c284d
Upgrade to Jetty 9.4.26.v20200117
...
Closes gh-20254
6 years ago
Stephane Nicoll
ac41bcbb66
Upgrade to Tomcat 9.0.31
...
Closes gh-20253
6 years ago
Stephane Nicoll
2b033c532b
Upgrade to Httpclient 4.5.11
...
Closes gh-20252
6 years ago
Stephane Nicoll
b3b7d80374
Upgrade to Dependency Management Plugin 1.0.9.RELEASE
...
Closes gh-20251
6 years ago
Stephane Nicoll
b5a20492bd
Upgrade to Netty Tcnative 2.0.29.Final
...
Closes gh-20250
6 years ago
Stephane Nicoll
cd99b838f7
Upgrade to Hazelcast 3.11.7
...
Closes gh-20249
6 years ago
Stephane Nicoll
4b9070d9b5
Upgrade to Appengine Sdk 1.9.78
...
Closes gh-20248
6 years ago
Stephane Nicoll
f4a3d7ff3a
Upgrade to Couchbase Client 2.7.12
...
Closes gh-20247
6 years ago
Stephane Nicoll
e7c265bc3d
Start building against Spring Data Neumann M4 snapshots
...
See gh-20241
6 years ago
Stephane Nicoll
a039f6328d
Start building against Spring Framework 5.2.4 snapshots
...
See gh-20240
6 years ago
Stephane Nicoll
cc3eac898a
Start building against Spring Kafka 2.3.6 snapshots
...
See gh-20203
6 years ago
Stephane Nicoll
effa2a29f2
Start building against Spring AMQP 2.2.5 snapshots
...
See gh-20106
6 years ago
Stephane Nicoll
942cd85d76
Start building against Spring Integration 5.2.4 snapshots
...
See gh-20202
6 years ago
Stephane Nicoll
2095295c4c
Start building against Spring Data Moore SR5 snapshots
...
See gh-20201
6 years ago