Commit Graph

1261 Commits

Author SHA1 Message Date
Phillip Webb
4bbbc0d687 Merge branch '3.4.x'
Closes gh-45193
2025-04-14 16:18:50 -07:00
Phillip Webb
b80bdbb182 Merge branch '3.3.x' into 3.4.x
Closes gh-45192
2025-04-14 16:18:41 -07:00
Johnny Lim
08c67cc353 Replace deprecated Project.task()
See gh-45009

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-04-14 16:17:53 -07:00
Phillip Webb
5b165b35e3 Used nested format for ECS structure logging
Update `ElasticCommonSchemaStructuredLogFormatter` implementations so
that nested JSON is used for entries that previous has a '.' in the
name. This format follows the ECS specification and should be compatible
with more backends.

Fixes gh-45063
2025-04-14 15:30:14 -07:00
Tran Ngoc Nhan
106e9f54ab Migrate from AntPathRequestMatcher to PathPatternRequestMatcher
See gh-45163

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-04-11 17:23:51 -07:00
Phillip Webb
c263c85de8 Start building against Spring Security 6.5.0-RC1 snapshots
See gh-45147
2025-04-10 15:09:41 -07:00
Phillip Webb
4732958f5c Merge branch '3.4.x'
Closes gh-45038
2025-04-08 11:27:48 -07:00
Phillip Webb
3f1b01a007 Merge branch '3.3.x' into 3.4.x
Closes gh-45037
2025-04-08 11:25:26 -07:00
Johnny Lim
0dc0240c06 Polish
Signed-off-by: Johnny Lim <izeye@naver.com>

See gh-45036
2025-04-08 10:50:04 -07:00
Phillip Webb
bc91c35644 Merge branch '3.4.x'
Closes gh-44993
2025-04-03 18:05:13 -07:00
Phillip Webb
c96835bc9d Merge branch '3.3.x' into 3.4.x
Closes gh-44992
2025-04-03 18:02:57 -07:00
Andy Wilkinson
5e8812abb1 Merge branch '3.4.x'
Closes gh-44969
2025-04-01 10:33:23 +01:00
Andy Wilkinson
b1fb36bf4b Merge branch '3.3.x' into 3.4.x
Closes gh-44968
2025-04-01 10:31:59 +01:00
Andy Wilkinson
a8381e7cbd Ensure that only spring-core's ReflectionUtils is used
Closes gh-44837
2025-04-01 10:30:58 +01:00
Moritz Halbritter
f573f19aa5 Fix race condition in SampleQuartzApplicationWebTests 2025-03-28 14:16:46 +01:00
Andy Wilkinson
b60194441e Upgrade to JUnit Jupiter 5.12.1
Closes gh-44780
2025-03-19 09:29:57 +00:00
Moritz Halbritter
a53aba6abc Merge branch '3.4.x'
This sets the default value of 'server.tomcat.use-apr' to 'NEVER'.

Closes gh-44705
2025-03-13 08:58:18 +01:00
Moritz Halbritter
7fcf34eaeb Add property 'server.tomcat.use-apr' to control Tomcat's APR
The property's default depends on the Java version. On Java < 24, it defaults
to WHEN_AVAILABLE, on Java >=24 it defaults to NEVER.

Closes gh-44033
2025-03-13 08:40:16 +01:00
Stéphane Nicoll
3ea9c56ea0 Merge branch '3.4.x'
Closes gh-44685
2025-03-12 08:59:27 +01:00
Stéphane Nicoll
013f3b8741 Merge branch '3.4.x'
Closes gh-44522
2025-03-04 15:24:23 +01:00
Stéphane Nicoll
72289e22d9 Merge branch '3.3.x' into 3.4.x
Closes gh-44521
2025-03-04 15:24:10 +01:00
Stéphane Nicoll
9b41bbdc5c Polish Spring-WS smoke test
This commit polishes the smoke test for Spring Web Services, namely
clearing unused dependencies and clarify the necessary configuration:

1. No need to extend from `WsConfigurationAdapter` if no advanced
configuration is required
2. Spring Web Services creates a `XsdSchema` bean whose name matches
the name of the file. Added a `@Qualifier("hr")` to make that more
obvious as it would break if an additional schema was to be added.

