Commit Graph

4273 Commits

Author SHA1 Message Date
Moritz Halbritter 47129c0c81 Remove links to Spring Data GemFire
Closes gh-42575
2024-10-11 14:09:10 +02:00
Moritz Halbritter 95d7582f58 Fix wrong classname in logging documentation 2024-10-11 13:56:40 +02:00
Moritz Halbritter bd036eb29f Add MyCustomFormat.kt example to documentation
Closes gh-42594
2024-10-11 13:45:16 +02:00
Phillip Webb 8aee3e1e92 Allow structure logging JSON to be customized
Introduce a new `StructureLoggingJsonMembersCustomizer` interface as
well as additional properties that can be used to customize the JSON
produced with structured logging.

Closes gh-42486
2024-10-10 23:52:34 -07:00
Phillip Webb 763266f20d Rationalize structured logging service classes
Rename `ElasticCommonSchemaService` & `GraylogExtendedLogFormatService`
and change a few of the property names. The `Service` suffix was
originally chosen because ECS uses the term, but `Properties` is more
common in the Spring Boot codebase and works better for Graylog.

Closes gh-42578
2024-10-10 23:46:27 -07:00
Andy Wilkinson 3c095b4ec2 Prefer DynamicPropertyRegistar to DynamicPropertyRegistry
Closes gh-41996
2024-10-10 15:25:44 +01:00
Andy Wilkinson 9ef82dc864 Merge branch '3.3.x'
Closes gh-42521
2024-10-07 14:18:38 +01:00
Andy Wilkinson 6209aef319 Order alphabetically the sections in Common Application Properties
Closes gh-42520
2024-10-07 14:17:55 +01:00
Anthony Dahanne 416413957a Use builder-jammy-java-tiny when using Buildpacks
See gh-42508
2024-10-07 13:30:41 +02:00
Andy Wilkinson 42ad6ddf0a Raise the minimum supported version of Gradle to 8.4
Closes gh-42481
2024-10-01 17:23:24 +01:00
Phillip Webb 99142dbbb2 Merge branch '3.3.x' 2024-09-30 16:25:47 -07:00
Phillip Webb ec615f631c Merge branch '3.2.x' into 3.3.x 2024-09-30 16:03:30 -07:00
Phillip Webb 05b4edfd2c Use `ifeval` block for Commercial/OSS documentation
See gh-42333
2024-09-30 15:56:40 -07:00
Stéphane Nicoll f908fcd1f3 Merge branch '3.3.x'
Closes gh-42473
2024-09-30 09:14:12 +02:00
Tran Ngoc Nhan 44848aa88d Fix links to Micrometer reference doc
See gh-42467
2024-09-30 09:12:36 +02:00
Dmytro Nosan cee7439dbe Add service connection support for Hazelcast
See gh-42416
2024-09-26 14:34:12 +02:00
Moritz Halbritter fb3dd68dd3 Merge branch '3.3.x'
Closes gh-42455
2024-09-26 14:02:15 +02:00
Moritz Halbritter 2ba2bd9716 Merge branch '3.2.x' into 3.3.x
Closes gh-42454
2024-09-26 14:00:58 +02:00
Tran Ngoc Nhan db9cb54ce0 Polish documentation
See gh-42445
2024-09-26 13:58:32 +02:00
Phillip Webb 7b3077280c Merge branch '3.3.x'
Closes gh-42441
2024-09-24 14:32:48 -07:00
Phillip Webb 100bedc07d Merge branch '3.2.x' into 3.3.x
Closes gh-42440
2024-09-24 14:29:09 -07:00
Phillip Webb ad72411e2b Apply conventions plugin to all subprojects
Closes gh-42438
2024-09-24 14:26:32 -07:00
Phillip Webb 72f379a5b2 Merge branch '3.2.x' into 3.3.x
Closes gh-42434
2024-09-24 13:01:05 -07:00
Phillip Webb eafe61c4ca Backport upgrade to Gradle 8.10.1
Cherry-pick commits d756bf4e86, 083ac67d13 and 162c929a80 to
upgrade to Gradle 8.10.1.

