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/30 09:25:15 UTC

[GitHub] [servicecomb-java-chassis] zouwenxmu opened a new issue #1801: servicecomb.rest.servlet.urlPattern 支持多个path吗?

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


   因存量项目需要注册多个路径下的rest接口,跟踪了一下初始化sevlet代码
   `ServletUtils.filterUrlPatterns(urlPattern)`,从源码看上去像是要支持多个路径的
   使用数组参数传入urlPattern
   `urlPattern: ['/cse/*','/adapter/*']` 或者
   `urlPattern:` 
   ` - /cse/*`
   ` -/adapter/*`
   尝试后,并没有解析成多个路径,注册不成功


----------------------------------------------------------------
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 #1801: servicecomb.rest.servlet.urlPattern 支持多个path吗?

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


   目前是不支持的。 


----------------------------------------------------------------
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