Skip to content

Commit

Permalink
[Automation] Generate Fluent Lite from Swagger advisor#package-2020-01 (
Browse files Browse the repository at this point in the history
  • Loading branch information
azure-sdk authored Dec 23, 2024
1 parent 6659fae commit f55957f
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 36 deletions.
2 changes: 1 addition & 1 deletion eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ com.azure.resourcemanager:azure-resourcemanager-mixedreality;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-automation;1.0.0-beta.3;1.0.0
com.azure.resourcemanager:azure-resourcemanager-resourcemover;1.2.0;1.3.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-datafactory;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-advisor;1.0.0-beta.3;1.0.0-beta.4
com.azure.resourcemanager:azure-resourcemanager-advisor;1.0.0-beta.3;1.0.0
com.azure.resourcemanager:azure-resourcemanager-appconfiguration;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-attestation;1.0.0-beta.3;1.0.0-beta.4
com.azure.resourcemanager:azure-resourcemanager-azurestack;1.0.0-beta.3;1.0.0-beta.4
Expand Down
10 changes: 4 additions & 6 deletions sdk/advisor/azure-resourcemanager-advisor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
# Release History

## 1.0.0-beta.4 (Unreleased)
## 1.0.0 (2024-12-23)

### Features Added

### Breaking Changes

### Bugs Fixed
- Azure Resource Manager Advisor client library for Java. This package contains Microsoft Azure SDK for Advisor Management SDK. REST APIs for Azure Advisor. Package tag package-2020-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Other Changes

- Release for Azure Resource Manager Advisor client library for Java.

## 1.0.0-beta.3 (2024-10-14)

- Azure Resource Manager Advisor client library for Java. This package contains Microsoft Azure SDK for Advisor Management SDK. REST APIs for Azure Advisor. Package tag package-2020-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
Expand Down
2 changes: 1 addition & 1 deletion sdk/advisor/azure-resourcemanager-advisor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-advisor</artifactId>
<version>1.0.0-beta.3</version>
<version>1.0.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
4 changes: 2 additions & 2 deletions sdk/advisor/azure-resourcemanager-advisor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-advisor</artifactId>
<version>1.0.0-beta.4</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-advisor;current} -->
<version>1.0.0</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-advisor;current} -->
<packaging>jar</packaging>

<name>Microsoft Azure SDK for Advisor Management</name>
Expand Down Expand Up @@ -45,7 +45,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
<revapi.skip>true</revapi.skip>
<spotless.skip>false</spotless.skip>
</properties>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import com.azure.core.http.HttpPipelinePosition;
import com.azure.core.http.policy.AddDatePolicy;
import com.azure.core.http.policy.AddHeadersFromContextPolicy;
import com.azure.core.http.policy.BearerTokenAuthenticationPolicy;
import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpLoggingPolicy;
import com.azure.core.http.policy.HttpPipelinePolicy;
Expand All @@ -19,7 +20,6 @@
import com.azure.core.http.policy.RetryOptions;
import com.azure.core.http.policy.RetryPolicy;
import com.azure.core.http.policy.UserAgentPolicy;
import com.azure.core.management.http.policy.ArmChallengeAuthenticationPolicy;
import com.azure.core.management.profile.AzureProfile;
import com.azure.core.util.Configuration;
import com.azure.core.util.logging.ClientLogger;
Expand Down Expand Up @@ -221,7 +221,7 @@ public AdvisorManager authenticate(TokenCredential credential, AzureProfile prof
.append("-")
.append("com.azure.resourcemanager.advisor")
.append("/")
.append("1.0.0-beta.3");
.append("1.0.0");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder.append(" (")
.append(Configuration.getGlobalConfiguration().get("java.version"))
Expand Down Expand Up @@ -254,7 +254,7 @@ public AdvisorManager authenticate(TokenCredential credential, AzureProfile prof
HttpPolicyProviders.addBeforeRetryPolicies(policies);
policies.add(retryPolicy);
policies.add(new AddDatePolicy());
policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
policies.add(new BearerTokenAuthenticationPolicy(credential, scopes.toArray(new String[0])));
policies.addAll(this.policies.stream()
.filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
.collect(Collectors.toList()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public final class RecommendationPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
RecommendationProperties model = BinaryData.fromString(
"{\"category\":\"Performance\",\"impact\":\"High\",\"impactedField\":\"hqyudxorrqnbpoc\",\"impactedValue\":\"yifqrvkdvjsllrmv\",\"lastUpdated\":\"2021-05-03T22:43:17Z\",\"metadata\":{\"pnpulexxbczwtru\":\"datat\",\"vsovmyokac\":\"dataiqzbq\"},\"recommendationTypeId\":\"kwlhzdo\",\"shortDescription\":{\"problem\":\"jmflbvvnch\",\"solution\":\"cciw\"},\"suppressionIds\":[\"714dacd0-9228-4963-ae4d-e6ffc0c99a6b\"],\"extendedProperties\":{\"jiwkuofoskghsau\":\"khrs\"},\"resourceMetadata\":{\"resourceId\":\"jmvxie\",\"source\":\"ugidyjrr\",\"action\":{\"e\":\"dataaos\"},\"singular\":\"sonpclhocohs\",\"plural\":\"ev\"},\"description\":\"ggzfbu\",\"label\":\"mvfaxkffeiith\",\"learnMoreLink\":\"m\",\"potentialBenefits\":\"yvshxmz\",\"actions\":[{\"xxjnspydptk\":\"dataoggigrxwburv\",\"iukbldngkpoci\":\"dataenkouknvudw\",\"npiucgygevqznty\":\"dataazyxoegukg\",\"dpydn\":\"datamrbpizcdrqj\"},{\"cwif\":\"datahxdeoejz\",\"ishc\":\"datajttgzf\",\"eyeam\":\"datakhaj\",\"agalpbuxwgipwhon\":\"datap\"},{\"kix\":\"datakgshwa\",\"eputtmrywnuzoqf\":\"databin\"}],\"remediation\":{\"sicohoqqnwvlry\":\"dataqzrnkcqvyxlwhz\",\"konocu\":\"datavwhheunmmqhgyx\",\"zf\":\"dataoklyaxuconuq\",\"vjektcxsenh\":\"databeypewrmjmw\"},\"exposedMetadataProperties\":{\"frzpwvlqdqgb\":\"datas\",\"fcivfsnkym\":\"dataqylihkaetckt\",\"jf\":\"datactq\",\"fuwutttxf\":\"dataebrjcxe\"}}")
"{\"category\":\"Performance\",\"impact\":\"High\",\"impactedField\":\"hqyudxorrqnbpoc\",\"impactedValue\":\"yifqrvkdvjsllrmv\",\"lastUpdated\":\"2021-05-03T22:43:17Z\",\"metadata\":{\"pnpulexxbczwtru\":\"datat\",\"vsovmyokac\":\"dataiqzbq\"},\"recommendationTypeId\":\"kwlhzdo\",\"shortDescription\":{\"problem\":\"jmflbvvnch\",\"solution\":\"cciw\"},\"suppressionIds\":[\"629ff93a-4933-480d-a93a-b8efedcc1ef2\"],\"extendedProperties\":{\"jiwkuofoskghsau\":\"khrs\"},\"resourceMetadata\":{\"resourceId\":\"jmvxie\",\"source\":\"ugidyjrr\",\"action\":{\"e\":\"dataaos\"},\"singular\":\"sonpclhocohs\",\"plural\":\"ev\"},\"description\":\"ggzfbu\",\"label\":\"mvfaxkffeiith\",\"learnMoreLink\":\"m\",\"potentialBenefits\":\"yvshxmz\",\"actions\":[{\"xxjnspydptk\":\"dataoggigrxwburv\",\"iukbldngkpoci\":\"dataenkouknvudw\",\"npiucgygevqznty\":\"dataazyxoegukg\",\"dpydn\":\"datamrbpizcdrqj\"},{\"cwif\":\"datahxdeoejz\",\"ishc\":\"datajttgzf\",\"eyeam\":\"datakhaj\",\"agalpbuxwgipwhon\":\"datap\"},{\"kix\":\"datakgshwa\",\"eputtmrywnuzoqf\":\"databin\"}],\"remediation\":{\"sicohoqqnwvlry\":\"dataqzrnkcqvyxlwhz\",\"konocu\":\"datavwhheunmmqhgyx\",\"zf\":\"dataoklyaxuconuq\",\"vjektcxsenh\":\"databeypewrmjmw\"},\"exposedMetadataProperties\":{\"frzpwvlqdqgb\":\"datas\",\"fcivfsnkym\":\"dataqylihkaetckt\",\"jf\":\"datactq\",\"fuwutttxf\":\"dataebrjcxe\"}}")
.toObject(RecommendationProperties.class);
Assertions.assertEquals(Category.PERFORMANCE, model.category());
Assertions.assertEquals(Impact.HIGH, model.impact());
Expand All @@ -31,7 +31,7 @@ public void testDeserialize() throws Exception {
Assertions.assertEquals("kwlhzdo", model.recommendationTypeId());
Assertions.assertEquals("jmflbvvnch", model.shortDescription().problem());
Assertions.assertEquals("cciw", model.shortDescription().solution());
Assertions.assertEquals(UUID.fromString("714dacd0-9228-4963-ae4d-e6ffc0c99a6b"), model.suppressionIds().get(0));
Assertions.assertEquals(UUID.fromString("629ff93a-4933-480d-a93a-b8efedcc1ef2"), model.suppressionIds().get(0));
Assertions.assertEquals("khrs", model.extendedProperties().get("jiwkuofoskghsau"));
Assertions.assertEquals("jmvxie", model.resourceMetadata().resourceId());
Assertions.assertEquals("ugidyjrr", model.resourceMetadata().source());
Expand All @@ -53,7 +53,7 @@ public void testSerialize() throws Exception {
.withMetadata(mapOf("pnpulexxbczwtru", "datat", "vsovmyokac", "dataiqzbq"))
.withRecommendationTypeId("kwlhzdo")
.withShortDescription(new ShortDescription().withProblem("jmflbvvnch").withSolution("cciw"))
.withSuppressionIds(Arrays.asList(UUID.fromString("714dacd0-9228-4963-ae4d-e6ffc0c99a6b")))
.withSuppressionIds(Arrays.asList(UUID.fromString("629ff93a-4933-480d-a93a-b8efedcc1ef2")))
.withExtendedProperties(mapOf("jiwkuofoskghsau", "khrs"))
.withResourceMetadata(new ResourceMetadata().withResourceId("jmvxie")
.withSource("ugidyjrr")
Expand Down Expand Up @@ -82,7 +82,7 @@ public void testSerialize() throws Exception {
Assertions.assertEquals("kwlhzdo", model.recommendationTypeId());
Assertions.assertEquals("jmflbvvnch", model.shortDescription().problem());
Assertions.assertEquals("cciw", model.shortDescription().solution());
Assertions.assertEquals(UUID.fromString("714dacd0-9228-4963-ae4d-e6ffc0c99a6b"), model.suppressionIds().get(0));
Assertions.assertEquals(UUID.fromString("629ff93a-4933-480d-a93a-b8efedcc1ef2"), model.suppressionIds().get(0));
Assertions.assertEquals("khrs", model.extendedProperties().get("jiwkuofoskghsau"));
Assertions.assertEquals("jmvxie", model.resourceMetadata().resourceId());
Assertions.assertEquals("ugidyjrr", model.resourceMetadata().source());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public void testGetGenerateStatusWithResponse() throws Exception {
new AzureProfile("", "", AzureEnvironment.AZURE));

manager.recommendations()
.getGenerateStatusWithResponse(UUID.fromString("705685dd-83ee-4dc2-b787-d7e07bbc4015"),
.getGenerateStatusWithResponse(UUID.fromString("a9ba72b0-f0f2-46b4-9588-f762cd2a66f2"),
com.azure.core.util.Context.NONE);

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public final class RecommendationsGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
= "{\"properties\":{\"category\":\"HighAvailability\",\"impact\":\"High\",\"impactedField\":\"vfbtkuwh\",\"impactedValue\":\"hykojoxafnndlpic\",\"lastUpdated\":\"2021-09-25T08:27:56Z\",\"metadata\":{\"pwdreqnovvqf\":\"datakcdyhbpk\",\"syrsndsytgadgvra\":\"datavljxywsu\",\"uu\":\"dataaeneqnzarrwl\",\"e\":\"datajfqka\"},\"recommendationTypeId\":\"ipfpubji\",\"shortDescription\":{\"problem\":\"iftohqkvpu\",\"solution\":\"sgplsakn\"},\"suppressionIds\":[\"f1a42f8d-1b83-49bc-a8c2-1e8a90fc1316\",\"9f255689-d5b1-4bcd-b67b-985b47dea14c\",\"2c2196ba-31ea-480c-9abc-f004c6d96853\"],\"extendedProperties\":{\"jphuopxodlqi\":\"n\"},\"resourceMetadata\":{\"resourceId\":\"orzihle\",\"source\":\"jswsrmslyz\",\"action\":{\"iysui\":\"databchckqqzqio\",\"rwyhqmibzyhwitsm\":\"datazynkedya\",\"pcdpumnz\":\"datapyy\",\"abikns\":\"datamwzn\"},\"singular\":\"gj\",\"plural\":\"bldtlww\"},\"description\":\"kdmtncvokotll\",\"label\":\"yhgsy\",\"learnMoreLink\":\"ogjltdtbnnhad\",\"potentialBenefits\":\"crkvcikhnv\",\"actions\":[{\"wggxkallat\":\"datagxqquezik\",\"cjzkzivgvvcna\":\"dataelwuipi\",\"drd\":\"datarhyrnxxmueed\"}],\"remediation\":{\"tdaaygdvwvg\":\"datakwqqtchealmf\",\"epxgyqagvr\":\"dataiohgwxrtfud\",\"imfnjhfjx\":\"datamnpkukghimdblxg\"},\"exposedMetadataProperties\":{\"foqreyfkzik\":\"datazk\",\"wczelpci\":\"datajawneaiv\",\"abfatkl\":\"dataelsfeaen\"}},\"id\":\"dxbjhwuaanozj\",\"name\":\"sphyoulpjrvxa\",\"type\":\"l\"}";
= "{\"properties\":{\"category\":\"HighAvailability\",\"impact\":\"High\",\"impactedField\":\"vfbtkuwh\",\"impactedValue\":\"hykojoxafnndlpic\",\"lastUpdated\":\"2021-09-25T08:27:56Z\",\"metadata\":{\"pwdreqnovvqf\":\"datakcdyhbpk\",\"syrsndsytgadgvra\":\"datavljxywsu\",\"uu\":\"dataaeneqnzarrwl\",\"e\":\"datajfqka\"},\"recommendationTypeId\":\"ipfpubji\",\"shortDescription\":{\"problem\":\"iftohqkvpu\",\"solution\":\"sgplsakn\"},\"suppressionIds\":[\"eb78d712-5a46-406f-97ab-fbb0a30f4664\",\"41bc6117-3982-4558-a90d-8b3f7d91eff3\",\"66c53eb1-c714-44b9-b719-94e354512334\"],\"extendedProperties\":{\"jphuopxodlqi\":\"n\"},\"resourceMetadata\":{\"resourceId\":\"orzihle\",\"source\":\"jswsrmslyz\",\"action\":{\"iysui\":\"databchckqqzqio\",\"rwyhqmibzyhwitsm\":\"datazynkedya\",\"pcdpumnz\":\"datapyy\",\"abikns\":\"datamwzn\"},\"singular\":\"gj\",\"plural\":\"bldtlww\"},\"description\":\"kdmtncvokotll\",\"label\":\"yhgsy\",\"learnMoreLink\":\"ogjltdtbnnhad\",\"potentialBenefits\":\"crkvcikhnv\",\"actions\":[{\"wggxkallat\":\"datagxqquezik\",\"cjzkzivgvvcna\":\"dataelwuipi\",\"drd\":\"datarhyrnxxmueed\"}],\"remediation\":{\"tdaaygdvwvg\":\"datakwqqtchealmf\",\"epxgyqagvr\":\"dataiohgwxrtfud\",\"imfnjhfjx\":\"datamnpkukghimdblxg\"},\"exposedMetadataProperties\":{\"foqreyfkzik\":\"datazk\",\"wczelpci\":\"datajawneaiv\",\"abfatkl\":\"dataelsfeaen\"}},\"id\":\"dxbjhwuaanozj\",\"name\":\"sphyoulpjrvxa\",\"type\":\"l\"}";

HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
Expand All @@ -45,7 +45,7 @@ public void testGetWithResponse() throws Exception {
Assertions.assertEquals("ipfpubji", response.recommendationTypeId());
Assertions.assertEquals("iftohqkvpu", response.shortDescription().problem());
Assertions.assertEquals("sgplsakn", response.shortDescription().solution());
Assertions.assertEquals(UUID.fromString("f1a42f8d-1b83-49bc-a8c2-1e8a90fc1316"),
Assertions.assertEquals(UUID.fromString("eb78d712-5a46-406f-97ab-fbb0a30f4664"),
response.suppressionIds().get(0));
Assertions.assertEquals("n", response.extendedProperties().get("jphuopxodlqi"));
Assertions.assertEquals("orzihle", response.resourceMetadata().resourceId());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public final class RecommendationsListMockTests {
@Test
public void testList() throws Exception {
String responseStr
= "{\"value\":[{\"properties\":{\"category\":\"Performance\",\"impact\":\"High\",\"impactedField\":\"d\",\"impactedValue\":\"wyhzdx\",\"lastUpdated\":\"2021-03-28T04:38:02Z\",\"metadata\":{\"xzb\":\"datazmnvdfznudaod\",\"dzu\":\"datacblylpstdbhhxsr\",\"fiwjmygtdssls\":\"dataerscdntne\"},\"recommendationTypeId\":\"mweriofzpy\",\"shortDescription\":{\"problem\":\"mwabnetshhszhedp\",\"solution\":\"wiwubm\"},\"suppressionIds\":[\"8a4432a2-3b19-409f-b383-7d1bdd4d7ba2\",\"1cecd4e7-eb54-4f9b-8761-32ac7c3dfe2a\",\"398819e6-d82f-42db-ae6b-793d00ab60ef\",\"32b8ef21-341e-4099-a263-ec8c50cf166b\"],\"extendedProperties\":{\"xogaokonzmnsikv\":\"ldnkwwtppjfl\",\"qkdltfz\":\"kqze\",\"gureodkwobdag\":\"mhhv\",\"gqxndlkzgxhuripl\":\"tibqdxbxwakb\"},\"resourceMetadata\":{\"resourceId\":\"dxunkbebxmubyyn\",\"source\":\"lrb\",\"action\":{\"wlauwzizxbmpg\":\"dataoievseotgqrlltm\",\"p\":\"datajefuzmuvpbttdumo\"},\"singular\":\"ebmnzbtbhjpglk\",\"plural\":\"ohdneuel\"},\"description\":\"hsd\",\"label\":\"t\",\"learnMoreLink\":\"fikdowwqu\",\"potentialBenefits\":\"xzxcl\",\"actions\":[{\"wdsjnkalju\":\"datahqzonosggbhcoh\",\"kfvhqcrailvpn\":\"dataiiswacffgdkzze\",\"mh\":\"datapfuflrw\"},{\"wqapnedgfbcvk\":\"dataxyjrxsagafcnih\",\"pkeqdcvdrhvoo\":\"datavq\"},{\"vnhdldwmgxcxr\":\"dataotbobzdopcj\",\"niyqslui\":\"datalpmutwuoegrpkhj\"},{\"modfvuefywsbpfvm\":\"datadggkzzlvmbmpa\",\"yzvqt\":\"datayhrfouyftaakcpw\",\"zksmondj\":\"datanubexk\"}],\"remediation\":{\"omgkopkwho\":\"dataxvy\",\"ajqgxy\":\"datav\",\"xozap\":\"datamocmbqfqvmk\",\"dd\":\"datahelxprglya\"},\"exposedMetadataProperties\":{\"ibrhosxsdqr\":\"databcuejrjxgci\",\"luszdtmhrkwof\":\"datazoymibmrqyibahw\",\"piexpbtgiw\":\"datayvoqa\",\"nwashrtd\":\"datawo\"}},\"id\":\"kcnqxwbpo\",\"name\":\"ulpiuj\",\"type\":\"aasipqi\"}]}";
= "{\"value\":[{\"properties\":{\"category\":\"Performance\",\"impact\":\"High\",\"impactedField\":\"d\",\"impactedValue\":\"wyhzdx\",\"lastUpdated\":\"2021-03-28T04:38:02Z\",\"metadata\":{\"xzb\":\"datazmnvdfznudaod\",\"dzu\":\"datacblylpstdbhhxsr\",\"fiwjmygtdssls\":\"dataerscdntne\"},\"recommendationTypeId\":\"mweriofzpy\",\"shortDescription\":{\"problem\":\"mwabnetshhszhedp\",\"solution\":\"wiwubm\"},\"suppressionIds\":[\"88e97085-36d6-4990-aaf1-656f4898e37d\",\"62ed077e-b42c-4ac6-a505-95205c7fd1f8\",\"695bcea4-832f-4e67-9cfb-3717e056180a\",\"76bf52e6-da7c-4ca1-9811-4026cfae9d20\"],\"extendedProperties\":{\"xogaokonzmnsikv\":\"ldnkwwtppjfl\",\"qkdltfz\":\"kqze\",\"gureodkwobdag\":\"mhhv\",\"gqxndlkzgxhuripl\":\"tibqdxbxwakb\"},\"resourceMetadata\":{\"resourceId\":\"dxunkbebxmubyyn\",\"source\":\"lrb\",\"action\":{\"wlauwzizxbmpg\":\"dataoievseotgqrlltm\",\"p\":\"datajefuzmuvpbttdumo\"},\"singular\":\"ebmnzbtbhjpglk\",\"plural\":\"ohdneuel\"},\"description\":\"hsd\",\"label\":\"t\",\"learnMoreLink\":\"fikdowwqu\",\"potentialBenefits\":\"xzxcl\",\"actions\":[{\"wdsjnkalju\":\"datahqzonosggbhcoh\",\"kfvhqcrailvpn\":\"dataiiswacffgdkzze\",\"mh\":\"datapfuflrw\"},{\"wqapnedgfbcvk\":\"dataxyjrxsagafcnih\",\"pkeqdcvdrhvoo\":\"datavq\"},{\"vnhdldwmgxcxr\":\"dataotbobzdopcj\",\"niyqslui\":\"datalpmutwuoegrpkhj\"},{\"modfvuefywsbpfvm\":\"datadggkzzlvmbmpa\",\"yzvqt\":\"datayhrfouyftaakcpw\",\"zksmondj\":\"datanubexk\"}],\"remediation\":{\"omgkopkwho\":\"dataxvy\",\"ajqgxy\":\"datav\",\"xozap\":\"datamocmbqfqvmk\",\"dd\":\"datahelxprglya\"},\"exposedMetadataProperties\":{\"ibrhosxsdqr\":\"databcuejrjxgci\",\"luszdtmhrkwof\":\"datazoymibmrqyibahw\",\"piexpbtgiw\":\"datayvoqa\",\"nwashrtd\":\"datawo\"}},\"id\":\"kcnqxwbpo\",\"name\":\"ulpiuj\",\"type\":\"aasipqi\"}]}";

HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
Expand All @@ -45,7 +45,7 @@ public void testList() throws Exception {
Assertions.assertEquals("mweriofzpy", response.iterator().next().recommendationTypeId());
Assertions.assertEquals("mwabnetshhszhedp", response.iterator().next().shortDescription().problem());
Assertions.assertEquals("wiwubm", response.iterator().next().shortDescription().solution());
Assertions.assertEquals(UUID.fromString("8a4432a2-3b19-409f-b383-7d1bdd4d7ba2"),
Assertions.assertEquals(UUID.fromString("88e97085-36d6-4990-aaf1-656f4898e37d"),
response.iterator().next().suppressionIds().get(0));
Assertions.assertEquals("ldnkwwtppjfl", response.iterator().next().extendedProperties().get("xogaokonzmnsikv"));
Assertions.assertEquals("dxunkbebxmubyyn", response.iterator().next().resourceMetadata().resourceId());
Expand Down
Loading

0 comments on commit f55957f

Please sign in to comment.