Closes gh-42433
2024-09-24 12:55:29 -07:00
Andy Wilkinson 24a5b04c28 Merge branch '3.3.x'
Closes gh-42383
2024-09-19 19:04:00 +01:00
Andy Wilkinson 61ce431761 Merge branch '3.2.x' into 3.3.x
Closes gh-42382
2024-09-19 19:03:11 +01:00
Andy Wilkinson 0e7bdb3e8b Remove note about graceful shutdown requiring Tomcat 9.0.33
Since the note was added, we've upgraded to and now require Tomcat
10.1 so it no longer applies.

Closes gh-42373
2024-09-19 19:02:56 +01:00
Andy Wilkinson 1c65bb1d21 Merge branch '3.3.x'
Closes gh-42381
2024-09-19 19:02:17 +01:00
Andy Wilkinson d4f7cb7bae Merge branch '3.2.x' into 3.3.x
Closes gh-42380
2024-09-19 19:02:03 +01:00
Andy Wilkinson 41bcda8429 Document support for Java 23
Closes gh-42374
2024-09-19 14:23:32 +01:00
Andy Wilkinson 814369e8b0 Enable graceful shutdown by default
Closes gh-37495
2024-09-19 10:58:53 +01:00
Johnny Lim 94e8c5db36 Polish gh-39957 and gh-41444
See gh-42359
2024-09-19 11:37:11 +02:00
Johnny Lim a0d1c10d8a Polish
See gh-42340
2024-09-18 11:19:59 +02:00
Phillip Webb dab5326f59 Merge branch '3.3.x'
Closes gh-42286
2024-09-12 18:44:42 -07:00
Phillip Webb a405c42006 Merge branch '3.2.x' into 3.3.x
Closes gh-42285
2024-09-12 18:43:54 -07:00
Phillip Webb 03e7be3ccf Document that spring.jmx.enabled is not for third-party libraries
Closes gh-42272
2024-09-12 18:35:57 -07:00
Phillip Webb 06e3f37afd Polish 2024-09-11 15:06:37 -07:00
Phillip Webb a418943cbc Merge branch '3.3.x' 2024-09-11 12:54:36 -07:00
Phillip Webb 94fc6b4fe1 Polish formatting 2024-09-11 12:53:25 -07:00
Stéphane Nicoll 3dd901703d Merge branch '3.3.x'
Closes gh-42270
2024-09-11 18:57:33 +02:00
Stéphane Nicoll 726ee27cce Merge branch '3.2.x' into 3.3.x
Closes gh-42269
2024-09-11 18:56:35 +02:00
Stéphane Nicoll 5bddca850a Link to major.minor versions of Spring projects
This commit updates the doc build process to link to the latest doc for
a given generation, rather than a specific version. This applies to both
the reference guide and the aggregated Javadoc.

Closes gh-42196
2024-09-11 18:55:27 +02:00
Andy Wilkinson 511bbeebc2 Merge branch '3.3.x'
Closes gh-42264
2024-09-11 14:04:47 +01:00
Andy Wilkinson 0758624209 Merge branch '3.2.x' into 3.3.x
Closes gh-42263
2024-09-11 14:04:32 +01:00
Andy Wilkinson 504fd62472 Update the link to Log4j2's system properties documentation
Closes gh-42262
2024-09-11 14:02:55 +01:00
Stéphane Nicoll 04d2a5059f Merge branch '3.3.x'
Closes gh-42209
2024-09-11 11:22:49 +02:00
Stéphane Nicoll 0b44452686 Merge branch '3.2.x' into 3.3.x
Closes gh-42208
2024-09-11 11:22:36 +02:00
Stéphane Nicoll 915cb12c64 Fix broken Spring GraphQL links
Closes gh-42207
2024-09-11 11:05:37 +02:00
Stéphane Nicoll bee3158d91 Use Antora links for Spring Data reference doc
Closes gh-42203
2024-09-11 06:48:21 +02:00
Moritz Halbritter b5e7302031 Polish "Add Graylog Extended Log Format (GELF) for structured logging"
See gh-42158
2024-09-10 13:23:47 +02:00
Samuel Lissner 74a9d11d1b Add Graylog Extended Log Format (GELF) for structured logging
See gh-42158
2024-09-10 13:23:47 +02:00
Stéphane Nicoll 5b25a37a36 Polish "Add Pulsar container factory customizer infrastructure"
See gh-42182
2024-09-10 12:22:44 +02:00
Chris Bono 5cbe0e84f9 Add Pulsar container factory customizer infrastructure
This commit adds the ability for users to customize the auto-configured
Spring for Apache Pulsar message container factories. Each container
factory holds a set of container properties that is a common target for
users to configure. Allowing the customization of these properties
prevents a rapid increase of configuration properties.

