4288 Commits

Author SHA1 Message Date
Stéphane Nicoll
687b87f50a Merge branch '3.2.x' into 3.3.x
Closes gh-41622
2024-07-26 09:25:39 +02:00
Tran Ngoc Nhan
13023665dc Fix link to documentation for log4j-spring-boot
See gh-41612
2024-07-26 09:22:34 +02:00
Andy Wilkinson
e201b94d4f Merge branch '3.3.x'
Closes gh-41616
2024-07-25 16:17:52 +01:00
Andy Wilkinson
c642f6d268 Merge branch '3.2.x' into 3.3.x
Closes gh-41613
2024-07-25 16:16:35 +01:00
Phillip Webb
44dfd1f637 Merge branch '3.3.x'
Closes gh-41615
2024-07-25 15:28:51 +01:00
Phillip Webb
2199a313be Migrate to javadoc asciidoctor macro
Closes gh-41605
2024-07-25 15:25:00 +01:00
Andy Wilkinson
5f666eec5b Reduce warnings reported by Eclipse
Closes gh-41598
2024-07-25 14:55:00 +01:00
Phillip Webb
de3b14f2b4 Refine structured logging
Refine structured logging to support `Environment`, `ApplicationPid` and
`ElasticCommonSchemaService` injection. With these updates we are able
to remove the `ApplicationMetadata` class and simplify the parameters
passed to the layout/encoder classes.

Closes gh-41491
2024-07-24 19:06:07 +01:00
Andy Wilkinson
3ef2bcfe82 Merge branch '3.3.x'
Closes gh-41595
2024-07-23 16:21:37 +01:00
Andy Wilkinson
8de72c80c6 Polish "Add hint for new dependencies required for Flyway"
See gh-41574
2024-07-23 16:21:06 +01:00
Jan Mewes
0fa9467ef3 Add hint for new dependencies required for Flyway
See gh-41574
2024-07-23 16:20:59 +01:00
Stéphane Nicoll
282b3bc0a0 Merge branch '3.3.x'
Closes gh-41594
2024-07-23 16:46:25 +02:00
Stéphane Nicoll
53b275d0c7 Merge branch '3.2.x' into 3.3.x
Closes gh-41593
2024-07-23 16:46:16 +02:00
LamTrinh.Dev
b469c743e1 Fix link to Flyway reference documentation
See gh-41591
2024-07-23 16:41:44 +02:00
Andy Wilkinson
23b344691d Polish "Support @Name with JavaBean-based configuration properties"
See gh-39452
2024-07-23 14:00:20 +01:00
Andy Wilkinson
177a24d6a4 Merge branch '3.3.x'
Closes gh-41586
2024-07-23 09:11:56 +01:00
Andy Wilkinson
db4b483811 Merge branch '3.2.x' into 3.3.x
Closes gh-41585
2024-07-23 09:11:16 +01:00
Andy Wilkinson
9bb0c45ddb Add tip about using @Name to rename constructor bound property
Closes gh-41577
2024-07-23 09:08:42 +01:00
Andy Wilkinson
46ec3e3a07 Polish "Support service connections for redis-stack and redis-stack-server"
See gh-41327
2024-07-17 11:08:52 +01:00
Eddú Meléndez
2634d0c6b1 Support service connections for redis-stack and redis-stack-server
See gh-41327
2024-07-17 10:54:06 +01:00
Stéphane Nicoll
fc2890d1cd Use native connection factory with message listener containers
This commit updates the auto-configuration to use the native connection
factory for configuring message listener containers. Previously, the
connection factory that could have been wrapped in a caching connection
factory was used.

While using a caching connection factory is suitable for sending
messages (i.e. JmsTemplate usage), it isn't for message listeners as
they need to own the connection for local recovery purposes.

Closes gh-39816
2024-07-17 10:41:12 +02:00
Andy Wilkinson
350a70199c Merge branch '3.3.x'
Closes gh-41519
2024-07-16 08:48:05 +01:00
Andy Wilkinson
754e71d265 Merge branch '3.2.x' into 3.3.x
Closes gh-41518
2024-07-16 08:47:49 +01:00
Andy Wilkinson
17d6f90468 Document types to which format properties apply
Closes gh-41482
2024-07-16 08:47:30 +01:00
Andy Wilkinson
80cfd5e981 Merge branch '3.3.x'
Closes gh-41517
2024-07-16 08:45:39 +01:00
Andy Wilkinson
30d34c0c34 Merge branch '3.2.x' into 3.3.x
Closes gh-41516
2024-07-16 08:45:21 +01:00
Andy Wilkinson
6941d0e84b Document that logging.file.path if logging.file.name is set
Closes gh-41351
2024-07-16 08:45:01 +01:00
Moritz Halbritter
bf2950c045 Add support for structured logging
Update Logback and Log4j2 integrations to support structured logging.
Support for the ECS and Logstash JSON formats is provided out-of-the-box
and the `StructuredLogFormatter` interface may be used to if further
custom formats need to be supported.

