From f82646fc1477ba3bfd90478e044e01bef3b8831a Mon Sep 17 00:00:00 2001 From: JackTn <347142915@qq.com> Date: Fri, 8 Mar 2024 10:47:46 +0800 Subject: [PATCH 1/9] change specificationRepositoryConfiguration.json to support test env --- specificationRepositoryConfiguration.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 0ddbbe026169..82867085c47a 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -4,42 +4,42 @@ "sdkRepositoryMappings": { "azure-sdk-for-go": { "integrationRepository": "azure-sdk/azure-sdk-for-go", - "mainRepository": "Azure/azure-sdk-for-go", + "mainRepository": "test-repo-billy/azure-sdk-for-go", "configFilePath": "eng/swagger_to_sdk_config.json" }, "azure-sdk-for-java": { "integrationRepository": "azure-sdk/azure-sdk-for-java", - "mainRepository": "Azure/azure-sdk-for-java", + "mainRepository": "test-repo-billy/azure-sdk-for-java", "configFilePath": "eng/mgmt/automation/swagger_to_sdk_config.json" }, "azure-sdk-for-js": { "integrationRepository": "azure-sdk/azure-sdk-for-js", - "mainRepository": "Azure/azure-sdk-for-js" + "mainRepository": "test-repo-billy/azure-sdk-for-js" }, "azure-sdk-for-net": { "integrationRepository": "azure-sdk/azure-sdk-for-net", - "mainRepository": "Azure/azure-sdk-for-net" + "mainRepository": "test-repo-billy/azure-sdk-for-net" }, "azure-sdk-for-net-track2": { "integrationRepository": "azure-sdk/azure-sdk-for-net", - "mainRepository": "Azure/azure-sdk-for-net", + "mainRepository": "test-repo-billy/azure-sdk-for-net", "configFilePath": "eng/swagger_to_sdk_config.json" }, "azure-sdk-for-python": { "integrationRepository": "azure-sdk/azure-sdk-for-python", - "mainRepository": "Azure/azure-sdk-for-python" + "mainRepository": "test-repo-billy/azure-sdk-for-python" }, "azure-sdk-for-python-track2": { "integrationRepository": "azure-sdk/azure-sdk-for-python", - "mainRepository": "Azure/azure-sdk-for-python" + "mainRepository": "test-repo-billy/azure-sdk-for-python" }, "azure-resource-manager-schemas": { "integrationRepository": "azure-sdk/azure-resource-manager-schemas", - "mainRepository": "Azure/azure-resource-manager-schemas" + "mainRepository": "test-repo-billy/azure-resource-manager-schemas" }, "azure-powershell": { "integrationRepository": "azure-sdk/azure-powershell", - "mainRepository": "Azure/azure-powershell" + "mainRepository": "test-repo-billy/azure-powershell" } }, "overrides": { From 1ca4031d9bf651e72b1fc71034aa15b34de3f6da Mon Sep 17 00:00:00 2001 From: JackTn <347142915@qq.com> Date: Tue, 19 Mar 2024 15:07:03 +0800 Subject: [PATCH 2/9] add change --- .../stable/2022-05-01/servicelinker.json | 44 ------------------- .../servicelinker/resource-manager/readme.md | 2 +- .../resource-manager/sdk-suppressions.yaml | 31 +++++++++++++ 3 files changed, 32 insertions(+), 45 deletions(-) create mode 100644 specification/servicelinker/resource-manager/sdk-suppressions.yaml diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json index 36c50fd40b7a..40a1a146fb64 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json @@ -165,50 +165,6 @@ } } }, - "delete": { - "tags": [ - "Links" - ], - "operationId": "Linker_Delete", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "description": "Delete a link.", - "x-ms-examples": { - "DeleteLink": { - "$ref": "./examples/DeleteLink.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceUriParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/LinkerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK. The link is deleted." - }, - "204": { - "description": "Deleted. The link is not found." - }, - "202": { - "description": "Long running operation." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - } - }, "patch": { "tags": [ "Links" diff --git a/specification/servicelinker/resource-manager/readme.md b/specification/servicelinker/resource-manager/readme.md index e040e81ac13c..7d3c8600edfe 100644 --- a/specification/servicelinker/resource-manager/readme.md +++ b/specification/servicelinker/resource-manager/readme.md @@ -28,7 +28,7 @@ These are the global settings for the ServiceLinker. title: ServiceLinkerManagementClient openapi-type: arm openapi-subtype : rpaas -tag: package-2022-11-01-preview +tag: package-2022-05-01 ``` ### Tag: package-2021-11-01-preview diff --git a/specification/servicelinker/resource-manager/sdk-suppressions.yaml b/specification/servicelinker/resource-manager/sdk-suppressions.yaml new file mode 100644 index 000000000000..93da63363c52 --- /dev/null +++ b/specification/servicelinker/resource-manager/sdk-suppressions.yaml @@ -0,0 +1,31 @@ +suppressions: + azure-sdk-for-go: + - package: armcognitiveservices + breaking-changes: + - Function `*LocalRulestacksClient.ListAppIDs` has been removed + - Function `*LocalRulestacksClient.ListCountries` has been removed + - Function `*LocalRulestacksClient.ListPredefinedURLCategories` has been removed + - package: armcompute + breaking-changes: + - Type of `CloudServiceExtensionProperties.ProtectedSettings` has been changed from `any` to `interface{} + - Function `NewClientFactory` has been removed + - Function `*LocalRulestacksClient.ListPredefinedURLCategories` has been removed + - package: armresourcemover + breaking-changes: + - 'Type of `OperationStatus.Properties` has been changed from `map[string]interface{}` to `interface{}`' + - 'Type of `OperationsDiscovery.Properties` has been changed from `map[string]interface{}` to `interface{}`' + - package: armservicelinker + breaking-changes: + - 'Struct `LinkerList` has been removed' + - 'Struct `SourceConfigurationResult` has been removed' + - 'Field `SourceConfigurationResult` of struct `LinkerClientListConfigurationsResponse` has been removed' + - 'Field `LinkerList` of struct `LinkerClientListResponse` has been removed' + - 'Function `*LinkerClient.BeginCreateOrUpdate` has been removed' + - 'Function `*LinkerClient.NewListPager` has been removed' + - package: sdk/resourcemanager/resources/armresources + breaking-changes: + - Operation `*TagsClient.CreateOrUpdateAtScope` has been changed to LRO, use `*TagsClient.BeginCreateOrUpdateAtScope` instead. + - Operation `*TagsClient.DeleteAtScope` has been changed to LRO, use `*TagsClient.BeginDeleteAtScope` instead. + - Operation `*TagsClient.UpdateAtScope` has been changed to LRO, use `*TagsClient.BeginUpdateAtScope` instead. + - Type of `DeploymentProperties.Parameters` has been changed from `any` to `map[string]*DeploymentParameter` + - Type of `DeploymentWhatIfProperties.Parameters` has been changed from `any` to `map[string]*DeploymentParameter` From be5010de5e4798c456da7851faf4336cb793a7f8 Mon Sep 17 00:00:00 2001 From: JackTn <347142915@qq.com> Date: Tue, 19 Mar 2024 15:22:55 +0800 Subject: [PATCH 3/9] add change --- .../resource-manager/sdk-suppressions.yaml | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/specification/servicelinker/resource-manager/sdk-suppressions.yaml b/specification/servicelinker/resource-manager/sdk-suppressions.yaml index 93da63363c52..9b22acc02b3f 100644 --- a/specification/servicelinker/resource-manager/sdk-suppressions.yaml +++ b/specification/servicelinker/resource-manager/sdk-suppressions.yaml @@ -18,14 +18,17 @@ suppressions: breaking-changes: - 'Struct `LinkerList` has been removed' - 'Struct `SourceConfigurationResult` has been removed' - - 'Field `SourceConfigurationResult` of struct `LinkerClientListConfigurationsResponse` has been removed' - - 'Field `LinkerList` of struct `LinkerClientListResponse` has been removed' - - 'Function `*LinkerClient.BeginCreateOrUpdate` has been removed' - - 'Function `*LinkerClient.NewListPager` has been removed' - - package: sdk/resourcemanager/resources/armresources + - package: sdk/resourcemanager/servicelinker/armservicelinker breaking-changes: - - Operation `*TagsClient.CreateOrUpdateAtScope` has been changed to LRO, use `*TagsClient.BeginCreateOrUpdateAtScope` instead. - - Operation `*TagsClient.DeleteAtScope` has been changed to LRO, use `*TagsClient.BeginDeleteAtScope` instead. - - Operation `*TagsClient.UpdateAtScope` has been changed to LRO, use `*TagsClient.BeginUpdateAtScope` instead. - - Type of `DeploymentProperties.Parameters` has been changed from `any` to `map[string]*DeploymentParameter` - - Type of `DeploymentWhatIfProperties.Parameters` has been changed from `any` to `map[string]*DeploymentParameter` + - Function `*LinkerClient.BeginDelete` has been removed + + azure-sdk-for-js: + - package: '@azure/arm-servicelinker' + breaking-changes: + - Removed operation Linker.beginDelete + - Removed operation Linker.beginDeleteAndWait + + azure-sdk-for-python-track2: + - package: track2_azure-mgmt-servicelinker + breaking-changes: + - Removed operation LinkerOperations.begin_delete From 8aad719009459bc0b2a4917d19bd8cdd6408dfc0 Mon Sep 17 00:00:00 2001 From: Tianen <347142915@qq.com> Date: Wed, 20 Mar 2024 17:56:59 +0800 Subject: [PATCH 4/9] Update specificationRepositoryConfiguration.json add python config --- specificationRepositoryConfiguration.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 82867085c47a..7c1659c7f123 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -27,11 +27,13 @@ }, "azure-sdk-for-python": { "integrationRepository": "azure-sdk/azure-sdk-for-python", - "mainRepository": "test-repo-billy/azure-sdk-for-python" + "mainRepository": "test-repo-billy/azure-sdk-for-python", + "configFilePath": "swagger_to_sdk_config.json" }, "azure-sdk-for-python-track2": { "integrationRepository": "azure-sdk/azure-sdk-for-python", - "mainRepository": "test-repo-billy/azure-sdk-for-python" + "mainRepository": "test-repo-billy/azure-sdk-for-python", + "configFilePath": "swagger_to_sdk_config.json" }, "azure-resource-manager-schemas": { "integrationRepository": "azure-sdk/azure-resource-manager-schemas", From a62ff34c1fe18c16dd31c62a9ad6a724adff5d56 Mon Sep 17 00:00:00 2001 From: v-tianxi Date: Wed, 20 Mar 2024 18:22:01 +0800 Subject: [PATCH 5/9] Revert "Update specificationRepositoryConfiguration.json" This reverts commit 8aad719009459bc0b2a4917d19bd8cdd6408dfc0. --- specificationRepositoryConfiguration.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 7c1659c7f123..82867085c47a 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -27,13 +27,11 @@ }, "azure-sdk-for-python": { "integrationRepository": "azure-sdk/azure-sdk-for-python", - "mainRepository": "test-repo-billy/azure-sdk-for-python", - "configFilePath": "swagger_to_sdk_config.json" + "mainRepository": "test-repo-billy/azure-sdk-for-python" }, "azure-sdk-for-python-track2": { "integrationRepository": "azure-sdk/azure-sdk-for-python", - "mainRepository": "test-repo-billy/azure-sdk-for-python", - "configFilePath": "swagger_to_sdk_config.json" + "mainRepository": "test-repo-billy/azure-sdk-for-python" }, "azure-resource-manager-schemas": { "integrationRepository": "azure-sdk/azure-resource-manager-schemas", From eb5d86ef25799428905881b2a0b2b3656430d734 Mon Sep 17 00:00:00 2001 From: Tianen <347142915@qq.com> Date: Mon, 8 Apr 2024 14:52:39 +0800 Subject: [PATCH 6/9] Update specificationRepositoryConfiguration.json --- specificationRepositoryConfiguration.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 82867085c47a..94f200c82962 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -3,42 +3,42 @@ "pipelineName": "automation - sdk", "sdkRepositoryMappings": { "azure-sdk-for-go": { - "integrationRepository": "azure-sdk/azure-sdk-for-go", + "integrationRepository": "test-repo-billy/azure-sdk-for-go", "mainRepository": "test-repo-billy/azure-sdk-for-go", "configFilePath": "eng/swagger_to_sdk_config.json" }, "azure-sdk-for-java": { - "integrationRepository": "azure-sdk/azure-sdk-for-java", + "integrationRepository": "test-repo-billy/azure-sdk-for-java", "mainRepository": "test-repo-billy/azure-sdk-for-java", "configFilePath": "eng/mgmt/automation/swagger_to_sdk_config.json" }, "azure-sdk-for-js": { - "integrationRepository": "azure-sdk/azure-sdk-for-js", + "integrationRepository": "test-repo-billy/azure-sdk-for-js", "mainRepository": "test-repo-billy/azure-sdk-for-js" }, "azure-sdk-for-net": { - "integrationRepository": "azure-sdk/azure-sdk-for-net", + "integrationRepository": "test-repo-billy/azure-sdk-for-net", "mainRepository": "test-repo-billy/azure-sdk-for-net" }, "azure-sdk-for-net-track2": { - "integrationRepository": "azure-sdk/azure-sdk-for-net", + "integrationRepository": "test-repo-billy/azure-sdk-for-net", "mainRepository": "test-repo-billy/azure-sdk-for-net", "configFilePath": "eng/swagger_to_sdk_config.json" }, "azure-sdk-for-python": { - "integrationRepository": "azure-sdk/azure-sdk-for-python", + "integrationRepository": "test-repo-billy/azure-sdk-for-python", "mainRepository": "test-repo-billy/azure-sdk-for-python" }, "azure-sdk-for-python-track2": { - "integrationRepository": "azure-sdk/azure-sdk-for-python", + "integrationRepository": "test-repo-billy/azure-sdk-for-python", "mainRepository": "test-repo-billy/azure-sdk-for-python" }, "azure-resource-manager-schemas": { - "integrationRepository": "azure-sdk/azure-resource-manager-schemas", + "integrationRepository": "test-repo-billy/azure-resource-manager-schemas", "mainRepository": "test-repo-billy/azure-resource-manager-schemas" }, "azure-powershell": { - "integrationRepository": "azure-sdk/azure-powershell", + "integrationRepository": "test-repo-billy/azure-powershell", "mainRepository": "test-repo-billy/azure-powershell" } }, From f9f6d2667eb0000e215891e2365f9c5732ad6116 Mon Sep 17 00:00:00 2001 From: Tianen <347142915@qq.com> Date: Mon, 8 Apr 2024 17:00:01 +0800 Subject: [PATCH 7/9] Update ApplicationGroups.json --- .../stable/2024-01-01/ApplicationGroups.json | 45 ------------------- 1 file changed, 45 deletions(-) diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/ApplicationGroups.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/ApplicationGroups.json index d4ad9c8116a6..3d2b49901864 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/ApplicationGroups.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2024-01-01/ApplicationGroups.json @@ -34,51 +34,6 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/applicationGroups": { - "get": { - "tags": [ - "ApplicationGroup" - ], - "operationId": "ApplicationGroup_ListByNamespace", - "x-ms-examples": { - "ListApplicationGroups": { - "$ref": "./examples/ApplicationGroup/ApplicationGroupListByNamespace.json" - } - }, - "description": "Gets a list of application groups for a Namespace.", - "parameters": [ - { - "$ref": "../../../common/v1/definitions.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../common/v1/definitions.json#/parameters/NamespaceNameParameter" - }, - { - "$ref": "../../../common/v1/definitions.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Namespace ApplicationGroups successfully returned.", - "schema": { - "$ref": "#/definitions/ApplicationGroupListResult" - } - }, - "default": { - "description": "Eventhub error response describing why the operation failed.", - "schema": { - "$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/applicationGroups/{applicationGroupName}": { "put": { "tags": [ From d68ddd2ffedf9f8aa423dbce499aedbc0b5f9d73 Mon Sep 17 00:00:00 2001 From: XiaofeiCao Date: Fri, 19 Apr 2024 14:25:17 +0800 Subject: [PATCH 8/9] mgmt_tsp_automation_conf --- specificationRepositoryConfiguration.json | 42 +++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 0ddbbe026169..12e8476e6a70 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -43,6 +43,48 @@ } }, "overrides": { + "test-repo-billy/azure-rest-api-specs": { + "sdkRepositoryMappings": { + "azure-sdk-for-go": { + "mainRepository": "openapi-env-test/azure-sdk-for-go", + "mainBranch": "main", + "configFilePath": "eng/swagger_to_sdk_config.json" + }, + "azure-sdk-for-python-track2": { + "mainRepository": "openapi-env-test/azure-sdk-for-python", + "mainBranch": "main" + }, + "azure-sdk-for-net-track2": { + "mainRepository": "openapi-env-test/azure-sdk-for-net", + "mainBranch": "main", + "configFilePath": "eng/swagger_to_sdk_config.json" + }, + "azure-sdk-for-net": { + "mainRepository": "openapi-env-test/azure-sdk-for-net" + }, + "azure-sdk-for-python": { + "mainRepository": "openapi-env-test/azure-sdk-for-python", + "mainBranch": "main" + }, + "azure-sdk-for-js": { + "mainRepository": "openapi-env-test/azure-sdk-for-js", + "mainBranch": "main" + }, + "azure-sdk-for-java": { + "mainRepository": "test-repo-billy/azure-sdk-for-java", + "mainBranch": "mgmt_tsp_automation_init", + "configFilePath": "eng/mgmt/automation/swagger_to_sdk_config.json" + }, + "azure-resource-manager-schemas": { + "integrationRepository": "azure-sdk/azure-resource-manager-schemas", + "mainRepository": "Azure/azure-resource-manager-schemas" + }, + "azure-powershell": { + "integrationRepository": "azure-sdk/azure-powershell", + "mainRepository": "Azure/azure-powershell" + } + } + }, "Azure/azure-rest-api-specs-pr": { "sdkRepositoryMappings": { "azure-sdk-for-go": { From 1c2ebc4d0038dc58e9eb3f652c6559f4c01890ce Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Mon, 22 Apr 2024 13:52:19 +0800 Subject: [PATCH 9/9] switch java branch override --- specificationRepositoryConfiguration.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 12e8476e6a70..4ae53cac3245 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -72,7 +72,7 @@ }, "azure-sdk-for-java": { "mainRepository": "test-repo-billy/azure-sdk-for-java", - "mainBranch": "mgmt_tsp_automation_init", + "mainBranch": "eng_tsp-client", "configFilePath": "eng/mgmt/automation/swagger_to_sdk_config.json" }, "azure-resource-manager-schemas": {