spring-cloud-netflix
spring-cloud-netflix copied to clipboard
Support Spring RestClient as TransportClientFactory
Add related classes
-
RestClientDiscoveryClientOptionalArgs
-
RestClientEurekaHttpClient
-
RestClientTransportClientFactories
-
RestClientTransportClientFactory
Add property
-
eureka.client.restclient.enabled
(defaultfalse
)
Move commonly used classes
-
NotFoundHttpResponse
-
EurekaHttpClientUtils
Edit the document
Added similar tests referring to RestTemplate
and WebClient
Close #4257
Could you please inform me if there are any plans to phase out RestTemplate
related implementations in the future? 🤔
FYI) target issue: https://github.com/spring-cloud/spring-cloud-netflix/issues/4257
gentle ping 😄
Thanks @heowc, will take a look. We do not have a plan for phasing out RestTemplate
at this point.
Fixes gh-4257.
Hi @heowc, I have pushed a fix in the same area: https://github.com/spring-cloud/spring-cloud-netflix/commit/b23c5873192aebaf147f0566ca4817e4ed475d24. Please merge the code and resolve any conflict before proceeding with working on this PR.