I have an endpoint in 3 different environments
target dev: https://dev-env/some-path/endpoint-1
target test: https://test-env/some-path/endpoint-1
apigee test: https://apigee-dev/endpoint-1
apigee prod: https://apigee/endpoint-1
How do I achieve -
dev apigee proxy to invoke dev target
test apigee proxy to invoke test target
prod apigee proxy to invoke prod target
Really appreciate the community support in this regard !
Thank you
Hi Nikhil,
You may use Target Server per environment. In your proxy, you don't hard code the URL of your back-end anymore, but refer to the name of the Target Server. You have to use load balancing with one single Target Server, but mind this anti-pattern.
See also this article.
Good luck!
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |