diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index fd55803183bf8..e7b2a8451f93d 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -406,7 +406,7 @@ com.azure.resourcemanager:azure-resourcemanager-scvmm;1.0.0;1.1.0-beta.1 com.azure.resourcemanager:azure-resourcemanager-hardwaresecuritymodules;1.0.0-beta.3;1.0.0-beta.4 com.azure.resourcemanager:azure-resourcemanager-workloads;1.1.0;1.2.0-beta.1 com.azure.resourcemanager:azure-resourcemanager-confidentialledger;1.0.0-beta.5;1.0.0-beta.6 -com.azure.resourcemanager:azure-resourcemanager-dynatrace;1.0.0-beta.4;1.0.0-beta.5 +com.azure.resourcemanager:azure-resourcemanager-dynatrace;1.0.0-beta.4;1.0.0 com.azure.resourcemanager:azure-resourcemanager-deviceupdate;1.1.0;1.2.0-beta.1 com.azure.resourcemanager:azure-resourcemanager-machinelearning;1.1.0;1.2.0-beta.1 com.azure.resourcemanager:azure-resourcemanager-education;1.0.0-beta.4;1.0.0-beta.5 diff --git a/sdk/dynatrace/azure-resourcemanager-dynatrace/CHANGELOG.md b/sdk/dynatrace/azure-resourcemanager-dynatrace/CHANGELOG.md index 7dc8ac1945ba0..bb6775694fd75 100644 --- a/sdk/dynatrace/azure-resourcemanager-dynatrace/CHANGELOG.md +++ b/sdk/dynatrace/azure-resourcemanager-dynatrace/CHANGELOG.md @@ -1,15 +1,13 @@ # Release History -## 1.0.0-beta.5 (Unreleased) +## 1.0.0 (2024-12-26) -### Features Added - -### Breaking Changes - -### Bugs Fixed +- Azure Resource Manager Dynatrace client library for Java. This package contains Microsoft Azure SDK for Dynatrace Management SDK. Package tag package-2023-04-27. 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 Dynatrace client library for Java. + ## 1.0.0-beta.4 (2024-10-31) - Azure Resource Manager Dynatrace client library for Java. This package contains Microsoft Azure SDK for Dynatrace Management SDK. Package tag package-2023-04-27. 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/dynatrace/azure-resourcemanager-dynatrace/README.md b/sdk/dynatrace/azure-resourcemanager-dynatrace/README.md index 622e4aa5ca0b2..853a309ea2f7a 100644 --- a/sdk/dynatrace/azure-resourcemanager-dynatrace/README.md +++ b/sdk/dynatrace/azure-resourcemanager-dynatrace/README.md @@ -32,7 +32,7 @@ Various documentation is available to help you get started com.azure.resourcemanager azure-resourcemanager-dynatrace - 1.0.0-beta.4 + 1.0.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/dynatrace/azure-resourcemanager-dynatrace/pom.xml b/sdk/dynatrace/azure-resourcemanager-dynatrace/pom.xml index 7134d8cbff5c0..84ce6c677f146 100644 --- a/sdk/dynatrace/azure-resourcemanager-dynatrace/pom.xml +++ b/sdk/dynatrace/azure-resourcemanager-dynatrace/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-dynatrace - 1.0.0-beta.5 + 1.0.0 jar Microsoft Azure SDK for Dynatrace Management @@ -45,7 +45,6 @@ UTF-8 0 0 - true false diff --git a/sdk/dynatrace/azure-resourcemanager-dynatrace/src/main/java/com/azure/resourcemanager/dynatrace/DynatraceManager.java b/sdk/dynatrace/azure-resourcemanager-dynatrace/src/main/java/com/azure/resourcemanager/dynatrace/DynatraceManager.java index cf1c749b5116b..5c92f4daef63d 100644 --- a/sdk/dynatrace/azure-resourcemanager-dynatrace/src/main/java/com/azure/resourcemanager/dynatrace/DynatraceManager.java +++ b/sdk/dynatrace/azure-resourcemanager-dynatrace/src/main/java/com/azure/resourcemanager/dynatrace/DynatraceManager.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; @@ -216,7 +216,7 @@ public DynatraceManager authenticate(TokenCredential credential, AzureProfile pr .append("-") .append("com.azure.resourcemanager.dynatrace") .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")) @@ -249,7 +249,7 @@ public DynatraceManager authenticate(TokenCredential credential, AzureProfile pr 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()));