We have 2 API proxies with basepaths as shown below for each of them :
API Proxy | Basepath |
Proxy1 | something/* |
Proxy2 | something/else |
We would like to understand
Solved! Go to Solution.
The Edge (Message Processor component) maintains classification tree which contains the api name, revisions, basepaths, environment etc. Using this the API request gets routed to an appropriate API Proxy.
If two APIs have a part of the basepath same, then Edge will first check if there's a specific path.
So in the example provide in the question, this is how it works:
Please note, if the API with the basepath "something/else" is undeployed for some reason. And during this time, if an API request comes with the path "something/else", then the request is routed to API with the basepath "something/*".
The Edge (Message Processor component) maintains classification tree which contains the api name, revisions, basepaths, environment etc. Using this the API request gets routed to an appropriate API Proxy.
If two APIs have a part of the basepath same, then Edge will first check if there's a specific path.
So in the example provide in the question, this is how it works:
Please note, if the API with the basepath "something/else" is undeployed for some reason. And during this time, if an API request comes with the path "something/else", then the request is routed to API with the basepath "something/*".
GREAT question!