Andrey Kolchanov
097104584c
Remove unnecessary semicolon
...
See gh-24628
2021-01-05 08:15:32 +01:00
Madhura Bhave
9928d74a9e
Revert fix to enable cors for actuator endpoints
...
The fix causes a Jersey application to fail in the absence
of a `CorsFilter` or `CorsConfigurationSource` bean.
See gh-11987
2021-01-04 12:25:43 -08:00
dreis2211
261b7a5b18
Update copyrights to 2021
...
See gh-24625
2021-01-01 09:17:13 +01:00
Stephane Nicoll
d0a1c49873
Polish
...
See gh-24604
2020-12-23 16:07:27 +01:00
Stephane Nicoll
d86eba3b6b
Upgrade to Thymeleaf 3.0.12
...
Closes gh-24599
2020-12-23 10:57:36 +01:00
Madhura Bhave
b29ac37db6
Add docs about using InMemoryOAuth2AuthorizedClientService
...
Closes gh-24596
2020-12-22 12:18:47 -08:00
Stephane Nicoll
9e5a6c5228
Harmonize references to ActiveMQ Artemis
...
Closes gh-24586
2020-12-22 09:44:49 +01:00
Stephane Nicoll
306b964ce3
Fix multi-release JAR test on JDK 16
...
See gh-24453
2020-12-21 09:59:01 +01:00
izeye
97dd4c0871
Polish
...
See gh-24558
2020-12-21 09:35:41 +01:00
Madhura Bhave
b82f5a408a
Add a note about disabling git info
...
See gh-24205
2020-12-18 18:02:27 -08:00
Madhura Bhave
a5c8b84511
Update version of git-properties plugin in the docs
...
Closes gh-24567
2020-12-18 17:25:26 -08:00
Madhura Bhave
302ba77812
Improve documentation regarding git commit info
...
Closes gh-24205
2020-12-18 17:13:30 -08:00
Madhura Bhave
c9a09cf6a9
Clarify when SpEL expressions in application properties are evaluated
...
Closes gh-24531
2020-12-18 14:15:27 -08:00
Madhura Bhave
1db271c2c5
Reorder documentation about building images
...
Closes gh-24560
2020-12-18 14:02:29 -08:00
Phillip Webb
c4e41305d5
Prevent Tomcat URL "reflective access" warnings
...
Update the jar `Handler` class to support a non-reflective fallback
mechanism when possible. The updated code attempts to capture a regular
jar URL before our handler is installed. It can then use that URL as
context when creating the a fallback URL. The JDK jar `Handler` will
be copied from the context URL to the fallback URL.
Without this commit, resolving new Tomcat URLs of the form
`jar:war:file:...` would result in an ugly "Illegal reflective access"
warning.
Fixes gh-18631
2020-12-17 20:43:41 -08:00
Madhura Bhave
361198ebba
Fix tests
...
See gh-11987
2020-12-16 15:25:02 -08:00
Madhura Bhave
09e07428cc
Configure CORS in default security configuration for MVC
...
Fixes gh-11987
2020-12-16 14:55:36 -08:00
Scott Frederick
e4d124dc45
Improve error message with Maven build-image and war packaging
...
Fixes gh-24522
2020-12-16 15:58:53 -06:00
dreis2211
0ec603cdad
Avoid duplicates in MergedContextConfiguration
...
Remove duplicate config attribute classes by using a `Set` rather
than a `List` in the `SpringBootTestContextBootstrapper`.
See gh-24532
2020-12-16 12:50:54 -08:00
Scott Frederick
0e5df2296e
Fail with Gradle bootBuildImage and war packaging
...
Prior to this commit, running the bootBuildImage Gradle task on a
project configured for war packaging would result in a jar file being
built and used in the image instead of the war file. With this commit
an error will be thrown from the plugin in this case.
Fixes gh-24521
2020-12-16 13:23:43 -06:00
Phillip Webb
29300530c6
Polish
2020-12-15 19:44:40 -08:00
Andy Wilkinson
76198f9a8d
Include properties from test-autoconfigure in config props appendix
...
Closes gh-24486
2020-12-15 17:20:21 +00:00
Stephane Nicoll
26e7e61919
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24494
2020-12-14 16:19:23 +01:00
Stephane Nicoll
60f526add0
Remove links to Jetty API and documentation
...
This commit removes links to Jetty API and documentation as those links
are breaking every time the Jetty team releases a new version
See https://github.com/eclipse/jetty.project/issues/4546
Closes gh-24493
2020-12-14 16:17:25 +01:00
Stephane Nicoll
0533ac58fb
Test the Gradle plugin against 6.7.1
...
Closes gh-24449
2020-12-10 15:33:37 +01:00
Stephane Nicoll
ab99de4349
Polish
...
See gh-24418
2020-12-10 13:52:11 +01:00
Stephane Nicoll
94b6b62077
Upgrade to Undertow 2.1.5.Final
...
Closes gh-24441
2020-12-10 09:03:03 +01:00
Stephane Nicoll
30748b8dd0
Upgrade to Tomcat 9.0.41
...
Closes gh-24440
2020-12-10 09:03:02 +01:00
Stephane Nicoll
264cd83f4b
Upgrade to Netty tcNative 2.0.35.Final
...
Closes gh-24439
2020-12-10 09:03:01 +01:00
Stephane Nicoll
1c720a56b2
Upgrade to Netty 4.1.55.Final
...
Closes gh-24438
2020-12-10 09:03:00 +01:00
Stephane Nicoll
b6b046702f
Upgrade to Caffeine 2.8.8
...
Closes gh-24437
2020-12-10 09:02:58 +01:00
Stephane Nicoll
fd91daaf21
Upgrade to ActiveMQ 5.15.14
...
Closes gh-24436
2020-12-10 09:02:57 +01:00
Stephane Nicoll
5f8900ea0e
Upgrade to Spring Kafka 2.5.10
...
Closes gh-24293
2020-12-10 09:00:35 +01:00
Stephane Nicoll
18e2ce1682
Upgrade to Spring Batch 4.2.5
...
Closes gh-24290
2020-12-10 08:59:47 +01:00
Stephane Nicoll
c08310ca35
Upgrade to Spring AMQP 2.2.13
...
Closes gh-24287
2020-12-10 08:56:38 +01:00
Stephane Nicoll
388f00612e
Upgrade to Micrometer 1.5.9
...
Closes gh-24427
2020-12-10 08:55:51 +01:00
Stephane Nicoll
7f9d0d2d7c
Upgrade to Tomcat 9.0.41
...
Closes gh-24435
2020-12-10 08:20:55 +01:00
Stephane Nicoll
1094b7c10c
Upgrade to Activemq 5.15.14
...
Closes gh-24434
2020-12-10 08:20:54 +01:00
Stephane Nicoll
b8c68ef374
Upgrade to Undertow 2.0.33.Final
...
Closes gh-24433
2020-12-10 08:20:53 +01:00
Stephane Nicoll
a9924c3576
Upgrade to Netty Tcnative 2.0.35.Final
...
Closes gh-24432
2020-12-10 08:20:51 +01:00
Stephane Nicoll
55b680e452
Upgrade to Netty 4.1.55.Final
...
Closes gh-24431
2020-12-10 08:20:50 +01:00
Stephane Nicoll
6d5e3b2c0d
Upgrade to Caffeine 2.8.8
...
Closes gh-24430
2020-12-10 08:20:49 +01:00
Stephane Nicoll
60e69c2c3e
Upgrade to Spring Kafka 2.3.13
...
Closes gh-24292
2020-12-10 08:19:26 +01:00
Stephane Nicoll
520b4bba9c
Upgrade to Spring Batch 4.2.5
...
Closes gh-24289
2020-12-10 08:18:45 +01:00
Stephane Nicoll
317ec32458
Upgrade to Spring Integration 5.2.10
...
Closes gh-24429
2020-12-10 08:18:17 +01:00
Stephane Nicoll
241730bf10
Upgrade to Spring AMQP 2.2.13
...
Closes gh-24286
2020-12-10 08:17:25 +01:00
Phillip Webb
0bfa9cf107
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24424
2020-12-09 18:19:28 -08:00
Phillip Webb
869141766b
Use deterministic ordering of JavaBean methods
...
Update `JavaBeanBinder` so that methods and fields are sorted before
being processed. This ensures that setters are called in a deterministic
order, rather than the unspecified and variable order that reflection
provides.
Fixes gh-24068
2020-12-09 18:19:07 -08:00
Stephane Nicoll
f4ed2e72c5
Upgrade to Spring Data Neumann-SR6
...
Closes gh-24283
2020-12-09 17:30:13 +01:00
Stephane Nicoll
6a8ad73e2e
Upgrade to Spring Data Moore-SR12
...
Closes gh-24282
2020-12-09 17:27:30 +01:00
Stephane Nicoll
84b92bc531
Upgrade to Spring HATEOAS 1.1.3
...
Closes gh-24419
2020-12-09 14:12:33 +01:00
Stephane Nicoll
52b5c36750
Upgrade to Micrometer 1.5.8
...
Closes gh-24280
2020-12-09 10:52:26 +01:00
Stephane Nicoll
8c676a43bd
Upgrade to Spring Framework 5.2.12
...
Closes gh-24277
2020-12-09 10:51:54 +01:00
Stephane Nicoll
275816d9f9
Upgrade to Micrometer 1.3.16
...
Closes gh-24279
2020-12-09 10:49:35 +01:00
Stephane Nicoll
e961afd64f
Upgrade to Spring Framework 5.2.12
...
Closes gh-24276
2020-12-09 10:48:56 +01:00
Phillip Webb
0d157e046f
Fix checkstyle violations
...
See gh-21015
2020-12-08 18:12:30 -08:00
Phillip Webb
49e754f48b
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24411
2020-12-08 17:23:33 -08:00
Phillip Webb
286ef61071
Narrow auto-configure checkstyle suppressions
...
Closes gh-21015
2020-12-08 17:04:03 -08:00
Phillip Webb
30717b6ae3
Merge branch '2.2.x' into 2.3.x
2020-12-08 16:32:26 -08:00
Phillip Webb
4f95486822
Polish note about Maven/Gradle restarts
...
See gh-24271
2020-12-08 16:31:46 -08:00
Phillip Webb
445c6b8aa6
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24409
2020-12-08 16:25:03 -08:00
Phillip Webb
10d3121e27
Polish "Triggering a restart" formatting
...
See gh-24271
2020-12-08 16:24:18 -08:00
Billy T. Hernandez
0503079dc5
Document devtools restart with Maven/Gradle
...
Update the documentation to help avoid confusion for people who aren't
using an IDE.
See gh-24271
2020-12-08 16:20:32 -08:00
Phillip Webb
06531b9b71
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24407
2020-12-08 16:08:32 -08:00
Phillip Webb
89642f0ce8
Add link to appendix from error handling
...
Improve documentation by adding a link from the "Error Handling" section
to the appendix.
Closes gh-24265
2020-12-08 16:06:21 -08:00
Phillip Webb
11f285bde5
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24403
2020-12-08 12:12:51 -08:00
izeye
8c55803931
Polish
...
See gh-24306
2020-12-08 12:08:35 -08:00
Stephane Nicoll
06671aa50e
Stop deferring JPA bootstrap mode by default
...
This commit changes the default value of bootstrap-mode to "default"
rather than "deferred" so that the JPA infrastructure starts in the
main thread rather than asynchronously.
Closes gh-24249
2020-12-08 15:42:14 +01:00
Stephane Nicoll
f84cb1b765
Upgrade to Reactor Dysprosium-SR15
...
Closes gh-24274
2020-12-08 05:07:59 +01:00
Stephane Nicoll
07a1ef3604
Upgrade to Reactor Dysprosium-SR15
...
Closes gh-24273
2020-12-08 05:05:33 +01:00
Stephane Nicoll
64d4648ad1
Upgrade to Spring Security 5.3.6
...
Closes gh-24296
2020-12-07 17:42:46 +01:00
Stephane Nicoll
9b4cf0c2fc
Start building against Spring Kafka 2.5.10 snapshots
...
See gh-24293
2020-12-07 17:42:17 +01:00
Stephane Nicoll
4d29098e6a
Start building against Spring Batch 4.2.5 snapshots
...
See gh-24290
2020-12-07 17:41:35 +01:00
Stephane Nicoll
c17442c37b
Start building against Spring AMQP 2.2.13 snapshots
...
See gh-24287
2020-12-07 17:40:53 +01:00
Stephane Nicoll
92d088f33f
Start building against Spring Data Neumann-SR6 snapshots
...
See gh-24283
2020-12-07 17:39:09 +01:00
Stephane Nicoll
60523b07b9
Start building against Spring Kafka 2.3.13 snapshots
...
See gh-24292
2020-12-07 16:56:56 +01:00
Stephane Nicoll
4c07539a9f
Start building against Spring Batch 4.2.5 snapshots
...
See gh-24289
2020-12-07 16:56:11 +01:00
Stephane Nicoll
dab6d0a53f
Start building against Spring AMQP 2.2.13 snapshots
...
See gh-24286
2020-12-07 16:55:43 +01:00
Stephane Nicoll
9ce919d6dc
Start building against Spring Data Moore-SR12 snapshots
...
See gh-24282
2020-12-07 16:55:00 +01:00
Stephane Nicoll
6e040740c6
Upgrade to Tomcat 9.0.40
...
Closes gh-24375
2020-12-07 15:22:26 +01:00
Stephane Nicoll
ddda80909e
Upgrade to Jetty 9.4.35.v20201120
...
Closes gh-24374
2020-12-07 15:22:25 +01:00
Stephane Nicoll
9eeae227b0
Upgrade to HttpCore 4.4.14
...
Closes gh-24373
2020-12-07 15:22:23 +01:00
Stephane Nicoll
c1ef49ae63
Upgrade to Hibernate 5.4.25.Final
...
Closes gh-24372
2020-12-07 15:22:22 +01:00
Stephane Nicoll
1e252ab382
Upgrade to Groovy 2.5.14
...
Closes gh-24371
2020-12-07 15:22:20 +01:00
Stephane Nicoll
ae71111893
Upgrade to Dropwizard Metrics 4.1.16
...
Closes gh-24370
2020-12-07 15:22:19 +01:00
Stephane Nicoll
dfae03704b
Upgrade to DB2 JDBC 11.5.5.0
...
Closes gh-24369
2020-12-07 15:22:18 +01:00
Stephane Nicoll
fa3723eb8b
Upgrade to Caffeine 2.8.7
...
Closes gh-24368
2020-12-07 15:22:16 +01:00
Stephane Nicoll
530b3e79a4
Upgrade to Spring Security 5.2.8.RELEASE
...
Closes gh-24366
2020-12-07 12:27:49 +01:00
Stephane Nicoll
cabe0ef28b
Upgrade to Neo4j Ogm 3.2.18
...
Closes gh-24365
2020-12-07 12:27:48 +01:00
Stephane Nicoll
6779180a94
Upgrade to Infinispan 9.4.21.Final
...
Closes gh-24364
2020-12-07 12:27:47 +01:00
Stephane Nicoll
75059beac3
Upgrade to Hibernate 5.4.25.Final
...
Closes gh-24363
2020-12-07 12:27:46 +01:00
Stephane Nicoll
aa87b788e2
Upgrade to Jetty 9.4.35.v20201120
...
Closes gh-24362
2020-12-07 12:27:44 +01:00
Stephane Nicoll
28cf851ed8
Upgrade to Groovy 2.5.14
...
Closes gh-24361
2020-12-07 12:27:43 +01:00
Stephane Nicoll
0ea2ab1005
Upgrade to Tomcat 9.0.40
...
Closes gh-24360
2020-12-07 12:27:42 +01:00
Stephane Nicoll
193e3e5e82
Upgrade to Httpcore 4.4.14
...
Closes gh-24359
2020-12-07 12:27:40 +01:00
Stephane Nicoll
e06c106a4f
Upgrade to Byte Buddy 1.10.18
...
Closes gh-24358
2020-12-07 12:27:39 +01:00
Stephane Nicoll
e8f6f6be17
Upgrade to Netty 4.1.54.Final
...
Closes gh-24357
2020-12-07 12:27:38 +01:00
Stephane Nicoll
8498f402e5
Upgrade to Dropwizard Metrics 4.1.16
...
Closes gh-24356
2020-12-07 12:27:36 +01:00
Stephane Nicoll
7689609f81
Upgrade to Db2 Jdbc 11.5.5.0
...
Closes gh-24355
2020-12-07 12:27:35 +01:00
Stephane Nicoll
cf51d80278
Upgrade to Appengine Sdk 1.9.83
...
Closes gh-24354
2020-12-07 12:27:34 +01:00
Stephane Nicoll
264ff95753
Upgrade to Caffeine 2.8.7
...
Closes gh-24353
2020-12-07 12:27:33 +01:00
Stephane Nicoll
d8706cdcfe
Upgrade to Jackson 2.10.5.20201202
...
Closes gh-24352
2020-12-07 12:27:31 +01:00
Stephane Nicoll
aba4c20823
Upgrade to Couchbase Client 2.7.18
...
Closes gh-24351
2020-12-07 12:27:30 +01:00
Phillip Webb
ff0725f6bf
Fix HazelcastHealthIndicatorTests
...
See gh-24337
2020-12-05 07:52:53 -08:00
Phillip Webb
55ae5be84b
Revert "Restore HazelcastHealthIndicatorTests"
...
This reverts commit 5a51b5853e
.
2020-12-05 07:47:50 -08:00
Phillip Webb
5a51b5853e
Restore HazelcastHealthIndicatorTests
...
Restore `HazelcastHealthIndicatorTests` which was accidentally replaced
with a version from 2.4.x.
See gh-24337
2020-12-05 07:28:08 -08:00
Phillip Webb
5f351a6983
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24338
2020-12-04 18:21:57 -08:00
Phillip Webb
d8a05090b3
Fix checkstyle BDD Mockito violations
...
See gh-24337
2020-12-04 18:06:54 -08:00
Phillip Webb
837fc83527
Fix checkstyle header violations
...
See gh-24337
2020-12-04 18:05:53 -08:00
Stephane Nicoll
065fde2996
Start building against Spring Framework 5.2.12 snapshots
...
See gh-24277
2020-11-30 16:42:38 +01:00
Stephane Nicoll
5f81882305
Start building against Reactor Dysprosium-SR15 snapshots
...
See gh-24274
2020-11-30 16:41:32 +01:00
Stephane Nicoll
9763ba56ba
Start building against Spring Framework 5.2.12 snapshots
...
See gh-24276
2020-11-30 16:04:27 +01:00
Stephane Nicoll
afeb9f29d4
Start building against Reactor Dysprosium-SR15 snasphots
...
See gh-24273
2020-11-30 14:32:15 +01:00
Jim Stockwell
bb7ad30de4
Fix ErrorAttributeOptions#getIncludes Javadoc
...
See gh-24257
2020-11-26 09:00:52 +01:00
Stephane Nicoll
9b992af34b
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24250
2020-11-25 14:31:30 +01:00
Stephane Nicoll
d506f0c73e
Polish "Reduce redis health indicator info command result size"
...
See gh-24208
2020-11-25 14:27:07 +01:00
xJoeWoo
99cc3f4bfc
Reduce redis health indicator info command result size
...
See gh-24208
2020-11-25 14:23:57 +01:00
Stephane Nicoll
016b69aa78
Polish "Allow to exclude an empty set of ErrorAttributes"
...
See gh-24230
2020-11-23 20:44:18 +01:00
Wanderlei Souza
6518f8f7fd
Allow to exclude an empty set of ErrorAttributes
...
See gh-24230
2020-11-23 20:43:59 +01:00
Andy Wilkinson
7efa1e47aa
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24222
2020-11-20 11:48:25 +00:00
Andy Wilkinson
12f2529be5
Allow actuator endpoint to have responses with custom HTTP statuses
...
Fixes gh-24123
2020-11-20 11:38:31 +00:00
Andy Wilkinson
0ed7f7f40a
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24219
2020-11-20 11:36:31 +00:00
Andy Wilkinson
08b9d1da57
Polish "Ensure that MeterRegistry bean is defined before SI looks for it"
...
See gh-24095
2020-11-20 11:20:31 +00:00
Artem Bilan
7d712aaa2d
Ensure that MeterRegistry bean is defined before SI looks for it
...
Previously, it was possible for Spring Integration, including its
built-in Micrometer support, to be auto-configured before the
Micrometer auto-configuration had defined the MeterRegistry bean. This
resulted in missing Spring Integration metrics.
Spring Integration is unusual in having its own built-in Micrometer
support that it configures itself. Rather than providing
auto-configuration for Integration's Micrometer support (Which isn't
needed), this commit introduces some auto-configuration that just
affects the ordering of the auto-configuration classes. This ordering
ensures that the MeterRegistry bean has been defined by Spring
Integration is auto-configured. This ensures that the MeterRegistry
bean is known to the BeanFactory when Spring Integration goes looking
for it.
See gh-24095
2020-11-20 11:18:09 +00:00
Andy Wilkinson
988526bee9
Only attempt unwrapping of interfaces
...
Wrapper's isWrapperFor and unwrap methods both take a Class<?> target
but document that the target should be an interface. Prior to this
change, we were calling isWrapperFor with any Class<?> irrespective of
whether or not it was an interface. When using Oracle UCP each call
to isWrapperFor with an interface results in an exception stack trace
being logged.
This commit upates DataSourceUnwrapper to adhere to Wrapper's contract
by only calling isWrapperFor and unwrap with interfaces.
Fixes gh-24154
2020-11-18 11:35:11 +00:00
Stephane Nicoll
f3afd8a0f4
Fix location of Spring LDAP and Spring Session properties
...
Closes gh-23558
2020-11-18 10:28:54 +01:00
Stephane Nicoll
76912d1952
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24193
2020-11-18 10:09:03 +01:00
Stephane Nicoll
d3440880c4
Polish "Avoid unnecessary pattern compilation in WebFluxTags"
...
See gh-24147
2020-11-18 09:58:03 +01:00
Peter Paul Bakker
b22bb7ea04
Avoid unnecessary pattern compilation in WebFluxTags
...
See gh-24147
2020-11-18 09:58:03 +01:00
Stephane Nicoll
dea12f7551
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24185
2020-11-17 21:36:34 +01:00
izeye
b17895844d
Provide dependency management for elasticsearch-rest-client-sniffer
...
See gh-24173
2020-11-17 21:32:37 +01:00
Scott Frederick
da2276e7d4
Use stable builder and run images in integration tests
...
Fixes gh-24183
2020-11-17 13:54:10 -06:00
Sergey Kolesnikov
b341b478a6
Rename "sla" to "slo" in reference documentation
...
See gh-24160
2020-11-16 07:20:23 +01:00
Stephane Nicoll
8311edf722
Upgrade to Neo4j OGM 3.2.18
...
Closes gh-24125
2020-11-12 07:15:26 +01:00
Stephane Nicoll
79835dc20f
Upgrade to Netty 4.1.54.Final
...
Closes gh-24124
2020-11-12 07:08:37 +01:00
Andy Wilkinson
3e243de41b
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24121
2020-11-11 20:16:39 +00:00
dreis2211
033c78b945
Fix link to Flyway callback docs
...
See gh-24119
2020-11-11 20:14:08 +00:00
Andy Wilkinson
e35c8e0214
Upgrade to Micrometer 1.5.7
...
Closes gh-24050
2020-11-11 19:33:12 +00:00
Andy Wilkinson
6507175d35
Upgrade to Spring Kafka 2.5.8.RELEASE
...
Closes gh-24075
2020-11-11 19:30:09 +00:00
Andy Wilkinson
0053fb7871
Upgrade to Spring Integration 5.3.4.RELEASE
...
Closes gh-24096
2020-11-11 19:28:49 +00:00
Andy Wilkinson
4a630dc7a9
Only skip ..-prefixed locations when found via wildcard
...
Closes gh-23983
2020-11-11 15:36:39 +00:00
Andy Wilkinson
e8a1c3b9f8
Start building against Spring Integration 5.3.4 snapshots
...
See gh-24096
2020-11-11 09:16:30 +00:00
Andy Wilkinson
85cb5d4b3b
Upgrade to Reactor Dysprosium-SR14
...
Closes gh-24109
2020-11-11 09:14:21 +00:00
Andy Wilkinson
e6ab20b029
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24111
2020-11-10 17:37:41 +00:00
Andy Wilkinson
31042bfc49
Test inclusion of system scope dependencies in repackaged war
...
Closes gh-22503
2020-11-10 17:35:04 +00:00
Stephane Nicoll
afe721bc34
Start building against Reactor Dysprosium-SR14 snapshots
...
See gh-24109
2020-11-10 18:00:10 +01:00
Stephane Nicoll
9e901b6e07
Upgrade to Testcontainers 1.15.0
...
Closes gh-24103
2020-11-10 16:24:16 +01:00
Stephane Nicoll
23ad2b4156
Rationalize Testcontainers image versions
...
This commit rationalizes the Docker image names used in integration
tests.
Closes gh-24107
2020-11-10 16:04:27 +01:00
Stephane Nicoll
0c43d13789
Upgrade to Spring Framework 5.2.11
...
Closes gh-24034
2020-11-10 11:21:24 +01:00
Stephane Nicoll
339c8d0a26
Revert "Upgrade to Testcontainers 1.15.0"
2020-11-10 09:47:46 +01:00
Stephane Nicoll
5123eb0c74
Fix deprecation in Testcontainers 1.15.0
...
See gh-24103
2020-11-10 09:39:18 +01:00
Stephane Nicoll
c1a1b5fe71
Upgrade to Testcontainers 1.15.0
...
Closes gh-24103
2020-11-10 08:46:15 +01:00
Stephane Nicoll
48bfdc1314
Revert "Upgrade to testcontainers 1.15.0"
...
This reverts commit b1c446d1b2
.
2020-11-10 07:49:23 +01:00
Stephane Nicoll
b1c446d1b2
Upgrade to testcontainers 1.15.0
...
Closes gh-24103
2020-11-10 07:20:26 +01:00
Stephane Nicoll
6aca0275ad
Polish
2020-11-09 14:40:44 +01:00
Stephane Nicoll
d962a074c3
Upgrade to jOOQ 3.13.6
...
Closes gh-24081
2020-11-09 08:22:32 +01:00
Stephane Nicoll
2c67acb970
Upgrade to Hibernate 5.4.23.Final
...
Closes gh-24080
2020-11-09 08:22:31 +01:00
Stephane Nicoll
0142ed1e5c
Upgrade to Couchbase Client 3.0.10
...
Closes gh-24079
2020-11-09 08:22:30 +01:00
Stephane Nicoll
ebfa494b2e
Upgrade to Byte Buddy 1.10.18
...
Closes gh-24078
2020-11-09 08:22:28 +01:00
Stephane Nicoll
df6181f6bf
Upgrade to AppEngine SDK 1.9.83
...
Closes gh-24077
2020-11-09 08:22:27 +01:00
Stephane Nicoll
2282c73aab
Start building against Spring Framework 5.2.11 snapshots
...
See gh-24034
2020-11-06 16:41:47 +01:00
Andy Wilkinson
44d0ce5ff1
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24060
2020-11-05 15:53:53 +00:00
Andy Wilkinson
9c5d1646bd
Show how to configure a case-sensitive physical naming strategy
...
Closes gh-24045
2020-11-05 15:53:32 +00:00
Stephane Nicoll
4a8646bd09
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24058
2020-11-05 16:32:52 +01:00
Stephane Nicoll
59ea7c11f6
Use most specific getter when generating metadata
...
This commit makes sure to use the most specific getter if more than
one candidate exists.
Closes gh-24002
2020-11-05 16:01:28 +01:00
Andy Wilkinson
91f4541a91
Merge branch '2.2.x' into 2.3.x
...
See gh-24052
2020-11-05 12:19:13 +00:00
Andy Wilkinson
006d4bc36d
Do not set Tomcat's trust store password when null
...
See gh-24041
2020-11-05 12:18:32 +00:00
Andy Wilkinson
2ffb81f0d9
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24052
2020-11-05 11:35:37 +00:00
Andy Wilkinson
2425dcd200
Do not set Tomcat's key store and key pass when null
...
Fixes gh-24041
2020-11-05 11:30:04 +00:00
Andy Wilkinson
e447be6df7
Upgrade to Jetty 9.4.34.v20201102
...
Closes gh-24046
2020-11-05 08:22:31 +00:00
Scott Frederick
62aa1b7aaf
Narrow criteria for hidden property paths
...
A previous change intended to prevent temporary directories created as
an implementation detail of mounting volumes on kubernetes pods from
being used as a source for property files had a side-effect of also
preventing other types of hidden directories from being recognized. This
commit narrows the criteria for considering a directory as hidden,
using the kubernetes `..` prefix convention instead of the Unix `.`
prefix.
Fixes gh-23983
2020-11-04 16:09:54 -06:00
Andy Wilkinson
84cee76700
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24032
2020-11-04 17:42:24 +00:00
Andy Wilkinson
d5980be623
Clarify documentation for relaxed binding of environment variables
...
Closes gh-22974
2020-11-04 17:40:27 +00:00
Andy Wilkinson
e83f3f40be
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24029
2020-11-04 16:47:23 +00:00
Andy Wilkinson
a8b8f43180
Improve description of spring.datasource.initialization-mode
...
Closes gh-21121
2020-11-04 16:46:28 +00:00
Andy Wilkinson
28f7bc37a5
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24025
2020-11-04 10:15:07 +00:00
Andy Wilkinson
c289ba0c2c
Recommend disabling context root redirects with proxied Tomcat
...
Closes gh-22908
2020-11-04 10:13:55 +00:00
Andy Wilkinson
81f672eae3
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24023
2020-11-04 09:40:54 +00:00
Andy Wilkinson
28ccf54b21
Ignore schema username when auto-configuring a test DB
...
Previously, when an embedded test database was being auto-configured
any schema username and password specified by the user would result
in a separate embedded test database being created to load the schema.
This then left the actual test database without the schema causing
test failures.
This commit updates the test database auto-configuration to set the
schema username to an empty string in a property source that's added
first to the environment's property sources. This causes any schema
username configured by the user to be ignored, preventing the creation
of a separate database for schema.sql processing.
Fixes gh-19321
2020-11-04 09:30:19 +00:00
Andy Wilkinson
7c209478b6
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24021
2020-11-03 20:32:57 +00:00
Pascal Schumacher
5472fcf433
Fix typo in Spring Session documentation
...
See gh-24020
2020-11-03 20:31:42 +00:00
Andy Wilkinson
b2a058b6fe
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24018
2020-11-03 19:43:15 +00:00
Andy Wilkinson
2f280b01e1
Improve Spring Session back-off documentation
...
Closes gh-23151
2020-11-03 19:42:57 +00:00
Andy Wilkinson
f3d4b3e5ac
Allow entries to be streamed from JarURLConnections' jar file
...
Fixes gh-23821
2020-11-03 17:59:38 +00:00
Andy Wilkinson
d1a9dba25d
Polish "Avoid repeated calls of WebFlux and MVC registrations' getters"
...
See gh-23999
2020-11-03 17:23:16 +00:00
Michal Růžička
2aac5c0095
Avoid repeated calls of WebFlux and MVC registrations' getters
...
See gh-23999
2020-11-03 16:51:39 +00:00
Andy Wilkinson
f9ff39a7a6
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24014
2020-11-03 16:38:33 +00:00
Andy Wilkinson
35bff55097
Ensure that Quartz can be auto-configured with a Quartz-specific TM
...
Previously, Quartz could be configured with a specific DataSource
using `@QuartzDataSource` but it was not possible to configure a
Quartz-specific transaction manager. This could result in the
different DataSources being used by Quartz itself and Quart'z
DataSourceTransactionManager.
This commit introduces a new qualifier, `@QuartzTransactionManager`,
that can be used to avoid the above-described problem. Any
`@QuartzTransactionManager`-annotated bean will be used by the
Quartz auto-configure configuration instead of the application's main
`TransactionManager`. If no such qualified bean is present, the
application's main TransactionManager, if any, will be used as before.
Fixes gh-20184
2020-11-03 15:56:44 +00:00
Andy Wilkinson
dc86e8ce30
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24012
2020-11-03 14:58:28 +00:00
Andy Wilkinson
6548ca4c11
Implement equals and hashCode in TestTypeExcludeFilter
...
Fixes gh-23978
2020-11-03 14:50:00 +00:00
Andy Wilkinson
2dce4aa42b
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24009
2020-11-03 14:04:08 +00:00
Andy Wilkinson
30a0ccab02
Remove use of `@PostConstruct` from main code
...
When running on Java 11 (where `@PostConstruct` is no longer part of
the JRE) and without a dependency on jakarta-annotation-api,
`@PostContruct` annotions are silently dropped. This leads to obscure and
hard-to-track down changes in the behaviour of our auto-configuration
as the `@PostConstruct`-annotated methods are not invoked.
To allow users to run on Java 11 without having jakarta-annotation-api
on the classpath, this commit removes use of `@PostConstruct` from main
code. A Checkstyle rule has also been added to prevent its usage in
main code from being reintroduced.
Closes gh-23723
2020-11-03 13:59:38 +00:00
Andy Wilkinson
2513071b1f
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24006
2020-11-03 10:27:38 +00:00
Andy Wilkinson
622606d85a
Make it clearer that only the main DataSource bean may be replaced
...
Closes gh-23808
2020-11-03 10:24:44 +00:00
Andy Wilkinson
b846143c37
Merge branch '2.2.x' into 2.3.x
...
Closes gh-24004
2020-11-03 10:17:00 +00:00
Andy Wilkinson
d32d65b02c
Add tip about providing as much typo info as possible in @Bean methods
...
Closes gh-22925
2020-11-03 10:16:20 +00:00
Stephane Nicoll
1e9c9b9d73
Add missing default values in configuration properties metadata
...
Closes gh-23991
2020-11-02 10:44:06 +01:00
Phillip Webb
b0c2687aa9
Update copyright year of changed files
2020-10-29 09:07:42 -07:00
Andy Wilkinson
70d9602b3f
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23969
2020-10-29 15:31:12 +00:00
Andy Wilkinson
e7eb7739dc
Use overriding rather than overridden getter methods in config prop AP
...
Fixes gh-23966
2020-10-29 15:30:46 +00:00
Phillip Webb
b86dcbec72
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23959
2020-10-28 21:18:17 -07:00
Phillip Webb
cf09451ffb
Retain inner-class data on incremental compile
...
Ensure that metadata sourced from inner-types is not deleted when
performing an incremental compile. Prior to this commit, the source
type was searched using the `Outer$Inner` format. This is not supported
`Elements.getTypeElement` so we now convert the names to `Outer.Inner`.
Closes gh-10886
2020-10-28 21:13:08 -07:00
Stephane Nicoll
425a2084ac
Upgrade to Spring Kafka 2.5.7
...
Closes gh-23787
2020-10-28 22:32:55 +01:00
Stephane Nicoll
11b55f650c
Upgrade to Spring Kafka 2.3.12
...
Closes gh-23786
2020-10-28 22:28:05 +01:00
Stephane Nicoll
124c148c51
Upgrade to Spring Integration 5.2.9
...
Closes gh-23956
2020-10-28 22:27:19 +01:00
Scott Frederick
d5b2836ec9
Provide content-length header to Docker API calls
...
Docker daemon authorization plugins reject POST or PUT requests that have a
content type `application/json` header but no content length header. This
commit ensures that a content length header is provided in these cases.
Fixes gh-22840
2020-10-28 15:15:32 -05:00
Phillip Webb
d79c23ef89
Upgrade MavenBuild versions
...
Align versions with those in the main build.
Closes gh-23937
2020-10-28 12:37:30 -07:00
Stephane Nicoll
d112b8a289
Upgrade to Spring AMQP 2.2.12
...
Closes gh-23784
2020-10-28 20:27:50 +01:00
Stephane Nicoll
90ee8b5a2a
Upgrade to Spring Integration 5.3.3
...
Closes gh-23780
2020-10-28 20:26:59 +01:00
Stephane Nicoll
47a5d7aab6
Upgrade to Micrometer 1.5.6
...
Closes gh-23791
2020-10-28 20:26:17 +01:00
Stephane Nicoll
f2afd28b9a
Upgrade to Spring AMQP 2.2.12
...
Closes gh-23783
2020-10-28 20:24:56 +01:00
Andy Wilkinson
58aa34489f
Wait for DataSource init before allowing context refresh to complete
...
Closes gh-22852
2020-10-28 16:01:14 +00:00
Stephane Nicoll
b94fe90f24
Upgrade to Spring Data Neumann-SR5
...
Closes gh-23777
2020-10-28 16:37:08 +01:00
Stephane Nicoll
9c4e5904e7
Upgrade to Micrometer 1.3.15
...
Closes gh-23790
2020-10-28 16:30:05 +01:00
Stephane Nicoll
8bd7cc417e
Upgrade to Spring Data Moore-SR11
...
Closes gh-23776
2020-10-28 16:29:27 +01:00
Stephane Nicoll
0424689aee
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23930
2020-10-28 16:18:00 +01:00
Stephane Nicoll
93e36a97ab
Remove version elements from Maven plugin documentation
...
This commit removes `<version>` from the Maven Plugin documentation
where it makes sense so that versions aren't hardcoded unnecessarily.
Rather, a plugin or dependency management should be in place so those
are not needed.
Closes gh-23909
2020-10-28 13:39:03 +01:00
Stephane Nicoll
a3818d690e
Fix custom layout example so that tokens are replaced
2020-10-28 13:37:59 +01:00
Stephane Nicoll
c02b16eeeb
Upgrade to Lettuce 5.3.5.RELEASE
...
Closes gh-23922
2020-10-28 08:03:44 +01:00
Andy Wilkinson
b9516bc77c
Await registration of http.server.requests meter
...
Previously, the test would make an HTTP request and, as soon as the
response was received, it would check the presence and value of the
http.server.requests meter. This create a race condition between the
meter being registered once the response had been flushed and the
meter's presence being checked. If the check won the race, the test
would fail.
This commit updates the test to wait for up to 5 seconds for the
meter to be present and have a count of 1, matching the single request
that has been made.
Fixes gh-23919
2020-10-27 15:54:22 +00:00
Stephane Nicoll
41f3470e09
Upgrade to Spring Framework 5.2.10
...
Closes gh-23526
2020-10-27 15:49:21 +01:00
Stephane Nicoll
8b49f792cb
Upgrade to Spring Framework 5.2.10
...
Closes gh-23773
2020-10-27 15:48:17 +01:00
Stephane Nicoll
4769889c6b
Upgrade to JUnit 4.13.1
...
Closes gh-23876
2020-10-27 03:41:23 +01:00
Stephane Nicoll
30a9424f6c
Upgrade to JUnit Jupiter 5.6.3
...
Closes gh-23915
2020-10-27 03:40:41 +01:00
Stephane Nicoll
f727db3866
Upgrade to RSocket 1.0.3
...
Closes gh-23911
2020-10-27 03:37:58 +01:00
Stephane Nicoll
d5cb6c1a4f
Upgrade to RSocket 1.0.3
...
Closes gh-23910
2020-10-27 03:25:59 +01:00
Stephane Nicoll
3119e85a32
Upgrade to Reactor Dysprosium-SR13
...
Closes gh-23770
2020-10-26 18:17:13 +01:00
Stephane Nicoll
7fa5ff46f7
Upgrade to Reactor Dysprosium-SR13
...
Closes gh-23769
2020-10-26 18:15:58 +01:00
Andy Wilkinson
c0bb6ff667
Await registration of http.server.requests meter
...
Previously, the test would make an HTTP request and, as soon as the
response was received, it would check the presence and value of the
http.server.requests meter. This create a race condition between the
meter being registered once the response had been flushed and the
meter's presence being checked. If the check won the race, the test
would fail.
This commit updates the test to wait for up to 5 seconds for the
meter to be present and have a count of 1, matching the single request
that has been made.
Fixes gh-23863
2020-10-26 14:41:58 +00:00
Andy Wilkinson
dedd8e603d
Upgrade to Tomcat 9.0.39
...
Closes gh-23885
2020-10-26 12:58:40 +00:00
Andy Wilkinson
4b6ef6ef44
Upgrade to Spring Security 5.3.5.RELEASE
...
Closes gh-23884
2020-10-26 12:58:40 +00:00
Andy Wilkinson
1520de773d
Upgrade to RxJava2 2.2.20
...
Closes gh-23883
2020-10-26 12:58:40 +00:00
Andy Wilkinson
74e4d8effb
Upgrade to R2DBC Bom Arabba-SR8
...
Closes gh-23882
2020-10-26 12:58:40 +00:00
Andy Wilkinson
87c6ca0757
Upgrade to Postgresql 42.2.18
...
Closes gh-23881
2020-10-26 12:58:40 +00:00
Andy Wilkinson
48608896ab
Upgrade to Netty 4.1.53.Final
...
Closes gh-23880
2020-10-26 12:58:40 +00:00
Andy Wilkinson
890e61989f
Upgrade to Neo4j OGM 3.2.17
...
Closes gh-23879
2020-10-26 12:58:39 +00:00
Andy Wilkinson
b41a4970fa
Upgrade to MySQL 8.0.22
...
Closes gh-23878
2020-10-26 12:58:39 +00:00
Andy Wilkinson
47831a3b34
Upgrade to Lombok 1.18.16
...
Closes gh-23877
2020-10-26 12:58:39 +00:00
Andy Wilkinson
d75288b726
Upgrade to jOOQ 3.13.5
...
Closes gh-23875
2020-10-26 12:58:39 +00:00
Andy Wilkinson
b7704f5a9c
Upgrade to Jetty 9.4.33.v20201020
...
Closes gh-23874
2020-10-26 12:58:39 +00:00
Andy Wilkinson
08ef732483
Upgrade to Jackson Bom 2.11.3
...
Closes gh-23873
2020-10-26 12:58:38 +00:00
Andy Wilkinson
fe1560819e
Upgrade to HttpClient 4.5.13
...
Closes gh-23872
2020-10-26 12:58:38 +00:00
Andy Wilkinson
dccc82d729
Upgrade to Hibernate Validator 6.1.6.Final
...
Closes gh-23871
2020-10-26 12:58:38 +00:00
Andy Wilkinson
eb9dafe4ee
Upgrade to Hibernate 5.4.22.Final
...
Closes gh-23870
2020-10-26 12:58:38 +00:00
Andy Wilkinson
7d0f5ce8fd
Upgrade to Hazelcast 3.12.10
...
Closes gh-23869
2020-10-26 12:58:38 +00:00
Andy Wilkinson
1b0cb179e7
Upgrade to Dropwizard Metrics 4.1.14
...
Closes gh-23868
2020-10-26 12:58:38 +00:00
Andy Wilkinson
2958ff3b16
Upgrade to Couchbase Client 3.0.9
...
Closes gh-23867
2020-10-26 12:58:37 +00:00
Andy Wilkinson
5e71a72545
Upgrade to Caffeine 2.8.6
...
Closes gh-23866
2020-10-26 12:58:37 +00:00
Andy Wilkinson
fca4ab78f4
Upgrade to Byte Buddy 1.10.17
...
Closes gh-23865
2020-10-26 12:58:37 +00:00
Andy Wilkinson
16b26cc9da
Align versions of scala-library and scala-reflect
...
Closes gh-23887
2020-10-26 12:58:37 +00:00
Andy Wilkinson
ac8d55db78
Upgrade to Spring Security 5.2.7.RELEASE
...
Closes gh-23862
2020-10-26 10:25:29 +00:00
Andy Wilkinson
dc523c1bbd
Upgrade to Lombok 1.18.16
...
Closes gh-23861
2020-10-26 10:25:27 +00:00
Andy Wilkinson
072bfae4af
Upgrade to Postgresql 42.2.18
...
Closes gh-23860
2020-10-26 10:25:26 +00:00
Andy Wilkinson
e9fe96b0ba
Upgrade to Neo4j Ogm 3.2.17
...
Closes gh-23859
2020-10-26 10:25:25 +00:00
Andy Wilkinson
3b63e2c6da
Upgrade to Hibernate Validator 6.0.21.Final
...
Closes gh-23858
2020-10-26 10:25:24 +00:00
Andy Wilkinson
fdf44f1fd1
Upgrade to Hibernate 5.4.22.Final
...
Closes gh-23857
2020-10-26 10:25:22 +00:00
Andy Wilkinson
53a458ffcf
Upgrade to Elasticsearch 6.8.13
...
Closes gh-23856
2020-10-26 10:25:21 +00:00
Andy Wilkinson
5854abcbf1
Upgrade to Jetty 9.4.33.v20201020
...
Closes gh-23855
2020-10-26 10:25:19 +00:00
Andy Wilkinson
4588889da4
Upgrade to Tomcat 9.0.39
...
Closes gh-23854
2020-10-26 10:25:18 +00:00
Andy Wilkinson
1ef399b6fa
Upgrade to Httpclient 4.5.13
...
Closes gh-23853
2020-10-26 10:25:16 +00:00
Andy Wilkinson
e8cf97bdbb
Upgrade to Byte Buddy 1.10.17
...
Closes gh-23852
2020-10-26 10:25:15 +00:00
Andy Wilkinson
46392bc50d
Upgrade to Mysql 8.0.22
...
Closes gh-23851
2020-10-26 10:25:14 +00:00
Andy Wilkinson
39e81521cb
Upgrade to Joda Time 2.10.8
...
Closes gh-23850
2020-10-26 10:25:13 +00:00
Andy Wilkinson
1cc0a45749
Upgrade to Undertow 2.0.32.Final
...
Closes gh-23849
2020-10-26 10:25:11 +00:00
Andy Wilkinson
fc94588d9f
Upgrade to Rxjava2 2.2.20
...
Closes gh-23848
2020-10-26 10:25:10 +00:00
Andy Wilkinson
d6c20b917b
Upgrade to Netty 4.1.53.Final
...
Closes gh-23847
2020-10-26 10:25:09 +00:00
Andy Wilkinson
b0ddcdd695
Upgrade to Dropwizard Metrics 4.1.14
...
Closes gh-23846
2020-10-26 10:25:07 +00:00
Andy Wilkinson
91a71e3ca7
Upgrade to Hazelcast 3.12.10
...
Closes gh-23845
2020-10-26 10:25:06 +00:00
Andy Wilkinson
1b10af0c55
Upgrade to Caffeine 2.8.6
...
Closes gh-23844
2020-10-26 10:25:04 +00:00
Stephane Nicoll
d1e503602b
Polish
2020-10-24 07:39:50 +02:00
Phillip Webb
f84323fe3e
Prevent duplicate jar entries from being written
...
Update the `AbstractJarWriter` so that it can directly build the layer
index as entries are written. Prior to this commit, a layer tracking
was handled by a decorator class which was broken because it didn't
override enough methods. Since `AbstractJarWriter` has quite a complex
API, it seems sensible to have it handle the layer index directly,
removing the need for a decorator entirely.
Fixes gh-23801
2020-10-22 20:55:09 -07:00
Brian Clozel
b37eecc015
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23812
2020-10-22 20:16:01 +02:00
Brian Clozel
9478cd2dfb
Document how to configure h2c protocol
...
Prior to this commit, the how-to documentation would say that Spring
Boot does not support the h2c protocol. While it's not supported
out-of-the-box with a configuration property, this protocol can still be
configured using server customizers.
This commit documents, with code snippets, the server customizers one
should use to configure the h2c protocol in an application - for each
supported server.
Closes gh-21997
2020-10-22 20:04:35 +02:00
Brian Clozel
5eb1e26e10
Add HttpEncodingAutoConfiguration to WebMvcTest
...
Prior to this commit, tests using the `@WebMvcTest` annotation would not
include the `HttpEncodingAutoConfiguration`. This means that, even if
configured, the encoding filter would not be configured in MVC tests,
resulting in an inconsistency with `@SpringBootTest` tests.
This commit ensures that the `HttpEncodingAutoConfiguration` is included
when `@WebMvcTest` is used.
Fixes gh-23749
2020-10-22 20:02:45 +02:00
Scott Frederick
43cfebaca0
Ignore properties files in hidden directories
...
This commit modifies the logic for finding properties files using
wildcard paths to ignore files if any part of the file path contains
a hidden directory. Hidden directories are common when Kubernetes
mounts config maps onto volumes in a pod, which was causing the same
properties files to be loaded multiple times.
Fixes gh-23160
2020-10-21 18:01:44 -05:00
Stephane Nicoll
37cbf1bb2d
Start building against Spring Kafka 2.5.7 snapshots
...
See gh-23787
2020-10-21 15:27:42 +02:00
Stephane Nicoll
77637ddd7d
Start building against Spring AMQP 2.2.12 snapshots
...
See gh-23784
2020-10-21 15:27:03 +02:00
Stephane Nicoll
55a0152fe5
Start building against Spring Integration 5.3.3 snapshots
...
See gh-23780
2020-10-21 15:26:27 +02:00
Stephane Nicoll
5e6595b771
Start building against Spring Data Neumann-SR5 snapshots
...
See gh-23777
2020-10-21 15:25:46 +02:00
Stephane Nicoll
a601901a6c
Start building against Spring Kafka 2.3.12 snapshots
...
See gh-23786
2020-10-21 15:06:01 +02:00
Stephane Nicoll
2415987c70
Start building against Spring AMQP 2.2.12 snapshots
...
See gh-23783
2020-10-21 15:05:07 +02:00
Stephane Nicoll
bc8d200905
Start building against Spring Data Moore-SR11 Snapshots
...
See gh-23776
2020-10-21 15:04:18 +02:00
Stephane Nicoll
e61595927b
Start building against Reactor Dysprosium-SR13 snapshots
...
See gh-23770
2020-10-21 10:11:09 +02:00
Stephane Nicoll
551623435b
Start building against Spring Framework 5.2.10 snapshots
...
See gh-23773
2020-10-21 09:49:47 +02:00
Stephane Nicoll
7b4e3462ec
Start building against Reactor Dysprosium-SR13 snapshots
...
See gh-23769
2020-10-21 09:48:50 +02:00
Stephane Nicoll
4371a3c080
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23764
2020-10-20 17:05:49 +02:00
Stephane Nicoll
4f4cc8b182
Polish contribution
...
See gh-23755
2020-10-20 16:56:30 +02:00
cdalexndr
2f2b1b9656
Note that using LiveReload requires Devtools restart to be enabled
...
See gh-23755
2020-10-20 16:53:49 +02:00
Stephane Nicoll
f4e822f650
Prevent access to the EMF within the singleton lock
...
This commit makes sure to defer registration of hibernate statistics
outside of the singleton lock as it can lead to deadlocks when the
EntityManagerFactory is initialized in deferred mode.
Closes gh-23740
2020-10-20 09:59:07 +02:00
Stephane Nicoll
b7a8b0f19b
Hacking
...
See gh-23740
2020-10-20 09:32:40 +02:00
Andy Wilkinson
633027b1cd
Upgrade to Gradle 6.7
...
Closes gh-23754
2020-10-19 17:52:01 +01:00
Andy Wilkinson
a754b791a2
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23750
2020-10-19 14:32:23 +01:00
Andy Wilkinson
11bc62fb83
Stop using PostConstruct to default session timeout to ServerProperties'
...
Fixes gh-23716
2020-10-19 14:31:01 +01:00
Stephane Nicoll
dd74810c80
Revert "Fix detection logic for embedded databases"
...
This reverts commit c4a5a34702
.
See gh-23721
2020-10-19 12:25:00 +02:00
Andy Wilkinson
e8187f9bb0
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23743
2020-10-19 10:25:24 +01:00
Andy Wilkinson
2a40bd7853
Register shutdown hook so it can tidy up a partial refresh
...
Previously, the shutdown hook was only registered once refresh has
completed. If the JVM was shut down during refresh (or after refresh
and before the hook was registered) the hook wouldn't run and the
partially refreshed context would not be cleaned up.
This commit moves the registration of the shutdown hook to before
refresh processing begins. This ensures that the hook is available
to clean up the context if the JVM is shutdown while refresh is in
progress.
Fixes gh-23625
2020-10-19 09:16:07 +01:00
Andy Wilkinson
11b5e86ffd
Deprecate BootJar#getConfigurations
...
Fixes gh-23527
2020-10-17 07:54:38 +01:00
Asha Somayajula
c4a5a34702
Fix detection logic for embedded databases
...
Closes gh-23721
2020-10-17 07:51:24 +02:00
Scott Frederick
9c672deb2d
Add javadoc links in Maven plugin parameter docs
...
This commit modifies the documentation generated for the
Maven plugin to include links to javadoc when Spring
Boot types are mentioned. Some javadoc was also polished
to improve the generated docs.
Fixes gh-21555
2020-10-16 17:45:46 -05:00
Stephane Nicoll
6beb0c939f
Document how to override plugin configuration on the command line
...
Closes gh-21536
2020-10-16 10:57:30 +02:00
Stephane Nicoll
b210d0680a
Polish
2020-10-16 10:34:58 +02:00
Andy Wilkinson
0abe38d478
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23676
2020-10-13 13:18:53 +01:00
Andy Wilkinson
7fc345f587
Apply server.undertow.eager-filter-init to factory
...
Fixes gh-23675
2020-10-13 13:02:36 +01:00
Andy Wilkinson
a9a32f39b5
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23671
2020-10-13 11:20:18 +01:00
Andy Wilkinson
667ccdae84
Simplify temp directory creation and improve diagnostics
...
Closes gh-23622
2020-10-13 11:18:06 +01:00
Scott Frederick
de685bdca4
Document buildpack configuration of JVM options
...
Fixes gh-21582
2020-10-09 13:21:37 -05:00
Scott Frederick
49b0707f1a
Clarify image builder configuration documentation
...
This commit qualifies examples of configuring the CNB builder to clarify
that the examples apply to use of the default Paketo builder, and adds links
to the official Paketo docs for more details.
Fixes gh-19967
2020-10-08 17:02:17 -05:00
Phillip Webb
0709c7671f
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23614
2020-10-07 11:41:11 -07:00
Phillip Webb
ce70e7d768
Merge branch '2.1.x' into 2.2.x
...
Closes gh-23613
2020-10-07 11:40:55 -07:00
Phillip Webb
1db2f5f960
Support Formatter conversion service beans
...
Update `ConversionServiceDeducer` to also include `Formatter` beans
when they are qualified with `@ConfigurationPropertiesBinding`.
Fixes gh-23576
2020-10-07 11:34:57 -07:00
Phillip Webb
61181b4554
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23611
2020-10-07 11:05:22 -07:00
Phillip Webb
c523295694
Merge branch '2.1.x' into 2.2.x
...
Closes gh-23610
2020-10-07 11:04:39 -07:00
Phillip Webb
206356728c
Add upgrading section to reference docs
...
Add a section to the reference documentation with links to the release
notes on the wiki.
Closes gh-23529
2020-10-07 11:04:20 -07:00
Andy Wilkinson
543763462c
Update tests to look for snippets in correct location
...
See gh-23598
2020-10-06 15:57:25 +01:00
Andy Wilkinson
7eb92cc71a
More Gradle snippets to correct location
...
See gh-23598
2020-10-06 14:44:26 +01:00
Andy Wilkinson
2d3291fb83
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23598
2020-10-06 14:35:49 +01:00
Andy Wilkinson
7ac14203ab
Expand Gradle plugin's docs on setting bootRun's system properties
...
Closes gh-23578
2020-10-06 14:35:30 +01:00
Thorasine
6c3dfac1d0
Fix typos
...
See gh-23561
2020-10-02 09:32:26 +02:00
Madhura Bhave
e2289e2f21
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23569
2020-10-01 18:19:35 -07:00
Madhura Bhave
c0f158dffd
Polish "Do not fail if h2Console bean cannot connect to db"
...
See gh-23566
2020-10-01 18:16:11 -07:00
Shraddha Yeole
2d76de29ff
Do not fail if h2Console bean cannot connect to db
...
See gh-23566
2020-10-01 18:10:48 -07:00
Madhura Bhave
9a6d52e30d
Merge branch '2.2.x' into 2.3.x
2020-10-01 18:01:53 -07:00
Madhura Bhave
3118ca9313
Polish
2020-10-01 18:01:11 -07:00
Madhura Bhave
121ba2b0ab
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23567
2020-10-01 17:16:37 -07:00
ketaki-t
66aa24b5f0
Remove documentation for unsupported gradle versions
...
See gh-23562
2020-10-01 17:13:26 -07:00
Andy Wilkinson
914dccade2
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23555
2020-10-01 12:30:16 +01:00
Andy Wilkinson
323af718e2
Only change the method of requests that Jetty won't handle by default
...
Previously, JettyEmbeddedErrorHandler would change the method of every
request that is handles to GET. This was being done to work around
Jetty's error handling only dealing with GET, POST, and HEAD requests
by default. It had the unwanted side-effect of causing an error
response to a HEAD request having a body as, from the error handling's
perspective, it was a GET request.
This commit updates JettyEmbeddedErrorHandler to only set the method
on a request for which error handling is being performed if the method
isn't already one that will be handled, leaving the method of GET,
POST, and HEAD requests unchanged.
Unfortunately, short of implementing an HTTP client, this change cannot
be tested as the Apache HttpClient, OkHttp, and the JDK's
HttpURLConnection all silently drop the body of a response to a HEAD
request, preventing a test from asserting that a body hasn't been sent.
Closes gh-23551
2020-10-01 12:29:44 +01:00
Andy Wilkinson
bd4934b0fd
Fix matching of SNAPSHOT artifacts when customizing layers
...
Previously the artifact's version was used. In an artifact's version,
SNAPSHOT is replaced with the timestamped version number of a specific
snapshot. As a result, it no longer matches the *:*:*SNAPSHOT pattern.
This commit replaces switches to using the artifact's base version.
This preserves the SNAPSHOT in the version number. For non-snapshot
artifacts, the version and base version are identical.
Fixes gh-23533
2020-09-30 14:48:04 +01:00
Stephane Nicoll
cd15cbdc79
Do not execute datasource initialization in a separate thread
...
This commit makes sure that `data.sql` is performed in the same thread
as the one initializing the JPA container.
Closes gh-22852
2020-09-30 10:10:16 +02:00
Stephane Nicoll
789fafadac
Start building against Spring Framework 5.3.10 snapshots
...
See gh-23526
2020-09-30 10:00:21 +02:00
Stephane Nicoll
466c1012d6
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23521
2020-09-29 10:44:30 +02:00
Stephane Nicoll
fd3683646a
Migrate SessionAutoConfigurationMongoTests to Testcontainers
...
Closes gh-23512
2020-09-29 10:34:59 +02:00
Stephane Nicoll
2c1634e6ed
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23508
2020-09-28 09:21:51 +02:00
Rujun Chen
8330752b11
Add mising entry for Netty tcnative dependency management
...
See gh-23502
2020-09-28 09:18:44 +02:00
Andy Wilkinson
9bd040cb0f
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23500
2020-09-26 09:16:46 +01:00
Andy Wilkinson
e74f777971
Remove use of spring-core's Assert from PropertiesLauncher
...
Fixes gh-23474
2020-09-26 09:11:05 +01:00
Andy Wilkinson
df5cd21ca5
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23481
2020-09-24 19:04:17 +01:00
Andy Wilkinson
6dc8e6815d
Align default tldScanPatterns with Tomcat's
...
Previously, we configured embedded Tomcat in such a way that no TLD
scan patterns were configured. This differed from a standalone
Tomcat installation where 4 patterns are configured that take
precedence over some of the skip patterns. The missing scan patterns
resulted in the skip patterns preventing the discovery of Log4j2's
TLDs.
This commit updates TomcatServletWebServerFactory to configure the
same four scan patterns as standalone Tomcat configures by default.
Fixes gh-23302
2020-09-24 17:51:38 +01:00
Andy Wilkinson
e626f7f47e
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23477
2020-09-24 14:45:55 +01:00
Andy Wilkinson
bf9d23e55a
Consider SpringBootTest's web environment in context cache key
...
Previously, the web environment configured on `@SpringBootTest` was not
part of the context cache key. As a result, two test classes that has
identical configuration other than one using a MOCK web environment and
the other using a DEFINED_PORT web environment would share a context
when they should not do so. Classes that use MOCK and RANDOM_PORT were
not affected as the use of RANDOM_PORT results in a property for the
port being added to the environment.
This commit adds a new ContextCustomizer, SpringBootTestWebEnvironment,
that is used to capture the `webEnvironment` from `@SpringBootTest`
and use it in its hashCode and equals implementations. This fixes the
problem as all context customizers are evaluated when determing the
equality of two context cache keys.
Fixes gh-23085
2020-09-24 14:43:51 +01:00
Stephane Nicoll
b3c5588c86
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23461
2020-09-23 14:36:41 +02:00
Pavel Gordon
62eb835a4e
Fix link to Log4j's JDK Logging Adapter in reference documentation
...
See gh-23459
2020-09-23 14:36:00 +02:00
Andy Wilkinson
232c310df2
Merge branch '2.2.x' into 2.3.x
2020-09-22 16:26:39 +01:00
Andy Wilkinson
24102656f2
Fix Log4j2 XML configuration tests on Windows
...
See gh-22983
2020-09-22 16:03:58 +01:00
Stephane Nicoll
3adf06df17
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23452
2020-09-22 16:45:08 +02:00
Stephane Nicoll
2999f09a40
Rework tip on templates location in the IDE
...
This commit rework the tip on locating templates when running the app
in the IDE. Using classpath* should not change anything as this won't
make a difference without a pattern in the path.
Closes gh-23068
2020-09-22 16:44:16 +02:00
Stephane Nicoll
531690b8e1
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23448
2020-09-22 15:21:04 +02:00
Stephane Nicoll
7f84a92ef1
Document that Java 15 is supported
...
Closes gh-23447
2020-09-22 15:19:47 +02:00
Stephane Nicoll
37ded9f6d3
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23446
2020-09-22 10:10:24 +02:00
dreis2211
fba1fb23e4
Fix multi-release JAR test on JDK 15
...
Backport of 54f93e9
See gh-23445
2020-09-22 10:09:18 +02:00