3949 Commits

Author SHA1 Message Date
Phillip Webb
cfdc173e34 Add RestClient SSL support
Add `RestClientSsl` support class to help apply an `SslBundle` to a
`RestClient.Builder`.

See gh-36213
2023-07-05 21:22:52 +01:00
Phillip Webb
7c1b168ed6 Overhaul reference documentation for RestClient
Reorder "Calling REST services" documentation and add a new section
covering `RestClient`.

See gh-36213
2023-07-05 21:22:49 +01:00
Phillip Webb
8b3070e027 Merge branch '3.1.x' 2023-07-05 21:00:12 +01:00
Phillip Webb
034803ee2f Polish 2023-07-05 20:59:39 +01:00
Andy Wilkinson
62eb3d3051 Merge branch '3.1.x'
Closes gh-36234
2023-07-05 09:12:59 +01:00
Andy Wilkinson
0bfc3c3872 Merge branch '3.0.x' into 3.1.x
Closes gh-36233
2023-07-05 09:12:47 +01:00
Yanming Zhou
9439494923 Polish formatting in "Running Spring Batch Jobs on Startup"
See gh-36225
2023-07-05 09:12:07 +01:00
Andy Wilkinson
c3e2c9d684 Polish "Support Jetty in ClientHttpRequestFactories"
See gh-36116
2023-07-04 17:49:07 +01:00
Phillip Webb
41cdfb891f Merge branch '3.1.x'
Closes gh-36220
2023-07-04 15:18:42 +01:00
Phillip Webb
2e11349c93 Merge branch '3.0.x' into 3.1.x
Closes gh-36219
2023-07-04 15:18:32 +01:00
Phillip Webb
9884abb379 Merge branch '2.7.x' into 3.0.x
Closes gh-36218
2023-07-04 15:18:15 +01:00
Phillip Webb
fc31e14e72 Polish 'Improve Kubernetes probe customization documentation'
See gh-34978
2023-07-04 15:17:20 +01:00
Ivo Smid
028ff3a7be Improve Kubernetes probe customization documentation
See gh-34978
2023-07-04 15:17:20 +01:00
Andy Wilkinson
eb58ade3a2 Merge branch '3.1.x'
Closes gh-36216
2023-07-04 15:13:51 +01:00
Andy Wilkinson
215763bded Merge branch '3.0.x' into 3.1.x
Closes gh-36215
2023-07-04 15:13:35 +01:00
Andy Wilkinson
b764b5beee Merge branch '2.7.x' into 3.0.x
Closes gh-36214
2023-07-04 15:13:19 +01:00
Andy Wilkinson
1f75ba557e Document HTTP client auto-detection for RestTemplate and WebClient
Closes gh-34136
2023-07-04 15:09:40 +01:00
Andy Wilkinson
ec8e1e2c95 Start building against Spring Data Bom 2023.1.0 snapshots
See gh-36190
2023-07-04 09:44:53 +01:00
Phillip Webb
8c3f847bfe Merge branch '3.1.x' 2023-06-30 14:54:52 +01:00
Phillip Webb
7c63870305 Merge branch '3.0.x' into 3.1.x 2023-06-30 14:54:36 +01:00
Phillip Webb
a14ddd6900 Polish adoc formatting 2023-06-30 14:54:21 +01:00
Andy Wilkinson
57ed2016b6 Merge branch '3.1.x'
Closes gh-36143
2023-06-30 14:07:08 +01:00
Andy Wilkinson
164bd7924e Merge branch '3.0.x' into 3.1.x
Closes gh-36142
2023-06-30 14:06:52 +01:00
Andy Wilkinson
3d1ca62a6f Merge branch '2.7.x' into 3.0.x
Closes gh-36141
2023-06-30 14:06:39 +01:00
Andy Wilkinson
362182efd8 Polish "Polish Kafka Properties Docs"
See gh-36032
2023-06-30 14:06:13 +01:00
Gary Russell
025063e708 Polish Kafka Properties Docs
There are 4 client types but there were a couple of places where not
all client types were mentioned (such as 'applies to producers,
consumers and admins').

See gh-36032
2023-06-30 14:01:26 +01:00
Andy Wilkinson
60553415d0 Merge branch '3.1.x'
Closes gh-36140
2023-06-30 13:00:50 +01:00
Andy Wilkinson
d7da2d9eb2 Merge branch '3.0.x' into 3.1.x
Closes gh-36139
2023-06-30 13:00:37 +01:00
Andy Wilkinson
66aa55b65d Merge branch '2.7.x' into 3.0.x
Closes gh-36138
2023-06-30 13:00:25 +01:00
JuHyeong Ahn
dbdb4d4e8d Fix typo in Using R2DBC
See gh-36019
2023-06-30 12:59:49 +01:00
Moritz Halbritter
b655523ef9 Merge branch '3.1.x'
Closes gh-36132
2023-06-30 10:44:48 +02:00
Moritz Halbritter
3d15b02441 Merge branch '3.0.x' into 3.1.x
Closes gh-36131
2023-06-30 10:44:34 +02:00
Moritz Halbritter
606063589f Document trace propagation with RestTemplate and WebClient
Closes gh-34053
2023-06-30 10:44:14 +02:00
Moritz Halbritter
cff26d9843 Merge branch '3.1.x'
Closes gh-36113
2023-06-29 11:42:12 +02: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
Scott Frederick
67725d4781 Merge branch '3.1.x'
Closes gh-36052
2023-06-23 15:26:53 -06:00
James Stansell
ea41a22284 Fix typo in docker compose service connections note
See gh-36016
2023-06-23 15:25:30 -06:00
Jonatan Ivanov
228b8eb8e4
Polish log correlation docs
Docs related to gh-33280 (log correlation) and
gh-35593 (application name in each log line) need some polishing:
- Fix project names
- Show how to avoid having the application name duplicated in logs
- Call out that a trailing space is needed in the correlation pattern

Closes gh-36035
See gh-33280
See gh-35593
2023-06-22 14:51:02 -07:00
Phillip Webb
493777d3c9 Include the application name on each log line when it is available
Update Logback and Log4J2 so that they include the application name on
each log line. If `spring.application.name` had not been set, or if
`logging.include-application-name` is `false` then the name is not
logged.

Closes gh-35593
2023-06-22 00:40:51 -07:00
Jonatan Ivanov
c1b295fd71 Log correlation IDs when Micrometer tracing is being used
Add support for logging correlation IDs with Logback or Log4J2 whenever
Micrometer tracing is being used.

The `LoggingSystemProperties` class now accepts a defualt value resolver
which will be used whenever a value isn't in the environment. The
`AbstractLoggingSystem` provides a resolver that supports the
`logging.pattern.correlation` property and will return a value whenever
`LoggingSystem.EXPECT_CORRELATION_ID_PROPERTY` is set.

Using `LoggingSystem.EXPECT_CORRELATION_ID_PROPERTY` allows us to
provide a consistent width for the correlation ID, even when it's
missing from the MDC.

The exact correlation pattern returned will depend on the `LoggingSytem`
implementation. Currently Logback and Log4J2 are supported and both
make use of a custom converter which delegates to a new
`CorrelationIdFormatter` class.

Closes gh-33280
2023-06-22 00:28:45 -07:00
Phillip Webb
3a796aedea Merge branch '3.1.x' 2023-06-22 00:28:01 -07:00
Phillip Webb
31f218c4e0 Merge branch '3.0.x' into 3.1.x 2023-06-22 00:27:51 -07:00
Phillip Webb
9db3c5a2f7 Polish 2023-06-22 00:24:39 -07:00
Andy Wilkinson
68aec97ee7 Merge branch '3.1.x' 2023-06-21 12:44:06 +01: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
23eb7ec1f8 Merge branch '3.1.x' 2023-06-16 14:35:44 -07: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