Commit Graph

1805 Commits

Author SHA1 Message Date
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
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
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
5a3e588da4 Create a separate section for testcontainers at development time
Closes gh-35856
2023-11-13 11:16:59 +01:00
Moritz Halbritter
e5326e18fc Document when and why to use the name attribute of ServiceConnection
Closes gh-36071
2023-11-13 10:36:30 +01:00
Moritz Halbritter
3560a13d57 Merge branch '3.0.x' into 3.1.x
Closes gh-38225
2023-11-06 10:27:42 +01:00
Yanming Zhou
d7ab153559 Use switch expression where feasible
See gh-38217
2023-11-06 10:27:04 +01:00
Moritz Halbritter
d84808e436 Merge branch '3.0.x' into 3.1.x
Closes gh-38110
2023-10-30 10:09:00 +01:00
Moritz Halbritter
633ce644e2 Merge branch '2.7.x' into 3.0.x
Closes gh-38109
2023-10-30 10:08:48 +01:00
Moritz Halbritter
0d8ea44f5b Fix MyErrorWebExceptionHandler in documentation
Closes gh-38104
2023-10-30 10:07:49 +01:00
Phillip Webb
6e65d9380b Add missing @ServiceConnection annotation to reference doc sample
Closes gh-38046
2023-10-25 12:36:59 -07:00
Andy Wilkinson
581dfbfa33 Merge branch '3.0.x' into 3.1.x
Closes gh-38027
2023-10-25 12:24:42 +01:00
Andy Wilkinson
5b80dd87d3 Merge branch '2.7.x' into 3.0.x
Closes gh-38026
2023-10-25 12:18:41 +01:00
Andy Wilkinson
9a23e13894 Add some documentation for customizing the reactive web server
Closes gh-31917
2023-10-25 12:17:45 +01:00
Moritz Halbritter
aabd6f58d5 Merge branch '3.0.x' into 3.1.x
Closes gh-37510
2023-09-21 16:40:41 +02:00
Moritz Halbritter
454342acfa Merge branch '2.7.x' into 3.0.x
Closes gh-37509
2023-09-21 16:40:29 +02:00
김희망
45e08f321c Use more idiomatic Kotlin in doc example
See gh-37491
2023-09-21 16:36:51 +02:00
Stephane Nicoll
63a1248a6d Merge branch '3.0.x' into 3.1.x
Closes gh-36877
2023-08-09 16:06:44 +02:00
Stephane Nicoll
6800f15aa6 Merge branch '2.7.x' into 3.0.x
Closes gh-36876
2023-08-09 16:06:33 +02:00
Stephane Nicoll
94c7140001 Use a dedicated application to collect log samples
This commit moves the tasks that collect log samples for the reference
guide to an isolated application.

Closes gh-36875
2023-08-09 16:06:09 +02:00
Christoph Dreis
8321887d6a Fix typos
See gh-36306
2023-07-17 09:40:16 +02:00
Phillip Webb
034803ee2f Polish 2023-07-05 20:59:39 +01:00
Moritz Halbritter
20321b5685 Merge branch '3.0.x' into 3.1.x
Closes gh-36112
2023-06-29 11:39:20 +02:00
Moritz Halbritter
2b398827de Add "baggage" section to tracing docs
Closes gh-34977
2023-06-29 11:30:58 +02:00
Andy Wilkinson
5b69580d5d Merge branch '3.0.x' into 3.1.x
Closes gh-36004
2023-06-21 12:43:48 +01:00
Andy Wilkinson
f584d6dbd9 Replace @EnableBatchProcessing in slice test examples
Using `@EnableBatchProcessing` is no longer necessary to enable
Batch's auto-configuration so it's no longer a good example when
discussing sliced tests and user configuration.

This commit replaces `@EnableBatchProcessing` with an alternative
annotation, `@EnableMongoAuditing` and updates the accompanying
text.

Closes gh-33435
2023-06-21 12:41:28 +01:00
Phillip Webb
5d6a507142 Merge branch '3.0.x' into 3.1.x 2023-06-16 14:35:23 -07:00
Phillip Webb
48e13af8c4 Merge branch '2.7.x' into 3.0.x 2023-06-16 14:34:54 -07:00
Moritz Halbritter
0cf93f1aa4 Merge branch '3.0.x'
Closes gh-35767
2023-06-07 09:08:54 +02:00
Steve Riesenberg
ba9f92fa86 Improve OAuth2 Client section of docs
* Add an OpenID Connect login client example
* Update redirect-uri examples to match Security docs and not require
  any customization
