-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Each Operation API & API policy in each environment #732
Comments
|
Hi @Setthawut-Peace <choose>
<when condition="@(context.Deployment.ServiceId == "apim-dev")">
<rewrite-uri template="/api/get/0010" copy-unmatched-params="true" />
</when>
<when condition="@(context.Deployment.ServiceId == "apim-prd")">
<set-backend-service base-url="https://api.openweathermap.org/data/2.5/weather" />
<rewrite-uri template="/api/" copy-unmatched-params="true" />
<set-header name="x-rapidapi-key" exists-action="override">
<value>abc1234</value>
</set-header>
</when>
</choose> |
Thank you |
Release version
v6.0.1.4
Question Details
How to handle if i have a specific policy in each environment. Example
Operation API 001 - Policy [DEV]
Operation API 001 - Policy [PRD]
Expected behavior
I need to using APIs & Operation APIs policy in each environment.
Actual behavior
Not able to find solution on how to override policy in each environment
Reproduction Steps
Not able to find solution on how to override policy in each environment
The text was updated successfully, but these errors were encountered: