From a3eca5979d1fc51e5627739db791609989ef4f73 Mon Sep 17 00:00:00 2001 From: xiaofeicao Date: Thu, 6 Mar 2025 17:49:27 +0800 Subject: [PATCH 1/3] changelog for self-serve --- eng/automation/generate.py | 15 ++++++++++++++- eng/automation/generate_utils.py | 4 ++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/eng/automation/generate.py b/eng/automation/generate.py index e3ac47d63e7a..51b47eb91b64 100755 --- a/eng/automation/generate.py +++ b/eng/automation/generate.py @@ -244,7 +244,6 @@ def sdk_automation_typespec(config: dict) -> List[dict]: def sdk_automation_typespec_project(tsp_project: str, config: dict) -> dict: - # TODO(xiaofei) support changelog, etc base_dir = os.path.abspath(os.path.dirname(sys.argv[0])) sdk_root = os.path.abspath(os.path.join(base_dir, SDK_ROOT)) spec_root = os.path.abspath(config["specFolder"]) @@ -272,6 +271,7 @@ def sdk_automation_typespec_project(tsp_project: str, config: dict) -> dict: # compile succeeded = compile_arm_package(sdk_root, module) if succeeded: + logging.info("[Changelog] Start breaking change detection for SDK automation.") breaking, changelog, breaking_change_items = compare_with_maven_package( sdk_root, GROUP_ID, @@ -279,7 +279,20 @@ def sdk_automation_typespec_project(tsp_project: str, config: dict) -> dict: get_latest_ga_version(GROUP_ID, module, stable_version), current_version, module, + False ) + logging.info("[Changelog] Complete breaking change detection for SDK automation.") + logging.info("[Changelog] Start generating changelog.") + compare_with_maven_package( + sdk_root, + GROUP_ID, + service, + get_latest_release_version(stable_version, current_version), + current_version, + module + ) + update_changelog_version(sdk_root, output_folder, current_version) + logging.info("[Changelog] Complete generating changelog.") # output if sdk_folder and module and service: diff --git a/eng/automation/generate_utils.py b/eng/automation/generate_utils.py index ce077ac9beaf..16c7a007ff6c 100755 --- a/eng/automation/generate_utils.py +++ b/eng/automation/generate_utils.py @@ -189,7 +189,7 @@ def update_changelog(changelog_file, changelog): def compare_with_maven_package( - sdk_root: str, group_id: str, service: str, previous_version: str, current_version: str, module: str + sdk_root: str, group_id: str, service: str, previous_version: str, current_version: str, module: str, write_changelog: bool = True ): breaking = False changelog = "" @@ -221,7 +221,7 @@ def compare_with_maven_package( if not os.path.exists(new_jar): raise Exception("Cannot found built jar in {0}".format(new_jar)) breaking, changelog, breaking_changes = generate_changelog_and_breaking_change(sdk_root, old_jar, new_jar) - if changelog is not None: + if changelog is not None and write_changelog: changelog_file = os.path.join(sdk_root, CHANGELOG_FORMAT.format(service=service, artifact_id=module)) update_changelog(changelog_file, changelog) else: From 18d163d613e000d73db72f31c71632f1aaa7cf2b Mon Sep 17 00:00:00 2001 From: xiaofeicao Date: Fri, 7 Mar 2025 15:16:30 +0800 Subject: [PATCH 2/3] always write changelog --- eng/automation/generate.py | 3 +-- eng/automation/generate_utils.py | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/eng/automation/generate.py b/eng/automation/generate.py index 51b47eb91b64..94b0b9e3aea0 100755 --- a/eng/automation/generate.py +++ b/eng/automation/generate.py @@ -278,8 +278,7 @@ def sdk_automation_typespec_project(tsp_project: str, config: dict) -> dict: service, get_latest_ga_version(GROUP_ID, module, stable_version), current_version, - module, - False + module ) logging.info("[Changelog] Complete breaking change detection for SDK automation.") logging.info("[Changelog] Start generating changelog.") diff --git a/eng/automation/generate_utils.py b/eng/automation/generate_utils.py index 16c7a007ff6c..ce077ac9beaf 100755 --- a/eng/automation/generate_utils.py +++ b/eng/automation/generate_utils.py @@ -189,7 +189,7 @@ def update_changelog(changelog_file, changelog): def compare_with_maven_package( - sdk_root: str, group_id: str, service: str, previous_version: str, current_version: str, module: str, write_changelog: bool = True + sdk_root: str, group_id: str, service: str, previous_version: str, current_version: str, module: str ): breaking = False changelog = "" @@ -221,7 +221,7 @@ def compare_with_maven_package( if not os.path.exists(new_jar): raise Exception("Cannot found built jar in {0}".format(new_jar)) breaking, changelog, breaking_changes = generate_changelog_and_breaking_change(sdk_root, old_jar, new_jar) - if changelog is not None and write_changelog: + if changelog is not None: changelog_file = os.path.join(sdk_root, CHANGELOG_FORMAT.format(service=service, artifact_id=module)) update_changelog(changelog_file, changelog) else: From 9238304ed828f3cf150cd10a7b8604fe46f2d2fb Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Fri, 7 Mar 2025 07:56:24 +0000 Subject: [PATCH 3/3] sdk generation from Config : 'specification/impact/Impact.Management/tspconfig.yaml', and CommitSHA: '9e61d8f4dd885744dab9a2c3f0058113de0f21cf', in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' --- .../CHANGELOG.md | 14 ++++++++++---- .../pom.xml | 1 - .../models/ImpactCategoryProperties.java | 16 ++++++++-------- ...ImpactCategoriesGetWithResponseMockTests.java | 4 ++-- .../generated/ImpactCategoriesListMockTests.java | 4 ++-- .../generated/ImpactCategoryInnerTests.java | 4 ++-- .../generated/ImpactCategoryListResultTests.java | 4 ++-- .../generated/ImpactCategoryPropertiesTests.java | 4 ++-- .../tsp-location.yaml | 4 ++-- 9 files changed, 30 insertions(+), 25 deletions(-) diff --git a/sdk/impactreporting/azure-resourcemanager-impactreporting/CHANGELOG.md b/sdk/impactreporting/azure-resourcemanager-impactreporting/CHANGELOG.md index 41184a680703..9eccee1383e5 100644 --- a/sdk/impactreporting/azure-resourcemanager-impactreporting/CHANGELOG.md +++ b/sdk/impactreporting/azure-resourcemanager-impactreporting/CHANGELOG.md @@ -1,14 +1,20 @@ # Release History -## 1.0.0-beta.2 (Unreleased) +## 1.0.0-beta.2 (2025-03-07) -### Features Added +- Azure Resource Manager Impact Reporting client library for Java. This package contains Microsoft Azure SDK for Impact Reporting Management SDK. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). ### Breaking Changes -### Bugs Fixed +#### `models.ImpactCategoryProperties` was modified + +* `description()` was removed + +### Features Added + +#### `models.ImpactCategoryProperties` was modified -### Other Changes +* `descriptions()` was added ## 1.0.0-beta.1 (2025-02-19) diff --git a/sdk/impactreporting/azure-resourcemanager-impactreporting/pom.xml b/sdk/impactreporting/azure-resourcemanager-impactreporting/pom.xml index d9e8daa21b51..3d087a994edb 100644 --- a/sdk/impactreporting/azure-resourcemanager-impactreporting/pom.xml +++ b/sdk/impactreporting/azure-resourcemanager-impactreporting/pom.xml @@ -46,7 +46,6 @@ 0 0 true - false diff --git a/sdk/impactreporting/azure-resourcemanager-impactreporting/src/main/java/com/azure/resourcemanager/impactreporting/models/ImpactCategoryProperties.java b/sdk/impactreporting/azure-resourcemanager-impactreporting/src/main/java/com/azure/resourcemanager/impactreporting/models/ImpactCategoryProperties.java index 5399431a19bf..213215a33534 100644 --- a/sdk/impactreporting/azure-resourcemanager-impactreporting/src/main/java/com/azure/resourcemanager/impactreporting/models/ImpactCategoryProperties.java +++ b/sdk/impactreporting/azure-resourcemanager-impactreporting/src/main/java/com/azure/resourcemanager/impactreporting/models/ImpactCategoryProperties.java @@ -36,7 +36,7 @@ public final class ImpactCategoryProperties implements JsonSerializable writer.writeJson(element)); return jsonWriter.writeEndObject(); @@ -150,8 +150,8 @@ public static ImpactCategoryProperties fromJson(JsonReader jsonReader) throws IO = ProvisioningState.fromString(reader.getString()); } else if ("parentCategoryId".equals(fieldName)) { deserializedImpactCategoryProperties.parentCategoryId = reader.getString(); - } else if ("description".equals(fieldName)) { - deserializedImpactCategoryProperties.description = reader.getString(); + } else if ("descriptions".equals(fieldName)) { + deserializedImpactCategoryProperties.descriptions = reader.getString(); } else if ("requiredImpactProperties".equals(fieldName)) { List requiredImpactProperties = reader.readArray(reader1 -> RequiredImpactProperties.fromJson(reader1)); diff --git a/sdk/impactreporting/azure-resourcemanager-impactreporting/src/test/java/com/azure/resourcemanager/impactreporting/generated/ImpactCategoriesGetWithResponseMockTests.java b/sdk/impactreporting/azure-resourcemanager-impactreporting/src/test/java/com/azure/resourcemanager/impactreporting/generated/ImpactCategoriesGetWithResponseMockTests.java index 483790b78bbc..9959b172dd5d 100644 --- a/sdk/impactreporting/azure-resourcemanager-impactreporting/src/test/java/com/azure/resourcemanager/impactreporting/generated/ImpactCategoriesGetWithResponseMockTests.java +++ b/sdk/impactreporting/azure-resourcemanager-impactreporting/src/test/java/com/azure/resourcemanager/impactreporting/generated/ImpactCategoriesGetWithResponseMockTests.java @@ -21,7 +21,7 @@ public final class ImpactCategoriesGetWithResponseMockTests { @Test public void testGetWithResponse() throws Exception { String responseStr - = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"categoryId\":\"mnyyazt\",\"parentCategoryId\":\"twwrqp\",\"description\":\"dckzywbiexz\",\"requiredImpactProperties\":[{\"name\":\"ue\",\"allowedValues\":[\"bxu\"]},{\"name\":\"wbhqwal\",\"allowedValues\":[\"yoxa\",\"pdkzjancuxr\",\"d\",\"bavxbniwdjswzt\"]},{\"name\":\"dbpgnxytxhp\",\"allowedValues\":[\"zpfzabglc\",\"hxw\"]}]},\"id\":\"tyq\",\"name\":\"klbb\",\"type\":\"vplwzbhv\"}"; + = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"categoryId\":\"mnyyazt\",\"parentCategoryId\":\"twwrqp\",\"descriptions\":\"dckzywbiexz\",\"requiredImpactProperties\":[{\"name\":\"ue\",\"allowedValues\":[\"bxu\"]},{\"name\":\"wbhqwal\",\"allowedValues\":[\"yoxa\",\"pdkzjancuxr\",\"d\",\"bavxbniwdjswzt\"]},{\"name\":\"dbpgnxytxhp\",\"allowedValues\":[\"zpfzabglc\",\"hxw\"]}]},\"id\":\"tyq\",\"name\":\"klbb\",\"type\":\"vplwzbhv\"}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -35,7 +35,7 @@ public void testGetWithResponse() throws Exception { Assertions.assertEquals("mnyyazt", response.properties().categoryId()); Assertions.assertEquals("twwrqp", response.properties().parentCategoryId()); - Assertions.assertEquals("dckzywbiexz", response.properties().description()); + Assertions.assertEquals("dckzywbiexz", response.properties().descriptions()); Assertions.assertEquals("ue", response.properties().requiredImpactProperties().get(0).name()); Assertions.assertEquals("bxu", response.properties().requiredImpactProperties().get(0).allowedValues().get(0)); } diff --git a/sdk/impactreporting/azure-resourcemanager-impactreporting/src/test/java/com/azure/resourcemanager/impactreporting/generated/ImpactCategoriesListMockTests.java b/sdk/impactreporting/azure-resourcemanager-impactreporting/src/test/java/com/azure/resourcemanager/impactreporting/generated/ImpactCategoriesListMockTests.java index f8becf08a63d..30d84fea93b1 100644 --- a/sdk/impactreporting/azure-resourcemanager-impactreporting/src/test/java/com/azure/resourcemanager/impactreporting/generated/ImpactCategoriesListMockTests.java +++ b/sdk/impactreporting/azure-resourcemanager-impactreporting/src/test/java/com/azure/resourcemanager/impactreporting/generated/ImpactCategoriesListMockTests.java @@ -22,7 +22,7 @@ public final class ImpactCategoriesListMockTests { @Test public void testList() throws Exception { String responseStr - = "{\"value\":[{\"properties\":{\"provisioningState\":\"Canceled\",\"categoryId\":\"zkd\",\"parentCategoryId\":\"lpvlopw\",\"description\":\"ighxpk\",\"requiredImpactProperties\":[{\"name\":\"baiuebbaumny\",\"allowedValues\":[\"edeojnabc\"]}]},\"id\":\"smtxpsieb\",\"name\":\"fhvpesaps\",\"type\":\"rdqmhjjdhtldwkyz\"}]}"; + = "{\"value\":[{\"properties\":{\"provisioningState\":\"Canceled\",\"categoryId\":\"zkd\",\"parentCategoryId\":\"lpvlopw\",\"descriptions\":\"ighxpk\",\"requiredImpactProperties\":[{\"name\":\"baiuebbaumny\",\"allowedValues\":[\"edeojnabc\"]}]},\"id\":\"smtxpsieb\",\"name\":\"fhvpesaps\",\"type\":\"rdqmhjjdhtldwkyz\"}]}"; HttpClient httpClient = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8))); @@ -36,7 +36,7 @@ public void testList() throws Exception { Assertions.assertEquals("zkd", response.iterator().next().properties().categoryId()); Assertions.assertEquals("lpvlopw", response.iterator().next().properties().parentCategoryId()); - Assertions.assertEquals("ighxpk", response.iterator().next().properties().description()); + Assertions.assertEquals("ighxpk", response.iterator().next().properties().descriptions()); Assertions.assertEquals("baiuebbaumny", response.iterator().next().properties().requiredImpactProperties().get(0).name()); Assertions.assertEquals("edeojnabc", diff --git a/sdk/impactreporting/azure-resourcemanager-impactreporting/src/test/java/com/azure/resourcemanager/impactreporting/generated/ImpactCategoryInnerTests.java b/sdk/impactreporting/azure-resourcemanager-impactreporting/src/test/java/com/azure/resourcemanager/impactreporting/generated/ImpactCategoryInnerTests.java index 744a58d8f2b0..b6f7396db9af 100644 --- a/sdk/impactreporting/azure-resourcemanager-impactreporting/src/test/java/com/azure/resourcemanager/impactreporting/generated/ImpactCategoryInnerTests.java +++ b/sdk/impactreporting/azure-resourcemanager-impactreporting/src/test/java/com/azure/resourcemanager/impactreporting/generated/ImpactCategoryInnerTests.java @@ -12,11 +12,11 @@ public final class ImpactCategoryInnerTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ImpactCategoryInner model = BinaryData.fromString( - "{\"properties\":{\"provisioningState\":\"Failed\",\"categoryId\":\"sqrglssainq\",\"parentCategoryId\":\"wnzlljfmppeeb\",\"description\":\"gxsabkyq\",\"requiredImpactProperties\":[{\"name\":\"jitcjczdzevn\",\"allowedValues\":[\"rwpdappdsbdkvwrw\",\"feusnhut\"]},{\"name\":\"eltmrldhugjzzdat\",\"allowedValues\":[\"oc\",\"geablgphuticndvk\"]}]},\"id\":\"zwyiftyhxhur\",\"name\":\"k\",\"type\":\"tyxolniwpwc\"}") + "{\"properties\":{\"provisioningState\":\"Failed\",\"categoryId\":\"sqrglssainq\",\"parentCategoryId\":\"wnzlljfmppeeb\",\"descriptions\":\"gxsabkyq\",\"requiredImpactProperties\":[{\"name\":\"jitcjczdzevn\",\"allowedValues\":[\"rwpdappdsbdkvwrw\",\"feusnhut\"]},{\"name\":\"eltmrldhugjzzdat\",\"allowedValues\":[\"oc\",\"geablgphuticndvk\"]}]},\"id\":\"zwyiftyhxhur\",\"name\":\"k\",\"type\":\"tyxolniwpwc\"}") .toObject(ImpactCategoryInner.class); Assertions.assertEquals("sqrglssainq", model.properties().categoryId()); Assertions.assertEquals("wnzlljfmppeeb", model.properties().parentCategoryId()); - Assertions.assertEquals("gxsabkyq", model.properties().description()); + Assertions.assertEquals("gxsabkyq", model.properties().descriptions()); Assertions.assertEquals("jitcjczdzevn", model.properties().requiredImpactProperties().get(0).name()); Assertions.assertEquals("rwpdappdsbdkvwrw", model.properties().requiredImpactProperties().get(0).allowedValues().get(0)); diff --git a/sdk/impactreporting/azure-resourcemanager-impactreporting/src/test/java/com/azure/resourcemanager/impactreporting/generated/ImpactCategoryListResultTests.java b/sdk/impactreporting/azure-resourcemanager-impactreporting/src/test/java/com/azure/resourcemanager/impactreporting/generated/ImpactCategoryListResultTests.java index 676231c28c62..e8534a5e4d2a 100644 --- a/sdk/impactreporting/azure-resourcemanager-impactreporting/src/test/java/com/azure/resourcemanager/impactreporting/generated/ImpactCategoryListResultTests.java +++ b/sdk/impactreporting/azure-resourcemanager-impactreporting/src/test/java/com/azure/resourcemanager/impactreporting/generated/ImpactCategoryListResultTests.java @@ -12,11 +12,11 @@ public final class ImpactCategoryListResultTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ImpactCategoryListResult model = BinaryData.fromString( - "{\"value\":[{\"properties\":{\"provisioningState\":\"Canceled\",\"categoryId\":\"yxwjkcp\",\"parentCategoryId\":\"nwbxgjvtbvpyssz\",\"description\":\"rujqg\",\"requiredImpactProperties\":[{\"name\":\"uouq\",\"allowedValues\":[\"wzwbnguitn\",\"uizga\"]},{\"name\":\"x\",\"allowedValues\":[\"zuckyfi\",\"rfidfvzwdz\",\"htymw\",\"sdkf\"]}]},\"id\":\"wxmnteiwao\",\"name\":\"vkmijcmmxdcuf\",\"type\":\"fsrpymzidnse\"},{\"properties\":{\"provisioningState\":\"Failed\",\"categoryId\":\"bzsgfyccsne\",\"parentCategoryId\":\"dwzjeiach\",\"description\":\"osfln\",\"requiredImpactProperties\":[{\"name\":\"fqpte\",\"allowedValues\":[\"zvypyqrimzinp\",\"swjdkirso\",\"dqxhcrmnohjtckwh\",\"soifiyipjxsqw\"]},{\"name\":\"gr\",\"allowedValues\":[\"norcjxvsnbyxqab\",\"mocpc\"]},{\"name\":\"shurzafbljjgpbto\",\"allowedValues\":[\"mkljavb\",\"idtqajzyu\",\"pku\",\"jkrlkhbzhfepg\"]}]},\"id\":\"qex\",\"name\":\"locx\",\"type\":\"c\"}],\"nextLink\":\"ierhhbcsglummaj\"}") + "{\"value\":[{\"properties\":{\"provisioningState\":\"Canceled\",\"categoryId\":\"yxwjkcp\",\"parentCategoryId\":\"nwbxgjvtbvpyssz\",\"descriptions\":\"rujqg\",\"requiredImpactProperties\":[{\"name\":\"uouq\",\"allowedValues\":[\"wzwbnguitn\",\"uizga\"]},{\"name\":\"x\",\"allowedValues\":[\"zuckyfi\",\"rfidfvzwdz\",\"htymw\",\"sdkf\"]}]},\"id\":\"wxmnteiwao\",\"name\":\"vkmijcmmxdcuf\",\"type\":\"fsrpymzidnse\"},{\"properties\":{\"provisioningState\":\"Failed\",\"categoryId\":\"bzsgfyccsne\",\"parentCategoryId\":\"dwzjeiach\",\"descriptions\":\"osfln\",\"requiredImpactProperties\":[{\"name\":\"fqpte\",\"allowedValues\":[\"zvypyqrimzinp\",\"swjdkirso\",\"dqxhcrmnohjtckwh\",\"soifiyipjxsqw\"]},{\"name\":\"gr\",\"allowedValues\":[\"norcjxvsnbyxqab\",\"mocpc\"]},{\"name\":\"shurzafbljjgpbto\",\"allowedValues\":[\"mkljavb\",\"idtqajzyu\",\"pku\",\"jkrlkhbzhfepg\"]}]},\"id\":\"qex\",\"name\":\"locx\",\"type\":\"c\"}],\"nextLink\":\"ierhhbcsglummaj\"}") .toObject(ImpactCategoryListResult.class); Assertions.assertEquals("yxwjkcp", model.value().get(0).properties().categoryId()); Assertions.assertEquals("nwbxgjvtbvpyssz", model.value().get(0).properties().parentCategoryId()); - Assertions.assertEquals("rujqg", model.value().get(0).properties().description()); + Assertions.assertEquals("rujqg", model.value().get(0).properties().descriptions()); Assertions.assertEquals("uouq", model.value().get(0).properties().requiredImpactProperties().get(0).name()); Assertions.assertEquals("wzwbnguitn", model.value().get(0).properties().requiredImpactProperties().get(0).allowedValues().get(0)); diff --git a/sdk/impactreporting/azure-resourcemanager-impactreporting/src/test/java/com/azure/resourcemanager/impactreporting/generated/ImpactCategoryPropertiesTests.java b/sdk/impactreporting/azure-resourcemanager-impactreporting/src/test/java/com/azure/resourcemanager/impactreporting/generated/ImpactCategoryPropertiesTests.java index 556e42c7250c..c8f682a6bd9a 100644 --- a/sdk/impactreporting/azure-resourcemanager-impactreporting/src/test/java/com/azure/resourcemanager/impactreporting/generated/ImpactCategoryPropertiesTests.java +++ b/sdk/impactreporting/azure-resourcemanager-impactreporting/src/test/java/com/azure/resourcemanager/impactreporting/generated/ImpactCategoryPropertiesTests.java @@ -12,11 +12,11 @@ public final class ImpactCategoryPropertiesTests { @org.junit.jupiter.api.Test public void testDeserialize() throws Exception { ImpactCategoryProperties model = BinaryData.fromString( - "{\"provisioningState\":\"Failed\",\"categoryId\":\"fkgiawxk\",\"parentCategoryId\":\"ypl\",\"description\":\"kbasyypn\",\"requiredImpactProperties\":[{\"name\":\"sgcbac\",\"allowedValues\":[\"jkot\"]},{\"name\":\"nqgoulzndli\",\"allowedValues\":[\"qkgfgibma\",\"gakeqsr\"]},{\"name\":\"yb\",\"allowedValues\":[\"e\",\"qytbciq\",\"ouf\",\"mmnkzsmodmgl\"]},{\"name\":\"ugpbkw\",\"allowedValues\":[\"tduqktapspwgcuer\",\"umkdosvqwhbmd\",\"bbjfddgmbmbexp\",\"bhtqqrolfpfpsa\"]}]}") + "{\"provisioningState\":\"Failed\",\"categoryId\":\"fkgiawxk\",\"parentCategoryId\":\"ypl\",\"descriptions\":\"kbasyypn\",\"requiredImpactProperties\":[{\"name\":\"sgcbac\",\"allowedValues\":[\"jkot\"]},{\"name\":\"nqgoulzndli\",\"allowedValues\":[\"qkgfgibma\",\"gakeqsr\"]},{\"name\":\"yb\",\"allowedValues\":[\"e\",\"qytbciq\",\"ouf\",\"mmnkzsmodmgl\"]},{\"name\":\"ugpbkw\",\"allowedValues\":[\"tduqktapspwgcuer\",\"umkdosvqwhbmd\",\"bbjfddgmbmbexp\",\"bhtqqrolfpfpsa\"]}]}") .toObject(ImpactCategoryProperties.class); Assertions.assertEquals("fkgiawxk", model.categoryId()); Assertions.assertEquals("ypl", model.parentCategoryId()); - Assertions.assertEquals("kbasyypn", model.description()); + Assertions.assertEquals("kbasyypn", model.descriptions()); Assertions.assertEquals("sgcbac", model.requiredImpactProperties().get(0).name()); Assertions.assertEquals("jkot", model.requiredImpactProperties().get(0).allowedValues().get(0)); } diff --git a/sdk/impactreporting/azure-resourcemanager-impactreporting/tsp-location.yaml b/sdk/impactreporting/azure-resourcemanager-impactreporting/tsp-location.yaml index f077b3260131..cffb7d025891 100644 --- a/sdk/impactreporting/azure-resourcemanager-impactreporting/tsp-location.yaml +++ b/sdk/impactreporting/azure-resourcemanager-impactreporting/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/impact/Impact.Management -commit: 2ed1d371e3519553cd527c1f9f2c316f9ed58f47 -repo: Azure/azure-rest-api-specs +commit: 9e61d8f4dd885744dab9a2c3f0058113de0f21cf +repo: azure/azure-rest-api-specs additionalDirectories: