From 83aa5da4dc398af8bd6c90c8f8060c35ad061e39 Mon Sep 17 00:00:00 2001
From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
Date: Thu, 2 Jan 2025 22:25:32 -0800
Subject: [PATCH] [Automation] Generate Fluent Lite from Swagger
solutions#package-managedapplications-2021-07 (#43690)
---
eng/versioning/version_client.txt | 2 +-
.../CHANGELOG.md | 10 ++++------
.../README.md | 2 +-
.../azure-resourcemanager-managedapplications/pom.xml | 3 +--
.../managedapplications/ApplicationManager.java | 6 +++---
5 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index f3c1d8c6cedef..e416a03a99930 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -369,7 +369,7 @@ com.azure.resourcemanager:azure-resourcemanager-datalakestore;1.0.0-beta.3;1.0.0
com.azure.resourcemanager:azure-resourcemanager-iotcentral;1.0.0;1.1.0-beta.3
com.azure.resourcemanager:azure-resourcemanager-labservices;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-vmwarecloudsimple;1.0.0-beta.3;1.0.0-beta.4
-com.azure.resourcemanager:azure-resourcemanager-managedapplications;1.0.0-beta.4;1.0.0-beta.5
+com.azure.resourcemanager:azure-resourcemanager-managedapplications;1.0.0-beta.4;1.0.0
com.azure.resourcemanager:azure-resourcemanager-videoanalyzer;1.0.0-beta.5;1.0.0-beta.6
com.azure.resourcemanager:azure-resourcemanager-imagebuilder;1.2.0;1.3.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-maps;1.1.0;1.2.0-beta.1
diff --git a/sdk/managedapplications/azure-resourcemanager-managedapplications/CHANGELOG.md b/sdk/managedapplications/azure-resourcemanager-managedapplications/CHANGELOG.md
index d326a3ecea313..bd680907e1158 100644
--- a/sdk/managedapplications/azure-resourcemanager-managedapplications/CHANGELOG.md
+++ b/sdk/managedapplications/azure-resourcemanager-managedapplications/CHANGELOG.md
@@ -1,15 +1,13 @@
# Release History
-## 1.0.0-beta.5 (Unreleased)
+## 1.0.0 (2025-01-03)
-### Features Added
-
-### Breaking Changes
-
-### Bugs Fixed
+- Azure Resource Manager Application client library for Java. This package contains Microsoft Azure SDK for Application Management SDK. ARM applications. Package tag package-managedapplications-2021-07. 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 Application client library for Java.
+
## 1.0.0-beta.4 (2024-10-31)
- Azure Resource Manager Application client library for Java. This package contains Microsoft Azure SDK for Application Management SDK. ARM applications. Package tag package-managedapplications-2021-07. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
diff --git a/sdk/managedapplications/azure-resourcemanager-managedapplications/README.md b/sdk/managedapplications/azure-resourcemanager-managedapplications/README.md
index a84d7500a3bfa..ab1b6d11c37e8 100644
--- a/sdk/managedapplications/azure-resourcemanager-managedapplications/README.md
+++ b/sdk/managedapplications/azure-resourcemanager-managedapplications/README.md
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanager
azure-resourcemanager-managedapplications
- 1.0.0-beta.4
+ 1.0.0
```
[//]: # ({x-version-update-end})
diff --git a/sdk/managedapplications/azure-resourcemanager-managedapplications/pom.xml b/sdk/managedapplications/azure-resourcemanager-managedapplications/pom.xml
index a46590a106f9b..990d16b7d7064 100644
--- a/sdk/managedapplications/azure-resourcemanager-managedapplications/pom.xml
+++ b/sdk/managedapplications/azure-resourcemanager-managedapplications/pom.xml
@@ -14,7 +14,7 @@
com.azure.resourcemanager
azure-resourcemanager-managedapplications
- 1.0.0-beta.5
+ 1.0.0
jar
Microsoft Azure SDK for Application Management
@@ -45,7 +45,6 @@
UTF-8
0
0
- true
false
diff --git a/sdk/managedapplications/azure-resourcemanager-managedapplications/src/main/java/com/azure/resourcemanager/managedapplications/ApplicationManager.java b/sdk/managedapplications/azure-resourcemanager-managedapplications/src/main/java/com/azure/resourcemanager/managedapplications/ApplicationManager.java
index 007b613dd1bbb..e5c7664cb064c 100644
--- a/sdk/managedapplications/azure-resourcemanager-managedapplications/src/main/java/com/azure/resourcemanager/managedapplications/ApplicationManager.java
+++ b/sdk/managedapplications/azure-resourcemanager-managedapplications/src/main/java/com/azure/resourcemanager/managedapplications/ApplicationManager.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 ApplicationManager authenticate(TokenCredential credential, AzureProfile
.append("-")
.append("com.azure.resourcemanager.managedapplications")
.append("/")
- .append("1.0.0-beta.4");
+ .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 ApplicationManager 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()));