You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "Daniel Qian (Jira)" <ji...@apache.org> on 2019/12/30 02:36:00 UTC

[jira] [Resolved] (SCB-1690) omega-transport-resttemplate does not use RestTemplateBuilder

     [ https://issues.apache.org/jira/browse/SCB-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Qian resolved SCB-1690.
------------------------------
    Resolution: Fixed

> omega-transport-resttemplate does not use RestTemplateBuilder
> -------------------------------------------------------------
>
>                 Key: SCB-1690
>                 URL: https://issues.apache.org/jira/browse/SCB-1690
>             Project: Apache ServiceComb
>          Issue Type: Improvement
>          Components: Saga
>            Reporter: Daniel Qian
>            Assignee: Daniel Qian
>            Priority: Major
>             Fix For: pack-0.6.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Currently omega-transport-resttemplate RestTemplateConfig creates a RestTemplate bean directly, not take advantage of RestTemplateBuilder (which provided in RestTemplateAutoConfiguration).
> This could cause some issues:
>  # No default or autoconfigured HttpMessageConverters, Interceptors added to it
>  # Client provided global RestTemplateCustomizers become useless
>  # Client provided global HttpMessageConverters become useless
> In one word, this RestTemplate contains only TransactionClientHttpRequestInterceptor.
> So we should useĀ RestTemplateBuilder.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)