See gh-42182
2024-09-10 12:22:44 +02:00
Stéphane Nicoll 920e3cc4c2 Merge branch '3.3.x'
Closes gh-42201
2024-09-10 12:22:21 +02:00
Stéphane Nicoll 2389a9c343 Fix syntax error in Pulsar section
Closes gh-42200
2024-09-10 12:21:41 +02:00
Phillip Webb 72588fcda7 Provide support for deprecated auto-configuration classes
Support `AutoConfiguration.replacements` file that can be placed
alongside an `AutoConfiguration.imports` to replace deprecated
auto-configurations.

Closes gh-14860
2024-09-09 20:06:22 -07:00
Stéphane Nicoll c591fab618 Merge branch '3.3.x'
Closes gh-42191
2024-09-09 15:05:25 +02:00
Stéphane Nicoll 7b6997a9c6 Merge branch '3.2.x' into 3.3.x
Closes gh-42190
2024-09-09 15:04:45 +02:00
Stéphane Nicoll aef56bceb9 Replace RFC 7807 by RFC 9457 in documentation
This commit updates all references to RFC 7807 by RFC 9457 since the
former is now obsolete.

Closes gh-41260
2024-09-09 14:59:21 +02:00
Eddú Meléndez 793e9a8795 Add OpenTelemetry Logging Service Connection from LgtmStackContainer and Docker Compose
See gh-42174
2024-09-09 08:37:39 +02:00
Andy Wilkinson 807a38fb12 Merge branch '3.3.x'
Closes gh-42177
2024-09-06 14:27:56 +01:00
Andy Wilkinson be4f06bb17 Merge branch '3.2.x' into 3.3.x
Closes gh-42176
2024-09-06 14:27:34 +01:00
Andy Wilkinson e30ae7a240 Document problem with property binding and Kotlin value classes
Closes gh-41693
2024-09-06 14:26:13 +01:00
Moritz Halbritter c907bec434 Reference context propagation from correlation ID documentation
Also links from the logging documenttaion to the correlation ID
documentation.

Closes gh-42054
2024-09-06 14:38:34 +02:00
Stéphane Nicoll 3651ff87cd Reinstate auto-configuration support for embedded ActiveMQ
This commit restores auto-configuration for using an Embedded broker
with ActiveMQ classic.

Contrary to its 2.7.x version, "spring-boot-starter-activemq" no longer
adds the broker for consistency with Artemis, and to keep the existing
3.x behavior. Rather than "inMemory", a "s.a.embedded.enabled"
property has been reintroduced that matches the name used by Artemis.

The documentation has been updated to mention that the broker
dependency must be added to use it.

Closes gh-38404
2024-09-06 11:34:35 +02:00
Andy Wilkinson 1f7e7738e8 Merge branch '3.3.x'
Closes gh-42168
2024-09-06 10:19:43 +01:00
Andy Wilkinson 4d2aa2dcf5 Merge branch '3.2.x' into 3.3.x
Closes gh-42167
2024-09-06 10:19:30 +01:00
Andy Wilkinson f8130791ea Update docs to reflect new no handler found exception behavior
Closes gh-42164
2024-09-06 10:17:20 +01:00
Andy Wilkinson 2978ca277c Merge branch '3.3.x'
Closes gh-42166
2024-09-06 10:12:22 +01:00
Andy Wilkinson f471990b9d Merge branch '3.2.x' into 3.3.x
Closes gh-42165
2024-09-06 10:12:12 +01:00
Andy Wilkinson 4f576031bc Polish configuration property reference
Closes gh-42162
2024-09-06 10:11:43 +01:00
Eddú Meléndez 7adf843bfd Add service connection from Opentelemetry Collector for Logging
Adds ConnectionDetails from Docker Compose and Testcontainers.

