-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Microsoft.Web - Add snapshots, deleted apps, app recovery #1566
Conversation
There will be some validation errors / warnings that are expected. Please refer to another currently open pull request for this spec at #1551 for a discussion of those errors. |
Hi There, I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result: File: AutoRest Linter Guidelines | AutoRest Linter Issues Send feedback and make AutoRest Linter Azure Bot smarter day by day! Thanks for your co-operation. |
I'm reviewing this today. |
@Nking92 I see a bunch of removals which looks like breaking changes. This would need a new api-version. Plus, you cant stop supporting GA APIs without any deprecation notice to customers. |
Outside of our swagger specs this feature is unannounced and not GA. The old version of this API will no longer work. I can still create a new API version if we need to. |
@Nking92, Please note that there are SDK that are released on top of these swaggers and removing this operation breaks customers that have already built dependency on them The swagger has to represent the Status of the API. if you swaggers are representing preview feature then add a -preview flag to the version folder of your swagger |
What are the next steps here, will a new API version be created and the existing functionality be preserved? |
The backend for the old API has been completely gutted from our production service since it had many crucial design flaws. I'm not worried about breaking customers who took a dependency on this particular feature, because the old API no longer works. Moving forward I'd prefer to completely revise our old API instead of creating a new API version, if that's acceptable. |
@Nking92 - So there are APIs being removed in DeletedWebApps.json file which, from what I understand, are not supported on the service side. These are non-GA APIs and so the customer impact should be minimal. I checked the traffic and there is no external traffic in the last 45 days. So we should be ok in removing the API in this file. Correct me if I am wrong on this. |
@ravbhatnagar Here are some of the technical details behind the change The recovery API was changed to use a long-running operation pattern that is compliant with ARM. In the past it returned HTTP 200 with an operation ID packed into the response body. Now it returns HTTP 202 with the operation resource in the location header. This is a breaking change, but this particular API has only been intended for internal use until we announce the feature is ready for preview. A few additional fields were added into the objects used to create website recovery requests. Those should not be breaking changes. |
It looks like some of the new properties being added are required which would be a breaking change yes? |
I agree that those would technically be breaking changes, however in the interest of getting the feature ready for an upcoming deadline, it would be helpful to not create a new API version. I checked ARM logs and only found 2 instances of this API being called externally, with both calls failing. I feel that it's safe to assume we won't be breaking any customer code with this change. Additionally, this version of the spec will be what I use to create the .NET SDK and Powershell commands for the feature. Since the feature hasn't been surfaced in any way except for the prior spec, I don't feel much risk in breaking customer code with this update. However if we decide that it's too risky to make this change as it is, I can do my best to update with a new API version. |
@Nking92 I think this sounds reasonable given the ARM metrics. Thanks for bearing with us. |
No modification for AutorestCI/azure-sdk-for-node |
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information
api-version
in the path should match theapi-version
in the spec).Quality of Swagger