mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 09:49:01 +00:00
Allow other configures to run before PropertiesRestClientHttpServiceGroupConfigurer
Closes gh-48296
This commit is contained in:
+6
-1
@@ -48,6 +48,11 @@ import org.springframework.web.service.registry.HttpServiceGroup;
|
|||||||
*/
|
*/
|
||||||
class PropertiesRestClientHttpServiceGroupConfigurer implements RestClientHttpServiceGroupConfigurer {
|
class PropertiesRestClientHttpServiceGroupConfigurer implements RestClientHttpServiceGroupConfigurer {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The default order for the PropertiesRestClientHttpServiceGroupConfigurer.
|
||||||
|
*/
|
||||||
|
private static final int DEFAULT_ORDER = Ordered.HIGHEST_PRECEDENCE + 10;
|
||||||
|
|
||||||
private final HttpServiceClientProperties properties;
|
private final HttpServiceClientProperties properties;
|
||||||
|
|
||||||
private final HttpClientSettingsPropertyMapper clientSettingsPropertyMapper;
|
private final HttpClientSettingsPropertyMapper clientSettingsPropertyMapper;
|
||||||
@@ -66,7 +71,7 @@ class PropertiesRestClientHttpServiceGroupConfigurer implements RestClientHttpSe
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getOrder() {
|
public int getOrder() {
|
||||||
return Ordered.HIGHEST_PRECEDENCE;
|
return DEFAULT_ORDER;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user