Commit Graph

4013 Commits

Author SHA1 Message Date
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
Mateus Scheper cf8ed63dde Improve readability of documentation
See gh-41162
2024-06-19 22:58:02 -07:00
Mateus Scheper 6c34c02acf Improving readability
Improving readability by adding ",".
2024-06-19 22:57:59 -07:00
Mateus Scheper 159e7745b6 Improving readability by adding a comma
See gh-41140
2024-06-18 10:32:20 -07:00
Andy Wilkinson 7c318be829 Fix links to Spring AMQP's javadoc
Closes gh-41144
2024-06-18 09:24:52 +01:00
Andy Wilkinson 9f1ee67225 Merge branch '3.2.x'
Closes gh-41123
2024-06-17 10:48:01 +01:00
Andy Wilkinson 03a87ccd69 Clarify how Container's Docker image name is used to name a connection
Closes gh-41111
2024-06-17 10:45:03 +01:00
Sébastien Deleuze 292fdc4b7e Cross-link to the CDS how-to guide
See gh-41118
2024-06-17 10:35:03 +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
Moritz Halbritter d633f2e09e Polish "Add CDS training run documentation"
See gh-41045
2024-06-11 14:59:06 +02:00
Sébastien Deleuze 9677d9ecd4 Add CDS training run documentation
See gh-41045
2024-06-11 14:56:40 +02:00
Moritz Halbritter bc91c20a06 Merge branch '3.2.x'
Closes gh-41064
2024-06-11 14:55:19 +02:00
Mateus Scheper 80b7107c56 Improve readability of the documentation
See gh-41051
2024-06-11 14:54:30 +02:00
Moritz Halbritter b884932155 Document how to switch to Prometheus's simpleclient
Closes gh-40993
2024-06-07 10:56:45 +02:00
Moritz Halbritter 1fff51d53d Add missing period 2024-06-07 10:13:19 +02:00
Scott Frederick 0c3aa52773 Add How-To Guide for building images with CDS and buildpacks
Closes gh-40762
2024-06-06 16:11:19 -05: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 197eae5ec4 Polish "Replace hard-coded links to Micrometer in documentation"
See gh-40967
2024-06-03 14:33:54 +02:00
Seungrae 1589a19a86 Replace hard-coded links to Micrometer in documentation
See gh-40967
2024-06-03 14:27:28 +02:00
Scott Frederick abb1df40d1 Merge branch '3.2.x'
Closes gh-40958
2024-05-30 14:29:59 -05:00
Mateus Scheper 6c5ae329f3 Fix typo in Dev Services reference docs
See gh-40951
2024-05-30 14:27:27 -05:00
Chris Bono 0c1632de90 Fix links to Spring Pulsar ref docs
This commit fixes several broken links from pulsar.adoc to the
Spring Pulsar reference docs. The breakage occurred due to some
doc re-organization in Spring Pulsar.