* Update client-authentication-method for Spring Security 6 usage
* Update provider configuration example to align with Spring
  Authorization Server
* Format Java DSL according to Spring Security docs
* Use Kotlin DSL
* Update redirection endpoint base uri example to use ant pattern

See gh-35679
2023-06-07 09:07:14 +02:00
Phillip Webb
1669b81af7 Add 'fromApplication' and 'with' Kotlin extension functions
Update `SpringApplicationExtensions.kt` with `fromApplication` and
`with` functions that make `SpringApplication.from(...)` easier to use
with Kotlin.

Fixes gh-35756
2023-06-05 21:49:41 -07:00
Moritz Halbritter
b82e7a72b1 Move @Testcontainers before @SpringBootTest in documentation
Closes gh-35572
2023-05-23 09:33:25 +02:00
Andy Wilkinson
1097164a0e Merge branch '3.0.x'
Closes gh-35457
2023-05-17 10:18:58 +01:00
Andy Wilkinson
aabb164892 Merge branch '2.7.x' into 3.0.x
Closes gh-35456
2023-05-17 10:18:30 +01:00
Andy Wilkinson
d66563d544 Polish "Improve formatting of Kotlin permitAll example"
See gh-35454
2023-05-17 10:12:05 +01:00
Junsu Park
11a1de1e64 Improve formatting of Kotlin permitAll example
See gh-35454
2023-05-17 10:11:29 +01:00
Sébastien Deleuze
becff01db1 Improve Kotlin Testcontainers samples
Make those code samples more idiomatic.

See gh-35446
2023-05-16 19:28:47 +01:00
Yanming Zhou
1cddb2a55f Fix typo
See gh-35369
2023-05-10 08:27:33 +02:00
Moritz Halbritter
1504e3043d Document devtools when using testcontainers at dev time
See gh-35200
2023-05-09 08:31:24 +02:00
Phillip Webb
8427e813af Support import of idomatic testcontainer declaration classes
Add an `@ImportTestcontainers` annotation which can be used to import
idomatic testcontainer declaration classes.

Closes gh-35245
2023-05-03 00:28:36 -07:00
Phillip Webb
26566d4a30 Allow testcontainer beans to also contribute properties
Allow `Container` bean definitions to inject a `DynamicPropertyRegistry`
so that they can contribute environment properties.

Closes gh-35201
2023-05-03 00:27:13 -07:00
Phillip Webb
a890323758 Merge branch '3.0.x' 2023-05-02 14:52:42 -07:00
Scott Frederick
d913472919 Add Kotlin samples and polish SSL bundle documentation
Closes gh-35105
2023-04-28 14:31:01 -05:00
Phillip Webb
6ea2547de4 Add SSL bundle support to WebClient auto-configuration
Introduce `WebClientSsl` interface and auto-configuration to allow a
WebClient builder to have custom SSL configuration applied.

The previous `ClientHttpConnectorConfiguration` has been been changed
to now create `ClientHttpConnectorFactory` instances which can be used
directly or by `AutoConfiguredWebClientSsl`.

Closes gh-18556
2023-04-21 20:39:18 -07:00
Scott Frederick
a03f857059 Document update SSL support
Add a new SSL section to the reference documentation to describe SSL
bundles.

See gh-34814
2023-04-21 01:13:05 -07:00
Eddú Meléndez
aea5b77d1e Add missing containers configuration reference to code snippet
See gh-35031
2023-04-17 14:36:40 +02:00
Phillip Webb
5ac48f5f15 Add testcontainers service connection auto-configuration
Add auto-configuration for `Container` beans that are also
annotated with `@ServiceConnection`. This commit allow
testcontainers to be used at development time and a new section
has been added to the documentation to describe the feature.

Closes gh-35022
2023-04-17 00:49:43 -07:00
Phillip Webb
1a0b9bdcd0 Move Testcontainers documentation from howto to features
Closes gh-35018
2023-04-17 00:46:11 -07:00
Phillip Webb
81a972af8d Refactor testcontainers service connections
Update restcontainers service connections support so that
technology specific `@ServiceConnector` annotations are not longer
required.

A single `@ServiceConnector` annotation can now be used to create
all `ConnectionDetail` beans.

Closes gh-35017
2023-04-17 00:45:39 -07:00