You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for opening this issue! Please be patient while we will look into it and get back to you as this is an open source project. In the meantime make sure you take a look at the [closed issues](https://github.com/Azure/apiops/issues?q=is%3Aissue+is%3Aclosed) in case your question has already been answered. Don't forget to provide any additional information if needed (e.g. scrubbed logs, detailed feature requests,etc.).
Whenever it's feasible, please don't hesitate to send a Pull Request (PR) our way. We'd greatly appreciate it, and we'll gladly assess and incorporate your changes.
waelkdouh
changed the title
[Question] Env specific serviceUrl not gett8ing updated
[Question] Env specific serviceUrl not getting updated
Dec 7, 2023
@KumarNaveen26 - The configuration change you made will override the service URL of the API, like this:
However, the code you provided (<set-backend-service base-url="DEV_ENV_URL" />) is a policy. This won't be affected by API configuration changes. The best way to override policy values across environments is with named values.
Create a named value in DEV with the desired backend URL.
Update your policy to use the named value (<set-backend-service base-url="{{base-url-named-value}}" />). Keep the double brackets.
Update your named value configuration in PROD with the appropriate PROD URL.
Release version
v5.0.0
Question Details
I have my api which is using the Webservice http url for backend.
<set-backend-service base-url="DEV_ENV_URL" />
I want this to be updated for prod env. So in my
configuration.prod.yaml
file, I have provided new value forserviceUrl
as belowEven after publishing it successfully, prod has the url of dev env. Could you please let me know what could be the issue.
Expected behavior
base-url in prod should be updated with PROD_ENV_URL.
Actual behavior
base-url in prod has the same value as DEV_ENV_URL.
Reproduction Steps
NA
The text was updated successfully, but these errors were encountered: