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

Fixing swagger correctness issue in BackupStatusResponse #25383

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

r-o-h-i-n-i
Copy link
Contributor

@r-o-h-i-n-i r-o-h-i-n-i commented Aug 18, 2023

ARM (Control Plane) API Specification Update Pull Request

PR review workflow diagram

Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

diagram

[1] ARM review queue (for merge queues, see [4])
The PRs are processed by time opened, ascending. Your PR may show up on 2nd or later page.
If you addressed Step 1 from the diagram and your PR is not showing up in the queue, ensure the label ARMChangesRequested
is removed from your PR. This should cause the label WaitForARMFeedback to be added.
[2] https://aka.ms/azsdk/support/specreview-channel
[3] List of SDK breaking changes approvers in pinned Teams announcement
[4] public repo merge queue, private repo merge queue (for ARM review queue, [1])

If you need further help with anything, see Getting help section below.

Purpose of this PR

What's the purpose of this PR? Check all that apply. This is mandatory!

  • New API version. (Such PR should have been generated with OpenAPI Hub, per this wiki doc.)
  • Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
  • Update existing version to fix swagger quality issues in S360.
  • Other, please clarify:
    • edit this with your clarification

Due diligence checklist

To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

Breaking changes review (Step 1)

  • If the automation determines you have breaking changes, i.e. Step 1 from the diagram applies to you,
    you must follow the breaking changes process.
    IMPORTANT This applies even if:
    • The tool fails while it shouldn't, e.g. due to runtime exception, or incorrect detection of breaking changes.
    • You believe there is no need for you to request breaking change approval, for any reason.
      Such claims must be reviewed, and the process is the same.

ARM API changes review (Step 2)

  • If this PR is in purview of ARM review then automation will add the ARMReview label.
  • If you want to force ARM review, add the label yourself.
  • Proceed according to the diagram at the top of this comment.

Getting help

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Aug 18, 2023

Next Steps to Merge

⚠️ This is an experimental comment. It may not always be up-to-date. ⚠️

✔️ All automated merging requirements have been met! Refer to step 4 in the PR workflow diagram (even if your PR is for data plane, not ARM).

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Aug 18, 2023

Swagger Validation Report

️❌BreakingChange: 2 Errors, 0 Warnings failed [Detail]
compared swaggers (via Oad v0.10.4)] new version base version
bms.json 2023-04-01(e144e55) 2023-04-01(main)
Rule Message
1041 - AddedPropertyInResponse The new version has a new property 'protectedItemsCount' in response that was not found in the old version.
New: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L10562:7
Old: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L10562:7
1041 - AddedPropertyInResponse The new version has a new property 'acquireStorageAccountLock' in response that was not found in the old version.
New: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L10562:7
Old: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L10562:7
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️LintDiff: 0 Warnings warning [Detail]
compared tags (via openapi-validator v2.1.4) new version base version
package-2023-04 package-2023-04(e144e55) package-2023-04(main)

The following errors/warnings exist before current PR submission:

Only 30 items are listed, please refer to log for more details.

Rule Message
ImplementPrivateEndpointAPIs The private endpoint API: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateLinkResources is missing.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L20
ImplementPrivateEndpointAPIs The private endpoint API: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateEndpointConnections is missing.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L20
PathForNestedResource The path for nested resource doest not meet the valid resource pattern.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L21
PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig'
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L21
PutGetPatchResponseSchema /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig has different responses for PUT/GET/PATCH operations. The PUT/GET/PATCH operations must have same schema response.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L21
ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L21
SubscriptionsAndResourceGroupCasing The path segment Subscriptions should be subscriptions.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L21
ParametersOrder The parameters:vaultName,resourceGroupName should be kept in the same order as they present in the path.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L22
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L48
ParametersOrder The parameters:vaultName,resourceGroupName should be kept in the same order as they present in the path.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L65
PutResponseSchemaDescription Any Put MUST contain 200 and 201 return codes.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L97
ParametersOrder The parameters:vaultName,resourceGroupName should be kept in the same order as they present in the path.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L117
PatchResponseCode Synchronous PATCH must have 200 return code.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L117
UnSupportedPatchProperties Mark the top-level property 'location', specified in the patch operation body, as readOnly or immutable. You could also choose to remove it from the request payload of the Patch operation. These properties are not patchable.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L136
PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupPreValidateProtection'
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L164
SubscriptionsAndResourceGroupCasing The path segment Subscriptions should be subscriptions.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L164
MissingDefaultResponse Operation is missing a default response.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L194
RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L194
PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupStatus'
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L209
SubscriptionsAndResourceGroupCasing The path segment Subscriptions should be subscriptions.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L209
MissingDefaultResponse Operation is missing a default response.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L239
RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L239
PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupValidateFeatures'
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L254
SubscriptionsAndResourceGroupCasing The path segment Subscriptions should be subscriptions.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L254
MissingDefaultResponse Operation is missing a default response.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L284
RequiredDefaultResponse The response is defined but without a default error response implementation.Consider adding it.'
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L284
PathResourceTypeNameCamelCase Resource type naming must follow camel case. Path: '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/backupProtectionIntent/{intentObjectName}'
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L299
ResourceNameRestriction The resource name parameter 'vaultName' should be defined with a 'pattern' restriction.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L299
ResourceNameRestriction The resource name parameter 'fabricName' should be defined with a 'pattern' restriction.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L299
ResourceNameRestriction The resource name parameter 'intentObjectName' should be defined with a 'pattern' restriction.
Location: Microsoft.RecoveryServices/stable/2023-04-01/bms.json#L299
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️SwaggerAPIView 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).
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Aug 18, 2023

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]
 Please click here to preview with your @microsoft account. 
