[
https://issues.apache.org/jira/browse/SCB-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16698504#comment-16698504
]
ASF GitHub Bot commented on SCB-1024:
-------------------------------------
wujimin opened a new pull request #1008: [SCB-1024] Max connection limit
URL: https://github.com/apache/servicecomb-java-chassis/pull/1008
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> map interface to some java class
> ---------------------------------
>
> Key: SCB-1024
> URL: https://issues.apache.org/jira/browse/SCB-1024
> Project: Apache ServiceComb
> Issue Type: Improvement
> Components: Java-Chassis
> Reporter: 何一乐
> Priority: Major
>
> 1.org.apache.servicecomb.swagger.extend.ModelResolverlverExt中增加一个map保存interface与实现类之间的映射关系:Map<JavaType,
> JavaType>
> 2.提供手段,让开发人员注册映射关系
> 3.在两个resolve调用之前,将interface换成实现类:type = = typeMaps.getOrDefault(ult(type,
> type);
> );
> org.apache.servicecomb.swagger.extend.ModelResolverlverExt#resolve
> ve
> org.apache.servicecomb.swagger.extend.ModelResolverlverExt#resolveProperty
> 目标是自动将operation输入/输出相关的接口自动转换为实现类
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)