-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Revert "Adding a new stable API-version 2023-05-01" #23647
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
Conversation
This reverts commit c655f50.
Hi, @Shashank1306s Thanks for your PR. I am workflow bot for review process. Here are some small tips. Any feedback about review process or workflow bot, pls contact swagger and tools team. [email protected] |
Swagger Validation Report
|
compared swaggers (via Oad v0.10.4)] | new version | base version |
---|---|---|
dataprotection.json | 2023-05-01(d52cceb) | 2023-05-01(main) |
Only 30 items are listed, please refer to log for more details.
Rule | Message |
---|---|
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/backupVaults' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L21:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/operationResults/{operationId}' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L63:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/operationStatus/{operationId}' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L133:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/operationStatus/{operationId}' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L184:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/operationStatus/{operationId}' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L235:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L283:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L328:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/operationResults/{operationId}' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L544:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/checkNameAvailability' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L612:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/checkFeatureSupport' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L670:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/providers/Microsoft.DataProtection/operations' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L724:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L761:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L809:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L969:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1017:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/backup' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1205:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/validateForBackup' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1281:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/operationResults/{operationId}' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1354:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/recoveryPoints' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1411:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/recoveryPoints/{recoveryPointId}' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1477:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/rehydrate' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1531:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/restore' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1604:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/resumeBackups' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1686:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/resumeProtection' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1750:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/stopProtection' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1814:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/suspendBackups' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1878:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/sync' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L1942:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/validateRestore' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L2015:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L2091:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/findRestorableTimeRanges' removed or restructured? Old: Microsoft.DataProtection/stable/2023-05-01/dataprotection.json#L2139:5 |
️️✔️
Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️️✔️
LintDiff succeeded [Detail] [Expand]
Validation passes for LintDiff.
compared tags (via openapi-validator v2.0.0) | new version | base version |
---|---|---|
default | default(d52cceb) | default(main) |
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
ApiReadinessCheck succeeded [Detail] [Expand]
️️✔️
~[Staging] ServiceAPIReadinessTest succeeded [Detail] [Expand]
Validation passes for ServiceAPIReadinessTest.
️️✔️
SwaggerAPIView succeeded [Detail] [Expand]
️️✔️
CadlAPIView succeeded [Detail] [Expand]
️️✔️
TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️
ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️
SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️
PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️
PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️
SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️
Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️
CadlValidation succeeded [Detail] [Expand]
Validation passes for CadlValidation.
️️✔️
TypeSpec Validation succeeded [Detail] [Expand]
Validation passes for TypeSpec Validation.
️️✔️
PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
Swagger Generation Artifacts
|
Generated ApiView
|
Hi @Shashank1306s, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow breaking change policy to request breaking change review and approval before proceeding swagger PR review. |
@live1206 @Shashank1306s why was this Stable API Version removed? This API Version's already shipped into downstream tooling (for example this API Version has shipped into My understanding is that once a Stable API Version is merged into this repository it then needs to go through the standard 3 year deprecation cycle - so could you elaborate on why this API Version's been removed suddenly, since there's no reasoning listed in this PR? cc @mikekistler Thanks! |
@tombuildsstuff AFAIK, we haven't released any SDK for this swagger version, so the stable API version is not available to the users yet. It should be safe to revert the swagger change, please let me know if I am wrong about this. Listing the reasons from @Shashank1306s in mail thread: |
@live1206 FWIW we parse the API Definition files directly (since we don't consume the AutoRest Tags as we intentionally don't want to support Composite API Versions) - so support for this API Version has already shipped on our side (see https://pkg.go.dev/github.com/hashicorp/[email protected]/resource-manager/dataprotection/2023-05-01). From our side, once a Stable API Version has been merged into this repository - we consider this ready to consume by our tooling - so whilst I can understand removing a Preview API version (which IIRC should go through a ~3 month deprecation period) - removing a Stable API Version should go through the standard 3 year deprecation period AFAIK? For the moment we can remove support for this API version on our side (since it sounds like this isn't fully deployed on the ARM side?), which is being tracked in hashicorp/pandora#2419. However it would be helpful for consumers of the API Definitions to have context for these removals, rather than an empty PR description without any context (which has meant we've had to spend time investigating why, rather than just working around this), particularly since this has had the |
I agree with @tombuildsstuff that stable versions committed to the public main branch should not be pulled back or changed in any non-breaking manner without going through breaking change review. If the service was not yet available to users then it should not have merged to main in the first place. |
Thanks @mikekistler for the clarification, I will not pull back any change without breaking change review anymore and will share this with the other team members. |
…ure#23647) This reverts commit c655f50.
@tombuildsstuff @mikekistler Is there a way to know the down-stream dependencies of the public swagger? I think breaking change review board would need to evaluate the dependencies as well during the breaking change review for this case. |
@live1206 at this point we're importing the majority of Services (see https://github.com/hashicorp/go-azure-sdk/tree/main/resource-manager) - we get a daily Swagger update via Dependabot, at which point all new API Versions for any existing Services that we're importing, will get imported - in the future the same will be true for new Services too - meaning that we'll be consuming any new API versions within ~24 hours (depending on the time of merge etc). Honestly the biggest issue here for us isn't that this got pulled (although that's unfortunate, bugs [such as merging this early] happen from time-to-time). The issue for us is that this PR contained no information about why this was being reverted (if the PR description stated that "this API version isn't yet available/deployed/etc" we'd know how to react pretty quickly, but with a blank PR description we need to spend time digging in to understand what's happened. It looks like in this case the PR description now contains this information (so thanks @Shashank1306s for adding that) - so I'd like to call that out as a good example here of the type of information needed, which would have meant that we didn't need to dig into this: |
@tombuildsstuff |
Reverts #23541
Reasons to revert back the API-version 2023-05-01