Andy Wilkinson
64ee54423a
Polish "Configure ForwardedHeaderFilter with Tomcat's use relative redirects"
...
See gh-29333
2022-02-10 15:01:57 +00:00
Guirong Hu
cec69feb95
Configure ForwardedHeaderFilter with Tomcat's use relative redirects
...
Previously, when Tomcat was configured to use relative redirects
and the ForwardedHeaderFilter is in use, the filter would ignore
the use of the relative redirects.
This commit corrects this misalignment by applying Tomcat's use
relative redirects setting to the filter, but only when Tomcat is
being used as the servlet container.
See gh-29333
2022-02-10 15:01:56 +00:00
Stephane Nicoll
48649192cb
Fix schema file name for Batch auto-configuration tests
...
Closes gh-29648
2022-02-04 09:49:15 +01:00
Stephane Nicoll
5fe6176966
Polish "Add a note on early init with @ConditionalOnExpression"
...
See gh-29276
2022-02-01 16:32:27 +01:00
Mihail Cornescu
fce3cd1684
Add a note on early init with @ConditionalOnExpression
...
See gh-29276
2022-02-01 16:24:13 +01:00
Stephane Nicoll
7f17f819a6
Polish "Enforce use of BDDMockito"
...
See gh-29178
2022-02-01 10:03:18 +01:00
Yanming Zhou
b49418aaaf
Enforce use of BDDMockito
...
1. Replace Mockito.verify*() with BDDMockito.then()
2. Replace Mockito.doReturn() with BDDMockito.willReturn()
3. Adjust checkstyle rule
See gh-29178
2022-02-01 09:37:15 +01:00
Phillip Webb
d211b0f3b3
Disable test is Docker is not available
...
See gh-28843
2022-01-19 15:53:07 -08:00
Andy Wilkinson
1b3d088056
Move JdbcSessionDataSourceInitializerTests into src/test/java
...
Closes gh-29484
2022-01-19 17:26:55 +00:00
Andy Wilkinson
d051146eb4
Use Testcontainers instead on Embedded Mongo
...
We've seen some problems, particularly on CI, where Embedded Mongo
hangs while trying to start the Mongo process. To limit the problem,
this commit replaces the use of Embedded Mongo with Testcontainers
where we can, leaving Embedded Mongo in use only where we're
specifically testing our Embedded Mongo support.
Closes gh-28843
2022-01-14 15:48:31 +00:00
Phillip Webb
f3bcbca841
Update copyright year of changed files
2021-12-16 13:05:17 -08:00
Stephane Nicoll
30ebb17b2b
Polish
2021-12-15 16:38:27 +01:00
Stephane Nicoll
157b3aa25f
Allow platform to be configured in DataSourceInitializers
...
Closes gh-28932
2021-12-14 15:07:32 +01:00
Stephane Nicoll
f6f5aec183
Polish "Check for the presence of Spring Security"
...
See gh-28967
2021-12-10 10:59:00 +01:00
Guirong Hu
4462f9157e
Check for the presence of Spring Security
...
See gh-28967
2021-12-10 10:58:30 +01:00
Andy Wilkinson
03e283a2e6
Mention WebProperties in deprecation of ResourceProperties
...
Closes gh-28762
2021-11-22 10:03:21 +00:00
Stephane Nicoll
7fbb9d471b
Polish "Upgrade to Neo4j Java Driver 4.2.8"
...
See gh-28717
2021-11-17 16:14:25 +01:00
Stephane Nicoll
4c193a1511
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28672
2021-11-14 08:24:48 +01:00
Stephane Nicoll
d21c48e474
Update copyright year of changed file
...
See gh-28532
2021-11-14 08:23:32 +01:00
Josh Cummings
d817029575
Harmonize @ConditionalOnMissingBean definition
...
See gh-28532
2021-11-14 08:19:43 +01:00
Andy Wilkinson
5e4a502b2d
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28661
2021-11-12 20:31:25 +00:00
Andy Wilkinson
2cec3971d7
Prohibit unwanted dependencies in all modules not just starters
...
Closes gh-28658
2021-11-12 20:04:35 +00:00
Andy Wilkinson
3b180f42b7
Polish
2021-11-11 10:34:04 +00:00
Andy Wilkinson
23197c34c7
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28606
2021-11-11 09:55:21 +00:00
Andy Wilkinson
c018788846
Test JTA auto-configured from JNDI
...
Closes gh-28594
2021-11-11 09:54:50 +00:00
Andy Wilkinson
b5653ad551
Merge branch '2.4.x' into 2.5.x
2021-11-10 20:17:36 +00:00
Andy Wilkinson
f3b5e6bb3e
Adapt to removal of static resource location filtering
...
See gh-28506
2021-11-10 20:15:56 +00:00
Stephane Nicoll
cd5508a679
Polish
2021-11-05 13:43:38 +01:00
Andy Wilkinson
07ed7ab944
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28482
2021-10-29 11:37:33 +01:00
Andy Wilkinson
2462f67be4
Align test for spring.data.mongodb.autoIndexCreation with new default
...
Closes gh-28481
2021-10-29 11:23:35 +01:00
Andy Wilkinson
ae93bb3a11
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28479
2021-10-29 11:12:04 +01:00
Andy Wilkinson
10f0017d69
Fix method validation in child contexts
...
Bean post-processors only apply to the context in which they're
registered. ValidationAutoConfiguration will only auto-configure the
MethodValidationPostProcessor if the post-processor is missing from
the current context and any of its ancestors. If an ancestor context
contains the post-processor it will not be auto-configured and the
descendant context will not have method validation configured.
This commit updates the auto-configuration to limit the search for
an existing MethodValidationPostProcessor bean to the current
context.
Fixes gh-27890
2021-10-29 10:08:57 +01:00
Stephane Nicoll
66553ac8c7
Add .gitattributes
...
Closes gh-28473
2021-10-28 15:27:49 +02:00
Stephane Nicoll
1b3f52d609
Harmonize line endings
...
See gh-27615
2021-10-28 15:22:57 +02:00
Andy Wilkinson
50d4eaad63
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28439
2021-10-22 15:23:07 +01:00
Andy Wilkinson
a545b6e0b4
Polish "Polish"
...
See gh-28367
2021-10-22 15:19:13 +01:00
Leo Li
1586232761
Polish
...
See gh-28367
2021-10-22 15:11:57 +01:00
Andy Wilkinson
585b8880c7
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28424
2021-10-22 10:10:50 +01:00
Andy Wilkinson
7f976dab9e
Polish "Don't use markdown syntax in javadoc or error messages"
...
See 2f6651c3cbe4546158b97a5d02d47634855cf88a.
Closes gh-28408
2021-10-22 10:08:27 +01:00
Phillip Webb
daf36dff55
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28424
2021-10-21 11:27:29 -07:00
Phillip Webb
2f6651c3cb
Don't use markdown syntax in javadoc or error messages
...
Closes gh-28408
2021-10-21 11:24:54 -07:00
Andy Wilkinson
f2ef8f9245
Start building against Spring Framework 5.3.12 snapshots
...
This reverts commit 196013fc3929106e183241e6af9b9b534c9cdc2b, reversing
changes made to 8b0c563832844938e3f5ad3ae2da1a240ff80d67.
Closes gh-28384
See gh-28241
2021-10-19 18:41:23 +01:00
Andy Wilkinson
971bdd36fe
Start building against Framework 5.3.12 snapshots
...
This reverts commit b32a38a8147ccc84cfdfe9edba3eface01fa1a04.
See gh-28223
Closes gh-28369
2021-10-19 17:50:59 +01:00
Andy Wilkinson
c8e0791b50
Merge branch '2.4.x' into 2.5.x
...
Closes gh-28379
2021-10-19 14:17:53 +01:00
Andy Wilkinson
5fe75f3d58
Improve diagnostics when no DSLContext due to R2DBC
...
Fixes gh-28378
2021-10-19 13:52:45 +01:00
Andy Wilkinson
196013fc39
Merge branch '2.4.x' into 2.5.x
...
See gh-28241
2021-10-18 10:23:31 +01:00
Andy Wilkinson
b32a38a814
Work around unwanted static resource warnings from WebFlux and MVC
...
See gh-28223
2021-10-18 10:15:53 +01:00
Phillip Webb
02b577390f
Merge branch '2.4.x' into 2.5.x
2021-10-13 18:47:51 -07:00
Phillip Webb
0561992c2a
Update copyright year of changed files
2021-10-13 18:45:38 -07:00
Phillip Webb
9abf9e6731
Modify more tests for static resource location filtering
...
Fix `WebFluxAutoConfigurationTests` following upstream Spring Framework
changes. Also refine `WebMvcAutoConfigurationTests` to check the locations
are set even if they are filtered.
See gh-28223
2021-10-13 18:45:22 -07:00