[ 
https://issues.apache.org/jira/browse/SCB-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16442241#comment-16442241
 ] 

ASF GitHub Bot commented on SCB-474:
------------------------------------

zhengyangyong opened a new pull request #658: [SCB-474] add endpoint filter 
(only rest endpoints) for zuul integration
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/658
 
 
   Signed-off-by: zhengyangyong <yangyong.zh...@huawei.com>
   
   Follow this checklist to help us incorporate your contribution quickly and 
easily:
   
    - [ ] Make sure there is a [JIRA 
issue](https://issues.apache.org/jira/browse/SCB) filed for the change (usually 
before you start working on it).  Trivial changes like typos do not require a 
JIRA issue.  Your pull request should address just this issue, without pulling 
in other changes.
    - [ ] Each commit in the pull request should have a meaningful subject line 
and body.
    - [ ] Format the pull request title like `[SCB-XXX] Fixes bug in 
ApproximateQuantiles`, where you replace `SCB-XXX` with the appropriate JIRA 
issue.
    - [ ] Write a pull request description that is detailed enough to 
understand what the pull request does, how, and why.
    - [ ] Run `mvn clean install` to make sure basic checks pass. A more 
thorough check will be performed on your pull request automatically.
    - [ ] If this contribution is large, please file an Apache [Individual 
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
   
   ---
   
   Add rest filter for spring-cloud-zuul module in order to screen highway 
endpoints.
   
   only XML and Faceted project problem warnings
   
![image](https://user-images.githubusercontent.com/374335/38926660-0f1d886a-4336-11e8-9a45-505e8dbbed4f.png)

----------------------------------------------------------------
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:
us...@infra.apache.org


> 使用zuul做网关进行路由,当同一个微服务接口同时开放rest和highway方式时,出现无法调用情况。
> ----------------------------------------------------
>
>                 Key: SCB-474
>                 URL: https://issues.apache.org/jira/browse/SCB-474
>             Project: Apache ServiceComb
>          Issue Type: Bug
>          Components: Java-Chassis
>    Affects Versions: java-chassis-1.0.0-m1
>            Reporter: zhousujan
>            Assignee: yangyongzheng
>            Priority: Major
>             Fix For: java-chassis-1.0.0-m2
>
>
> 使用zuul做网关进行路由,当同一个微服务接口同时开放rest和highway方式时,出现无法调用情况。经过定位,发现zuul能够把同一个微服务暴露的两种接入方式都获取到一个服务列表中,zuul默认使用轮询的方式进行路由,当轮询到rest方式时,能够正常调用;轮询到highway的地址时,必定报错。



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to