You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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.
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
After that I can found following in the apis.json file inside products folder,
After that I will deploy those files to prd, the publisher will remove api1 from product product1. That is not expected
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
The text was updated successfully, but these errors were encountered: