Andy Wilkinson
a7d52226d5
Polish "Improve toString of SslBundle implementations"
...
See gh-39137
2024-01-17 11:50:34 +00:00
amparab
b49ccbb0c2
Improve toString of SslBundle implementations
...
See gh-39137
2024-01-17 11:37:18 +00:00
Andy Wilkinson
31936f036b
Remove FlywayMigrationScriptMissingFailureAnalyzer from spring.factories
...
Closes gh-39102
2024-01-11 13:55:05 +00:00
Andy Wilkinson
45c32854a5
Fix Checkstyle upgrade
...
Closes gh-38746
2024-01-10 15:37:38 +00:00
BenchmarkingBuffalo
56f00c4c21
Move autoStartup property
...
Move the property 'autoStartup' from BaseContainer to AmqpContainer.
See gh-39072
2024-01-10 09:52:28 +01:00
Phillip Webb
95a8fa561c
Correctly order @AutoConfigureAfter values when sorting
...
Update `AutoConfigurationSorter` so that `getClassesRequestedAfter()`
results are sorted to match the earlier name/order sorting. Prior to
this commit the order of items added via `@AutoConfigureAfter` was in
an undetermined order which could cause very subtle `@ConditionalOnBean`
bugs.
Thanks very much to Alexandre Baron for their help in diagnosing and
reproducing this issue.
Fixes gh-38904
2023-12-22 08:20:25 -08:00
Phillip Webb
b00d5fabe8
Auto-configure Hibernate JPA before DataSource TransactionManager
...
Fixes gh-38861
2023-12-19 23:44:48 -08:00
Yanming Zhou
ac18e3015c
Use .isEmpty()
where feasible
...
See gh-38739
2023-12-19 22:38:05 -08:00
Moritz Halbritter
b8021dbc65
Exclude Rabbit Stream when testing RabbitAutoConfiguration
...
The stream auto-configuration is tested in RabbitStreamConfigurationTests,
and excluding it prevents the creation of the "rabbitStreamEnvironment"
Environment bean, which delays the application context close by 1 second
because it has to wait for some Netty resources to gracefully shut down.
Closes gh-38750
2023-12-12 16:12:22 +01:00
Donghun Shin
f922b3de03
Rename local variable in BatchAutoConfiguration
...
See gh-38674
2023-12-11 08:25:39 +01:00
Lars Uffmann
5981a3fd33
Build against UCP and JDBC driver for Oracle Database variant ucp11
...
See gh-38654
2023-12-05 11:40:35 +01:00
Phillip Webb
bc504a8a03
Fix @ConditionalOnBean with annotation early FactoryBean initialization
...
Update `OnBeanCondition` with a variant of `getBeanNamesForAnnotation`
that does not cause early `FactoryBean` initialization.
Fixes gh-38473
2023-11-22 11:10:59 -08:00
Moritz Halbritter
eddb17473b
Fix deprecation clause on MongoPropertiesClientSettingsBuilderCustomizer
2023-11-22 10:29:12 +01:00
Moritz Halbritter
24cb05cb59
Merge branch '3.0.x' into 3.1.x
...
Closes gh-38338
2023-11-13 11:49:51 +01:00
Lars Uffmann
e41b36273f
Remove unnecessary JobOperator bean definition
...
See gh-38325
2023-11-13 11:46:38 +01:00
Andy Wilkinson
b6a9c67719
Avoid adding Jetty's upgrade filter to non-Jetty servers
...
Fixes gh-38181
2023-11-09 20:30:35 +00:00
Andy Wilkinson
1e1effe131
Merge branch '3.0.x' into 3.1.x
...
Closes gh-38267
2023-11-08 16:59:15 +00:00
Andy Wilkinson
6d46c24db7
Merge branch '2.7.x' into 3.0.x
...
Closes gh-38266
2023-11-08 15:58:40 +00:00
Andy Wilkinson
7c73a034b6
Improve backwards- and forwards-compatibility of Flyway auto-config
...
Closes gh-38164
2023-11-08 15:17:49 +00:00
Moritz Halbritter
3560a13d57
Merge branch '3.0.x' into 3.1.x
...
Closes gh-38225
2023-11-06 10:27:42 +01:00
Yanming Zhou
d7ab153559
Use switch expression where feasible
...
See gh-38217
2023-11-06 10:27:04 +01:00
Eddú Meléndez
674f8fbb8d
Polish RabbitAutoConfiguration
...
See gh-38216
2023-11-06 08:57:19 +01:00
Andy Wilkinson
1fcf1fcc20
Merge branch '3.0.x' into 3.1.x
...
Closes gh-38151
2023-10-31 11:50:32 +00:00
Andy Wilkinson
8f4ea6834d
Merge branch '2.7.x' into 3.0.x
...
Closes gh-38150
2023-10-31 11:50:18 +00:00
Andy Wilkinson
020c2b364e
Fix handling of value that overflows an int
...
Closes gh-38146
2023-10-31 11:47:14 +00:00
Andy Wilkinson
4faabcfcdd
Merge branch '3.0.x' into 3.1.x
...
Closes gh-38018
2023-10-25 10:44:38 +01:00
Andy Wilkinson
b33ee84146
Merge branch '2.7.x' into 3.0.x
...
Closes gh-38017
2023-10-25 10:44:03 +01:00
Andy Wilkinson
8778884f5d
Clarify role of WebMvcRegistrations and WebMvcConfigurer
...
Closes gh-31232
2023-10-25 10:42:25 +01:00
Phillip Webb
9f3afb3636
Merge branch '3.0.x' into 3.1.x
2023-10-19 23:21:20 -07:00
Phillip Webb
7c864804d5
Merge branch '2.7.x' into 3.0.x
2023-10-19 23:21:08 -07:00
Phillip Webb
d47f8bf945
Update copyright year of changed files
2023-10-19 23:20:43 -07:00
Phillip Webb
1d456e09d2
Merge branch '3.0.x' into 3.1.x
...
Closes gh-37966
2023-10-19 21:12:52 -07:00
Phillip Webb
a0b999c8b4
Merge branch '2.7.x' into 3.0.x
...
Closes gh-37965
2023-10-19 20:55:51 -07:00
Phillip Webb
abdad1cabe
Constently use assertThatExceptionOf... assertions
...
Closes gh-37964
2023-10-19 20:17:26 -07:00
Andy Wilkinson
411586347c
Merge branch '3.0.x' into 3.1.x
...
Closes gh-37829
2023-10-11 15:04:21 +01:00
Andy Wilkinson
781ac2ece2
Merge branch '2.7.x' into 3.0.x
...
Closes gh-37828
2023-10-11 15:02:36 +01:00
Andy Wilkinson
5a75fae23b
Polish "Polish"
...
See gh-37745
2023-10-11 14:58:04 +01:00
Johnny Lim
303015ea2d
Polish
...
See gh-37745
2023-10-11 14:57:38 +01:00
Andy Wilkinson
1087827b9a
Merge branch '3.0.x' into 3.1.x
...
Closes gh-37805
2023-10-10 11:27:37 +01:00
Andy Wilkinson
5fcdee6bb5
Merge branch '2.7.x' into 3.0.x
...
Closes gh-37804
2023-10-10 11:26:39 +01:00
Andy Wilkinson
6df5389d76
Use RedisSeralizer.java(ClassLoader) factory method
...
Closes gh-37800
2023-10-10 11:25:22 +01:00
Andy Wilkinson
8cf686d925
Merge branch '3.0.x' into 3.1.x
...
Closes gh-37663
2023-10-03 16:27:19 +01:00
Andy Wilkinson
6353603d63
Avoid exposing Jetty's WebSocketUpgradeFilter as a bean
...
When the filter is exposed as a bean (directly or through a
registration bean), it's picked up by the auto-configuration of
MockMvc. This causes a problem as MockMvc does not call init on a
filter before it's used and WebSocketUpgradeFilter fails with a
NullPointerException if its doFilter method is called when its init
method has not been called.
This commit reworks the WebSocket auto-configuration to use a
ServletContextInitalizer to register WebSocketUpgradeFilter rather
than a FilterRegistrationBean. This ensure that the filter is still
registered at the required position in the chain (last filter before
the servlet) while also preventing it from being registered with the
auto-configured MockMvc in tests.
Closes gh-37660
2023-10-03 16:13:24 +01:00
Andy Wilkinson
a4100e12ff
Merge branch '3.0.x' into 3.1.x
...
Closes gh-37661
2023-10-03 11:05:51 +01:00
Andy Wilkinson
931584f8af
Merge branch '2.7.x' into 3.0.x
...
Closes gh-37659
2023-10-03 10:28:51 +01:00
Johnny Lim
c9932bb73a
Use AssertJ's fail, not JUnit's
...
This commit also updates Checkstyle to prevent use of JUnit's
assertions from being reintroduced.
See gh-37655
2023-10-03 10:11:12 +01:00
Andy Wilkinson
385e6278b7
Merge branch '3.0.x' into 3.1.x
2023-09-29 15:14:17 +01:00
Andy Wilkinson
26b9602596
Merge branch '2.7.x' into 3.0.x
2023-09-29 15:14:09 +01:00
Andy Wilkinson
0205b875a0
Polish
2023-09-29 15:13:58 +01:00
Andy Wilkinson
c4bccb2429
Merge branch '3.0.x' into 3.1.x
...
Closes gh-37632
2023-09-29 14:59:06 +01:00