Hi all,
We are using Edge Cloud, and we have microgateway deployments as well.
Currently in Edge Cloud we have a proxy like api.abc.com/v1/customers
which requires the customerid as a path parameter. It then servers different customer objects, like a customers plan, customer location, customers subscriptions.
So when the API is called, is called like
api.abc.com/v1/customers/cus1/plans
api.abc.com/v1/customers/cus2/locations
api.abc.com/v1/customers/cus2/plans
So in Edge Cloud we have a policy that routes between the different plans, locations endpoints.
<RouteRule name="PlanRoute"> <Condition>proxy.pathsuffix ~ "/customers/*/plans"</Condition> <TargetEndpoint>PlanDevEndpoint</TargetEndpoint>
How do we achieve this same thing in on microgateway?
Using a custom node policy? Can someone direct us how to do this?
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |