servicecomb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bismy" <bi...@qq.com>
Subject 回复: [DISCUSSION java-chassis]scan RestController to to make springmvc controller publish as ServiceComb Rest easier
Date Sat, 27 Oct 2018 07:13:54 GMT
I am going to make it default to true. And add some release notes about this change.
Our compatible rule is making things better by default, and users can change to old feature
when integration. Or we can not implement new features due to users bad practices. 




------------------ 原始邮件 ------------------
发件人: "zzzwjm"<zzzwjm@gmail.com>;
发送时间: 2018年10月27日(星期六) 中午11:05
收件人: "dev"<dev@servicecomb.apache.org>;

主题: Re: [DISCUSSION java-chassis]scan RestController to to make springmvc controller publish
as ServiceComb Rest easier



+1

but, what's default value of servicecomb.rest.service.scanRestController
if to be true, then can make spring mvc controller publish as ServiceComb
Rest easier, but maybe not compatible
but if to be false, then this feature is not so useful?

bismy <bismy@qq.com> 于2018年10月27日周六 上午10:57写道:

> Hi all,
>
>
> I am going to implement a feature that scan beans with @RestController
> annotation, and taken it same as:
>   1. @RestSchema(schemaId = class.getName())
>   2. @RequestMapping("/")
>
>
> Consider some users want to make use of both spring mvc controller and
> ServiceComb REST, we add a configuration
>    servicecomb.rest.service.scanRestController
> to turn off this feature.
>
>
> Any suggestions?
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message