️❌SDK Breaking Change Tracking failed [Detail]

Breaking Changes Tracking

azure-sdk-for-go - sdk/resourcemanager/recoveryservices/armrecoveryservicesbackup - 3.0.0
+	Field `ActionRequired` of struct `PrivateLinkServiceConnectionState` has been removed
+	Field `SoftDeleteRetentionPeriod` of struct `AzureFileshareProtectedItem` has been removed
+	Field `SoftDeleteRetentionPeriod` of struct `AzureIaaSClassicComputeVMProtectedItem` has been removed
+	Field `SoftDeleteRetentionPeriod` of struct `AzureIaaSComputeVMProtectedItem` has been removed
+	Field `SoftDeleteRetentionPeriod` of struct `AzureIaaSVMProtectedItem` has been removed
+	Field `SoftDeleteRetentionPeriod` of struct `AzureSQLProtectedItem` has been removed
+	Field `SoftDeleteRetentionPeriod` of struct `AzureVMWorkloadProtectedItem` has been removed
+	Field `SoftDeleteRetentionPeriod` of struct `AzureVMWorkloadSAPAseDatabaseProtectedItem` has been removed
+	Field `SoftDeleteRetentionPeriod` of struct `AzureVMWorkloadSAPHanaDBInstanceProtectedItem` has been removed
+	Field `SoftDeleteRetentionPeriod` of struct `AzureVMWorkloadSAPHanaDatabaseProtectedItem` has been removed
+	Field `SoftDeleteRetentionPeriod` of struct `AzureVMWorkloadSQLDatabaseProtectedItem` has been removed
+	Field `SoftDeleteRetentionPeriod` of struct `DPMProtectedItem` has been removed
+	Field `SoftDeleteRetentionPeriod` of struct `GenericProtectedItem` has been removed
+	Field `SoftDeleteRetentionPeriod` of struct `MabFileFolderProtectedItem` has been removed
+	Field `SoftDeleteRetentionPeriod` of struct `ProtectedItem` has been removed
+	Function `*AzureVMWorkloadSAPHanaHSR.GetAzureVMWorkloadProtectableItem` has been removed
+	Function `*AzureVMWorkloadSAPHanaHSR.GetWorkloadProtectableItem` has been removed
+	Struct `AzureVMWorkloadSAPHanaHSR` has been removed
azure-sdk-for-js - @azure/arm-recoveryservicesbackup - 11.0.0
+	Interface PrivateLinkServiceConnectionState no longer has parameter actionRequired
+	Interface ProtectedItem no longer has parameter softDeleteRetentionPeriod
+	Type of parameter protectableItemType of interface AzureVmWorkloadProtectableItem is changed from "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "SAPHanaHSR" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance" to "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "HanaHSRContainer" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance"
+	Type of parameter protectableItemType of interface WorkloadProtectableItem is changed from "AzureFileShare" | "IaaSVMProtectableItem" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "SAPHanaHSR" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance" to "AzureFileShare" | "IaaSVMProtectableItem" | "Microsoft.ClassicCompute/virtualMachines" | "Microsoft.Compute/virtualMachines" | "AzureVmWorkloadProtectableItem" | "SAPAseSystem" | "SAPHanaDatabase" | "SAPHanaSystem" | "SAPHanaDBInstance" | "HanaHSRContainer" | "SQLAvailabilityGroupContainer" | "SQLDataBase" | "SQLInstance"
azure-sdk-for-python-track2 - track2_azure-mgmt-recoveryservicesbackup - 6.0.0
+	Model AzureVmWorkloadSAPHanaDBInstanceProtectedItem no longer has parameter soft_delete_retention_period
️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
️⚠️ azure-sdk-for-python-track2 warning [Detail]
  • ⚠️Warning [Logs]Release - Generate from 0689d8a. SDK Automation 14.0.0
    command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
    cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
    command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
    cmderr	[automation_generate.sh] npm notice
    cmderr	[automation_generate.sh] npm notice New major version of npm available! 9.6.7 -> 10.0.0
    cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.0.0>
    cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@10.0.0` to update!
    cmderr	[automation_generate.sh] npm notice
  • ️✔️track2_azure-mgmt-recoveryservicesbackup [View full logs]  [Release SDK Changes] Breaking Change Detected
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog]   - Added operation RecoveryPointsCrrOperations.get
    info	[Changelog]   - Model AzureVmWorkloadProtectableItem has a new parameter is_protectable
    info	[Changelog]   - Model AzureVmWorkloadSAPAseSystemProtectableItem has a new parameter is_protectable
    info	[Changelog]   - Model AzureVmWorkloadSAPHanaDBInstance has a new parameter is_protectable
    info	[Changelog]   - Model AzureVmWorkloadSAPHanaDBInstanceProtectedItem has a new parameter nodes_list
    info	[Changelog]   - Model AzureVmWorkloadSAPHanaDBInstanceProtectedItem has a new parameter soft_delete_retention_period_in_days
    info	[Changelog]   - Model AzureVmWorkloadSAPHanaDatabaseProtectableItem has a new parameter is_protectable
    info	[Changelog]   - Model AzureVmWorkloadSAPHanaHSRProtectableItem has a new parameter is_protectable
    info	[Changelog]   - Model AzureVmWorkloadSAPHanaSystemProtectableItem has a new parameter is_protectable
    info	[Changelog]   - Model AzureVmWorkloadSQLAvailabilityGroupProtectableItem has a new parameter is_protectable
    info	[Changelog]   - Model AzureVmWorkloadSQLAvailabilityGroupProtectableItem has a new parameter nodes_list
    info	[Changelog]   - Model AzureVmWorkloadSQLDatabaseProtectableItem has a new parameter is_protectable
    info	[Changelog]   - Model AzureVmWorkloadSQLInstanceProtectableItem has a new parameter is_protectable
    info	[Changelog]   - Model BackupResourceVaultConfig has a new parameter soft_delete_retention_period_in_days
    info	[Changelog]   - Model BackupStatusResponse has a new parameter acquire_storage_account_lock
    info	[Changelog]   - Model BackupStatusResponse has a new parameter protected_items_count
    info	[Changelog]   - Model DistributedNodesInfo has a new parameter source_resource_id
    info	[Changelog]   - Model InquiryValidation has a new parameter protectable_item_count
    info	[Changelog]
    info	[Changelog] ### Breaking Changes
    info	[Changelog]
    info	[Changelog]   - Model AzureVmWorkloadSAPHanaDBInstanceProtectedItem no longer has parameter soft_delete_retention_period
️⚠️ azure-sdk-for-java warning [Detail]
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs]Release - Generate from 0689d8a. SDK Automation 14.0.0
    command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
    command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
  • ️✔️sdk/resourcemanager/recoveryservices/armrecoveryservicesbackup [View full logs]  [Release SDK Changes] Breaking Change Detected
    info	[Changelog] ### Breaking Changes
    info	[Changelog]
    info	[Changelog] - Function `*AzureVMWorkloadSAPHanaHSR.GetAzureVMWorkloadProtectableItem` has been removed
    info	[Changelog] - Function `*AzureVMWorkloadSAPHanaHSR.GetWorkloadProtectableItem` has been removed
    info	[Changelog] - Struct `AzureVMWorkloadSAPHanaHSR` has been removed
    info	[Changelog] - Field `SoftDeleteRetentionPeriod` of struct `AzureFileshareProtectedItem` has been removed
    info	[Changelog] - Field `SoftDeleteRetentionPeriod` of struct `AzureIaaSClassicComputeVMProtectedItem` has been removed
    info	[Changelog] - Field `SoftDeleteRetentionPeriod` of struct `AzureIaaSComputeVMProtectedItem` has been removed
    info	[Changelog] - Field `SoftDeleteRetentionPeriod` of struct `AzureIaaSVMProtectedItem` has been removed
    info	[Changelog] - Field `SoftDeleteRetentionPeriod` of struct `AzureSQLProtectedItem` has been removed
    info	[Changelog] - Field `SoftDeleteRetentionPeriod` of struct `AzureVMWorkloadProtectedItem` has been removed
    info	[Changelog] - Field `SoftDeleteRetentionPeriod` of struct `AzureVMWorkloadSAPAseDatabaseProtectedItem` has been removed
    info	[Changelog] - Field `SoftDeleteRetentionPeriod` of struct `AzureVMWorkloadSAPHanaDBInstanceProtectedItem` has been removed
    info	[Changelog] - Field `SoftDeleteRetentionPeriod` of struct `AzureVMWorkloadSAPHanaDatabaseProtectedItem` has been removed
    info	[Changelog] - Field `SoftDeleteRetentionPeriod` of struct `AzureVMWorkloadSQLDatabaseProtectedItem` has been removed
    info	[Changelog] - Field `SoftDeleteRetentionPeriod` of struct `DPMProtectedItem` has been removed
    info	[Changelog] - Field `SoftDeleteRetentionPeriod` of struct `GenericProtectedItem` has been removed
    info	[Changelog] - Field `SoftDeleteRetentionPeriod` of struct `MabFileFolderProtectedItem` has been removed
    info	[Changelog] - Field `ActionRequired` of struct `PrivateLinkServiceConnectionState` has been removed
    info	[Changelog] - Field `SoftDeleteRetentionPeriod` of struct `ProtectedItem` has been removed
    info	[Changelog]
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog] - New value `SoftDeleteFeatureStateAlwaysON` added to enum type `SoftDeleteFeatureState`
    info	[Changelog] - New enum type `VaultSubResourceType` with values `VaultSubResourceTypeAzureBackup`, `VaultSubResourceTypeAzureBackupSecondary`, `VaultSubResourceTypeAzureSiteRecovery`
    info	[Changelog] - New function `*AzureVMWorkloadSAPHanaHSRProtectableItem.GetAzureVMWorkloadProtectableItem() *AzureVMWorkloadProtectableItem`
    info	[Changelog] - New function `*AzureVMWorkloadSAPHanaHSRProtectableItem.GetWorkloadProtectableItem() *WorkloadProtectableItem`
    info	[Changelog] - New struct `AzureVMWorkloadSAPHanaHSRProtectableItem`
    info	[Changelog] - New field `SoftDeleteRetentionPeriodInDays` in struct `AzureFileshareProtectedItem`
    info	[Changelog] - New field `SoftDeleteRetentionPeriodInDays` in struct `AzureIaaSClassicComputeVMProtectedItem`
    info	[Changelog] - New field `SoftDeleteRetentionPeriodInDays` in struct `AzureIaaSComputeVMProtectedItem`
    info	[Changelog] - New field `SoftDeleteRetentionPeriodInDays` in struct `AzureIaaSVMProtectedItem`
    info	[Changelog] - New field `SoftDeleteRetentionPeriodInDays` in struct `AzureSQLProtectedItem`
    info	[Changelog] - New field `NodesList`, `SoftDeleteRetentionPeriodInDays` in struct `AzureVMWorkloadProtectedItem`
    info	[Changelog] - New field `NodesList`, `SoftDeleteRetentionPeriodInDays` in struct `AzureVMWorkloadSAPAseDatabaseProtectedItem`
    info	[Changelog] - New field `IsProtectable` in struct `AzureVMWorkloadSAPAseSystemProtectableItem`
    info	[Changelog] - New field `IsProtectable` in struct `AzureVMWorkloadSAPHanaDBInstance`
    info	[Changelog] - New field `NodesList`, `SoftDeleteRetentionPeriodInDays` in struct `AzureVMWorkloadSAPHanaDBInstanceProtectedItem`
    info	[Changelog] - New field `IsProtectable` in struct `AzureVMWorkloadSAPHanaDatabaseProtectableItem`
    info	[Changelog] - New field `NodesList`, `SoftDeleteRetentionPeriodInDays` in struct `AzureVMWorkloadSAPHanaDatabaseProtectedItem`
    info	[Changelog] - New field `IsProtectable` in struct `AzureVMWorkloadSAPHanaSystemProtectableItem`
    info	[Changelog] - New field `IsProtectable`, `NodesList` in struct `AzureVMWorkloadSQLAvailabilityGroupProtectableItem`
    info	[Changelog] - New field `IsProtectable` in struct `AzureVMWorkloadSQLDatabaseProtectableItem`
    info	[Changelog] - New field `NodesList`, `SoftDeleteRetentionPeriodInDays` in struct `AzureVMWorkloadSQLDatabaseProtectedItem`
    info	[Changelog] - New field `IsProtectable` in struct `AzureVMWorkloadSQLInstanceProtectableItem`
    info	[Changelog] - New field `SoftDeleteRetentionPeriodInDays` in struct `BackupResourceVaultConfig`
    info	[Changelog] - New field `AcquireStorageAccountLock`, `ProtectedItemsCount` in struct `BackupStatusResponse`
    info	[Changelog] - New field `SoftDeleteRetentionPeriodInDays` in struct `DPMProtectedItem`
    info	[Changelog] - New field `SourceResourceID` in struct `DistributedNodesInfo`
    info	[Changelog] - New field `SoftDeleteRetentionPeriodInDays` in struct `GenericProtectedItem`
    info	[Changelog] - New field `ProtectableItemCount` in struct `InquiryValidation`
    info	[Changelog] - New field `SoftDeleteRetentionPeriodInDays` in struct `MabFileFolderProtectedItem`
    info	[Changelog] - New field `GroupIDs` in struct `PrivateEndpointConnection`
    info	[Changelog] - New field `ActionsRequired` in struct `PrivateLinkServiceConnectionState`
    info	[Changelog] - New field `SoftDeleteRetentionPeriodInDays` in struct `ProtectedItem`
    info	[Changelog]
    info	[Changelog] Total 19 breaking change(s), 36 additive change(s).
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs]Release - Generate from 0689d8a. SDK Automation 14.0.0
    command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
    warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
    command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
  • ️✔️@azure/arm-recoveryservicesbackup [View full logs]  [Release SDK Changes]
    info	[Changelog] **Features**
    info	[Changelog]
    info	[Changelog]   - Interface BackupStatusResponse has a new optional parameter acquireStorageAccountLock
    info	[Changelog]   - Interface BackupStatusResponse has a new optional parameter protectedItemsCount
️❌ azure-resource-manager-schemas failed [Detail]
  • Code Generator Failed [Logs]Release - Generate from 0689d8a. Schema Automation 14.0.0
    command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
    cmderr	[initScript.sh]  ERR! code EBADENGINE
    cmderr	[initScript.sh]  Unsupported engine
    cmderr	[initScript.sh] npm ERR! engine Not compatible with your version of node/npm: npm@10.0.0
    cmderr	[initScript.sh] npm ERR! notsup Not compatible with your version of node/npm: npm@10.0.0
    cmderr	[initScript.sh] npm ERR! notsup Required: {"node":"^18.17.0 || >=20.5.0"}
    cmderr	[initScript.sh] npm ERR! notsup Actual:   {"npm":"8.19.4","node":"v16.20.2"}
    cmderr	[initScript.sh]  ERR! A complete log of this run can be found in:
    cmderr	[initScript.sh] npm ERR!     /home/cloudtest/.npm/_logs/2023-09-07T16_53_51_656Z-debug-0.log
    error	Script return with result [failed] code [1] signal [null] cwd [azure-resource-manager-schemas]: .sdkauto/initScript.sh
    warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
    command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    cmderr	[generateScript.sh] /mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@3.9.10/node_modules/ts-node/src/index.ts:500
    cmderr	[generateScript.sh]     return new TSError(diagnosticText, diagnosticCodes)
    cmderr	[generateScript.sh]            ^
    cmderr	[generateScript.sh] TSError: ⨯ Unable to compile TypeScript:
    cmderr	[generateScript.sh] cmd/generateall.ts(7,20): error TS2307: Cannot find module 'colors' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(11,19): error TS2307: Cannot find module 'yargs' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(12,18): error TS2307: Cannot find module 'path' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(14,35): error TS2307: Cannot find module 'fs' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(15,23): error TS2307: Cannot find module 'strip-ansi' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(53,9): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the `lib` compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(64,9): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the `lib` compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(81,67): error TS7006: Parameter 'x' implicitly has an 'any' type.
    cmderr	[generateScript.sh] cmd/generateall.ts(82,49): error TS7006: Parameter 'f' implicitly has an 'any' type.
    cmderr	[generateScript.sh] cmd/generateall.ts(106,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the `lib` compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(117,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the `lib` compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(118,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the `lib` compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(169,13): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig.
    cmderr	[generateScript.sh]     at createTSError (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@3.9.10/node_modules/ts-node/src/index.ts:500:12)
    cmderr	[generateScript.sh]     at reportTSError (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@3.9.10/node_modules/ts-node/src/index.ts:504:19)
    cmderr	[generateScript.sh]     at getOutput (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@3.9.10/node_modules/ts-node/src/index.ts:739:36)
    cmderr	[generateScript.sh]     at Object.compile (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@3.9.10/node_modules/ts-node/src/index.ts:955:32)
    cmderr	[generateScript.sh]     at Module.m._compile (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@3.9.10/node_modules/ts-node/src/index.ts:1043:43)
    cmderr	[generateScript.sh]     at Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    cmderr	[generateScript.sh]     at Object.require.extensions.<computed> [as .ts] (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@3.9.10/node_modules/ts-node/src/index.ts:1046:12)
    cmderr	[generateScript.sh]     at Module.load (node:internal/modules/cjs/loader:1076:32)
    cmderr	[generateScript.sh]     at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    cmderr	[generateScript.sh]     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    cmderr	[generateScript.sh]  notice
    cmderr	[generateScript.sh] npm notice New major version of npm available! 8.19.4 -> 10.0.0
    cmderr	[generateScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.0.0>
    cmderr	[generateScript.sh] npm notice Run `npm install -g npm@10.0.0` to update!
    cmderr	[generateScript.sh] npm notice
    error	Script return with result [failed] code [1] signal [null] cwd [azure-resource-manager-schemas]: .sdkauto/generateScript.sh
    warn	Skip package processing as generation is failed
️❌ azure-powershell failed [Detail]
  • Pipeline Framework Failed [Logs]Release - Generate from 0689d8a. SDK Automation 14.0.0
    command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
    command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
    SSL error: syscall failure: Broken pipe
    Error: SSL error: syscall failure: Broken pipe
  • ⚠️Az.recoveryservicesbackup.DefaultTag [View full logs
    error	Fatal error: SSL error: syscall failure: Broken pipe
    error	The following packages are still pending:
    error		Az.recoveryservicesbackup.DefaultTag
Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Aug 18, 2023

Generated ApiView

Language Package Name ApiView Link
Go sdk/resourcemanager/recoveryservices/armrecoveryservicesbackup https://apiview.dev/Assemblies/Review/dc629848e43b441f9c63278193327020
Java azure-resourcemanager-recoveryservicesbackup https://apiview.dev/Assemblies/Review/8e2814a1b9ec4c11a951fada2ef6d063
.Net Azure.ResourceManager.RecoveryServicesBackup https://apiview.dev/Assemblies/Review/22d6cc6c923b40ebaeab2a2b909114c9
JavaScript @azure/arm-recoveryservicesbackup https://apiview.dev/Assemblies/Review/4ccac2c4a27c4f5a92a3a425620c6ddf

@AzureRestAPISpecReview AzureRestAPISpecReview added ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review ARMReview NewApiVersionRequired ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test resource-manager labels Aug 18, 2023
@openapi-workflow-bot
Copy link

Please address or respond to feedback from the ARM API reviewer.
When you are ready to continue the ARM API review, please remove the ARMChangesRequested label.
This will notify the reviewer to have another look.
If the feedback provided needs further discussion, please use this Teams channel to post your questions - aka.ms/azsdk/support/specreview-channel.
Please include [ARM Query] in the title of your question to indicate that it is ARM-related.

Copy link
Member

@rkmanda rkmanda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@rkmanda rkmanda added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Aug 31, 2023
@openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Aug 31, 2023
@rkmanda
Copy link
Member

rkmanda commented Aug 31, 2023

Please run pr /RequestMerge when you are ready for this to be merged as indicated in step 4 for the PR workflow diagram

@sjanamma sjanamma added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review labels Aug 31, 2023
@hiaga
Copy link
Member

hiaga commented Sep 7, 2023

/pr RequestMerge

@ajaygit158
Copy link
Member

@hiaga Merge will still be handled by ARM team (non IDC) while the IDC team is ramping up. Please reach out to ARM reviewer for the same.

@mentat9 mentat9 merged commit 0689d8a into Azure:main Sep 7, 2023
@openapi-pipeline-app
Copy link

Swagger pipeline restarted successfully, please wait for status update in this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review AzCoreIDC CI-BreakingChange-Go FixS360 NewApiVersionRequired ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test resource-manager
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants