Skip to content

Commit 5024616

Browse files
Update terminology to HTTP Service Clients. (#1587)
Signed-off-by: Olga Maciaszek-Sharma <olga.maciaszek-sharma@broadcom.com>
1 parent a18a643 commit 5024616

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

docs/modules/ROOT/pages/spring-cloud-circuitbreaker.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,15 @@ Customizer.once(circuitBreaker -> {
104104
}, CircuitBreaker::getName)
105105
----
106106

107-
[[interface-clients]]
108-
== Spring Interface Clients Support
107+
[[service-clients]]
108+
== Spring HTTP Service Clients Support
109109

110-
Spring Cloud provides support for Spring Interface Clients integration through the following configurers:
110+
Spring Cloud provides support for Spring HTTP Service Clients integration through the following configurers:
111111

112112
- `CircuitBreakerRestClientHttpServiceGroupConfigurer`
113113
- `CircuitBreakerWebClientHttpServiceGroupConfigurer`
114114

115-
These configurers enable CircuitBreaker support for https://docs.spring.io/spring-framework/reference/7.0-SNAPSHOT/integration/rest-clients.html#rest-http-interface-group-config[Spring Interface Client Groups].
115+
These configurers enable CircuitBreaker support for https://docs.spring.io/spring-framework/reference/7.0-SNAPSHOT/integration/rest-clients.html#rest-http-service-client-group-config[Spring HTTP Service Client Groups].
116116

117117
When fallback classes are configured using the `@HttpServiceFallbackAnnotation`,
118118
CircuitBreaker adapter decorators are added:

docs/modules/ROOT/pages/spring-cloud-commons/loadbalancer.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -592,17 +592,17 @@ NOTE: Starting with `4.1.0`, we have introduced the `callGetWithRequestOnDelegat
592592

593593
Since `4.0.0`, Spring Cloud LoadBalancer supports Spring AOT transformations and native images. However, to use this feature, you need to explicitly define your `LoadBalancerClient` service IDs. You can do so by using the `value` or `name` attributes of the `@LoadBalancerClient` annotation or as values of the `spring.cloud.loadbalancer.eager-load.clients` property.
594594

595-
== LoadBalancer Integration for Spring Interface Clients AutoConfiguration
595+
== LoadBalancer Integration for Spring HTTP Service Clients AutoConfiguration
596596

597-
Since `5.0.0`, Spring Cloud LoadBalancer supports https://docs.spring.io/spring-framework/reference/7.0-SNAPSHOT/integration/rest-clients.html#rest-http-interface[Spring Interface Clients] AutoConfiguration through the `LoadBalancerRestClientHttpServiceGroupConfigurer` and `LoadBalancerWebClientHttpServiceGroupConfigurer`.
597+
Since `5.0.0`, Spring Cloud LoadBalancer supports https://docs.spring.io/spring-framework/reference/7.0-SNAPSHOT/integration/rest-clients.html#rest-http-service-client[Spring HTTP Service Clients] AutoConfiguration through the `LoadBalancerRestClientHttpServiceGroupConfigurer` and `LoadBalancerWebClientHttpServiceGroupConfigurer`.
598598

599-
For each Interface Client group, if the group `baseUrl` (defined under the
600-
`spring.http.client.service.group.[groupName].base-url` property) is `null`, a `serviceId`-based URL for load-balancing is set up as the `baseUrl`, with `serviceId` resolved from the Interface Client `groupName`.
599+
For each HTTP Service Client group, if the group `baseUrl` (defined under the
600+
`spring.http.client.service.group.[groupName].base-url` property) is `null`, a `serviceId`-based URL for load-balancing is set up as the `baseUrl`, with `serviceId` resolved from the HTTP Service Client `groupName`.
601601

602602
If the group `baseUrl` is `null` or its scheme is set to `lb`, a
603603
`DeferringLoadBalancerInterceptor` instance is picked from the application context for blocking scenarios, and a `DeferringLoadBalancerExchangeFilterFunction` instance for reactive scenarios, and is added to the group's `RestClient.Builder` or `WebClient.Builder` if available, allowing for the requests to be load-balanced.
604604

605-
For example, in an app with the following Interface Clients configuration:
605+
For example, in an app with the following HTTP Service Clients configuration:
606606

607607
[source,java,indent=0]
608608
----

spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/LoadBalancerRestClientHttpServiceGroupConfigurer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
/**
3434
* Load-balancer-specific {@link RestClientHttpServiceGroupConfigurer} implementation. If
3535
* the group {@code baseUrl} is {@code null}, sets up a {@code baseUrl} with LoadBalancer
36-
* {@code serviceId} -resolved from Interface Client {@code groupName} set as
36+
* {@code serviceId} -resolved from HTTP Service Client {@code groupName} set as
3737
* {@code host}. If the group {@code baseUrl} is {@code null} or has {@code lb} set as its
3838
* scheme, a {@link DeferringLoadBalancerInterceptor} instance picked from application
3939
* context is added to the group's {@link RestClient.Builder} if available, allowing for

spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/reactive/LoadBalancerWebClientHttpServiceGroupConfigurer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/**
3333
* Load-balancer-specific {@link WebClientHttpServiceGroupConfigurer} implementation. If
3434
* the group {@code baseUrl} is {@code null}, sets up a {@code baseUrl} with LoadBalancer
35-
* {@code serviceId} -resolved from Interface Client {@code groupName} set as
35+
* {@code serviceId} -resolved from HTTP Service Client {@code groupName} set as
3636
* {@code host}. If the group {@code baseUrl} is {@code null} or has {@code lb} set as its
3737
* scheme, a {@link DeferringLoadBalancerExchangeFilterFunction} instance picked from
3838
* application context is added to the group's {@link WebClient.Builder} if available,

0 commit comments

Comments
 (0)