See gh-40948
2024-05-30 14:12:33 -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
Moritz Halbritter c479c56836 Merge branch '3.2.x'
Closes gh-40942
2024-05-29 14:13:43 +02:00
Khan, C M Abdullah ab2ba674b6 Fix various minor inconsistencies in the documentation
See gh-40900
2024-05-29 14:12:04 +02:00
Moritz Halbritter 8f1166f4da Merge branch '3.2.x'
Closes gh-40941
2024-05-29 14:06:37 +02:00
vsanna 3ae1c111a0 Warn in the documentation that spring.profiles.group can only be used in non-profile-specific documents
See gh-40918
2024-05-29 14:02:14 +02:00
Phillip Webb 82d8222f56 Polish 2024-05-24 18:10:03 -07:00
Phillip Webb 88917b554b Merge branch '3.2.x'
Closes gh-40846
2024-05-20 21:32:12 -07:00
Phillip Webb 39ab959af8 Merge branch '3.1.x' into 3.2.x
Closes gh-40845
2024-05-20 21:06:59 -07:00
Phillip Webb f743dc82fc Improve graceful shutdown documentation to remove ambiguity
Closes gh-40108
2024-05-20 21:06:22 -07:00
Phillip Webb 336dcab0f9 Merge branch '3.2.x'
Closes gh-40844
2024-05-20 18:58:25 -07:00
Phillip Webb 44619a9eef Merge branch '3.1.x' into 3.2.x
Closes gh-40843
2024-05-20 18:58:09 -07:00
Phillip Webb f5f02d6df1 Document that a private constructor opts-out of constructor binding
Closes gh-34820
2024-05-20 18:56:46 -07:00
Andy Wilkinson a40ecafe36 Merge branch '3.2.x'
Closes gh-40839
2024-05-20 15:55:16 +01:00
Andy Wilkinson b718e5806f Merge branch '3.1.x' into 3.2.x
Closes gh-40838
2024-05-20 15:55:00 +01:00
Andy Wilkinson 1d91757061 Document that HttpMessageConverters can be used for reordering/removal
Closes gh-40767
2024-05-20 15:54:12 +01:00
Phillip Webb b082e5d82d Add external link indicators to API docs in Antora
Closes gh-40817
2024-05-17 09:52:24 -07:00
Andy Wilkinson 7f6a99ce24 Merge branch '3.2.x'
Closes gh-40756
2024-05-13 17:22:43 +01:00
Andy Wilkinson c0296c28bb Fully-qualify KafkaContainer to make it clear which one we support
Testcontainers now has org.testcontainers.containers.KafkaContainer
(that we support) and org.testcontainers.kafka.KafkaContainer (that
we don't yet support). This commit fully-qualifies the name so that
it's clear which KafkaContainer we're referring to.

Closes gh-40699
2024-05-13 17:13:37 +01:00
Andy Wilkinson 53e1c7ed7d Include Kotlin API documentation in the documentation site
Closes gh-40692
2024-05-10 14:56:33 +01:00
Phillip Webb 22386f4ddd Fix error in antora.yml 2024-05-08 19:03:44 -07:00
Phillip Webb 9852a66a37 Polish Antora 2024-05-08 15:58:17 -07:00
Piyal Ahmed 44804ae5aa Fix typo "Tutoral" in features doc
See gh-40631
2024-05-07 12:36:17 +02:00
Moritz Halbritter f27aadbbd1 Polish "Fix code inclusion in Jersey documentation"
See gh-40629
2024-05-07 10:00:42 +02:00
Piyal Ahmed 3ce1bf6c8f Fix code inclusion in Jersey documentation
See gh-40629
2024-05-07 09:55:20 +02:00
Phillip Webb e954afdc2e Tweak documentation redirect 2024-05-06 13:14:48 -07:00
Scott Frederick 289f3f9e51 Polish "Add How-To documentation for ManagedClassNameFilter"
See gh-40617
2024-05-03 10:46:38 -05: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 59dd34f7fc Merge branch '3.2.x'
Closes gh-40608
2024-05-02 11:01:11 +02:00
Moritz Halbritter 46ab60cc43 Merge branch '3.1.x' into 3.2.x
Closes gh-40607
2024-05-02 10:59:43 +02:00
Dave Syer 421b8e23c4 Clarify devtools restart class loader documentation
See gh-40604
2024-05-02 10:58:30 +02:00
Moritz Halbritter 6c154789f5 Merge branch '3.2.x'
Closes gh-40565
2024-04-29 12:00:42 +02:00
Moritz Halbritter 7ac0d0cde6 Merge branch '3.1.x' into 3.2.x
Closes gh-40564
2024-04-29 11:56:32 +02:00
Moritz Halbritter d716d99d1b Note that Docker Compose is excluded by default from packaged jars
Closes gh-40556
2024-04-29 11:54:17 +02:00
Andy Wilkinson 515bccac6b Polish 2024-04-25 14:10:02 +01:00