See gh-41324
2024-09-06 10:10:17 +02:00
Moritz Halbritter bc3bcd68d6 Polish "Added documentation for configuring OpenTelemetry SDK logs"
See gh-41825
2024-09-05 16:59:19 +02:00
famaridon 4261ed9c2b Added documentation for configuring OpenTelemetry SDK logs
See gh-41825
2024-09-05 16:59:19 +02:00
Andy Wilkinson f7ba5f1bbc Polish support for Testcontainers Redis
- Add support for RedisStackContainer
- Update the docs

Closes gh-41450
2024-09-05 14:25:51 +01:00
Moritz Halbritter 45cecf5914 Merge branch '3.3.x'
Closes gh-42114
2024-09-04 08:48:11 +02:00
Moritz Halbritter 8d44fd5f3e Improve docker without buildpacks documentation
Explain how CDS can be enabled with plain Dockerfiles.

Closes gh-42106
2024-09-04 08:47:32 +02:00
Phillip Webb b05336d218 Merge branch '3.3.x' 2024-09-03 21:05:05 -07:00
Phillip Webb 0cb311b01d Merge branch '3.3.x' 2024-09-03 20:31:49 -07:00
Phillip Webb 43afb5bf69 Fix Spring Framework documentation link
See gh-41227
2024-09-03 20:31:15 -07:00
Phillip Webb 7e3893f58c Merge branch '3.3.x'
Closes gh-42113
2024-09-03 20:19:20 -07:00
Einar Pehrson 26fb0eecb5 Fix StatsD link typo on Metrics documentation page
The documentation link for StatsD metrics has incorrect anchor text.

See gh-42109
2024-09-03 20:18:48 -07:00
Brian Clozel 555ce1e6c9 Merge branch '3.3.x' 2024-09-03 21:13:07 +02:00
Brian Clozel a04dee67a3 Merge branch '3.2.x' into 3.3.x 2024-09-03 21:12:55 +02:00
Brian Clozel d0c9e0e9e7 List types of OpenTelemetry support in Spring Boot
Closes gh-41227
2024-09-03 21:12:14 +02:00
Andy Wilkinson 41afc6adcf Merge branch '3.3.x'
Closes gh-42104
2024-09-03 15:04:36 +01:00
Andy Wilkinson ea246d378e Merge branch '3.2.x' into 3.3.x
Closes gh-42103
2024-09-03 15:04:22 +01:00
Leszek Jasek 0cd99a7435 Improve "Command-line Completion" section
Replaced deprecated Spring CLI options with the current ones,
improved section related to completion setup for zsh.

See gh-42091
2024-09-03 15:02:46 +01: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
Scott Frederick e7faca3bbb Add support for Testcontainer Redis
Add support for the official `com.redis:testcontainers-redis` container.

