-
Notifications
You must be signed in to change notification settings - Fork 196
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
[BUG] Backend url is not updating in higher env #422
Comments
|
Can you please post the log which shows the error? Make sure you scrub your logs before you post it here. |
there is no error, instead of QA backend API it is reflecting Dev api . |
It means you are not properly passing the override on the configuration file. Make sure there is no yaml indentation issue or something like that. |
could you please tell me where exactly need to override the configure the file , is it in configuration.qa.file , configuration.extractor.yaml |
Please make sure you read the associated docs and wiki as we include all the details there. To answer your question you should override it in the configuration.[env].yaml file. The configuration.extractor.yaml file is to filter artifacts to be extracted. |
Configuration.qa.yaml |
the same issue, the applicationInsights still pointing to a dev instance and throwing the error, stating that your qa environment doesn't have a dev app insights instance... failed with status code 400. Content is '{"error":{"code":"ValidationError","message":"One or more fields contain incorrect values:","details":[{"code":"ValidationError","target":"loggerId","message":"Logger Id 'appi-dev-cc' does not exist"}]}}' Of course, it doesn't exist, because I am publishing my artifacts to a QA APIM instance, in configuration.qa.yaml I am stating
|
It's well documented under our wiki. Also there are past closed GitHub issues around the same topic that were resolved. Take a look there. |
Thanks for the inputs waelkdouh. But could you please help me where exactly i need to update backend url in higher environment. |
@Varaprasad91 please take a look at the official restful api docs here. Remember our extractor/publisher tool utilizes this api. Furthermore our configuration system respects the body format found in the afformentioned docs. So this means you would override it in the configuration.[env].yaml file in the same way that it looks in the docs. Hopefully that helps. |
Also for the record we provide a sample configuration file in our repository which you can find here. |
Release version
v4.3.0
Describe the bug
I have two API Management ( One is Dev and other one is QA ). I setup APIOPS Pipeline ( Extractor and Publisher )
When I am publishing the chnage to Higher environment was HTTP backend is not updating. It is same of Dev
Expected behavior
URL has to update with QA API
Actual behavior
it is same as dev url
Reproduction Steps
Install the APIOps Toolkit for Azure APIM version [APIOps Toolkit for Azure APIM v4.3.0]
Set up the necessary environment configurations and ensure you have the required permissions to perform API publishing in Azure API Management.
Create a configuration.env.yaml file with the appropriate API definitions, environment mappings, and configurations. Ensure that all required information, such as API names, policies, and endpoints, is accurately provided in the configuration file.
Execute the API publishing process using the configuration.env.yaml file by running the corresponding command or script [provide the exact command or script you used].
Observe the execution process and any displayed output or error messages.
The text was updated successfully, but these errors were encountered: