From a8b019dc0f07db09d750f5f9a5ed5c460929f2be Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Mon, 23 Dec 2024 07:05:51 +0000 Subject: [PATCH 1/3] [Automation] External Change --- eng/versioning/version_client.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index 1c9fc4293a9b..d1a1939cd2d6 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -321,7 +321,7 @@ com.azure.resourcemanager:azure-resourcemanager-resourcehealth;1.0.0;1.1.0-beta. com.azure.resourcemanager:azure-resourcemanager-databricks;1.0.0;1.1.0-beta.1 com.azure.resourcemanager:azure-resourcemanager-databoxedge;1.0.0-beta.3;1.0.0-beta.4 com.azure.resourcemanager:azure-resourcemanager-frontdoor;1.1.0;1.2.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-mixedreality;1.0.0-beta.3;1.0.0-beta.4 +com.azure.resourcemanager:azure-resourcemanager-mixedreality;1.0.0-beta.3;1.0.0 com.azure.resourcemanager:azure-resourcemanager-automation;1.0.0-beta.3;1.0.0-beta.4 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 From 892d978f5cb2a87c0bf68646fe87f4ce00854202 Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Mon, 23 Dec 2024 07:05:56 +0000 Subject: [PATCH 2/3] [Automation] Generate Fluent Lite from Swagger mixedreality#package-2021-01 --- .../azure-resourcemanager-mixedreality/CHANGELOG.md | 10 ++-------- .../azure-resourcemanager-mixedreality/README.md | 2 +- .../azure-resourcemanager-mixedreality/pom.xml | 4 ++-- .../mixedreality/MixedRealityManager.java | 6 +++--- 4 files changed, 8 insertions(+), 14 deletions(-) diff --git a/sdk/mixedreality/azure-resourcemanager-mixedreality/CHANGELOG.md b/sdk/mixedreality/azure-resourcemanager-mixedreality/CHANGELOG.md index cf3ad3605522..049dbf39c1a3 100644 --- a/sdk/mixedreality/azure-resourcemanager-mixedreality/CHANGELOG.md +++ b/sdk/mixedreality/azure-resourcemanager-mixedreality/CHANGELOG.md @@ -1,14 +1,8 @@ # Release History -## 1.0.0-beta.4 (Unreleased) +## 1.0.0 (2024-12-23) -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes +- Azure Resource Manager MixedReality client library for Java. This package contains Microsoft Azure SDK for MixedReality Management SDK. Mixed Reality Client. Package tag package-2021-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). ## 1.0.0-beta.3 (2024-10-17) diff --git a/sdk/mixedreality/azure-resourcemanager-mixedreality/README.md b/sdk/mixedreality/azure-resourcemanager-mixedreality/README.md index 566b6f689fb1..ba90d4ac6e2d 100644 --- a/sdk/mixedreality/azure-resourcemanager-mixedreality/README.md +++ b/sdk/mixedreality/azure-resourcemanager-mixedreality/README.md @@ -32,7 +32,7 @@ Various documentation is available to help you get started com.azure.resourcemanager azure-resourcemanager-mixedreality - 1.0.0-beta.3 + 1.0.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/mixedreality/azure-resourcemanager-mixedreality/pom.xml b/sdk/mixedreality/azure-resourcemanager-mixedreality/pom.xml index e181f65eb16d..6ad2a5277f30 100644 --- a/sdk/mixedreality/azure-resourcemanager-mixedreality/pom.xml +++ b/sdk/mixedreality/azure-resourcemanager-mixedreality/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-mixedreality - 1.0.0-beta.4 + 1.0.0 jar Microsoft Azure SDK for MixedReality Management @@ -45,7 +45,7 @@ UTF-8 0 0 - true + false diff --git a/sdk/mixedreality/azure-resourcemanager-mixedreality/src/main/java/com/azure/resourcemanager/mixedreality/MixedRealityManager.java b/sdk/mixedreality/azure-resourcemanager-mixedreality/src/main/java/com/azure/resourcemanager/mixedreality/MixedRealityManager.java index f31b408bd273..c98dfda9d20c 100644 --- a/sdk/mixedreality/azure-resourcemanager-mixedreality/src/main/java/com/azure/resourcemanager/mixedreality/MixedRealityManager.java +++ b/sdk/mixedreality/azure-resourcemanager-mixedreality/src/main/java/com/azure/resourcemanager/mixedreality/MixedRealityManager.java @@ -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; @@ -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; @@ -217,7 +217,7 @@ public MixedRealityManager authenticate(TokenCredential credential, AzureProfile .append("-") .append("com.azure.resourcemanager.mixedreality") .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")) @@ -250,7 +250,7 @@ public MixedRealityManager authenticate(TokenCredential credential, AzureProfile 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())); From 3678feced20d7d66b221b94b105480e9188bf2b4 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Mon, 23 Dec 2024 15:09:18 +0800 Subject: [PATCH 3/3] Update CHANGELOG for MixedReality client library --- .../azure-resourcemanager-mixedreality/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sdk/mixedreality/azure-resourcemanager-mixedreality/CHANGELOG.md b/sdk/mixedreality/azure-resourcemanager-mixedreality/CHANGELOG.md index 049dbf39c1a3..6fd6d74cabd5 100644 --- a/sdk/mixedreality/azure-resourcemanager-mixedreality/CHANGELOG.md +++ b/sdk/mixedreality/azure-resourcemanager-mixedreality/CHANGELOG.md @@ -4,6 +4,10 @@ - Azure Resource Manager MixedReality client library for Java. This package contains Microsoft Azure SDK for MixedReality Management SDK. Mixed Reality Client. Package tag package-2021-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 Azure Resource Manager MixedReality client library for Java. + ## 1.0.0-beta.3 (2024-10-17) - Azure Resource Manager MixedReality client library for Java. This package contains Microsoft Azure SDK for MixedReality Management SDK. Mixed Reality Client. Package tag package-2021-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).