Closes gh-5479

Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2024-07-15 11:45:41 +01:00
Stéphane Nicoll
4415b4ab1c Polish "Allow NestedConfigurationProperty on getters"
See gh-38844
2024-07-15 10:02:58 +02:00
Brian Clozel
c693b2bd8c Add support for webjars-locator-lite
This is a follow-up to spring-projects/spring-framework#27619
This commit adds support for "org.webjars:webjars-locator-lite" for
enabling the statis resources chain.

As of this commit, support for "org.webjars:webjars-locator-core" is
deprecated for obvious performance reasons.

Closes gh-40146
2024-07-12 19:17:17 +02:00
Andy Wilkinson
1cb8be007e Merge pull request #41464 from sdeleuze
* gh-41464:
  Refine CDS how-to guide

Closes gh-41464
2024-07-12 14:04:56 +01:00
Sébastien Deleuze
75e642e396 Refine CDS how-to guide
As explained in gh-41348, the BP_SPRING_AOT_ENABLED flag should
not be promoted as it can't work by design with our current
support when combined with CDS for various use cases and provides
little added value as the same behavior can be achieved by adding
-Dspring.aot.enabled=true to JAVA_TOOL_OPTIONS and
CDS_TRAINING_JAVA_TOOL_OPTIONS.

See gh-41464
2024-07-12 14:04:15 +01:00
Andy Wilkinson
cddf92e047 Polish "Deprecate @MockBean and @SpyBean"
See gh-39864
2024-07-12 13:49:11 +01:00
Jakob Wanger
24763940a0 Deprecate @MockBean and @SpyBean
- Deprecate Deprecate @MockBean and @SpyBean in favor of Spring
  Framework 6.2's @MockitoBean and @MockitoSpy
- Migrate usages of @MockBean and @SpyBean to @MockitoBean and
  @MockitoSpy

Signed-off-by: Jakob Wanger <jakobwanger@gmail.com>

See gh-39864
2024-07-12 12:18:01 +01:00
Andy Wilkinson
d07fe47102 Merge branch '3.3.x'
Closes gh-41447
2024-07-11 13:09:26 +01:00
Andy Wilkinson
784c8d2df4 Avoid duplicate junit-platform.properties files caused by Kafka
Gradle doesn't support excluding a dependency that's declared with a
classifier. Instead, this commit replaces the test-qualified
kafka-server-common dependency with the plain dependency. The plain
dependency was already present so this is equivalent to excluding
the test-qualified dependency.

Closes gh-41446
2024-07-11 13:08:58 +01:00
Andy Wilkinson
375b3b16a0 Remove APIs that were deprecated for removal in 3.4.0
Closes gh-41435
2024-07-10 13:31:21 +01:00
Moritz Halbritter
e3d878cca0 Merge branch '3.3.x'
Closes gh-41322
2024-07-04 16:03:10 +02:00
Moritz Halbritter
2a20ceb3fd Fix CDS link and clarify where and when to run the commands
Closes gh-41321
2024-07-04 16:01:37 +02:00
Stéphane Nicoll
156237227c Migrate MockMvc tests to MockMvcTester
See gh-41198
2024-07-03 15:09:10 +02:00
Stéphane Nicoll
e5859aedaf Add auto-configuration for MockMvcTester
This commit adds auto-configuration and documentation for MockMvcTester,
a wrapper of MockMvc that provides AssertJ integration as well as a
fluent API to build requests. The main differences compared to the
regular MockMvc are as follows:

* No need for static imports for building requests and define assertions
* No need to handle unchecked exception as they can be asserted instead
* Support for converting the response body to data types

Closes gh-41198
2024-07-03 15:09:10 +02:00
Moritz Halbritter
de001f5af1 Polish "Add standardized property to distinguish a group of applications"
See gh-39957
2024-07-03 11:54:49 +02:00
Jakob Wanger
8ddb77f628 Add standardized property to distinguish a group of applications
This adds a property to provide some indicator that a set of
applications are part of a larger "business application" so that they
can be viewed in metrics, portals, traces and more.

See gh-39957
2024-07-03 11:06:46 +02:00
Scott Frederick
17c5538062 Merge branch '3.3.x' 2024-07-01 11:24:00 -05:00
Scott Frederick
70e14d648d Polish documentation headings
Title case should be used in all headings.
2024-07-01 11:23:41 -05:00
Scott Frederick
28dc9cbb59 Merge branch '3.3.x' 2024-06-28 17:22:14 -05:00
Scott Frederick
03a7f48ac0 Polish documentation for xref hyperlink formatting consistency
This commit improves the consistency of xref link formatting (no
quotes, italics, or other decoration) and uses automatic link
text generation wherever possible.
2024-06-28 17:20:53 -05:00
Scott Frederick
24a8bbd82f Polish use of the term starter in documentation
Use of the term "starter" was sometimes quoted but sometimes was not,
sometimes used proper case and sometimes lowercase. This commit
improves consistency by removing quotes and using lowercase.
2024-06-28 17:19:30 -05:00
Andy Wilkinson
6749ad674f Polish "Add support for org.testcontainers.kafka.KafkaContainer"
See gh-40695
2024-06-27 15:10:58 +01:00
Andy Wilkinson
373f4d7512 Merge branch '3.3.x' 2024-06-27 14:02:05 +01:00