See gh-41450
2024-08-29 19:23:40 -07:00
Andy Wilkinson d756bf4e86 Upgrade build to Gradle 8.10
Closes gh-41980
2024-08-23 12:41:05 +01:00
Moritz Halbritter 0c33768746 Merge branch '3.3.x'
Closes gh-41977
2024-08-21 13:11:20 +02:00
Moritz Halbritter 516c764de0 Merge branch '3.2.x' into 3.3.x
Closes gh-41976
2024-08-21 13:05:36 +02:00
Moritz Halbritter 5ee522598f Explain that enabling virtual threads disables traditional thread pools
Closes gh-41937
2024-08-21 11:58:53 +02:00
Andy Wilkinson 2ecb4ebd49 Ignore non-default candidates in type-based matching
Closes gh-22403
2024-08-20 14:36:12 +01:00
Moritz Halbritter 14f6de0e54 Upgrade to cyclonedx-gradle-plugin 1.10.0
Closes gh-41956
2024-08-20 09:00:51 +02: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 137447f869 Merge branch '3.3.x'
Closes gh-41946
2024-08-19 17:51:48 +01:00
Andy Wilkinson cf9a2f3db7 Merge branch '3.2.x' into 3.3.x
Closes gh-41945
2024-08-19 17:51:34 +01:00
Andy Wilkinson f4b73da657 Document when environment variable property mapping applies
Closes gh-41877
2024-08-19 17:51:11 +01:00
Moritz Halbritter 8665636e88 Fix casing
See gh-41205
2024-08-19 10:57:16 +02:00
Moritz Halbritter fd1472784e Polish "Add SslInfoContributor and SslHealthIndicator"
See gh-41205
2024-08-19 10:41:29 +02:00
Jonatan Ivanov 5e3796e814 Add SslInfoContributor and SslHealthIndicator
See gh-41205
2024-08-19 10:00:00 +02:00
Stéphane Nicoll 71ca952827 Merge branch '3.3.x'
Closes gh-41921
2024-08-19 09:46:34 +02:00
Stéphane Nicoll a19d69e052 Merge branch '3.2.x' into 3.3.x
Closes gh-41920
2024-08-19 09:46:23 +02:00
Christoph Dreis 393ec8ae51 Fix duplicate words
See gh-41916
2024-08-19 09:44:29 +02:00
Scott Frederick add3d87ea1 Support Couchbase authentication using client certificates
Closes gh-41520
2024-08-14 14:40:06 -05:00
Moritz Halbritter c34c0d1927 Merge branch '3.3.x' 2024-08-12 09:23:01 +02:00
Moritz Halbritter fe55ce9357 Improve Dockerfiles example in packaging documentation 2024-08-12 09:20:46 +02:00
Moritz Halbritter 3c55c7e4d0 Merge branch '3.3.x'
Closes gh-41749
2024-08-09 14:21:58 +02:00
Moritz Halbritter c2a782ee28 Merge branch '3.2.x' into 3.3.x
Closes gh-41748
2024-08-09 14:19:02 +02:00
Moritz Halbritter 7386908ce0 Document that username and password are not used when Redis url is set
Closes gh-41231
2024-08-09 14:10:20 +02:00
Stéphane Nicoll 9796d04500 Merge branch '3.3.x' 2024-08-07 17:22:00 +02:00
Stéphane Nicoll 0e20f177a2 Merge branch '3.2.x' into 3.3.x 2024-08-07 17:21:52 +02:00
Stéphane Nicoll 9817201833 Mention that meta-annotations are not supported
See gh-18517
2024-08-07 17:21:33 +02:00
Stéphane Nicoll 8bff866211 Polish
See gh-16199
2024-08-05 14:45:42 +02:00
Stéphane Nicoll 40300908ea Include vendor properties in auto-configured EntityManagerFactoryBuilder
This commit moves the setup of vendor properties (e.g. Hibernate) from
the auto-configured LocalContainerEntityManagerFactoryBean to the
auto-configured EntityManagerFactoryBuilder. This way, custom use of
the latter retains additional auto-configuration logic such as the
naming strategy and DDL mode to use.

Closes gh-15318
2024-08-05 14:10:07 +02:00
Stéphane Nicoll efaebb1351 Document unsupported Freemarker properties with WebFlux
This commit updates the configuration metadata and the reference guide
to mention that certain FreeMarker features are not available with
WebFlux.

This stems mostly from the fact that the WebFlux integration is not
based on a AbstractTemplateView.

Closes gh-11199
2024-08-02 15:06:35 +02:00
Stéphane Nicoll a2fafa112f Add support for customizing FreeMarker variables
This commit updates the auto-configuration to allow custom FreeMarker
variables to be provided programmatically. As these variables are
usually objects, they cannot be specified via properties.

Closes gh-8965
2024-08-02 11:52:27 +02:00
Stéphane Nicoll 477bd7d15a Detect default enum value
This commit improves the configuration metadata annotation processor to
detect a default enum value. The algorithm is best-effort, similarly to
what it already does for well known prefixes (period, duration, etc).

