hypggg opened a new issue, #3625:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3625

   1、In my project , there is a routing service, that forwards requests to 
corresponding microservices ,Now I need to configure the apis opened by each 
microservice. like this:
   "/a/a1" ->Service A ,"/a/a2" -> ServcieA ; "/b/b1"->ServiceB, 
"/a/b2"->"ServiceB";
   whe request path is "/a/a1", I get the microServiceName is "ServiceA", then 
dispatch the request to "ServiceA"
   `EdgeInvocation edgeInvocation = new EdgeInvocation();
   edgeInvocation.init(microServiceName, context, path, null);
   edgeInvocation.edgeInvoke();`
   
   2、 I want to obtain the apis opened by each microservice from the service 
center. like :
   ServiceA:["/a/a1","/a/a2"]; ServiceB:["/b/b1","/a/b2"];
   In this way, I do not need to configure the apis opened by each microservice.


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

Reply via email to