You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/05/18 03:17:23 UTC

[GitHub] [servicecomb-java-chassis] Caixinyang opened a new issue #1758: edgeservice路由配置,配置项名称导致路由不可用

Caixinyang opened a new issue #1758:
URL: https://github.com/apache/servicecomb-java-chassis/issues/1758


   路由配置如下:
               **face-track-manager**:
                 prefixSegmentCount: 0
                 path: "/v1/.*/video-analysis/face-track.*"
                 microserviceName: face-track-manager
                 versionRule: 0.0.0-2.0.0
               video-analysis-manager:
                 prefixSegmentCount: 0
                 path: "/v1/.*/video-analysis.*"
                 microserviceName: video-analysis-manager
                 versionRule: 0.0.0-2.0.0
   如上配置,若配置项名称为微服务名face-track-manager会导致路由下发到video-analysis-manager服务中,若配置项名称为test等其他名字,路由会正常下发到face-track-manager服务中。
   测试路由为:
   http://127.0.0.1:3330/v1/123/video-analysis/face-track/tasks?offset=0&limit=10 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #1758: edgeservice路由配置,配置项名称导致路由不可用

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #1758:
URL: https://github.com/apache/servicecomb-java-chassis/issues/1758#issuecomment-629931543


   这个问题缺少分析,看不出可能问题出现在什么地方。 建议调试下 `URLMappedEdgeDispatcher` 分析下原因。


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org