Hello @klingerf, thanks for your answer!
I try to make a simple example with services mesh.
I have three microservices to access an application.
The login service receives the username and password and returns a json:
The smalltoken service receives the username and returns a json:
The longtoken service receives the username and returns a json:
The scenario is the following:
An application makes a request to the service login in the service grid.
In the proxy of the service, the address of the login service is called
If the user type returned by the login service is “user”, the smalltoken service is called
If the user type returned by the login service is “admin”, the longtoken service is called
Is it possible to set this business rules in the proxy (routing rules)? Can this be done in the .yml file when the service is injected?
Sorry for my extensive question.
Thanks in advance!