I need to create a service proxy which will route the traffic based on some conditions and configurations.
for example service calls which have header {clientId : XXXX} should be routed 95% to legacy service and 5% to new service.
This feature is available in Zuul and Istio. How we can implement the same in Apigee
Solved! Go to Solution.
I've done this with JavaScript.
An example is here: https://github.com/DinoChiesa/ApigeeEdge-BlueGreen-1
I've done this with JavaScript.
An example is here: https://github.com/DinoChiesa/ApigeeEdge-BlueGreen-1
thanks Dino for your post. I can see that the weights and targets are selected in a random selection manner. do we have any way to select the targets based on weights provided in configuration.
For example: The first request should go to legacy system and next 4 requests should go to new microservice, and then next again to legacy and next 4 to new microservice
User | Count |
---|---|
7 | |
2 | |
2 | |
2 | |
1 |