Commit Graph

12934 Commits

Author SHA1 Message Date
Andy Wilkinson
04e441f468 Add a config prop for the embedded database connection
Previously, the embedded database connection that would be used
could only be controlled via the classpath. If multiple embedded
database dependencies were present, it wasn't possible to control
the one that the auto-configured would use. It also wasn't possible
to disable auto-configuration of an embedded database.

This commit introduces a new configuration property,
spring.datasource.embedded-database-connection. It can be set to
one of the values of the EmbeddedDatabaseConnection enum to control
the auto-configuration of an embedded database. Setting it to none
will disable the auto-configuration and ensure that an external
database is used instead.

Closes gh-23412
2021-04-13 12:48:46 +01:00
Andy Wilkinson
059c4fbd43 Test JettyReactiveWebServerFactory against Jetty 10
Closes gh-26039
2021-04-13 12:18:29 +01:00
Andy Wilkinson
252d4e98c5 Test that HTTP/1.1 still works when HTTP/2 is enabled
See gh-25856
2021-04-13 11:19:44 +01:00
Andy Wilkinson
74b91b78fe Temporarily disable h2c tests with Jetty 10
Closes gh-26038
2021-04-13 10:25:18 +01:00
Stephane Nicoll
b779c430e0 Upgrade to Spring Security 5.5.0-RC1
Closes gh-25931
2021-04-13 08:34:26 +02:00
Stephane Nicoll
7370afc326 Upgrade to Reactor 2020.0.6
Closes gh-25925
2021-04-13 08:29:25 +02:00
Phillip Webb
89213c7d39 Switch default MVC path matching strategy
Change the default `spring.mvc.pathmatch.matching-strategy` to
`PATH_PATTERN_PARSER`.

Closes gh-24805
2021-04-12 18:43:08 -07:00
Scott Frederick
b0ee15e7cc Merge branch '2.4.x'
Closes gh-26032
2021-04-12 16:05:08 -05:00
Scott Frederick
91ee590fd4 Remove @Persistent from MongoDB entity scanning
This commit removes `org.springframework.data.annotation.Persistent`
from the annotation types used for MongoDB entity scanning to align
with Spring Data MongoDB.

Fixes gh-25797
2021-04-12 16:04:38 -05:00
Andy Wilkinson
713c0fce7c Auto-configure H2C when HTTP/2 is enabled and SSL is disabled 2021-04-12 17:16:14 +01:00
Stephane Nicoll
1f71c8241c Merge branch '2.4.x'
Closes gh-26030
2021-04-12 16:55:37 +02:00
Stephane Nicoll
305bcb10ae Merge branch '2.3.x' into 2.4.x
Closes gh-26029
2021-04-12 16:55:26 +02:00
Stephane Nicoll
d96fcf320c Harmonize Elasticsearch converter auto-configuration
This commit harmonizes our auto-configuration so that default converters
are configured the same way ElasticsearchConfigurationSupport does.

Closes gh-25087
2021-04-12 16:51:57 +02:00
Andy Wilkinson
c4750fd0ff Support Gradle 7 and raise minimum supported version to 6.8
Closes gh-26026
2021-04-12 15:20:32 +01:00
Stephane Nicoll
8506a00071 Merge branch '2.4.x'
Closes gh-26025
2021-04-12 14:19:53 +02:00
Stephane Nicoll
fd6ad5b889 Merge branch '2.3.x' into 2.4.x
Closes gh-26024
2021-04-12 14:19:41 +02:00
Stephane Nicoll
7286c33f53 Document default behaviour of DataJpaTest#showSql
Closes gh-25843
2021-04-12 14:14:36 +02:00
Andy Wilkinson
eda9fe4952 Fix group IDs of HttpCore v4 and v5 dependency management
See gh-26004
2021-04-12 10:41:57 +01:00
Andy Wilkinson
ba2583900f Provide auto-configuration for using Apache HttpClient 5 with WebClient
Closes gh-26004
2021-04-12 08:44:27 +01:00
Stephane Nicoll
b2d167c186 Upgrade to Undertow 2.2.7.Final
Closes gh-26020
2021-04-12 08:57:57 +02:00
Stephane Nicoll
d9d051053d Upgrade to Sun Mail 1.6.7
Closes gh-26018
2021-04-12 08:57:54 +02:00
Stephane Nicoll
cddc0b625b Upgrade to Netty tcNative 2.0.38.Final
Closes gh-26017
2021-04-12 08:57:52 +02:00
Stephane Nicoll
df9b17104c Upgrade to Netty 4.1.63.Final
Closes gh-26016
2021-04-12 08:57:51 +02:00
Stephane Nicoll
50922949bd Upgrade to MIMEPull 1.9.14
Closes gh-26015
2021-04-12 08:57:49 +02:00
Stephane Nicoll
8097d22821 Upgrade to Lombok 1.18.20
Closes gh-26014
2021-04-12 08:57:48 +02:00
Stephane Nicoll
20f47b3149 Upgrade to Jetty 9.4.39.v20210325
Closes gh-26012
2021-04-12 08:57:45 +02:00
Stephane Nicoll
3906719382 Upgrade to Jetty Reactive HTTPClient 1.1.7
Closes gh-26011
2021-04-12 08:57:43 +02:00
Stephane Nicoll
1bc2c3658a Upgrade to Jaybird 3.0.11
Closes gh-26010
2021-04-12 08:57:42 +02:00
Stephane Nicoll
6b98be6db9 Upgrade to Jakarta Mail 1.6.7
Closes gh-26009
2021-04-12 08:57:40 +02:00
Stephane Nicoll
4d8382b25c Upgrade to Hibernate 5.4.30.Final
Closes gh-26008
2021-04-12 08:57:38 +02:00
Stephane Nicoll
3f2cebd545 Upgrade to Dropwizard Metrics 4.1.19
Closes gh-26007
2021-04-12 08:57:37 +02:00
Stephane Nicoll
2d6c6282d9 Upgrade to AppEngine SDK 1.9.88
Closes gh-26006
2021-04-12 08:57:33 +02:00
dreis2211
ea55ca9971 Remove unused method parameters
See gh-25986
2021-04-12 08:40:13 +02:00
izeye
4987880afa Polish
See gh-25980
2021-04-12 08:37:02 +02:00
Andy Wilkinson
0a8da4fd7d Polish "Provide health for an AbstractRoutingDataSource's resolved targets"
See gh-25708
2021-04-10 11:12:10 +01:00
bono007
13600c3367 Provide health for an AbstractRoutingDataSource's resolved targets
See gh-25708
2021-04-10 11:12:01 +01:00
Stephane Nicoll
710a905187 Start building against Spring Integration 5.5.0-RC1 snapshots
See gh-25929
2021-04-10 11:00:47 +02:00
dreis2211
db79fe8b2c Test our Gradle Plugin against Gradle 7.0
See gh-25997
2021-04-10 10:48:44 +02:00
Phillip Webb
f03f74ff0a Add Spring Data Repository metrics support
Add support for Spring Data Repository metrics by integrating with
Spring Data's new `RepositoryMethodInvocationListener` support.

Closes gh-22217
2021-04-09 23:49:25 -07:00
Phillip Webb
1893f935b4 Rework 'Supported Metrics' reference documentation
Rework the 'Supported Metrics' documentation to improve consistency
access subsections. Details about the `@Timer` annotation have been
pulled into a new section so that they can be referenced rather than
repeated.

See gh-22217
2021-04-09 23:46:33 -07:00
Phillip Webb
9f16491535 Rework @Timer annotation support
Rework existing `@Timer` annotation support to remove duplicate code
and offer general purpose utilities that can be used in future metrics
support.

See gh-23112
See gh-22217
2021-04-09 23:39:39 -07:00
Phillip Webb
3d7e5e3abd Polish 2021-04-09 23:38:32 -07:00
Phillip Webb
efba7076ba Fix title case capitalization 2021-04-09 23:38:12 -07:00
Scott Frederick
5bc35e8f44 Extract XML example from Maven plugin adoc file
See gh-25993
2021-04-09 14:22:51 -05:00
Scott Frederick
e27d4848dd Merge branch '2.4.x'
Closes gh-25993
2021-04-09 14:12:36 -05:00
Scott Frederick
6a7f1f1c56 Merge branch '2.3.x' into 2.4.x
Closes gh-25992
2021-04-09 14:11:47 -05:00
Scott Frederick
e19443093d Document runtime JVM configuration when building an image
Fixes gh-21478
2021-04-09 14:06:24 -05:00
Stephane Nicoll
c1ebe40c56 Polish "Add reference to Bitcoin Spring Boot starter"
See gh-25943
2021-04-09 16:09:01 +02:00
Thebora Kompanioni
f7c5ece35e Add reference to Bitcoin Spring Boot starter
See gh-25943
2021-04-09 16:09:01 +02:00
Andy Wilkinson
048463742d Merge branch '2.4.x'
See gh-25985
2021-04-09 15:06:13 +01:00