update rest and spring cloud samples #879
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
问题1
直接跑 dubbo-call-sc 示例,解决以下问题:
然后,依次去掉以下注解配置要求:
apache/dubbo#12719
@FeignClient(name = "spring-cloud-provider-for-dubbo")
如果这个能映射到 Dubbo 中的 providedBy 就太棒了!
问题2
这几种类型客户端怎么通过配置指定
问题3
Spring Web 注解支持的范围,哪些支持哪些不支持,如 PathVariable 等,怎么能明确的列出来。
问题4
从provider视角来看,如果未来我默认给 dubbo 协议注入 http 支持,那么我直接自动注入 extra-protocol=rest,启动rest加载流程是否合适?未来有没有更好的方法,理论上就是dubbo协议实现上再增加http server支持,那么这样的支持和triple中的h1 unary的区别是?
rest的无注解能不能和triple unary合并?
问题5
当前的 jetty/servlet/tomcat/resteasy/netty 这些之间的关系?
问题6
跑 sc-call-dubbo 的示例,修复以下问题
http://localhost:8099/dubbo/rest/test2