This commit is contained in:
azure-sdk 2024-09-12 20:42:28 +00:00
Родитель 6c325fc7f6
Коммит f6ba75fe65
28 изменённых файлов: 435 добавлений и 187 удалений

Просмотреть файл

@ -1,12 +1,12 @@
---
title: Azure Core AMQP shared library for Java
keywords: Azure, java, SDK, API, azure-core-amqp, core
ms.date: 08/02/2024
ms.date: 09/12/2024
ms.topic: reference
ms.devlang: java
ms.service: core
---
# Azure Core AMQP shared library for Java - version 2.9.8
# Azure Core AMQP shared library for Java - version 2.9.9
Azure Core AMQP client library is a collection of classes common to the AMQP protocol. It help developers create their
@ -23,7 +23,7 @@ own AMQP client library that abstracts from the underlying transport library's i
#### Include the BOM file
Please include the azure-sdk-bom to your project to take dependency on the General Availability (GA) version of the library. In the following snippet, replace the {bom_version_to_target} placeholder with the version number.
To learn more about the BOM, see the [AZURE SDK BOM README](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-amqp_2.9.8/sdk/boms/azure-sdk-bom/README.md).
To learn more about the BOM, see the [AZURE SDK BOM README](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-amqp_2.9.9/sdk/boms/azure-sdk-bom/README.md).
```xml
<dependencyManagement>
@ -58,7 +58,7 @@ add the direct dependency to your project as follows.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-amqp</artifactId>
<version>2.9.8</version>
<version>2.9.9</version>
</dependency>
```
[//]: # ({x-version-update-end})
@ -82,7 +82,7 @@ locate the root issue. View the [logging][logging] wiki for guidance about enabl
## Contributing
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-amqp_2.9.8/CONTRIBUTING.md).
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-amqp_2.9.9/CONTRIBUTING.md).
1. Fork it
1. Create your feature branch (`git checkout -b my-new-feature`)
@ -91,7 +91,7 @@ For details on contributing to this repository, see the [contributing guide](htt
1. Create new Pull Request
<!-- Links -->
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-with-Azure-SDK
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-in-Azure-SDK
[jdk_link]: /java/azure/jdk/?view=azure-java-stable
[java8_client_compatibility]: https://learn.microsoft.com/azure/security/fundamentals/azure-ca-details?tabs=root-and-subordinate-cas-list#client-compatibility-for-public-pkis

Просмотреть файл

@ -1,12 +1,12 @@
---
title: Azure Core Netty HTTP plugin library for Java
keywords: Azure, java, SDK, API, azure-core-http-netty, core
ms.date: 08/02/2024
ms.date: 09/12/2024
ms.topic: reference
ms.devlang: java
ms.service: core
---
# Azure Core Netty HTTP plugin library for Java - version 1.15.3
# Azure Core Netty HTTP plugin library for Java - version 1.15.4
Azure Core Netty HTTP client is a plugin for the `azure-core` HTTP client API.
@ -22,7 +22,7 @@ Azure Core Netty HTTP client is a plugin for the `azure-core` HTTP client API.
#### Include the BOM file
Please include the azure-sdk-bom to your project to take dependency on the General Availability (GA) version of the library. In the following snippet, replace the {bom_version_to_target} placeholder with the version number.
To learn more about the BOM, see the [AZURE SDK BOM README](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-http-netty_1.15.3/sdk/boms/azure-sdk-bom/README.md).
To learn more about the BOM, see the [AZURE SDK BOM README](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-http-netty_1.15.4/sdk/boms/azure-sdk-bom/README.md).
```xml
<dependencyManagement>
@ -57,7 +57,7 @@ add the direct dependency to your project as follows.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-netty</artifactId>
<version>1.15.3</version>
<version>1.15.4</version>
</dependency>
```
[//]: # ({x-version-update-end})
@ -144,7 +144,7 @@ locate the root issue. View the [logging][logging] wiki for guidance about enabl
## Contributing
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-http-netty_1.15.3/CONTRIBUTING.md).
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-http-netty_1.15.4/CONTRIBUTING.md).
1. Fork it
1. Create your feature branch (`git checkout -b my-new-feature`)
@ -153,7 +153,7 @@ For details on contributing to this repository, see the [contributing guide](htt
1. Create new Pull Request
<!-- Links -->
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-with-Azure-SDK
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-in-Azure-SDK
[jdk_link]: /java/azure/jdk/?view=azure-java-stable
[java8_client_compatibility]: https://learn.microsoft.com/azure/security/fundamentals/azure-ca-details?tabs=root-and-subordinate-cas-list#client-compatibility-for-public-pkis

Просмотреть файл

@ -1,12 +1,12 @@
---
title: Azure Core OkHttp HTTP plugin library for Java
keywords: Azure, java, SDK, API, azure-core-http-okhttp, core
ms.date: 08/02/2024
ms.date: 09/12/2024
ms.topic: reference
ms.devlang: java
ms.service: core
---
# Azure Core OkHttp HTTP plugin library for Java - version 1.12.2
# Azure Core OkHttp HTTP plugin library for Java - version 1.12.3
Azure Core OkHttp HTTP client is a plugin for the `azure-core` HTTP client API.
@ -22,7 +22,7 @@ Azure Core OkHttp HTTP client is a plugin for the `azure-core` HTTP client API.
#### Include the BOM file
Please include the azure-sdk-bom to your project to take dependency on the General Availability (GA) version of the library. In the following snippet, replace the {bom_version_to_target} placeholder with the version number.
To learn more about the BOM, see the [AZURE SDK BOM README](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-http-okhttp_1.12.2/sdk/boms/azure-sdk-bom/README.md).
To learn more about the BOM, see the [AZURE SDK BOM README](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-http-okhttp_1.12.3/sdk/boms/azure-sdk-bom/README.md).
```xml
<dependencyManagement>
@ -57,7 +57,7 @@ add the direct dependency to your project as follows.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-okhttp</artifactId>
<version>1.12.2</version>
<version>1.12.3</version>
</dependency>
```
[//]: # ({x-version-update-end})
@ -129,7 +129,7 @@ locate the root issue. View the [logging][logging] wiki for guidance about enabl
## Contributing
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-http-okhttp_1.12.2/CONTRIBUTING.md).
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-http-okhttp_1.12.3/CONTRIBUTING.md).
1. Fork it
1. Create your feature branch (`git checkout -b my-new-feature`)
@ -138,7 +138,7 @@ For details on contributing to this repository, see the [contributing guide](htt
1. Create new Pull Request
<!-- Links -->
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-with-Azure-SDK
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-in-Azure-SDK
[jdk_link]: /java/azure/jdk/?view=azure-java-stable
[java8_client_compatibility]: https://learn.microsoft.com/azure/security/fundamentals/azure-ca-details?tabs=root-and-subordinate-cas-list#client-compatibility-for-public-pkis

Просмотреть файл

@ -1,12 +1,12 @@
---
title: Azure Core Management client library for Java
keywords: Azure, java, SDK, API, azure-core-management, core
ms.date: 08/02/2024
ms.date: 09/12/2024
ms.topic: reference
ms.devlang: java
ms.service: core
---
# Azure Core Management client library for Java - version 1.15.2
# Azure Core Management client library for Java - version 1.15.3
Azure Core Management library is a collection of classes common to the [Azure Resource Manager (ARM)][arm] client libraries.
@ -25,7 +25,7 @@ Azure Core Management library is a collection of classes common to the [Azure Re
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-management</artifactId>
<version>1.15.2</version>
<version>1.15.3</version>
</dependency>
```
[//]: # ({x-version-update-end})
@ -56,7 +56,7 @@ locate the root issue. View the [logging][logging] wiki for guidance about enabl
## Contributing
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-management_1.15.2/CONTRIBUTING.md).
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-management_1.15.3/CONTRIBUTING.md).
1. Fork it
1. Create your feature branch (`git checkout -b my-new-feature`)
@ -66,7 +66,7 @@ For details on contributing to this repository, see the [contributing guide](htt
<!-- Links -->
[arm]: /azure/azure-resource-manager/management/
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-with-Azure-SDK
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-in-Azure-SDK
[jdk_link]: /java/azure/jdk/?view=azure-java-stable
[java8_client_compatibility]: https://learn.microsoft.com/azure/security/fundamentals/azure-ca-details?tabs=root-and-subordinate-cas-list#client-compatibility-for-public-pkis

Просмотреть файл

@ -1,12 +1,12 @@
---
title: Azure Core shared library for Java
keywords: Azure, java, SDK, API, azure-core, core
ms.date: 08/02/2024
ms.date: 09/12/2024
ms.topic: reference
ms.devlang: java
ms.service: core
---
# Azure Core shared library for Java - version 1.51.0
# Azure Core shared library for Java - version 1.52.0
[![Build Documentation](https://img.shields.io/badge/documentation-published-blue.svg)](https://azure.github.io/azure-sdk-for-java)
@ -36,7 +36,7 @@ APIs in one client library, you will know how to use them in other client librar
Please include the azure-sdk-bom to your project to take dependency on the General Availability (GA) version of the
library. In the following snippet, replace the {bom_version_to_target} placeholder with the version number.
To learn more about the BOM, see
the [AZURE SDK BOM README](https://github.com/Azure/azure-sdk-for-java/blob/azure-core_1.51.0/sdk/boms/azure-sdk-bom/README.md).
the [AZURE SDK BOM README](https://github.com/Azure/azure-sdk-for-java/blob/azure-core_1.52.0/sdk/boms/azure-sdk-bom/README.md).
```xml
<dependencyManagement>
@ -75,7 +75,7 @@ add the direct dependency to your project as follows.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.51.0</version>
<version>1.52.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
@ -259,7 +259,7 @@ logging to be enabled. The following table explains what logging is enabled for
## Contributing
For details on contributing to this repository, see
the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core_1.51.0/CONTRIBUTING.md).
the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core_1.52.0/CONTRIBUTING.md).
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)