Closes gh-44515
2025-03-04 11:41:44 +01:00
Phillip Webb
7f5faeb260 Merge branch '3.4.x' 2025-02-19 16:00:00 -08:00
Phillip Webb
575655ca39 Upgrade Tomcat 11 smoke tests to Tomcat 11.0.4 2025-02-19 15:59:02 -08:00
Moritz Halbritter
dae891f473 Add SSL service connection support for Kafka
See gh-41137
2025-02-17 13:23:16 +01:00
Moritz Halbritter
789d30deab Add SSL service connection support for ElasticSearch
See gh-41137
2025-02-17 13:23:16 +01:00
Moritz Halbritter
7cf9cc74a2 Add SSL service connection support for Redis
See gh-41137
2025-02-17 13:23:16 +01:00
Moritz Halbritter
109fd6f97d Add SSL service connection support for MongoDB
See gh-41137
2025-02-17 13:23:16 +01:00
Moritz Halbritter
0ccf1b81d8 Add SSL service connection support for Couchbase
See gh-41137
2025-02-17 13:23:16 +01:00
Moritz Halbritter
9c520d6af7 Add SSL service connection support for Cassandra
See gh-41137
2025-02-17 13:23:16 +01:00
Moritz Halbritter
e26ccbe028 Add SSL service connection support for AMQP
See gh-41137
2025-02-17 13:23:15 +01:00
Andy Wilkinson
0be4062116 Merge branch '3.4.x'
Closes gh-44213
2025-02-11 11:35:12 +00:00
Andy Wilkinson
30d7af4e38 Add CI with Java 24
Closes gh-44205
2025-02-11 11:34:43 +00:00
Andy Wilkinson
f108395002 Merge branch '3.4.x'
Closes gh-44212
2025-02-11 11:10:37 +00:00
Andy Wilkinson
b8f64681ad Merge branch '3.3.x' into 3.4.x
Closes gh-44211
2025-02-11 11:10:28 +00:00
Andy Wilkinson
5c8d9d910a Update LoaderIntegrationTests as Java 23 is no longer in early access
Closes gh-44208
2025-02-11 11:09:36 +00:00
Dmytro Nosan
fbeace397f Add the ability to trigger a Quartz job through an Actuator endpoint
Add new methods to `QuartzEndpoint` and `QuartzEndpointWebExtension`
to allow a Quartz job to be triggered on demand.

See gh-43086

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-02-04 16:29:39 -08:00
Phillip Webb
2b72e1170a Remove spring-boot-smoke-test-pulsar4
Closes gh-43535
2025-02-04 13:50:59 -08:00
Moritz Halbritter
61d7f3783e Implement config data loader to load from environment variables
The config data loader supports the env: prefix and also accepts
extension hints.

Example: env:VAR1[.properties] reads the environment
variable 'VAR1' in properties format (using the
PropertiesPropertySourceLoader).

The PropertySourceLoaders are loaded via spring.factories.

Also adds a smoke test to test it end to end.

Closes gh-41609
2025-01-31 09:33:28 +01:00
Dmytro Nosan
6ba8e9b089 Fix SystemStatusListener to prevent superfluous output
Fix `SystemStatusListener` so that superfluous output is not
printed when starting an application. This change ensures that
the `SystemStatusListener` is not added twice, and that
retrospective logging only occurs when `debug` is true.

See gh-43931

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-01-28 11:15:55 -08:00
Dmytro Nosan
258eb29978 Register Logback StatusListener when using custom Logback file
Update `LogbackLoggingSystem` so that the `OnErrorConsoleStatusListener`
is also registered when loading a custom Logback configuration file.

See gh-43931

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-01-27 22:26:53 -08:00
Phillip Webb
3ff6e0b5a9 Merge branch '3.4.x' 2025-01-24 19:24:42 -08:00
Phillip Webb
8ec61b9870 Polish 'Refactor @ConfigurationProperties that only use prefix'
See gh-43917
2025-01-24 14:59:32 -08:00
Yanming Zhou
c1d97ffe16 Refactor @ConfigurationProperties that only use prefix
See gh-43917

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-01-24 14:58:36 -08:00
Andy Wilkinson
049fe3eadd Merge branch '3.4.x'
Closes gh-43891
2025-01-21 12:10:35 +00:00
Andy Wilkinson
00f88b9e05 Remove overly specific casts from SslConnectorCustomizer
Closes gh-43849
2025-01-21 12:09:46 +00:00
Andy Wilkinson
9b123926b2 Align profile names with new restrictions
See gh-43176
2025-01-15 15:02:06 +00:00
Andy Wilkinson
eef61c2ac9 Align profile names with new restrictions
See gh-43176
2025-01-15 12:21:21 +00:00
Dmytro Nosan
c256f41fce Logback StructuredLogFormatter exceptions are not visible to the user
Before this commit, any exceptions thrown in Logback encoders
were just swallowed. This commit adds the FilteringStatusListener
that delegates to OnErrorConsoleStatusListener to print any errors
that happened in logback encoders.

See gh-43575

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-01-13 13:01:44 +01:00
Phillip Webb
a49719d73e Use consistent exception messages in Assert calls
Update `Assert` calls to consistently use messages of the form
"'item' must [not] ...".

Closes gh-43780
2025-01-11 21:18:47 -08:00