apache / apache/servicecomb-java-chassis
网关转发同appName下的,是否支持注册名为url前缀的动态路由
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 814
- Avg merge
- 8d 23h
- Merged PRs (30d)
- 1
Description
之前使用的是nacos作为注册中心,是支持的,举个例子
http://localhost:8080/query_service_name/query/xxx
localhost:8080是网关的地址IP
query_service_name是应用服务注册在nacos的注册服务名,相当于service comb的service name
这样请求,在SpringCloud网关不加任何路由规则是可以请求成功的
现在改成service comb为注册中心了,但是这种方式直接报错,网关报错404找不到了
也试过如下请求方式,但是也是同样报错,
http://localhost:8080/appName:query_service_name/query/xxx
现在就是疑问,service comb支持这个功能吗,如果支持我该如何修改,还是版本问题?
请大佬指点
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the gateway requests described in the issue, including both the service-name and appName-prefixed URL forms. Then inspect the gateway's dynamic routing and service-registration configuration or documentation to determine whether this routing pattern is supported. Done means documenting the supported behavior, required configuration, or affected version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100