Skip to content
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] Running publisher after revision deletion remove whole API #709

Open
Moonnz opened this issue Nov 25, 2024 · 1 comment
Open

[BUG] Running publisher after revision deletion remove whole API #709

Moonnz opened this issue Nov 25, 2024 · 1 comment

Comments

@Moonnz
Copy link

Moonnz commented Nov 25, 2024

Release version

v6.0.1.3

Describe the bug

When I commit changes to an API with multiple revisions and remove one of the revisions, the publisher removes the entire API.

Expected behavior

I expect that only the revision removed in the commit will be deleted from the APIM instance.

Actual behavior

In reality, the entire API is removed from the APIM instance.

Reproduction Steps

I have an API with three revisions:

apis/
├── azerty-service/
├── azerty-service;rev=2/
└── azerty-service;rev=3/

I delete the folder apis/azerty-service;rev=2, commit the changes, and run the publisher for these updates.

As a result, the entire API azerty-service, including all its revisions, is removed from the APIM instance.

Copy link

  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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant