Open heowc opened 2 months ago
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.
Add related classes
RestClientDiscoveryClientOptionalArgs
RestClientEurekaHttpClient
RestClientTransportClientFactories
RestClientTransportClientFactory
Add property
eureka.client.restclient.enabled
(defaultfalse
)Change auto-configure
RestTemplate
-related settings forwebclient.enabled=false
have been removed.restclient.enabled
makes it meaninglessMove commonly used classes
NotFoundHttpResponse
EurekaHttpClientUtils
Edit the document
Added similar tests referring to
RestTemplate
andWebClient
Close #4257