|
|
@ -87,10 +87,8 @@ public class EnhancedFeignClient implements Client {
|
|
|
|
.build();
|
|
|
|
.build();
|
|
|
|
enhancedPluginContext.setResponse(enhancedResponseContext);
|
|
|
|
enhancedPluginContext.setResponse(enhancedResponseContext);
|
|
|
|
|
|
|
|
|
|
|
|
DefaultServiceInstance serviceInstance = new DefaultServiceInstance();
|
|
|
|
DefaultServiceInstance serviceInstance = new DefaultServiceInstance(request.requestTemplate().feignTarget()
|
|
|
|
serviceInstance.setServiceId(request.requestTemplate().feignTarget().name());
|
|
|
|
.name(), url.getHost(), url.getPort(), url.getScheme().equals("https"));
|
|
|
|
serviceInstance.setHost(url.getHost());
|
|
|
|
|
|
|
|
serviceInstance.setPort(url.getPort());
|
|
|
|
|
|
|
|
enhancedPluginContext.setServiceInstance(serviceInstance);
|
|
|
|
enhancedPluginContext.setServiceInstance(serviceInstance);
|
|
|
|
|
|
|
|
|
|
|
|
// Run post enhanced plugins.
|
|
|
|
// Run post enhanced plugins.
|
|
|
|