shri-arunraj commented on issue #3255:
URL:
https://github.com/apache/servicecomb-java-chassis/issues/3255#issuecomment-1203521905
@zhaozw
```
servicecomb-config-order: 100
servicecomb:
service:
application: talech-services
name: gateway
properties:
allowCrossApp: true #whether to allow calls across applications
version: 0.0.4
registry:
# Default using local service center
address: http://localhost:30100
# address: https://cse.cn-south-1.myhuaweicloud.com
instance:
watch: false
flowcontrol:
Consumer:
qps:
enabled: true
limit:
oauth-service:
OAuthDeveloperService:
registerDeveloper: 4
handler:
chain:
Consumer:
default:
loadbalance,tracing-consumer,qps-flowcontrol-consumer,bizkeeper-consumer
service:
mfa-login-service: authClientGrant,loadbalance,tracing-consumer
Provider:
default: bizkeeper-provider,tracing-provider
loadbalance:
strategy:
name: WeightedResponse
rest:
address: 0.0.0.0:9091?sslEnabled=false
tracing:
enabled: true
http:
dispatcher:
edge:
url:
enabled: true
order: 1
mappings:
mfaServices:
path: "/a/mfa/login/.*"
microserviceName: mfa-login-service
prefixSegmentCount: 1
versionRule: 0.0.0+
oauthAdmin:
path: "/admin/oauth/.*"
microserviceName: oauth-service
prefixSegmentCount: 1
versionRule: 0.0.0+
oauthService:
path: "/oauth2/.*"
microserviceName: oauth-service
prefixSegmentCount: 0
versionRule: 0.0.0+
```
Note here I am consuming here the rest API hosted by `oauth-service`
microservice and whose path starts with `/oauth2/.*`. It was working before
when the provider uses `servlet` based spring boot starter rather than
`standalone` starter.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]