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] Publisher removing API's in the Product that are not included in the change. #621

Closed
kantipenko opened this issue Aug 9, 2024 · 4 comments

Comments

@kantipenko
Copy link

Release version

v.6.0.1/5.1.4

Describe the bug

We have product that has references to the multiple API's. We deploying specific one API from this Product. During deployment Publisher is deleting API references in the product that are not included in the deployment.

Expected behavior

Product has all references from the source not dependent on the API being deployed.

Actual behavior

API's are removed from the Product references.

Reproduction Steps

Create at least 2 APIs that has same product, deploy only one API and product that references both API's.

Copy link

github-actions bot commented Aug 9, 2024

  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.

@DSpirit
Copy link
Contributor

DSpirit commented Aug 10, 2024

Hi @kantipenko, I've experienced this behaviour using APIOps < v6.0.1, check here: #245.
You mentioned versions v.6.0.1/5.1.4 so I just wanted to make sure - is this still happening for you with version 6.x.x?

@kantipenko
Copy link
Author

@DSpirit You are rights. It actually worked with 6.0.1, we tried with one of the 6.0.1 Release candidates.
Now we are seeing another behaviour
Previously it was also extracting Policy, groups, Apis(even in 6.0.1RC)
image
Now it is only product information
image
Can we have both all related information to the product but that it is not deleting API's that we did not specify from the product on deployment?

We have product with multiple API, but want to deploy specific API's through environments. Ideally API that we deploy should have all related information..

@guythetechie
Copy link
Contributor

I have created a new issue to address product groups not being extracted. It's a bug, will push a fix. Closing this issue in favor of that one.

@guythetechie guythetechie closed this as not planned Won't fix, can't repro, duplicate, stale Aug 14, 2024
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

3 participants