You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "liubao (Jira)" <ji...@apache.org> on 2019/12/05 08:28:00 UTC
[jira] [Updated] (SCB-1649) RestTemplate result can use a different
model than provider
[ https://issues.apache.org/jira/browse/SCB-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
liubao updated SCB-1649:
------------------------
Summary: RestTemplate result can use a different model than provider (was: RestTemplate result can use a different module than provider)
> RestTemplate result can use a different model than provider
> -----------------------------------------------------------
>
> Key: SCB-1649
> URL: https://issues.apache.org/jira/browse/SCB-1649
> Project: Apache ServiceComb
> Issue Type: New Feature
> Components: Java-Chassis
> Reporter: liubao
> Assignee: liubao
> Priority: Major
> Fix For: java-chassis-2.0.0
>
>
> Following code should execute successfully with throw an exception.
> ```
> responseModel = restTemplateInvoker
> .postForObject("cse://springmvc/springmvc/basic/postObject", responseModel, SpringmvcBasicResponseModel.class);
> assert responseModel.getResultMessage() == "Hello World";
> ```
--
This message was sent by Atlassian Jira
(v8.3.4#803005)