-
Notifications
You must be signed in to change notification settings - Fork 201
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] Publisher fails to remove apis with tags.json file #562
Comments
|
Recently during a cleanup, we were using the Publisher to remove all APIM artifacts. We noticed that we were unable to delete any APIs that contained tags.json files. |
I encountered the same problem. It's trying to find the deleted tags.json file for some reason but in this case, it doesn't make sense to do it since publisher should just delete API. |
I've too am encountering a similar issue. It appears to be trying to navigate to the API Folder, before removing the file. |
The same behaviour is observed in my case too. As a temporary fix, I'm creating two PR's. In the first one, I delete tags.json file from api folder and in the other one, delete the entire folder itself. I hope we will get a permanent solution on this soon. |
Please try our latest release. We've changed the folder structure for related resources, and it should help with this issue. Search for |
Release version
APIOps Toolkit for Azure APIM v5.1.4
Describe the bug
The 5.1.4 version APIM Publisher seems unable to locate tags.json files in APIs when deleting.
Expected behavior
When an API folder is deleted from the APIM artifacts and published (using Publish Latest Commit option), the Publisher should find and remove that API completely. This includes locating and removing all files.
Actual behavior
When an API folder is deleted from the APIM artifacts and published (using Publish Latest Commit option), the Publisher fails with an error when trying to locate the tags.json file of the API.
Reproduction Steps
The text was updated successfully, but these errors were encountered: