mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Merge branch '4.0.x'
Closes gh-50128
This commit is contained in:
+3
-6
@@ -374,8 +374,8 @@ For example, the properties below will:
|
||||
* Configure all HTTP clients to use a one second connect timeout (unless otherwise overridden).
|
||||
* Configure HTTP Service clients in the "`echo`" group to:
|
||||
** Use a specific base URL.
|
||||
** Have a two second read timeout.
|
||||
** Insert API version information using an `X-Version` header.
|
||||
** Have a one-second connect timeout.
|
||||
** Have a two-second read timeout.
|
||||
|
||||
[configprops,yaml]
|
||||
----
|
||||
@@ -386,11 +386,8 @@ spring:
|
||||
serviceclient:
|
||||
echo:
|
||||
base-url: "https://echo.zuplo.io"
|
||||
connect-timeout: 2s
|
||||
read-timeout: 2s
|
||||
apiversion:
|
||||
default: 1.0.0
|
||||
insert:
|
||||
header: X-Version
|
||||
----
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user