Просмотреть файл

@ -1,12 +1,12 @@
---
title: Azure Core Gson JSON Serializer plugin library for Java
keywords: Azure, java, SDK, API, azure-core-serializer-json-gson, core
ms.date: 08/02/2024
ms.date: 09/12/2024
ms.topic: reference
ms.devlang: java
ms.service: core
---
# Azure Core Gson JSON Serializer plugin library for Java - version 1.3.0
# Azure Core Gson JSON Serializer plugin library for Java - version 1.3.1
Azure Core Gson JSON Serializer is a plugin for the `azure-core` `JsonSerializer` API.
@ -22,7 +22,7 @@ Azure Core Gson JSON Serializer is a plugin for the `azure-core` `JsonSerializer
#### Include the BOM file
Please include the azure-sdk-bom to your project to take dependency on the General Availability (GA) version of the library. In the following snippet, replace the {bom_version_to_target} placeholder with the version number.
To learn more about the BOM, see the [AZURE SDK BOM README](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-serializer-json-gson_1.3.0/sdk/boms/azure-sdk-bom/README.md).
To learn more about the BOM, see the [AZURE SDK BOM README](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-serializer-json-gson_1.3.1/sdk/boms/azure-sdk-bom/README.md).
```xml
<dependencyManagement>
@ -57,7 +57,7 @@ add the direct dependency to your project as follows.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-serializer-json-gson</artifactId>
<version>1.3.0</version>
<version>1.3.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
@ -83,7 +83,7 @@ locate the root issue. View the [logging][logging] wiki for guidance about enabl
## Contributing
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-serializer-json-gson_1.3.0/CONTRIBUTING.md).
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-serializer-json-gson_1.3.1/CONTRIBUTING.md).
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
@ -92,7 +92,7 @@ For details on contributing to this repository, see the [contributing guide](htt
5. Create new Pull Request
<!-- Links -->
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-with-Azure-SDK
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-in-Azure-SDK
[jdk_link]: /java/azure/jdk/?view=azure-java-stable
[java8_client_compatibility]: https://learn.microsoft.com/azure/security/fundamentals/azure-ca-details?tabs=root-and-subordinate-cas-list#client-compatibility-for-public-pkis

Просмотреть файл

@ -1,12 +1,12 @@
---
title: Azure Core Jackson JSON Serializer plugin library for Java
keywords: Azure, java, SDK, API, azure-core-serializer-json-jackson, core
ms.date: 08/02/2024
ms.date: 09/12/2024
ms.topic: reference
ms.devlang: java
ms.service: core
---
# Azure Core Jackson JSON Serializer plugin library for Java - version 1.5.0
# Azure Core Jackson JSON Serializer plugin library for Java - version 1.5.1
Azure Core Jackson JSON Serializer is a plugin for the `azure-core` `JsonSerializer` API.
@ -22,7 +22,7 @@ Azure Core Jackson JSON Serializer is a plugin for the `azure-core` `JsonSeriali
#### Include the BOM file
Please include the azure-sdk-bom to your project to take dependency on the General Availability (GA) version of the library. In the following snippet, replace the {bom_version_to_target} placeholder with the version number.
To learn more about the BOM, see the [AZURE SDK BOM README](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-serializer-json-jackson_1.5.0/sdk/boms/azure-sdk-bom/README.md).
To learn more about the BOM, see the [AZURE SDK BOM README](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-serializer-json-jackson_1.5.1/sdk/boms/azure-sdk-bom/README.md).
```xml
<dependencyManagement>
@ -57,7 +57,7 @@ add the direct dependency to your project as follows.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-serializer-json-jackson</artifactId>
<version>1.5.0</version>
<version>1.5.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
@ -83,7 +83,7 @@ locate the root issue. View the [logging][logging] wiki for guidance about enabl
## Contributing
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-serializer-json-jackson_1.5.0/CONTRIBUTING.md).
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-serializer-json-jackson_1.5.1/CONTRIBUTING.md).
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
@ -92,7 +92,7 @@ For details on contributing to this repository, see the [contributing guide](htt
5. Create new Pull Request
<!-- Links -->
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-with-Azure-SDK
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-in-Azure-SDK
[jdk_link]: /java/azure/jdk/?view=azure-java-stable
[java8_client_compatibility]: https://learn.microsoft.com/azure/security/fundamentals/azure-ca-details?tabs=root-and-subordinate-cas-list#client-compatibility-for-public-pkis

Просмотреть файл

@ -1,12 +1,12 @@
---
title: Azure Core Experimental shared library for Java
keywords: Azure, java, SDK, API, azure-core-experimental, core
ms.date: 08/02/2024
ms.date: 09/12/2024
ms.topic: reference
ms.devlang: java
ms.service: core
---
# Azure Core Experimental shared library for Java - version 1.0.0-beta.52
# Azure Core Experimental shared library for Java - version 1.0.0-beta.53
[![Build Documentation](https://img.shields.io/badge/documentation-published-blue.svg)](https://azure.github.io/azure-sdk-for-java)
@ -27,7 +27,7 @@ Azure Core Experimental contains types that are being evaluated and might eventu
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-experimental</artifactId>
<version>1.0.0-beta.52</version>
<version>1.0.0-beta.53</version>
</dependency>
```
[//]: # ({x-version-update-end})
@ -51,7 +51,7 @@ locate the root issue. View the [logging][logging] wiki for guidance about enabl
## Contributing
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-experimental_1.0.0-beta.52/CONTRIBUTING.md).
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-experimental_1.0.0-beta.53/CONTRIBUTING.md).
1. Fork it
1. Create your feature branch (`git checkout -b my-new-feature`)
@ -60,7 +60,7 @@ For details on contributing to this repository, see the [contributing guide](htt
1. Create new Pull Request
<!-- Links -->
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-with-Azure-SDK
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-in-Azure-SDK
[jdk_link]: /java/azure/jdk/?view=azure-java-stable
[java8_client_compatibility]: https://learn.microsoft.com/azure/security/fundamentals/azure-ca-details?tabs=root-and-subordinate-cas-list#client-compatibility-for-public-pkis

Просмотреть файл

@ -1,12 +1,12 @@
---
title: Azure Core JDK HTTP plugin library for Java
keywords: Azure, java, SDK, API, azure-core-http-jdk-httpclient, core
ms.date: 08/02/2024
ms.date: 09/12/2024
ms.topic: reference
ms.devlang: java
ms.service: core
---
# Azure Core JDK HTTP plugin library for Java - version 1.0.0-beta.15
# Azure Core JDK HTTP plugin library for Java - version 1.0.0-beta.16
This is an azure-core HTTP client that makes use of the asynchronous HttpClient that was made generally available as
@ -25,7 +25,7 @@ part of JDK 11.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-jdk-httpclient</artifactId>
<version>1.0.0-beta.15</version>
<version>1.0.0-beta.16</version>
</dependency>
```
[//]: # ({x-version-update-end})
@ -80,7 +80,7 @@ locate the root issue. View the [logging][logging] wiki for guidance about enabl
## Contributing
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-http-jdk-httpclient_1.0.0-beta.15/CONTRIBUTING.md).
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-http-jdk-httpclient_1.0.0-beta.16/CONTRIBUTING.md).
1. Fork it
1. Create your feature branch (`git checkout -b my-new-feature`)
@ -89,7 +89,7 @@ For details on contributing to this repository, see the [contributing guide](htt
1. Create new Pull Request
<!-- links -->
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-with-Azure-SDK
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-in-Azure-SDK
[jdk_link]: /java/azure/jdk/?view=azure-java-stable
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fcore%2Fazure-core-http-jdk-httpclient%2FREADME.png)

Просмотреть файл

@ -1,12 +1,12 @@
---
title: Azure Core Vert.x HTTP plugin library for Java
keywords: Azure, java, SDK, API, azure-core-http-vertx, core
ms.date: 08/02/2024
ms.date: 09/12/2024
ms.topic: reference
ms.devlang: java
ms.service: core
---
# Azure Core Vert.x HTTP plugin library for Java - version 1.0.0-beta.20
# Azure Core Vert.x HTTP plugin library for Java - version 1.0.0-beta.21
Azure Core Vert.x HTTP client is a plugin for the `azure-core` HTTP client API.
@ -26,7 +26,7 @@ Azure Core Vert.x HTTP client is a plugin for the `azure-core` HTTP client API.
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-vertx</artifactId>
<version>1.0.0-beta.20</version>
<version>1.0.0-beta.21</version>
</dependency>
</dependencies>
```
@ -82,7 +82,7 @@ locate the root issue. View the [logging][logging] wiki for guidance about enabl
## Contributing
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-http-vertx_1.0.0-beta.20/CONTRIBUTING.md).
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-http-vertx_1.0.0-beta.21/CONTRIBUTING.md).
1. Fork it
1. Create your feature branch (`git checkout -b my-new-feature`)
@ -91,7 +91,7 @@ For details on contributing to this repository, see the [contributing guide](htt
1. Create new Pull Request
<!-- Links -->
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-with-Azure-SDK
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-in-Azure-SDK
[jdk_link]: /java/azure/jdk/?view=azure-java-stable
[java8_client_compatibility]: https://learn.microsoft.com/azure/security/fundamentals/azure-ca-details?tabs=root-and-subordinate-cas-list#client-compatibility-for-public-pkis

Просмотреть файл

@ -1,12 +1,12 @@
---
title: Azure OpenTelemetry Metrics plugin library for Java
keywords: Azure, java, SDK, API, azure-core-metrics-opentelemetry, core
ms.date: 08/02/2024
ms.date: 09/12/2024
ms.topic: reference
ms.devlang: java
ms.service: core
---
# Azure OpenTelemetry Metrics plugin library for Java - version 1.0.0-beta.21
# Azure OpenTelemetry Metrics plugin library for Java - version 1.0.0-beta.22
This package enables metrics from Azure SDK Java libraries through [OpenTelemetry][OpenTelemetry]. OpenTelemetry is an open source, vendor-agnostic, single distribution of libraries to provide metrics collection and distributed tracing for services.
@ -28,7 +28,7 @@ documentation][OpenTelemetry] | [Samples][samples]
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-metrics-opentelemetry</artifactId>
<version>1.0.0-beta.21</version>
<version>1.0.0-beta.22</version>
</dependency>
```
[//]: # ({x-version-update-end})
@ -45,7 +45,7 @@ The following sections provide several code snippets covering some of the most c
- [Default configuration: Opentelemtery SDK](#default-configuration-agent)
- [Custom configuration](#custom-configuration)
You can find more samples [here](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-metrics-opentelemetry_1.0.0-beta.21/sdk/core/azure-core-metrics-opentelemetry/src/samples/).
You can find more samples [here](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-metrics-opentelemetry_1.0.0-beta.22/sdk/core/azure-core-metrics-opentelemetry/src/samples/).
### Default configuration: agent
@ -134,11 +134,11 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope
<!-- Links -->
[api_documentation]: https://aka.ms/java-docs
[context]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-metrics-opentelemetry_1.0.0-beta.21/sdk/core/azure-core/src/main/java/com/azure/core/util/Context.java
[context]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-metrics-opentelemetry_1.0.0-beta.22/sdk/core/azure-core/src/main/java/com/azure/core/util/Context.java
[jdk_link]: /java/azure/jdk/?view=azure-java-stable
[java8_client_compatibility]: https://learn.microsoft.com/azure/security/fundamentals/azure-ca-details?tabs=root-and-subordinate-cas-list#client-compatibility-for-public-pkis
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-with-Azure-SDK
[source_code]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-metrics-opentelemetry_1.0.0-beta.21/sdk/core/azure-core-metrics-opentelemetry/src/
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-in-Azure-SDK
[source_code]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-metrics-opentelemetry_1.0.0-beta.22/sdk/core/azure-core-metrics-opentelemetry/src/
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fcore%2Fazure-core-metrics-opentelemetry%2FREADME.png)

Просмотреть файл

@ -1,12 +1,12 @@
---
title: Azure Core Apache Avro Serializer plugin library for Java
keywords: Azure, java, SDK, API, azure-core-serializer-avro-apache, core
ms.date: 08/02/2024
ms.date: 09/12/2024
ms.topic: reference
ms.devlang: java
ms.service: core
---
# Azure Core Apache Avro Serializer plugin library for Java - version 1.0.0-beta.48
# Azure Core Apache Avro Serializer plugin library for Java - version 1.0.0-beta.49
Azure Core Apache Avro Serializer is a plugin for the `azure-core` `AvroSerializer` API.
@ -25,7 +25,7 @@ Azure Core Apache Avro Serializer is a plugin for the `azure-core` `AvroSerializ
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-serializer-avro-apache</artifactId>
<version>1.0.0-beta.48</version>
<version>1.0.0-beta.49</version>
</dependency>
```
[//]: # ({x-version-update-end})
@ -51,7 +51,7 @@ locate the root issue. View the [logging][logging] wiki for guidance about enabl
## Contributing
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-serializer-avro-apache_1.0.0-beta.48/CONTRIBUTING.md).
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-serializer-avro-apache_1.0.0-beta.49/CONTRIBUTING.md).
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
@ -60,7 +60,7 @@ For details on contributing to this repository, see the [contributing guide](htt
5. Create new Pull Request
<!-- links -->
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-with-Azure-SDK
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-in-Azure-SDK
[jdk_link]: /java/azure/jdk/?view=azure-java-stable
[java8_client_compatibility]: https://learn.microsoft.com/azure/security/fundamentals/azure-ca-details?tabs=root-and-subordinate-cas-list#client-compatibility-for-public-pkis

Просмотреть файл

@ -1,122 +1,319 @@
---
title: Azure Core Test shared library for Java
keywords: Azure, java, SDK, API, azure-core-test, core
ms.date: 10/30/2020
ms.date: 09/12/2024
ms.topic: reference
ms.devlang: java
ms.service: core
ms.technology: azure
ms.prod: azure
---
# Azure Core Test shared library for Java - version 1.5.1
# Azure Core Test shared library for Java - version 1.27.0-beta.1
Library containing core classes used to test Azure SDK client libraries.
This library contains core classes used to test Azure SDK client libraries.
* Create live or playback JUnit tests using [TestBase][TestBase.java] and
leveraging [InterceptorManager][InterceptorManager.java] to keep track of
network calls.
* Record network calls using using pipeline policy,
[RecordNetworkCallPolicy][RecordNetworkCallPolicy.java].
* Playback test session records with [PlaybackClient][PlaybackClient.java].
Newer SDK tests utilize the [Azure SDK Tools Test Proxy][test-proxy-readme] to record and playback HTTP interactions.
To migrate from existing [TestBase][TestBase.java] to use the test proxy, or to learn more about using the test proxy,
refer to the [test proxy migration guide][test-proxy-migration-guide].
## Table of contents
- [Getting started](#getting-started)
- [Key concepts](#key-concepts)
- [Write or run tests](#write-or-run-tests)
- [Set up test resources](#set-up-test-resources)
- [Configure credentials](#configure-credentials)
- [Start the test proxy server](#start-the-test-proxy-server)
- [Write your tests](#write-your-tests)
- [Configure live or playback testing mode](#configure-live-or-playback-testing-mode)
- [Run and record tests](#run-and-record-tests)
- [Run tests with out-of-repo recordings](#run-tests-with-out-of-repo-recordings)
- [Sanitize secrets](#sanitize-secrets)
- [Customizing what gets recorded](#customizing-what-gets-recorded)
- [Troubleshooting](#troubleshooting)
- [Next steps](#next-steps)
- [Contributing](#contributing)
## Getting started
To use this package, add the following to your _pom.xml_.
[//]: # ({x-version-update-start;com.azure:azure-core-test;current})
```xml
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.5.1</version>
<version>1.27.0-beta.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
## Key concepts
* [TestBase][TestBase.java]: Base test class that creates an `InterceptorManager` for each unit test and either plays
back test session data or records the test session. Each session's file name is determined using the name of the test.
* [InterceptorManager][InterceptorManager.java]: Main class used to record and playback `NetworkCallRecords`.
* Run tests in `Record` mode:
To record means to intercept any HTTP request, store it in a file, then store the response received from the live
resource that was originally targeted.
* Run tests in `Playback` mode:
To playback means to intercept any HTTP request and to respond to it with the stored response of a previously recorded
matching request.
* Run tests in `Live` mode:
To run live means to not intercept any HTTP request and to send them to the Azure service directly.
* Sanitize sensitive information:
Sensitive information means content like passwords, unique identifiers or personal information should be cleaned up
from the recordings.
* [TestProxyTestBase][TestProxyTestBase.java]: Base test class that creates an `InterceptorManager` and enables the test
to use [`test-proxy`][test-proxy-readme] for running the test. It either plays back test session data or records the
test session.
* [InterceptorManager][InterceptorManager.java]: A class that keeps track of network calls by either reading the data
from an existing test session record or recording the network calls in memory. Test session records are saved or read
from "<i>.assets/{library-level}/src/test/resources/session-records/{TestFileName.testName}.json</i>".
* [TestProxyRecordPolicy][TestProxyRecordPolicy.java]: Pipeline policy that records network calls using
the [`test-proxy`][test-proxy-readme].
* [TestProxyPlaybackClient][TestProxyPlaybackClient.java]: HTTP client that plays back responses from the recorded data
of session-record using test proxy.
## Examples
## Write or run tests
### Create a test class to run live or playback tests
### Set up test resources
Use [TestBase][TestBase.java] to easily create live and playback test cases. Extending from `TestBase` provides an
`interceptorManager` that keeps track of all network calls.
Live Azure resources will be necessary in order to run live tests and produce recordings.
If you haven't yet set up a `test-resources.json` file for test resource deployment and/or want to use test resources of
your own, you can just configure credentials to target these resources instead.
To create a `test-resources.json` file:
1. Create an Azure Resource Management Template for your specific service and the configuration you need. This can be
done in the [Portal][azure_portal] by creating a resource, and at the very last step (Review + Create), clicking
"Download a template for automation".
2. Save this template to a `test-resources.json` file under the directory that contains your package
(`sdk/<my-service>/test-resources.json`) file. You can refer to
[Table's][tables-test-resources] as an example.
3. Add templates for any additional resources in a grouped `"resources"` section of `test-resources.json`
([example][tables-test-resources-resources]).
4. Add an `"outputs"` section to `test-resources.json` that describes any environment variables necessary for accessing
these resources ([example][tables-test-resources-outputs]).
### Configure credentials
Java SDK tests uses `EnvironmentVariables` to store test credentials.
If using a `New-TestResources` script from [/eng/common/TestResources][test-resources], the script should output any
environment variables necessary to run live tests for the service. After storing these variables in your local
environment
variables -- with appropriate formatting -- your credentials and test configuration variables will be set in your
environment when running tests.
If your service doesn't have a `test-resources.json` file for test deployment, you'll need to set environment variables
for `AZURE_SUBSCRIPTION_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_ID`, and `AZURE_CLIENT_SECRET` at minimum.
1. Set the `AZURE_SUBSCRIPTION_ID` variable to your organization's subscription ID. You can find it in the "Overview"
section of the "Subscriptions" blade in the [Azure Portal][azure_portal].
2. Define the `AZURE_TENANT_ID`, `AZURE_CLIENT_ID`, and `AZURE_CLIENT_SECRET` of a test service principal. If you do not
have a service principal, use the Azure CLI's [az ad sp create-for-rbac][azure_cli_service_principal] command (
ideally,
using your alias as the service principal's name prefix):
```
az login
az ad sp create-for-rbac --name "{your alias}-tests" --role Contributor
```
The command will output a set of credentials. Set values for `AZURE_TENANT_ID`, `AZURE_CLIENT_ID`,
and `AZURE_CLIENT_SECRET` in your environment variables.
### Start the test proxy server
The test proxy has to be available in order for tests to work; this is done automatically when the test is extended from
`TestProxyTestBase`.
The `com.azure.core.test.TestProxyTestBase#setupTestProxy()` method is responsible for starting test proxy.
<!-- embedme ./src/samples/java/com/azure/core/test/ReadmeSamples.java#L27-L39 -->
```java
public class MyTest extends TestProxyTestBase {
// method in TestProxyTestBase
@BeforeAll
public static void setupTestProxy(TestInfo testInfo) {
// Start the test proxy server
testProxyManager.startProxy();
}
}
```
For more details about how this starts up the test proxy, or the test proxy itself, refer to the
[test proxy migration guide][test-proxy-migration-guide].
## Write your tests
Each of the SDKs should include client sync and async testing in their `tests` directory (`sdk/{service}/{package}/tests`)
with the naming pattern `{ServiceName}ClientTest.java` and `{ServiceName}AsyncClientTest.java`.
The `{ServiceName}ClientTest` will be responsible for testing the synchronous client, and
the `{ServiceName}AsyncClientTest` will be responsible for testing the asynchronous client.
The `{ServiceName}ClientTest` and the `{ServiceName}AsyncClientTest` both will extend the `{ServiceName}ClientTestBase`
which then extends the `TestProxyTestBase` class.
The `{ServiceName}ClientTestBase` will be responsible for initializing the clients, preparing test data, registering
sanitizers/matchers etc. (in this example we use Tables SDK for the sake of demonstration):
```java readme-sample-createATestClass
/**
* Set the AZURE_TEST_MODE environment variable to either PLAYBACK or RECORD to determine if tests are playback or
* live. By default, tests are run in playback mode.
* record. By default, tests are run in playback mode.
*/
public class SessionTests extends TestBase {
public static class ClientTests extends TestProxyTestBase {
/**
* Use JUnit or TestNG annotation here for your testcase
* Use JUnit annotation here for your testcase
*/
public void fooTest() {
// Do some network calls.
public void testMethodName() {
HttpPipelineBuilder pipelineBuilder = new HttpPipelineBuilder();
if (interceptorManager.isRecordMode()) {
// Add a policy to record network calls.
pipelineBuilder.policies(interceptorManager.getRecordPolicy());
}
if (interceptorManager.isPlaybackMode()) {
// Use a playback client when running in playback mode
pipelineBuilder.httpClient(interceptorManager.getPlaybackClient());
}
Mono<HttpResponse> response =
pipelineBuilder.build().send(new HttpRequest(HttpMethod.GET, "http://bing.com"));
// Validate test results.
assertEquals(200, response.block().getStatusCode());
}
}
```
### Record network calls
## Configure live or playback testing mode
Record network calls using [RecordNetworkCallPolicy][RecordNetworkCallPolicy.java]. Each HTTP request sent from the test
client, is persisted to [RecordedData][RecordedData.java].
"Live" tests refer to tests that make requests to actual Azure resources. "Playback" tests require a recording for each
test; the test proxy will compare the requests/responses that would be made during each test with requests/responses in
the recording.
<!-- embedme ./src/samples/java/com/azure/core/test/ReadmeSamples.java#L41-L60 -->
```java
/**
* Sample code for recording network calls.
*/
public class Foo {
public void recordNetworkCalls() {
// All network calls are kept in the recordedData variable.
RecordedData recordedData = new RecordedData();
HttpPipeline pipeline = new HttpPipelineBuilder()
.policies(new RecordNetworkCallPolicy(recordedData))
.build();
To run live tests, set the environment variable `AZURE_TEST_MODE` to `LIVE`.
To run tests in playback, set `AZURE_TEST_MODE` to `PLAYBACK` or leave it unset.
// Send requests through the HttpPipeline.
pipeline.send(new HttpRequest(HttpMethod.GET, "http://bing.com"));
## Run and record tests
// Get a record that was sent through the pipeline.
NetworkCallRecord networkCall = recordedData.findFirstAndRemoveNetworkCall(record -> {
return record.getUri().equals("http://bing.com");
});
}
}
Set the environment variable `AZURE_TEST_MODE` to `RECORD` to run your test(s) in record mode.
After tests finish running, there should be a folder called `src/test/resources/session-records` in your package
directory.
Each recording in this folder will be a `.json` file that captures the HTTP traffic that was
generated while running the test matching the file's name. If you set the `AZURE_TEST_MODE` environment variable to "
PLAYBACK"
and re-run tests, they should pass again -- this time, in playback mode (i.e. without making actual HTTP requests, using
the recorded data from json recording file).
### Run tests with out-of-repo recordings
If the package being tested stores its recordings outside the `azure-sdk-for-java` repository -- i.e. the
[recording migration guide][recording-migration] has been followed and the package contains an `assets.json` file --
there won't be a `src/test/resources/session-records` folder in the `tests` directory. Instead,
the package's `assets.json` file will point to a tag in the `azure-sdk-assets` repository that contains the recordings.
This is the preferred recording configuration.
Running live or playback tests is the same in this configuration as it was in the previous section. The only changes are
to the process of updating recordings.
### Update test recordings
#### Prerequisites
- The targeted library is already migrated to use the test proxy.
- Git version > 2.30.0 is to on the machine and in the path. Git is used by the script and test proxy.
- Global [git config settings][git_setup] are configured for `user.name` and `user.email`.
- These settings are also set with environment variables `GIT_COMMIT_OWNER` and `GIT_COMMIT_EMAIL`, respectively (in
your environment or your local `.env` file).
- Membership in the `azure-sdk-write` GitHub group.
- `test-proxy` tool [installed](https://github.com/Azure/azure-sdk-tools/blob/main/tools/test-proxy/Azure.Sdk.Tools.TestProxy/README.md#installation)
Test recordings will be updated if tests are run and the environment variable `AZURE_TEST_MODE` is set to `RECORD`.
Since the recordings themselves are no longer in the `azure-sdk-for-java` repo, though, these updates will be reflected
in a git-excluded `.assets` folder at the root of the repo.
The `.assets` folder contains one or more directories with random names, which each are a git directory containing
recordings. If you `cd` into the folder containing your package's recordings, you can use `git status` to view the
recording updates you've made. You can also use other `git` commands; for example, `git diff {file name}` to see
specific file changes, or `git restore {file name}` to undo changes you don't want to keep.
To find the directory containing your package's recordings, open the `.breadcrumb` file in the `.assets` folder. This
file lists a package name on each line, followed by the recording directory name; for example:
```
sdk/{service}/{package}/assets.json;2Wm2Z87545;java/{service}/{package}_<10-character-commit-SHA>
```
### Playback session records
The recording directory in this case is `2Wm2Z8745`, the string between the two semicolons.
Playback test session records by creating a [RecordedData][RecordedData.java].
After verifying that your recording updates look correct, you can use the `test-proxy push -a assets.json` command
to push these recordings to the `azure-sdk-assets` repo. This command should be provided a **relative** path to your
package's `assets.json` file. For example, from the root of the `azure-sdk-for-java` repo:
<!-- embedme ./src/samples/java/com/azure/core/test/ReadmeSamples.java#L62-L78 -->
```java
/**
* Sample code for using playback to test.
*/
public class FooBar {
public void playbackNetworkCalls() {
RecordedData recordedData = new RecordedData();
// Add some network calls to be replayed by playbackClient
// Creates a HTTP client that plays back responses in recordedData.
HttpClient playbackClient = new PlaybackClient(recordedData, null);
// Send an HTTP GET request to http://bing.com. If recordedData contains a NetworkCallRecord with a matching HTTP
// method and matching URL, it is returned as a response.
Mono<HttpResponse> response = playbackClient.send(new HttpRequest(HttpMethod.GET, "http://bing.com"));
}
}
```
test-proxy push -a sdk/{service}/{package}/assets.json
```
The verbs that can be provided to this script are "push", "restore", and "reset":
- **push**: pushes recording updates to a new assets repo tag and updates the tag pointer in `assets.json`.
- **restore**: fetches recordings from the assets repo, based on the tag pointer in `assets.json`.
- **reset**: discards any pending changes to recordings, based on the tag pointer in `assets.json`.
After pushing your recordings, the `assets.json` file for your package will be updated to point to a new `Tag` that
contains the updates. Include this `assets.json` update in any pull request to update the recordings pointer in the
upstream repo.
### Sanitize secrets
The `.json` files created from running tests in record mode can include authorization details, account names, shared
access signatures, and other secrets. The recordings are included in our public GitHub repository, making it important
for us to remove any secrets from these recordings before committing them to the repository.
There are two primary ways to keep secrets from being written into recordings:
1. [Default sanitizers][default_sanitizers], similar to the use of the RecordingRedactor are already registered in the
TestProxyUtils for default redactions.
2. Custom sanitizers can be added using [`TestProxySanitizer`][test_proxy_sanitizer] and
`interceptorManager.addSanitizers()` method for addressing specific service sanitization needs.
For example, registering a custom sanitizer for redacting the value of json key modelId from the response body looks
like the following:
```java readme-sample-add-sanitizer-matcher
List<TestProxySanitizer> customSanitizer = new ArrayList<>();
// sanitize value for key: "modelId" in response json body
customSanitizer.add(
new TestProxySanitizer("$..modelId", "REPLACEMENT_TEXT", TestProxySanitizerType.BODY_KEY));
if (interceptorManager.isRecordMode()) {
// Add a policy to record network calls.
pipelineBuilder.policies(interceptorManager.getRecordPolicy());
}
if (interceptorManager.isPlaybackMode()) {
// Use a playback client when running in playback mode
pipelineBuilder.httpClient(interceptorManager.getPlaybackClient());
// Add matchers only in playback mode
interceptorManager.addMatchers(Arrays.asList(new CustomMatcher()
.setHeadersKeyOnlyMatch(Arrays.asList("x-ms-client-request-id"))));
}
if (!interceptorManager.isLiveMode()) {
// Add sanitizers when running in playback or record mode
interceptorManager.addSanitizers(customSanitizer);
}
```
Note: Sanitizers must only be added once the playback client or record policy is registered.
Look at the [TableClientTestBase][TableClientTestBase] class for example.
Detailed information about the sanitizers supported by Test Proxy can be found [here][sanitize-secrets].
#### Customizing what gets recorded
Some tests send large request bodies that are not meaningful and should not be stored in the session records.
In order to disable storing the request body for a specific request, add the `RecordWithoutRequestBody` annotation to
the test method.
## Examples
## Troubleshooting
@ -127,24 +324,43 @@ If you encounter any bugs with these SDKs, please file issues via
## Next steps
Other useful packages are:
* [azure-core](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-test_1.5.1/sdk/core/azure-core): Contains core classes and functionality used by all client libraries.
* [azure-core](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-test_1.27.0-beta.1/sdk/core/azure-core): Contains core classes and
functionality used by all client libraries.
## Contributing
If you would like to become an active contributor to this project please follow the instructions provided in
[Microsoft Azure Projects Contribution Guidelines](https://azure.github.io/guidelines.html).
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-test_1.27.0-beta.1/CONTRIBUTING.md).
1. Fork it
1. Create your feature branch (`git checkout -b my-new-feature`)
1. Commit your changes (`git commit -am 'Add some feature'`)
1. Push to the branch (`git push origin my-new-feature`)
1. Create new Pull Request
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit <https://cla.microsoft.com>.
[InterceptorManager.java]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-test_1.5.1/sdk/core/azure-core-test/src/main/java/com/azure/core/test/InterceptorManager.java
[PlaybackClient.java]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-test_1.5.1/sdk/core/azure-core-test/src/main/java/com/azure/core/test/http/PlaybackClient.java
[RecordedData.java]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-test_1.5.1/sdk/core/azure-core-test/src/main/java/com/azure/core/test/models/RecordedData.java
[RecordNetworkCallPolicy.java]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-test_1.5.1/sdk/core/azure-core-test/src/main/java/com/azure/core/test/policy/RecordNetworkCallPolicy.java
[TestBase.java]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-test_1.5.1/sdk/core/azure-core-test/src/main/java/com/azure/core/test/TestBase.java
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For more information see the [Code of Conduct FAQ][coc_faq] or contact <opencode@microsoft.com> with any additional questions or comments.
[azure_portal]: https://portal.azure.com/
[azure_cli_service_principal]: /cli/azure/ad/sp?view=azure-cli-latest#az-ad-sp-create-for-rbac
[default_sanitizers]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-test_1.27.0-beta.1/sdk/core/azure-core-test/src/main/java/com/azure/core/test/utils/TestProxyUtils.java#L259
[git_setup]: https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup
[git_token]: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
[powershell]: https://learn.microsoft.com/powershell/scripting/install/installing-powershell?view=powershell-latest
[recording-migration]: https://github.com/Azure/azure-sdk-for-java/blob/64de460d8080127a1e0c58fbfc7ab9e95f70a2c7/sdk/core/azure-core-test/RecordingMigrationGuide.md
[sanitize-secrets]: https://github.com/Azure/azure-sdk-tools/blob/main/tools/test-proxy/Azure.Sdk.Tools.TestProxy/README.md#session-and-test-level-transforms-sanitizers-and-matchers
[test-proxy-readme]: https://github.com/Azure/azure-sdk-tools/blob/main/tools/test-proxy/Azure.Sdk.Tools.TestProxy/README.md
[test-proxy-migration-guide]: https://github.com/Azure/azure-sdk-for-java/blob/64de460d8080127a1e0c58fbfc7ab9e95f70a2c7/sdk/core/azure-core-test/TestProxyMigrationGuide.md
[InterceptorManager.java]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-test_1.27.0-beta.1/sdk/core/azure-core-test/src/main/java/com/azure/core/test/InterceptorManager.java
[TestProxyPlaybackClient.java]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-test_1.27.0-beta.1/sdk/core/azure-core-test/src/main/java/com/azure/core/test/http/TestProxyPlaybackClient.java
[TestProxyRecordPolicy.java]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-test_1.27.0-beta.1/sdk/core/azure-core-test/src/main/java/com/azure/core/test/policy/TestProxyRecordPolicy.java
[TestBase.java]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-test_1.27.0-beta.1/sdk/core/azure-core-test/src/main/java/com/azure/core/test/TestProxyTestBase.java
[TestProxyTestBase.java]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-test_1.27.0-beta.1/sdk/core/azure-core-test/src/main/java/com/azure/core/test/TestProxyTestBase.java
[TableClientTestBase]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-test_1.27.0-beta.1/sdk/tables/azure-data-tables/src/test/java/com/azure/data/tables/TableClientTestBase.java#L61
[tables-test-resources]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-test_1.27.0-beta.1/sdk/tables/test-resources.json
[tables-test-resources-resources]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-test_1.27.0-beta.1/sdk/tables/test-resources.json#L42
[tables-test-resources-outputs]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-test_1.27.0-beta.1/sdk/tables/test-resources.json#L115
[test-resources]: https://github.com/Azure/azure-sdk-for-java/tree/azure-core-test_1.27.0-beta.1/eng/common/TestResources#readme
[test_proxy_sanitizer]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-test_1.27.0-beta.1/sdk/core/azure-core-test/src/main/java/com/azure/core/test/models/TestProxySanitizer.java
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fcore%2Fazure-core-test%2FREADME.png)

Просмотреть файл

@ -1,12 +1,12 @@
---
title: Azure OpenTelemetry Tracing plugin library for Java
keywords: Azure, java, SDK, API, azure-core-tracing-opentelemetry, core
ms.date: 08/02/2024
ms.date: 09/12/2024
ms.topic: reference
ms.devlang: java
ms.service: core
---
# Azure OpenTelemetry Tracing plugin library for Java - version 1.0.0-beta.48
# Azure OpenTelemetry Tracing plugin library for Java - version 1.0.0-beta.49
This package enables distributed tracing across Azure SDK Java libraries through [OpenTelemetry][OpenTelemetry]. OpenTelemetry is an open source, vendor-agnostic, single distribution of libraries to provide metrics collection and distributed tracing for services.
@ -61,7 +61,7 @@ To enable Azure SDK tracing, add the latest `com.azure:azure-core-tracing-opente
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-tracing-opentelemetry</artifactId>
<version>1.0.0-beta.48</version>
<version>1.0.0-beta.49</version>
</dependency>
```
[//]: # ({x-version-update-end})
@ -274,20 +274,20 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope
[azure_data_app_configuration]: https://central.sonatype.com/artifact/com.azure/azure-data-appconfiguration/
[azure_keyvault_secrets]: https://central.sonatype.com/artifact/com.azure/azure-security-keyvault-secrets
[azure_messaging_eventhubs_mvn]: https://central.sonatype.com/artifact/com.azure/azure-messaging-eventhubs/
[azure-messaging-eventhubs]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-tracing-opentelemetry_1.0.0-beta.48/sdk/eventhubs/azure-messaging-eventhubs
[azure-security-keyvault-secrets]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-tracing-opentelemetry_1.0.0-beta.48/sdk/keyvault/azure-security-keyvault-secrets
[context]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-tracing-opentelemetry_1.0.0-beta.48/sdk/core/azure-core/src/main/java/com/azure/core/util/Context.java
[azure-messaging-eventhubs]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-tracing-opentelemetry_1.0.0-beta.49/sdk/eventhubs/azure-messaging-eventhubs
[azure-security-keyvault-secrets]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-tracing-opentelemetry_1.0.0-beta.49/sdk/keyvault/azure-security-keyvault-secrets
[context]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-tracing-opentelemetry_1.0.0-beta.49/sdk/core/azure-core/src/main/java/com/azure/core/util/Context.java
[jdk_link]: /java/azure/jdk/?view=azure-java-stable
[java8_client_compatibility]: https://learn.microsoft.com/azure/security/fundamentals/azure-ca-details?tabs=root-and-subordinate-cas-list#client-compatibility-for-public-pkis
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-with-Azure-SDK
[logging]: https://github.com/Azure/azure-sdk-for-java/wiki/Logging-in-Azure-SDK
[OpenTelemetry-quickstart]: https://github.com/open-telemetry/opentelemetry-java/blob/main/QUICKSTART.md
[OpenTelemetry]: https://github.com/open-telemetry/opentelemetry-java#opentelemetry-for-java
[sample_app_config]: https://github.com/Azure/azure-sdk-for-java/blob/340efc149a29df01358e1a4d580a4b1d045494b3/sdk/core/azure-core-tracing-opentelemetry-samples/src/samples/java/com/azure/core/tracing/opentelemetry/samples/CreateConfigurationSettingLoggingExporterSample.java
[sample_async_key_vault]: https://github.com/Azure/azure-sdk-for-java/blob/340efc149a29df01358e1a4d580a4b1d045494b3/sdk/core/azure-core-tracing-opentelemetry-samples/src/samples/java/com/azure/core/tracing/opentelemetry/samples/ListKeyVaultSecretsAutoConfigurationSample.java
[sample_key_vault]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-tracing-opentelemetry_1.0.0-beta.48/sdk/core/azure-core-tracing-opentelemetry-samples/src/samples/java/com/azure/core/tracing/opentelemetry/samples/ListKeyVaultSecretsAutoConfigurationSample.java
[samples]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-tracing-opentelemetry_1.0.0-beta.48/sdk/core/azure-core-tracing-opentelemetry-samples/src/samples/
[source_code]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-tracing-opentelemetry_1.0.0-beta.48/sdk/core/azure-core-tracing-opentelemetry/src
[event_hubs_samples]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-tracing-opentelemetry_1.0.0-beta.48/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventsTracingWithCustomContextSample.java
[sample_key_vault]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-tracing-opentelemetry_1.0.0-beta.49/sdk/core/azure-core-tracing-opentelemetry-samples/src/samples/java/com/azure/core/tracing/opentelemetry/samples/ListKeyVaultSecretsAutoConfigurationSample.java
[samples]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-tracing-opentelemetry_1.0.0-beta.49/sdk/core/azure-core-tracing-opentelemetry-samples/src/samples/
[source_code]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-tracing-opentelemetry_1.0.0-beta.49/sdk/core/azure-core-tracing-opentelemetry/src
[event_hubs_samples]: https://github.com/Azure/azure-sdk-for-java/blob/azure-core-tracing-opentelemetry_1.0.0-beta.49/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventsTracingWithCustomContextSample.java
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fcore%2Fazure-core-tracing-opentelemetry%2FREADME.png)

Просмотреть файл

@ -1,6 +1,6 @@
{
"Name": "azure-core-amqp",
"Version": "2.9.8",
"Version": "2.9.9",
"DevVersion": null,
"DirectoryPath": "sdk/core/azure-core-amqp",
"ServiceDirectory": "core",
@ -10,7 +10,8 @@
"SdkType": "client",
"IsNewSdk": true,
"ArtifactName": "azure-core-amqp",
"ReleaseStatus": "2024-07-31",
"ReleaseStatus": "2024-09-12",
"AdditionalValidationPackages": null,
"Namespaces": [
"com.azure.core.amqp",
"com.azure.core.amqp.client.traits",

Просмотреть файл

@ -1,6 +1,6 @@
{
"Name": "azure-core-http-netty",
"Version": "1.15.3",
"Version": "1.15.4",
"DevVersion": null,
"DirectoryPath": "sdk/core/azure-core-http-netty",
"ServiceDirectory": "core",
@ -10,7 +10,8 @@
"SdkType": "client",
"IsNewSdk": true,
"ArtifactName": "azure-core-http-netty",
"ReleaseStatus": "2024-07-31",
"ReleaseStatus": "2024-09-12",
"AdditionalValidationPackages": null,
"Namespaces": [
"com.azure.core.http.netty"
]

Просмотреть файл

@ -1,6 +1,6 @@
{
"Name": "azure-core-http-okhttp",
"Version": "1.12.2",
"Version": "1.12.3",
"DevVersion": null,
"DirectoryPath": "sdk/core/azure-core-http-okhttp",
"ServiceDirectory": "core",
@ -10,7 +10,8 @@
"SdkType": "client",
"IsNewSdk": true,
"ArtifactName": "azure-core-http-okhttp",
"ReleaseStatus": "2024-07-31",
"ReleaseStatus": "2024-09-12",
"AdditionalValidationPackages": null,
"Namespaces": [
"com.azure.core.http.okhttp"
]

Просмотреть файл

@ -1,6 +1,6 @@
{
"Name": "azure-core-management",
"Version": "1.15.2",
"Version": "1.15.3",
"DevVersion": null,
"DirectoryPath": "sdk/core/azure-core-management",
"ServiceDirectory": "core",
@ -10,7 +10,8 @@
"SdkType": "client",
"IsNewSdk": true,
"ArtifactName": "azure-core-management",
"ReleaseStatus": "2024-07-31",
"ReleaseStatus": "2024-09-12",
"AdditionalValidationPackages": null,
"Namespaces": [
"com.azure.core.management",
"com.azure.core.management.exception",

Просмотреть файл

@ -1,6 +1,6 @@
{
"Name": "azure-core-serializer-json-gson",
"Version": "1.3.0",
"Version": "1.3.1",
"DevVersion": null,
"DirectoryPath": "sdk/core/azure-core-serializer-json-gson",
"ServiceDirectory": "core",
@ -10,7 +10,8 @@
"SdkType": "client",
"IsNewSdk": true,
"ArtifactName": "azure-core-serializer-json-gson",
"ReleaseStatus": "2024-07-31",
"ReleaseStatus": "2024-09-12",
"AdditionalValidationPackages": null,
"Namespaces": [
"com.azure.core.serializer.json.gson",
"com.azure.core.serializer.json.gson.models"

Просмотреть файл

@ -1,6 +1,6 @@
{
"Name": "azure-core-serializer-json-jackson",
"Version": "1.5.0",
"Version": "1.5.1",
"DevVersion": null,
"DirectoryPath": "sdk/core/azure-core-serializer-json-jackson",
"ServiceDirectory": "core",
@ -10,7 +10,8 @@
"SdkType": "client",
"IsNewSdk": true,
"ArtifactName": "azure-core-serializer-json-jackson",
"ReleaseStatus": "2024-07-31",
"ReleaseStatus": "2024-09-12",
"AdditionalValidationPackages": null,
"Namespaces": [
"com.azure.core.serializer.json.jackson",
"com.azure.core.serializer.json.jackson.models"

Просмотреть файл

@ -1,6 +1,6 @@
{
"Name": "azure-core",
"Version": "1.51.0",
"Version": "1.52.0",
"DevVersion": null,
"DirectoryPath": "sdk/core/azure-core",
"ServiceDirectory": "core",
@ -10,7 +10,8 @@
"SdkType": "client",
"IsNewSdk": true,
"ArtifactName": "azure-core",
"ReleaseStatus": "2024-07-31",
"ReleaseStatus": "2024-09-12",
"AdditionalValidationPackages": null,
"Namespaces": [
"com.azure.core.annotation",
"com.azure.core.client.traits",

Просмотреть файл

@ -1,6 +1,6 @@
{
"Name": "azure-core-experimental",
"Version": "1.0.0-beta.52",
"Version": "1.0.0-beta.53",
"DevVersion": null,
"DirectoryPath": "sdk/core/azure-core-experimental",
"ServiceDirectory": "core",
@ -10,8 +10,10 @@
"SdkType": "client",
"IsNewSdk": true,
"ArtifactName": "azure-core-experimental",
"ReleaseStatus": "2024-07-31",
"ReleaseStatus": "2024-09-12",
"AdditionalValidationPackages": null,
"Namespaces": [
"com.azure.core.experimental.credential",
"com.azure.core.experimental.http",
"com.azure.core.experimental.models",
"com.azure.core.experimental.serializer",

Просмотреть файл

@ -1,6 +1,6 @@
{
"Name": "azure-core-http-jdk-httpclient",
"Version": "1.0.0-beta.15",
"Version": "1.0.0-beta.16",
"DevVersion": null,
"DirectoryPath": "sdk/core/azure-core-http-jdk-httpclient",
"ServiceDirectory": "core",
@ -10,7 +10,8 @@
"SdkType": "client",
"IsNewSdk": true,
"ArtifactName": "azure-core-http-jdk-httpclient",
"ReleaseStatus": "2024-07-31",
"ReleaseStatus": "2024-09-12",
"AdditionalValidationPackages": null,
"Namespaces": [
"com.azure.core.http.jdk.httpclient"
]

Просмотреть файл

@ -1,6 +1,6 @@
{
"Name": "azure-core-http-vertx",
"Version": "1.0.0-beta.20",
"Version": "1.0.0-beta.21",
"DevVersion": null,
"DirectoryPath": "sdk/core/azure-core-http-vertx",
"ServiceDirectory": "core",
@ -10,7 +10,8 @@
"SdkType": "client",
"IsNewSdk": true,
"ArtifactName": "azure-core-http-vertx",
"ReleaseStatus": "2024-07-31",
"ReleaseStatus": "2024-09-12",
"AdditionalValidationPackages": null,
"Namespaces": [
"com.azure.core.http.vertx"
]

Просмотреть файл

@ -1,6 +1,6 @@
{
"Name": "azure-core-metrics-opentelemetry",
"Version": "1.0.0-beta.21",
"Version": "1.0.0-beta.22",
"DevVersion": null,
"DirectoryPath": "sdk/core/azure-core-metrics-opentelemetry",
"ServiceDirectory": "core",
@ -10,7 +10,8 @@
"SdkType": "client",
"IsNewSdk": true,
"ArtifactName": "azure-core-metrics-opentelemetry",
"ReleaseStatus": "2024-07-31",
"ReleaseStatus": "2024-09-12",
"AdditionalValidationPackages": null,
"Namespaces": [
"com.azure.core.metrics.opentelemetry"
]

Просмотреть файл

@ -1,6 +1,6 @@
{
"Name": "azure-core-serializer-avro-apache",
"Version": "1.0.0-beta.48",
"Version": "1.0.0-beta.49",
"DevVersion": null,
"DirectoryPath": "sdk/core/azure-core-serializer-avro-apache",
"ServiceDirectory": "core",
@ -10,7 +10,8 @@
"SdkType": "client",
"IsNewSdk": true,
"ArtifactName": "azure-core-serializer-avro-apache",
"ReleaseStatus": "2024-07-31",
"ReleaseStatus": "2024-09-12",
"AdditionalValidationPackages": null,
"Namespaces": [
"com.azure.core.serializer.avro.apache"
]

Просмотреть файл

@ -0,0 +1,18 @@
{
"Name": "azure-core-test",
"Version": "1.27.0-beta.1",
"DevVersion": null,
"DirectoryPath": "sdk/core/azure-core-test",
"ServiceDirectory": "core",
"ReadMePath": "sdk/core/azure-core-test/README.md",
"ChangeLogPath": "sdk/core/azure-core-test/CHANGELOG.md",
"Group": "com.azure",
"SdkType": "client",
"IsNewSdk": true,
"ArtifactName": "azure-core-test",
"ReleaseStatus": "2024-09-12",
"AdditionalValidationPackages": null,
"Namespaces": [
"com.azure.core.test"
]
}

Просмотреть файл

@ -1,6 +1,6 @@
{
"Name": "azure-core-tracing-opentelemetry",
"Version": "1.0.0-beta.48",
"Version": "1.0.0-beta.49",
"DevVersion": null,
"DirectoryPath": "sdk/core/azure-core-tracing-opentelemetry",
"ServiceDirectory": "core",
@ -10,7 +10,8 @@
"SdkType": "client",
"IsNewSdk": true,
"ArtifactName": "azure-core-tracing-opentelemetry",
"ReleaseStatus": "2024-07-31",
"ReleaseStatus": "2024-09-12",
"AdditionalValidationPackages": null,
"Namespaces": [
"com.azure.core.tracing.opentelemetry"
]