Based on an expression and an identifier, the default value is inferred
if the expression matches the declaration of the property type.

See gh-7562
2024-08-01 15:43:21 +02:00
Phillip Webb 8287cc7610 Merge branch '3.3.x' 2024-07-31 11:37:02 +01:00
Phillip Webb de3744fcd1 Use javadoc macro for more links in adoc files
See gh-41605
2024-07-31 11:33:29 +01:00
Andy Wilkinson 9c4399c76a Merge branch '3.3.x'
Closes gh-41639
2024-07-29 12:50:52 +01:00
Andy Wilkinson 16ba01a363 Merge branch '3.2.x' into 3.3.x
Closes gh-41638
2024-07-29 12:50:26 +01:00
Andy Wilkinson 9f1c4b71aa Fix inconsistency for effect on Actuator of defining security filter
Closes gh-41569
2024-07-29 12:46:20 +01:00
Stéphane Nicoll dabc83338b Polish "Add support for Grafana LGTM stack"
See gh-41551
2024-07-29 10:43:56 +02:00
Eddú Meléndez 9eff627eb2 Add support for Grafana LGTM stack
See gh-41551
2024-07-29 10:33:08 +02:00
Phillip Webb 915f841dc6 Merge branch '3.3.x'
Closes gh-41628
2024-07-26 16:23:23 +01:00
Phillip Webb 60fa9bd04b Merge branch '3.2.x' into 3.3.x
Closes gh-41627
2024-07-26 16:23:09 +01:00
Phillip Webb 1a8e9c14b1 Fix "Use Spring Data repositories" how-to to refer to interfaces
The previous how-to accidentally referenced the `@Repository` annotation
and not the Spring Data `Repository` interface.

Closes gh-41625
2024-07-26 16:20:09 +01:00
Stéphane Nicoll 88448d68b0 Merge branch '3.3.x'
Closes gh-41623
2024-07-26 09:25:55 +02:00
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
Andy Wilkinson 0f830e91c9 Polish imports in testing doc examples
See gh-38361
2024-06-27 14:01:40 +01:00
Andy Wilkinson 6f6eba0bb9 Merge branch '3.3.x'
Closes gh-41247
2024-06-26 14:29:36 +01:00
Andy Wilkinson 81c8a9706f Merge branch '3.2.x' into 3.3.x
Closes gh-41246
2024-06-26 14:29:14 +01:00
Andy Wilkinson 270f364aef Polish "Make conversion mechanism plural"
See gh-41244
2024-06-26 14:26:51 +01:00
Mateus Scheper 068b159799 Make conversion mechanism plural
Fixing typo for the "mechanism" word and improving readability by
adding ".".

See gh-41244
2024-06-26 14:26:00 +01:00
Andy Wilkinson 28a887ad0f Raise minimum supported version of Gradle
Closes gh-41180
2024-06-21 14:52:22 +01:00
Andy Wilkinson 7701201bc3 Align cascading of config prop validation with bean validation spec
Closes gh-40345
2024-06-21 12:27:22 +01:00
Moritz Halbritter 6aeab4461e Polish "Auto-configure SpringLiquibase with Liquibase Customizer"
See gh-40986
2024-06-21 12:57:25 +02:00
Moritz Halbritter 0859150136 Merge branch '3.3.x'
Closes gh-41193
2024-06-21 11:10:52 +02:00
Moritz Halbritter 72e9ea986b Merge branch '3.2.x' into 3.3.x
Closes gh-41192
2024-06-21 11:10:39 +02:00
Moritz Halbritter 013a4dd2b7 Document tracing support for RestClient
Closes gh-41182
2024-06-21 11:03:54 +02:00
Moritz Halbritter 760a85a137 Merge branch '3.3.x'
Closes gh-41190
2024-06-21 10:41:45 +02:00
Moritz Halbritter 78f9d6d973 Remove incorrect note about zipkin-sender-urlconnection
Closes gh-41181
2024-06-21 10:41:35 +02: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 955fe1868b Polish 'Improve readability of documentation'
See gh-41162
2024-06-19 22:59:06 -07:00