Commit Graph

1874 Commits

Author SHA1 Message Date
Moritz Halbritter
bc3bcd68d6 Polish "Added documentation for configuring OpenTelemetry SDK logs"
See gh-41825
2024-09-05 16:59:19 +02:00
Phillip Webb
b05336d218 Merge branch '3.3.x' 2024-09-03 21:05:05 -07:00
Andy Wilkinson
2f9bc79fff Merge branch '3.3.x'
Closes gh-42096
2024-09-03 10:10:42 +01:00
Andy Wilkinson
d2f0b2b090 Correct package statements of Testing section's Kotlin snippets
Closes gh-42094
2024-09-03 10:05:19 +01:00
Andy Wilkinson
2ecb4ebd49 Ignore non-default candidates in type-based matching
Closes gh-22403
2024-08-20 14:36:12 +01:00
Stéphane Nicoll
f3693070ca Merge branch '3.3.x'
Closes gh-41950
2024-08-20 08:43:58 +02:00
Stéphane Nicoll
d62a5ac947 Merge branch '3.2.x' into 3.3.x
Closes gh-41949
2024-08-20 08:43:45 +02:00
Stéphane Nicoll
8243c7ba98 Polish "Harmonize web handler code sample"
See gh-41948
2024-08-20 08:41:54 +02:00
Furkan ÖZBEK
bfce07894c Harmonize web handler code sample
See gh-41948
2024-08-20 08:40:53 +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
Andy Wilkinson
5f666eec5b Reduce warnings reported by Eclipse
Closes gh-41598
2024-07-25 14:55:00 +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
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
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
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
Andy Wilkinson
373f4d7512 Merge branch '3.3.x' 2024-06-27 14:02:05 +01:00
Andy Wilkinson
0f830e91c9 Polish imports in testing doc examples
See gh-38361
2024-06-27 14:01:40 +01:00
Stéphane Nicoll
17ca0421e7 Upgrade to HtmlUnit 4.2.0 and Selenium HtmlUnit 4.20
Closes gh-41178
Closes gh-41179
2024-06-20 20:18:23 +01:00
Phillip Webb
147240aa0c Merge branch '3.2.x'
Closes gh-41080
2024-06-11 13:32:30 -07:00
Phillip Webb
dcccb3b2b1 Polish "Use method references when possible"
See gh-40974
2024-06-11 12:57:59 -07:00
Ahmed Ashour
507229eef8 Use method references when possible
See gh-40974
2024-06-11 12:57:55 -07:00
Phillip Webb
255bcc28e6 Merge branch '3.2.x'
Closes gh-41077
2024-06-11 10:48:52 -07:00
Phillip Webb
d37098153c Polish 2024-06-11 09:35:59 -07:00
Scott Frederick
2df0c7961a Reorganize packaging and optimizing documentation
Documentation for native executables, CDS, and checkpoint/restore are
now under a common heading in the reference documentation, along with
sections on building container images. A few sections containing
prescriptive workflows have been moved from reference to how-to guides.
This consolidates and improves the consistency of recommendations on
how to package and run applications.

Closes gh-40977
2024-06-06 16:11:10 -05:00
Moritz Halbritter
9e86230c06 Merge branch '3.2.x'
Closes gh-40943
2024-05-29 14:28:43 +02:00
erie0210
2e1ad6bdcc Add Kotlin example for @Testcontainers
See gh-40905
2024-05-29 14:28:11 +02:00
Phillip Webb
82d8222f56 Polish 2024-05-24 18:10:03 -07:00
Stéphane Nicoll
d945443f1f Add How-To documentation for ManagedClassNameFilter
This commit documents the support of ManagedClassNameFilter that was
added in gh-39813.

See gh-40617
2024-05-03 10:44:26 -05:00
Moritz Halbritter
ca6a321b87 Pull the whole "Testing" documentation section up to the top level
Closes gh-38361
2024-04-17 14:37:18 +02:00
Moritz Halbritter
00a10fdc52 Move Docker Compose and Testcontainers to separate section
See gh-38361
2024-04-17 14:05:52 +02:00
Phillip Webb
cff8cb98c7 Merge branch '3.1.x' into 3.2.x 2024-01-22 12:20:24 -08:00
Phillip Webb
e1986ea11e Update copyright year of changed files 2024-01-22 12:20:06 -08:00
Andy Wilkinson
7087897507 Merge branch '3.1.x' into 3.2.x
Closes gh-39091
2024-01-11 10:33:57 +00:00
Andy Wilkinson
45c32854a5 Fix Checkstyle upgrade
Closes gh-38746
2024-01-10 15:37:38 +00:00
Brian Clozel
e44e0c8f1e Remove ErrorAttributes.ERROR_ATTRIBUTE
This commit removes the now defunkt `ErrorAttributes.ERROR_ATTRIBUTE`
that was introduce to register handled errors as metrics. This has been
replaced since 3.0 by a direct support in Spring Framework and had no
effect whatsoever since that release.

This also updates the documentation to point to the Framework mechanism
that replaced it.

Fixes gh-33731
2023-12-14 11:26:45 +01:00
Moritz Halbritter
6330190913 Merge branch '3.1.x'
Closes gh-38728
2023-12-11 09:44:19 +01:00
Yanming Zhou
ebfbc0ef05 Cleanup kotlin sources
1. remove unused imports
2. remove redundant semicolon
3. remove empty class body
4. remove redundant 'constructor' keyword
5. remove redundant 'Unit' return type
6. use non-null type if possible

See gh-38708
2023-12-11 09:23:42 +01:00
Moritz Halbritter
ed7cf1043e Merge branch '3.1.x'
Closes gh-38353
2023-11-14 16:29:59 +01:00
Moritz Halbritter
83da5a5bd8 Document how to remove base path from Cloud Foundry actuator endpoints
Closes gh-24991
2023-11-14 16:29:28 +01:00
Phillip Webb
0ef87f5102 Merge branch '3.1.x' 2023-11-13 10:42:56 -08:00
Phillip Webb
b902bf6aca Merge branch '3.0.x' into 3.1.x 2023-11-13 10:42:32 -08:00
Phillip Webb
09e5a2f24a Update copyright year of changed files 2023-11-13 10:42:26 -08:00
Moritz Halbritter
580d569ed0 Merge branch '3.1.x'
Closes gh-38337
2023-11-13 11:40:51 +01:00
Moritz Halbritter
9334840f18 Reverse the tip for importing testcontainers declarations
They now use `@ServiceConnection` by default.

Closes gh-35629
2023-11-13 11:40:30 +01:00
Moritz Halbritter
260a0b65c9 Merge branch '3.1.x'
Closes gh-38336
2023-11-13 11:25:00 +01:00
Moritz Halbritter
5a3e588da4 Create a separate section for testcontainers at development time
Closes gh-35856
2023-11-13 11:16:59 +01:00
Moritz Halbritter
fc25d190b8 Merge branch '3.1.x'
Closes gh-38335
2023-11-13 10:36:46 +01:00