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

[Question] How to incrementally redeploy one product #451

Closed
mmmbai opened this issue Dec 19, 2023 · 3 comments
Closed

[Question] How to incrementally redeploy one product #451

mmmbai opened this issue Dec 19, 2023 · 3 comments

Comments

@mmmbai
Copy link

mmmbai commented Dec 19, 2023

Release version

5.0.1

Question Details

Suppose I have one api api1 associated product product1. Both of them already deployed to dev and prd.
Now I create one new api api2 and it is also associated product1. After that I am using following yaml file to extract it

apiNames:
  - api2
productNames:
  - product1

After that I can found following in the apis.json file inside products folder,

[
  {
    "name": "api2"
  }
]

After that I will deploy those files to prd, the publisher will remove api1 from product product1. That is not expected

info: Publisher[0]
Removing API api1 in product product1

Expected behavior

The publisher should not touch existing API. It should incrementally redeploy the product and keep relationship with api1

Actual behavior

The publisher removed existing api1 from product1

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.

@waelkdouh
Copy link
Contributor

The tool is behaving as expected. You should include both apis in your configuration file.

@guythetechie
Copy link
Contributor

As @waelkdouh said, this current behavior is expected. We have on our roadmap to implement new behavior that matches your expectations. See details of the planned behavior here.

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