From f4ec9b0b98e66053c5bf684fe9666d0c539da83b Mon Sep 17 00:00:00 2001 From: Arwin Lashawn <59852102+arwinlashawn@users.noreply.github.com> Date: Tue, 21 Mar 2023 18:51:32 +0800 Subject: [PATCH 01/35] Add sample for write (#32614) Was using this README to do Cosmos DB data migration with Azure Databricks and realized the sample code for write was missing. I think adding this would greatly help anyone learning to use Databricks for Cosmos DB data migration! --- sdk/cosmos/azure-cosmos-spark_3_2-12/docs/quick-start.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sdk/cosmos/azure-cosmos-spark_3_2-12/docs/quick-start.md b/sdk/cosmos/azure-cosmos-spark_3_2-12/docs/quick-start.md index e1a84365dd5b..dac92fea4978 100644 --- a/sdk/cosmos/azure-cosmos-spark_3_2-12/docs/quick-start.md +++ b/sdk/cosmos/azure-cosmos-spark_3_2-12/docs/quick-start.md @@ -147,4 +147,10 @@ df = spark.read.format("cosmos.oltp").options(**cfg)\ df.printSchema() ``` +To write the data in `df` to Cosmos DB, you can use `df.write ...`. Be sure to change the values in `cfg` accordingly first before running this: +```python +df.write.format("cosmos.oltp").mode("append").options(**cfg).save() +``` +Alternatives to "append" mode can be seen [here](https://spark.apache.org/docs/latest/sql-data-sources-load-save-functions.html#save-modes). + For more details related to schema inference, see the full [schema inference configuration](https://aka.ms/azure-cosmos-spark-3-config#schema-inference-config) documentation. From c2b50dbba68da9f3d2a4929e8aa70b8112e5c69b Mon Sep 17 00:00:00 2001 From: Shawn Fang <45607042+mssfang@users.noreply.github.com> Date: Tue, 21 Mar 2023 10:08:37 -0700 Subject: [PATCH 02/35] [TA] Removed dynamic classification (#34129) --- .../azure-ai-textanalytics/CHANGELOG.md | 1 + .../DynamicClassifyUtilClient.java | 133 ---------------- .../TextAnalyticsAsyncClient.java | 137 ---------------- .../ai/textanalytics/TextAnalyticsClient.java | 146 ------------------ ...umentResultCollectionPropertiesHelper.java | 45 ------ .../textanalytics/implementation/Utility.java | 52 ------- ...AnalyzeTextDynamicClassificationInput.java | 71 --------- .../models/AnalyzeTextTask.java | 3 +- .../models/AnalyzeTextTaskKind.java | 3 - .../models/AnalyzeTextTaskResult.java | 3 +- .../models/AnalyzeTextTaskResultsKind.java | 4 - .../DynamicClassificationDocumentResult.java | 63 -------- .../models/DynamicClassificationResult.java | 63 -------- ...amicClassificationResultDocumentsItem.java | 43 ------ .../DynamicClassificationTaskParameters.java | 85 ---------- .../DynamicClassificationTaskResult.java | 45 ------ .../models/DynamicClassifyOptions.java | 81 ---------- ...namicClassifyDocumentResultCollection.java | 75 --------- .../src/samples/README.md | 4 - ...alyticsAsyncClientJavaDocCodeSnippets.java | 61 -------- ...extAnalyticsClientJavaDocCodeSnippets.java | 63 -------- .../com/azure/ai/textanalytics/TestUtils.java | 54 +------ .../TextAnalyticsAsyncClientTest.java | 94 ----------- .../TextAnalyticsClientTest.java | 86 ----------- .../TextAnalyticsClientTestBase.java | 78 ---------- ....dynamicClassificationBatchWarning[1].json | 28 ---- ...amicClassificationDuplicateIdInput[1].json | 26 ---- ...t.dynamicClassificationMaxOverload[1].json | 28 ---- ...t.dynamicClassificationStringInput[1].json | 28 ---- ....dynamicClassificationBatchWarning[1].json | 28 ---- ...amicClassificationDuplicateIdInput[1].json | 26 ---- ...t.dynamicClassificationMaxOverload[1].json | 28 ---- ...t.dynamicClassificationStringInput[1].json | 28 ---- .../azure-ai-textanalytics/swagger/README.md | 4 +- 34 files changed, 7 insertions(+), 1710 deletions(-) delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/DynamicClassifyUtilClient.java delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/DynamicClassifyDocumentResultCollectionPropertiesHelper.java delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/AnalyzeTextDynamicClassificationInput.java delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/DynamicClassificationDocumentResult.java delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/DynamicClassificationResult.java delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/DynamicClassificationResultDocumentsItem.java delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/DynamicClassificationTaskParameters.java delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/DynamicClassificationTaskResult.java delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/DynamicClassifyOptions.java delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/util/DynamicClassifyDocumentResultCollection.java delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.dynamicClassificationBatchWarning[1].json delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.dynamicClassificationDuplicateIdInput[1].json delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.dynamicClassificationMaxOverload[1].json delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.dynamicClassificationStringInput[1].json delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.dynamicClassificationBatchWarning[1].json delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.dynamicClassificationDuplicateIdInput[1].json delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.dynamicClassificationMaxOverload[1].json delete mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.dynamicClassificationStringInput[1].json diff --git a/sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md b/sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md index 10025fbd2595..21aa82b50de1 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md +++ b/sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md @@ -5,6 +5,7 @@ ### Features Added ### Breaking Changes +- Removed `Dynamic Classification` feature, which was introduced in the previous beta release. ### Bugs Fixed diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/DynamicClassifyUtilClient.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/DynamicClassifyUtilClient.java deleted file mode 100644 index 1c78b15d7d00..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/DynamicClassifyUtilClient.java +++ /dev/null @@ -1,133 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.azure.ai.textanalytics; - -import com.azure.ai.textanalytics.implementation.MicrosoftCognitiveLanguageServiceTextAnalysisImpl; -import com.azure.ai.textanalytics.implementation.Utility; -import com.azure.ai.textanalytics.implementation.models.AnalyzeTextDynamicClassificationInput; -import com.azure.ai.textanalytics.implementation.models.ClassificationType; -import com.azure.ai.textanalytics.implementation.models.DynamicClassificationTaskParameters; -import com.azure.ai.textanalytics.implementation.models.ErrorResponseException; -import com.azure.ai.textanalytics.implementation.models.MultiLanguageAnalysisInput; -import com.azure.ai.textanalytics.models.DynamicClassifyOptions; -import com.azure.ai.textanalytics.models.TextDocumentInput; -import com.azure.ai.textanalytics.util.DynamicClassifyDocumentResultCollection; -import com.azure.core.http.rest.Response; -import com.azure.core.util.Context; -import com.azure.core.util.IterableStream; -import com.azure.core.util.logging.ClientLogger; -import reactor.core.publisher.Mono; - -import java.util.Arrays; -import java.util.stream.Collectors; - -import static com.azure.ai.textanalytics.implementation.Utility.enableSyncRestProxy; -import static com.azure.ai.textanalytics.implementation.Utility.getDocumentCount; -import static com.azure.ai.textanalytics.implementation.Utility.getHttpResponseException; -import static com.azure.ai.textanalytics.implementation.Utility.getNotNullContext; -import static com.azure.ai.textanalytics.implementation.Utility.getUnsupportedServiceApiVersionMessage; -import static com.azure.ai.textanalytics.implementation.Utility.inputDocumentsValidation; -import static com.azure.ai.textanalytics.implementation.Utility.throwIfTargetServiceVersionFound; -import static com.azure.ai.textanalytics.implementation.Utility.toDynamicClassifyDocumentResultCollectionResponse; -import static com.azure.ai.textanalytics.implementation.Utility.toMultiLanguageInput; -import static com.azure.core.util.FluxUtil.monoError; -import static com.azure.core.util.FluxUtil.withContext; - -/** - * Helper class for managing dynamic classification endpoints. - */ -class DynamicClassifyUtilClient { - private static final ClientLogger LOGGER = new ClientLogger(DynamicClassifyUtilClient.class); - private final MicrosoftCognitiveLanguageServiceTextAnalysisImpl service; - - private final TextAnalyticsServiceVersion serviceVersion; - - DynamicClassifyUtilClient(MicrosoftCognitiveLanguageServiceTextAnalysisImpl service, - TextAnalyticsServiceVersion serviceVersion) { - this.service = service; - this.serviceVersion = serviceVersion; - } - - Mono> dynamicClassifyBatch( - Iterable documents, Iterable categories, DynamicClassifyOptions options) { - try { - return withContext(context -> getDynamicClassifyDocumentResultCollectionResponse( - documents, categories, options, context)); - } catch (RuntimeException ex) { - return monoError(LOGGER, ex); - } - } - - Mono> getDynamicClassifyDocumentResultCollectionResponse( - Iterable documents, Iterable categories, DynamicClassifyOptions options, - Context context) { - throwIfTargetServiceVersionFound(this.serviceVersion, - Arrays.asList(TextAnalyticsServiceVersion.V3_0, TextAnalyticsServiceVersion.V3_1, - TextAnalyticsServiceVersion.V2022_05_01), - getUnsupportedServiceApiVersionMessage("Dynamic Classification", serviceVersion, - TextAnalyticsServiceVersion.V2022_10_01_PREVIEW)); - inputDocumentsValidation(documents); - options = getNotNullDynamicClassificationOptions(options); - - final com.azure.ai.textanalytics.models.ClassificationType finalClassificationType = - options.getClassificationType(); - - return service.analyzeTextWithResponseAsync( - new AnalyzeTextDynamicClassificationInput() - .setParameters( - new DynamicClassificationTaskParameters() - .setCategories(IterableStream.of(categories).stream().collect(Collectors.toList())) - .setClassificationType(finalClassificationType == null ? null - : ClassificationType.fromString(finalClassificationType.toString())) - .setModelVersion(options.getModelVersion()) - .setLoggingOptOut(options.isServiceLogsDisabled())) - .setAnalysisInput(new MultiLanguageAnalysisInput().setDocuments(toMultiLanguageInput(documents))), - options.isIncludeStatistics(), - getNotNullContext(context)) - - .doOnSubscribe(ignoredValue -> - LOGGER.info("A batch of documents with count - {}", getDocumentCount(documents))) - .doOnSuccess(response -> - LOGGER.info("Analyze dynamic classification for a batch of documents - {}", response)) - .doOnError(error -> LOGGER.warning("Failed to analyze dynamic classification - {}", error)) - .map(Utility::toDynamicClassifyDocumentResultCollectionResponse) - .onErrorMap(Utility::mapToHttpResponseExceptionIfExists); - } - - Response getResultCollectionResponseSync( - Iterable documents, Iterable categories, DynamicClassifyOptions options, - Context context) { - throwIfTargetServiceVersionFound(this.serviceVersion, - Arrays.asList(TextAnalyticsServiceVersion.V3_0, TextAnalyticsServiceVersion.V3_1, - TextAnalyticsServiceVersion.V2022_05_01), - getUnsupportedServiceApiVersionMessage("Dynamic Classification", serviceVersion, - TextAnalyticsServiceVersion.V2022_10_01_PREVIEW)); - inputDocumentsValidation(documents); - options = getNotNullDynamicClassificationOptions(options); - - final com.azure.ai.textanalytics.models.ClassificationType finalClassificationType = - options.getClassificationType(); - try { - return toDynamicClassifyDocumentResultCollectionResponse(service.analyzeTextWithResponse( - new AnalyzeTextDynamicClassificationInput() - .setParameters( - new DynamicClassificationTaskParameters() - .setCategories(IterableStream.of(categories).stream().collect(Collectors.toList())) - .setClassificationType(finalClassificationType == null ? null - : ClassificationType.fromString(finalClassificationType.toString())) - .setModelVersion(options.getModelVersion()) - .setLoggingOptOut(options.isServiceLogsDisabled())) - .setAnalysisInput(new MultiLanguageAnalysisInput().setDocuments(toMultiLanguageInput(documents))), - options.isIncludeStatistics(), - enableSyncRestProxy(getNotNullContext(context)))); - } catch (ErrorResponseException ex) { - throw LOGGER.logExceptionAsError(getHttpResponseException(ex)); - } - } - - private DynamicClassifyOptions getNotNullDynamicClassificationOptions( - DynamicClassifyOptions options) { - return options == null ? new DynamicClassifyOptions() : options; - } -} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClient.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClient.java index a85451621780..9c4f3bd9b310 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClient.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClient.java @@ -21,7 +21,6 @@ import com.azure.ai.textanalytics.models.DetectLanguageResult; import com.azure.ai.textanalytics.models.DetectedLanguage; import com.azure.ai.textanalytics.models.DocumentSentiment; -import com.azure.ai.textanalytics.models.DynamicClassifyOptions; import com.azure.ai.textanalytics.models.ExtractSummaryOperationDetail; import com.azure.ai.textanalytics.models.ExtractSummaryOptions; import com.azure.ai.textanalytics.models.KeyPhrasesCollection; @@ -49,7 +48,6 @@ import com.azure.ai.textanalytics.util.ClassifyDocumentPagedFlux; import com.azure.ai.textanalytics.util.ClassifyDocumentResultCollection; import com.azure.ai.textanalytics.util.DetectLanguageResultCollection; -import com.azure.ai.textanalytics.util.DynamicClassifyDocumentResultCollection; import com.azure.ai.textanalytics.util.ExtractKeyPhrasesResultCollection; import com.azure.ai.textanalytics.util.ExtractSummaryPagedFlux; import com.azure.ai.textanalytics.util.ExtractSummaryResultCollection; @@ -117,7 +115,6 @@ public final class TextAnalyticsAsyncClient { final LabelClassifyUtilClient labelClassifyUtilClient; final AnalyzeHealthcareEntityUtilClient analyzeHealthcareEntityUtilClient; final AnalyzeActionsUtilClient analyzeActionsUtilClient; - final DynamicClassifyUtilClient dynamicClassifyUtilClient; final AbstractSummaryUtilClient abstractSummaryUtilClient; final ExtractSummaryUtilClient extractSummaryUtilClient; @@ -147,7 +144,6 @@ public final class TextAnalyticsAsyncClient { this.analyzeHealthcareEntityUtilClient = new AnalyzeHealthcareEntityUtilClient(legacyService, serviceVersion); this.analyzeActionsUtilClient = new AnalyzeActionsUtilClient(legacyService, serviceVersion); this.labelClassifyUtilClient = new LabelClassifyUtilClient(null, serviceVersion); - this.dynamicClassifyUtilClient = new DynamicClassifyUtilClient(null, serviceVersion); this.abstractSummaryUtilClient = new AbstractSummaryUtilClient(null, serviceVersion); this.extractSummaryUtilClient = new ExtractSummaryUtilClient(null, serviceVersion); } @@ -171,7 +167,6 @@ public final class TextAnalyticsAsyncClient { serviceVersion); this.analyzeActionsUtilClient = new AnalyzeActionsUtilClient(new AnalyzeTextsImpl(service), serviceVersion); this.labelClassifyUtilClient = new LabelClassifyUtilClient(new AnalyzeTextsImpl(service), serviceVersion); - this.dynamicClassifyUtilClient = new DynamicClassifyUtilClient(service, serviceVersion); this.abstractSummaryUtilClient = new AbstractSummaryUtilClient(new AnalyzeTextsImpl(service), serviceVersion); this.extractSummaryUtilClient = new ExtractSummaryUtilClient(new AnalyzeTextsImpl(service), serviceVersion); } @@ -1706,138 +1701,6 @@ public Mono> analyzeSentimentBatchWit return analyzeSentimentUtilClient.analyzeSentimentBatch(documents, options); } - /** - * Perform dynamic classification on a batch of documents. On the fly classification of the input documents into - * one or multiple categories. Assigns either one or multiple categories per document. This type of classification - * doesn't require model training. See https://aka.ms/azsdk/textanalytics/data-limits for service data limits. - * - *

Code Sample

- *

Dynamic classification of each document in a list of {@link String document} with provided - * {@link DynamicClassifyOptions} options. Subscribes to the call asynchronously and prints out the - * dynamic classification details when a response is received.

- * - * - *
-     * List<String> documents = new ArrayList<>();
-     * documents.add("The WHO is issuing a warning about Monkey Pox.");
-     * documents.add("Mo Salah plays in Liverpool FC in England.");
-     * DynamicClassifyOptions options = new DynamicClassifyOptions();
-     * textAnalyticsAsyncClient.dynamicClassifyBatch(documents,
-     *     Arrays.asList("Health", "Politics", "Music", "Sport"), "en", options)
-     *     .subscribe(
-     *         resultCollection -> resultCollection.forEach(documentResult -> {
-     *             System.out.println("Document ID: " + documentResult.getId());
-     *             for (ClassificationCategory classification : documentResult.getClassifications()) {
-     *                 System.out.printf("\tCategory: %s, confidence score: %f.%n",
-     *                     classification.getCategory(), classification.getConfidenceScore());
-     *             }
-     *         }),
-     *         error -> System.err.println("There was an error analyzing dynamic classification of the documents. " + error),
-     *         () -> System.out.println("End of analyzing dynamic classification."));
-     * 
- * - * - * @param documents A list of documents to be analyzed. - * For text length limits, maximum batch size, and supported text encoding, see - * data limits. - * @param categories A list of categories to which input is classified to. This parameter can not be empty and at - * least has two categories assigned. - * @param language The 2 letter ISO 639-1 representation of language for the document. If not set, uses "en" for - * English as default. - * @param options The additional configurable {@link DynamicClassifyOptions options} that may be passed when - * analyzing dynamic classification. - * - * @return A {@link Mono} that contains a {@link DynamicClassifyDocumentResultCollection}. - * - * @throws NullPointerException if {@code documents} is null. - * @throws IllegalArgumentException if {@code documents} is empty. - * @throws UnsupportedOperationException if {@code dynamicClassifyBatch} is called with - * service API version {@link TextAnalyticsServiceVersion#V3_0}, {@link TextAnalyticsServiceVersion#V3_1}, - * or {@link TextAnalyticsServiceVersion#V2022_05_01}. Those actions are only available for API version - * 2022-10-01-preview and newer. - * @throws TextAnalyticsException If analyze operation fails. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono dynamicClassifyBatch( - Iterable documents, Iterable categories, String language, DynamicClassifyOptions options) { - try { - return dynamicClassifyBatchWithResponse( - mapByIndex(documents, (index, value) -> { - final TextDocumentInput textDocumentInput = new TextDocumentInput(index, value); - textDocumentInput.setLanguage(language); - return textDocumentInput; - }), categories, options).flatMap(FluxUtil::toMono); - } catch (RuntimeException ex) { - return monoError(logger, ex); - } - } - - /** - * Perform dynamic classification on a batch of documents. On the fly classification of the input documents into - * one or multiple categories. Assigns either one or multiple categories per document. This type of classification - * doesn't require model training. See https://aka.ms/azsdk/textanalytics/data-limits for service data limits. - * - *

Code Sample

- *

Dynamic classification of each document in a list of {@link TextDocumentInput document} with provided - * {@link DynamicClassifyOptions} options. Subscribes to the call asynchronously and prints out the - * dynamic classification details when a response is received.

- * - * - *
-     * List<TextDocumentInput> documents = new ArrayList<>();
-     * documents.add(new TextDocumentInput("1", "The WHO is issuing a warning about Monkey Pox."));
-     * documents.add(new TextDocumentInput("2", "Mo Salah plays in Liverpool FC in England."));
-     * DynamicClassifyOptions options = new DynamicClassifyOptions();
-     * textAnalyticsAsyncClient.dynamicClassifyBatchWithResponse(documents,
-     *     Arrays.asList("Health", "Politics", "Music", "Sport"), options)
-     *     .subscribe(
-     *         response -> {
-     *             // Response's status code
-     *             System.out.printf("Status code of request response: %d%n", response.getStatusCode());
-     *             DynamicClassifyDocumentResultCollection resultCollection = response.getValue();
-     *             // Batch statistics
-     *             TextDocumentBatchStatistics batchStatistics = resultCollection.getStatistics();
-     *             System.out.printf("Batch statistics, transaction count: %s, valid document count: %s.%n",
-     *                 batchStatistics.getTransactionCount(), batchStatistics.getValidDocumentCount());
-     *             resultCollection.forEach(documentResult -> {
-     *                 System.out.println("Document ID: " + documentResult.getId());
-     *                 for (ClassificationCategory classification : documentResult.getClassifications()) {
-     *                     System.out.printf("\tCategory: %s, confidence score: %f.%n",
-     *                         classification.getCategory(), classification.getConfidenceScore());
-     *                 }
-     *             });
-     *         },
-     *         error -> System.err.println(
-     *             "There was an error analyzing dynamic classification of the documents. " + error),
-     *         () -> System.out.println("End of analyzing dynamic classification."));
-     * 
- * - * - * @param documents A list of documents to be analyzed. - * For text length limits, maximum batch size, and supported text encoding, see - * data limits. - * @param categories A list of categories to which input is classified to. This parameter can not be empty and at - * least has two categories assigned. - * @param options The additional configurable {@link DynamicClassifyOptions options} that may be passed when - * analyzing dynamic classification. - * - * @return A {@link Mono} contains a {@link Response} that contains a - * {@link DynamicClassifyDocumentResultCollection}. - * - * @throws NullPointerException if {@code documents} is null. - * @throws IllegalArgumentException if {@code documents} is empty. - * @throws UnsupportedOperationException if {@code dynamicClassifyBatchWithResponse} is called with - * service API version {@link TextAnalyticsServiceVersion#V3_0}, {@link TextAnalyticsServiceVersion#V3_1}, - * or {@link TextAnalyticsServiceVersion#V2022_05_01}. Those actions are only available for API version - * 2022-10-01-preview and newer. - * @throws TextAnalyticsException If analyze operation fails. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> dynamicClassifyBatchWithResponse( - Iterable documents, Iterable categories, DynamicClassifyOptions options) { - return dynamicClassifyUtilClient.dynamicClassifyBatch(documents, categories, options); - } - /** * Analyze healthcare entities, entity data sources, and entity relations in a list of {@link String documents}. * diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/TextAnalyticsClient.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/TextAnalyticsClient.java index 9ae2c34db8ea..82e5fc35cfa6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/TextAnalyticsClient.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/TextAnalyticsClient.java @@ -19,7 +19,6 @@ import com.azure.ai.textanalytics.models.DetectLanguageResult; import com.azure.ai.textanalytics.models.DetectedLanguage; import com.azure.ai.textanalytics.models.DocumentSentiment; -import com.azure.ai.textanalytics.models.DynamicClassifyOptions; import com.azure.ai.textanalytics.models.ExtractKeyPhraseResult; import com.azure.ai.textanalytics.models.ExtractSummaryOperationDetail; import com.azure.ai.textanalytics.models.ExtractSummaryOptions; @@ -52,7 +51,6 @@ import com.azure.ai.textanalytics.util.ClassifyDocumentPagedIterable; import com.azure.ai.textanalytics.util.ClassifyDocumentResultCollection; import com.azure.ai.textanalytics.util.DetectLanguageResultCollection; -import com.azure.ai.textanalytics.util.DynamicClassifyDocumentResultCollection; import com.azure.ai.textanalytics.util.ExtractKeyPhrasesResultCollection; import com.azure.ai.textanalytics.util.ExtractSummaryPagedIterable; import com.azure.ai.textanalytics.util.ExtractSummaryResultCollection; @@ -1696,150 +1694,6 @@ public Response analyzeSentimentBatchWithRespo return client.analyzeSentimentUtilClient.getAnalyzedSentimentResponseSync(documents, options, context); } - /** - * Perform dynamic classification on a batch of documents. On the fly classification of the input documents into - * one or multiple categories. Assigns either one or multiple categories per document. This type of classification - * doesn't require model training. See https://aka.ms/azsdk/textanalytics/data-limits for service data limits. - * - *

Code Sample

- *

Dynamic classification of each document in a list of {@link String document} with provided - * {@link DynamicClassifyOptions} options. - * - * - *

-     * List<String> documents = new ArrayList<>();
-     * documents.add("The WHO is issuing a warning about Monkey Pox.");
-     * documents.add("Mo Salah plays in Liverpool FC in England.");
-     * DynamicClassifyOptions options = new DynamicClassifyOptions();
-     *
-     * // Analyzing dynamic classification
-     * DynamicClassifyDocumentResultCollection resultCollection = textAnalyticsClient.dynamicClassifyBatch(
-     *     documents, Arrays.asList("Health", "Politics", "Music", "Sport"), "en", options);
-     *
-     * // Result of dynamic classification
-     * resultCollection.forEach(documentResult -> {
-     *     System.out.println("Document ID: " + documentResult.getId());
-     *     for (ClassificationCategory classification : documentResult.getClassifications()) {
-     *         System.out.printf("\tCategory: %s, confidence score: %f.%n",
-     *             classification.getCategory(), classification.getConfidenceScore());
-     *     }
-     * });
-     * 
- * - * - * @param documents A list of documents to be analyzed. - * For text length limits, maximum batch size, and supported text encoding, see - * data limits. - * @param categories A list of categories to which input is classified to. This parameter can not be empty and at - * least has two categories assigned. - * @param language The 2 letter ISO 639-1 representation of language for the documents. If not set, uses "en" for - * English as default. - * @param options The additional configurable {@link DynamicClassifyOptions options} that may be passed when - * analyzing dynamic classification. - * - * @return A {@link DynamicClassifyDocumentResultCollection}. - * - * @throws NullPointerException if {@code documents} is null. - * @throws IllegalArgumentException if {@code documents} is empty. - * @throws UnsupportedOperationException if {@code dynamicClassifyBatch} is called with - * service API version {@link TextAnalyticsServiceVersion#V3_0}, {@link TextAnalyticsServiceVersion#V3_1}, - * or {@link TextAnalyticsServiceVersion#V2022_05_01}. Those actions are only available for API version - * 2022-10-01-preview and newer. - * @throws TextAnalyticsException If analyze operation fails. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public DynamicClassifyDocumentResultCollection dynamicClassifyBatch(Iterable documents, - Iterable categories, String language, DynamicClassifyOptions options) { - return dynamicClassifyBatchWithResponse( - mapByIndex(documents, (index, value) -> { - final TextDocumentInput textDocumentInput = new TextDocumentInput(index, value); - textDocumentInput.setLanguage(language); - return textDocumentInput; - }), categories, options, Context.NONE).getValue(); - } - - /** - * Perform dynamic classification on a batch of documents. On the fly classification of the input documents into - * one or multiple categories. Assigns either one or multiple categories per document. This type of classification - * doesn't require model training. See https://aka.ms/azsdk/textanalytics/data-limits for service data limits. - * - *

Code Sample

- *

Dynamic classification of each document in a list of {@link TextDocumentInput document} with provided - * {@link DynamicClassifyOptions} options. - * - * - *

-     * List<TextDocumentInput> textDocumentInputs = Arrays.asList(
-     *     new TextDocumentInput("1", "The hotel was dark and unclean. The restaurant had amazing gnocchi.")
-     *         .setLanguage("en"),
-     *     new TextDocumentInput("2", "The restaurant had amazing gnocchi. The hotel was dark and unclean.")
-     *         .setLanguage("en")
-     * );
-     *
-     * AnalyzeSentimentOptions options = new AnalyzeSentimentOptions().setIncludeOpinionMining(true)
-     *     .setIncludeStatistics(true);
-     *
-     * // Analyzing batch sentiments
-     * Response<AnalyzeSentimentResultCollection> response =
-     *     textAnalyticsClient.analyzeSentimentBatchWithResponse(textDocumentInputs, options, Context.NONE);
-     *
-     * // Response's status code
-     * System.out.printf("Status code of request response: %d%n", response.getStatusCode());
-     * AnalyzeSentimentResultCollection resultCollection = response.getValue();
-     *
-     * // Batch statistics
-     * TextDocumentBatchStatistics batchStatistics = resultCollection.getStatistics();
-     * System.out.printf("A batch of documents statistics, transaction count: %s, valid document count: %s.%n",
-     *     batchStatistics.getTransactionCount(), batchStatistics.getValidDocumentCount());
-     *
-     * // Analyzed sentiment for each of documents from a batch of documents
-     * resultCollection.forEach(analyzeSentimentResult -> {
-     *     System.out.printf("Document ID: %s%n", analyzeSentimentResult.getId());
-     *     DocumentSentiment documentSentiment = analyzeSentimentResult.getDocumentSentiment();
-     *     documentSentiment.getSentences().forEach(sentenceSentiment -> {
-     *         System.out.printf("\tSentence sentiment: %s%n", sentenceSentiment.getSentiment());
-     *         sentenceSentiment.getOpinions().forEach(opinion -> {
-     *             TargetSentiment targetSentiment = opinion.getTarget();
-     *             System.out.printf("\tTarget sentiment: %s, target text: %s%n", targetSentiment.getSentiment(),
-     *                 targetSentiment.getText());
-     *             for (AssessmentSentiment assessmentSentiment : opinion.getAssessments()) {
-     *                 System.out.printf("\t\t'%s' sentiment because of \"%s\". Is the assessment negated: %s.%n",
-     *                     assessmentSentiment.getSentiment(), assessmentSentiment.getText(),
-     *                     assessmentSentiment.isNegated());
-     *             }
-     *         });
-     *     });
-     * });
-     * 
- * - * - * @param documents A list of {@link TextDocumentInput documents} to be analyzed. - * For text length limits, maximum batch size, and supported text encoding, see - * data limits. - * @param categories A list of categories to which input is classified to. This parameter can not be empty and at - * least has two categories assigned. - * @param options The additional configurable {@link DynamicClassifyOptions options} that may be passed when - * analyzing dynamic classification. - * @param context Additional context that is passed through the Http pipeline during the service call. - * - * @return A {@link Response} that contains a {@link DynamicClassifyDocumentResultCollection}. - * - * @throws NullPointerException if {@code documents} is null. - * @throws IllegalArgumentException if {@code documents} is empty. - * @throws UnsupportedOperationException if {@code dynamicClassificationBatchWithResponse} is called with - * service API version {@link TextAnalyticsServiceVersion#V3_0}, {@link TextAnalyticsServiceVersion#V3_1}, - * or {@link TextAnalyticsServiceVersion#V2022_05_01}. Those actions are only available for API version - * 2022-10-01-preview and newer. - * @throws TextAnalyticsException If analyze operation fails. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response dynamicClassifyBatchWithResponse( - Iterable documents, Iterable categories, DynamicClassifyOptions options, - Context context) { - return client.dynamicClassifyUtilClient.getResultCollectionResponseSync( - documents, categories, options, context); - } - /** * Analyze healthcare entities, entity data sources, and entity relations in a list of {@link String documents}. * diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/DynamicClassifyDocumentResultCollectionPropertiesHelper.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/DynamicClassifyDocumentResultCollectionPropertiesHelper.java deleted file mode 100644 index 39cf37a97d56..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/DynamicClassifyDocumentResultCollectionPropertiesHelper.java +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.azure.ai.textanalytics.implementation; - -import com.azure.ai.textanalytics.util.DynamicClassifyDocumentResultCollection; -import com.azure.ai.textanalytics.models.TextDocumentBatchStatistics; - -/** - * The helper class to set the non-public properties of an {@link DynamicClassifyDocumentResultCollection} instance. - */ -public final class DynamicClassifyDocumentResultCollectionPropertiesHelper { - private static DynamicClassifyDocumentResultCollectionAccessor accessor; - - private DynamicClassifyDocumentResultCollectionPropertiesHelper() { } - - /** - * Type defining the methods to set the non-public properties of an {@link DynamicClassifyDocumentResultCollection} - * instance. - */ - public interface DynamicClassifyDocumentResultCollectionAccessor { - void setModelVersion(DynamicClassifyDocumentResultCollection resultCollection, String modelVersion); - void setStatistics(DynamicClassifyDocumentResultCollection resultCollection, - TextDocumentBatchStatistics statistics); - } - - /** - * The method called from {@link DynamicClassifyDocumentResultCollection} to set it's accessor. - * - * @param classifyDocumentResultCollectionAccessor The accessor. - */ - public static void setAccessor( - final DynamicClassifyDocumentResultCollectionAccessor classifyDocumentResultCollectionAccessor) { - accessor = classifyDocumentResultCollectionAccessor; - } - - public static void setModelVersion(DynamicClassifyDocumentResultCollection resultCollection, String modelVersion) { - accessor.setModelVersion(resultCollection, modelVersion); - } - - public static void setStatistics(DynamicClassifyDocumentResultCollection resultCollection, - TextDocumentBatchStatistics statistics) { - accessor.setStatistics(resultCollection, statistics); - } -} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/Utility.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/Utility.java index 7ee0a10cdaff..95e7916b0139 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/Utility.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/Utility.java @@ -27,9 +27,6 @@ import com.azure.ai.textanalytics.implementation.models.DocumentSentimentValue; import com.azure.ai.textanalytics.implementation.models.DocumentStatistics; import com.azure.ai.textanalytics.implementation.models.DocumentWarning; -import com.azure.ai.textanalytics.implementation.models.DynamicClassificationResult; -import com.azure.ai.textanalytics.implementation.models.DynamicClassificationResultDocumentsItem; -import com.azure.ai.textanalytics.implementation.models.DynamicClassificationTaskResult; import com.azure.ai.textanalytics.implementation.models.EntitiesResult; import com.azure.ai.textanalytics.implementation.models.EntitiesResultWithDetectedLanguage; import com.azure.ai.textanalytics.implementation.models.EntitiesTaskResult; @@ -151,7 +148,6 @@ import com.azure.ai.textanalytics.util.AnalyzeSentimentResultCollection; import com.azure.ai.textanalytics.util.ClassifyDocumentResultCollection; import com.azure.ai.textanalytics.util.DetectLanguageResultCollection; -import com.azure.ai.textanalytics.util.DynamicClassifyDocumentResultCollection; import com.azure.ai.textanalytics.util.ExtractKeyPhrasesResultCollection; import com.azure.ai.textanalytics.util.ExtractSummaryResultCollection; import com.azure.ai.textanalytics.util.RecognizeCustomEntitiesResultCollection; @@ -437,13 +433,6 @@ public static Response toAnalyzeSentimentResul toAnalyzeSentimentResultCollection(((SentimentTaskResult) response.getValue()).getResults())); } - public static Response toDynamicClassifyDocumentResultCollectionResponse( - Response response) { - return new SimpleResponse<>(response, - toDynamicClassificationResultCollection( - ((DynamicClassificationTaskResult) response.getValue()).getResults())); - } - // Detect Language public static Response toDetectLanguageResultCollectionLegacyApi( Response response) { @@ -586,47 +575,6 @@ public static Response toResultCollectionResp : toBatchStatistics(keyPhraseResult.getStatistics()))); } - // Dynamic Classification - public static DynamicClassifyDocumentResultCollection toDynamicClassificationResultCollection( - DynamicClassificationResult classificationResult) { - List dynamicClassificationResults = new ArrayList<>(); - - // A list of document results - for (DynamicClassificationResultDocumentsItem documentItem: classificationResult.getDocuments()) { - dynamicClassificationResults.add(toDynamicClassificationResult(documentItem)); - } - // Document errors - for (InputError documentError : classificationResult.getErrors()) { - dynamicClassificationResults.add(new ClassifyDocumentResult(documentError.getId(), null, - toTextAnalyticsError(documentError.getError()))); - } - - DynamicClassifyDocumentResultCollection resultCollection = - new DynamicClassifyDocumentResultCollection(dynamicClassificationResults); - DynamicClassifyDocumentResultCollectionPropertiesHelper.setStatistics(resultCollection, - toBatchStatistics(classificationResult.getStatistics())); - DynamicClassifyDocumentResultCollectionPropertiesHelper.setModelVersion(resultCollection, - classificationResult.getModelVersion()); - - return resultCollection; - } - - public static ClassifyDocumentResult toDynamicClassificationResult( - DynamicClassificationResultDocumentsItem documentItem) { - ClassifyDocumentResult classifyDocumentResult = new ClassifyDocumentResult( - documentItem.getId(), - documentItem.getStatistics() == null ? null - : toTextDocumentStatistics(documentItem.getStatistics()), - null); - ClassifyDocumentResultPropertiesHelper.setClassifications(classifyDocumentResult, - new IterableStream<>(toDocumentClassifications(documentItem.getClassifications()))); - ClassifyDocumentResultPropertiesHelper.setWarnings(classifyDocumentResult, - new IterableStream<>(documentItem.getWarnings().stream().map( - warning -> toTextAnalyticsWarning(warning)).collect(Collectors.toList()))); - return classifyDocumentResult; - } - - // Named Entities Recognition public static RecognizeEntitiesResultCollection toRecognizeEntitiesResultCollection( final EntitiesResult entitiesResult) { diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/AnalyzeTextDynamicClassificationInput.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/AnalyzeTextDynamicClassificationInput.java deleted file mode 100644 index 5344518e5a84..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/AnalyzeTextDynamicClassificationInput.java +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. - -package com.azure.ai.textanalytics.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonTypeInfo; -import com.fasterxml.jackson.annotation.JsonTypeName; - -/** The AnalyzeTextDynamicClassificationInput model. */ -@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "kind") -@JsonTypeName("DynamicClassification") -@Fluent -public final class AnalyzeTextDynamicClassificationInput extends AnalyzeTextTask { - /* - * The analysisInput property. - */ - @JsonProperty(value = "analysisInput") - private MultiLanguageAnalysisInput analysisInput; - - /* - * Supported parameters for a Zero Shot Classification task. - */ - @JsonProperty(value = "parameters") - private DynamicClassificationTaskParameters parameters; - - /** Creates an instance of AnalyzeTextDynamicClassificationInput class. */ - public AnalyzeTextDynamicClassificationInput() {} - - /** - * Get the analysisInput property: The analysisInput property. - * - * @return the analysisInput value. - */ - public MultiLanguageAnalysisInput getAnalysisInput() { - return this.analysisInput; - } - - /** - * Set the analysisInput property: The analysisInput property. - * - * @param analysisInput the analysisInput value to set. - * @return the AnalyzeTextDynamicClassificationInput object itself. - */ - public AnalyzeTextDynamicClassificationInput setAnalysisInput(MultiLanguageAnalysisInput analysisInput) { - this.analysisInput = analysisInput; - return this; - } - - /** - * Get the parameters property: Supported parameters for a Zero Shot Classification task. - * - * @return the parameters value. - */ - public DynamicClassificationTaskParameters getParameters() { - return this.parameters; - } - - /** - * Set the parameters property: Supported parameters for a Zero Shot Classification task. - * - * @param parameters the parameters value to set. - * @return the AnalyzeTextDynamicClassificationInput object itself. - */ - public AnalyzeTextDynamicClassificationInput setParameters(DynamicClassificationTaskParameters parameters) { - this.parameters = parameters; - return this; - } -} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/AnalyzeTextTask.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/AnalyzeTextTask.java index cc700bb685b7..3fadf5752cea 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/AnalyzeTextTask.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/AnalyzeTextTask.java @@ -22,8 +22,7 @@ @JsonSubTypes.Type(name = "KeyPhraseExtraction", value = AnalyzeTextKeyPhraseExtractionInput.class), @JsonSubTypes.Type(name = "PiiEntityRecognition", value = AnalyzeTextPiiEntitiesRecognitionInput.class), @JsonSubTypes.Type(name = "LanguageDetection", value = AnalyzeTextLanguageDetectionInput.class), - @JsonSubTypes.Type(name = "SentimentAnalysis", value = AnalyzeTextSentimentAnalysisInput.class), - @JsonSubTypes.Type(name = "DynamicClassification", value = AnalyzeTextDynamicClassificationInput.class) + @JsonSubTypes.Type(name = "SentimentAnalysis", value = AnalyzeTextSentimentAnalysisInput.class) }) @Immutable public class AnalyzeTextTask { diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/AnalyzeTextTaskKind.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/AnalyzeTextTaskKind.java index 538da1cbf288..90c3e37ea7c0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/AnalyzeTextTaskKind.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/AnalyzeTextTaskKind.java @@ -28,9 +28,6 @@ public final class AnalyzeTextTaskKind extends ExpandableStringEnum classifications; - - /** Creates an instance of DynamicClassificationDocumentResult class. */ - public DynamicClassificationDocumentResult() {} - - /** - * Get the classifications property: The classifications property. - * - * @return the classifications value. - */ - public List getClassifications() { - return this.classifications; - } - - /** - * Set the classifications property: The classifications property. - * - * @param classifications the classifications value to set. - * @return the DynamicClassificationDocumentResult object itself. - */ - public DynamicClassificationDocumentResult setClassifications(List classifications) { - this.classifications = classifications; - return this; - } - - /** {@inheritDoc} */ - @Override - public DynamicClassificationDocumentResult setId(String id) { - super.setId(id); - return this; - } - - /** {@inheritDoc} */ - @Override - public DynamicClassificationDocumentResult setWarnings(List warnings) { - super.setWarnings(warnings); - return this; - } - - /** {@inheritDoc} */ - @Override - public DynamicClassificationDocumentResult setStatistics(DocumentStatistics statistics) { - super.setStatistics(statistics); - return this; - } -} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/DynamicClassificationResult.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/DynamicClassificationResult.java deleted file mode 100644 index 42915aa27a91..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/DynamicClassificationResult.java +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. - -package com.azure.ai.textanalytics.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.fasterxml.jackson.annotation.JsonProperty; -import java.util.List; - -/** The DynamicClassificationResult model. */ -@Fluent -public final class DynamicClassificationResult extends PreBuiltResult { - /* - * Response by document - */ - @JsonProperty(value = "documents", required = true) - private List documents; - - /** Creates an instance of DynamicClassificationResult class. */ - public DynamicClassificationResult() {} - - /** - * Get the documents property: Response by document. - * - * @return the documents value. - */ - public List getDocuments() { - return this.documents; - } - - /** - * Set the documents property: Response by document. - * - * @param documents the documents value to set. - * @return the DynamicClassificationResult object itself. - */ - public DynamicClassificationResult setDocuments(List documents) { - this.documents = documents; - return this; - } - - /** {@inheritDoc} */ - @Override - public DynamicClassificationResult setErrors(List errors) { - super.setErrors(errors); - return this; - } - - /** {@inheritDoc} */ - @Override - public DynamicClassificationResult setStatistics(RequestStatistics statistics) { - super.setStatistics(statistics); - return this; - } - - /** {@inheritDoc} */ - @Override - public DynamicClassificationResult setModelVersion(String modelVersion) { - super.setModelVersion(modelVersion); - return this; - } -} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/DynamicClassificationResultDocumentsItem.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/DynamicClassificationResultDocumentsItem.java deleted file mode 100644 index 0a6093c21846..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/DynamicClassificationResultDocumentsItem.java +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. - -package com.azure.ai.textanalytics.implementation.models; - -import com.azure.core.annotation.Fluent; -import java.util.List; - -/** The DynamicClassificationResultDocumentsItem model. */ -@Fluent -public final class DynamicClassificationResultDocumentsItem extends DynamicClassificationDocumentResult { - /** Creates an instance of DynamicClassificationResultDocumentsItem class. */ - public DynamicClassificationResultDocumentsItem() {} - - /** {@inheritDoc} */ - @Override - public DynamicClassificationResultDocumentsItem setClassifications(List classifications) { - super.setClassifications(classifications); - return this; - } - - /** {@inheritDoc} */ - @Override - public DynamicClassificationResultDocumentsItem setId(String id) { - super.setId(id); - return this; - } - - /** {@inheritDoc} */ - @Override - public DynamicClassificationResultDocumentsItem setWarnings(List warnings) { - super.setWarnings(warnings); - return this; - } - - /** {@inheritDoc} */ - @Override - public DynamicClassificationResultDocumentsItem setStatistics(DocumentStatistics statistics) { - super.setStatistics(statistics); - return this; - } -} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/DynamicClassificationTaskParameters.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/DynamicClassificationTaskParameters.java deleted file mode 100644 index e7a0819321aa..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/DynamicClassificationTaskParameters.java +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. - -package com.azure.ai.textanalytics.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.fasterxml.jackson.annotation.JsonProperty; -import java.util.List; - -/** Supported parameters for a Zero Shot Classification task. */ -@Fluent -public final class DynamicClassificationTaskParameters extends PreBuiltTaskParameters { - /* - * Specifies either one or multiple categories per document. Defaults to multi classification which may return more - * than one class for each document. - */ - @JsonProperty(value = "classificationType") - private ClassificationType classificationType; - - /* - * a list of categories to which input is classified to. - */ - @JsonProperty(value = "categories", required = true) - private List categories; - - /** Creates an instance of DynamicClassificationTaskParameters class. */ - public DynamicClassificationTaskParameters() {} - - /** - * Get the classificationType property: Specifies either one or multiple categories per document. Defaults to multi - * classification which may return more than one class for each document. - * - * @return the classificationType value. - */ - public ClassificationType getClassificationType() { - return this.classificationType; - } - - /** - * Set the classificationType property: Specifies either one or multiple categories per document. Defaults to multi - * classification which may return more than one class for each document. - * - * @param classificationType the classificationType value to set. - * @return the DynamicClassificationTaskParameters object itself. - */ - public DynamicClassificationTaskParameters setClassificationType(ClassificationType classificationType) { - this.classificationType = classificationType; - return this; - } - - /** - * Get the categories property: a list of categories to which input is classified to. - * - * @return the categories value. - */ - public List getCategories() { - return this.categories; - } - - /** - * Set the categories property: a list of categories to which input is classified to. - * - * @param categories the categories value to set. - * @return the DynamicClassificationTaskParameters object itself. - */ - public DynamicClassificationTaskParameters setCategories(List categories) { - this.categories = categories; - return this; - } - - /** {@inheritDoc} */ - @Override - public DynamicClassificationTaskParameters setModelVersion(String modelVersion) { - super.setModelVersion(modelVersion); - return this; - } - - /** {@inheritDoc} */ - @Override - public DynamicClassificationTaskParameters setLoggingOptOut(Boolean loggingOptOut) { - super.setLoggingOptOut(loggingOptOut); - return this; - } -} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/DynamicClassificationTaskResult.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/DynamicClassificationTaskResult.java deleted file mode 100644 index 27957a3205c1..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/DynamicClassificationTaskResult.java +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -// Code generated by Microsoft (R) AutoRest Code Generator. - -package com.azure.ai.textanalytics.implementation.models; - -import com.azure.core.annotation.Fluent; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonTypeInfo; -import com.fasterxml.jackson.annotation.JsonTypeName; - -/** The DynamicClassificationTaskResult model. */ -@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "kind") -@JsonTypeName("DynamicClassificationResults") -@Fluent -public final class DynamicClassificationTaskResult extends AnalyzeTextTaskResult { - /* - * The results property. - */ - @JsonProperty(value = "results", required = true) - private DynamicClassificationResult results; - - /** Creates an instance of DynamicClassificationTaskResult class. */ - public DynamicClassificationTaskResult() {} - - /** - * Get the results property: The results property. - * - * @return the results value. - */ - public DynamicClassificationResult getResults() { - return this.results; - } - - /** - * Set the results property: The results property. - * - * @param results the results value to set. - * @return the DynamicClassificationTaskResult object itself. - */ - public DynamicClassificationTaskResult setResults(DynamicClassificationResult results) { - this.results = results; - return this; - } -} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/DynamicClassifyOptions.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/DynamicClassifyOptions.java deleted file mode 100644 index bfa559b02ebb..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/DynamicClassifyOptions.java +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.azure.ai.textanalytics.models; - -import com.azure.core.annotation.Fluent; - -/** - * The {@link DynamicClassifyOptions} model. - */ -@Fluent -public final class DynamicClassifyOptions extends TextAnalyticsRequestOptions { - private ClassificationType classificationType; - /** - * Sets the model version. This value indicates which model will be used for scoring, e.g. "latest", "2019-10-01". - * If a model-version is not specified, the API will default to the latest, non-preview version. - * - * @param modelVersion The model version. - * - * @return The {@link DynamicClassifyOptions} object itself. - */ - @Override - public DynamicClassifyOptions setModelVersion(String modelVersion) { - super.setModelVersion(modelVersion); - return this; - } - - /** - * Sets the value of {@code includeStatistics}. The default value is false by default. - * If set to true, indicates that the service should return document and document batch statistics - * with the results of the operation. - * - * @param includeStatistics If a boolean value was specified in the request this field will contain - * information about the document payload. - * - * @return The {@link DynamicClassifyOptions} object itself. - */ - @Override - public DynamicClassifyOptions setIncludeStatistics(boolean includeStatistics) { - super.setIncludeStatistics(includeStatistics); - return this; - } - - /** - * Sets the value of service logs disable status. - * - * @param disableServiceLogs The default value of this property is 'false', except for methods like - * 'beginAnalyzeHealthcareEntities' and 'recognizePiiEntities'. This means, Text Analytics service logs - * your input text for 48 hours, solely to allow for troubleshooting issues. Setting this property to true, - * disables input logging and may limit our ability to investigate issues that occur. - * - * @return The {@link DynamicClassifyOptions} object itself. - */ - @Override - public DynamicClassifyOptions setServiceLogsDisabled(boolean disableServiceLogs) { - super.setServiceLogsDisabled(disableServiceLogs); - return this; - } - - /** - * Get the classificationType property: Specifies either one or multiple categories per document. Defaults to multi - * classification which may return more than one class for each document. - * - * @return the classificationType value. - */ - public ClassificationType getClassificationType() { - return classificationType; - } - - /** - * Set the classificationType property: Specifies either one or multiple categories per document. Defaults to multi - * classification which may return more than one class for each document. - * - * @param classificationType the classificationType value to set. - * @return The {@link DynamicClassifyOptions} object itself. - */ - public DynamicClassifyOptions setClassificationType(ClassificationType classificationType) { - this.classificationType = classificationType; - return this; - } -} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/util/DynamicClassifyDocumentResultCollection.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/util/DynamicClassifyDocumentResultCollection.java deleted file mode 100644 index 60e2b81ba9fb..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/util/DynamicClassifyDocumentResultCollection.java +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.azure.ai.textanalytics.util; - -import com.azure.ai.textanalytics.implementation.DynamicClassifyDocumentResultCollectionPropertiesHelper; -import com.azure.ai.textanalytics.models.ClassifyDocumentResult; -import com.azure.ai.textanalytics.models.TextDocumentBatchStatistics; -import com.azure.core.annotation.Immutable; -import com.azure.core.util.IterableStream; - -/** - * A collection model that contains a list of {@link ClassifyDocumentResult} along with model version - * and batch's statistics. - */ -@Immutable -public final class DynamicClassifyDocumentResultCollection extends IterableStream { - private String modelVersion; - private TextDocumentBatchStatistics statistics; - - static { - DynamicClassifyDocumentResultCollectionPropertiesHelper.setAccessor( - new DynamicClassifyDocumentResultCollectionPropertiesHelper - .DynamicClassifyDocumentResultCollectionAccessor() { - @Override - public void setModelVersion(DynamicClassifyDocumentResultCollection resultCollection, - String modelVersion) { - resultCollection.setModelVersion(modelVersion); - } - - @Override - public void setStatistics(DynamicClassifyDocumentResultCollection resultCollection, - TextDocumentBatchStatistics statistics) { - resultCollection.setStatistics(statistics); - } - }); - } - - /** - * Create a {@link com.azure.ai.textanalytics.util.ClassifyDocumentResultCollection} model that maintains a list of - * {@link ClassifyDocumentResult} along with model version and batch's statistics. - * - * @param documentResults A list of {@link ClassifyDocumentResult}. - */ - public DynamicClassifyDocumentResultCollection(Iterable documentResults) { - super(documentResults); - } - - /** - * Gets the version of the text analytics model used by this operation. - * - * @return The model version. - */ - public String getModelVersion() { - return modelVersion; - } - - /** - * Get the batch statistics of response. - * - * @return The batch statistics of response. - */ - public TextDocumentBatchStatistics getStatistics() { - return statistics; - } - - private void setModelVersion(String modelVersion) { - this.modelVersion = modelVersion; - } - - private void setStatistics(TextDocumentBatchStatistics statistics) { - this.statistics = statistics; - } -} - diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/samples/README.md b/sdk/textanalytics/azure-ai-textanalytics/src/samples/README.md index f8ebf8bd2ae7..dd74a2b1b892 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/samples/README.md +++ b/sdk/textanalytics/azure-ai-textanalytics/src/samples/README.md @@ -81,8 +81,6 @@ Batch Samples: - [Execute single-label classification with asynchronous client][async_sample_execute_single_classification] - [Execute multi-label classification][sample_execute_multi_classification] - [Execute multi-label classification with asynchronous client][async_sample_execute_multi_classification] -- [Execute dynamic classification][sample_execute_dynamic_classification] -- [Execute dynamic classification with asynchronous client][async_sample_execute_dynamic_classification] - [Execute multiple actions][sample_execute_multiple_actions] - [Execute multiple actions with asynchronous client][async_sample_execute_multiple_actions] @@ -130,7 +128,6 @@ This project welcomes contributions and suggestions. Find [more contributing][SD [async_sample_execute_custom_entities]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/RecognizeCustomEntitiesAsync.java [async_sample_execute_single_classification]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/SingleLabelClassifyDocumentAsync.java [async_sample_execute_multi_classification]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/MultiLabelClassifyDocumentAsync.java -[async_sample_execute_dynamic_classification]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/batch/DynamicClassifyBatchDocumentsAsync.java [async_sample_model_version]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/ModelVersionAsync.java [async_sample_extractive_text_summarization]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/ExtractiveSummarizationAsync.java [async_sample_abstractive_text_summarization]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/AbstractiveSummarizationAsync.java @@ -161,7 +158,6 @@ This project welcomes contributions and suggestions. Find [more contributing][SD [sample_execute_custom_entities]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/RecognizeCustomEntities.java [sample_execute_single_classification]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/SingleLabelClassifyDocument.java [sample_execute_multi_classification]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/MultiLabelClassifyDocument.java -[sample_execute_dynamic_classification]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/batch/DynamicClassifyBatchDocuments.java [sample_model_version]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/ModelVersion.java [sample_abstractive_text_summarization]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/AbstractiveSummarization.java [sample_extractive_text_summarization]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/ExtractiveSummarization.java diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClientJavaDocCodeSnippets.java b/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClientJavaDocCodeSnippets.java index 833a49b963d4..4a026883572e 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClientJavaDocCodeSnippets.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClientJavaDocCodeSnippets.java @@ -20,7 +20,6 @@ import com.azure.ai.textanalytics.models.DetectLanguageResult; import com.azure.ai.textanalytics.models.DetectedLanguage; import com.azure.ai.textanalytics.models.DocumentSentiment; -import com.azure.ai.textanalytics.models.DynamicClassifyOptions; import com.azure.ai.textanalytics.models.EntityDataSource; import com.azure.ai.textanalytics.models.ExtractKeyPhraseResult; import com.azure.ai.textanalytics.models.ExtractKeyPhrasesAction; @@ -49,7 +48,6 @@ import com.azure.ai.textanalytics.util.AnalyzeSentimentResultCollection; import com.azure.ai.textanalytics.util.ClassifyDocumentResultCollection; import com.azure.ai.textanalytics.util.DetectLanguageResultCollection; -import com.azure.ai.textanalytics.util.DynamicClassifyDocumentResultCollection; import com.azure.ai.textanalytics.util.ExtractKeyPhrasesResultCollection; import com.azure.ai.textanalytics.util.RecognizeCustomEntitiesResultCollection; import com.azure.ai.textanalytics.util.RecognizeEntitiesResultCollection; @@ -1407,65 +1405,6 @@ public void multiLabelClassificationMaxOverload() { // END: AsyncClient.beginMultiLabelClassify#Iterable-String-String-MultiLabelClassifyOptions } - // Dynamic classification - /** - * Code snippet for {@link TextAnalyticsAsyncClient#dynamicClassifyBatch(Iterable, Iterable, String, DynamicClassifyOptions)} - */ - public void dynamicClassificationStringInputWithLanguage() { - // BEGIN: AsyncClient.dynamicClassifyBatch#Iterable-Iterable-String-DynamicClassifyOptions - List documents = new ArrayList<>(); - documents.add("The WHO is issuing a warning about Monkey Pox."); - documents.add("Mo Salah plays in Liverpool FC in England."); - DynamicClassifyOptions options = new DynamicClassifyOptions(); - textAnalyticsAsyncClient.dynamicClassifyBatch(documents, - Arrays.asList("Health", "Politics", "Music", "Sport"), "en", options) - .subscribe( - resultCollection -> resultCollection.forEach(documentResult -> { - System.out.println("Document ID: " + documentResult.getId()); - for (ClassificationCategory classification : documentResult.getClassifications()) { - System.out.printf("\tCategory: %s, confidence score: %f.%n", - classification.getCategory(), classification.getConfidenceScore()); - } - }), - error -> System.err.println("There was an error analyzing dynamic classification of the documents. " + error), - () -> System.out.println("End of analyzing dynamic classification.")); - // END: AsyncClient.dynamicClassifyBatch#Iterable-Iterable-String-DynamicClassifyOptions - } - - /** - * Code snippet for {@link TextAnalyticsAsyncClient#dynamicClassifyBatchWithResponse(Iterable, Iterable, DynamicClassifyOptions)} - */ - public void dynamicClassificationMaxOverload() { - // BEGIN: AsyncClient.dynamicClassifyBatchWithResponse#Iterable-Iterable-DynamicClassifyOptions - List documents = new ArrayList<>(); - documents.add(new TextDocumentInput("1", "The WHO is issuing a warning about Monkey Pox.")); - documents.add(new TextDocumentInput("2", "Mo Salah plays in Liverpool FC in England.")); - DynamicClassifyOptions options = new DynamicClassifyOptions(); - textAnalyticsAsyncClient.dynamicClassifyBatchWithResponse(documents, - Arrays.asList("Health", "Politics", "Music", "Sport"), options) - .subscribe( - response -> { - // Response's status code - System.out.printf("Status code of request response: %d%n", response.getStatusCode()); - DynamicClassifyDocumentResultCollection resultCollection = response.getValue(); - // Batch statistics - TextDocumentBatchStatistics batchStatistics = resultCollection.getStatistics(); - System.out.printf("Batch statistics, transaction count: %s, valid document count: %s.%n", - batchStatistics.getTransactionCount(), batchStatistics.getValidDocumentCount()); - resultCollection.forEach(documentResult -> { - System.out.println("Document ID: " + documentResult.getId()); - for (ClassificationCategory classification : documentResult.getClassifications()) { - System.out.printf("\tCategory: %s, confidence score: %f.%n", - classification.getCategory(), classification.getConfidenceScore()); - } - }); - }, - error -> System.err.println( - "There was an error analyzing dynamic classification of the documents. " + error), - () -> System.out.println("End of analyzing dynamic classification.")); - // END: AsyncClient.dynamicClassifyBatchWithResponse#Iterable-Iterable-DynamicClassifyOptions - } - // Abstractive Summarization /** * Code snippet for {@link TextAnalyticsAsyncClient#beginExtractSummary(Iterable)}. diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/TextAnalyticsClientJavaDocCodeSnippets.java b/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/TextAnalyticsClientJavaDocCodeSnippets.java index c7fde593a759..0d51a438ae6a 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/TextAnalyticsClientJavaDocCodeSnippets.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/TextAnalyticsClientJavaDocCodeSnippets.java @@ -21,7 +21,6 @@ import com.azure.ai.textanalytics.models.DetectLanguageInput; import com.azure.ai.textanalytics.models.DetectedLanguage; import com.azure.ai.textanalytics.models.DocumentSentiment; -import com.azure.ai.textanalytics.models.DynamicClassifyOptions; import com.azure.ai.textanalytics.models.EntityDataSource; import com.azure.ai.textanalytics.models.ExtractKeyPhrasesAction; import com.azure.ai.textanalytics.models.ExtractSummaryOperationDetail; @@ -53,7 +52,6 @@ import com.azure.ai.textanalytics.util.AnalyzeSentimentResultCollection; import com.azure.ai.textanalytics.util.ClassifyDocumentPagedIterable; import com.azure.ai.textanalytics.util.DetectLanguageResultCollection; -import com.azure.ai.textanalytics.util.DynamicClassifyDocumentResultCollection; import com.azure.ai.textanalytics.util.ExtractKeyPhrasesResultCollection; import com.azure.ai.textanalytics.util.ExtractSummaryPagedIterable; import com.azure.ai.textanalytics.util.RecognizeCustomEntitiesPagedIterable; @@ -1338,67 +1336,6 @@ public void multiLabelClassificationMaxOverload() { // END: Client.beginMultiLabelClassify#Iterable-String-String-MultiLabelClassifyOptions-Context } - // Dynamic classification - /** - * Code snippet for {@link TextAnalyticsClient#dynamicClassifyBatch(Iterable, Iterable, String, DynamicClassifyOptions)} - */ - public void dynamicClassificationStringInputWithLanguage() { - // BEGIN: Client.dynamicClassifyBatch#Iterable-Iterable-String-DynamicClassifyOptions - List documents = new ArrayList<>(); - documents.add("The WHO is issuing a warning about Monkey Pox."); - documents.add("Mo Salah plays in Liverpool FC in England."); - DynamicClassifyOptions options = new DynamicClassifyOptions(); - - // Analyzing dynamic classification - DynamicClassifyDocumentResultCollection resultCollection = textAnalyticsClient.dynamicClassifyBatch( - documents, Arrays.asList("Health", "Politics", "Music", "Sport"), "en", options); - - // Result of dynamic classification - resultCollection.forEach(documentResult -> { - System.out.println("Document ID: " + documentResult.getId()); - for (ClassificationCategory classification : documentResult.getClassifications()) { - System.out.printf("\tCategory: %s, confidence score: %f.%n", - classification.getCategory(), classification.getConfidenceScore()); - } - }); - // END: Client.dynamicClassifyBatch#Iterable-Iterable-String-DynamicClassifyOptions - } - - /** - * Code snippet for {@link TextAnalyticsClient#dynamicClassifyBatchWithResponse(Iterable, Iterable, DynamicClassifyOptions, Context)} - */ - public void dynamicClassificationMaxOverload() { - // BEGIN: Client.dynamicClassifyBatchWithResponse#Iterable-Iterable-DynamicClassifyOptions-Context - List documents = new ArrayList<>(); - documents.add(new TextDocumentInput("1", "The WHO is issuing a warning about Monkey Pox.")); - documents.add(new TextDocumentInput("2", "Mo Salah plays in Liverpool FC in England.")); - DynamicClassifyOptions options = new DynamicClassifyOptions(); - - // Analyzing dynamic classification - Response response = - textAnalyticsClient.dynamicClassifyBatchWithResponse(documents, - Arrays.asList("Health", "Politics", "Music", "Sport"), options, Context.NONE); - - // Response's status code - System.out.printf("Status code of request response: %d%n", response.getStatusCode()); - DynamicClassifyDocumentResultCollection resultCollection = response.getValue(); - - // Batch statistics - TextDocumentBatchStatistics batchStatistics = resultCollection.getStatistics(); - System.out.printf("A batch of documents statistics, transaction count: %s, valid document count: %s.%n", - batchStatistics.getTransactionCount(), batchStatistics.getValidDocumentCount()); - - // Result of dynamic classification - resultCollection.forEach(documentResult -> { - System.out.println("Document ID: " + documentResult.getId()); - for (ClassificationCategory classification : documentResult.getClassifications()) { - System.out.printf("\tCategory: %s, confidence score: %f.%n", - classification.getCategory(), classification.getConfidenceScore()); - } - }); - // END: Client.dynamicClassifyBatchWithResponse#Iterable-Iterable-DynamicClassifyOptions-Context - } - // Abstractive Summarization /** * Code snippet for {@link TextAnalyticsClient#beginAbstractSummary(Iterable)}. diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TestUtils.java b/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TestUtils.java index c3f7c9b35381..23951cd2c76d 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TestUtils.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TestUtils.java @@ -4,8 +4,8 @@ package com.azure.ai.textanalytics; import com.azure.ai.textanalytics.implementation.AbstractSummaryActionResultPropertiesHelper; -import com.azure.ai.textanalytics.implementation.AbstractiveSummaryPropertiesHelper; import com.azure.ai.textanalytics.implementation.AbstractSummaryResultPropertiesHelper; +import com.azure.ai.textanalytics.implementation.AbstractiveSummaryPropertiesHelper; import com.azure.ai.textanalytics.implementation.AnalyzeActionsResultPropertiesHelper; import com.azure.ai.textanalytics.implementation.AnalyzeHealthcareEntitiesActionResultPropertiesHelper; import com.azure.ai.textanalytics.implementation.AnalyzeHealthcareEntitiesResultCollectionPropertiesHelper; @@ -13,9 +13,6 @@ import com.azure.ai.textanalytics.implementation.AnalyzeSentimentActionResultPropertiesHelper; import com.azure.ai.textanalytics.implementation.AssessmentSentimentPropertiesHelper; import com.azure.ai.textanalytics.implementation.CategorizedEntityPropertiesHelper; -import com.azure.ai.textanalytics.implementation.ClassificationCategoryPropertiesHelper; -import com.azure.ai.textanalytics.implementation.ClassifyDocumentResultPropertiesHelper; -import com.azure.ai.textanalytics.implementation.DynamicClassifyDocumentResultCollectionPropertiesHelper; import com.azure.ai.textanalytics.implementation.ExtractKeyPhrasesActionResultPropertiesHelper; import com.azure.ai.textanalytics.implementation.ExtractSummaryActionResultPropertiesHelper; import com.azure.ai.textanalytics.implementation.ExtractSummaryResultPropertiesHelper; @@ -34,9 +31,9 @@ import com.azure.ai.textanalytics.implementation.SummarySentencePropertiesHelper; import com.azure.ai.textanalytics.implementation.TargetSentimentPropertiesHelper; import com.azure.ai.textanalytics.implementation.TextAnalyticsActionResultPropertiesHelper; -import com.azure.ai.textanalytics.models.AbstractiveSummary; import com.azure.ai.textanalytics.models.AbstractSummaryActionResult; import com.azure.ai.textanalytics.models.AbstractSummaryResult; +import com.azure.ai.textanalytics.models.AbstractiveSummary; import com.azure.ai.textanalytics.models.AnalyzeActionsResult; import com.azure.ai.textanalytics.models.AnalyzeHealthcareEntitiesActionResult; import com.azure.ai.textanalytics.models.AnalyzeHealthcareEntitiesResult; @@ -45,8 +42,6 @@ import com.azure.ai.textanalytics.models.AssessmentSentiment; import com.azure.ai.textanalytics.models.CategorizedEntity; import com.azure.ai.textanalytics.models.CategorizedEntityCollection; -import com.azure.ai.textanalytics.models.ClassificationCategory; -import com.azure.ai.textanalytics.models.ClassifyDocumentResult; import com.azure.ai.textanalytics.models.DetectLanguageInput; import com.azure.ai.textanalytics.models.DetectLanguageResult; import com.azure.ai.textanalytics.models.DetectedLanguage; @@ -90,7 +85,6 @@ import com.azure.ai.textanalytics.util.AnalyzeHealthcareEntitiesResultCollection; import com.azure.ai.textanalytics.util.AnalyzeSentimentResultCollection; import com.azure.ai.textanalytics.util.DetectLanguageResultCollection; -import com.azure.ai.textanalytics.util.DynamicClassifyDocumentResultCollection; import com.azure.ai.textanalytics.util.ExtractKeyPhrasesResultCollection; import com.azure.ai.textanalytics.util.ExtractSummaryResultCollection; import com.azure.ai.textanalytics.util.RecognizeEntitiesResultCollection; @@ -144,13 +138,6 @@ final class TestUtils { "I need a reservation for an indoor restaurant in China. Please don't stop the music. Play music and add" + " it to my playlist"); - static final List DYNAMIC_CLASSIFICATION = asList( - "The WHO is issuing a warning about Monkey Pox.", - "Mo Salah plays in Liverpool FC in England."); - - static final List DYNAMIC_CLASSIFICATION_CATEGORIES = - Arrays.asList("Health", "Politics", "Music", "Sports"); - static final List SUMMARY_INPUTS = asList( "At Microsoft, we have been on a quest to advance AI beyond existing techniques, by taking a more holistic," + " human-centric approach to learning and understanding. As Chief Technology Officer of Azure AI " @@ -1448,43 +1435,6 @@ static AbstractiveSummary getExpectedAbstractiveSummary(String text, int offset, return abstractiveSummary; } - // Dynamic classification - static DynamicClassifyDocumentResultCollection getExpectedDynamicClassifyDocumentResultCollection() { - ClassifyDocumentResult classifyDocumentResult1 = new ClassifyDocumentResult("0", - new TextDocumentStatistics(46, 1), null); - - ClassificationCategory classificationCategory1 = new ClassificationCategory(); - ClassificationCategoryPropertiesHelper.setCategory(classificationCategory1, "Health"); - ClassificationCategoryPropertiesHelper.setConfidenceScore(classificationCategory1, 0.88); - ClassificationCategory classificationCategory2 = new ClassificationCategory(); - ClassificationCategoryPropertiesHelper.setCategory(classificationCategory2, "Music"); - ClassificationCategoryPropertiesHelper.setConfidenceScore(classificationCategory2, 0.04); - - ClassificationCategory classificationCategory3 = new ClassificationCategory(); - ClassificationCategoryPropertiesHelper.setCategory(classificationCategory3, "Sports"); - ClassificationCategoryPropertiesHelper.setConfidenceScore(classificationCategory3, 0.04); - - ClassificationCategory classificationCategory4 = new ClassificationCategory(); - ClassificationCategoryPropertiesHelper.setCategory(classificationCategory4, "Politics"); - ClassificationCategoryPropertiesHelper.setConfidenceScore(classificationCategory4, 0.03); - - ClassifyDocumentResultPropertiesHelper.setClassifications(classifyDocumentResult1, - IterableStream.of(asList(classificationCategory1, classificationCategory2, classificationCategory3, - classificationCategory4))); - - ClassifyDocumentResult classifyDocumentResult2 = new ClassifyDocumentResult("1", - new TextDocumentStatistics(42, 1), null); - ClassifyDocumentResultPropertiesHelper.setClassifications(classifyDocumentResult2, - IterableStream.of(asList(classificationCategory3, classificationCategory2, classificationCategory1, - classificationCategory4))); - - DynamicClassifyDocumentResultCollection classifyDocumentResults = - new DynamicClassifyDocumentResultCollection(asList(classifyDocumentResult1, classifyDocumentResult2)); - DynamicClassifyDocumentResultCollectionPropertiesHelper.setStatistics(classifyDocumentResults, - new TextDocumentBatchStatistics(2, 2, 0, 0)); - return classifyDocumentResults; - } - /** * Helper method that get a customized TextAnalyticsError. */ diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClientTest.java b/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClientTest.java index f1fb2f49a487..914dc1f01ac4 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClientTest.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClientTest.java @@ -69,7 +69,6 @@ import static com.azure.ai.textanalytics.TestUtils.DETECTED_LANGUAGE_ENGLISH; import static com.azure.ai.textanalytics.TestUtils.DETECTED_LANGUAGE_SPANISH; import static com.azure.ai.textanalytics.TestUtils.DISPLAY_NAME_WITH_ARGUMENTS; -import static com.azure.ai.textanalytics.TestUtils.DYNAMIC_CLASSIFICATION_CATEGORIES; import static com.azure.ai.textanalytics.TestUtils.HEALTHCARE_ENTITY_OFFSET_INPUT; import static com.azure.ai.textanalytics.TestUtils.LINKED_ENTITY_INPUTS; import static com.azure.ai.textanalytics.TestUtils.PII_ENTITY_OFFSET_INPUT; @@ -97,7 +96,6 @@ import static com.azure.ai.textanalytics.TestUtils.getExpectedBatchPiiEntitiesForDomainFilter; import static com.azure.ai.textanalytics.TestUtils.getExpectedBatchTextSentiment; import static com.azure.ai.textanalytics.TestUtils.getExpectedDocumentSentiment; -import static com.azure.ai.textanalytics.TestUtils.getExpectedDynamicClassifyDocumentResultCollection; import static com.azure.ai.textanalytics.TestUtils.getExpectedExtractKeyPhrasesActionResult; import static com.azure.ai.textanalytics.TestUtils.getExpectedExtractSummaryResultCollection; import static com.azure.ai.textanalytics.TestUtils.getExpectedExtractSummaryResultSortByOffset; @@ -3057,98 +3055,6 @@ public void analyzeAbstractiveSummaryActionWithDefaultParameterValues(HttpClient }, null); } - @Disabled("Disable tests by service request.") - @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) - @MethodSource("com.azure.ai.textanalytics.TestUtils#getTestParameters") - public void dynamicClassificationDuplicateIdInput(HttpClient httpClient, - TextAnalyticsServiceVersion serviceVersion) { - client = getTextAnalyticsAsyncClient(httpClient, serviceVersion, false); - duplicateIdRunner(inputs -> { - StepVerifier.create(client.dynamicClassifyBatchWithResponse(inputs, - DYNAMIC_CLASSIFICATION_CATEGORIES, null)) - .verifyErrorSatisfies(ex -> assertEquals(HttpResponseException.class, ex.getClass())); - }); - } - - @Disabled("Disable tests by service request. https://github.com/Azure/azure-sdk-for-java/issues/33555") - @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) - @MethodSource("com.azure.ai.textanalytics.TestUtils#getTestParameters") - public void dynamicClassificationEmptyIdInput(HttpClient httpClient, TextAnalyticsServiceVersion serviceVersion) { - client = getTextAnalyticsAsyncClient(httpClient, serviceVersion, false); - emptyDocumentIdRunner(inputs -> { - StepVerifier.create(client.dynamicClassifyBatchWithResponse(inputs, DYNAMIC_CLASSIFICATION_CATEGORIES, - null)) - .verifyErrorSatisfies(ex -> { - final HttpResponseException httpResponseException = (HttpResponseException) ex; - assertEquals(400, httpResponseException.getResponse().getStatusCode()); - final TextAnalyticsError textAnalyticsError = (TextAnalyticsError) httpResponseException.getValue(); - assertEquals(INVALID_DOCUMENT, textAnalyticsError.getErrorCode()); - }); - }); - } - - @Disabled("Disable tests by service request.") - @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) - @MethodSource("com.azure.ai.textanalytics.TestUtils#getTestParameters") - public void dynamicClassificationMaxOverload(HttpClient httpClient, TextAnalyticsServiceVersion serviceVersion) { - client = getTextAnalyticsAsyncClient(httpClient, serviceVersion, false); - dynamicClassificationRunner((inputs, options) -> { - StepVerifier.create(client.dynamicClassifyBatchWithResponse(inputs, DYNAMIC_CLASSIFICATION_CATEGORIES, - options)) - .assertNext(response -> validateDynamicClassifyDocumentResultCollectionWithResponse(true, - getExpectedDynamicClassifyDocumentResultCollection(), 200, response)) - .verifyComplete(); - }); - } - - @Disabled("Disable tests by service request.") - @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) - @MethodSource("com.azure.ai.textanalytics.TestUtils#getTestParameters") - public void dynamicClassificationStringInput(HttpClient httpClient, TextAnalyticsServiceVersion serviceVersion) { - client = getTextAnalyticsAsyncClient(httpClient, serviceVersion, false); - dynamicClassificationStringInputRunner((inputs, options) -> - StepVerifier.create(client.dynamicClassifyBatch(inputs, DYNAMIC_CLASSIFICATION_CATEGORIES, null, - options)) - .assertNext(response -> validateDynamicClassifyDocumentResultCollection(true, - getExpectedDynamicClassifyDocumentResultCollection(), response)) - .verifyComplete()); - } - - @Disabled("Disable tests by service request.") - @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) - @MethodSource("com.azure.ai.textanalytics.TestUtils#getTestParameters") - public void dynamicClassificationBatchWarning(HttpClient httpClient, TextAnalyticsServiceVersion serviceVersion) { - client = getTextAnalyticsAsyncClient(httpClient, serviceVersion, false); - dynamicClassificationBatchWarningRunner((inputs, options) -> - StepVerifier.create(client.dynamicClassifyBatchWithResponse(inputs, DYNAMIC_CLASSIFICATION_CATEGORIES, - options)) - .assertNext(response -> response.getValue().forEach(classifyDocumentResult -> - classifyDocumentResult.getWarnings().forEach(warning -> { - assertTrue(WARNING_TOO_LONG_DOCUMENT_INPUT_MESSAGE.equals(warning.getMessage())); - assertTrue(LONG_WORDS_IN_DOCUMENT.equals(warning.getWarningCode())); - }))) - .verifyComplete() - ); - } - - @Disabled("Disable tests by service request. https://github.com/Azure/azure-sdk-for-java/issues/33555") - @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) - @MethodSource("com.azure.ai.textanalytics.TestUtils#getTestParameters") - public void dynamicClassificationBatchTooManyDocuments(HttpClient httpClient, - TextAnalyticsServiceVersion serviceVersion) { - client = getTextAnalyticsAsyncClient(httpClient, serviceVersion, false); - tooManyDocumentsRunner(inputs -> { - StepVerifier.create(client.dynamicClassifyBatch(inputs, DYNAMIC_CLASSIFICATION_CATEGORIES, null, - null)) - .verifyErrorSatisfies(ex -> { - final HttpResponseException httpResponseException = (HttpResponseException) ex; - assertEquals(400, httpResponseException.getResponse().getStatusCode()); - final TextAnalyticsError textAnalyticsError = (TextAnalyticsError) httpResponseException.getValue(); - assertEquals(INVALID_DOCUMENT_BATCH, textAnalyticsError.getErrorCode()); - }); - }); - } - @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.textanalytics.TestUtils#getTestParameters") public void beginAbstractSummaryDuplicateIdInput(HttpClient httpClient, diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsClientTest.java b/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsClientTest.java index 2cebad76354c..f9a2a4384f95 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsClientTest.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsClientTest.java @@ -74,7 +74,6 @@ import static com.azure.ai.textanalytics.TestUtils.DETECTED_LANGUAGE_ENGLISH; import static com.azure.ai.textanalytics.TestUtils.DETECTED_LANGUAGE_SPANISH; import static com.azure.ai.textanalytics.TestUtils.DISPLAY_NAME_WITH_ARGUMENTS; -import static com.azure.ai.textanalytics.TestUtils.DYNAMIC_CLASSIFICATION_CATEGORIES; import static com.azure.ai.textanalytics.TestUtils.HEALTHCARE_ENTITY_OFFSET_INPUT; import static com.azure.ai.textanalytics.TestUtils.LINKED_ENTITY_INPUTS; import static com.azure.ai.textanalytics.TestUtils.PII_ENTITY_OFFSET_INPUT; @@ -102,7 +101,6 @@ import static com.azure.ai.textanalytics.TestUtils.getExpectedBatchPiiEntitiesForDomainFilter; import static com.azure.ai.textanalytics.TestUtils.getExpectedBatchTextSentiment; import static com.azure.ai.textanalytics.TestUtils.getExpectedDocumentSentiment; -import static com.azure.ai.textanalytics.TestUtils.getExpectedDynamicClassifyDocumentResultCollection; import static com.azure.ai.textanalytics.TestUtils.getExpectedExtractKeyPhrasesActionResult; import static com.azure.ai.textanalytics.TestUtils.getExpectedExtractSummaryResultCollection; import static com.azure.ai.textanalytics.TestUtils.getExpectedExtractSummaryResultSortByOffset; @@ -2985,90 +2983,6 @@ public void analyzeAbstractiveSummaryActionWithDefaultParameterValues(HttpClient }, null); } - @Disabled("Disable tests by service request") - @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) - @MethodSource("com.azure.ai.textanalytics.TestUtils#getTestParameters") - public void dynamicClassificationDuplicateIdInput(HttpClient httpClient, - TextAnalyticsServiceVersion serviceVersion) { - client = getTextAnalyticsClient(httpClient, serviceVersion, false); - duplicateIdRunner(inputs -> { - final HttpResponseException response = assertThrows(HttpResponseException.class, - () -> client.dynamicClassifyBatchWithResponse(inputs, DYNAMIC_CLASSIFICATION_CATEGORIES, null, - Context.NONE)); - assertEquals(HttpURLConnection.HTTP_BAD_REQUEST, response.getResponse().getStatusCode()); - }); - } - - @Disabled("Disable tests by service request. https://github.com/Azure/azure-sdk-for-java/issues/33555") - @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) - @MethodSource("com.azure.ai.textanalytics.TestUtils#getTestParameters") - public void dynamicClassificationEmptyIdInput(HttpClient httpClient, TextAnalyticsServiceVersion serviceVersion) { - client = getTextAnalyticsClient(httpClient, serviceVersion, false); - emptyDocumentIdRunner(inputs -> { - final HttpResponseException httpResponseException = assertThrows(HttpResponseException.class, - () -> client.dynamicClassifyBatchWithResponse(inputs, DYNAMIC_CLASSIFICATION_CATEGORIES, null, - Context.NONE)); - assertEquals(400, httpResponseException.getResponse().getStatusCode()); - final TextAnalyticsError textAnalyticsError = (TextAnalyticsError) httpResponseException.getValue(); - assertEquals(INVALID_DOCUMENT, textAnalyticsError.getErrorCode()); - }); - } - - @Disabled("Disable tests by service request.") - @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) - @MethodSource("com.azure.ai.textanalytics.TestUtils#getTestParameters") - public void dynamicClassificationMaxOverload(HttpClient httpClient, TextAnalyticsServiceVersion serviceVersion) { - client = getTextAnalyticsClient(httpClient, serviceVersion, false); - dynamicClassificationRunner((inputs, options) -> - validateDynamicClassifyDocumentResultCollectionWithResponse(true, - getExpectedDynamicClassifyDocumentResultCollection(), 200, - client.dynamicClassifyBatchWithResponse(inputs, DYNAMIC_CLASSIFICATION_CATEGORIES, options, - Context.NONE))); - } - - @Disabled("Disable tests by service request.") - @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) - @MethodSource("com.azure.ai.textanalytics.TestUtils#getTestParameters") - public void dynamicClassificationStringInput(HttpClient httpClient, TextAnalyticsServiceVersion serviceVersion) { - client = getTextAnalyticsClient(httpClient, serviceVersion, false); - dynamicClassificationStringInputRunner((inputs, options) -> - validateDynamicClassifyDocumentResultCollection(true, - getExpectedDynamicClassifyDocumentResultCollection(), - client.dynamicClassifyBatch(inputs, DYNAMIC_CLASSIFICATION_CATEGORIES, null, options))); - } - - @Disabled("Disable tests by service request.") - @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) - @MethodSource("com.azure.ai.textanalytics.TestUtils#getTestParameters") - public void dynamicClassificationBatchWarning(HttpClient httpClient, TextAnalyticsServiceVersion serviceVersion) { - client = getTextAnalyticsClient(httpClient, serviceVersion, false); - dynamicClassificationBatchWarningRunner((inputs, options) -> - client.dynamicClassifyBatchWithResponse(inputs, DYNAMIC_CLASSIFICATION_CATEGORIES, options, Context.NONE) - .getValue() - .forEach(classifyDocumentResult -> - classifyDocumentResult.getWarnings().forEach(warning -> { - assertTrue(WARNING_TOO_LONG_DOCUMENT_INPUT_MESSAGE.equals(warning.getMessage())); - assertTrue(LONG_WORDS_IN_DOCUMENT.equals(warning.getWarningCode())); - }) - )); - } - - @Disabled("Disable tests by service request. https://github.com/Azure/azure-sdk-for-java/issues/33555") - @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) - @MethodSource("com.azure.ai.textanalytics.TestUtils#getTestParameters") - public void dynamicClassificationBatchTooManyDocuments(HttpClient httpClient, - TextAnalyticsServiceVersion serviceVersion) { - client = getTextAnalyticsClient(httpClient, serviceVersion, false); - tooManyDocumentsRunner(inputs -> { - final HttpResponseException httpResponseException = assertThrows(HttpResponseException.class, - () -> client.dynamicClassifyBatch(inputs, DYNAMIC_CLASSIFICATION_CATEGORIES, null, null) - .stream().findFirst().get()); - assertEquals(400, httpResponseException.getResponse().getStatusCode()); - final TextAnalyticsError textAnalyticsError = (TextAnalyticsError) httpResponseException.getValue(); - assertEquals(INVALID_DOCUMENT_BATCH, textAnalyticsError.getErrorCode()); - }); - } - @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) @MethodSource("com.azure.ai.textanalytics.TestUtils#getTestParameters") public void beginAbstractSummaryDuplicateIdInput(HttpClient httpClient, diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsClientTestBase.java b/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsClientTestBase.java index b9db02f052bb..c541584bff38 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsClientTestBase.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsClientTestBase.java @@ -22,12 +22,10 @@ import com.azure.ai.textanalytics.models.BaseResolution; import com.azure.ai.textanalytics.models.CategorizedEntity; import com.azure.ai.textanalytics.models.ClassificationCategory; -import com.azure.ai.textanalytics.models.ClassificationType; import com.azure.ai.textanalytics.models.ClassifyDocumentResult; import com.azure.ai.textanalytics.models.DetectLanguageInput; import com.azure.ai.textanalytics.models.DetectedLanguage; import com.azure.ai.textanalytics.models.DocumentSentiment; -import com.azure.ai.textanalytics.models.DynamicClassifyOptions; import com.azure.ai.textanalytics.models.EntityDataSource; import com.azure.ai.textanalytics.models.ExtractKeyPhrasesAction; import com.azure.ai.textanalytics.models.ExtractKeyPhrasesActionResult; @@ -77,7 +75,6 @@ import com.azure.ai.textanalytics.util.AnalyzeSentimentResultCollection; import com.azure.ai.textanalytics.util.ClassifyDocumentResultCollection; import com.azure.ai.textanalytics.util.DetectLanguageResultCollection; -import com.azure.ai.textanalytics.util.DynamicClassifyDocumentResultCollection; import com.azure.ai.textanalytics.util.ExtractKeyPhrasesResultCollection; import com.azure.ai.textanalytics.util.ExtractSummaryResultCollection; import com.azure.ai.textanalytics.util.RecognizeCustomEntitiesResultCollection; @@ -114,7 +111,6 @@ import static com.azure.ai.textanalytics.TestUtils.CUSTOM_MULTI_CLASSIFICATION; import static com.azure.ai.textanalytics.TestUtils.CUSTOM_SINGLE_CLASSIFICATION; import static com.azure.ai.textanalytics.TestUtils.DETECT_LANGUAGE_INPUTS; -import static com.azure.ai.textanalytics.TestUtils.DYNAMIC_CLASSIFICATION; import static com.azure.ai.textanalytics.TestUtils.ENTITY_RESOLUTION_INPUT; import static com.azure.ai.textanalytics.TestUtils.FAKE_API_KEY; import static com.azure.ai.textanalytics.TestUtils.HEALTHCARE_INPUTS; @@ -772,31 +768,6 @@ abstract void analyzeExtractSummaryActionWithNonDefaultSentenceCount( abstract void analyzeExtractSummaryActionMaxSentenceCountInvalidRangeException( HttpClient httpClient, TextAnalyticsServiceVersion serviceVersion); - // Dynamic Classification - @Test - abstract void dynamicClassificationDuplicateIdInput(HttpClient httpClient, - TextAnalyticsServiceVersion serviceVersion); - - @Test - abstract void dynamicClassificationEmptyIdInput(HttpClient httpClient, - TextAnalyticsServiceVersion serviceVersion); - - @Test - abstract void dynamicClassificationMaxOverload(HttpClient httpClient, - TextAnalyticsServiceVersion serviceVersion); - - @Test - abstract void dynamicClassificationStringInput(HttpClient httpClient, - TextAnalyticsServiceVersion serviceVersion); - - @Test - abstract void dynamicClassificationBatchWarning(HttpClient httpClient, - TextAnalyticsServiceVersion serviceVersion); - - @Test - abstract void dynamicClassificationBatchTooManyDocuments(HttpClient httpClient, - TextAnalyticsServiceVersion serviceVersion); - // Detect Language runner void detectLanguageShowStatisticsRunner(BiConsumer, TextAnalyticsRequestOptions> testRunner) { @@ -1447,35 +1418,6 @@ void abstractSummaryMaxOverloadRunner(BiConsumer, Abstra new AbstractSummaryOptions().setSentenceCount(sentenceCount)); } - // Dynamic classification - void dynamicClassificationRunner(BiConsumer, DynamicClassifyOptions> testRunner) { - testRunner.accept( - asList( - new TextDocumentInput("0", DYNAMIC_CLASSIFICATION.get(0)), - new TextDocumentInput("1", DYNAMIC_CLASSIFICATION.get(1))), - new DynamicClassifyOptions() - .setClassificationType(ClassificationType.MULTI) - .setIncludeStatistics(true)); - } - - void dynamicClassificationStringInputRunner(BiConsumer, DynamicClassifyOptions> testRunner) { - testRunner.accept( - DYNAMIC_CLASSIFICATION, - new DynamicClassifyOptions() - .setClassificationType(ClassificationType.MULTI) - .setIncludeStatistics(true)); - } - - void dynamicClassificationBatchWarningRunner( - BiConsumer, DynamicClassifyOptions> testRunner) { - testRunner.accept( - getWarningsTextDocumentInputs(), - new DynamicClassifyOptions() - .setClassificationType(ClassificationType.MULTI) - .setIncludeStatistics(true) - ); - } - String getEndpoint(boolean isStaticResource) { return interceptorManager.isPlaybackMode() ? "https://localhost:8080" : isStaticResource ? AZURE_TEXT_ANALYTICS_CUSTOM_TEXT_ENDPOINT : AZURE_TEXT_ANALYTICS_ENDPOINT; @@ -1600,21 +1542,6 @@ static void validateExtractKeyPhrasesResultCollectionWithResponse(boolean showSt validateExtractKeyPhrasesResultCollection(showStatistics, expected, response.getValue()); } - static void validateDynamicClassifyDocumentResultCollectionWithResponse(boolean showStatistics, - DynamicClassifyDocumentResultCollection expected, int expectedStatusCode, - Response response) { - assertNotNull(response); - assertEquals(expectedStatusCode, response.getStatusCode()); - validateDynamicClassifyDocumentResultCollection(showStatistics, expected, response.getValue()); - } - - static void validateDynamicClassifyDocumentResultCollection(boolean showStatistics, - DynamicClassifyDocumentResultCollection expected, DynamicClassifyDocumentResultCollection actual) { - validateTextAnalyticsResult(showStatistics, expected, actual, (expectedItem, actualItem) -> { - validateClassifyDocumentResult(expectedItem, actualItem); - }); - } - static void validateClassifyDocumentResult(ClassifyDocumentResult expect, ClassifyDocumentResult actual) { assertEquals(expect.getId(), actual.getId()); @@ -2220,9 +2147,6 @@ static > void validat } else if (expectedResults instanceof DetectLanguageResultCollection) { validateBatchStatistics(((DetectLanguageResultCollection) expectedResults).getStatistics(), ((DetectLanguageResultCollection) actualResults).getStatistics()); - } else if (expectedResults instanceof DynamicClassifyDocumentResultCollection) { - validateBatchStatistics(((DynamicClassifyDocumentResultCollection) expectedResults).getStatistics(), - ((DynamicClassifyDocumentResultCollection) actualResults).getStatistics()); } else if (expectedResults instanceof ExtractKeyPhrasesResultCollection) { validateBatchStatistics(((ExtractKeyPhrasesResultCollection) expectedResults).getStatistics(), ((ExtractKeyPhrasesResultCollection) actualResults).getStatistics()); @@ -2251,8 +2175,6 @@ static > void validat assertNull(((ClassifyDocumentResultCollection) actualResults).getStatistics()); } else if (expectedResults instanceof DetectLanguageResultCollection) { assertNull(((DetectLanguageResultCollection) actualResults).getStatistics()); - } else if (expectedResults instanceof DynamicClassifyDocumentResultCollection) { - assertNull(((DynamicClassifyDocumentResultCollection) actualResults).getStatistics()); } else if (expectedResults instanceof ExtractKeyPhrasesResultCollection) { assertNull(((ExtractKeyPhrasesResultCollection) actualResults).getStatistics()); } else if (expectedResults instanceof ExtractSummaryResultCollection) { diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.dynamicClassificationBatchWarning[1].json b/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.dynamicClassificationBatchWarning[1].json deleted file mode 100644 index 9d64992d5b5f..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.dynamicClassificationBatchWarning[1].json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/language/:analyze-text?api-version=2022-10-01-preview&showStats=true", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.3.0-beta.1 (11.0.10; Windows 10; 10.0)", - "x-ms-client-request-id" : "823af004-8127-42f5-84ed-e6433fdf6502", - "Content-Type" : "application/json" - }, - "Response" : { - "x-ms-region" : "West US 2", - "content-length" : "790", - "x-envoy-upstream-service-time" : "977", - "apim-request-id" : "908c79ae-0505-4683-8fef-437624fc2f2c", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Wed, 02 Nov 2022 09:11:12 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "csp-billing-usage" : "CognitiveServices.TextAnalytics.BatchScoring=0,CognitiveServices.TextAnalytics.TextRecords=2", - "Set-Cookie" : ".AspNetCore.Mvc.CookieTempDataProvider=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; samesite=lax; httponly", - "Body" : "{\"kind\":\"DynamicClassificationResults\",\"results\":{\"statistics\":{\"documentsCount\":2,\"validDocumentsCount\":2,\"erroneousDocumentsCount\":0,\"transactionsCount\":0},\"documents\":[{\"id\":\"0\",\"classifications\":[{\"category\":\"Health\",\"confidenceScore\":0.35},{\"category\":\"Politics\",\"confidenceScore\":0.29},{\"category\":\"Music\",\"confidenceScore\":0.19},{\"category\":\"Sports\",\"confidenceScore\":0.17}],\"statistics\":{\"charactersCount\":355,\"transactionsCount\":1},\"warnings\":[]},{\"id\":\"1\",\"classifications\":[{\"category\":\"Health\",\"confidenceScore\":0.34},{\"category\":\"Music\",\"confidenceScore\":0.31},{\"category\":\"Politics\",\"confidenceScore\":0.19},{\"category\":\"Sports\",\"confidenceScore\":0.16}],\"statistics\":{\"charactersCount\":20,\"transactionsCount\":1},\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2022-10-01-preview\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.dynamicClassificationDuplicateIdInput[1].json b/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.dynamicClassificationDuplicateIdInput[1].json deleted file mode 100644 index dfb70b689354..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.dynamicClassificationDuplicateIdInput[1].json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/language/:analyze-text?api-version=2022-10-01-preview&showStats=false", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.3.0-beta.1 (11.0.10; Windows 10; 10.0)", - "x-ms-client-request-id" : "e54e8111-9575-470e-a8b6-4d381d2ea86a", - "Content-Type" : "application/json" - }, - "Response" : { - "Transfer-Encoding" : "chunked", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "5", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "7c10d0b6-f5cd-497d-a01c-0a5812f76525", - "retry-after" : "0", - "StatusCode" : "400", - "Body" : "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Invalid parameter in request\",\"innererror\":{\"code\":\"InvalidParameterValue\",\"message\":\"Parameter 'categories' cannot be empty or contain less than 2 categories\"}}}", - "Date" : "Wed, 02 Nov 2022 16:14:38 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.dynamicClassificationMaxOverload[1].json b/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.dynamicClassificationMaxOverload[1].json deleted file mode 100644 index dc3a67b59011..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.dynamicClassificationMaxOverload[1].json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/language/:analyze-text?api-version=2022-10-01-preview&showStats=true", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.3.0-beta.1 (11.0.10; Windows 10; 10.0)", - "x-ms-client-request-id" : "56a5d2a7-cbb5-40c0-8416-ef7f523eb9ff", - "Content-Type" : "application/json" - }, - "Response" : { - "x-ms-region" : "West US 2", - "content-length" : "786", - "x-envoy-upstream-service-time" : "267", - "apim-request-id" : "351e5cc1-2fc5-43b0-b126-ec53e25e762c", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Wed, 02 Nov 2022 09:12:25 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "csp-billing-usage" : "CognitiveServices.TextAnalytics.BatchScoring=0,CognitiveServices.TextAnalytics.TextRecords=2", - "Set-Cookie" : ".AspNetCore.Mvc.CookieTempDataProvider=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; samesite=lax; httponly", - "Body" : "{\"kind\":\"DynamicClassificationResults\",\"results\":{\"statistics\":{\"documentsCount\":2,\"validDocumentsCount\":2,\"erroneousDocumentsCount\":0,\"transactionsCount\":0},\"documents\":[{\"id\":\"0\",\"classifications\":[{\"category\":\"Health\",\"confidenceScore\":0.88},{\"category\":\"Music\",\"confidenceScore\":0.04},{\"category\":\"Sports\",\"confidenceScore\":0.04},{\"category\":\"Politics\",\"confidenceScore\":0.03}],\"statistics\":{\"charactersCount\":46,\"transactionsCount\":1},\"warnings\":[]},{\"id\":\"1\",\"classifications\":[{\"category\":\"Sports\",\"confidenceScore\":0.99},{\"category\":\"Music\",\"confidenceScore\":0.0},{\"category\":\"Health\",\"confidenceScore\":0.0},{\"category\":\"Politics\",\"confidenceScore\":0.0}],\"statistics\":{\"charactersCount\":42,\"transactionsCount\":1},\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2022-10-01-preview\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.dynamicClassificationStringInput[1].json b/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.dynamicClassificationStringInput[1].json deleted file mode 100644 index d5c2b5cf3a96..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.dynamicClassificationStringInput[1].json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/language/:analyze-text?api-version=2022-10-01-preview&showStats=true", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.3.0-beta.1 (11.0.10; Windows 10; 10.0)", - "x-ms-client-request-id" : "23f553f5-ad0d-45f2-95b1-466a02d049d5", - "Content-Type" : "application/json" - }, - "Response" : { - "x-ms-region" : "West US 2", - "content-length" : "786", - "x-envoy-upstream-service-time" : "352", - "apim-request-id" : "516fbfef-7c5d-472e-997a-2f6dbe3a7645", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Wed, 02 Nov 2022 09:12:10 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "csp-billing-usage" : "CognitiveServices.TextAnalytics.BatchScoring=0,CognitiveServices.TextAnalytics.TextRecords=2", - "Set-Cookie" : ".AspNetCore.Mvc.CookieTempDataProvider=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; samesite=lax; httponly", - "Body" : "{\"kind\":\"DynamicClassificationResults\",\"results\":{\"statistics\":{\"documentsCount\":2,\"validDocumentsCount\":2,\"erroneousDocumentsCount\":0,\"transactionsCount\":0},\"documents\":[{\"id\":\"0\",\"classifications\":[{\"category\":\"Health\",\"confidenceScore\":0.88},{\"category\":\"Music\",\"confidenceScore\":0.04},{\"category\":\"Sports\",\"confidenceScore\":0.04},{\"category\":\"Politics\",\"confidenceScore\":0.03}],\"statistics\":{\"charactersCount\":46,\"transactionsCount\":1},\"warnings\":[]},{\"id\":\"1\",\"classifications\":[{\"category\":\"Sports\",\"confidenceScore\":0.99},{\"category\":\"Music\",\"confidenceScore\":0.0},{\"category\":\"Health\",\"confidenceScore\":0.0},{\"category\":\"Politics\",\"confidenceScore\":0.0}],\"statistics\":{\"charactersCount\":42,\"transactionsCount\":1},\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2022-10-01-preview\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.dynamicClassificationBatchWarning[1].json b/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.dynamicClassificationBatchWarning[1].json deleted file mode 100644 index 5141b5343d4b..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.dynamicClassificationBatchWarning[1].json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/language/:analyze-text?api-version=2022-10-01-preview&showStats=true", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.3.0-beta.1 (11.0.10; Windows 10; 10.0)", - "x-ms-client-request-id" : "f754f66d-2099-4637-a5d2-6b6b34f41050", - "Content-Type" : "application/json" - }, - "Response" : { - "x-ms-region" : "West US 2", - "content-length" : "790", - "x-envoy-upstream-service-time" : "1102", - "apim-request-id" : "9c697a27-5558-40c1-8f5c-7fb42ea919e1", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Wed, 02 Nov 2022 09:15:45 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "csp-billing-usage" : "CognitiveServices.TextAnalytics.BatchScoring=0,CognitiveServices.TextAnalytics.TextRecords=2", - "Set-Cookie" : ".AspNetCore.Mvc.CookieTempDataProvider=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; samesite=lax; httponly", - "Body" : "{\"kind\":\"DynamicClassificationResults\",\"results\":{\"statistics\":{\"documentsCount\":2,\"validDocumentsCount\":2,\"erroneousDocumentsCount\":0,\"transactionsCount\":0},\"documents\":[{\"id\":\"0\",\"classifications\":[{\"category\":\"Health\",\"confidenceScore\":0.35},{\"category\":\"Politics\",\"confidenceScore\":0.29},{\"category\":\"Music\",\"confidenceScore\":0.19},{\"category\":\"Sports\",\"confidenceScore\":0.17}],\"statistics\":{\"charactersCount\":355,\"transactionsCount\":1},\"warnings\":[]},{\"id\":\"1\",\"classifications\":[{\"category\":\"Health\",\"confidenceScore\":0.34},{\"category\":\"Music\",\"confidenceScore\":0.31},{\"category\":\"Politics\",\"confidenceScore\":0.19},{\"category\":\"Sports\",\"confidenceScore\":0.16}],\"statistics\":{\"charactersCount\":20,\"transactionsCount\":1},\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2022-10-01-preview\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.dynamicClassificationDuplicateIdInput[1].json b/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.dynamicClassificationDuplicateIdInput[1].json deleted file mode 100644 index f674353a2045..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.dynamicClassificationDuplicateIdInput[1].json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/language/:analyze-text?api-version=2022-10-01-preview&showStats=false", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.3.0-beta.1 (11.0.10; Windows 10; 10.0)", - "x-ms-client-request-id" : "25e129b1-7b44-42d3-925f-46930585a9b4", - "Content-Type" : "application/json" - }, - "Response" : { - "Transfer-Encoding" : "chunked", - "x-ms-region" : "West US 2", - "x-envoy-upstream-service-time" : "5", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "apim-request-id" : "855d2974-6a46-4510-98ed-e275693dcb33", - "retry-after" : "0", - "StatusCode" : "400", - "Body" : "{\"error\":{\"code\":\"InvalidRequest\",\"message\":\"Invalid parameter in request\",\"innererror\":{\"code\":\"InvalidParameterValue\",\"message\":\"Parameter 'categories' cannot be empty or contain less than 2 categories\"}}}", - "Date" : "Wed, 02 Nov 2022 16:15:31 GMT", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.dynamicClassificationMaxOverload[1].json b/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.dynamicClassificationMaxOverload[1].json deleted file mode 100644 index 3050dd5fad18..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.dynamicClassificationMaxOverload[1].json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/language/:analyze-text?api-version=2022-10-01-preview&showStats=true", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.3.0-beta.1 (11.0.10; Windows 10; 10.0)", - "x-ms-client-request-id" : "4f7192ff-db79-43c2-8970-4d62dc6f1c3c", - "Content-Type" : "application/json" - }, - "Response" : { - "x-ms-region" : "West US 2", - "content-length" : "786", - "x-envoy-upstream-service-time" : "294", - "apim-request-id" : "03bd9b2c-9c64-467c-b00b-e25588945765", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Wed, 02 Nov 2022 09:06:28 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "csp-billing-usage" : "CognitiveServices.TextAnalytics.BatchScoring=0,CognitiveServices.TextAnalytics.TextRecords=2", - "Set-Cookie" : ".AspNetCore.Mvc.CookieTempDataProvider=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; samesite=lax; httponly", - "Body" : "{\"kind\":\"DynamicClassificationResults\",\"results\":{\"statistics\":{\"documentsCount\":2,\"validDocumentsCount\":2,\"erroneousDocumentsCount\":0,\"transactionsCount\":0},\"documents\":[{\"id\":\"0\",\"classifications\":[{\"category\":\"Health\",\"confidenceScore\":0.88},{\"category\":\"Music\",\"confidenceScore\":0.04},{\"category\":\"Sports\",\"confidenceScore\":0.04},{\"category\":\"Politics\",\"confidenceScore\":0.03}],\"statistics\":{\"charactersCount\":46,\"transactionsCount\":1},\"warnings\":[]},{\"id\":\"1\",\"classifications\":[{\"category\":\"Sports\",\"confidenceScore\":0.99},{\"category\":\"Music\",\"confidenceScore\":0.0},{\"category\":\"Health\",\"confidenceScore\":0.0},{\"category\":\"Politics\",\"confidenceScore\":0.0}],\"statistics\":{\"charactersCount\":42,\"transactionsCount\":1},\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2022-10-01-preview\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.dynamicClassificationStringInput[1].json b/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.dynamicClassificationStringInput[1].json deleted file mode 100644 index 5eda55402fba..000000000000 --- a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.dynamicClassificationStringInput[1].json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "POST", - "Uri" : "https://REDACTED.cognitiveservices.azure.com/language/:analyze-text?api-version=2022-10-01-preview&showStats=true", - "Headers" : { - "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.3.0-beta.1 (11.0.10; Windows 10; 10.0)", - "x-ms-client-request-id" : "ad5a878d-82c6-45cd-9ab6-f189c7850db1", - "Content-Type" : "application/json" - }, - "Response" : { - "x-ms-region" : "West US 2", - "content-length" : "786", - "x-envoy-upstream-service-time" : "393", - "apim-request-id" : "c4cda938-d5cd-4acd-b401-cd80250a5fa1", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Wed, 02 Nov 2022 09:08:40 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", - "x-content-type-options" : "nosniff", - "csp-billing-usage" : "CognitiveServices.TextAnalytics.BatchScoring=0,CognitiveServices.TextAnalytics.TextRecords=2", - "Set-Cookie" : ".AspNetCore.Mvc.CookieTempDataProvider=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; samesite=lax; httponly", - "Body" : "{\"kind\":\"DynamicClassificationResults\",\"results\":{\"statistics\":{\"documentsCount\":2,\"validDocumentsCount\":2,\"erroneousDocumentsCount\":0,\"transactionsCount\":0},\"documents\":[{\"id\":\"0\",\"classifications\":[{\"category\":\"Health\",\"confidenceScore\":0.88},{\"category\":\"Music\",\"confidenceScore\":0.04},{\"category\":\"Sports\",\"confidenceScore\":0.04},{\"category\":\"Politics\",\"confidenceScore\":0.03}],\"statistics\":{\"charactersCount\":46,\"transactionsCount\":1},\"warnings\":[]},{\"id\":\"1\",\"classifications\":[{\"category\":\"Sports\",\"confidenceScore\":0.99},{\"category\":\"Music\",\"confidenceScore\":0.0},{\"category\":\"Health\",\"confidenceScore\":0.0},{\"category\":\"Politics\",\"confidenceScore\":0.0}],\"statistics\":{\"charactersCount\":42,\"transactionsCount\":1},\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2022-10-01-preview\"}}", - "Content-Type" : "application/json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ ] -} \ No newline at end of file diff --git a/sdk/textanalytics/azure-ai-textanalytics/swagger/README.md b/sdk/textanalytics/azure-ai-textanalytics/swagger/README.md index 18cb83b5dcd2..f26bba79eadc 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/swagger/README.md +++ b/sdk/textanalytics/azure-ai-textanalytics/swagger/README.md @@ -31,8 +31,8 @@ autorest --java --use:@autorest/java@4.1.9 README.md ### Code generation settings ``` yaml -use: '@autorest/java@4.1.2' -input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/527f6d35fb0d85c48210ca0f6f6f42814d63bd33/specification/cognitiveservices/data-plane/Language/preview/2022-10-01-preview/analyzetext.json +use: '@autorest/java@4.1.9' +input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/72664c83300dfaf6782e22822a5aae0b0df92735/specification/cognitiveservices/data-plane/Language/preview/2022-10-01-preview/analyzetext.json java: true output-folder: ..\ generate-client-as-impl: true From 148b7041da58f783dd0b128b243af3dfa4b4a161 Mon Sep 17 00:00:00 2001 From: Srikanta <51379715+srnagar@users.noreply.github.com> Date: Tue, 21 Mar 2023 11:55:24 -0700 Subject: [PATCH 03/35] Azure Monitor Query: Enable resource-centric logs queries (#34012) * Azure Monitor Query: Enable resource-centric logs queries * fix javadocs --- sdk/monitor/azure-monitor-query/pom.xml | 2 + .../monitor/query/LogsQueryAsyncClient.java | 164 +++++ .../azure/monitor/query/LogsQueryClient.java | 127 ++++ .../logs/AzureLogAnalyticsImplBuilder.java | 15 +- .../implementation/logs/QueriesImpl.java | 694 ++++++++++++++++++ .../query/LogsQueryResourceSample.java | 62 ++ .../query/LogsQueryResourceWithModels.java | 35 + .../LogsQueryClientJavaDocCodeSnippets.java | 86 ++- .../query/LogsQueryAsyncClientTest.java | 57 ++ .../monitor/query/LogsQueryClientTest.java | 42 +- ...ientTest.testBatchQueryPartialSuccess.json | 11 +- ...ryAsyncClientTest.testBatchStatistics.json | 11 +- ...ogsQueryAsyncClientTest.testLogsQuery.json | 11 +- ...eryAsyncClientTest.testLogsQueryBatch.json | 11 +- ...t.testLogsQueryBatchWithServerTimeout.json | 9 +- ...AsyncClientTest.testLogsResourceQuery.json | 27 + ...syncClientTest.testMultipleWorkspaces.json | 11 +- ...gsQueryAsyncClientTest.testStatistics.json | 13 +- ...lientTest.testStatisticsResourceQuery.json | 27 + ...ueryAsyncClientTest.testVisualization.json | 14 +- ...ntTest.testVisualizationResourceQuery.json | 27 + ...ientTest.testBatchQueryPartialSuccess.json | 11 +- ...gsQueryClientTest.testBatchStatistics.json | 11 +- .../LogsQueryClientTest.testLogsQuery.json | 12 +- ...ogsQueryClientTest.testLogsQueryBatch.json | 11 +- ...t.testLogsQueryBatchWithServerTimeout.json | 11 +- ...QueryClientTest.testLogsQueryResource.json | 27 + ...ueryClientTest.testMultipleWorkspaces.json | 12 +- .../LogsQueryClientTest.testStatistics.json | 14 +- ...lientTest.testStatisticsResourceQuery.json | 28 + ...LogsQueryClientTest.testVisualization.json | 15 +- ...ntTest.testVisualizationResourceQuery.json | 28 + .../azure-monitor-query/swagger/README.md | 10 +- 33 files changed, 1542 insertions(+), 104 deletions(-) create mode 100644 sdk/monitor/azure-monitor-query/src/samples/java/com/azure/monitor/query/LogsQueryResourceSample.java create mode 100644 sdk/monitor/azure-monitor-query/src/samples/java/com/azure/monitor/query/LogsQueryResourceWithModels.java create mode 100644 sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testLogsResourceQuery.json create mode 100644 sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testStatisticsResourceQuery.json create mode 100644 sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testVisualizationResourceQuery.json create mode 100644 sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testLogsQueryResource.json create mode 100644 sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testStatisticsResourceQuery.json create mode 100644 sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testVisualizationResourceQuery.json diff --git a/sdk/monitor/azure-monitor-query/pom.xml b/sdk/monitor/azure-monitor-query/pom.xml index a7bf3b04e49a..7f5855f15d61 100644 --- a/sdk/monitor/azure-monitor-query/pom.xml +++ b/sdk/monitor/azure-monitor-query/pom.xml @@ -30,8 +30,10 @@ true + --add-exports com.azure.core/com.azure.core.implementation=ALL-UNNAMED --add-exports com.azure.core/com.azure.core.implementation.jackson=ALL-UNNAMED --add-exports com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED + --add-exports com.azure.core.serializer.json/com.azure.core.serializer.json.jackson.implementation=ALL-UNNAMED --add-opens com.azure.monitor.query/com.azure.monitor.query=ALL-UNNAMED **/implementation/**/*.java diff --git a/sdk/monitor/azure-monitor-query/src/main/java/com/azure/monitor/query/LogsQueryAsyncClient.java b/sdk/monitor/azure-monitor-query/src/main/java/com/azure/monitor/query/LogsQueryAsyncClient.java index 38ef73dd884c..bf4cd87cdf10 100644 --- a/sdk/monitor/azure-monitor-query/src/main/java/com/azure/monitor/query/LogsQueryAsyncClient.java +++ b/sdk/monitor/azure-monitor-query/src/main/java/com/azure/monitor/query/LogsQueryAsyncClient.java @@ -259,6 +259,128 @@ public Mono> queryBatchWithResponse(Log return queryBatchWithResponse(logsBatchQuery, Context.NONE); } + /** + * Returns all the Azure Monitor logs matching the given query for an Azure resource. + * + *

Query logs from the last 24 hours

+ * + *
+     * Mono<LogsQueryResult> queryResult = logsQueryAsyncClient.queryResource("{resource-id}", "{kusto-query}",
+     *     QueryTimeInterval.LAST_DAY);
+     * queryResult.subscribe(result -> {
+     *     for (LogsTableRow row : result.getTable().getRows()) {
+     *         System.out.println(row.getRow()
+     *             .stream()
+     *             .map(LogsTableCell::getValueAsString)
+     *             .collect(Collectors.joining(",")));
+     *     }
+     * });
+     * 
+ * + * + * @param resourceId The resourceId where the query should be executed. + * @param query The Kusto query to fetch the logs. + * @param timeInterval The time period for which the logs should be looked up. + * @return The logs matching the query. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono queryResource(String resourceId, String query, QueryTimeInterval timeInterval) { + return queryResourceWithResponse(resourceId, query, timeInterval, new LogsQueryOptions()) + .map(Response::getValue); + } + + /** + * Returns all the Azure Monitor logs matching the given query for an Azure resource. + * + * @param resourceId The resourceId where the query should be executed. + * @param query The Kusto query to fetch the logs. + * @param timeInterval The time period for which the logs should be looked up. + * @param type The type the result of this query should be mapped to. + * @param The type the result of this query should be mapped to. + * @return The logs matching the query as a list of objects of type T. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> queryResource(String resourceId, String query, QueryTimeInterval timeInterval, Class type) { + return queryResource(resourceId, query, timeInterval) + .map(result -> LogsQueryHelper.toObject(result.getTable(), type)); + } + + /** + * Returns all the Azure Monitor logs matching the given query for an Azure resource. + * + * @param resourceId The resourceId where the query should be executed. + * @param query The Kusto query to fetch the logs. + * @param timeInterval The time period for which the logs should be looked up. + * @param type The type the result of this query should be mapped to. + * @param The type the result of this query should be mapped to. + * @param options The log query options to configure server timeout, set additional workspaces or enable + * statistics and rendering information in response. + * @return The logs matching the query as a list of objects of type T. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> queryResource(String resourceId, String query, QueryTimeInterval timeInterval, + Class type, LogsQueryOptions options) { + return queryResourceWithResponse(resourceId, query, timeInterval, options, Context.NONE) + .map(response -> LogsQueryHelper.toObject(response.getValue().getTable(), type)); + } + + /** + * Returns all the Azure Monitor logs matching the given query for an Azure resource. + * + *

Query logs from the last 7 days and set the service timeout to 2 minutes

+ * + * + *
+     * Mono<Response<LogsQueryResult>> queryResult = logsQueryAsyncClient.queryResourceWithResponse("{resource-id}",
+     *     "{kusto-query}",
+     *     QueryTimeInterval.LAST_7_DAYS,
+     *     new LogsQueryOptions().setServerTimeout(Duration.ofMinutes(2)));
+     *
+     * queryResult.subscribe(result -> {
+     *     for (LogsTableRow row : result.getValue().getTable().getRows()) {
+     *         System.out.println(row.getRow()
+     *             .stream()
+     *             .map(LogsTableCell::getValueAsString)
+     *             .collect(Collectors.joining(",")));
+     *     }
+     * });
+     * 
+ * + * + * @param resourceId The resourceId where the query should be executed. + * @param query The Kusto query to fetch the logs. + * @param timeInterval The time period for which the logs should be looked up. + * @param options The log query options to configure server timeout, set additional workspaces or enable + * statistics and rendering information in response. + * @return The logs matching the query. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> queryResourceWithResponse(String resourceId, String query, + QueryTimeInterval timeInterval, LogsQueryOptions options) { + return withContext(context -> queryResourceWithResponse(resourceId, query, timeInterval, options, context)); + } + + /** + * Returns all the Azure Monitor logs matching the given query for an Azure resource. + * + * @param resourceId The resourceId where the query should be executed. + * @param query The Kusto query to fetch the logs. + * @param timeInterval The time period for which the logs should be looked up. + * @param type The type the result of this query should be mapped to. + * @param The type the result of this query should be mapped to. + * @param options The log query options to configure server timeout, set additional workspaces or enable + * statistics and rendering information in response. + * @return The logs matching the query including the HTTP response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> queryResourceWithResponse(String resourceId, String query, QueryTimeInterval timeInterval, + Class type, LogsQueryOptions options) { + return queryResourceWithResponse(resourceId, query, timeInterval, options) + .map(response -> new SimpleResponse<>(response.getRequest(), + response.getStatusCode(), response.getHeaders(), + LogsQueryHelper.toObject(response.getValue().getTable(), type))); + } + Mono> queryBatchWithResponse(LogsBatchQuery logsBatchQuery, Context context) { List requests = LogsQueryHelper.getBatchQueries(logsBatchQuery); Duration maxServerTimeout = LogsQueryHelper.getMaxServerTimeout(logsBatchQuery); @@ -365,6 +487,48 @@ Mono> queryWorkspaceWithResponse(String workspaceId, S }); } + Mono> queryResourceWithResponse(String resourceId, String query, QueryTimeInterval timeInterval, + LogsQueryOptions options, Context context) { + if (resourceId != null && resourceId.startsWith("/")) { + resourceId = resourceId.substring(1); + } + String preferHeader = LogsQueryHelper.buildPreferHeaderString(options); + context = updateContext(options.getServerTimeout(), context); + + QueryBody queryBody = new QueryBody(query); + if (timeInterval != null) { + queryBody.setTimespan(LogsQueryHelper.toIso8601Format(timeInterval)); + } + queryBody.setWorkspaces(getAllWorkspaces(options)); + return innerClient + .getQueries() + .resourceExecuteWithResponseAsync(resourceId, + queryBody, + preferHeader, + context) + .onErrorMap(ex -> { + if (ex instanceof ErrorResponseException) { + ErrorResponseException error = (ErrorResponseException) ex; + ErrorInfo errorInfo = error.getValue().getError(); + return new HttpResponseException(error.getMessage(), error.getResponse(), + mapLogsQueryError(errorInfo)); + } + return ex; + }) + .map(this::convertToLogQueryResult) + .handle((Response response, SynchronousSink> sink) -> { + if (response.getValue().getQueryResultStatus() == LogsQueryResultStatus.PARTIAL_FAILURE + && !options.isAllowPartialErrors()) { + + sink.error(new ServiceResponseException("Query execution returned partial errors. To " + + "disable exceptions on partial errors, set setAllowPartialErrors in " + + "LogsQueryOptions to true.")); + } else { + sink.next(response); + } + }); + } + private Response convertToLogQueryResult(Response response) { QueryResults queryResults = response.getValue(); LogsQueryResult logsQueryResult = getLogsQueryResult(queryResults.getTables(), queryResults.getStatistics(), diff --git a/sdk/monitor/azure-monitor-query/src/main/java/com/azure/monitor/query/LogsQueryClient.java b/sdk/monitor/azure-monitor-query/src/main/java/com/azure/monitor/query/LogsQueryClient.java index ae810f56268a..eac5a8c51437 100644 --- a/sdk/monitor/azure-monitor-query/src/main/java/com/azure/monitor/query/LogsQueryClient.java +++ b/sdk/monitor/azure-monitor-query/src/main/java/com/azure/monitor/query/LogsQueryClient.java @@ -229,4 +229,131 @@ public Response queryBatchWithResponse(LogsBatch return asyncClient.queryBatchWithResponse(logsBatchQuery, context).block(); } + /** + * Returns all the Azure Monitor logs matching the given query for an Azure resource. + * + *

Query logs from the last 24 hours

+ * + * + *
+     * LogsQueryResult queryResult = logsQueryClient.queryResource("{resource-id}", "{kusto-query}",
+     *     QueryTimeInterval.LAST_DAY);
+     * for (LogsTableRow row : queryResult.getTable().getRows()) {
+     *     System.out.println(row.getRow()
+     *         .stream()
+     *         .map(LogsTableCell::getValueAsString)
+     *         .collect(Collectors.joining(",")));
+     * }
+     * 
+ * + * @param resourceId The resourceId where the query should be executed. + * @param query The Kusto query to fetch the logs. + * @param timeInterval The time period for which the logs should be looked up. + * @return The logs matching the query. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public LogsQueryResult queryResource(String resourceId, String query, QueryTimeInterval timeInterval) { + return asyncClient.queryResource(resourceId, query, timeInterval).block(); + } + + /** + * Returns all the Azure Monitor logs matching the given query for an Azure resource. + * @param resourceId The resourceId where the query should be executed. + * @param query The Kusto query to fetch the logs. + * @param timeInterval The time period for which the logs should be looked up. + * @param type The type the result of this query should be mapped to. + * @param The type the result of this query should be mapped to. + * @return The logs matching the query as a list of objects of type T. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public List queryResource(String resourceId, String query, QueryTimeInterval timeInterval, Class type) { + LogsQueryResult logsQueryResult = asyncClient.queryResource(resourceId, query, timeInterval).block(); + if (logsQueryResult != null) { + return LogsQueryHelper.toObject(logsQueryResult.getTable(), type); + } + return null; + } + + /** + * Returns all the Azure Monitor logs matching the given query for an Azure resource. + * @param resourceId The resourceId where the query should be executed. + * @param query The Kusto query to fetch the logs. + * @param timeInterval The time period for which the logs should be looked up. + * @param type The type the result of this query should be mapped to. + * @param options The log query options to configure server timeout, set additional workspaces or enable + * statistics and rendering information in response. + * @param The type the result of this query should be mapped to. + * @return The logs matching the query as a list of objects of type T. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public List queryResource(String resourceId, String query, QueryTimeInterval timeInterval, + Class type, LogsQueryOptions options) { + LogsQueryResult logsQueryResult = queryResourceWithResponse(resourceId, query, timeInterval, options, Context.NONE) + .getValue(); + if (logsQueryResult != null) { + return LogsQueryHelper.toObject(logsQueryResult.getTable(), type); + } + return null; + } + + /** + * Returns all the Azure Monitor logs matching the given query for an Azure resource. + * + *

Query logs from the last 7 days and set the service timeout to 2 minutes

+ * + * + *
+     * Response<LogsQueryResult> queryResult = logsQueryClient.queryResourceWithResponse("{resource-id}",
+     *     "{kusto-query}",
+     *     QueryTimeInterval.LAST_7_DAYS,
+     *     new LogsQueryOptions().setServerTimeout(Duration.ofMinutes(2)),
+     *     Context.NONE);
+     *
+     * for (LogsTableRow row : queryResult.getValue().getTable().getRows()) {
+     *     System.out.println(row.getRow()
+     *         .stream()
+     *         .map(LogsTableCell::getValueAsString)
+     *         .collect(Collectors.joining(",")));
+     * }
+     * 
+ * + * @param resourceId The resourceId where the query should be executed. + * @param query The Kusto query to fetch the logs. + * @param timeInterval The time period for which the logs should be looked up. + * @param options The log query options to configure server timeout, set additional workspaces or enable + * statistics and rendering information in response. + * @param context Additional context that is passed through the Http pipeline during the service call. If no + * additional context is required, pass {@link Context#NONE} instead. + * @return The logs matching the query including the HTTP response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response queryResourceWithResponse(String resourceId, String query, QueryTimeInterval timeInterval, + LogsQueryOptions options, Context context) { + return asyncClient.queryResourceWithResponse(resourceId, query, timeInterval, options, context).block(); + } + + /** + * Returns all the Azure Monitor logs matching the given query for an Azure resource. + * + * @param resourceId The resourceId where the query should be executed. + * @param query The Kusto query to fetch the logs. + * @param timeInterval The time period for which the logs should be looked up. + * @param type The type the result of this query should be mapped to. + * @param The type the result of this query should be mapped to. + * @param options The log query options to configure server timeout, set additional workspaces or enable + * statistics and rendering information in response. + * @param context Additional context that is passed through the Http pipeline during the service call. If no + * additional context is required, pass {@link Context#NONE} instead. + * @return The logs matching the query including the HTTP response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response> queryResourceWithResponse(String resourceId, String query, QueryTimeInterval timeInterval, + Class type, LogsQueryOptions options, Context context) { + return asyncClient.queryResourceWithResponse(resourceId, query, timeInterval, options, context) + .map(response -> new SimpleResponse<>(response.getRequest(), + response.getStatusCode(), response.getHeaders(), + LogsQueryHelper.toObject(response.getValue().getTable(), type))) + .block(); + } + } diff --git a/sdk/monitor/azure-monitor-query/src/main/java/com/azure/monitor/query/implementation/logs/AzureLogAnalyticsImplBuilder.java b/sdk/monitor/azure-monitor-query/src/main/java/com/azure/monitor/query/implementation/logs/AzureLogAnalyticsImplBuilder.java index 1f6537e87515..d74994318132 100644 --- a/sdk/monitor/azure-monitor-query/src/main/java/com/azure/monitor/query/implementation/logs/AzureLogAnalyticsImplBuilder.java +++ b/sdk/monitor/azure-monitor-query/src/main/java/com/azure/monitor/query/implementation/logs/AzureLogAnalyticsImplBuilder.java @@ -38,7 +38,6 @@ import java.util.List; import java.util.Map; import java.util.Objects; -import java.util.stream.Collectors; /** A builder for creating a new instance of the AzureLogAnalytics type. */ @ServiceClientBuilder(serviceClients = {AzureLogAnalyticsImpl.class}) @@ -245,10 +244,9 @@ private HttpPipeline createHttpPipeline() { if (headers.getSize() > 0) { policies.add(new AddHeadersPolicy(headers)); } - policies.addAll( - this.pipelinePolicies.stream() - .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL) - .collect(Collectors.toList())); + this.pipelinePolicies.stream() + .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL) + .forEach(p -> policies.add(p)); HttpPolicyProviders.addBeforeRetryPolicies(policies); policies.add(ClientBuilderUtil.validateAndGetRetryPolicy(retryPolicy, retryOptions, new RetryPolicy())); policies.add(new AddDatePolicy()); @@ -257,10 +255,9 @@ private HttpPipeline createHttpPipeline() { String localHost = (host != null) ? host : "https://api.loganalytics.io"; policies.add(new BearerTokenAuthenticationPolicy(tokenCredential, String.format("%s/.default", localHost))); } - policies.addAll( - this.pipelinePolicies.stream() - .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY) - .collect(Collectors.toList())); + this.pipelinePolicies.stream() + .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY) + .forEach(p -> policies.add(p)); HttpPolicyProviders.addAfterRetryPolicies(policies); policies.add(new HttpLoggingPolicy(httpLogOptions)); HttpPipeline httpPipeline = diff --git a/sdk/monitor/azure-monitor-query/src/main/java/com/azure/monitor/query/implementation/logs/QueriesImpl.java b/sdk/monitor/azure-monitor-query/src/main/java/com/azure/monitor/query/implementation/logs/QueriesImpl.java index ab9525592003..c36e4b9d6d66 100644 --- a/sdk/monitor/azure-monitor-query/src/main/java/com/azure/monitor/query/implementation/logs/QueriesImpl.java +++ b/sdk/monitor/azure-monitor-query/src/main/java/com/azure/monitor/query/implementation/logs/QueriesImpl.java @@ -76,6 +76,28 @@ Mono> execute( @HeaderParam("Accept") String accept, Context context); + @Get("/{resourceId}/query") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ErrorResponseException.class) + Mono> resourceGet( + @HostParam("$host") String host, + @PathParam(value = "resourceId", encoded = true) String resourceId, + @QueryParam("query") String query, + @QueryParam("timespan") Duration timespan, + @HeaderParam("Accept") String accept, + Context context); + + @Post("/{resourceId}/query") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ErrorResponseException.class) + Mono> resourceExecute( + @HostParam("$host") String host, + @PathParam(value = "resourceId", encoded = true) String resourceId, + @HeaderParam("Prefer") String prefer, + @BodyParam("application/json") QueryBody body, + @HeaderParam("Accept") String accept, + Context context); + @Post("/$batch") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ErrorResponseException.class) @@ -84,6 +106,28 @@ Mono> batch( @BodyParam("application/json") BatchRequest body, @HeaderParam("Accept") String accept, Context context); + + @Get("/{resourceId}/query") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ErrorResponseException.class) + Mono> resourceGetXms( + @HostParam("$host") String host, + @PathParam(value = "resourceId", encoded = true) String resourceId, + @QueryParam("query") String query, + @QueryParam("timespan") Duration timespan, + @HeaderParam("Accept") String accept, + Context context); + + @Post("/{resourceId}/query") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ErrorResponseException.class) + Mono> resourceExecuteXms( + @HostParam("$host") String host, + @PathParam(value = "resourceId", encoded = true) String resourceId, + @HeaderParam("Prefer") String prefer, + @BodyParam("application/json") QueryBody body, + @HeaderParam("Accept") String accept, + Context context); } /** @@ -388,6 +432,330 @@ public QueryResults execute(String workspaceId, QueryBody body, String prefer) { return executeWithResponse(workspaceId, body, prefer, Context.NONE).getValue(); } + /** + * Execute an Analytics query using resource URI + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param query The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param timespan Optional. The timespan over which to query data. This is an ISO8601 time period value. This + * timespan is applied in addition to any that are specified in the query expression. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> resourceGetWithResponseAsync( + String resourceId, String query, Duration timespan) { + if (this.client.getHost() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getHost() is required and cannot be null.")); + } + if (resourceId == null) { + return Mono.error(new IllegalArgumentException("Parameter resourceId is required and cannot be null.")); + } + if (query == null) { + return Mono.error(new IllegalArgumentException("Parameter query is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil.withContext( + context -> service.resourceGet(this.client.getHost(), resourceId, query, timespan, accept, context)); + } + + /** + * Execute an Analytics query using resource URI + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param query The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param timespan Optional. The timespan over which to query data. This is an ISO8601 time period value. This + * timespan is applied in addition to any that are specified in the query expression. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> resourceGetWithResponseAsync( + String resourceId, String query, Duration timespan, Context context) { + if (this.client.getHost() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getHost() is required and cannot be null.")); + } + if (resourceId == null) { + return Mono.error(new IllegalArgumentException("Parameter resourceId is required and cannot be null.")); + } + if (query == null) { + return Mono.error(new IllegalArgumentException("Parameter query is required and cannot be null.")); + } + final String accept = "application/json"; + return service.resourceGet(this.client.getHost(), resourceId, query, timespan, accept, context); + } + + /** + * Execute an Analytics query using resource URI + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param query The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param timespan Optional. The timespan over which to query data. This is an ISO8601 time period value. This + * timespan is applied in addition to any that are specified in the query expression. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono resourceGetAsync(String resourceId, String query, Duration timespan) { + return resourceGetWithResponseAsync(resourceId, query, timespan) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Execute an Analytics query using resource URI + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param query The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param timespan Optional. The timespan over which to query data. This is an ISO8601 time period value. This + * timespan is applied in addition to any that are specified in the query expression. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono resourceGetAsync(String resourceId, String query, Duration timespan, Context context) { + return resourceGetWithResponseAsync(resourceId, query, timespan, context) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Execute an Analytics query using resource URI + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param query The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param timespan Optional. The timespan over which to query data. This is an ISO8601 time period value. This + * timespan is applied in addition to any that are specified in the query expression. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response resourceGetWithResponse( + String resourceId, String query, Duration timespan, Context context) { + return resourceGetWithResponseAsync(resourceId, query, timespan, context).block(); + } + + /** + * Execute an Analytics query using resource URI + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param query The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param timespan Optional. The timespan over which to query data. This is an ISO8601 time period value. This + * timespan is applied in addition to any that are specified in the query expression. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public QueryResults resourceGet(String resourceId, String query, Duration timespan) { + return resourceGetWithResponse(resourceId, query, timespan, Context.NONE).getValue(); + } + + /** + * Execute an Analytics query using resource ID + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param body The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param prefer Optional. The prefer header to set server timeout, query statistics and visualization information. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> resourceExecuteWithResponseAsync( + String resourceId, QueryBody body, String prefer) { + if (this.client.getHost() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getHost() is required and cannot be null.")); + } + if (resourceId == null) { + return Mono.error(new IllegalArgumentException("Parameter resourceId is required and cannot be null.")); + } + if (body == null) { + return Mono.error(new IllegalArgumentException("Parameter body is required and cannot be null.")); + } else { + body.validate(); + } + final String accept = "application/json"; + return FluxUtil.withContext( + context -> service.resourceExecute(this.client.getHost(), resourceId, prefer, body, accept, context)); + } + + /** + * Execute an Analytics query using resource ID + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param body The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param prefer Optional. The prefer header to set server timeout, query statistics and visualization information. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> resourceExecuteWithResponseAsync( + String resourceId, QueryBody body, String prefer, Context context) { + if (this.client.getHost() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getHost() is required and cannot be null.")); + } + if (resourceId == null) { + return Mono.error(new IllegalArgumentException("Parameter resourceId is required and cannot be null.")); + } + if (body == null) { + return Mono.error(new IllegalArgumentException("Parameter body is required and cannot be null.")); + } else { + body.validate(); + } + final String accept = "application/json"; + return service.resourceExecute(this.client.getHost(), resourceId, prefer, body, accept, context); + } + + /** + * Execute an Analytics query using resource ID + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param body The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param prefer Optional. The prefer header to set server timeout, query statistics and visualization information. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono resourceExecuteAsync(String resourceId, QueryBody body, String prefer) { + return resourceExecuteWithResponseAsync(resourceId, body, prefer) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Execute an Analytics query using resource ID + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param body The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param prefer Optional. The prefer header to set server timeout, query statistics and visualization information. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono resourceExecuteAsync(String resourceId, QueryBody body, String prefer, Context context) { + return resourceExecuteWithResponseAsync(resourceId, body, prefer, context) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Execute an Analytics query using resource ID + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param body The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param prefer Optional. The prefer header to set server timeout, query statistics and visualization information. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response resourceExecuteWithResponse( + String resourceId, QueryBody body, String prefer, Context context) { + return resourceExecuteWithResponseAsync(resourceId, body, prefer, context).block(); + } + + /** + * Execute an Analytics query using resource ID + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param body The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param prefer Optional. The prefer header to set server timeout, query statistics and visualization information. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public QueryResults resourceExecute(String resourceId, QueryBody body, String prefer) { + return resourceExecuteWithResponse(resourceId, body, prefer, Context.NONE).getValue(); + } + /** * Execute a batch of Analytics queries * @@ -518,4 +886,330 @@ public Response batchWithResponse(BatchRequest body, Context cont public BatchResponse batch(BatchRequest body) { return batchWithResponse(body, Context.NONE).getValue(); } + + /** + * Execute an Analytics query using resource URI + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param query The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param timespan Optional. The timespan over which to query data. This is an ISO8601 time period value. This + * timespan is applied in addition to any that are specified in the query expression. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> resourceGetXmsWithResponseAsync( + String resourceId, String query, Duration timespan) { + if (this.client.getHost() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getHost() is required and cannot be null.")); + } + if (resourceId == null) { + return Mono.error(new IllegalArgumentException("Parameter resourceId is required and cannot be null.")); + } + if (query == null) { + return Mono.error(new IllegalArgumentException("Parameter query is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil.withContext( + context -> service.resourceGetXms(this.client.getHost(), resourceId, query, timespan, accept, context)); + } + + /** + * Execute an Analytics query using resource URI + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param query The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param timespan Optional. The timespan over which to query data. This is an ISO8601 time period value. This + * timespan is applied in addition to any that are specified in the query expression. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> resourceGetXmsWithResponseAsync( + String resourceId, String query, Duration timespan, Context context) { + if (this.client.getHost() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getHost() is required and cannot be null.")); + } + if (resourceId == null) { + return Mono.error(new IllegalArgumentException("Parameter resourceId is required and cannot be null.")); + } + if (query == null) { + return Mono.error(new IllegalArgumentException("Parameter query is required and cannot be null.")); + } + final String accept = "application/json"; + return service.resourceGetXms(this.client.getHost(), resourceId, query, timespan, accept, context); + } + + /** + * Execute an Analytics query using resource URI + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param query The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param timespan Optional. The timespan over which to query data. This is an ISO8601 time period value. This + * timespan is applied in addition to any that are specified in the query expression. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono resourceGetXmsAsync(String resourceId, String query, Duration timespan) { + return resourceGetXmsWithResponseAsync(resourceId, query, timespan) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Execute an Analytics query using resource URI + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param query The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param timespan Optional. The timespan over which to query data. This is an ISO8601 time period value. This + * timespan is applied in addition to any that are specified in the query expression. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono resourceGetXmsAsync(String resourceId, String query, Duration timespan, Context context) { + return resourceGetXmsWithResponseAsync(resourceId, query, timespan, context) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Execute an Analytics query using resource URI + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param query The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param timespan Optional. The timespan over which to query data. This is an ISO8601 time period value. This + * timespan is applied in addition to any that are specified in the query expression. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response resourceGetXmsWithResponse( + String resourceId, String query, Duration timespan, Context context) { + return resourceGetXmsWithResponseAsync(resourceId, query, timespan, context).block(); + } + + /** + * Execute an Analytics query using resource URI + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param query The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param timespan Optional. The timespan over which to query data. This is an ISO8601 time period value. This + * timespan is applied in addition to any that are specified in the query expression. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public QueryResults resourceGetXms(String resourceId, String query, Duration timespan) { + return resourceGetXmsWithResponse(resourceId, query, timespan, Context.NONE).getValue(); + } + + /** + * Execute an Analytics query using resource ID + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param body The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param prefer Optional. The prefer header to set server timeout, query statistics and visualization information. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> resourceExecuteXmsWithResponseAsync( + String resourceId, QueryBody body, String prefer) { + if (this.client.getHost() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getHost() is required and cannot be null.")); + } + if (resourceId == null) { + return Mono.error(new IllegalArgumentException("Parameter resourceId is required and cannot be null.")); + } + if (body == null) { + return Mono.error(new IllegalArgumentException("Parameter body is required and cannot be null.")); + } else { + body.validate(); + } + final String accept = "application/json"; + return FluxUtil.withContext( + context -> + service.resourceExecuteXms(this.client.getHost(), resourceId, prefer, body, accept, context)); + } + + /** + * Execute an Analytics query using resource ID + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param body The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param prefer Optional. The prefer header to set server timeout, query statistics and visualization information. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> resourceExecuteXmsWithResponseAsync( + String resourceId, QueryBody body, String prefer, Context context) { + if (this.client.getHost() == null) { + return Mono.error( + new IllegalArgumentException("Parameter this.client.getHost() is required and cannot be null.")); + } + if (resourceId == null) { + return Mono.error(new IllegalArgumentException("Parameter resourceId is required and cannot be null.")); + } + if (body == null) { + return Mono.error(new IllegalArgumentException("Parameter body is required and cannot be null.")); + } else { + body.validate(); + } + final String accept = "application/json"; + return service.resourceExecuteXms(this.client.getHost(), resourceId, prefer, body, accept, context); + } + + /** + * Execute an Analytics query using resource ID + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param body The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param prefer Optional. The prefer header to set server timeout, query statistics and visualization information. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono resourceExecuteXmsAsync(String resourceId, QueryBody body, String prefer) { + return resourceExecuteXmsWithResponseAsync(resourceId, body, prefer) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Execute an Analytics query using resource ID + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param body The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param prefer Optional. The prefer header to set server timeout, query statistics and visualization information. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono resourceExecuteXmsAsync( + String resourceId, QueryBody body, String prefer, Context context) { + return resourceExecuteXmsWithResponseAsync(resourceId, body, prefer, context) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Execute an Analytics query using resource ID + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param body The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param prefer Optional. The prefer header to set server timeout, query statistics and visualization information. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response resourceExecuteXmsWithResponse( + String resourceId, QueryBody body, String prefer, Context context) { + return resourceExecuteXmsWithResponseAsync(resourceId, body, prefer, context).block(); + } + + /** + * Execute an Analytics query using resource ID + * + *

Executes an Analytics query for data in the context of a resource. + * [Here](https://docs.microsoft.com/azure/azure-monitor/logs/api/azure-resource-queries) is an example for using + * POST with an Analytics query. + * + * @param resourceId The identifier of the resource. + * @param body The Analytics query. Learn more about the [Analytics query + * syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/). + * @param prefer Optional. The prefer header to set server timeout, query statistics and visualization information. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return a query response. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public QueryResults resourceExecuteXms(String resourceId, QueryBody body, String prefer) { + return resourceExecuteXmsWithResponse(resourceId, body, prefer, Context.NONE).getValue(); + } } diff --git a/sdk/monitor/azure-monitor-query/src/samples/java/com/azure/monitor/query/LogsQueryResourceSample.java b/sdk/monitor/azure-monitor-query/src/samples/java/com/azure/monitor/query/LogsQueryResourceSample.java new file mode 100644 index 000000000000..b8621701afb0 --- /dev/null +++ b/sdk/monitor/azure-monitor-query/src/samples/java/com/azure/monitor/query/LogsQueryResourceSample.java @@ -0,0 +1,62 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.monitor.query; + +import com.azure.core.credential.TokenCredential; +import com.azure.identity.DefaultAzureCredentialBuilder; +import com.azure.monitor.query.models.LogsQueryResult; +import com.azure.monitor.query.models.LogsTable; +import com.azure.monitor.query.models.LogsTableCell; +import com.azure.monitor.query.models.LogsTableRow; +import com.azure.monitor.query.models.QueryTimeInterval; + +import java.util.Optional; + +/** + * A sample to demonstrate querying for logs of an Azure resource from Azure Monitor using a Kusto query + */ +public class LogsQueryResourceSample { + + /** + * The main method to execute the sample. + * @param args Ignored args. + */ + public static void main(String[] args) { + TokenCredential tokenCredential = new DefaultAzureCredentialBuilder().build(); + + LogsQueryClient logsQueryClient = new LogsQueryClientBuilder() + .credential(tokenCredential) + .buildClient(); + + LogsQueryResult queryResults = logsQueryClient + .queryResource("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}", "AppRequests", + QueryTimeInterval.ALL); + System.out.println("Number of tables = " + queryResults.getAllTables().size()); + + // Sample to iterate over all cells in the table + for (LogsTable table : queryResults.getAllTables()) { + for (LogsTableCell tableCell : table.getAllTableCells()) { + System.out.println("Column = " + tableCell.getColumnName() + "; value = " + tableCell.getValueAsString()); + } + } + + // Sample to iterate by row + for (LogsTable table : queryResults.getAllTables()) { + for (LogsTableRow row : table.getRows()) { + row.getRow() + .forEach(cell -> System.out.println("Column = " + cell.getColumnName() + "; value = " + cell.getValueAsString())); + } + } + + // Sample to get value of a column + for (LogsTable table : queryResults.getAllTables()) { + for (LogsTableRow row : table.getRows()) { + Optional resourceGroup = row.getColumnValue("DurationMs"); + if (resourceGroup.isPresent()) { + System.out.println(resourceGroup.get().getValueAsString()); + } + } + } + } +} diff --git a/sdk/monitor/azure-monitor-query/src/samples/java/com/azure/monitor/query/LogsQueryResourceWithModels.java b/sdk/monitor/azure-monitor-query/src/samples/java/com/azure/monitor/query/LogsQueryResourceWithModels.java new file mode 100644 index 000000000000..d5bd4ecba888 --- /dev/null +++ b/sdk/monitor/azure-monitor-query/src/samples/java/com/azure/monitor/query/LogsQueryResourceWithModels.java @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.monitor.query; + +import com.azure.core.credential.TokenCredential; +import com.azure.identity.DefaultAzureCredentialBuilder; +import com.azure.monitor.query.models.QueryTimeInterval; + +import java.util.List; + +/** + * Sample to demonstrate using a custom model to read the results of a logs query. + */ +public class LogsQueryResourceWithModels { + /** + * The main method to run the sample. + * @param args ignored args + */ + public static void main(String[] args) { + TokenCredential tokenCredential = new DefaultAzureCredentialBuilder().build(); + + LogsQueryClient logsQueryClient = new LogsQueryClientBuilder() + .credential(tokenCredential) + .buildClient(); + + // Sample to use a model type to read the results + List customModels = logsQueryClient + .queryResource("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}", + "AppRequests", QueryTimeInterval.ALL, CustomModel.class); + + customModels.forEach(model -> System.out.println("Time generated " + model.getTimeGenerated() + + "; success = " + model.getSuccess() + "; operation name = " + model.getOperationName())); + } +} diff --git a/sdk/monitor/azure-monitor-query/src/samples/java/com/azure/monitor/query/codesnippets/LogsQueryClientJavaDocCodeSnippets.java b/sdk/monitor/azure-monitor-query/src/samples/java/com/azure/monitor/query/codesnippets/LogsQueryClientJavaDocCodeSnippets.java index 9a828141df2b..2e44b6d95817 100644 --- a/sdk/monitor/azure-monitor-query/src/samples/java/com/azure/monitor/query/codesnippets/LogsQueryClientJavaDocCodeSnippets.java +++ b/sdk/monitor/azure-monitor-query/src/samples/java/com/azure/monitor/query/codesnippets/LogsQueryClientJavaDocCodeSnippets.java @@ -106,7 +106,7 @@ public void singleQueryWithResponse() { LogsQueryClient logsQueryClient = new LogsQueryClientBuilder() .credential(new DefaultAzureCredentialBuilder().build()) .buildClient(); - + // BEGIN: com.azure.monitor.query.LogsQueryClient.queryWithResponse#String-String-QueryTimeInterval-LogsQueryOptions-Context Response queryResult = logsQueryClient.queryWorkspaceWithResponse("{workspace-id}", "{kusto-query}", @@ -133,9 +133,9 @@ public void batchQueryAsync() { String queryId1 = batchQuery.addWorkspaceQuery("{workspace-id-1}", "{kusto-query-1}", QueryTimeInterval.LAST_DAY); String queryId2 = batchQuery.addWorkspaceQuery("{workspace-id-2}", "{kusto-query-2}", QueryTimeInterval.LAST_7_DAYS, new LogsQueryOptions().setServerTimeout(Duration.ofMinutes(2))); - + Mono batchQueryResponse = logsQueryAsyncClient.queryBatch(batchQuery); - + batchQueryResponse.subscribe(result -> { for (LogsBatchQueryResult queryResult : result.getBatchResults()) { System.out.println("Logs query result for query id " + queryResult.getId()); @@ -160,7 +160,7 @@ public void batchQuery() { String queryId1 = batchQuery.addWorkspaceQuery("{workspace-id-1}", "{kusto-query-1}", QueryTimeInterval.LAST_DAY); String queryId2 = batchQuery.addWorkspaceQuery("{workspace-id-2}", "{kusto-query-2}", QueryTimeInterval.LAST_7_DAYS, new LogsQueryOptions().setServerTimeout(Duration.ofMinutes(2))); - + LogsBatchQueryResultCollection batchQueryResponse = logsQueryClient.queryBatch(batchQuery); for (LogsBatchQueryResult queryResult : batchQueryResponse.getBatchResults()) { @@ -174,4 +174,82 @@ public void batchQuery() { } // END: com.azure.monitor.query.LogsQueryClient.queryBatch#LogsBatchQuery } + + + public void singleResourceQueryAsync() { + LogsQueryAsyncClient logsQueryAsyncClient = new LogsQueryClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .buildAsyncClient(); + // BEGIN: com.azure.monitor.query.LogsQueryAsyncClient.queryResource#String-String-QueryTimeInterval + Mono queryResult = logsQueryAsyncClient.queryResource("{resource-id}", "{kusto-query}", + QueryTimeInterval.LAST_DAY); + queryResult.subscribe(result -> { + for (LogsTableRow row : result.getTable().getRows()) { + System.out.println(row.getRow() + .stream() + .map(LogsTableCell::getValueAsString) + .collect(Collectors.joining(","))); + } + }); + // END: com.azure.monitor.query.LogsQueryAsyncClient.queryResource#String-String-QueryTimeInterval + } + + public void singleResourceQuery() { + LogsQueryClient logsQueryClient = new LogsQueryClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .buildClient(); + + // BEGIN: com.azure.monitor.query.LogsQueryClient.queryResource#String-String-QueryTimeInterval + LogsQueryResult queryResult = logsQueryClient.queryResource("{resource-id}", "{kusto-query}", + QueryTimeInterval.LAST_DAY); + for (LogsTableRow row : queryResult.getTable().getRows()) { + System.out.println(row.getRow() + .stream() + .map(LogsTableCell::getValueAsString) + .collect(Collectors.joining(","))); + } + // END: com.azure.monitor.query.LogsQueryClient.queryResource#String-String-QueryTimeInterval + } + + public void singleResourceQueryWithResponseAsync() { + LogsQueryAsyncClient logsQueryAsyncClient = new LogsQueryClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .buildAsyncClient(); + // BEGIN: com.azure.monitor.query.LogsQueryAsyncClient.queryResourceWithResponse#String-String-QueryTimeInterval-LogsQueryOptions + Mono> queryResult = logsQueryAsyncClient.queryResourceWithResponse("{resource-id}", + "{kusto-query}", + QueryTimeInterval.LAST_7_DAYS, + new LogsQueryOptions().setServerTimeout(Duration.ofMinutes(2))); + + queryResult.subscribe(result -> { + for (LogsTableRow row : result.getValue().getTable().getRows()) { + System.out.println(row.getRow() + .stream() + .map(LogsTableCell::getValueAsString) + .collect(Collectors.joining(","))); + } + }); + // END: com.azure.monitor.query.LogsQueryAsyncClient.queryResourceWithResponse#String-String-QueryTimeInterval-LogsQueryOptions + } + + public void singleResourceQueryWithResponse() { + LogsQueryClient logsQueryClient = new LogsQueryClientBuilder() + .credential(new DefaultAzureCredentialBuilder().build()) + .buildClient(); + + // BEGIN: com.azure.monitor.query.LogsQueryClient.queryResourceWithResponse#String-String-QueryTimeInterval-LogsQueryOptions-Context + Response queryResult = logsQueryClient.queryResourceWithResponse("{resource-id}", + "{kusto-query}", + QueryTimeInterval.LAST_7_DAYS, + new LogsQueryOptions().setServerTimeout(Duration.ofMinutes(2)), + Context.NONE); + + for (LogsTableRow row : queryResult.getValue().getTable().getRows()) { + System.out.println(row.getRow() + .stream() + .map(LogsTableCell::getValueAsString) + .collect(Collectors.joining(","))); + } + // END: com.azure.monitor.query.LogsQueryClient.queryResourceWithResponse#String-String-QueryTimeInterval-LogsQueryOptions-Context + } } diff --git a/sdk/monitor/azure-monitor-query/src/test/java/com/azure/monitor/query/LogsQueryAsyncClientTest.java b/sdk/monitor/azure-monitor-query/src/test/java/com/azure/monitor/query/LogsQueryAsyncClientTest.java index f15c1641c998..b85c05fc6f8c 100644 --- a/sdk/monitor/azure-monitor-query/src/test/java/com/azure/monitor/query/LogsQueryAsyncClientTest.java +++ b/sdk/monitor/azure-monitor-query/src/test/java/com/azure/monitor/query/LogsQueryAsyncClientTest.java @@ -25,6 +25,7 @@ import com.azure.monitor.query.models.QueryTimeInterval; import org.junit.jupiter.api.Assumptions; import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.condition.DisabledIfEnvironmentVariable; import reactor.core.publisher.Mono; @@ -51,6 +52,10 @@ public class LogsQueryAsyncClientTest extends TestBase { private static final String WORKSPACE_ID = Configuration.getGlobalConfiguration() .get("AZURE_MONITOR_LOGS_WORKSPACE_ID", "d2d0e126-fa1e-4b0a-b647-250cdd471e68"); + + static final String RESOURCE_ID = Configuration.getGlobalConfiguration() + .get("AZURE_MONITOR_LOGS_RESOURCE_ID", "subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/srnagar-azuresdkgroup/providers/Microsoft.Storage/storageAccounts/srnagarstorage"); + private LogsQueryAsyncClient client; private static final String QUERY_STRING = "let dt = datatable (DateTime: datetime, Bool:bool, Guid: guid, Int: " + "int, Long:long, Double: double, String: string, Timespan: timespan, Decimal: decimal, Dynamic: dynamic)\n" @@ -111,6 +116,18 @@ public void testLogsQuery() { .verifyComplete(); } + @Test + public void testLogsResourceQuery() { + StepVerifier.create(client.queryResource(RESOURCE_ID, QUERY_STRING, + QueryTimeInterval.ALL)) + .assertNext(queryResults -> { + assertEquals(1, queryResults.getAllTables().size()); + assertEquals(1200, queryResults.getAllTables().get(0).getAllTableCells().size()); + assertEquals(100, queryResults.getAllTables().get(0).getRows().size()); + }) + .verifyComplete(); + } + @Test public void testLogsQueryAllowPartialSuccess() { Assumptions.assumeTrue(getTestMode() == TestMode.PLAYBACK, @@ -256,6 +273,18 @@ QUERY_STRING, null, new LogsQueryOptions().setIncludeStatistics(true), Context.N .verifyComplete(); } + @Test + public void testStatisticsResourceQuery() { + StepVerifier.create(client.queryResourceWithResponse(RESOURCE_ID, + QUERY_STRING, null, new LogsQueryOptions().setIncludeStatistics(true), Context.NONE)) + .assertNext(response -> { + LogsQueryResult queryResults = response.getValue(); + assertEquals(1, queryResults.getAllTables().size()); + assertNotNull(queryResults.getStatistics()); + }) + .verifyComplete(); + } + @Test public void testBatchStatistics() { LogsBatchQuery logsBatchQuery = new LogsBatchQuery(); @@ -285,6 +314,7 @@ public void testBatchStatistics() { + " not readily reproducible and because the service caches query results, the queries that require extended time " + "to complete if run the first time can return immediately if a cached result is available. So, this test can " + " wait for a long time before succeeding. So, disabling this in LIVE test mode") + @Disabled public void testServerTimeout() { // The server does not always stop processing the request and return a 504 before the client times out // so, retry until a 504 response is returned @@ -334,5 +364,32 @@ query, null, new LogsQueryOptions().setIncludeStatistics(true).setIncludeVisuali .verifyComplete(); + } + + @Test + public void testVisualizationResourceQuery() { + String query = "datatable (s: string, i: long) [ \"a\", 1, \"b\", 2, \"c\", 3 ] " + + "| render columnchart with (title=\"the chart title\", xtitle=\"the x axis title\")"; + StepVerifier.create(client.queryResourceWithResponse(RESOURCE_ID, + query, null, new LogsQueryOptions().setIncludeStatistics(true).setIncludeVisualization(true), + Context.NONE)) + .assertNext(response -> { + LogsQueryResult queryResults = response.getValue(); + assertEquals(1, queryResults.getAllTables().size()); + assertNotNull(queryResults.getVisualization()); + + LinkedHashMap linkedHashMap = + queryResults.getVisualization().toObject(new TypeReference>() { + }); + String title = linkedHashMap.get("title").toString(); + String xTitle = linkedHashMap.get("xTitle").toString(); + + assertEquals("the chart title", title); + assertEquals("the x axis title", xTitle); + + }) + .verifyComplete(); + + } } diff --git a/sdk/monitor/azure-monitor-query/src/test/java/com/azure/monitor/query/LogsQueryClientTest.java b/sdk/monitor/azure-monitor-query/src/test/java/com/azure/monitor/query/LogsQueryClientTest.java index 5ae988665c45..43b5de715b50 100644 --- a/sdk/monitor/azure-monitor-query/src/test/java/com/azure/monitor/query/LogsQueryClientTest.java +++ b/sdk/monitor/azure-monitor-query/src/test/java/com/azure/monitor/query/LogsQueryClientTest.java @@ -37,6 +37,7 @@ import java.util.List; import java.util.Random; +import static com.azure.monitor.query.LogsQueryAsyncClientTest.RESOURCE_ID; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; @@ -99,6 +100,16 @@ public void testLogsQuery() { assertEquals(100, queryResults.getAllTables().get(0).getRows().size()); } + @Test + public void testLogsQueryResource() { + LogsQueryResult queryResults = client.queryResource(RESOURCE_ID, QUERY_STRING, + new QueryTimeInterval(OffsetDateTime.of(LocalDateTime.of(2021, 01, 01, 0, 0), ZoneOffset.UTC), + OffsetDateTime.of(LocalDateTime.of(2021, 06, 10, 0, 0), ZoneOffset.UTC))); + assertEquals(1, queryResults.getAllTables().size()); + assertEquals(1200, queryResults.getAllTables().get(0).getAllTableCells().size()); + assertEquals(100, queryResults.getAllTables().get(0).getRows().size()); + } + @Test public void testLogsQueryAllowPartialSuccess() { Assumptions.assumeTrue(getTestMode() == TestMode.PLAYBACK, @@ -232,6 +243,15 @@ public void testStatistics() { assertNotNull(queryResults.getStatistics()); } + @Test + public void testStatisticsResourceQuery() { + LogsQueryResult queryResults = client.queryResourceWithResponse(RESOURCE_ID, + QUERY_STRING, null, new LogsQueryOptions().setIncludeStatistics(true), Context.NONE) + .getValue(); + assertEquals(1, queryResults.getAllTables().size()); + assertNotNull(queryResults.getStatistics()); + } + @Test public void testBatchStatistics() { LogsBatchQuery logsBatchQuery = new LogsBatchQuery(); @@ -295,12 +315,32 @@ query, null, new LogsQueryOptions().setIncludeStatistics(true).setIncludeVisuali assertNotNull(queryResults.getVisualization()); LinkedHashMap linkedHashMap = - queryResults.getVisualization().toObject(new TypeReference>() { }); + queryResults.getVisualization().toObject(new TypeReference>() { + }); String title = linkedHashMap.get("title").toString(); String xTitle = linkedHashMap.get("xTitle").toString(); assertEquals("the chart title", title); assertEquals("the x axis title", xTitle); + } + @Test + public void testVisualizationResourceQuery() { + String query = "datatable (s: string, i: long) [ \"a\", 1, \"b\", 2, \"c\", 3 ] " + + "| render columnchart with (title=\"the chart title\", xtitle=\"the x axis title\")"; + LogsQueryResult queryResults = client.queryResourceWithResponse(RESOURCE_ID, + query, null, new LogsQueryOptions().setIncludeStatistics(true).setIncludeVisualization(true), + Context.NONE).getValue(); + assertEquals(1, queryResults.getAllTables().size()); + assertNotNull(queryResults.getVisualization()); + + LinkedHashMap linkedHashMap = + queryResults.getVisualization().toObject(new TypeReference>() { + }); + String title = linkedHashMap.get("title").toString(); + String xTitle = linkedHashMap.get("xTitle").toString(); + + assertEquals("the chart title", title); + assertEquals("the x axis title", xTitle); } } diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testBatchQueryPartialSuccess.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testBatchQueryPartialSuccess.json index f6862dec87a9..5f5fb8d4a5f3 100644 --- a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testBatchQueryPartialSuccess.json +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testBatchQueryPartialSuccess.json @@ -3,7 +3,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.loganalytics.io/v1/$batch", "Headers" : { - "User-Agent" : "azsdk-java-azure-monitor-query/1.1.0-beta.1 (11.0.10; Windows 10; 10.0)", + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "3d7f76cb-71e9-4837-930e-176eebc57741", "Content-Type" : "application/json" }, "Response" : { @@ -13,12 +14,12 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 21 Oct 2021 17:43:04 GMT", - "via" : "1.1 draft-oms-5f8dcf9dcc-kz7l9", + "Date" : "Tue, 14 Mar 2023 07:50:11 GMT", + "via" : "1.1 draft-oms-5979b88dcd-kx47g", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Vary" : "Accept-Encoding,Accept-Encoding", - "Body" : "{\"responses\":[{\"id\":\"1\",\"status\":200,\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}},{\"id\":\"2\",\"status\":400,\"body\":{\"error\":{\"message\":\"The request had some invalid properties\",\"code\":\"BadArgumentError\",\"correlationId\":\"bd833633-08a7-4965-a9f2-f11fbad32054\",\"innererror\":{\"code\":\"SyntaxError\",\"message\":\"A recognition error occurred in the query.\",\"innererror\":{\"code\":\"SYN0002\",\"message\":\"Query could not be parsed at '' on line [2,299]\",\"line\":2,\"pos\":299,\"token\":\"\"}}}}}]}", + "Vary" : "Accept-Encoding", + "Body" : "{\"responses\":[{\"id\":\"2\",\"status\":400,\"body\":{\"error\":{\"message\":\"The request had some invalid properties\",\"code\":\"BadArgumentError\",\"correlationId\":\"31269348-b3c4-4147-b79e-f1143ee64c0c\",\"innererror\":{\"code\":\"SyntaxError\",\"message\":\"A recognition error occurred in the query.\",\"innererror\":{\"code\":\"SYN0002\",\"message\":\"Query could not be parsed at '' on line [2,299]\",\"line\":2,\"pos\":299,\"token\":\"\"}}}}},{\"id\":\"1\",\"status\":200,\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testBatchStatistics.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testBatchStatistics.json index 4a9c91a5248e..7fa1cc010550 100644 --- a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testBatchStatistics.json +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testBatchStatistics.json @@ -3,7 +3,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.loganalytics.io/v1/$batch", "Headers" : { - "User-Agent" : "azsdk-java-azure-monitor-query/1.1.0-beta.1 (11.0.10; Windows 10; 10.0)", + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "00a8fabe-ed59-440f-8f6d-6c2abbb0d499", "Content-Type" : "application/json" }, "Response" : { @@ -13,12 +14,12 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 21 Oct 2021 17:43:01 GMT", - "via" : "1.1 draft-oms-5f8dcf9dcc-566mm", + "Date" : "Tue, 14 Mar 2023 07:50:11 GMT", + "via" : "1.1 draft-oms-5979b88dcd-bgw8l", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Vary" : "Accept-Encoding,Accept-Encoding", - "Body" : "{\"responses\":[{\"id\":\"1\",\"status\":200,\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[95,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[94,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[93,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[92,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[91,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[90,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[89,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[88,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[87,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[86,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[85,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[84,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[83,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[82,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[81,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[80,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[79,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[78,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[77,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[76,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[75,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[74,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[73,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[72,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[71,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[70,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[69,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[68,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[67,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[66,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[65,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[64,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[63,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[62,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[61,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[60,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[59,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[58,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[57,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[56,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[55,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[54,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[53,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[52,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[51,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[50,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[49,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[48,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[47,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[46,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[45,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[44,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[43,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[42,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[41,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[40,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[39,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[38,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[37,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[36,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[35,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[34,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[33,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[32,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[31,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[30,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[29,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[28,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[27,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[26,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[25,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[24,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[23,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[22,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[21,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[20,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[19,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[18,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[17,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[16,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[15,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[14,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[13,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[12,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[11,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[10,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[9,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[8,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[7,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[6,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[5,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[4,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[3,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[2,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[1,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}},{\"id\":\"2\",\"status\":200,\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[95,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[94,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[93,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[92,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[91,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[90,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[89,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[88,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[87,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[86,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[85,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[84,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[83,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[82,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[81,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[80,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[79,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[78,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[77,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[76,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[75,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[74,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[73,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[72,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[71,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[70,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[69,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[68,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[67,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[66,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[65,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[64,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[63,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[62,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[61,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[60,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[59,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[58,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[57,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[56,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[55,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[54,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[53,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[52,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[51,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[50,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[49,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[48,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[47,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[46,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[45,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[44,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[43,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[42,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[41,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[40,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[39,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[38,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[37,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[36,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[35,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[34,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[33,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[32,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[31,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[30,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[29,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[28,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[27,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[26,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[25,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[24,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[23,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[22,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[21,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[20,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[19,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[18,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[17,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[16,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[15,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[14,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[13,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[12,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[11,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[10,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[9,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[8,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[7,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[6,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[5,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[4,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[3,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[2,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[1,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}],\"statistics\":{\"query\":{\"executionTime\":0.0156756,\"resourceUsage\":{\"cache\":{\"memory\":{\"hits\":0,\"misses\":0,\"total\":0},\"disk\":{\"hits\":0,\"misses\":0,\"total\":0},\"shards\":{\"hot\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"cold\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"bypassbytes\":0}},\"cpu\":{\"user\":\"00:00:00\",\"kernel\":\"00:00:00\",\"totalCpu\":\"00:00:00\"},\"memory\":{\"peakPerNode\":3246096},\"network\":{\"interClusterTotalBytes\":19851,\"intraClusterTotalBytes\":0}},\"inputDatasetStatistics\":{\"extents\":{\"total\":0,\"scanned\":0,\"scannedMinDatetime\":\"0001-01-01T00:00:00.0000000Z\",\"scannedMaxDatetime\":\"0001-01-01T00:00:00.0000000Z\"},\"rows\":{\"total\":0,\"scanned\":0},\"rowstores\":{\"scannedRows\":0,\"scannedValuesSize\":0},\"shards\":{\"queriesGeneric\":0,\"queriesSpecialized\":0}},\"datasetStatistics\":[{\"tableRowCount\":100,\"tableSize\":19902}]}}}}]}", + "Vary" : "Accept-Encoding", + "Body" : "{\"responses\":[{\"id\":\"1\",\"status\":200,\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[95,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[94,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[93,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[92,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[91,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[90,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[89,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[88,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[87,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[86,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[85,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[84,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[83,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[82,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[81,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[80,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[79,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[78,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[77,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[76,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[75,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[74,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[73,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[72,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[71,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[70,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[69,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[68,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[67,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[66,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[65,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[64,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[63,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[62,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[61,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[60,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[59,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[58,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[57,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[56,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[55,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[54,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[53,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[52,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[51,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[50,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[49,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[48,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[47,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[46,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[45,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[44,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[43,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[42,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[41,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[40,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[39,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[38,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[37,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[36,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[35,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[34,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[33,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[32,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[31,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[30,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[29,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[28,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[27,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[26,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[25,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[24,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[23,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[22,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[21,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[20,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[19,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[18,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[17,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[16,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[15,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[14,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[13,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[12,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[11,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[10,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[9,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[8,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[7,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[6,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[5,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[4,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[3,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[2,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[1,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}},{\"id\":\"2\",\"status\":200,\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[95,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[94,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[93,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[92,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[91,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[90,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[89,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[88,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[87,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[86,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[85,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[84,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[83,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[82,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[81,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[80,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[79,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[78,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[77,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[76,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[75,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[74,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[73,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[72,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[71,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[70,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[69,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[68,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[67,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[66,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[65,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[64,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[63,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[62,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[61,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[60,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[59,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[58,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[57,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[56,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[55,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[54,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[53,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[52,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[51,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[50,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[49,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[48,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[47,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[46,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[45,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[44,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[43,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[42,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[41,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[40,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[39,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[38,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[37,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[36,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[35,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[34,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[33,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[32,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[31,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[30,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[29,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[28,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[27,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[26,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[25,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[24,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[23,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[22,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[21,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[20,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[19,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[18,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[17,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[16,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[15,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[14,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[13,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[12,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[11,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[10,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[9,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[8,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[7,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[6,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[5,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[4,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[3,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[2,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[1,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}],\"statistics\":{\"query\":{\"executionTime\":0,\"resourceUsage\":{\"cache\":{\"memory\":{\"hits\":0,\"misses\":0,\"total\":0},\"disk\":{\"hits\":0,\"misses\":0,\"total\":0},\"shards\":{\"hot\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"cold\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"bypassbytes\":0}},\"cpu\":{\"user\":\"00:00:00\",\"kernel\":\"00:00:00\",\"totalCpu\":\"00:00:00\"},\"memory\":{\"peakPerNode\":4228368},\"network\":{\"interClusterTotalBytes\":19875,\"crossClusterTotalBytes\":0}},\"inputDatasetStatistics\":{\"extents\":{\"total\":0,\"scanned\":0,\"scannedMinDatetime\":\"0001-01-01T00:00:00.0000000Z\",\"scannedMaxDatetime\":\"0001-01-01T00:00:00.0000000Z\"},\"rows\":{\"total\":0,\"scanned\":0},\"rowstores\":{\"scannedRows\":0,\"scannedValuesSize\":0},\"shards\":{\"queriesGeneric\":0,\"queriesSpecialized\":0}},\"datasetStatistics\":[{\"tableRowCount\":100,\"tableSize\":19902}],\"crossClusterResourceUsage\":{}}}}}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testLogsQuery.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testLogsQuery.json index c0b4c104f273..eb822fceb1b0 100644 --- a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testLogsQuery.json +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testLogsQuery.json @@ -3,21 +3,22 @@ "Method" : "POST", "Uri" : "https://REDACTED.loganalytics.io/v1/workspaces/d2d0e126-fa1e-4b0a-b647-250cdd471e68/query", "Headers" : { - "User-Agent" : "azsdk-java-azure-monitor-query/1.1.0-beta.1 (11.0.10; Windows 10; 10.0)", + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "ff88fcc1-5637-411f-a8fb-153d9f888229", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "18936", "Access-Control-Allow-Origin" : "*", "X-Content-Type-Options" : "nosniff", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 21 Oct 2021 17:42:59 GMT", - "via" : "1.1 draft-oms-5f8dcf9dcc-996pq", + "Date" : "Tue, 14 Mar 2023 07:50:11 GMT", + "via" : "1.1 draft-oms-5979b88dcd-kmr4f", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Vary" : "Accept-Encoding,Accept-Encoding", + "Vary" : "Accept-Encoding", + "Content-Length" : "18936", "Body" : "{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[95,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[94,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[93,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[92,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[91,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[90,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[89,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[88,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[87,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[86,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[85,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[84,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[83,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[82,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[81,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[80,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[79,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[78,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[77,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[76,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[75,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[74,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[73,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[72,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[71,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[70,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[69,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[68,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[67,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[66,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[65,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[64,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[63,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[62,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[61,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[60,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[59,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[58,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[57,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[56,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[55,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[54,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[53,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[52,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[51,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[50,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[49,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[48,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[47,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[46,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[45,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[44,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[43,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[42,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[41,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[40,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[39,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[38,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[37,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[36,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[35,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[34,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[33,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[32,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[31,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[30,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[29,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[28,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[27,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[26,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[25,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[24,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[23,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[22,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[21,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[20,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[19,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[18,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[17,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[16,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[15,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[14,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[13,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[12,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[11,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[10,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[9,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[8,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[7,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[6,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[5,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[4,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[3,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[2,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[1,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}", "Content-Type" : "application/json; charset=utf-8" }, diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testLogsQueryBatch.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testLogsQueryBatch.json index 295767e5738b..5b360692a461 100644 --- a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testLogsQueryBatch.json +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testLogsQueryBatch.json @@ -3,7 +3,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.loganalytics.io/v1/$batch", "Headers" : { - "User-Agent" : "azsdk-java-azure-monitor-query/1.1.0-beta.1 (11.0.10; Windows 10; 10.0)", + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "e7aad81c-3996-482e-8f37-fc8ba7a1c9e4", "Content-Type" : "application/json" }, "Response" : { @@ -13,12 +14,12 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 21 Oct 2021 17:43:03 GMT", - "via" : "1.1 draft-oms-5f8dcf9dcc-m6lgt", + "Date" : "Tue, 14 Mar 2023 07:50:11 GMT", + "via" : "1.1 draft-oms-5979b88dcd-xhzg4", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Vary" : "Accept-Encoding,Accept-Encoding", - "Body" : "{\"responses\":[{\"id\":\"2\",\"status\":200,\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}},{\"id\":\"1\",\"status\":200,\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}}]}", + "Vary" : "Accept-Encoding", + "Body" : "{\"responses\":[{\"id\":\"1\",\"status\":200,\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}},{\"id\":\"2\",\"status\":200,\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testLogsQueryBatchWithServerTimeout.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testLogsQueryBatchWithServerTimeout.json index 1e3cf4eb3743..d65a5121f39f 100644 --- a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testLogsQueryBatchWithServerTimeout.json +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testLogsQueryBatchWithServerTimeout.json @@ -3,7 +3,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.loganalytics.io/v1/$batch", "Headers" : { - "User-Agent" : "azsdk-java-azure-monitor-query/1.0.7 (17.0.2; Windows 10; 10.0)", + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "8710b57f-bb44-4073-b133-52d55b3002b1", "Content-Type" : "application/json" }, "Response" : { @@ -13,11 +14,11 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 09 Jun 2022 19:19:48 GMT", - "via" : "1.1 draft-oms-6d895847bd-fk545", + "Date" : "Tue, 14 Mar 2023 07:50:11 GMT", + "via" : "1.1 draft-oms-5979b88dcd-5849n", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Vary" : "Accept-Encoding,Accept-Encoding", + "Vary" : "Accept-Encoding", "Body" : "{\"responses\":[{\"id\":\"2\",\"status\":200,\"headers\":{\"Preference-Applied\":\"wait=20\",\"request-context\":\"appId=cid-v1:70941e4f-7e8f-40b7-b730-183893db0297\"},\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}},{\"id\":\"3\",\"status\":200,\"headers\":{\"Preference-Applied\":\"wait=10\",\"request-context\":\"appId=cid-v1:70941e4f-7e8f-40b7-b730-183893db0297\"},\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}},{\"id\":\"1\",\"status\":200,\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}}]}", "Content-Type" : "application/json; charset=utf-8" }, diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testLogsResourceQuery.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testLogsResourceQuery.json new file mode 100644 index 000000000000..74facbe882e0 --- /dev/null +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testLogsResourceQuery.json @@ -0,0 +1,27 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.loganalytics.io/v1/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/srnagar-azuresdkgroup/providers/Microsoft.Storage/storageAccounts/srnagarstorage/query", + "Headers" : { + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "0bd5145d-e784-49d4-b44a-0a8303ff2928", + "Content-Type" : "application/json" + }, + "Response" : { + "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", + "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", + "Access-Control-Allow-Origin" : "*", + "X-Content-Type-Options" : "nosniff", + "Connection" : "keep-alive", + "retry-after" : "0", + "Content-Length" : "18936", + "StatusCode" : "200", + "Body" : "{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[95,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[94,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[93,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[92,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[91,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[90,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[89,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[88,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[87,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[86,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[85,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[84,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[83,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[82,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[81,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[80,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[79,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[78,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[77,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[76,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[75,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[74,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[73,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[72,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[71,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[70,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[69,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[68,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[67,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[66,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[65,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[64,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[63,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[62,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[61,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[60,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[59,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[58,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[57,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[56,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[55,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[54,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[53,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[52,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[51,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[50,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[49,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[48,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[47,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[46,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[45,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[44,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[43,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[42,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[41,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[40,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[39,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[38,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[37,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[36,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[35,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[34,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[33,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[32,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[31,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[30,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[29,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[28,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[27,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[26,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[25,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[24,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[23,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[22,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[21,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[20,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[19,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[18,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[17,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[16,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[15,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[14,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[13,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[12,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[11,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[10,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[9,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[8,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[7,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[6,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[5,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[4,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[3,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[2,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[1,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}", + "Date" : "Tue, 14 Mar 2023 07:50:11 GMT", + "Content-Type" : "application/json; charset=utf-8", + "via" : "1.1 draft-oms-5979b88dcd-6bbkg" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testMultipleWorkspaces.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testMultipleWorkspaces.json index d617f9f77fb8..eea3881b0676 100644 --- a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testMultipleWorkspaces.json +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testMultipleWorkspaces.json @@ -3,22 +3,23 @@ "Method" : "POST", "Uri" : "https://REDACTED.loganalytics.io/v1/workspaces/d2d0e126-fa1e-4b0a-b647-250cdd471e68/query", "Headers" : { - "User-Agent" : "azsdk-java-azure-monitor-query/1.1.0-beta.1 (11.0.10; Windows 10; 10.0)", + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "266ba285-dc50-4047-94c7-750343e8b0c5", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "222", "Access-Control-Allow-Origin" : "*", "X-Content-Type-Options" : "nosniff", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 21 Oct 2021 17:43:17 GMT", - "via" : "1.1 draft-oms-5f8dcf9dcc-mfhfs", + "Date" : "Tue, 14 Mar 2023 07:50:12 GMT", + "via" : "1.1 draft-oms-5979b88dcd-ddwjx", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", "Vary" : "Accept-Encoding", - "Body" : "{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"TenantId\",\"type\":\"string\"},{\"name\":\"count_\",\"type\":\"long\"}],\"rows\":[[\"d2d0e126-fa1e-4b0a-b647-250cdd471e68\",31924880],[\"9dad0092-fd13-403a-b367-a189a090a541\",1848]]}]}", + "Content-Length" : "221", + "Body" : "{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"TenantId\",\"type\":\"string\"},{\"name\":\"count_\",\"type\":\"long\"}],\"rows\":[[\"d2d0e126-fa1e-4b0a-b647-250cdd471e68\",2127691],[\"9dad0092-fd13-403a-b367-a189a090a541\",3424]]}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testStatistics.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testStatistics.json index 75830dc886cc..14d40c40c6d6 100644 --- a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testStatistics.json +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testStatistics.json @@ -3,22 +3,23 @@ "Method" : "POST", "Uri" : "https://REDACTED.loganalytics.io/v1/workspaces/d2d0e126-fa1e-4b0a-b647-250cdd471e68/query", "Headers" : { - "User-Agent" : "azsdk-java-azure-monitor-query/1.1.0-beta.1 (11.0.10; Windows 10; 10.0)", + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "983de147-019e-4dbb-8134-30ccaf5aad4c", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "19763", "Access-Control-Allow-Origin" : "*", "X-Content-Type-Options" : "nosniff", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 21 Oct 2021 17:42:59 GMT", - "via" : "1.1 draft-oms-5f8dcf9dcc-j2lx5", + "Date" : "Tue, 14 Mar 2023 07:50:11 GMT", + "via" : "1.1 draft-oms-5979b88dcd-d89tb", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Vary" : "Accept-Encoding,Accept-Encoding", - "Body" : "{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[95,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[94,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[93,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[92,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[91,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[90,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[89,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[88,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[87,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[86,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[85,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[84,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[83,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[82,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[81,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[80,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[79,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[78,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[77,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[76,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[75,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[74,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[73,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[72,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[71,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[70,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[69,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[68,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[67,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[66,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[65,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[64,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[63,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[62,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[61,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[60,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[59,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[58,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[57,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[56,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[55,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[54,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[53,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[52,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[51,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[50,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[49,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[48,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[47,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[46,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[45,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[44,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[43,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[42,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[41,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[40,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[39,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[38,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[37,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[36,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[35,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[34,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[33,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[32,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[31,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[30,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[29,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[28,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[27,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[26,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[25,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[24,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[23,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[22,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[21,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[20,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[19,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[18,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[17,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[16,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[15,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[14,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[13,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[12,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[11,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[10,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[9,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[8,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[7,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[6,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[5,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[4,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[3,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[2,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[1,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}],\"statistics\":{\"query\":{\"executionTime\":0.0156424,\"resourceUsage\":{\"cache\":{\"memory\":{\"hits\":0,\"misses\":0,\"total\":0},\"disk\":{\"hits\":0,\"misses\":0,\"total\":0},\"shards\":{\"hot\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"cold\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"bypassbytes\":0}},\"cpu\":{\"user\":\"00:00:00\",\"kernel\":\"00:00:00\",\"totalCpu\":\"00:00:00\"},\"memory\":{\"peakPerNode\":3337056},\"network\":{\"interClusterTotalBytes\":19851,\"intraClusterTotalBytes\":0}},\"inputDatasetStatistics\":{\"extents\":{\"total\":0,\"scanned\":0,\"scannedMinDatetime\":\"0001-01-01T00:00:00.0000000Z\",\"scannedMaxDatetime\":\"0001-01-01T00:00:00.0000000Z\"},\"rows\":{\"total\":0,\"scanned\":0},\"rowstores\":{\"scannedRows\":0,\"scannedValuesSize\":0},\"shards\":{\"queriesGeneric\":0,\"queriesSpecialized\":0}},\"datasetStatistics\":[{\"tableRowCount\":100,\"tableSize\":19902}]}}}", + "Vary" : "Accept-Encoding", + "Content-Length" : "19786", + "Body" : "{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[95,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[94,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[93,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[92,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[91,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[90,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[89,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[88,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[87,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[86,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[85,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[84,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[83,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[82,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[81,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[80,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[79,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[78,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[77,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[76,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[75,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[74,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[73,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[72,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[71,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[70,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[69,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[68,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[67,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[66,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[65,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[64,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[63,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[62,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[61,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[60,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[59,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[58,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[57,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[56,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[55,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[54,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[53,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[52,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[51,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[50,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[49,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[48,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[47,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[46,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[45,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[44,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[43,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[42,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[41,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[40,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[39,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[38,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[37,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[36,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[35,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[34,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[33,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[32,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[31,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[30,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[29,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[28,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[27,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[26,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[25,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[24,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[23,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[22,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[21,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[20,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[19,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[18,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[17,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[16,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[15,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[14,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[13,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[12,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[11,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[10,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[9,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[8,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[7,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[6,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[5,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[4,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[3,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[2,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[1,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}],\"statistics\":{\"query\":{\"executionTime\":0,\"resourceUsage\":{\"cache\":{\"memory\":{\"hits\":0,\"misses\":0,\"total\":0},\"disk\":{\"hits\":0,\"misses\":0,\"total\":0},\"shards\":{\"hot\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"cold\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"bypassbytes\":0}},\"cpu\":{\"user\":\"00:00:00\",\"kernel\":\"00:00:00\",\"totalCpu\":\"00:00:00\"},\"memory\":{\"peakPerNode\":8213104},\"network\":{\"interClusterTotalBytes\":19875,\"crossClusterTotalBytes\":0}},\"inputDatasetStatistics\":{\"extents\":{\"total\":0,\"scanned\":0,\"scannedMinDatetime\":\"0001-01-01T00:00:00.0000000Z\",\"scannedMaxDatetime\":\"0001-01-01T00:00:00.0000000Z\"},\"rows\":{\"total\":0,\"scanned\":0},\"rowstores\":{\"scannedRows\":0,\"scannedValuesSize\":0},\"shards\":{\"queriesGeneric\":0,\"queriesSpecialized\":0}},\"datasetStatistics\":[{\"tableRowCount\":100,\"tableSize\":19902}],\"crossClusterResourceUsage\":{}}}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testStatisticsResourceQuery.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testStatisticsResourceQuery.json new file mode 100644 index 000000000000..b5f3113c49eb --- /dev/null +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testStatisticsResourceQuery.json @@ -0,0 +1,27 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.loganalytics.io/v1/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/srnagar-azuresdkgroup/providers/Microsoft.Storage/storageAccounts/srnagarstorage/query", + "Headers" : { + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "8e4125c0-cda4-44f4-beb9-e09e56e3dc85", + "Content-Type" : "application/json" + }, + "Response" : { + "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", + "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", + "Access-Control-Allow-Origin" : "*", + "X-Content-Type-Options" : "nosniff", + "Connection" : "keep-alive", + "retry-after" : "0", + "Content-Length" : "19794", + "StatusCode" : "200", + "Body" : "{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[95,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[94,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[93,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[92,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[91,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[90,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[89,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[88,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[87,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[86,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[85,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[84,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[83,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[82,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[81,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[80,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[79,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[78,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[77,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[76,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[75,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[74,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[73,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[72,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[71,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[70,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[69,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[68,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[67,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[66,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[65,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[64,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[63,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[62,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[61,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[60,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[59,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[58,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[57,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[56,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[55,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[54,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[53,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[52,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[51,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[50,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[49,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[48,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[47,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[46,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[45,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[44,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[43,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[42,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[41,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[40,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[39,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[38,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[37,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[36,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[35,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[34,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[33,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[32,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[31,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[30,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[29,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[28,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[27,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[26,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[25,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[24,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[23,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[22,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[21,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[20,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[19,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[18,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[17,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[16,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[15,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[14,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[13,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[12,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[11,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[10,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[9,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[8,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[7,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[6,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[5,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[4,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[3,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[2,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[1,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}],\"statistics\":{\"query\":{\"executionTime\":0.0158057,\"resourceUsage\":{\"cache\":{\"memory\":{\"hits\":0,\"misses\":0,\"total\":0},\"disk\":{\"hits\":0,\"misses\":0,\"total\":0},\"shards\":{\"hot\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"cold\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"bypassbytes\":0}},\"cpu\":{\"user\":\"00:00:00\",\"kernel\":\"00:00:00\",\"totalCpu\":\"00:00:00\"},\"memory\":{\"peakPerNode\":8485488},\"network\":{\"interClusterTotalBytes\":19875,\"crossClusterTotalBytes\":0}},\"inputDatasetStatistics\":{\"extents\":{\"total\":0,\"scanned\":0,\"scannedMinDatetime\":\"0001-01-01T00:00:00.0000000Z\",\"scannedMaxDatetime\":\"0001-01-01T00:00:00.0000000Z\"},\"rows\":{\"total\":0,\"scanned\":0},\"rowstores\":{\"scannedRows\":0,\"scannedValuesSize\":0},\"shards\":{\"queriesGeneric\":0,\"queriesSpecialized\":0}},\"datasetStatistics\":[{\"tableRowCount\":100,\"tableSize\":19902}],\"crossClusterResourceUsage\":{}}}}", + "Date" : "Tue, 14 Mar 2023 07:50:12 GMT", + "Content-Type" : "application/json; charset=utf-8", + "via" : "1.1 draft-oms-5979b88dcd-2lg8m" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testVisualization.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testVisualization.json index 921252dd2781..610e665d1f76 100644 --- a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testVisualization.json +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testVisualization.json @@ -3,23 +3,23 @@ "Method" : "POST", "Uri" : "https://REDACTED.loganalytics.io/v1/workspaces/d2d0e126-fa1e-4b0a-b647-250cdd471e68/query", "Headers" : { - "User-Agent" : "azsdk-java-azure-monitor-query/1.1.0-beta.1 (14.0.2; Windows 10; 10.0)", + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "a27f08f0-9d3d-4860-8842-9deac4dbc0eb", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "1266", "Access-Control-Allow-Origin" : "*", "X-Content-Type-Options" : "nosniff", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 16 Mar 2022 23:19:45 GMT", - "via" : "1.1 draft-oms-85847646b4-z5q5m", + "Date" : "Tue, 14 Mar 2023 07:50:11 GMT", + "via" : "1.1 draft-oms-5979b88dcd-srn7f", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Vary" : "Accept-Encoding,Accept-Encoding", - "Body" : "{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"s\",\"type\":\"string\"},{\"name\":\"i\",\"type\":\"long\"}],\"rows\":[[\"a\",1],[\"b\",2],[\"c\",3]]}],\"render\":{\"visualization\":\"columnchart\",\"title\":\"the chart title\",\"accumulate\":false,\"isQuerySorted\":false,\"kind\":null,\"legend\":null,\"series\":null,\"yMin\":\"NaN\",\"yMax\":\"NaN\",\"xAxis\":null,\"xColumn\":null,\"xTitle\":\"the x axis title\",\"yAxis\":null,\"yColumns\":null,\"ySplit\":null,\"yTitle\":null,\"anomalyColumns\":null},\"statistics\":{\"query\":{\"executionTime\":0.0156356,\"resourceUsage\":{\"cache\":{\"memory\":{\"hits\":0,\"misses\":0,\"total\":0},\"disk\":{\"hits\":0,\"misses\":0,\"total\":0},\"shards\":{\"hot\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"cold\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"bypassbytes\":0}},\"cpu\":{\"user\":\"00:00:00\",\"kernel\":\"00:00:00\",\"totalCpu\":\"00:00:00\"},\"memory\":{\"peakPerNode\":524384},\"network\":{\"interClusterTotalBytes\":615,\"crossClusterTotalBytes\":0}},\"inputDatasetStatistics\":{\"extents\":{\"total\":0,\"scanned\":0,\"scannedMinDatetime\":\"0001-01-01T00:00:00.0000000Z\",\"scannedMaxDatetime\":\"0001-01-01T00:00:00.0000000Z\"},\"rows\":{\"total\":0,\"scanned\":0},\"rowstores\":{\"scannedRows\":0,\"scannedValuesSize\":0},\"shards\":{\"queriesGeneric\":0,\"queriesSpecialized\":0}},\"datasetStatistics\":[{\"tableRowCount\":3,\"tableSize\":55}]}}}", - "Age" : "28", + "Vary" : "Accept-Encoding", + "Content-Length" : "1296", + "Body" : "{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"s\",\"type\":\"string\"},{\"name\":\"i\",\"type\":\"long\"}],\"rows\":[[\"a\",1],[\"b\",2],[\"c\",3]]}],\"render\":{\"visualization\":\"columnchart\",\"title\":\"the chart title\",\"accumulate\":false,\"isQuerySorted\":false,\"kind\":null,\"legend\":null,\"series\":null,\"yMin\":\"NaN\",\"yMax\":\"NaN\",\"xAxis\":null,\"xColumn\":null,\"xTitle\":\"the x axis title\",\"yAxis\":null,\"yColumns\":null,\"ySplit\":null,\"yTitle\":null,\"anomalyColumns\":null},\"statistics\":{\"query\":{\"executionTime\":0.015655,\"resourceUsage\":{\"cache\":{\"memory\":{\"hits\":0,\"misses\":0,\"total\":0},\"disk\":{\"hits\":0,\"misses\":0,\"total\":0},\"shards\":{\"hot\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"cold\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"bypassbytes\":0}},\"cpu\":{\"user\":\"00:00:00\",\"kernel\":\"00:00:00\",\"totalCpu\":\"00:00:00\"},\"memory\":{\"peakPerNode\":524384},\"network\":{\"interClusterTotalBytes\":615,\"crossClusterTotalBytes\":0}},\"inputDatasetStatistics\":{\"extents\":{\"total\":0,\"scanned\":0,\"scannedMinDatetime\":\"0001-01-01T00:00:00.0000000Z\",\"scannedMaxDatetime\":\"0001-01-01T00:00:00.0000000Z\"},\"rows\":{\"total\":0,\"scanned\":0},\"rowstores\":{\"scannedRows\":0,\"scannedValuesSize\":0},\"shards\":{\"queriesGeneric\":0,\"queriesSpecialized\":0}},\"datasetStatistics\":[{\"tableRowCount\":3,\"tableSize\":55}],\"crossClusterResourceUsage\":{}}}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testVisualizationResourceQuery.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testVisualizationResourceQuery.json new file mode 100644 index 000000000000..ac08f4da26c1 --- /dev/null +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryAsyncClientTest.testVisualizationResourceQuery.json @@ -0,0 +1,27 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.loganalytics.io/v1/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/srnagar-azuresdkgroup/providers/Microsoft.Storage/storageAccounts/srnagarstorage/query", + "Headers" : { + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "065f5ec7-0378-4ab6-8136-5828d821dae5", + "Content-Type" : "application/json" + }, + "Response" : { + "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", + "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", + "Access-Control-Allow-Origin" : "*", + "X-Content-Type-Options" : "nosniff", + "Connection" : "keep-alive", + "retry-after" : "0", + "Content-Length" : "1289", + "StatusCode" : "200", + "Body" : "{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"s\",\"type\":\"string\"},{\"name\":\"i\",\"type\":\"long\"}],\"rows\":[[\"a\",1],[\"b\",2],[\"c\",3]]}],\"render\":{\"visualization\":\"columnchart\",\"title\":\"the chart title\",\"accumulate\":false,\"isQuerySorted\":false,\"kind\":null,\"legend\":null,\"series\":null,\"yMin\":\"NaN\",\"yMax\":\"NaN\",\"xAxis\":null,\"xColumn\":null,\"xTitle\":\"the x axis title\",\"yAxis\":null,\"yColumns\":null,\"ySplit\":null,\"yTitle\":null,\"anomalyColumns\":null},\"statistics\":{\"query\":{\"executionTime\":0,\"resourceUsage\":{\"cache\":{\"memory\":{\"hits\":0,\"misses\":0,\"total\":0},\"disk\":{\"hits\":0,\"misses\":0,\"total\":0},\"shards\":{\"hot\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"cold\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"bypassbytes\":0}},\"cpu\":{\"user\":\"00:00:00\",\"kernel\":\"00:00:00\",\"totalCpu\":\"00:00:00\"},\"memory\":{\"peakPerNode\":524384},\"network\":{\"interClusterTotalBytes\":615,\"crossClusterTotalBytes\":0}},\"inputDatasetStatistics\":{\"extents\":{\"total\":0,\"scanned\":0,\"scannedMinDatetime\":\"0001-01-01T00:00:00.0000000Z\",\"scannedMaxDatetime\":\"0001-01-01T00:00:00.0000000Z\"},\"rows\":{\"total\":0,\"scanned\":0},\"rowstores\":{\"scannedRows\":0,\"scannedValuesSize\":0},\"shards\":{\"queriesGeneric\":0,\"queriesSpecialized\":0}},\"datasetStatistics\":[{\"tableRowCount\":3,\"tableSize\":55}],\"crossClusterResourceUsage\":{}}}}", + "Date" : "Tue, 14 Mar 2023 07:50:11 GMT", + "Content-Type" : "application/json; charset=utf-8", + "via" : "1.1 draft-oms-5979b88dcd-c5xdc" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testBatchQueryPartialSuccess.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testBatchQueryPartialSuccess.json index f6862dec87a9..38ac9a6b1a80 100644 --- a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testBatchQueryPartialSuccess.json +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testBatchQueryPartialSuccess.json @@ -3,7 +3,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.loganalytics.io/v1/$batch", "Headers" : { - "User-Agent" : "azsdk-java-azure-monitor-query/1.1.0-beta.1 (11.0.10; Windows 10; 10.0)", + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "bb09d317-fd6a-44d8-8ef4-7b16ff9c2c73", "Content-Type" : "application/json" }, "Response" : { @@ -13,12 +14,12 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 21 Oct 2021 17:43:04 GMT", - "via" : "1.1 draft-oms-5f8dcf9dcc-kz7l9", + "Date" : "Tue, 14 Mar 2023 07:45:59 GMT", + "via" : "1.1 draft-oms-5979b88dcd-nfqbh", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Vary" : "Accept-Encoding,Accept-Encoding", - "Body" : "{\"responses\":[{\"id\":\"1\",\"status\":200,\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}},{\"id\":\"2\",\"status\":400,\"body\":{\"error\":{\"message\":\"The request had some invalid properties\",\"code\":\"BadArgumentError\",\"correlationId\":\"bd833633-08a7-4965-a9f2-f11fbad32054\",\"innererror\":{\"code\":\"SyntaxError\",\"message\":\"A recognition error occurred in the query.\",\"innererror\":{\"code\":\"SYN0002\",\"message\":\"Query could not be parsed at '' on line [2,299]\",\"line\":2,\"pos\":299,\"token\":\"\"}}}}}]}", + "Vary" : "Accept-Encoding", + "Body" : "{\"responses\":[{\"id\":\"1\",\"status\":200,\"headers\":{\"Age\":\"75\",\"request-context\":\"appId=cid-v1:70941e4f-7e8f-40b7-b730-183893db0297\"},\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}},{\"id\":\"2\",\"status\":400,\"body\":{\"error\":{\"message\":\"The request had some invalid properties\",\"code\":\"BadArgumentError\",\"correlationId\":\"2c4ef394-60e5-4882-b8c2-7f777294a7c1\",\"innererror\":{\"code\":\"SyntaxError\",\"message\":\"A recognition error occurred in the query.\",\"innererror\":{\"code\":\"SYN0002\",\"message\":\"Query could not be parsed at '' on line [2,299]\",\"line\":2,\"pos\":299,\"token\":\"\"}}}}}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testBatchStatistics.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testBatchStatistics.json index 4a9c91a5248e..d4b0982026ed 100644 --- a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testBatchStatistics.json +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testBatchStatistics.json @@ -3,7 +3,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.loganalytics.io/v1/$batch", "Headers" : { - "User-Agent" : "azsdk-java-azure-monitor-query/1.1.0-beta.1 (11.0.10; Windows 10; 10.0)", + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "3fca528d-e917-4a3a-9095-db95adc39c8d", "Content-Type" : "application/json" }, "Response" : { @@ -13,12 +14,12 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 21 Oct 2021 17:43:01 GMT", - "via" : "1.1 draft-oms-5f8dcf9dcc-566mm", + "Date" : "Tue, 14 Mar 2023 07:45:59 GMT", + "via" : "1.1 draft-oms-5979b88dcd-v97sz", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Vary" : "Accept-Encoding,Accept-Encoding", - "Body" : "{\"responses\":[{\"id\":\"1\",\"status\":200,\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[95,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[94,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[93,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[92,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[91,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[90,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[89,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[88,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[87,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[86,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[85,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[84,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[83,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[82,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[81,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[80,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[79,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[78,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[77,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[76,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[75,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[74,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[73,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[72,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[71,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[70,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[69,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[68,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[67,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[66,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[65,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[64,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[63,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[62,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[61,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[60,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[59,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[58,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[57,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[56,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[55,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[54,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[53,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[52,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[51,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[50,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[49,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[48,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[47,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[46,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[45,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[44,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[43,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[42,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[41,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[40,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[39,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[38,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[37,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[36,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[35,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[34,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[33,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[32,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[31,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[30,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[29,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[28,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[27,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[26,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[25,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[24,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[23,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[22,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[21,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[20,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[19,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[18,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[17,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[16,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[15,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[14,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[13,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[12,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[11,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[10,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[9,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[8,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[7,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[6,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[5,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[4,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[3,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[2,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[1,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}},{\"id\":\"2\",\"status\":200,\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[95,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[94,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[93,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[92,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[91,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[90,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[89,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[88,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[87,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[86,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[85,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[84,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[83,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[82,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[81,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[80,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[79,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[78,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[77,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[76,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[75,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[74,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[73,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[72,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[71,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[70,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[69,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[68,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[67,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[66,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[65,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[64,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[63,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[62,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[61,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[60,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[59,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[58,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[57,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[56,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[55,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[54,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[53,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[52,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[51,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[50,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[49,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[48,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[47,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[46,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[45,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[44,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[43,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[42,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[41,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[40,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[39,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[38,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[37,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[36,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[35,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[34,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[33,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[32,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[31,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[30,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[29,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[28,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[27,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[26,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[25,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[24,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[23,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[22,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[21,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[20,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[19,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[18,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[17,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[16,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[15,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[14,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[13,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[12,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[11,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[10,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[9,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[8,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[7,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[6,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[5,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[4,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[3,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[2,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[1,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}],\"statistics\":{\"query\":{\"executionTime\":0.0156756,\"resourceUsage\":{\"cache\":{\"memory\":{\"hits\":0,\"misses\":0,\"total\":0},\"disk\":{\"hits\":0,\"misses\":0,\"total\":0},\"shards\":{\"hot\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"cold\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"bypassbytes\":0}},\"cpu\":{\"user\":\"00:00:00\",\"kernel\":\"00:00:00\",\"totalCpu\":\"00:00:00\"},\"memory\":{\"peakPerNode\":3246096},\"network\":{\"interClusterTotalBytes\":19851,\"intraClusterTotalBytes\":0}},\"inputDatasetStatistics\":{\"extents\":{\"total\":0,\"scanned\":0,\"scannedMinDatetime\":\"0001-01-01T00:00:00.0000000Z\",\"scannedMaxDatetime\":\"0001-01-01T00:00:00.0000000Z\"},\"rows\":{\"total\":0,\"scanned\":0},\"rowstores\":{\"scannedRows\":0,\"scannedValuesSize\":0},\"shards\":{\"queriesGeneric\":0,\"queriesSpecialized\":0}},\"datasetStatistics\":[{\"tableRowCount\":100,\"tableSize\":19902}]}}}}]}", + "Vary" : "Accept-Encoding", + "Body" : "{\"responses\":[{\"id\":\"1\",\"status\":200,\"headers\":{\"Age\":\"76\",\"request-context\":\"appId=cid-v1:70941e4f-7e8f-40b7-b730-183893db0297\"},\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[95,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[94,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[93,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[92,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[91,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[90,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[89,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[88,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[87,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[86,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[85,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[84,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[83,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[82,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[81,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[80,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[79,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[78,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[77,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[76,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[75,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[74,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[73,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[72,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[71,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[70,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[69,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[68,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[67,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[66,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[65,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[64,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[63,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[62,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[61,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[60,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[59,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[58,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[57,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[56,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[55,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[54,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[53,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[52,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[51,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[50,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[49,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[48,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[47,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[46,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[45,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[44,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[43,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[42,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[41,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[40,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[39,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[38,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[37,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[36,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[35,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[34,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[33,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[32,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[31,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[30,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[29,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[28,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[27,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[26,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[25,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[24,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[23,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[22,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[21,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[20,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[19,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[18,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[17,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[16,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[15,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[14,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[13,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[12,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[11,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[10,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[9,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[8,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[7,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[6,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[5,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[4,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[3,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[2,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[1,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}},{\"id\":\"2\",\"status\":200,\"headers\":{\"Age\":\"76\",\"request-context\":\"appId=cid-v1:70941e4f-7e8f-40b7-b730-183893db0297\"},\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[95,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[94,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[93,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[92,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[91,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[90,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[89,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[88,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[87,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[86,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[85,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[84,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[83,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[82,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[81,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[80,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[79,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[78,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[77,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[76,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[75,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[74,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[73,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[72,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[71,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[70,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[69,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[68,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[67,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[66,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[65,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[64,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[63,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[62,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[61,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[60,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[59,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[58,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[57,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[56,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[55,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[54,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[53,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[52,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[51,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[50,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[49,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[48,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[47,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[46,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[45,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[44,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[43,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[42,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[41,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[40,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[39,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[38,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[37,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[36,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[35,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[34,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[33,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[32,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[31,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[30,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[29,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[28,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[27,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[26,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[25,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[24,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[23,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[22,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[21,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[20,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[19,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[18,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[17,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[16,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[15,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[14,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[13,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[12,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[11,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[10,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[9,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[8,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[7,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[6,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[5,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[4,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[3,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[2,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[1,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}],\"statistics\":{\"query\":{\"executionTime\":0.0156277,\"resourceUsage\":{\"cache\":{\"memory\":{\"hits\":0,\"misses\":0,\"total\":0},\"disk\":{\"hits\":0,\"misses\":0,\"total\":0},\"shards\":{\"hot\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"cold\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"bypassbytes\":0}},\"cpu\":{\"user\":\"00:00:00\",\"kernel\":\"00:00:00\",\"totalCpu\":\"00:00:00\"},\"memory\":{\"peakPerNode\":4293904},\"network\":{\"interClusterTotalBytes\":19875,\"crossClusterTotalBytes\":0}},\"inputDatasetStatistics\":{\"extents\":{\"total\":0,\"scanned\":0,\"scannedMinDatetime\":\"0001-01-01T00:00:00.0000000Z\",\"scannedMaxDatetime\":\"0001-01-01T00:00:00.0000000Z\"},\"rows\":{\"total\":0,\"scanned\":0},\"rowstores\":{\"scannedRows\":0,\"scannedValuesSize\":0},\"shards\":{\"queriesGeneric\":0,\"queriesSpecialized\":0}},\"datasetStatistics\":[{\"tableRowCount\":100,\"tableSize\":19902}],\"crossClusterResourceUsage\":{}}}}}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testLogsQuery.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testLogsQuery.json index c0b4c104f273..187d1f27dca5 100644 --- a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testLogsQuery.json +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testLogsQuery.json @@ -3,22 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.loganalytics.io/v1/workspaces/d2d0e126-fa1e-4b0a-b647-250cdd471e68/query", "Headers" : { - "User-Agent" : "azsdk-java-azure-monitor-query/1.1.0-beta.1 (11.0.10; Windows 10; 10.0)", + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "f3f4fa6d-adec-4849-8d56-5826da27c42f", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "18936", "Access-Control-Allow-Origin" : "*", "X-Content-Type-Options" : "nosniff", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 21 Oct 2021 17:42:59 GMT", - "via" : "1.1 draft-oms-5f8dcf9dcc-996pq", + "Date" : "Tue, 14 Mar 2023 07:45:59 GMT", + "via" : "1.1 draft-oms-5979b88dcd-lsl6b", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Vary" : "Accept-Encoding,Accept-Encoding", + "Vary" : "Accept-Encoding", + "Content-Length" : "18936", "Body" : "{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[95,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[94,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[93,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[92,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[91,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[90,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[89,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[88,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[87,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[86,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[85,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[84,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[83,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[82,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[81,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[80,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[79,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[78,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[77,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[76,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[75,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[74,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[73,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[72,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[71,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[70,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[69,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[68,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[67,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[66,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[65,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[64,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[63,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[62,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[61,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[60,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[59,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[58,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[57,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[56,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[55,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[54,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[53,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[52,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[51,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[50,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[49,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[48,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[47,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[46,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[45,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[44,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[43,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[42,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[41,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[40,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[39,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[38,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[37,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[36,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[35,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[34,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[33,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[32,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[31,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[30,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[29,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[28,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[27,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[26,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[25,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[24,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[23,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[22,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[21,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[20,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[19,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[18,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[17,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[16,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[15,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[14,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[13,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[12,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[11,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[10,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[9,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[8,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[7,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[6,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[5,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[4,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[3,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[2,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[1,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}", + "Age" : "76", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testLogsQueryBatch.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testLogsQueryBatch.json index 295767e5738b..47813a82047f 100644 --- a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testLogsQueryBatch.json +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testLogsQueryBatch.json @@ -3,7 +3,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.loganalytics.io/v1/$batch", "Headers" : { - "User-Agent" : "azsdk-java-azure-monitor-query/1.1.0-beta.1 (11.0.10; Windows 10; 10.0)", + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "80038c21-8f38-47bc-ba56-0262abd0dcaa", "Content-Type" : "application/json" }, "Response" : { @@ -13,12 +14,12 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 21 Oct 2021 17:43:03 GMT", - "via" : "1.1 draft-oms-5f8dcf9dcc-m6lgt", + "Date" : "Tue, 14 Mar 2023 07:45:59 GMT", + "via" : "1.1 draft-oms-5979b88dcd-4n82p", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Vary" : "Accept-Encoding,Accept-Encoding", - "Body" : "{\"responses\":[{\"id\":\"2\",\"status\":200,\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}},{\"id\":\"1\",\"status\":200,\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}}]}", + "Vary" : "Accept-Encoding", + "Body" : "{\"responses\":[{\"id\":\"1\",\"status\":200,\"headers\":{\"Age\":\"75\",\"request-context\":\"appId=cid-v1:70941e4f-7e8f-40b7-b730-183893db0297\"},\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}},{\"id\":\"2\",\"status\":200,\"headers\":{\"Age\":\"76\",\"request-context\":\"appId=cid-v1:70941e4f-7e8f-40b7-b730-183893db0297\"},\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testLogsQueryBatchWithServerTimeout.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testLogsQueryBatchWithServerTimeout.json index 1e3cf4eb3743..148341af3c5a 100644 --- a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testLogsQueryBatchWithServerTimeout.json +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testLogsQueryBatchWithServerTimeout.json @@ -3,7 +3,8 @@ "Method" : "POST", "Uri" : "https://REDACTED.loganalytics.io/v1/$batch", "Headers" : { - "User-Agent" : "azsdk-java-azure-monitor-query/1.0.7 (17.0.2; Windows 10; 10.0)", + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "968a9db6-eb61-4cde-9858-4d709f471cc0", "Content-Type" : "application/json" }, "Response" : { @@ -13,12 +14,12 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 09 Jun 2022 19:19:48 GMT", - "via" : "1.1 draft-oms-6d895847bd-fk545", + "Date" : "Tue, 14 Mar 2023 07:45:59 GMT", + "via" : "1.1 draft-oms-5979b88dcd-2t8h8", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Vary" : "Accept-Encoding,Accept-Encoding", - "Body" : "{\"responses\":[{\"id\":\"2\",\"status\":200,\"headers\":{\"Preference-Applied\":\"wait=20\",\"request-context\":\"appId=cid-v1:70941e4f-7e8f-40b7-b730-183893db0297\"},\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}},{\"id\":\"3\",\"status\":200,\"headers\":{\"Preference-Applied\":\"wait=10\",\"request-context\":\"appId=cid-v1:70941e4f-7e8f-40b7-b730-183893db0297\"},\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}},{\"id\":\"1\",\"status\":200,\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}}]}", + "Vary" : "Accept-Encoding", + "Body" : "{\"responses\":[{\"id\":\"1\",\"status\":200,\"headers\":{\"Age\":\"75\",\"request-context\":\"appId=cid-v1:70941e4f-7e8f-40b7-b730-183893db0297\"},\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}},{\"id\":\"2\",\"status\":200,\"headers\":{\"Age\":\"74\",\"request-context\":\"appId=cid-v1:70941e4f-7e8f-40b7-b730-183893db0297\"},\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}},{\"id\":\"3\",\"status\":200,\"headers\":{\"Age\":\"75\",\"request-context\":\"appId=cid-v1:70941e4f-7e8f-40b7-b730-183893db0297\"},\"body\":{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}}]}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testLogsQueryResource.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testLogsQueryResource.json new file mode 100644 index 000000000000..25f7a932239f --- /dev/null +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testLogsQueryResource.json @@ -0,0 +1,27 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.loganalytics.io/v1/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/srnagar-azuresdkgroup/providers/Microsoft.Storage/storageAccounts/srnagarstorage/query", + "Headers" : { + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "d30c3c79-564f-4a85-b116-b7b97d9a8d26", + "Content-Type" : "application/json" + }, + "Response" : { + "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", + "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", + "Access-Control-Allow-Origin" : "*", + "X-Content-Type-Options" : "nosniff", + "Connection" : "keep-alive", + "retry-after" : "0", + "Content-Length" : "18936", + "StatusCode" : "200", + "Body" : "{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[95,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[94,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[93,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[92,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[91,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[90,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[89,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[88,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[87,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[86,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[85,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[84,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[83,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[82,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[81,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[80,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[79,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[78,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[77,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[76,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[75,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[74,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[73,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[72,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[71,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[70,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[69,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[68,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[67,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[66,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[65,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[64,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[63,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[62,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[61,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[60,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[59,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[58,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[57,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[56,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[55,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[54,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[53,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[52,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[51,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[50,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[49,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[48,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[47,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[46,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[45,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[44,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[43,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[42,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[41,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[40,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[39,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[38,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[37,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[36,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[35,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[34,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[33,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[32,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[31,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[30,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[29,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[28,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[27,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[26,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[25,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[24,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[23,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[22,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[21,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[20,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[19,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[18,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[17,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[16,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[15,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[14,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[13,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[12,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[11,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[10,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[9,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[8,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[7,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[6,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[5,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[4,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[3,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[2,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[1,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}]}", + "Date" : "Tue, 14 Mar 2023 07:46:00 GMT", + "Content-Type" : "application/json; charset=utf-8", + "via" : "1.1 draft-oms-5979b88dcd-t8psw" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testMultipleWorkspaces.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testMultipleWorkspaces.json index d617f9f77fb8..940acce802a5 100644 --- a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testMultipleWorkspaces.json +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testMultipleWorkspaces.json @@ -3,22 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.loganalytics.io/v1/workspaces/d2d0e126-fa1e-4b0a-b647-250cdd471e68/query", "Headers" : { - "User-Agent" : "azsdk-java-azure-monitor-query/1.1.0-beta.1 (11.0.10; Windows 10; 10.0)", + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "5a12761a-855b-478d-852b-e70e618ab3fb", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "222", "Access-Control-Allow-Origin" : "*", "X-Content-Type-Options" : "nosniff", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 21 Oct 2021 17:43:17 GMT", - "via" : "1.1 draft-oms-5f8dcf9dcc-mfhfs", + "Date" : "Tue, 14 Mar 2023 07:45:59 GMT", + "via" : "1.1 draft-oms-5979b88dcd-8d2zk", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", "Vary" : "Accept-Encoding", - "Body" : "{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"TenantId\",\"type\":\"string\"},{\"name\":\"count_\",\"type\":\"long\"}],\"rows\":[[\"d2d0e126-fa1e-4b0a-b647-250cdd471e68\",31924880],[\"9dad0092-fd13-403a-b367-a189a090a541\",1848]]}]}", + "Content-Length" : "221", + "Body" : "{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"TenantId\",\"type\":\"string\"},{\"name\":\"count_\",\"type\":\"long\"}],\"rows\":[[\"d2d0e126-fa1e-4b0a-b647-250cdd471e68\",2127798],[\"9dad0092-fd13-403a-b367-a189a090a541\",3424]]}]}", + "Age" : "76", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testStatistics.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testStatistics.json index 75830dc886cc..dacbb4235fea 100644 --- a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testStatistics.json +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testStatistics.json @@ -3,22 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.loganalytics.io/v1/workspaces/d2d0e126-fa1e-4b0a-b647-250cdd471e68/query", "Headers" : { - "User-Agent" : "azsdk-java-azure-monitor-query/1.1.0-beta.1 (11.0.10; Windows 10; 10.0)", + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2d86c26e-25c0-4212-b71d-4e7e33ddf0c4", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "19763", "Access-Control-Allow-Origin" : "*", "X-Content-Type-Options" : "nosniff", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 21 Oct 2021 17:42:59 GMT", - "via" : "1.1 draft-oms-5f8dcf9dcc-j2lx5", + "Date" : "Tue, 14 Mar 2023 07:45:59 GMT", + "via" : "1.1 draft-oms-5979b88dcd-vbbwd", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Vary" : "Accept-Encoding,Accept-Encoding", - "Body" : "{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[95,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[94,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[93,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[92,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[91,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[90,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[89,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[88,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[87,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[86,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[85,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[84,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[83,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[82,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[81,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[80,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[79,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[78,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[77,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[76,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[75,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[74,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[73,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[72,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[71,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[70,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[69,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[68,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[67,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[66,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[65,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[64,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[63,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[62,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[61,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[60,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[59,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[58,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[57,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[56,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[55,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[54,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[53,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[52,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[51,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[50,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[49,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[48,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[47,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[46,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[45,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[44,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[43,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[42,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[41,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[40,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[39,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[38,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[37,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[36,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[35,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[34,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[33,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[32,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[31,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[30,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[29,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[28,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[27,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[26,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[25,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[24,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[23,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[22,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[21,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[20,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[19,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[18,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[17,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[16,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[15,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[14,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[13,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[12,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[11,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[10,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[9,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[8,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[7,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[6,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[5,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[4,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[3,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[2,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[1,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}],\"statistics\":{\"query\":{\"executionTime\":0.0156424,\"resourceUsage\":{\"cache\":{\"memory\":{\"hits\":0,\"misses\":0,\"total\":0},\"disk\":{\"hits\":0,\"misses\":0,\"total\":0},\"shards\":{\"hot\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"cold\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"bypassbytes\":0}},\"cpu\":{\"user\":\"00:00:00\",\"kernel\":\"00:00:00\",\"totalCpu\":\"00:00:00\"},\"memory\":{\"peakPerNode\":3337056},\"network\":{\"interClusterTotalBytes\":19851,\"intraClusterTotalBytes\":0}},\"inputDatasetStatistics\":{\"extents\":{\"total\":0,\"scanned\":0,\"scannedMinDatetime\":\"0001-01-01T00:00:00.0000000Z\",\"scannedMaxDatetime\":\"0001-01-01T00:00:00.0000000Z\"},\"rows\":{\"total\":0,\"scanned\":0},\"rowstores\":{\"scannedRows\":0,\"scannedValuesSize\":0},\"shards\":{\"queriesGeneric\":0,\"queriesSpecialized\":0}},\"datasetStatistics\":[{\"tableRowCount\":100,\"tableSize\":19902}]}}}", + "Vary" : "Accept-Encoding", + "Content-Length" : "19786", + "Body" : "{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[95,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[94,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[93,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[92,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[91,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[90,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[89,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[88,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[87,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[86,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[85,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[84,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[83,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[82,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[81,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[80,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[79,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[78,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[77,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[76,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[75,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[74,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[73,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[72,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[71,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[70,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[69,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[68,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[67,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[66,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[65,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[64,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[63,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[62,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[61,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[60,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[59,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[58,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[57,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[56,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[55,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[54,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[53,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[52,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[51,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[50,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[49,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[48,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[47,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[46,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[45,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[44,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[43,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[42,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[41,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[40,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[39,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[38,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[37,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[36,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[35,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[34,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[33,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[32,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[31,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[30,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[29,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[28,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[27,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[26,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[25,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[24,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[23,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[22,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[21,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[20,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[19,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[18,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[17,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[16,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[15,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[14,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[13,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[12,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[11,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[10,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[9,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[8,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[7,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[6,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[5,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[4,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[3,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[2,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[1,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}],\"statistics\":{\"query\":{\"executionTime\":0,\"resourceUsage\":{\"cache\":{\"memory\":{\"hits\":0,\"misses\":0,\"total\":0},\"disk\":{\"hits\":0,\"misses\":0,\"total\":0},\"shards\":{\"hot\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"cold\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"bypassbytes\":0}},\"cpu\":{\"user\":\"00:00:00\",\"kernel\":\"00:00:00\",\"totalCpu\":\"00:00:00\"},\"memory\":{\"peakPerNode\":3851552},\"network\":{\"interClusterTotalBytes\":19875,\"crossClusterTotalBytes\":0}},\"inputDatasetStatistics\":{\"extents\":{\"total\":0,\"scanned\":0,\"scannedMinDatetime\":\"0001-01-01T00:00:00.0000000Z\",\"scannedMaxDatetime\":\"0001-01-01T00:00:00.0000000Z\"},\"rows\":{\"total\":0,\"scanned\":0},\"rowstores\":{\"scannedRows\":0,\"scannedValuesSize\":0},\"shards\":{\"queriesGeneric\":0,\"queriesSpecialized\":0}},\"datasetStatistics\":[{\"tableRowCount\":100,\"tableSize\":19902}],\"crossClusterResourceUsage\":{}}}}", + "Age" : "76", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testStatisticsResourceQuery.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testStatisticsResourceQuery.json new file mode 100644 index 000000000000..357293a991af --- /dev/null +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testStatisticsResourceQuery.json @@ -0,0 +1,28 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.loganalytics.io/v1/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/srnagar-azuresdkgroup/providers/Microsoft.Storage/storageAccounts/srnagarstorage/query", + "Headers" : { + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "2aa19c89-f489-4a23-9190-9350ea8d0637", + "Content-Type" : "application/json" + }, + "Response" : { + "Access-Control-Allow-Origin" : "*", + "X-Content-Type-Options" : "nosniff", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Tue, 14 Mar 2023 07:45:59 GMT", + "via" : "1.1 draft-oms-5979b88dcd-ttqcg", + "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", + "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", + "Content-Length" : "19786", + "Body" : "{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"x\",\"type\":\"long\"},{\"name\":\"y\",\"type\":\"long\"},{\"name\":\"DateTime\",\"type\":\"datetime\"},{\"name\":\"Bool\",\"type\":\"bool\"},{\"name\":\"Guid\",\"type\":\"guid\"},{\"name\":\"Int\",\"type\":\"int\"},{\"name\":\"Long\",\"type\":\"long\"},{\"name\":\"Double\",\"type\":\"real\"},{\"name\":\"String\",\"type\":\"string\"},{\"name\":\"Timespan\",\"type\":\"timespan\"},{\"name\":\"Decimal\",\"type\":\"decimal\"},{\"name\":\"Dynamic\",\"type\":\"dynamic\"}],\"rows\":[[100,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[99,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[98,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[97,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[96,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[95,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[94,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[93,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[92,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[91,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[90,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[89,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[88,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[87,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[86,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[85,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[84,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[83,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[82,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[81,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[80,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[79,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[78,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[77,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[76,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[75,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[74,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[73,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[72,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[71,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[70,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[69,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[68,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[67,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[66,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[65,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[64,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[63,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[62,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[61,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[60,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[59,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[58,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[57,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[56,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[55,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[54,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[53,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[52,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[51,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[50,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[49,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[48,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[47,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[46,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[45,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[44,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[43,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[42,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[41,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[40,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[39,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[38,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[37,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[36,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[35,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[34,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[33,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[32,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[31,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[30,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[29,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[28,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[27,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[26,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[25,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[24,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[23,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[22,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[21,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[20,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[19,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[18,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[17,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[16,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[15,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[14,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[13,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[12,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[11,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[10,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[9,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[8,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[7,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[6,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[5,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[4,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[3,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[2,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"],[1,1,\"2015-12-31T23:59:59.9Z\",false,\"74be27de-1e4e-49d9-b579-fe0b331d3642\",12345,1,12345.6789,\"string value\",\"00:00:10\",\"0.10101\",\"{\\\"a\\\":123,\\\"b\\\":\\\"hello\\\",\\\"c\\\":[1,2,3],\\\"d\\\":{}}\"]]}],\"statistics\":{\"query\":{\"executionTime\":0,\"resourceUsage\":{\"cache\":{\"memory\":{\"hits\":0,\"misses\":0,\"total\":0},\"disk\":{\"hits\":0,\"misses\":0,\"total\":0},\"shards\":{\"hot\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"cold\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"bypassbytes\":0}},\"cpu\":{\"user\":\"00:00:00\",\"kernel\":\"00:00:00\",\"totalCpu\":\"00:00:00\"},\"memory\":{\"peakPerNode\":3843360},\"network\":{\"interClusterTotalBytes\":19875,\"crossClusterTotalBytes\":0}},\"inputDatasetStatistics\":{\"extents\":{\"total\":0,\"scanned\":0,\"scannedMinDatetime\":\"0001-01-01T00:00:00.0000000Z\",\"scannedMaxDatetime\":\"0001-01-01T00:00:00.0000000Z\"},\"rows\":{\"total\":0,\"scanned\":0},\"rowstores\":{\"scannedRows\":0,\"scannedValuesSize\":0},\"shards\":{\"queriesGeneric\":0,\"queriesSpecialized\":0}},\"datasetStatistics\":[{\"tableRowCount\":100,\"tableSize\":19902}],\"crossClusterResourceUsage\":{}}}}", + "Age" : "76", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testVisualization.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testVisualization.json index 921252dd2781..e13a58d634a8 100644 --- a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testVisualization.json +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testVisualization.json @@ -3,23 +3,24 @@ "Method" : "POST", "Uri" : "https://REDACTED.loganalytics.io/v1/workspaces/d2d0e126-fa1e-4b0a-b647-250cdd471e68/query", "Headers" : { - "User-Agent" : "azsdk-java-azure-monitor-query/1.1.0-beta.1 (14.0.2; Windows 10; 10.0)", + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "fd956c51-acf4-48a7-b34c-1313794e6cc3", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "1266", "Access-Control-Allow-Origin" : "*", "X-Content-Type-Options" : "nosniff", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Wed, 16 Mar 2022 23:19:45 GMT", - "via" : "1.1 draft-oms-85847646b4-z5q5m", + "Date" : "Tue, 14 Mar 2023 07:45:59 GMT", + "via" : "1.1 draft-oms-5979b88dcd-7wbnv", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Vary" : "Accept-Encoding,Accept-Encoding", - "Body" : "{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"s\",\"type\":\"string\"},{\"name\":\"i\",\"type\":\"long\"}],\"rows\":[[\"a\",1],[\"b\",2],[\"c\",3]]}],\"render\":{\"visualization\":\"columnchart\",\"title\":\"the chart title\",\"accumulate\":false,\"isQuerySorted\":false,\"kind\":null,\"legend\":null,\"series\":null,\"yMin\":\"NaN\",\"yMax\":\"NaN\",\"xAxis\":null,\"xColumn\":null,\"xTitle\":\"the x axis title\",\"yAxis\":null,\"yColumns\":null,\"ySplit\":null,\"yTitle\":null,\"anomalyColumns\":null},\"statistics\":{\"query\":{\"executionTime\":0.0156356,\"resourceUsage\":{\"cache\":{\"memory\":{\"hits\":0,\"misses\":0,\"total\":0},\"disk\":{\"hits\":0,\"misses\":0,\"total\":0},\"shards\":{\"hot\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"cold\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"bypassbytes\":0}},\"cpu\":{\"user\":\"00:00:00\",\"kernel\":\"00:00:00\",\"totalCpu\":\"00:00:00\"},\"memory\":{\"peakPerNode\":524384},\"network\":{\"interClusterTotalBytes\":615,\"crossClusterTotalBytes\":0}},\"inputDatasetStatistics\":{\"extents\":{\"total\":0,\"scanned\":0,\"scannedMinDatetime\":\"0001-01-01T00:00:00.0000000Z\",\"scannedMaxDatetime\":\"0001-01-01T00:00:00.0000000Z\"},\"rows\":{\"total\":0,\"scanned\":0},\"rowstores\":{\"scannedRows\":0,\"scannedValuesSize\":0},\"shards\":{\"queriesGeneric\":0,\"queriesSpecialized\":0}},\"datasetStatistics\":[{\"tableRowCount\":3,\"tableSize\":55}]}}}", - "Age" : "28", + "Vary" : "Accept-Encoding", + "Content-Length" : "1289", + "Body" : "{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"s\",\"type\":\"string\"},{\"name\":\"i\",\"type\":\"long\"}],\"rows\":[[\"a\",1],[\"b\",2],[\"c\",3]]}],\"render\":{\"visualization\":\"columnchart\",\"title\":\"the chart title\",\"accumulate\":false,\"isQuerySorted\":false,\"kind\":null,\"legend\":null,\"series\":null,\"yMin\":\"NaN\",\"yMax\":\"NaN\",\"xAxis\":null,\"xColumn\":null,\"xTitle\":\"the x axis title\",\"yAxis\":null,\"yColumns\":null,\"ySplit\":null,\"yTitle\":null,\"anomalyColumns\":null},\"statistics\":{\"query\":{\"executionTime\":0,\"resourceUsage\":{\"cache\":{\"memory\":{\"hits\":0,\"misses\":0,\"total\":0},\"disk\":{\"hits\":0,\"misses\":0,\"total\":0},\"shards\":{\"hot\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"cold\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"bypassbytes\":0}},\"cpu\":{\"user\":\"00:00:00\",\"kernel\":\"00:00:00\",\"totalCpu\":\"00:00:00\"},\"memory\":{\"peakPerNode\":524384},\"network\":{\"interClusterTotalBytes\":615,\"crossClusterTotalBytes\":0}},\"inputDatasetStatistics\":{\"extents\":{\"total\":0,\"scanned\":0,\"scannedMinDatetime\":\"0001-01-01T00:00:00.0000000Z\",\"scannedMaxDatetime\":\"0001-01-01T00:00:00.0000000Z\"},\"rows\":{\"total\":0,\"scanned\":0},\"rowstores\":{\"scannedRows\":0,\"scannedValuesSize\":0},\"shards\":{\"queriesGeneric\":0,\"queriesSpecialized\":0}},\"datasetStatistics\":[{\"tableRowCount\":3,\"tableSize\":55}],\"crossClusterResourceUsage\":{}}}}", + "Age" : "75", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null diff --git a/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testVisualizationResourceQuery.json b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testVisualizationResourceQuery.json new file mode 100644 index 000000000000..31034de77dbe --- /dev/null +++ b/sdk/monitor/azure-monitor-query/src/test/resources/session-records/LogsQueryClientTest.testVisualizationResourceQuery.json @@ -0,0 +1,28 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.loganalytics.io/v1/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/srnagar-azuresdkgroup/providers/Microsoft.Storage/storageAccounts/srnagarstorage/query", + "Headers" : { + "User-Agent" : "azsdk-java-azure-monitor-query/1.2.0-beta.1 (17.0.2; Windows 11; 10.0)", + "x-ms-client-request-id" : "73b13784-a2d4-4843-aaee-d8739095cae4", + "Content-Type" : "application/json" + }, + "Response" : { + "Access-Control-Allow-Origin" : "*", + "X-Content-Type-Options" : "nosniff", + "Connection" : "keep-alive", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Tue, 14 Mar 2023 07:45:59 GMT", + "via" : "1.1 draft-oms-5979b88dcd-v7vwv", + "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", + "Access-Control-Expose-Headers" : "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", + "Content-Length" : "1289", + "Body" : "{\"tables\":[{\"name\":\"PrimaryResult\",\"columns\":[{\"name\":\"s\",\"type\":\"string\"},{\"name\":\"i\",\"type\":\"long\"}],\"rows\":[[\"a\",1],[\"b\",2],[\"c\",3]]}],\"render\":{\"visualization\":\"columnchart\",\"title\":\"the chart title\",\"accumulate\":false,\"isQuerySorted\":false,\"kind\":null,\"legend\":null,\"series\":null,\"yMin\":\"NaN\",\"yMax\":\"NaN\",\"xAxis\":null,\"xColumn\":null,\"xTitle\":\"the x axis title\",\"yAxis\":null,\"yColumns\":null,\"ySplit\":null,\"yTitle\":null,\"anomalyColumns\":null},\"statistics\":{\"query\":{\"executionTime\":0,\"resourceUsage\":{\"cache\":{\"memory\":{\"hits\":0,\"misses\":0,\"total\":0},\"disk\":{\"hits\":0,\"misses\":0,\"total\":0},\"shards\":{\"hot\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"cold\":{\"hitbytes\":0,\"missbytes\":0,\"retrievebytes\":0},\"bypassbytes\":0}},\"cpu\":{\"user\":\"00:00:00\",\"kernel\":\"00:00:00\",\"totalCpu\":\"00:00:00\"},\"memory\":{\"peakPerNode\":524384},\"network\":{\"interClusterTotalBytes\":615,\"crossClusterTotalBytes\":0}},\"inputDatasetStatistics\":{\"extents\":{\"total\":0,\"scanned\":0,\"scannedMinDatetime\":\"0001-01-01T00:00:00.0000000Z\",\"scannedMaxDatetime\":\"0001-01-01T00:00:00.0000000Z\"},\"rows\":{\"total\":0,\"scanned\":0},\"rowstores\":{\"scannedRows\":0,\"scannedValuesSize\":0},\"shards\":{\"queriesGeneric\":0,\"queriesSpecialized\":0}},\"datasetStatistics\":[{\"tableRowCount\":3,\"tableSize\":55}],\"crossClusterResourceUsage\":{}}}}", + "Age" : "76", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/monitor/azure-monitor-query/swagger/README.md b/sdk/monitor/azure-monitor-query/swagger/README.md index 35cd53abf2f3..b7a82da051f7 100644 --- a/sdk/monitor/azure-monitor-query/swagger/README.md +++ b/sdk/monitor/azure-monitor-query/swagger/README.md @@ -5,8 +5,8 @@ These settings apply only when `--tag=package-log` is specified on the command line. ``` yaml $(tag) == 'package-log' -use: '@autorest/java@4.1.11' -input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/dba6ed1f03bda88ac6884c0a883246446cc72495/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/preview/2021-05-19_Preview/OperationalInsights.json +use: '@autorest/java@4.1.15' +input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/f9877ef8032f249c168e04b8495e39f287988b91/specification/operationalinsights/data-plane/Microsoft.OperationalInsights/stable/2022-10-27/OperationalInsights.json java: true output-folder: ../ namespace: com.azure.monitor.query.implementation.logs @@ -29,7 +29,7 @@ customization-class: src/main/java/LogsCustomization.java These settings apply only when `--tag=package-metrics` is specified on the command line. ``` yaml $(tag) == 'package-metrics' -use: '@autorest/java@4.1.11' +use: '@autorest/java@4.1.15' input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/dba6ed1f03bda88ac6884c0a883246446cc72495/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metrics_API.json java: true output-folder: ../ @@ -57,7 +57,7 @@ directive: These settings apply only when `--tag=package-metrics-namespaces` is specified on the command line. ``` yaml $(tag) == 'package-metrics-namespaces' -use: '@autorest/java@4.1.11' +use: '@autorest/java@4.1.15' service-name: MetricsNamespaces input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/dba6ed1f03bda88ac6884c0a883246446cc72495/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json java: true @@ -82,7 +82,7 @@ customization-class: src/main/java/MetricsNamespacesCustomization.java These settings apply only when `--tag=package-metrics-definitions` is specified on the command line. ``` yaml $(tag) == 'package-metrics-definitions' -use: '@autorest/java@4.1.11' +use: '@autorest/java@4.1.15' input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/dba6ed1f03bda88ac6884c0a883246446cc72495/specification/monitor/resource-manager/Microsoft.Insights/stable/2018-01-01/metricDefinitions_API.json service-name: MetricsDefinitions java: true From d8077b31ddda433b35ed8d4dbb372830c09434a2 Mon Sep 17 00:00:00 2001 From: Daniel Jurek Date: Tue, 21 Mar 2023 13:33:17 -0700 Subject: [PATCH 04/35] Fix docindex (#34123) * Increase timeout * disable doc validation image * Add exclusion * Add azure-sdk-build-tool to excluded packages * Use original docindex * Re-add packages * Split only when the dash has spaces around it * Exclude azure-applicationinsights-query package which does not have retrievable namespaces * Exclude azure-resourcemanager-voiceservices * Do not attach tty (mitigates control character problems when running locally) * Revert Update-DocsMsToc.ps1, get Language-Settings.ps1 into shape * docker run without attaching to terminal --- eng/scripts/Language-Settings.ps1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eng/scripts/Language-Settings.ps1 b/eng/scripts/Language-Settings.ps1 index 55f66fe2d912..12e26ac25055 100644 --- a/eng/scripts/Language-Settings.ps1 +++ b/eng/scripts/Language-Settings.ps1 @@ -287,6 +287,10 @@ $PackageExclusions = @{ "azure-sdk-template-two" = "Depends on unreleased core."; "azure-sdk-template-three" = "Depends on unreleased core."; "azure-ai-personalizer" = "No java docs in this package."; + "azure-sdk-build-tool" = "Do not release docs for this package."; + "azure-applicationinsights-query" = "Cannot find namespaces in javadoc package."; + "azure-resourcemanager-voiceservices" = "Doc build attempts to download a package that does not have published sources."; + "azure-resourcemanager-storagemover" = "Attempts to azure-sdk-build-tool and fails"; } # Validates if the package will succeed in the CI build by validating the @@ -437,7 +441,7 @@ function DockerValidation ($packageInfos, $DocValidationImageId, $workingDirecto Set-Content -Path $hostConfigurationPath -Value ($configuration | ConvertTo-Json) | Out-Null docker run -v "${workingDirectory}:${containerWorkingDirectory}" ` - -e TARGET_CONFIGURATION_PATH=$containerConfigurationPath -t $DocValidationImageId 2>&1 ` + -e TARGET_CONFIGURATION_PATH=$containerConfigurationPath $DocValidationImageId 2>&1 ` | Where-Object { -not ($_ -match '^Progress .*B\s*$') } ` # Remove progress messages | Out-Host From 59e5600299961ae6fb0dd04e06648d33d187459b Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Tue, 21 Mar 2023 15:46:51 -0700 Subject: [PATCH 05/35] Update azure-sdk-build-tools Repository Resource Refs in Yaml files (#34150) --- eng/pipelines/partner-release.yml | 2 +- eng/pipelines/templates/stages/archetype-sdk-client-patch.yml | 2 +- eng/pipelines/templates/stages/archetype-sdk-client.yml | 2 +- eng/pipelines/templates/stages/archetype-sdk-pom-only.yml | 2 +- eng/pipelines/templates/stages/cosmos-sdk-client.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/eng/pipelines/partner-release.yml b/eng/pipelines/partner-release.yml index bc4564934259..1eaf2081b66e 100644 --- a/eng/pipelines/partner-release.yml +++ b/eng/pipelines/partner-release.yml @@ -16,7 +16,7 @@ resources: - repository: azure-sdk-build-tools type: git name: internal/azure-sdk-build-tools - ref: refs/tags/azure-sdk-build-tools_20230307.1 + ref: refs/tags/azure-sdk-build-tools_20230321.1 variables: BuildToolScripts: $(Pipeline.Workspace)/azure-sdk-build-tools/scripts diff --git a/eng/pipelines/templates/stages/archetype-sdk-client-patch.yml b/eng/pipelines/templates/stages/archetype-sdk-client-patch.yml index f989124f3270..d3eb4819a54d 100644 --- a/eng/pipelines/templates/stages/archetype-sdk-client-patch.yml +++ b/eng/pipelines/templates/stages/archetype-sdk-client-patch.yml @@ -3,7 +3,7 @@ resources: - repository: azure-sdk-build-tools type: git name: internal/azure-sdk-build-tools - ref: refs/tags/azure-sdk-build-tools_20230307.1 + ref: refs/tags/azure-sdk-build-tools_20230321.1 parameters: - name: Artifacts diff --git a/eng/pipelines/templates/stages/archetype-sdk-client.yml b/eng/pipelines/templates/stages/archetype-sdk-client.yml index 292530586ff0..132e330ddef2 100644 --- a/eng/pipelines/templates/stages/archetype-sdk-client.yml +++ b/eng/pipelines/templates/stages/archetype-sdk-client.yml @@ -3,7 +3,7 @@ resources: - repository: azure-sdk-build-tools type: git name: internal/azure-sdk-build-tools - ref: refs/tags/azure-sdk-build-tools_20230307.1 + ref: refs/tags/azure-sdk-build-tools_20230321.1 parameters: - name: Artifacts diff --git a/eng/pipelines/templates/stages/archetype-sdk-pom-only.yml b/eng/pipelines/templates/stages/archetype-sdk-pom-only.yml index 5ef7fed04732..62b5e67268c6 100644 --- a/eng/pipelines/templates/stages/archetype-sdk-pom-only.yml +++ b/eng/pipelines/templates/stages/archetype-sdk-pom-only.yml @@ -3,7 +3,7 @@ resources: - repository: azure-sdk-build-tools type: git name: internal/azure-sdk-build-tools - ref: refs/tags/azure-sdk-build-tools_20230307.1 + ref: refs/tags/azure-sdk-build-tools_20230321.1 parameters: - name: Artifacts diff --git a/eng/pipelines/templates/stages/cosmos-sdk-client.yml b/eng/pipelines/templates/stages/cosmos-sdk-client.yml index 3ecddb9d962d..cc12cc3d7369 100644 --- a/eng/pipelines/templates/stages/cosmos-sdk-client.yml +++ b/eng/pipelines/templates/stages/cosmos-sdk-client.yml @@ -3,7 +3,7 @@ resources: - repository: azure-sdk-build-tools type: git name: internal/azure-sdk-build-tools - ref: refs/tags/azure-sdk-build-tools_20230307.1 + ref: refs/tags/azure-sdk-build-tools_20230321.1 parameters: - name: Artifacts From ca6b11e170e1ffb4d31f417c0892eb9a10b3440b Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Tue, 21 Mar 2023 16:14:07 -0700 Subject: [PATCH 06/35] Sync eng/common directory with azure-sdk-tools for PR 5742 (#34146) * add some default output to see about minimizing any occurrence of the task failing for no reason. perhaps having some output will allow devops to have an easier time with the invocation * update messag * Update eng/common/scripts/trust-proxy-certificate.ps1 Co-authored-by: Wes Haggard --- eng/common/scripts/trust-proxy-certificate.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eng/common/scripts/trust-proxy-certificate.ps1 b/eng/common/scripts/trust-proxy-certificate.ps1 index 144d304cfd18..3587ff3eea3d 100644 --- a/eng/common/scripts/trust-proxy-certificate.ps1 +++ b/eng/common/scripts/trust-proxy-certificate.ps1 @@ -3,4 +3,8 @@ if ($TestProxyTrustCertFn -and (Test-Path "Function:$TestProxyTrustCertFn")) { &$TestProxyTrustCertFn +} +else +{ + Write-Host "No implementation of Import-Dev-Cert- provided in eng/scripts/Language-Settings.ps1." } \ No newline at end of file From 5338e6c6a94d6dc7a1cae1c89a5192cf0d0beb3b Mon Sep 17 00:00:00 2001 From: Anu Thomas Chandy Date: Tue, 21 Mar 2023 16:22:01 -0700 Subject: [PATCH 07/35] Addressing IllegalStateException due to double free of Connection reference by the Transport (#34122) * Addressing IllegalStateException due to double free of Connection reference by the Transport * Updating changelog --- sdk/core/azure-core-amqp/CHANGELOG.md | 2 ++ .../amqp/implementation/ReactorProvider.java | 6 ++--- ...sportHandler.java => GlobalIOHandler.java} | 24 ++++++++++++------- ...dlerTest.java => GlobalIOHandlerTest.java} | 8 +++---- 4 files changed, 24 insertions(+), 16 deletions(-) rename sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/handler/{TransportHandler.java => GlobalIOHandler.java} (51%) rename sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/handler/{TransportHandlerTest.java => GlobalIOHandlerTest.java} (88%) diff --git a/sdk/core/azure-core-amqp/CHANGELOG.md b/sdk/core/azure-core-amqp/CHANGELOG.md index 49d52ec4622b..6197bb24a433 100644 --- a/sdk/core/azure-core-amqp/CHANGELOG.md +++ b/sdk/core/azure-core-amqp/CHANGELOG.md @@ -8,6 +8,8 @@ ### Bugs Fixed +- Addressing IllegalStateException due to double free of Connection reference by the Transport. + ### Other Changes ## 2.8.3 (2023-03-02) diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorProvider.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorProvider.java index ed77b733e243..a3717b9f170d 100644 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorProvider.java +++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorProvider.java @@ -4,7 +4,7 @@ package com.azure.core.amqp.implementation; import com.azure.core.amqp.implementation.handler.ReactorHandler; -import com.azure.core.amqp.implementation.handler.TransportHandler; +import com.azure.core.amqp.implementation.handler.GlobalIOHandler; import com.azure.core.util.logging.ClientLogger; import org.apache.qpid.proton.Proton; import org.apache.qpid.proton.reactor.Reactor; @@ -39,7 +39,7 @@ public ReactorDispatcher getReactorDispatcher() { * @throws IOException If the service could not create a Reactor instance. */ public Reactor createReactor(String connectionId, int maxFrameSize) throws IOException { - final TransportHandler transportHandler = new TransportHandler(connectionId); + final GlobalIOHandler globalIOHandler = new GlobalIOHandler(connectionId); final ReactorHandler reactorHandler = new ReactorHandler(connectionId); synchronized (lock) { @@ -56,7 +56,7 @@ public Reactor createReactor(String connectionId, int maxFrameSize) throws IOExc reactorOptions.setEnableSaslByDefault(true); final Reactor reactor = Proton.reactor(reactorOptions, reactorHandler); - reactor.getGlobalHandler().add(transportHandler); + reactor.setGlobalHandler(globalIOHandler); final Pipe ioSignal = Pipe.open(); final ReactorDispatcher dispatcher = new ReactorDispatcher(connectionId, reactor, ioSignal); diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/handler/TransportHandler.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/handler/GlobalIOHandler.java similarity index 51% rename from sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/handler/TransportHandler.java rename to sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/handler/GlobalIOHandler.java index 4a13d5f6a781..c4a7fa7c9df1 100644 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/handler/TransportHandler.java +++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/handler/GlobalIOHandler.java @@ -4,25 +4,32 @@ package com.azure.core.amqp.implementation.handler; import com.azure.core.util.logging.ClientLogger; -import org.apache.qpid.proton.engine.BaseHandler; import org.apache.qpid.proton.engine.Connection; import org.apache.qpid.proton.engine.Event; import org.apache.qpid.proton.engine.Transport; +import org.apache.qpid.proton.reactor.impl.IOHandler; import static com.azure.core.amqp.implementation.AmqpLoggingUtils.createContextWithConnectionId; import static com.azure.core.amqp.implementation.ClientConstants.HOSTNAME_KEY; import static com.azure.core.amqp.implementation.ClientConstants.NOT_APPLICABLE; -/** - * Handles transport related events. - */ -public class TransportHandler extends BaseHandler { +public class GlobalIOHandler extends IOHandler { private final ClientLogger logger; - public TransportHandler(final String connectionId) { - this.logger = new ClientLogger(TransportHandler.class, createContextWithConnectionId(connectionId)); + public GlobalIOHandler(final String connectionId) { + this.logger = new ClientLogger(GlobalIOHandler.class, createContextWithConnectionId(connectionId)); } + /** + * Override the transport_closed event handling behavior of base IOHandler. The base IOHandler does the Transport + * unbind even if the ConnectionHandler already did the unbind on the transport_error event. Each additional + * unbinding reduces the Connection's reference count by one. Ideally, removing Transport must lower + * the overall reference count by only one; else, the undesired reduction can lead to IllegalSateException. + * By overriding the transport_closed event handling, this method performs unbind only if it is not already done. + * Also, not doing unbind at least once will result in a memory leak. + * + * @param event the event description. + */ @Override public void onTransportClosed(Event event) { final Transport transport = event.getTransport(); @@ -32,8 +39,7 @@ public void onTransportClosed(Event event) { .addKeyValue(HOSTNAME_KEY, connection != null ? connection.getHostname() : NOT_APPLICABLE) .log("onTransportClosed"); - // connection.getTransport returns null if already unbound. - // We need to unbind the transport so that we do not leak memory. + // connection.getTransport() returns null if the unbind is already done. if (transport != null && connection != null && connection.getTransport() != null) { transport.unbind(); } diff --git a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/handler/TransportHandlerTest.java b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/handler/GlobalIOHandlerTest.java similarity index 88% rename from sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/handler/TransportHandlerTest.java rename to sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/handler/GlobalIOHandlerTest.java index 9cb4591b36e1..62a0bbbfd975 100644 --- a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/handler/TransportHandlerTest.java +++ b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/handler/GlobalIOHandlerTest.java @@ -18,9 +18,9 @@ import static org.mockito.Mockito.when; /** - * Tests transport handler. + * Tests transport unbinding behavior of the GlobalIOHandler. */ -public class TransportHandlerTest { +public class GlobalIOHandlerTest { @Mock private Transport transport; @Mock @@ -55,7 +55,7 @@ public void unbindsTransport() { when(connection.getTransport()).thenReturn(transport); - final TransportHandler handler = new TransportHandler("name"); + final GlobalIOHandler handler = new GlobalIOHandler("name"); // Act handler.onTransportClosed(event); @@ -70,7 +70,7 @@ public void noTransport() { when(event.getTransport()).thenReturn(transport); when(event.getConnection()).thenReturn(connection); - final TransportHandler handler = new TransportHandler("name"); + final GlobalIOHandler handler = new GlobalIOHandler("name"); // Act handler.onTransportClosed(event); From 785eb36d700bc70c82e295d9b2c1c65fab2fd866 Mon Sep 17 00:00:00 2001 From: yogeshmo <46582228+yogeshmo@users.noreply.github.com> Date: Tue, 21 Mar 2023 16:58:27 -0700 Subject: [PATCH 08/35] Adding parameter for only running the PPE stage (#34152) Co-authored-by: Yogesh Mohanraj --- sdk/communication/azure-communication-email/tests.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/sdk/communication/azure-communication-email/tests.yml b/sdk/communication/azure-communication-email/tests.yml index e670c503f00b..02b3f882b2eb 100644 --- a/sdk/communication/azure-communication-email/tests.yml +++ b/sdk/communication/azure-communication-email/tests.yml @@ -1,11 +1,20 @@ trigger: none +parameters: + - name: runOnlyPPE + displayName: "Run only the PPE stage" + type: boolean + default: false + stages: - template: /sdk/communication/communication-tests-template.yml parameters: PackageName: azure-communication-email SafeName: azurecommunicationemail - Clouds: 'Public,PPE,Int' + ${{ if eq(parameters.runOnlyPPE, true) }}: + Clouds: 'PPE' + ${{ if eq(parameters.runOnlyPPE, false) }}: + Clouds: 'Public,PPE,Int' CloudConfig: Public: SubscriptionConfigurations: From c602ac6eb3f8e623ba7e4f48ebd67ca7058776b6 Mon Sep 17 00:00:00 2001 From: Matt Metcalf Date: Tue, 21 Mar 2023 18:23:28 -0700 Subject: [PATCH 09/35] App Config Spring Feature Flag Updates (#34149) --- .../AppConfigurationRefreshUtil.java | 12 +++++++++--- .../cloud/feature/manager/FeatureManager.java | 16 ++++++++-------- .../feature/manager/filters/AlwaysOnFilter.java | 3 +-- .../FeatureFilter.java} | 7 +++++-- .../manager/filters/PercentageFilter.java | 3 +-- .../feature/manager/filters/TargetingFilter.java | 5 ++--- .../manager/filters/TimeWindowFilter.java | 3 +-- .../feature/manager/filters/package-info.java | 2 +- .../targeting/TargetingContextAccessor.java | 2 +- .../targeting/TargetingFilterContext.java | 4 ++++ .../feature/manager/FeatureManagerTest.java | 4 ++-- .../manager/filters/TargetingFilterTest.java | 2 +- 12 files changed, 36 insertions(+), 27 deletions(-) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/{models/IFeatureFilter.java => filters/FeatureFilter.java} (77%) diff --git a/sdk/spring/spring-cloud-azure-appconfiguration-config/src/main/java/com/azure/spring/cloud/appconfiguration/config/implementation/AppConfigurationRefreshUtil.java b/sdk/spring/spring-cloud-azure-appconfiguration-config/src/main/java/com/azure/spring/cloud/appconfiguration/config/implementation/AppConfigurationRefreshUtil.java index 48212d78fec2..4bf8c896d994 100644 --- a/sdk/spring/spring-cloud-azure-appconfiguration-config/src/main/java/com/azure/spring/cloud/appconfiguration/config/implementation/AppConfigurationRefreshUtil.java +++ b/sdk/spring/spring-cloud-azure-appconfiguration-config/src/main/java/com/azure/spring/cloud/appconfiguration/config/implementation/AppConfigurationRefreshUtil.java @@ -221,7 +221,7 @@ private static void refreshWithTimeFeatureFlags(AppConfigurationReplicaClient cl .setLabelFilter(watchKey.getLabelFilterText(profiles)); List currentKeys = client.listSettings(selector); - watchedKeySize = checkFeatureFlags(currentKeys, state, client, eventData); + watchedKeySize += checkFeatureFlags(currentKeys, state, client, eventData); } if (!eventData.getDoRefresh() && watchedKeySize != state.getWatchKeys().size()) { @@ -268,8 +268,14 @@ private static void refreshWithoutTimeFeatureFlags(AppConfigurationReplicaClient FeatureFlagStore featureStore, List watchKeys, RefreshEventData eventData, List profiles) throws AppConfigurationStatusException { for (FeatureFlagKeyValueSelector watchKey : featureStore.getSelects()) { - SettingSelector selector = new SettingSelector().setKeyFilter(watchKey.getKeyFilter()) - .setLabelFilter(watchKey.getLabelFilterText(profiles)); + String keyFilter = SELECT_ALL_FEATURE_FLAGS; + + if (StringUtils.hasText(watchKey.getKeyFilter())) { + keyFilter = FEATURE_FLAG_PREFIX + watchKey.getKeyFilter(); + } + + SettingSelector selector = new SettingSelector().setKeyFilter(keyFilter) + .setLabelFilter(watchKey.getLabelFilterText(profiles)); List currentTriggerConfigurations = client.listSettings(selector); int watchedKeySize = 0; diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/FeatureManager.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/FeatureManager.java index 4932c5675b51..e5cf4b60e838 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/FeatureManager.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/FeatureManager.java @@ -13,12 +13,12 @@ import org.springframework.context.ApplicationContext; import org.springframework.util.ReflectionUtils; +import com.azure.spring.cloud.feature.manager.filters.FeatureFilter; import com.azure.spring.cloud.feature.manager.implementation.FeatureManagementConfigProperties; import com.azure.spring.cloud.feature.manager.implementation.FeatureManagementProperties; import com.azure.spring.cloud.feature.manager.implementation.models.Feature; import com.azure.spring.cloud.feature.manager.models.FeatureFilterEvaluationContext; import com.azure.spring.cloud.feature.manager.models.FilterNotFoundException; -import com.azure.spring.cloud.feature.manager.models.IFeatureFilter; import reactor.core.publisher.Mono; @@ -50,9 +50,9 @@ public class FeatureManager { } /** - * Checks to see if the feature is enabled. If enabled it check each filter, once a single filter returns true it - * returns true. If no filter returns true, it returns false. If there are no filters, it returns true. If feature - * isn't found it returns false. + * Checks to see if the feature is enabled. If enabled it check each filter, once a single filter + * returns true it returns true. If no filter returns true, it returns false. If there are no + * filters, it returns true. If feature isn't found it returns false. * * @param feature Feature being checked. * @return state of the feature @@ -63,9 +63,9 @@ public Mono isEnabledAsync(String feature) { } /** - * Checks to see if the feature is enabled. If enabled it check each filter, once a single filter returns true it - * returns true. If no filter returns true, it returns false. If there are no filters, it returns true. If feature - * isn't found it returns false. + * Checks to see if the feature is enabled. If enabled it check each filter, once a single filter + * returns true it returns true. If no filter returns true, it returns false. If there are no + * filters, it returns true. If feature isn't found it returns false. * * @param feature Feature being checked. * @return state of the feature @@ -100,7 +100,7 @@ private boolean checkFeature(String feature) throws FilterNotFoundException { private boolean isFeatureOn(FeatureFilterEvaluationContext filter, String feature) { try { - IFeatureFilter featureFilter = (IFeatureFilter) context.getBean(filter.getName()); + FeatureFilter featureFilter = (FeatureFilter) context.getBean(filter.getName()); filter.setFeatureName(feature); return featureFilter.evaluate(filter); diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/AlwaysOnFilter.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/AlwaysOnFilter.java index 693123a26f30..005db0c2f500 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/AlwaysOnFilter.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/AlwaysOnFilter.java @@ -3,12 +3,11 @@ package com.azure.spring.cloud.feature.manager.filters; import com.azure.spring.cloud.feature.manager.models.FeatureFilterEvaluationContext; -import com.azure.spring.cloud.feature.manager.models.IFeatureFilter; /** * A filter that always returns true */ -public final class AlwaysOnFilter implements IFeatureFilter { +public final class AlwaysOnFilter implements FeatureFilter { @Override public boolean evaluate(FeatureFilterEvaluationContext context) { diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/IFeatureFilter.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/FeatureFilter.java similarity index 77% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/IFeatureFilter.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/FeatureFilter.java index c5d4d2f430ef..ba5528ce6150 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/IFeatureFilter.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/FeatureFilter.java @@ -1,12 +1,15 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.models; +package com.azure.spring.cloud.feature.manager.filters; + +import com.azure.spring.cloud.feature.manager.models.FeatureFilterEvaluationContext; /** * A Filter for Feature Management that is attached to Features. The filter needs to have @Component set to be found by * feature management. */ -public interface IFeatureFilter { +@FunctionalInterface +public interface FeatureFilter { /** * Evaluates if the filter is on or off. Returning true results in Feature evaluation ending and returning true. diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/PercentageFilter.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/PercentageFilter.java index 0dd614555d84..7967e0a042df 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/PercentageFilter.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/PercentageFilter.java @@ -8,12 +8,11 @@ import org.slf4j.LoggerFactory; import com.azure.spring.cloud.feature.manager.models.FeatureFilterEvaluationContext; -import com.azure.spring.cloud.feature.manager.models.IFeatureFilter; /** * A feature filter that can be used to activate a feature based on a random percentage. */ -public final class PercentageFilter implements IFeatureFilter { +public final class PercentageFilter implements FeatureFilter { private static final Logger LOGGER = LoggerFactory.getLogger(PercentageFilter.class); diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/TargetingFilter.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/TargetingFilter.java index fe2b04713f4c..309d765d03f2 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/TargetingFilter.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/TargetingFilter.java @@ -19,7 +19,6 @@ import com.azure.spring.cloud.feature.manager.implementation.targeting.GroupRollout; import com.azure.spring.cloud.feature.manager.implementation.targeting.TargetingFilterSettings; import com.azure.spring.cloud.feature.manager.models.FeatureFilterEvaluationContext; -import com.azure.spring.cloud.feature.manager.models.IFeatureFilter; import com.azure.spring.cloud.feature.manager.models.TargetingException; import com.azure.spring.cloud.feature.manager.targeting.TargetingContextAccessor; import com.azure.spring.cloud.feature.manager.targeting.TargetingFilterContext; @@ -31,7 +30,7 @@ /** * `Microsoft.TargetingFilter` enables evaluating a user/group/overall rollout of a feature. */ -public class TargetingFilter implements IFeatureFilter { +public class TargetingFilter implements FeatureFilter { private static final Logger LOGGER = LoggerFactory.getLogger(TargetingFilter.class); @@ -101,7 +100,7 @@ public boolean evaluate(FeatureFilterEvaluationContext context) { TargetingFilterContext targetingContext = new TargetingFilterContext(); - contextAccessor.configureTargetingContextAsync(targetingContext); + contextAccessor.configureTargetingContext(targetingContext); if (validateTargetingContext(targetingContext)) { LOGGER.warn("No targeting context available for targeting evaluation."); diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/TimeWindowFilter.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/TimeWindowFilter.java index 3743e4b5ea39..d52c328679e5 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/TimeWindowFilter.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/TimeWindowFilter.java @@ -14,12 +14,11 @@ import org.springframework.util.StringUtils; import com.azure.spring.cloud.feature.manager.models.FeatureFilterEvaluationContext; -import com.azure.spring.cloud.feature.manager.models.IFeatureFilter; /** * A feature filter that can be used at activate a feature based on a time window. */ -public final class TimeWindowFilter implements IFeatureFilter { +public final class TimeWindowFilter implements FeatureFilter { private static final Logger LOGGER = LoggerFactory.getLogger(TimeWindowFilter.class); diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/package-info.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/package-info.java index 77234dd3a2c6..92c0d87d13ed 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/package-info.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/package-info.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. /** * * Package contains the built-in Feature Filters, which implement - * {@link com.azure.spring.cloud.feature.manager.models.IFeatureFilter}. + * {@link com.azure.spring.cloud.feature.manager.filters.FeatureFilter}. * */ package com.azure.spring.cloud.feature.manager.filters; diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/TargetingContextAccessor.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/TargetingContextAccessor.java index 0a33892ccec6..86df6c9f8d47 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/TargetingContextAccessor.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/TargetingContextAccessor.java @@ -11,6 +11,6 @@ public interface TargetingContextAccessor { * Configures the Targeting Context for Feature Targeting evaluation. * @param context Targeting Context for selecting feature */ - void configureTargetingContextAsync(TargetingContext context); + void configureTargetingContext(TargetingContext context); } diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/TargetingFilterContext.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/TargetingFilterContext.java index e22ad590d85e..0ed8cb9af295 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/TargetingFilterContext.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/TargetingFilterContext.java @@ -16,6 +16,7 @@ public final class TargetingFilterContext implements TargetingContext { /** * @return the userId */ + @Override public String getUserId() { return userId; } @@ -23,6 +24,7 @@ public String getUserId() { /** * @param userId the userId to set */ + @Override public void setUserId(String userId) { this.userId = userId; } @@ -30,6 +32,7 @@ public void setUserId(String userId) { /** * @return the groups */ + @Override public List getGroups() { return groups; } @@ -37,6 +40,7 @@ public List getGroups() { /** * @param groups the groups to set */ + @Override public void setGroups(List groups) { this.groups = groups; } diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/FeatureManagerTest.java b/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/FeatureManagerTest.java index 0d68f0dd7a2b..fadb1ad41a3e 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/FeatureManagerTest.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/FeatureManagerTest.java @@ -23,12 +23,12 @@ import org.springframework.boot.test.context.SpringBootTest; import org.springframework.context.ApplicationContext; +import com.azure.spring.cloud.feature.manager.filters.FeatureFilter; import com.azure.spring.cloud.feature.manager.implementation.FeatureManagementConfigProperties; import com.azure.spring.cloud.feature.manager.implementation.FeatureManagementProperties; import com.azure.spring.cloud.feature.manager.implementation.models.Feature; import com.azure.spring.cloud.feature.manager.models.FeatureFilterEvaluationContext; import com.azure.spring.cloud.feature.manager.models.FilterNotFoundException; -import com.azure.spring.cloud.feature.manager.models.IFeatureFilter; /** * Unit tests for FeatureManager. @@ -139,7 +139,7 @@ public void noFilter() throws FilterNotFoundException { assertThat(e).hasMessage("Fail fast is set and a Filter was unable to be found: AlwaysOff"); } - class AlwaysOnFilter implements IFeatureFilter { + class AlwaysOnFilter implements FeatureFilter { @Override public boolean evaluate(FeatureFilterEvaluationContext context) { diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/filters/TargetingFilterTest.java b/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/filters/TargetingFilterTest.java index b8663f6432d0..b7839d3901c7 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/filters/TargetingFilterTest.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/filters/TargetingFilterTest.java @@ -331,7 +331,7 @@ class TargetingFilterTestContextAccessor implements TargetingContextAccessor { } @Override - public void configureTargetingContextAsync(TargetingContext context) { + public void configureTargetingContext(TargetingContext context) { context.setUserId(user); context.setGroups(groups); } From fd5541fc9c9657f22d0da1c801d6e0703850603e Mon Sep 17 00:00:00 2001 From: Annie Liang <64233642+xinlian12@users.noreply.github.com> Date: Tue, 21 Mar 2023 22:52:05 -0700 Subject: [PATCH 10/35] FaultInjectionFix-WarmUpFlow (#34096) * apply connection delay rule on openConnection flow as well --------- Co-authored-by: annie-mac --- sdk/cosmos/azure-cosmos-test/CHANGELOG.md | 1 + sdk/cosmos/azure-cosmos-test/README.md | 2 - .../FaultInjectionConditionInternal.java | 15 +++- .../FaultInjectionRuleProcessor.java | 11 +-- .../RntbdServerErrorInjector.java | 6 +- .../FaultInjectionServerErrorRuleTests.java | 71 +++++++++++++++++++ .../DocumentServiceRequestContext.java | 4 +- .../IOpenConnectionsHandler.java | 2 +- .../cosmos/implementation/ResourceType.java | 5 +- .../AddressInformation.java | 1 + .../GatewayAddressCache.java | 9 ++- .../HttpTransportClient.java | 2 +- .../RntbdTransportClient.java | 17 +++-- .../SharedTransportClient.java | 4 +- .../directconnectivity/TransportClient.java | 6 +- .../directconnectivity/Uri.java | 16 +++++ .../rntbd/ChannelPromiseWithExpiryTime.java | 6 +- .../rntbd/IRequestRecord.java | 10 +++ .../rntbd/OpenChannelPromise.java | 8 ++- .../OpenConnectionRntbdRequestRecord.java | 28 ++++++-- .../rntbd/RntbdClientChannelPool.java | 2 +- .../rntbd/RntbdEndpoint.java | 3 +- .../rntbd/RntbdOpenConnectionsHandler.java | 23 +++++- .../rntbd/RntbdRequestManager.java | 5 ++ .../rntbd/RntbdRequestRecord.java | 9 ++- .../rntbd/RntbdServiceEndpoint.java | 20 +++--- .../IRntbdServerErrorInjector.java | 3 +- .../RntbdServerErrorInjector.java | 3 +- .../SessionNotAvailableRetryTest.java | 4 +- .../GatewayAddressCacheTest.java | 52 ++++++++------ .../RntbdTransportClientTest.java | 4 +- 31 files changed, 268 insertions(+), 84 deletions(-) create mode 100644 sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/IRequestRecord.java diff --git a/sdk/cosmos/azure-cosmos-test/CHANGELOG.md b/sdk/cosmos/azure-cosmos-test/CHANGELOG.md index 7a6c1ad5c486..838918e3fce2 100644 --- a/sdk/cosmos/azure-cosmos-test/CHANGELOG.md +++ b/sdk/cosmos/azure-cosmos-test/CHANGELOG.md @@ -7,6 +7,7 @@ #### Breaking Changes #### Bugs Fixed +* Fixed an issue where `CONNECTION_DELAY` fault injection rule is not applied during `openConnectionsAndInitCaches` - See [PR 34096](https://github.com/Azure/azure-sdk-for-java/pull/34096) #### Other Changes diff --git a/sdk/cosmos/azure-cosmos-test/README.md b/sdk/cosmos/azure-cosmos-test/README.md index e67b00a5d955..42863fd9adfd 100644 --- a/sdk/cosmos/azure-cosmos-test/README.md +++ b/sdk/cosmos/azure-cosmos-test/README.md @@ -170,5 +170,3 @@ or contact [opencode@microsoft.com][coc_contact] with any additional questions o [troubleshooting]: https://docs.microsoft.com/azure/cosmos-db/troubleshoot-java-sdk-v4-sql [perf_guide]: https://docs.microsoft.com/azure/cosmos-db/performance-tips-java-sdk-v4-sql?tabs=api-async [quickstart]: https://docs.microsoft.com/azure/cosmos-db/create-sql-api-java?tabs=sync - -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fcosmos%2Fazure-cosmos-encryption%2FREADME.png) diff --git a/sdk/cosmos/azure-cosmos-test/src/main/java/com/azure/cosmos/test/implementation/faultinjection/FaultInjectionConditionInternal.java b/sdk/cosmos/azure-cosmos-test/src/main/java/com/azure/cosmos/test/implementation/faultinjection/FaultInjectionConditionInternal.java index 029199344e8d..bbcd61524099 100644 --- a/sdk/cosmos/azure-cosmos-test/src/main/java/com/azure/cosmos/test/implementation/faultinjection/FaultInjectionConditionInternal.java +++ b/sdk/cosmos/azure-cosmos-test/src/main/java/com/azure/cosmos/test/implementation/faultinjection/FaultInjectionConditionInternal.java @@ -51,11 +51,15 @@ public List getAddresses() { return physicalAddresses; } - public void setAddresses(List physicalAddresses) { + public void setAddresses(List physicalAddresses, boolean primaryOnly) { this.physicalAddresses = physicalAddresses; if (physicalAddresses != null && physicalAddresses.size() > 0) { this.validators.add(new AddressValidator(physicalAddresses)); } + + if (primaryOnly) { + this.validators.add(new PrimaryAddressValidator()); + } } public boolean isApplicable(RxDocumentServiceRequest request) { @@ -115,11 +119,18 @@ public boolean isApplicable(RxDocumentServiceRequest request) { && addresses.size() > 0) { return this.addresses .stream() - .anyMatch(address -> request.requestContext.storePhysicalAddress.toString().startsWith(address.toString())); + .anyMatch(address -> request.requestContext.storePhysicalAddressUri.getURIAsString().startsWith(address.toString())); } return true; } } + + static class PrimaryAddressValidator implements IFaultInjectionConditionValidator { + @Override + public boolean isApplicable(RxDocumentServiceRequest request) { + return request.requestContext.storePhysicalAddressUri.isPrimary(); + } + } //endregion } diff --git a/sdk/cosmos/azure-cosmos-test/src/main/java/com/azure/cosmos/test/implementation/faultinjection/FaultInjectionRuleProcessor.java b/sdk/cosmos/azure-cosmos-test/src/main/java/com/azure/cosmos/test/implementation/faultinjection/FaultInjectionRuleProcessor.java index 1a8beb8c46fe..7539b775ce10 100644 --- a/sdk/cosmos/azure-cosmos-test/src/main/java/com/azure/cosmos/test/implementation/faultinjection/FaultInjectionRuleProcessor.java +++ b/sdk/cosmos/azure-cosmos-test/src/main/java/com/azure/cosmos/test/implementation/faultinjection/FaultInjectionRuleProcessor.java @@ -168,11 +168,12 @@ private Mono getEffectiveServerErrorRule( // TODO: add handling for gateway mode // Direct connection mode, populate physical addresses + boolean primaryAddressesOnly = this.isWriteOnly(rule.getCondition()); return BackoffRetryUtility.executeRetry( () -> this.resolvePhysicalAddresses( regionEndpoints, rule.getCondition().getEndpoints(), - this.isWriteOnlyEndpoint(rule.getCondition()), + primaryAddressesOnly, documentCollection), new FaultInjectionRuleProcessorRetryPolicy(this.retryOptions) ) @@ -186,7 +187,7 @@ private Mono getEffectiveServerErrorRule( .collect(Collectors.toList()); } - effectiveCondition.setAddresses(effectiveAddresses); + effectiveCondition.setAddresses(effectiveAddresses, primaryAddressesOnly); return effectiveCondition; }); }) @@ -226,7 +227,7 @@ private Mono getEffectiveConnectionErrorRule( return this.resolvePhysicalAddresses( regionEndpoints, rule.getCondition().getEndpoints(), - this.isWriteOnlyEndpoint(rule.getCondition()), + this.isWriteOnly(rule.getCondition()), documentCollection) .map(physicalAddresses -> { List effectiveAddresses = @@ -258,7 +259,7 @@ private Mono getEffectiveConnectionErrorRule( * @return the region service endpoints. */ private List getRegionEndpoints(FaultInjectionCondition condition) { - boolean isWriteOnlyEndpoints = this.isWriteOnlyEndpoint(condition); + boolean isWriteOnlyEndpoints = this.isWriteOnly(condition); if (StringUtils.isNotEmpty(condition.getRegion())) { return Arrays.asList( @@ -362,7 +363,7 @@ private Mono> resolvePhysicalAddresses( .collectList(); } - private boolean isWriteOnlyEndpoint(FaultInjectionCondition condition) { + private boolean isWriteOnly(FaultInjectionCondition condition) { return condition.getOperationType() != null && this.getEffectiveOperationType(condition.getOperationType()).isWriteOperation(); } diff --git a/sdk/cosmos/azure-cosmos-test/src/main/java/com/azure/cosmos/test/implementation/faultinjection/RntbdServerErrorInjector.java b/sdk/cosmos/azure-cosmos-test/src/main/java/com/azure/cosmos/test/implementation/faultinjection/RntbdServerErrorInjector.java index 654333951703..6f88d70c6286 100644 --- a/sdk/cosmos/azure-cosmos-test/src/main/java/com/azure/cosmos/test/implementation/faultinjection/RntbdServerErrorInjector.java +++ b/sdk/cosmos/azure-cosmos-test/src/main/java/com/azure/cosmos/test/implementation/faultinjection/RntbdServerErrorInjector.java @@ -5,6 +5,7 @@ import com.azure.cosmos.CosmosException; import com.azure.cosmos.implementation.RxDocumentServiceRequest; +import com.azure.cosmos.implementation.directconnectivity.rntbd.IRequestRecord; import com.azure.cosmos.implementation.directconnectivity.rntbd.RntbdRequestRecord; import com.azure.cosmos.implementation.faultinjection.IRntbdServerErrorInjector; @@ -67,7 +68,7 @@ public boolean injectRntbdServerResponseError(RntbdRequestRecord requestRecord) @Override public boolean injectRntbdServerConnectionDelay( - RntbdRequestRecord requestRecord, + IRequestRecord requestRecord, Consumer openConnectionWithDelayConsumer) { if (requestRecord == null) { return false; @@ -79,11 +80,10 @@ public boolean injectRntbdServerConnectionDelay( if (serverConnectionDelayRule != null) { request.faultInjectionRequestContext .applyFaultInjectionRule( - requestRecord.transportRequestId(), + requestRecord.getRequestId(), serverConnectionDelayRule.getId()); openConnectionWithDelayConsumer.accept(serverConnectionDelayRule.getResult().getDelay()); return true; - } return false; diff --git a/sdk/cosmos/azure-cosmos-test/src/test/java/com/azure/cosmos/test/faultinjection/FaultInjectionServerErrorRuleTests.java b/sdk/cosmos/azure-cosmos-test/src/test/java/com/azure/cosmos/test/faultinjection/FaultInjectionServerErrorRuleTests.java index bbb78f4fea46..273afdbf62b5 100644 --- a/sdk/cosmos/azure-cosmos-test/src/test/java/com/azure/cosmos/test/faultinjection/FaultInjectionServerErrorRuleTests.java +++ b/sdk/cosmos/azure-cosmos-test/src/test/java/com/azure/cosmos/test/faultinjection/FaultInjectionServerErrorRuleTests.java @@ -91,6 +91,19 @@ public static Object[][] operationTypeProvider() { }; } + @DataProvider(name = "faultInjectionOperationTypeProvider") + public static Object[][] faultInjectionOperationTypeProvider() { + return new Object[][]{ + // fault injection operation type, primaryAddressOnly + { FaultInjectionOperationType.READ_ITEM, false }, + { FaultInjectionOperationType.REPLACE_ITEM, true }, + { FaultInjectionOperationType.CREATE_ITEM, true }, + { FaultInjectionOperationType.DELETE_ITEM, true}, + { FaultInjectionOperationType.QUERY_ITEM, false }, + { FaultInjectionOperationType.PATCH_ITEM, true } + }; + } + @DataProvider(name = "faultInjectionServerErrorResponseProvider") public static Object[][] faultInjectionServerErrorResponseProvider() { return new Object[][]{ @@ -565,6 +578,64 @@ public void faultInjectionServerErrorRuleTests_ServerConnectionDelay() throws Js } } + @Test(groups = {"multi-region"}, dataProvider = "faultInjectionOperationTypeProvider", timeOut = TIMEOUT) + public void faultInjectionServerErrorRuleTests_ServerConnectionDelay_warmup( + FaultInjectionOperationType operationType, + boolean primaryAddressesOnly) { + + CosmosAsyncClient newClient = null; // creating new client to force creating new connections + // simulate high channel acquisition/connectionTimeout during openConnection flow + String ruleId = "serverErrorRule-serverConnectionDelay-warmup" + UUID.randomUUID(); + FaultInjectionRule serverConnectionDelayRule = + new FaultInjectionRuleBuilder(ruleId) + .condition( + new FaultInjectionConditionBuilder() + .operationType(operationType) + .build() + ) + .result( + FaultInjectionResultBuilders + .getResultBuilder(FaultInjectionServerErrorType.CONNECTION_DELAY) + .delay(Duration.ofSeconds(2)) + .times(1) + .build() + ) + .duration(Duration.ofMinutes(5)) + .build(); + + try { + DirectConnectionConfig directConnectionConfig = DirectConnectionConfig.getDefaultConfig(); + directConnectionConfig.setConnectTimeout(Duration.ofSeconds(1)); + + newClient = new CosmosClientBuilder() + .endpoint(TestConfigurations.HOST) + .key(TestConfigurations.MASTER_KEY) + .contentResponseOnWriteEnabled(true) + .consistencyLevel(BridgeInternal.getContextClient(this.client).getConsistencyLevel()) + .directMode(directConnectionConfig) + .buildAsyncClient(); + + CosmosAsyncContainer container = + newClient + .getDatabase(cosmosAsyncContainer.getDatabase().getId()) + .getContainer(cosmosAsyncContainer.getId()); + + CosmosFaultInjectionHelper.configureFaultInjectionRules(container, Arrays.asList(serverConnectionDelayRule)).block(); + + int partitionSize = container.getFeedRanges().block().size(); + container.openConnectionsAndInitCaches().block(); + + if (primaryAddressesOnly) { + assertThat(serverConnectionDelayRule.getHitCount()).isEqualTo(partitionSize); + } else { + assertThat(serverConnectionDelayRule.getHitCount()).isBetween(partitionSize * 3L, partitionSize * 5L); + } + } finally { + serverConnectionDelayRule.disable(); + safeClose(newClient); + } + } + @Test(groups = {"multi-region"}, dataProvider = "faultInjectionServerErrorResponseProvider", timeOut = TIMEOUT) public void faultInjectionServerErrorRuleTests_ServerErrorResponse( FaultInjectionServerErrorType serverErrorType, diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/DocumentServiceRequestContext.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/DocumentServiceRequestContext.java index 1b8b4b8f787a..2b41664f1b15 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/DocumentServiceRequestContext.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/DocumentServiceRequestContext.java @@ -33,7 +33,7 @@ public class DocumentServiceRequestContext implements Cloneable { public volatile Boolean usePreferredLocations; public volatile Integer locationIndexToRoute; public volatile URI locationEndpointToRoute; - public volatile URI storePhysicalAddress; // DIRECT: rntbd physical address; GATEWAY: service endpoint + public volatile Uri storePhysicalAddressUri; // DIRECT: rntbd physical address; GATEWAY: service endpoint public volatile boolean performedBackgroundAddressRefresh; public volatile boolean performLocalRefreshOnGoneException; public volatile List storeResponses; @@ -118,7 +118,7 @@ public DocumentServiceRequestContext clone() { context.usePreferredLocations = this.usePreferredLocations; context.locationIndexToRoute = this.locationIndexToRoute; context.locationEndpointToRoute = this.locationEndpointToRoute; - context.storePhysicalAddress = this.storePhysicalAddress; + context.storePhysicalAddressUri = this.storePhysicalAddressUri; context.performLocalRefreshOnGoneException = this.performLocalRefreshOnGoneException; context.effectivePartitionKey = this.effectivePartitionKey; context.performedBackgroundAddressRefresh = this.performedBackgroundAddressRefresh; diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/IOpenConnectionsHandler.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/IOpenConnectionsHandler.java index 419262c30d0f..6f5f1006d2e1 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/IOpenConnectionsHandler.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/IOpenConnectionsHandler.java @@ -10,5 +10,5 @@ import java.util.List; public interface IOpenConnectionsHandler { - Flux openConnections(URI serviceEndpoint, List addresses); + Flux openConnections(String collectionRid, URI serviceEndpoint, List addresses); } diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/ResourceType.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/ResourceType.java index 743e6467d9a1..2d69e9cee561 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/ResourceType.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/ResourceType.java @@ -64,7 +64,10 @@ public enum ResourceType { ClientEncryptionKey("ClientEncryptionKey", 141), //Adding client telemetry resource type, only meant for client side - ClientTelemetry("ClientTelemetry", 1001); + ClientTelemetry("ClientTelemetry", 1001), + + //Only meant to use on client side during connection open + Connection("Connection", 1002); private final int value; private final String stringValue; diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/AddressInformation.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/AddressInformation.java index 7aff378e1e47..ec51b71e78bf 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/AddressInformation.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/AddressInformation.java @@ -25,6 +25,7 @@ public AddressInformation(boolean isPublic, boolean isPrimary, String physicalUr this.isPublic = isPublic; this.isPrimary = isPrimary; this.physicalUri = new Uri(normalizePhysicalUri(physicalUri)); + this.physicalUri.setPrimary(this.isPrimary); } public AddressInformation(boolean isPublic, boolean isPrimary, String physicalUri, String protocolScheme) { diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/GatewayAddressCache.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/GatewayAddressCache.java index d092fbbaaade..3a0062c81baf 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/GatewayAddressCache.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/GatewayAddressCache.java @@ -67,6 +67,7 @@ import java.util.concurrent.ConcurrentHashMap; import java.util.stream.Collectors; +import static com.azure.cosmos.implementation.guava25.base.Preconditions.checkArgument; import static com.azure.cosmos.implementation.guava25.base.Preconditions.checkNotNull; public class GatewayAddressCache implements IAddressCache { @@ -666,7 +667,7 @@ private Mono getAddressesForRangeId( } if (this.replicaAddressValidationEnabled) { - this.validateReplicaAddresses(mergedAddresses); + this.validateReplicaAddresses(collectionRid, mergedAddresses); } return Mono.just(mergedAddresses); @@ -855,8 +856,9 @@ private AddressInformation[] mergeAddresses(AddressInformation[] newAddresses, A return mergedAddresses.toArray(new AddressInformation[mergedAddresses.size()]); } - private void validateReplicaAddresses(AddressInformation[] addresses) { + private void validateReplicaAddresses(String collectionRid, AddressInformation[] addresses) { checkNotNull(addresses, "Argument 'addresses' can not be null"); + checkArgument(StringUtils.isNotEmpty(collectionRid), "Argument 'collectionRid' can not be null"); // By theory, when we reach here, the status of the address should be in one of the three status: Unknown, Connected, UnhealthyPending // using open connection to validate addresses in UnhealthyPending status @@ -882,7 +884,7 @@ private void validateReplicaAddresses(AddressInformation[] addresses) { if (addressesNeedToValidation.size() > 0) { this.openConnectionsHandler - .openConnections(this.serviceEndpoint, addressesNeedToValidation) + .openConnections(collectionRid, this.serviceEndpoint, addressesNeedToValidation) .subscribeOn(CosmosSchedulers.OPEN_CONNECTIONS_BOUNDED_ELASTIC) .subscribe(); } @@ -972,6 +974,7 @@ public Flux openConnectionsAndInitCaches( if (this.openConnectionsHandler != null) { return this.openConnectionsHandler.openConnections( + collection.getResourceId(), this.serviceEndpoint, Arrays .stream(addressInfo.getRight()) diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/HttpTransportClient.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/HttpTransportClient.java index 34c7916e53ef..2f69cc5df8b9 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/HttpTransportClient.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/HttpTransportClient.java @@ -237,7 +237,7 @@ public Mono invokeStoreAsync( } @Override - public Mono openConnection(URI serviceEndpoint, Uri addressUri) { + public Mono openConnection(Uri addressUri, RxDocumentServiceRequest openConnectionRequest) { throw new NotImplementedException("openConnection is not supported in httpTransportClient"); } diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/RntbdTransportClient.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/RntbdTransportClient.java index 95059c92c68f..81108587e1cf 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/RntbdTransportClient.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/RntbdTransportClient.java @@ -250,11 +250,11 @@ public Mono invokeStoreAsync(final Uri addressUri, final RxDocume this.throwIfClosed(); final URI address = addressUri.getURI(); - request.requestContext.storePhysicalAddress = address; + request.requestContext.storePhysicalAddressUri = addressUri; final RntbdRequestArgs requestArgs = new RntbdRequestArgs(request, addressUri); - final RntbdEndpoint endpoint = this.endpointProvider.createIfAbsent(request.requestContext.locationEndpointToRoute, address); + final RntbdEndpoint endpoint = this.endpointProvider.createIfAbsent(request.requestContext.locationEndpointToRoute, addressUri.getURI()); final RntbdRequestRecord record = endpoint.request(requestArgs); final Context reactorContext = Context.of(KEY_ON_ERROR_DROPPED, onErrorDropHookWithReduceLogLevel); @@ -349,16 +349,19 @@ public Mono invokeStoreAsync(final Uri addressUri, final RxDocume } @Override - public Mono openConnection(URI serviceEndpoint, Uri addressUri) { + public Mono openConnection(Uri addressUri, RxDocumentServiceRequest openConnectionRequest) { + checkNotNull(openConnectionRequest, "Argument 'openConnectionRequest' should not be null"); checkNotNull(addressUri, "Argument 'addressUri' should not be null"); - checkNotNull(serviceEndpoint, "Argument 'serviceEndpoint' should not be null"); this.throwIfClosed(); - final URI address = addressUri.getURI(); + final RntbdRequestArgs requestArgs = new RntbdRequestArgs(openConnectionRequest, addressUri); + final RntbdEndpoint endpoint = + this.endpointProvider.createIfAbsent( + openConnectionRequest.requestContext.locationEndpointToRoute, + addressUri.getURI()); - final RntbdEndpoint endpoint = this.endpointProvider.createIfAbsent(serviceEndpoint, address); - return Mono.fromFuture(endpoint.openConnection(addressUri)); + return Mono.fromFuture(endpoint.openConnection(requestArgs)); } public void configureFaultInjectorProvider(IFaultInjectorProvider injectorProvider) { diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/SharedTransportClient.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/SharedTransportClient.java index fd6f1d7afccb..6a52a9cbe32d 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/SharedTransportClient.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/SharedTransportClient.java @@ -95,8 +95,8 @@ protected Mono invokeStoreAsync(Uri physicalAddress, RxDocumentSe } @Override - public Mono openConnection(URI serviceEndpoint, Uri addressUri) { - return this.transportClient.openConnection(serviceEndpoint, addressUri); + public Mono openConnection(Uri physicalAddress, RxDocumentServiceRequest openConnectionRequest) { + return this.transportClient.openConnection(physicalAddress, openConnectionRequest); } @Override diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/TransportClient.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/TransportClient.java index 0df0648da27a..32200b92f13b 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/TransportClient.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/TransportClient.java @@ -49,11 +49,11 @@ protected abstract Mono invokeStoreAsync( /*** * Only open new connection if there is no existed established connection. * - * @param addressUri the replica address. - * + * @param physicalAddress the store physical addresses. + * @param openConnectionRequest open connection request. * @return the {@link OpenConnectionResponse}. */ - public abstract Mono openConnection(URI serviceEndpoint, final Uri addressUri); + public abstract Mono openConnection(Uri physicalAddress, RxDocumentServiceRequest openConnectionRequest); public abstract void configureFaultInjectorProvider(IFaultInjectorProvider injectorProvider); diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/Uri.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/Uri.java index 02179a15454a..8eaadb9fe984 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/Uri.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/Uri.java @@ -10,6 +10,7 @@ import java.net.URI; import java.time.Instant; import java.util.Objects; +import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicReference; public class Uri { @@ -22,6 +23,7 @@ public class Uri { private volatile Instant lastUnknownTimestamp; private volatile Instant lastUnhealthyPendingTimestamp; private volatile Instant lastUnhealthyTimestamp; + private volatile boolean isPrimary; public static Uri create(String uriAsString) { return new Uri(uriAsString); @@ -51,6 +53,20 @@ public String getURIAsString() { return this.uriAsString; } + /*** + * Attention: This is only used for fault injection to easier decide whether the address is primary address. + * @param primary + */ + public void setPrimary(boolean primary) { + isPrimary = primary; + } + + /*** + * Attention: This is only used for fault injection to easier detect whether the address is primary address. + * @return + */ + public boolean isPrimary() { return this.isPrimary; } + /*** * This method will be called if a connection can be established successfully to the backend. */ diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/ChannelPromiseWithExpiryTime.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/ChannelPromiseWithExpiryTime.java index 7911d9ff02f6..48915e4d466f 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/ChannelPromiseWithExpiryTime.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/ChannelPromiseWithExpiryTime.java @@ -17,7 +17,7 @@ class ChannelPromiseWithExpiryTime implements Promise { private final Promise channelPromise; private final long expiryTimeInNanos; - private final RntbdRequestRecord requestRecord; + private final IRequestRecord requestRecord; public ChannelPromiseWithExpiryTime(Promise channelPromise, long expiryTimeInNanos) { this(channelPromise, expiryTimeInNanos, null); @@ -26,7 +26,7 @@ public ChannelPromiseWithExpiryTime(Promise channelPromise, long expiry public ChannelPromiseWithExpiryTime( Promise channelPromise, long expiryTimeInNanos, - RntbdRequestRecord requestRecord) { + IRequestRecord requestRecord) { checkNotNull(channelPromise, "channelPromise must not be null"); checkNotNull(expiryTimeInNanos, "expiryTimeInNanos must not be null"); @@ -182,7 +182,7 @@ public Promise syncUninterruptibly() { return this.channelPromise.syncUninterruptibly(); } - public RntbdRequestRecord getRntbdRequestRecord() { + public IRequestRecord getRntbdRequestRecord() { return this.requestRecord; } diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/IRequestRecord.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/IRequestRecord.java new file mode 100644 index 000000000000..da5b8f317692 --- /dev/null +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/IRequestRecord.java @@ -0,0 +1,10 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.cosmos.implementation.directconnectivity.rntbd; + +public interface IRequestRecord { + RntbdChannelAcquisitionTimeline getChannelAcquisitionTimeline(); + RntbdRequestArgs args(); + long getRequestId(); +} diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/OpenChannelPromise.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/OpenChannelPromise.java index fff40ae8c2d9..caef1687d634 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/OpenChannelPromise.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/OpenChannelPromise.java @@ -7,7 +7,11 @@ import io.netty.util.concurrent.Promise; public class OpenChannelPromise extends ChannelPromiseWithExpiryTime { - public OpenChannelPromise(Promise channelPromise, long expiryTimeInNanos) { - super(channelPromise, expiryTimeInNanos); + public OpenChannelPromise( + Promise channelPromise, + long expiryTimeInNanos, + OpenConnectionRntbdRequestRecord openConnectionRntbdRequestRecord) { + + super(channelPromise, expiryTimeInNanos, openConnectionRntbdRequestRecord); } } diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/OpenConnectionRntbdRequestRecord.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/OpenConnectionRntbdRequestRecord.java index c3ef2985f5e2..a4a51a838fc7 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/OpenConnectionRntbdRequestRecord.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/OpenConnectionRntbdRequestRecord.java @@ -3,19 +3,33 @@ package com.azure.cosmos.implementation.directconnectivity.rntbd; -import com.azure.cosmos.implementation.directconnectivity.Uri; import com.azure.cosmos.implementation.OpenConnectionResponse; import java.util.concurrent.CompletableFuture; +import java.util.concurrent.atomic.AtomicLong; -public class OpenConnectionRntbdRequestRecord extends CompletableFuture { - private final Uri addressUri; +public class OpenConnectionRntbdRequestRecord extends CompletableFuture implements IRequestRecord { + private static final AtomicLong instanceCount = new AtomicLong(); + private final RntbdRequestArgs requestArgs; + private final long openConnectionRequestId; - public OpenConnectionRntbdRequestRecord(Uri addressUri) { - this.addressUri = addressUri; + public OpenConnectionRntbdRequestRecord(RntbdRequestArgs requestArgs) { + this.requestArgs = requestArgs; + this.openConnectionRequestId = instanceCount.incrementAndGet(); } - public Uri getAddressUri() { - return addressUri; + @Override + public RntbdChannelAcquisitionTimeline getChannelAcquisitionTimeline() { + return null; + } + + @Override + public RntbdRequestArgs args() { + return this.requestArgs; + } + + @Override + public long getRequestId() { + return this.openConnectionRequestId; } } diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/RntbdClientChannelPool.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/RntbdClientChannelPool.java index cad0aa2c1e3b..7a8f94646e16 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/RntbdClientChannelPool.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/RntbdClientChannelPool.java @@ -462,7 +462,7 @@ public Future acquire(OpenConnectionRntbdRequestRecord requestRecord) { checkNotNull(requestRecord, "Argument 'requestRecord' should not be null"); OpenChannelPromise openChannelPromise = - new OpenChannelPromise(this.getNewChannelPromise(), this.getNewPromiseExpiryTime()); + new OpenChannelPromise(this.getNewChannelPromise(), this.getNewPromiseExpiryTime(), requestRecord); try { // Compared to the normal request flow diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/RntbdEndpoint.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/RntbdEndpoint.java index ffe1118a2679..bfd7069ee5d7 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/RntbdEndpoint.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/RntbdEndpoint.java @@ -5,7 +5,6 @@ import com.azure.cosmos.implementation.UserAgentContainer; import com.azure.cosmos.implementation.directconnectivity.IAddressResolver; -import com.azure.cosmos.implementation.directconnectivity.Uri; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import io.micrometer.core.instrument.Tag; @@ -93,7 +92,7 @@ void injectConnectionErrors( RntbdRequestRecord request(RntbdRequestArgs requestArgs); - OpenConnectionRntbdRequestRecord openConnection(Uri addressUri); + OpenConnectionRntbdRequestRecord openConnection(RntbdRequestArgs requestArgs); // endregion diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/RntbdOpenConnectionsHandler.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/RntbdOpenConnectionsHandler.java index 502eb42c393a..2a82e9b2f49c 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/RntbdOpenConnectionsHandler.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/RntbdOpenConnectionsHandler.java @@ -6,6 +6,9 @@ import com.azure.cosmos.implementation.Configs; import com.azure.cosmos.implementation.IOpenConnectionsHandler; import com.azure.cosmos.implementation.OpenConnectionResponse; +import com.azure.cosmos.implementation.OperationType; +import com.azure.cosmos.implementation.ResourceType; +import com.azure.cosmos.implementation.RxDocumentServiceRequest; import com.azure.cosmos.implementation.apachecommons.lang.StringUtils; import com.azure.cosmos.implementation.directconnectivity.TransportClient; import com.azure.cosmos.implementation.directconnectivity.Uri; @@ -19,6 +22,7 @@ import java.util.concurrent.Semaphore; import java.util.concurrent.TimeUnit; +import static com.azure.cosmos.implementation.guava25.base.Preconditions.checkArgument; import static com.azure.cosmos.implementation.guava25.base.Preconditions.checkNotNull; public class RntbdOpenConnectionsHandler implements IOpenConnectionsHandler { @@ -36,8 +40,9 @@ public RntbdOpenConnectionsHandler(TransportClient transportClient) { } @Override - public Flux openConnections(URI serviceEndpoint, List addresses) { + public Flux openConnections(String collectionRid, URI serviceEndpoint, List addresses) { checkNotNull(addresses, "Argument 'addresses' should not be null"); + checkArgument(StringUtils.isNotEmpty(collectionRid), "Argument 'collectionRid' cannot be null nor empty"); if (logger.isDebugEnabled()) { logger.debug( @@ -49,7 +54,10 @@ public Flux openConnections(URI serviceEndpoint, List { try { if (this.openConnectionsSemaphore.tryAcquire(DEFAULT_CONNECTION_SEMAPHORE_TIMEOUT_IN_MINUTES, TimeUnit.MINUTES)) { - return this.transportClient.openConnection(serviceEndpoint, addressUri) + + RxDocumentServiceRequest openConnectionRequest = + this.getOpenConnectionRequest(collectionRid, serviceEndpoint, addressUri); + return this.transportClient.openConnection(addressUri, openConnectionRequest) .onErrorResume(throwable -> Mono.just(new OpenConnectionResponse(addressUri, false, throwable))) .doOnNext(response -> { if (logger.isDebugEnabled()) { @@ -66,4 +74,15 @@ public Flux openConnections(URI serviceEndpoint, List { diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/RntbdRequestRecord.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/RntbdRequestRecord.java index af59812f5781..c8f1fb2f45d6 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/RntbdRequestRecord.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/RntbdRequestRecord.java @@ -34,7 +34,7 @@ import static com.azure.cosmos.implementation.guava27.Strings.lenientFormat; @JsonSerialize(using = RntbdRequestRecord.JsonSerializer.class) -public abstract class RntbdRequestRecord extends CompletableFuture { +public abstract class RntbdRequestRecord extends CompletableFuture implements IRequestRecord { private static final Logger logger = LoggerFactory.getLogger(RntbdRequestRecord.class); @@ -86,6 +86,7 @@ public UUID activityId() { return this.args.activityId(); } + @Override public RntbdRequestArgs args() { return this.args; } @@ -238,10 +239,16 @@ public long transportRequestId() { return this.args.transportRequestId(); } + @Override public RntbdChannelAcquisitionTimeline getChannelAcquisitionTimeline() { return this.channelAcquisitionTimeline; } + @Override + public long getRequestId() { + return this.args.transportRequestId(); + } + // endregion // region Methods diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/RntbdServiceEndpoint.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/RntbdServiceEndpoint.java index de909445bdb0..53673ea9fa89 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/RntbdServiceEndpoint.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/directconnectivity/rntbd/RntbdServiceEndpoint.java @@ -15,7 +15,6 @@ import com.azure.cosmos.implementation.directconnectivity.IAddressResolver; import com.azure.cosmos.implementation.directconnectivity.RntbdTransportClient; import com.azure.cosmos.implementation.directconnectivity.TransportException; -import com.azure.cosmos.implementation.directconnectivity.Uri; import com.azure.cosmos.implementation.faultinjection.RntbdServerErrorInjector; import com.azure.cosmos.implementation.guava25.collect.ImmutableMap; import com.fasterxml.jackson.core.JsonGenerator; @@ -384,16 +383,16 @@ public RntbdRequestRecord request(final RntbdRequestArgs args) { } @Override - public OpenConnectionRntbdRequestRecord openConnection(Uri addressUri) { - checkNotNull(addressUri, "Argument 'addressUri' should not be null"); + public OpenConnectionRntbdRequestRecord openConnection(final RntbdRequestArgs args) { + checkNotNull(args, "Argument 'args' should not be null"); this.throwIfClosed(); if (this.connectionStateListener != null) { - this.connectionStateListener.onBeforeSendRequest(addressUri); + this.connectionStateListener.onBeforeSendRequest(args.physicalAddressUri()); } - OpenConnectionRntbdRequestRecord requestRecord = new OpenConnectionRntbdRequestRecord(addressUri); + OpenConnectionRntbdRequestRecord requestRecord = new OpenConnectionRntbdRequestRecord(args); final Future openChannelFuture = this.channelPool.acquire(requestRecord); if (openChannelFuture.isDone()) { @@ -419,11 +418,16 @@ private OpenConnectionRntbdRequestRecord processWhenConnectionOpened( // Releasing the channel back to the pool so other requests can use it this.releaseToPool(channel); - requestRecord.getAddressUri().setConnected(); + requestRecord.args().physicalAddressUri().setConnected(); - openConnectionResponse = new OpenConnectionResponse(requestRecord.getAddressUri(), true); + openConnectionResponse = + new OpenConnectionResponse(requestRecord.args().physicalAddressUri(), true); } else { - openConnectionResponse = new OpenConnectionResponse(requestRecord.getAddressUri(), false, openChannelFuture.cause()); + openConnectionResponse = + new OpenConnectionResponse( + requestRecord.args().physicalAddressUri(), + false, + openChannelFuture.cause()); } requestRecord.complete(openConnectionResponse); diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/faultinjection/IRntbdServerErrorInjector.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/faultinjection/IRntbdServerErrorInjector.java index 6ed09df54f64..58aa3638e69e 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/faultinjection/IRntbdServerErrorInjector.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/faultinjection/IRntbdServerErrorInjector.java @@ -3,6 +3,7 @@ package com.azure.cosmos.implementation.faultinjection; +import com.azure.cosmos.implementation.directconnectivity.rntbd.IRequestRecord; import com.azure.cosmos.implementation.directconnectivity.rntbd.RntbdRequestRecord; import java.time.Duration; @@ -40,6 +41,6 @@ boolean injectRntbdServerResponseDelay( * @return flag to indicate whether server connection delay rule is injected. */ boolean injectRntbdServerConnectionDelay( - RntbdRequestRecord requestRecord, + IRequestRecord requestRecord, Consumer openConnectionWithDelayConsumer); } diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/faultinjection/RntbdServerErrorInjector.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/faultinjection/RntbdServerErrorInjector.java index a1243227b5bf..288b1e60b53d 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/faultinjection/RntbdServerErrorInjector.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/implementation/faultinjection/RntbdServerErrorInjector.java @@ -3,6 +3,7 @@ package com.azure.cosmos.implementation.faultinjection; +import com.azure.cosmos.implementation.directconnectivity.rntbd.IRequestRecord; import com.azure.cosmos.implementation.directconnectivity.rntbd.RntbdRequestRecord; import java.time.Duration; @@ -48,7 +49,7 @@ public boolean injectRntbdServerResponseError(RntbdRequestRecord requestRecord) @Override public boolean injectRntbdServerConnectionDelay( - RntbdRequestRecord requestRecord, + IRequestRecord requestRecord, Consumer openConnectionWithDelayConsumer) { for (IRntbdServerErrorInjector injector : this.faultInjectors) { diff --git a/sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/implementation/SessionNotAvailableRetryTest.java b/sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/implementation/SessionNotAvailableRetryTest.java index 10a7a71e2db3..0c54cb9c655f 100644 --- a/sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/implementation/SessionNotAvailableRetryTest.java +++ b/sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/implementation/SessionNotAvailableRetryTest.java @@ -518,8 +518,8 @@ protected Mono invokeStoreAsync(Uri physicalAddress, RxDocumentSe return Mono.empty(); } @Override - public Mono openConnection(URI serviceEndpoint, Uri addressUri) { - throw new NotImplementedException("tryOpenConnection is not supported in RntbdTransportClientTest"); + public Mono openConnection(Uri physicalAddress, RxDocumentServiceRequest openConnectionRequest) { + throw new NotImplementedException("openConnection is not supported in RntbdTransportClientTest"); } @Override diff --git a/sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/implementation/directconnectivity/GatewayAddressCacheTest.java b/sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/implementation/directconnectivity/GatewayAddressCacheTest.java index 91945b67b4bf..527c23500818 100644 --- a/sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/implementation/directconnectivity/GatewayAddressCacheTest.java +++ b/sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/implementation/directconnectivity/GatewayAddressCacheTest.java @@ -270,7 +270,7 @@ public void tryGetAddresses_ForDataPartitions_AddressCachedByOpenAsync_NoHttpReq IAuthorizationTokenProvider authorizationTokenProvider = (RxDocumentClientImpl) client; IOpenConnectionsHandler openConnectionsHandler = Mockito.mock(IOpenConnectionsHandler.class); - Mockito.when(openConnectionsHandler.openConnections(Mockito.any(), Mockito.any())).thenReturn(Flux.empty()); + Mockito.when(openConnectionsHandler.openConnections(Mockito.any(), Mockito.any(), Mockito.any())).thenReturn(Flux.empty()); GatewayAddressCache cache = new GatewayAddressCache(mockDiagnosticsClientContext(), serviceEndpoint, @@ -292,7 +292,9 @@ public void tryGetAddresses_ForDataPartitions_AddressCachedByOpenAsync_NoHttpReq assertThat(httpClientWrapper.capturedRequests).asList().hasSize(1); httpClientWrapper.capturedRequests.clear(); - Mockito.verify(openConnectionsHandler, Mockito.times(allPartitionKeyRangeIds.size())).openConnections(Mockito.any(), Mockito.any()); + Mockito + .verify(openConnectionsHandler, Mockito.times(allPartitionKeyRangeIds.size())) + .openConnections(Mockito.any(), Mockito.any(), Mockito.any()); RxDocumentServiceRequest req = RxDocumentServiceRequest.create(mockDiagnosticsClientContext(), OperationType.Create, ResourceType.Document, @@ -334,7 +336,7 @@ public void tryGetAddresses_ForDataPartitions_ForceRefresh( IAuthorizationTokenProvider authorizationTokenProvider = (RxDocumentClientImpl) client; IOpenConnectionsHandler openConnectionsHandler = Mockito.mock(IOpenConnectionsHandler.class); - Mockito.when(openConnectionsHandler.openConnections(Mockito.any(), Mockito.any())).thenReturn(Flux.empty()); + Mockito.when(openConnectionsHandler.openConnections(Mockito.any(), Mockito.any(), Mockito.any())).thenReturn(Flux.empty()); GatewayAddressCache cache = new GatewayAddressCache(mockDiagnosticsClientContext(), serviceEndpoint, @@ -356,7 +358,9 @@ public void tryGetAddresses_ForDataPartitions_ForceRefresh( assertThat(httpClientWrapper.capturedRequests).asList().hasSize(1); httpClientWrapper.capturedRequests.clear(); - Mockito.verify(openConnectionsHandler, Mockito.times(allPartitionKeyRangeIds.size())).openConnections(Mockito.any(), Mockito.any()); + Mockito + .verify(openConnectionsHandler, Mockito.times(allPartitionKeyRangeIds.size())) + .openConnections(Mockito.any(), Mockito.any(), Mockito.any()); RxDocumentServiceRequest req = RxDocumentServiceRequest.create(mockDiagnosticsClientContext(), OperationType.Create, ResourceType.Document, @@ -398,7 +402,9 @@ public void tryGetAddresses_ForDataPartitions_Suboptimal_Refresh( IAuthorizationTokenProvider authorizationTokenProvider = (RxDocumentClientImpl) client; IOpenConnectionsHandler openConnectionsHandler = Mockito.mock(IOpenConnectionsHandler.class); - Mockito.when(openConnectionsHandler.openConnections(Mockito.any(), Mockito.any())).thenReturn(Flux.empty()); + Mockito + .when(openConnectionsHandler.openConnections(Mockito.any(), Mockito.any(), Mockito.any())) + .thenReturn(Flux.empty()); int suboptimalRefreshTime = 2; @@ -423,7 +429,9 @@ public void tryGetAddresses_ForDataPartitions_Suboptimal_Refresh( assertThat(httpClientWrapper.capturedRequests).asList().hasSize(1); httpClientWrapper.capturedRequests.clear(); - Mockito.verify(openConnectionsHandler, Mockito.times(allPartitionKeyRangeIds.size())).openConnections(Mockito.any(), Mockito.any()); + Mockito + .verify(openConnectionsHandler, Mockito.times(allPartitionKeyRangeIds.size())) + .openConnections(Mockito.any(), Mockito.any(), Mockito.any()); RxDocumentServiceRequest req = RxDocumentServiceRequest.create(mockDiagnosticsClientContext(), OperationType.Create, ResourceType.Document, @@ -514,7 +522,7 @@ public void tryGetAddresses_ForMasterPartition(Protocol protocol) throws Excepti IAuthorizationTokenProvider authorizationTokenProvider = (RxDocumentClientImpl) client; IOpenConnectionsHandler openConnectionsHandler = Mockito.mock(IOpenConnectionsHandler.class); - Mockito.when(openConnectionsHandler.openConnections(Mockito.any(), Mockito.any())).thenReturn(Flux.empty()); + Mockito.when(openConnectionsHandler.openConnections(Mockito.any(), Mockito.any(), Mockito.any())).thenReturn(Flux.empty()); GatewayAddressCache cache = new GatewayAddressCache(mockDiagnosticsClientContext(), serviceEndpoint, @@ -875,7 +883,7 @@ public void tryGetAddress_replicaValidationTests(boolean replicaValidationEnable IAuthorizationTokenProvider authorizationTokenProvider = (RxDocumentClientImpl) client; HttpClientUnderTestWrapper httpClientWrapper = getHttpClientUnderTestWrapper(configs); IOpenConnectionsHandler openConnectionsHandlerMock = Mockito.mock(IOpenConnectionsHandler.class); - Mockito.when(openConnectionsHandlerMock.openConnections(Mockito.any(), Mockito.any())).thenReturn(Flux.empty()); // what returned here does not really matter + Mockito.when(openConnectionsHandlerMock.openConnections(Mockito.any(), Mockito.any(), Mockito.any())).thenReturn(Flux.empty()); // what returned here does not really matter if (replicaValidationEnabled) { System.setProperty("COSMOS.REPLICA_ADDRESS_VALIDATION_ENABLED", "true"); @@ -934,16 +942,16 @@ public void tryGetAddress_replicaValidationTests(boolean replicaValidationEnable // If openConnectionAndInitCaches is called, then replica validation will also include for unknown status Mockito .verify(openConnectionsHandlerMock, Mockito.times(1)) - .openConnections(serviceEndpointArguments.capture(), openConnectionArguments.capture()); + .openConnections(Mockito.any(), serviceEndpointArguments.capture(), openConnectionArguments.capture()); assertThat(openConnectionArguments.getValue()).hasSize(addressInfosFromCache.size()); } else { // Open connection will only be called for unhealthyPending status address Mockito .verify(openConnectionsHandlerMock, Mockito.times(0)) - .openConnections(serviceEndpointArguments.capture(), openConnectionArguments.capture()); + .openConnections(Mockito.any(), serviceEndpointArguments.capture(), openConnectionArguments.capture()); } } else { - Mockito.verify(openConnectionsHandlerMock, Mockito.never()).openConnections(Mockito.any(), Mockito.any()); + Mockito.verify(openConnectionsHandlerMock, Mockito.never()).openConnections(Mockito.any(), Mockito.any(), Mockito.any()); } httpClientWrapper.capturedRequests.clear(); @@ -994,7 +1002,7 @@ public void tryGetAddress_replicaValidationTests(boolean replicaValidationEnable Mockito .verify(openConnectionsHandlerMock, Mockito.times(1)) - .openConnections(serviceEndpointArguments.capture(), openConnectionArguments.capture()); + .openConnections(Mockito.any(), serviceEndpointArguments.capture(), openConnectionArguments.capture()); if (openConnectionAndInitCaches) { assertThat(openConnectionArguments.getValue()).containsExactlyElementsOf(Arrays.asList(unhealthyAddressUri, unknownAddressUri)); } else { @@ -1002,7 +1010,7 @@ public void tryGetAddress_replicaValidationTests(boolean replicaValidationEnable } } else { - Mockito.verify(openConnectionsHandlerMock, Mockito.never()).openConnections(Mockito.any(), Mockito.any()); + Mockito.verify(openConnectionsHandlerMock, Mockito.never()).openConnections(Mockito.any(), Mockito.any(), Mockito.any()); } System.clearProperty("COSMOS.REPLICA_ADDRESS_VALIDATION_ENABLED"); @@ -1015,7 +1023,7 @@ public void tryGetAddress_failedEndpointTests() throws Exception { IAuthorizationTokenProvider authorizationTokenProvider = (RxDocumentClientImpl) client; HttpClientUnderTestWrapper httpClientWrapper = getHttpClientUnderTestWrapper(configs); IOpenConnectionsHandler openConnectionsHandlerMock = Mockito.mock(IOpenConnectionsHandler.class); - Mockito.when(openConnectionsHandlerMock.openConnections(Mockito.any(), Mockito.any())).thenReturn(Flux.empty()); // what returned here does not really matter + Mockito.when(openConnectionsHandlerMock.openConnections(Mockito.any(), Mockito.any(), Mockito.any())).thenReturn(Flux.empty()); // what returned here does not really matter GatewayAddressCache cache = new GatewayAddressCache( mockDiagnosticsClientContext(), @@ -1077,7 +1085,7 @@ public void tryGetAddress_unhealthyStatus_forceRefresh() throws Exception { IAuthorizationTokenProvider authorizationTokenProvider = (RxDocumentClientImpl) client; HttpClientUnderTestWrapper httpClientWrapper = getHttpClientUnderTestWrapper(configs); IOpenConnectionsHandler openConnectionsHandlerMock = Mockito.mock(IOpenConnectionsHandler.class); - Mockito.when(openConnectionsHandlerMock.openConnections(Mockito.any(), Mockito.any())).thenReturn(Flux.empty()); // what returned here does not really matter + Mockito.when(openConnectionsHandlerMock.openConnections(Mockito.any(), Mockito.any(), Mockito.any())).thenReturn(Flux.empty()); // what returned here does not really matter GatewayAddressCache cache = new GatewayAddressCache( mockDiagnosticsClientContext(), @@ -1147,7 +1155,7 @@ public void validateReplicaAddressesTests() throws URISyntaxException, NoSuchMet IAuthorizationTokenProvider authorizationTokenProvider = (RxDocumentClientImpl) client; HttpClientUnderTestWrapper httpClientWrapper = getHttpClientUnderTestWrapper(configs); IOpenConnectionsHandler openConnectionsHandlerMock = Mockito.mock(IOpenConnectionsHandler.class); - Mockito.when(openConnectionsHandlerMock.openConnections(Mockito.any(), Mockito.any())).thenReturn(Flux.empty()); // what returned here does not really matter + Mockito.when(openConnectionsHandlerMock.openConnections(Mockito.any(), Mockito.any(), Mockito.any())).thenReturn(Flux.empty()); // what returned here does not really matter GatewayAddressCache cache = new GatewayAddressCache( mockDiagnosticsClientContext(), @@ -1161,7 +1169,8 @@ public void validateReplicaAddressesTests() throws URISyntaxException, NoSuchMet ConnectionPolicy.getDefaultPolicy(), openConnectionsHandlerMock); - Method validateReplicaAddressesMethod = GatewayAddressCache.class.getDeclaredMethod("validateReplicaAddresses", new Class[] { AddressInformation[].class }); + Method validateReplicaAddressesMethod = + GatewayAddressCache.class.getDeclaredMethod("validateReplicaAddresses", new Class[] { String.class, AddressInformation[].class }); validateReplicaAddressesMethod.setAccessible(true); // connected status @@ -1185,14 +1194,17 @@ public void validateReplicaAddressesTests() throws URISyntaxException, NoSuchMet replicaValidationScopes.add(Unknown); replicaValidationScopes.add(UnhealthyPending); - validateReplicaAddressesMethod.invoke(cache, new Object[]{ new AddressInformation[]{ address1, address2, address3, address4 }}) ; + validateReplicaAddressesMethod + .invoke( + cache, + new Object[]{ createdCollection.getResourceId(), new AddressInformation[]{ address1, address2, address3, address4 }}) ; // Validate openConnection will only be called for address in unhealthyPending status ArgumentCaptor> openConnectionArguments = ArgumentCaptor.forClass(List.class); ArgumentCaptor serviceEndpointArguments = ArgumentCaptor.forClass(URI.class); Mockito .verify(openConnectionsHandlerMock, Mockito.times(1)) - .openConnections(serviceEndpointArguments.capture(), openConnectionArguments.capture()); + .openConnections(Mockito.any(), serviceEndpointArguments.capture(), openConnectionArguments.capture()); assertThat(openConnectionArguments.getValue()).containsExactlyElementsOf( Arrays.asList(address4, address2) @@ -1209,7 +1221,7 @@ public void mergeAddressesTests() throws URISyntaxException, NoSuchMethodExcepti IAuthorizationTokenProvider authorizationTokenProvider = (RxDocumentClientImpl) client; HttpClientUnderTestWrapper httpClientWrapper = getHttpClientUnderTestWrapper(configs); IOpenConnectionsHandler openConnectionsHandlerMock = Mockito.mock(IOpenConnectionsHandler.class); - Mockito.when(openConnectionsHandlerMock.openConnections(Mockito.any(), Mockito.any())).thenReturn(Flux.empty()); // what returned here does not really matter + Mockito.when(openConnectionsHandlerMock.openConnections(Mockito.any(), Mockito.any(), Mockito.any())).thenReturn(Flux.empty()); // what returned here does not really matter GatewayAddressCache cache = new GatewayAddressCache( mockDiagnosticsClientContext(), diff --git a/sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/implementation/directconnectivity/RntbdTransportClientTest.java b/sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/implementation/directconnectivity/RntbdTransportClientTest.java index a728f6e1141f..b4762d2ec601 100644 --- a/sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/implementation/directconnectivity/RntbdTransportClientTest.java +++ b/sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/implementation/directconnectivity/RntbdTransportClientTest.java @@ -1131,8 +1131,8 @@ public RntbdRequestRecord request(final RntbdRequestArgs requestArgs) { } @Override - public OpenConnectionRntbdRequestRecord openConnection(Uri addressUri) { - throw new NotImplementedException("tryOpenConnection is not supported in FakeEndpoint."); + public OpenConnectionRntbdRequestRecord openConnection(RntbdRequestArgs openConnectionRequestArgs) { + throw new NotImplementedException("openConnection is not supported in FakeEndpoint."); } // endregion From 7b3c3280bf0de8aca3cb7a1f8d6257a10dd0e484 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Wed, 22 Mar 2023 00:27:00 -0700 Subject: [PATCH 11/35] [Automation] Generate Fluent Lite from webpubsub#package-2023-02-01 (#34159) --- .../CHANGELOG.md | 10 +- .../azure-resourcemanager-webpubsub/README.md | 4 +- .../azure-resourcemanager-webpubsub/SAMPLE.md | 221 ++++++++---------- .../azure-resourcemanager-webpubsub/pom.xml | 10 +- .../webpubsub/WebPubSubManager.java | 2 +- ...WebPubSubCustomCertificatesClientImpl.java | 19 +- .../WebPubSubCustomDomainsClientImpl.java | 22 +- .../WebPubSubHubsClientImpl.java | 22 +- .../WebPubSubManagementClientImpl.java | 2 +- ...bPrivateEndpointConnectionsClientImpl.java | 17 +- ...bPubSubPrivateLinkResourcesClientImpl.java | 3 +- ...bSharedPrivateLinkResourcesClientImpl.java | 23 +- .../implementation/WebPubSubsClientImpl.java | 50 ++-- .../webpubsub/models/AclAction.java | 9 + .../EventListenerEndpointDiscriminator.java | 9 + .../EventListenerFilterDiscriminator.java | 9 + .../webpubsub/models/KeyType.java | 9 + .../webpubsub/models/ManagedIdentity.java | 2 +- .../webpubsub/models/ManagedIdentityType.java | 9 + .../PrivateLinkServiceConnectionStatus.java | 9 + .../webpubsub/models/ProvisioningState.java | 9 + .../webpubsub/models/ScaleType.java | 9 + .../SharedPrivateLinkResourceStatus.java | 9 + .../webpubsub/models/UpstreamAuthType.java | 9 + .../models/WebPubSubRequestType.java | 9 + .../webpubsub/models/WebPubSubSkuTier.java | 9 + .../generated/OperationsListSamples.java | 6 +- .../generated/UsagesListSamples.java | 6 +- ...WebPubSubCheckNameAvailabilitySamples.java | 5 +- .../WebPubSubCreateOrUpdateSamples.java | 11 +- ...stomCertificatesCreateOrUpdateSamples.java | 2 +- ...PubSubCustomCertificatesDeleteSamples.java | 6 +- ...WebPubSubCustomCertificatesGetSamples.java | 6 +- ...ebPubSubCustomCertificatesListSamples.java | 8 +- ...SubCustomDomainsCreateOrUpdateSamples.java | 2 +- .../WebPubSubCustomDomainsDeleteSamples.java | 8 +- .../WebPubSubCustomDomainsGetSamples.java | 6 +- .../WebPubSubCustomDomainsListSamples.java | 8 +- .../generated/WebPubSubDeleteSamples.java | 6 +- .../WebPubSubGetByResourceGroupSamples.java | 8 +- .../WebPubSubHubsCreateOrUpdateSamples.java | 2 +- .../generated/WebPubSubHubsDeleteSamples.java | 8 +- .../generated/WebPubSubHubsGetSamples.java | 8 +- .../generated/WebPubSubHubsListSamples.java | 6 +- .../WebPubSubListByResourceGroupSamples.java | 6 +- .../generated/WebPubSubListKeysSamples.java | 8 +- .../generated/WebPubSubListSamples.java | 6 +- .../generated/WebPubSubListSkusSamples.java | 8 +- ...ivateEndpointConnectionsDeleteSamples.java | 6 +- ...bPrivateEndpointConnectionsGetSamples.java | 6 +- ...PrivateEndpointConnectionsListSamples.java | 8 +- ...ivateEndpointConnectionsUpdateSamples.java | 5 +- ...PubSubPrivateLinkResourcesListSamples.java | 8 +- .../WebPubSubRegenerateKeySamples.java | 5 +- .../generated/WebPubSubRestartSamples.java | 6 +- ...ateLinkResourcesCreateOrUpdateSamples.java | 2 +- ...aredPrivateLinkResourcesDeleteSamples.java | 6 +- ...bSharedPrivateLinkResourcesGetSamples.java | 6 +- ...SharedPrivateLinkResourcesListSamples.java | 8 +- .../generated/WebPubSubUpdateSamples.java | 15 +- .../generated/CustomDomainInnerTests.java | 9 +- .../generated/CustomDomainListTests.java | 9 +- .../CustomDomainPropertiesTests.java | 9 +- .../webpubsub/generated/DimensionTests.java | 9 +- .../generated/EventHandlerTests.java | 9 +- .../generated/EventHubEndpointTests.java | 9 +- .../generated/EventListenerEndpointTests.java | 9 +- .../generated/EventListenerFilterTests.java | 9 +- .../generated/EventListenerTests.java | 9 +- .../generated/EventNameFilterTests.java | 9 +- .../generated/LiveTraceCategoryTests.java | 9 +- .../LiveTraceConfigurationTests.java | 9 +- .../generated/LogSpecificationTests.java | 9 +- .../ManagedIdentitySettingsTests.java | 9 +- .../generated/ManagedIdentityTests.java | 9 +- .../generated/MetricSpecificationTests.java | 9 +- .../generated/NameAvailabilityInnerTests.java | 9 +- .../NameAvailabilityParametersTests.java | 9 +- .../webpubsub/generated/NetworkAclTests.java | 9 +- .../generated/OperationDisplayTests.java | 9 +- .../generated/OperationInnerTests.java | 9 +- .../generated/OperationListTests.java | 9 +- .../generated/OperationPropertiesTests.java | 9 +- .../generated/OperationsListMockTests.java | 3 +- .../generated/PrivateEndpointAclTests.java | 9 +- .../PrivateEndpointConnectionInnerTests.java | 9 +- .../PrivateEndpointConnectionListTests.java | 9 +- ...vateEndpointConnectionPropertiesTests.java | 9 +- .../generated/PrivateEndpointTests.java | 9 +- .../PrivateLinkResourceInnerTests.java | 9 +- .../PrivateLinkResourceListTests.java | 9 +- .../PrivateLinkResourcePropertiesTests.java | 9 +- ...rivateLinkServiceConnectionStateTests.java | 9 +- .../generated/ResourceLogCategoryTests.java | 9 +- .../ResourceLogConfigurationTests.java | 9 +- .../generated/ResourceReferenceTests.java | 9 +- .../webpubsub/generated/ResourceSkuTests.java | 9 +- .../generated/ServiceSpecificationTests.java | 9 +- ...blePrivateLinkResourcePropertiesTests.java | 9 +- ...ShareablePrivateLinkResourceTypeTests.java | 9 +- .../SharedPrivateLinkResourceInnerTests.java | 9 +- .../SharedPrivateLinkResourceListTests.java | 9 +- ...redPrivateLinkResourcePropertiesTests.java | 9 +- .../SignalRServiceUsageInnerTests.java | 9 +- .../SignalRServiceUsageListTests.java | 9 +- .../SignalRServiceUsageNameTests.java | 9 +- .../webpubsub/generated/SkuCapacityTests.java | 9 +- .../generated/SkuListInnerTests.java | 9 +- .../webpubsub/generated/SkuTests.java | 9 +- .../generated/UpstreamAuthSettingsTests.java | 9 +- .../generated/UsagesListMockTests.java | 4 +- .../UserAssignedIdentityPropertyTests.java | 9 +- ...rtificatesDeleteWithResponseMockTests.java | 5 +- ...WebPubSubCustomDomainsDeleteMockTests.java | 3 +- ...CustomDomainsGetWithResponseMockTests.java | 6 +- .../WebPubSubCustomDomainsListMockTests.java | 3 +- .../generated/WebPubSubHubInnerTests.java | 9 +- .../generated/WebPubSubHubListTests.java | 9 +- .../WebPubSubHubPropertiesTests.java | 9 +- .../WebPubSubHubsDeleteMockTests.java | 3 +- ...WebPubSubHubsGetWithResponseMockTests.java | 6 +- .../generated/WebPubSubHubsListMockTests.java | 4 +- .../generated/WebPubSubNetworkACLsTests.java | 9 +- ...ateEndpointConnectionsDeleteMockTests.java | 5 +- ...ntConnectionsGetWithResponseMockTests.java | 3 +- ...ivateEndpointConnectionsListMockTests.java | 5 +- ...onnectionsUpdateWithResponseMockTests.java | 3 +- ...bSubPrivateLinkResourcesListMockTests.java | 3 +- .../generated/WebPubSubPropertiesTests.java | 9 +- .../WebPubSubResourceInnerTests.java | 9 +- .../generated/WebPubSubResourceListTests.java | 9 +- ...edPrivateLinkResourcesDeleteMockTests.java | 5 +- ...LinkResourcesGetWithResponseMockTests.java | 3 +- ...aredPrivateLinkResourcesListMockTests.java | 3 +- .../generated/WebPubSubTlsSettingsTests.java | 9 +- ...NameAvailabilityWithResponseMockTests.java | 3 +- .../generated/WebPubSubsDeleteMockTests.java | 3 +- ...tByResourceGroupWithResponseMockTests.java | 6 +- ...ebPubSubsListByResourceGroupMockTests.java | 4 +- .../generated/WebPubSubsListMockTests.java | 3 +- ...bPubSubsListSkusWithResponseMockTests.java | 7 +- 141 files changed, 674 insertions(+), 677 deletions(-) diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/CHANGELOG.md b/sdk/webpubsub/azure-resourcemanager-webpubsub/CHANGELOG.md index 8c2abfa58dbf..5bcf5429a824 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/CHANGELOG.md +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/CHANGELOG.md @@ -1,14 +1,8 @@ # Release History -## 1.0.0-beta.4 (Unreleased) +## 1.0.0-beta.4 (2023-03-22) -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes +- Azure Resource Manager WebPubSub client library for Java. This package contains Microsoft Azure SDK for WebPubSub Management SDK. REST API for Azure WebPubSub Service. Package tag package-2023-02-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 (2022-11-18) diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/README.md b/sdk/webpubsub/azure-resourcemanager-webpubsub/README.md index db4084348c9c..604c78713a5c 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/README.md +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/README.md @@ -2,7 +2,7 @@ Azure Resource Manager WebPubSub client library for Java. -This package contains Microsoft Azure SDK for WebPubSub Management SDK. REST API for Azure WebPubSub Service. Package tag package-2022-08-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). +This package contains Microsoft Azure SDK for WebPubSub Management SDK. REST API for Azure WebPubSub Service. Package tag package-2023-02-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). ## We'd love to hear your feedback @@ -32,7 +32,7 @@ Various documentation is available to help you get started com.azure.resourcemanager azure-resourcemanager-webpubsub - 1.0.0-beta.3 + 1.0.0-beta.4 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/SAMPLE.md b/sdk/webpubsub/azure-resourcemanager-webpubsub/SAMPLE.md index d4a28cd4ffd2..a62945da4ad9 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/SAMPLE.md +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/SAMPLE.md @@ -64,12 +64,10 @@ ### Operations_List ```java -import com.azure.core.util.Context; - /** Samples for Operations List. */ public final class OperationsListSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/Operations_List.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/Operations_List.json */ /** * Sample code: Operations_List. @@ -77,7 +75,7 @@ public final class OperationsListSamples { * @param manager Entry point to WebPubSubManager. */ public static void operationsList(com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { - manager.operations().list(Context.NONE); + manager.operations().list(com.azure.core.util.Context.NONE); } } ``` @@ -85,12 +83,10 @@ public final class OperationsListSamples { ### Usages_List ```java -import com.azure.core.util.Context; - /** Samples for Usages List. */ public final class UsagesListSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/Usages_List.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/Usages_List.json */ /** * Sample code: Usages_List. @@ -98,7 +94,7 @@ public final class UsagesListSamples { * @param manager Entry point to WebPubSubManager. */ public static void usagesList(com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { - manager.usages().list("eastus", Context.NONE); + manager.usages().list("eastus", com.azure.core.util.Context.NONE); } } ``` @@ -106,13 +102,12 @@ public final class UsagesListSamples { ### WebPubSub_CheckNameAvailability ```java -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.models.NameAvailabilityParameters; /** Samples for WebPubSub CheckNameAvailability. */ public final class WebPubSubCheckNameAvailabilitySamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSub_CheckNameAvailability.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSub_CheckNameAvailability.json */ /** * Sample code: WebPubSub_CheckNameAvailability. @@ -127,7 +122,7 @@ public final class WebPubSubCheckNameAvailabilitySamples { new NameAvailabilityParameters() .withType("Microsoft.SignalRService/WebPubSub") .withName("myWebPubSubService"), - Context.NONE); + com.azure.core.util.Context.NONE); } } ``` @@ -141,6 +136,7 @@ import com.azure.resourcemanager.webpubsub.models.LiveTraceConfiguration; import com.azure.resourcemanager.webpubsub.models.ManagedIdentity; import com.azure.resourcemanager.webpubsub.models.ManagedIdentityType; import com.azure.resourcemanager.webpubsub.models.NetworkAcl; +import com.azure.resourcemanager.webpubsub.models.PrivateEndpointAcl; import com.azure.resourcemanager.webpubsub.models.ResourceSku; import com.azure.resourcemanager.webpubsub.models.WebPubSubNetworkACLs; import com.azure.resourcemanager.webpubsub.models.WebPubSubRequestType; @@ -153,7 +149,7 @@ import java.util.Map; /** Samples for WebPubSub CreateOrUpdate. */ public final class WebPubSubCreateOrUpdateSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSub_CreateOrUpdate.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSub_CreateOrUpdate.json */ /** * Sample code: WebPubSub_CreateOrUpdate. @@ -179,7 +175,13 @@ public final class WebPubSubCreateOrUpdateSamples { new WebPubSubNetworkACLs() .withDefaultAction(AclAction.DENY) .withPublicNetwork( - new NetworkAcl().withAllow(Arrays.asList(WebPubSubRequestType.CLIENT_CONNECTION)))) + new NetworkAcl().withAllow(Arrays.asList(WebPubSubRequestType.CLIENT_CONNECTION))) + .withPrivateEndpoints( + Arrays + .asList( + new PrivateEndpointAcl() + .withAllow(Arrays.asList(WebPubSubRequestType.SERVER_CONNECTION)) + .withName("mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e")))) .withPublicNetworkAccess("Enabled") .withDisableLocalAuth(false) .withDisableAadAuth(false) @@ -202,12 +204,10 @@ public final class WebPubSubCreateOrUpdateSamples { ### WebPubSub_Delete ```java -import com.azure.core.util.Context; - /** Samples for WebPubSub Delete. */ public final class WebPubSubDeleteSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSub_Delete.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSub_Delete.json */ /** * Sample code: WebPubSub_Delete. @@ -215,7 +215,7 @@ public final class WebPubSubDeleteSamples { * @param manager Entry point to WebPubSubManager. */ public static void webPubSubDelete(com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { - manager.webPubSubs().delete("myResourceGroup", "myWebPubSubService", Context.NONE); + manager.webPubSubs().delete("myResourceGroup", "myWebPubSubService", com.azure.core.util.Context.NONE); } } ``` @@ -223,12 +223,10 @@ public final class WebPubSubDeleteSamples { ### WebPubSub_GetByResourceGroup ```java -import com.azure.core.util.Context; - /** Samples for WebPubSub GetByResourceGroup. */ public final class WebPubSubGetByResourceGroupSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSub_Get.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSub_Get.json */ /** * Sample code: WebPubSub_Get. @@ -236,7 +234,9 @@ public final class WebPubSubGetByResourceGroupSamples { * @param manager Entry point to WebPubSubManager. */ public static void webPubSubGet(com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { - manager.webPubSubs().getByResourceGroupWithResponse("myResourceGroup", "myWebPubSubService", Context.NONE); + manager + .webPubSubs() + .getByResourceGroupWithResponse("myResourceGroup", "myWebPubSubService", com.azure.core.util.Context.NONE); } } ``` @@ -244,12 +244,10 @@ public final class WebPubSubGetByResourceGroupSamples { ### WebPubSub_List ```java -import com.azure.core.util.Context; - /** Samples for WebPubSub List. */ public final class WebPubSubListSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSub_ListBySubscription.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSub_ListBySubscription.json */ /** * Sample code: WebPubSub_ListBySubscription. @@ -257,7 +255,7 @@ public final class WebPubSubListSamples { * @param manager Entry point to WebPubSubManager. */ public static void webPubSubListBySubscription(com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { - manager.webPubSubs().list(Context.NONE); + manager.webPubSubs().list(com.azure.core.util.Context.NONE); } } ``` @@ -265,12 +263,10 @@ public final class WebPubSubListSamples { ### WebPubSub_ListByResourceGroup ```java -import com.azure.core.util.Context; - /** Samples for WebPubSub ListByResourceGroup. */ public final class WebPubSubListByResourceGroupSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSub_ListByResourceGroup.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSub_ListByResourceGroup.json */ /** * Sample code: WebPubSub_ListByResourceGroup. @@ -278,7 +274,7 @@ public final class WebPubSubListByResourceGroupSamples { * @param manager Entry point to WebPubSubManager. */ public static void webPubSubListByResourceGroup(com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { - manager.webPubSubs().listByResourceGroup("myResourceGroup", Context.NONE); + manager.webPubSubs().listByResourceGroup("myResourceGroup", com.azure.core.util.Context.NONE); } } ``` @@ -286,12 +282,10 @@ public final class WebPubSubListByResourceGroupSamples { ### WebPubSub_ListKeys ```java -import com.azure.core.util.Context; - /** Samples for WebPubSub ListKeys. */ public final class WebPubSubListKeysSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSub_ListKeys.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSub_ListKeys.json */ /** * Sample code: WebPubSub_ListKeys. @@ -299,7 +293,9 @@ public final class WebPubSubListKeysSamples { * @param manager Entry point to WebPubSubManager. */ public static void webPubSubListKeys(com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { - manager.webPubSubs().listKeysWithResponse("myResourceGroup", "myWebPubSubService", Context.NONE); + manager + .webPubSubs() + .listKeysWithResponse("myResourceGroup", "myWebPubSubService", com.azure.core.util.Context.NONE); } } ``` @@ -307,12 +303,10 @@ public final class WebPubSubListKeysSamples { ### WebPubSub_ListSkus ```java -import com.azure.core.util.Context; - /** Samples for WebPubSub ListSkus. */ public final class WebPubSubListSkusSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSub_ListSkus.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSub_ListSkus.json */ /** * Sample code: WebPubSub_ListSkus. @@ -320,7 +314,9 @@ public final class WebPubSubListSkusSamples { * @param manager Entry point to WebPubSubManager. */ public static void webPubSubListSkus(com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { - manager.webPubSubs().listSkusWithResponse("myResourceGroup", "myWebPubSubService", Context.NONE); + manager + .webPubSubs() + .listSkusWithResponse("myResourceGroup", "myWebPubSubService", com.azure.core.util.Context.NONE); } } ``` @@ -328,14 +324,13 @@ public final class WebPubSubListSkusSamples { ### WebPubSub_RegenerateKey ```java -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.models.KeyType; import com.azure.resourcemanager.webpubsub.models.RegenerateKeyParameters; /** Samples for WebPubSub RegenerateKey. */ public final class WebPubSubRegenerateKeySamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSub_RegenerateKey.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSub_RegenerateKey.json */ /** * Sample code: WebPubSub_RegenerateKey. @@ -349,7 +344,7 @@ public final class WebPubSubRegenerateKeySamples { "myResourceGroup", "myWebPubSubService", new RegenerateKeyParameters().withKeyType(KeyType.PRIMARY), - Context.NONE); + com.azure.core.util.Context.NONE); } } ``` @@ -357,12 +352,10 @@ public final class WebPubSubRegenerateKeySamples { ### WebPubSub_Restart ```java -import com.azure.core.util.Context; - /** Samples for WebPubSub Restart. */ public final class WebPubSubRestartSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSub_Restart.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSub_Restart.json */ /** * Sample code: WebPubSub_Restart. @@ -370,7 +363,7 @@ public final class WebPubSubRestartSamples { * @param manager Entry point to WebPubSubManager. */ public static void webPubSubRestart(com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { - manager.webPubSubs().restart("myResourceGroup", "myWebPubSubService", Context.NONE); + manager.webPubSubs().restart("myResourceGroup", "myWebPubSubService", com.azure.core.util.Context.NONE); } } ``` @@ -378,13 +371,13 @@ public final class WebPubSubRestartSamples { ### WebPubSub_Update ```java -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.models.AclAction; import com.azure.resourcemanager.webpubsub.models.LiveTraceCategory; import com.azure.resourcemanager.webpubsub.models.LiveTraceConfiguration; import com.azure.resourcemanager.webpubsub.models.ManagedIdentity; import com.azure.resourcemanager.webpubsub.models.ManagedIdentityType; import com.azure.resourcemanager.webpubsub.models.NetworkAcl; +import com.azure.resourcemanager.webpubsub.models.PrivateEndpointAcl; import com.azure.resourcemanager.webpubsub.models.ResourceSku; import com.azure.resourcemanager.webpubsub.models.WebPubSubNetworkACLs; import com.azure.resourcemanager.webpubsub.models.WebPubSubRequestType; @@ -398,7 +391,7 @@ import java.util.Map; /** Samples for WebPubSub Update. */ public final class WebPubSubUpdateSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSub_Update.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSub_Update.json */ /** * Sample code: WebPubSub_Update. @@ -409,7 +402,8 @@ public final class WebPubSubUpdateSamples { WebPubSubResource resource = manager .webPubSubs() - .getByResourceGroupWithResponse("myResourceGroup", "myWebPubSubService", Context.NONE) + .getByResourceGroupWithResponse( + "myResourceGroup", "myWebPubSubService", com.azure.core.util.Context.NONE) .getValue(); resource .update() @@ -426,7 +420,13 @@ public final class WebPubSubUpdateSamples { new WebPubSubNetworkACLs() .withDefaultAction(AclAction.DENY) .withPublicNetwork( - new NetworkAcl().withAllow(Arrays.asList(WebPubSubRequestType.CLIENT_CONNECTION)))) + new NetworkAcl().withAllow(Arrays.asList(WebPubSubRequestType.CLIENT_CONNECTION))) + .withPrivateEndpoints( + Arrays + .asList( + new PrivateEndpointAcl() + .withAllow(Arrays.asList(WebPubSubRequestType.SERVER_CONNECTION)) + .withName("mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e")))) .withPublicNetworkAccess("Enabled") .withDisableLocalAuth(false) .withDisableAadAuth(false) @@ -452,7 +452,7 @@ public final class WebPubSubUpdateSamples { /** Samples for WebPubSubCustomCertificates CreateOrUpdate. */ public final class WebPubSubCustomCertificatesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubCustomCertificates_CreateOrUpdate.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubCustomCertificates_CreateOrUpdate.json */ /** * Sample code: WebPubSubCustomCertificates_CreateOrUpdate. @@ -476,12 +476,10 @@ public final class WebPubSubCustomCertificatesCreateOrUpdateSamples { ### WebPubSubCustomCertificates_Delete ```java -import com.azure.core.util.Context; - /** Samples for WebPubSubCustomCertificates Delete. */ public final class WebPubSubCustomCertificatesDeleteSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubCustomCertificates_Delete.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubCustomCertificates_Delete.json */ /** * Sample code: WebPubSubCustomCertificates_Delete. @@ -491,7 +489,7 @@ public final class WebPubSubCustomCertificatesDeleteSamples { public static void webPubSubCustomCertificatesDelete(com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { manager .webPubSubCustomCertificates() - .deleteWithResponse("myResourceGroup", "myWebPubSubService", "myCert", Context.NONE); + .deleteWithResponse("myResourceGroup", "myWebPubSubService", "myCert", com.azure.core.util.Context.NONE); } } ``` @@ -499,12 +497,10 @@ public final class WebPubSubCustomCertificatesDeleteSamples { ### WebPubSubCustomCertificates_Get ```java -import com.azure.core.util.Context; - /** Samples for WebPubSubCustomCertificates Get. */ public final class WebPubSubCustomCertificatesGetSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubCustomCertificates_Get.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubCustomCertificates_Get.json */ /** * Sample code: WebPubSubCustomCertificates_Get. @@ -514,7 +510,7 @@ public final class WebPubSubCustomCertificatesGetSamples { public static void webPubSubCustomCertificatesGet(com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { manager .webPubSubCustomCertificates() - .getWithResponse("myResourceGroup", "myWebPubSubService", "myCert", Context.NONE); + .getWithResponse("myResourceGroup", "myWebPubSubService", "myCert", com.azure.core.util.Context.NONE); } } ``` @@ -522,12 +518,10 @@ public final class WebPubSubCustomCertificatesGetSamples { ### WebPubSubCustomCertificates_List ```java -import com.azure.core.util.Context; - /** Samples for WebPubSubCustomCertificates List. */ public final class WebPubSubCustomCertificatesListSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubCustomCertificates_List.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubCustomCertificates_List.json */ /** * Sample code: WebPubSubCustomCertificates_List. @@ -535,7 +529,9 @@ public final class WebPubSubCustomCertificatesListSamples { * @param manager Entry point to WebPubSubManager. */ public static void webPubSubCustomCertificatesList(com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { - manager.webPubSubCustomCertificates().list("myResourceGroup", "myWebPubSubService", Context.NONE); + manager + .webPubSubCustomCertificates() + .list("myResourceGroup", "myWebPubSubService", com.azure.core.util.Context.NONE); } } ``` @@ -548,7 +544,7 @@ import com.azure.resourcemanager.webpubsub.models.ResourceReference; /** Samples for WebPubSubCustomDomains CreateOrUpdate. */ public final class WebPubSubCustomDomainsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubCustomDomains_CreateOrUpdate.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubCustomDomains_CreateOrUpdate.json */ /** * Sample code: WebPubSubCustomDomains_CreateOrUpdate. @@ -574,12 +570,10 @@ public final class WebPubSubCustomDomainsCreateOrUpdateSamples { ### WebPubSubCustomDomains_Delete ```java -import com.azure.core.util.Context; - /** Samples for WebPubSubCustomDomains Delete. */ public final class WebPubSubCustomDomainsDeleteSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubCustomDomains_Delete.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubCustomDomains_Delete.json */ /** * Sample code: WebPubSubCustomDomains_Delete. @@ -587,7 +581,9 @@ public final class WebPubSubCustomDomainsDeleteSamples { * @param manager Entry point to WebPubSubManager. */ public static void webPubSubCustomDomainsDelete(com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { - manager.webPubSubCustomDomains().delete("myResourceGroup", "myWebPubSubService", "example", Context.NONE); + manager + .webPubSubCustomDomains() + .delete("myResourceGroup", "myWebPubSubService", "example", com.azure.core.util.Context.NONE); } } ``` @@ -595,12 +591,10 @@ public final class WebPubSubCustomDomainsDeleteSamples { ### WebPubSubCustomDomains_Get ```java -import com.azure.core.util.Context; - /** Samples for WebPubSubCustomDomains Get. */ public final class WebPubSubCustomDomainsGetSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubCustomDomains_Get.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubCustomDomains_Get.json */ /** * Sample code: WebPubSubCustomDomains_Get. @@ -610,7 +604,7 @@ public final class WebPubSubCustomDomainsGetSamples { public static void webPubSubCustomDomainsGet(com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { manager .webPubSubCustomDomains() - .getWithResponse("myResourceGroup", "myWebPubSubService", "example", Context.NONE); + .getWithResponse("myResourceGroup", "myWebPubSubService", "example", com.azure.core.util.Context.NONE); } } ``` @@ -618,12 +612,10 @@ public final class WebPubSubCustomDomainsGetSamples { ### WebPubSubCustomDomains_List ```java -import com.azure.core.util.Context; - /** Samples for WebPubSubCustomDomains List. */ public final class WebPubSubCustomDomainsListSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubCustomDomains_List.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubCustomDomains_List.json */ /** * Sample code: WebPubSubCustomDomains_List. @@ -631,7 +623,9 @@ public final class WebPubSubCustomDomainsListSamples { * @param manager Entry point to WebPubSubManager. */ public static void webPubSubCustomDomainsList(com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { - manager.webPubSubCustomDomains().list("myResourceGroup", "myWebPubSubService", Context.NONE); + manager + .webPubSubCustomDomains() + .list("myResourceGroup", "myWebPubSubService", com.azure.core.util.Context.NONE); } } ``` @@ -652,7 +646,7 @@ import java.util.Arrays; /** Samples for WebPubSubHubs CreateOrUpdate. */ public final class WebPubSubHubsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubHubs_CreateOrUpdate.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubHubs_CreateOrUpdate.json */ /** * Sample code: WebPubSubHubs_CreateOrUpdate. @@ -698,12 +692,10 @@ public final class WebPubSubHubsCreateOrUpdateSamples { ### WebPubSubHubs_Delete ```java -import com.azure.core.util.Context; - /** Samples for WebPubSubHubs Delete. */ public final class WebPubSubHubsDeleteSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubHubs_Delete.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubHubs_Delete.json */ /** * Sample code: WebPubSubHubs_Delete. @@ -711,7 +703,9 @@ public final class WebPubSubHubsDeleteSamples { * @param manager Entry point to WebPubSubManager. */ public static void webPubSubHubsDelete(com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { - manager.webPubSubHubs().delete("exampleHub", "myResourceGroup", "myWebPubSubService", Context.NONE); + manager + .webPubSubHubs() + .delete("exampleHub", "myResourceGroup", "myWebPubSubService", com.azure.core.util.Context.NONE); } } ``` @@ -719,12 +713,10 @@ public final class WebPubSubHubsDeleteSamples { ### WebPubSubHubs_Get ```java -import com.azure.core.util.Context; - /** Samples for WebPubSubHubs Get. */ public final class WebPubSubHubsGetSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubHubs_Get.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubHubs_Get.json */ /** * Sample code: WebPubSubHubs_Get. @@ -732,7 +724,9 @@ public final class WebPubSubHubsGetSamples { * @param manager Entry point to WebPubSubManager. */ public static void webPubSubHubsGet(com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { - manager.webPubSubHubs().getWithResponse("exampleHub", "myResourceGroup", "myWebPubSubService", Context.NONE); + manager + .webPubSubHubs() + .getWithResponse("exampleHub", "myResourceGroup", "myWebPubSubService", com.azure.core.util.Context.NONE); } } ``` @@ -740,12 +734,10 @@ public final class WebPubSubHubsGetSamples { ### WebPubSubHubs_List ```java -import com.azure.core.util.Context; - /** Samples for WebPubSubHubs List. */ public final class WebPubSubHubsListSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubHubs_List.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubHubs_List.json */ /** * Sample code: WebPubSubHubs_List. @@ -753,7 +745,7 @@ public final class WebPubSubHubsListSamples { * @param manager Entry point to WebPubSubManager. */ public static void webPubSubHubsList(com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { - manager.webPubSubHubs().list("myResourceGroup", "myWebPubSubService", Context.NONE); + manager.webPubSubHubs().list("myResourceGroup", "myWebPubSubService", com.azure.core.util.Context.NONE); } } ``` @@ -761,12 +753,10 @@ public final class WebPubSubHubsListSamples { ### WebPubSubPrivateEndpointConnections_Delete ```java -import com.azure.core.util.Context; - /** Samples for WebPubSubPrivateEndpointConnections Delete. */ public final class WebPubSubPrivateEndpointConnectionsDeleteSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubPrivateEndpointConnections_Delete.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubPrivateEndpointConnections_Delete.json */ /** * Sample code: WebPubSubPrivateEndpointConnections_Delete. @@ -781,7 +771,7 @@ public final class WebPubSubPrivateEndpointConnectionsDeleteSamples { "mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e", "myResourceGroup", "myWebPubSubService", - Context.NONE); + com.azure.core.util.Context.NONE); } } ``` @@ -789,12 +779,10 @@ public final class WebPubSubPrivateEndpointConnectionsDeleteSamples { ### WebPubSubPrivateEndpointConnections_Get ```java -import com.azure.core.util.Context; - /** Samples for WebPubSubPrivateEndpointConnections Get. */ public final class WebPubSubPrivateEndpointConnectionsGetSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubPrivateEndpointConnections_Get.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubPrivateEndpointConnections_Get.json */ /** * Sample code: WebPubSubPrivateEndpointConnections_Get. @@ -809,7 +797,7 @@ public final class WebPubSubPrivateEndpointConnectionsGetSamples { "mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e", "myResourceGroup", "myWebPubSubService", - Context.NONE); + com.azure.core.util.Context.NONE); } } ``` @@ -817,12 +805,10 @@ public final class WebPubSubPrivateEndpointConnectionsGetSamples { ### WebPubSubPrivateEndpointConnections_List ```java -import com.azure.core.util.Context; - /** Samples for WebPubSubPrivateEndpointConnections List. */ public final class WebPubSubPrivateEndpointConnectionsListSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubPrivateEndpointConnections_List.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubPrivateEndpointConnections_List.json */ /** * Sample code: WebPubSubPrivateEndpointConnections_List. @@ -831,7 +817,9 @@ public final class WebPubSubPrivateEndpointConnectionsListSamples { */ public static void webPubSubPrivateEndpointConnectionsList( com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { - manager.webPubSubPrivateEndpointConnections().list("myResourceGroup", "myWebPubSubService", Context.NONE); + manager + .webPubSubPrivateEndpointConnections() + .list("myResourceGroup", "myWebPubSubService", com.azure.core.util.Context.NONE); } } ``` @@ -839,7 +827,6 @@ public final class WebPubSubPrivateEndpointConnectionsListSamples { ### WebPubSubPrivateEndpointConnections_Update ```java -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.fluent.models.PrivateEndpointConnectionInner; import com.azure.resourcemanager.webpubsub.models.PrivateEndpoint; import com.azure.resourcemanager.webpubsub.models.PrivateLinkServiceConnectionState; @@ -848,7 +835,7 @@ import com.azure.resourcemanager.webpubsub.models.PrivateLinkServiceConnectionSt /** Samples for WebPubSubPrivateEndpointConnections Update. */ public final class WebPubSubPrivateEndpointConnectionsUpdateSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubPrivateEndpointConnections_Update.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubPrivateEndpointConnections_Update.json */ /** * Sample code: WebPubSubPrivateEndpointConnections_Update. @@ -872,7 +859,7 @@ public final class WebPubSubPrivateEndpointConnectionsUpdateSamples { new PrivateLinkServiceConnectionState() .withStatus(PrivateLinkServiceConnectionStatus.APPROVED) .withActionsRequired("None")), - Context.NONE); + com.azure.core.util.Context.NONE); } } ``` @@ -880,12 +867,10 @@ public final class WebPubSubPrivateEndpointConnectionsUpdateSamples { ### WebPubSubPrivateLinkResources_List ```java -import com.azure.core.util.Context; - /** Samples for WebPubSubPrivateLinkResources List. */ public final class WebPubSubPrivateLinkResourcesListSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubPrivateLinkResources_List.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubPrivateLinkResources_List.json */ /** * Sample code: WebPubSubPrivateLinkResources_List. @@ -893,7 +878,9 @@ public final class WebPubSubPrivateLinkResourcesListSamples { * @param manager Entry point to WebPubSubManager. */ public static void webPubSubPrivateLinkResourcesList(com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { - manager.webPubSubPrivateLinkResources().list("myResourceGroup", "myWebPubSubService", Context.NONE); + manager + .webPubSubPrivateLinkResources() + .list("myResourceGroup", "myWebPubSubService", com.azure.core.util.Context.NONE); } } ``` @@ -904,7 +891,7 @@ public final class WebPubSubPrivateLinkResourcesListSamples { /** Samples for WebPubSubSharedPrivateLinkResources CreateOrUpdate. */ public final class WebPubSubSharedPrivateLinkResourcesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubSharedPrivateLinkResources_CreateOrUpdate.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubSharedPrivateLinkResources_CreateOrUpdate.json */ /** * Sample code: WebPubSubSharedPrivateLinkResources_CreateOrUpdate. @@ -929,12 +916,10 @@ public final class WebPubSubSharedPrivateLinkResourcesCreateOrUpdateSamples { ### WebPubSubSharedPrivateLinkResources_Delete ```java -import com.azure.core.util.Context; - /** Samples for WebPubSubSharedPrivateLinkResources Delete. */ public final class WebPubSubSharedPrivateLinkResourcesDeleteSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubSharedPrivateLinkResources_Delete.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubSharedPrivateLinkResources_Delete.json */ /** * Sample code: WebPubSubSharedPrivateLinkResources_Delete. @@ -945,7 +930,7 @@ public final class WebPubSubSharedPrivateLinkResourcesDeleteSamples { com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { manager .webPubSubSharedPrivateLinkResources() - .delete("upstream", "myResourceGroup", "myWebPubSubService", Context.NONE); + .delete("upstream", "myResourceGroup", "myWebPubSubService", com.azure.core.util.Context.NONE); } } ``` @@ -953,12 +938,10 @@ public final class WebPubSubSharedPrivateLinkResourcesDeleteSamples { ### WebPubSubSharedPrivateLinkResources_Get ```java -import com.azure.core.util.Context; - /** Samples for WebPubSubSharedPrivateLinkResources Get. */ public final class WebPubSubSharedPrivateLinkResourcesGetSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubSharedPrivateLinkResources_Get.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubSharedPrivateLinkResources_Get.json */ /** * Sample code: WebPubSubSharedPrivateLinkResources_Get. @@ -969,7 +952,7 @@ public final class WebPubSubSharedPrivateLinkResourcesGetSamples { com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { manager .webPubSubSharedPrivateLinkResources() - .getWithResponse("upstream", "myResourceGroup", "myWebPubSubService", Context.NONE); + .getWithResponse("upstream", "myResourceGroup", "myWebPubSubService", com.azure.core.util.Context.NONE); } } ``` @@ -977,12 +960,10 @@ public final class WebPubSubSharedPrivateLinkResourcesGetSamples { ### WebPubSubSharedPrivateLinkResources_List ```java -import com.azure.core.util.Context; - /** Samples for WebPubSubSharedPrivateLinkResources List. */ public final class WebPubSubSharedPrivateLinkResourcesListSamples { /* - * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/preview/2022-08-01-preview/examples/WebPubSubSharedPrivateLinkResources_List.json + * x-ms-original-file: specification/webpubsub/resource-manager/Microsoft.SignalRService/stable/2023-02-01/examples/WebPubSubSharedPrivateLinkResources_List.json */ /** * Sample code: WebPubSubSharedPrivateLinkResources_List. @@ -991,7 +972,9 @@ public final class WebPubSubSharedPrivateLinkResourcesListSamples { */ public static void webPubSubSharedPrivateLinkResourcesList( com.azure.resourcemanager.webpubsub.WebPubSubManager manager) { - manager.webPubSubSharedPrivateLinkResources().list("myResourceGroup", "myWebPubSubService", Context.NONE); + manager + .webPubSubSharedPrivateLinkResources() + .list("myResourceGroup", "myWebPubSubService", com.azure.core.util.Context.NONE); } } ``` diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/pom.xml b/sdk/webpubsub/azure-resourcemanager-webpubsub/pom.xml index df0470a6830f..3080493a6f04 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/pom.xml +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/pom.xml @@ -1,3 +1,8 @@ + 4.0.0 @@ -13,7 +18,7 @@ jar Microsoft Azure SDK for WebPubSub Management - This package contains Microsoft Azure SDK for WebPubSub Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. REST API for Azure WebPubSub Service. Package tag package-2022-08-01-preview. + This package contains Microsoft Azure SDK for WebPubSub Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. REST API for Azure WebPubSub Service. Package tag package-2023-02-01. https://github.com/Azure/azure-sdk-for-java @@ -38,7 +43,8 @@ UTF-8 - true + 0 + 0 diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/WebPubSubManager.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/WebPubSubManager.java index 2991d7e7c7f0..4c8e96ba753c 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/WebPubSubManager.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/WebPubSubManager.java @@ -235,7 +235,7 @@ public WebPubSubManager authenticate(TokenCredential credential, AzureProfile pr .append("-") .append("com.azure.resourcemanager.webpubsub") .append("/") - .append("1.0.0-beta.3"); + .append("1.0.0-beta.4"); if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) { userAgentBuilder .append(" (") diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubCustomCertificatesClientImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubCustomCertificatesClientImpl.java index df46bd4b480a..23940624d5f7 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubCustomCertificatesClientImpl.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubCustomCertificatesClientImpl.java @@ -68,8 +68,7 @@ public final class WebPubSubCustomCertificatesClientImpl implements WebPubSubCus public interface WebPubSubCustomCertificatesService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/customCertificates") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/customCertificates") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> list( @@ -83,8 +82,7 @@ Mono> list( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/customCertificates/{certificateName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/customCertificates/{certificateName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( @@ -99,8 +97,7 @@ Mono> get( @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/customCertificates/{certificateName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/customCertificates/{certificateName}") @ExpectedResponses({200, 201}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> createOrUpdate( @@ -116,8 +113,7 @@ Mono>> createOrUpdate( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/customCertificates/{certificateName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/customCertificates/{certificateName}") @ExpectedResponses({200, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> delete( @@ -692,7 +688,9 @@ private PollerFlux, CustomCertificateInner> b @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, CustomCertificateInner> beginCreateOrUpdate( String resourceGroupName, String resourceName, String certificateName, CustomCertificateInner parameters) { - return beginCreateOrUpdateAsync(resourceGroupName, resourceName, certificateName, parameters).getSyncPoller(); + return this + .beginCreateOrUpdateAsync(resourceGroupName, resourceName, certificateName, parameters) + .getSyncPoller(); } /** @@ -716,7 +714,8 @@ public SyncPoller, CustomCertificateInner> be String certificateName, CustomCertificateInner parameters, Context context) { - return beginCreateOrUpdateAsync(resourceGroupName, resourceName, certificateName, parameters, context) + return this + .beginCreateOrUpdateAsync(resourceGroupName, resourceName, certificateName, parameters, context) .getSyncPoller(); } diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubCustomDomainsClientImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubCustomDomainsClientImpl.java index f0e1c9c56f45..e97f2ef2cd65 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubCustomDomainsClientImpl.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubCustomDomainsClientImpl.java @@ -67,8 +67,7 @@ public final class WebPubSubCustomDomainsClientImpl implements WebPubSubCustomDo public interface WebPubSubCustomDomainsService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/customDomains") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/customDomains") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> list( @@ -82,8 +81,7 @@ Mono> list( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/customDomains/{name}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/customDomains/{name}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( @@ -98,8 +96,7 @@ Mono> get( @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/customDomains/{name}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/customDomains/{name}") @ExpectedResponses({201}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> createOrUpdate( @@ -115,8 +112,7 @@ Mono>> createOrUpdate( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/customDomains/{name}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/customDomains/{name}") @ExpectedResponses({200, 202, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> delete( @@ -672,7 +668,7 @@ private PollerFlux, CustomDomainInner> beginCreate @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, CustomDomainInner> beginCreateOrUpdate( String resourceGroupName, String resourceName, String name, CustomDomainInner parameters) { - return beginCreateOrUpdateAsync(resourceGroupName, resourceName, name, parameters).getSyncPoller(); + return this.beginCreateOrUpdateAsync(resourceGroupName, resourceName, name, parameters).getSyncPoller(); } /** @@ -692,7 +688,9 @@ public SyncPoller, CustomDomainInner> beginCreateO @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, CustomDomainInner> beginCreateOrUpdate( String resourceGroupName, String resourceName, String name, CustomDomainInner parameters, Context context) { - return beginCreateOrUpdateAsync(resourceGroupName, resourceName, name, parameters, context).getSyncPoller(); + return this + .beginCreateOrUpdateAsync(resourceGroupName, resourceName, name, parameters, context) + .getSyncPoller(); } /** @@ -942,7 +940,7 @@ private PollerFlux, Void> beginDeleteAsync( */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete(String resourceGroupName, String resourceName, String name) { - return beginDeleteAsync(resourceGroupName, resourceName, name).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, resourceName, name).getSyncPoller(); } /** @@ -961,7 +959,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String resourceName, String name, Context context) { - return beginDeleteAsync(resourceGroupName, resourceName, name, context).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, resourceName, name, context).getSyncPoller(); } /** diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubHubsClientImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubHubsClientImpl.java index 891d6f6a65d3..b9112f9004e9 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubHubsClientImpl.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubHubsClientImpl.java @@ -66,8 +66,7 @@ public final class WebPubSubHubsClientImpl implements WebPubSubHubsClient { public interface WebPubSubHubsService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/hubs") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/hubs") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> list( @@ -81,8 +80,7 @@ Mono> list( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/hubs/{hubName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/hubs/{hubName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( @@ -97,8 +95,7 @@ Mono> get( @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/hubs/{hubName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/hubs/{hubName}") @ExpectedResponses({200, 201}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> createOrUpdate( @@ -114,8 +111,7 @@ Mono>> createOrUpdate( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/hubs/{hubName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/hubs/{hubName}") @ExpectedResponses({200, 202, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> delete( @@ -671,7 +667,7 @@ private PollerFlux, WebPubSubHubInner> beginCreate @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, WebPubSubHubInner> beginCreateOrUpdate( String hubName, String resourceGroupName, String resourceName, WebPubSubHubInner parameters) { - return beginCreateOrUpdateAsync(hubName, resourceGroupName, resourceName, parameters).getSyncPoller(); + return this.beginCreateOrUpdateAsync(hubName, resourceGroupName, resourceName, parameters).getSyncPoller(); } /** @@ -691,7 +687,9 @@ public SyncPoller, WebPubSubHubInner> beginCreateO @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, WebPubSubHubInner> beginCreateOrUpdate( String hubName, String resourceGroupName, String resourceName, WebPubSubHubInner parameters, Context context) { - return beginCreateOrUpdateAsync(hubName, resourceGroupName, resourceName, parameters, context).getSyncPoller(); + return this + .beginCreateOrUpdateAsync(hubName, resourceGroupName, resourceName, parameters, context) + .getSyncPoller(); } /** @@ -943,7 +941,7 @@ private PollerFlux, Void> beginDeleteAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String hubName, String resourceGroupName, String resourceName) { - return beginDeleteAsync(hubName, resourceGroupName, resourceName).getSyncPoller(); + return this.beginDeleteAsync(hubName, resourceGroupName, resourceName).getSyncPoller(); } /** @@ -962,7 +960,7 @@ public SyncPoller, Void> beginDelete( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String hubName, String resourceGroupName, String resourceName, Context context) { - return beginDeleteAsync(hubName, resourceGroupName, resourceName, context).getSyncPoller(); + return this.beginDeleteAsync(hubName, resourceGroupName, resourceName, context).getSyncPoller(); } /** diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubManagementClientImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubManagementClientImpl.java index 8be084a6f018..286a705a5d62 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubManagementClientImpl.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubManagementClientImpl.java @@ -251,7 +251,7 @@ public WebPubSubSharedPrivateLinkResourcesClient getWebPubSubSharedPrivateLinkRe this.defaultPollInterval = defaultPollInterval; this.subscriptionId = subscriptionId; this.endpoint = endpoint; - this.apiVersion = "2022-08-01-preview"; + this.apiVersion = "2023-02-01"; this.operations = new OperationsClientImpl(this); this.webPubSubs = new WebPubSubsClientImpl(this); this.usages = new UsagesClientImpl(this); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubPrivateEndpointConnectionsClientImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubPrivateEndpointConnectionsClientImpl.java index 22ea290724d9..5208b634b006 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubPrivateEndpointConnectionsClientImpl.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubPrivateEndpointConnectionsClientImpl.java @@ -72,8 +72,7 @@ public final class WebPubSubPrivateEndpointConnectionsClientImpl implements WebP public interface WebPubSubPrivateEndpointConnectionsService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/privateEndpointConnections") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/privateEndpointConnections") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> list( @@ -87,8 +86,7 @@ Mono> list( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( @@ -103,8 +101,7 @@ Mono> get( @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> update( @@ -120,8 +117,7 @@ Mono> update( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}") @ExpectedResponses({200, 202, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> delete( @@ -884,7 +880,7 @@ private PollerFlux, Void> beginDeleteAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String privateEndpointConnectionName, String resourceGroupName, String resourceName) { - return beginDeleteAsync(privateEndpointConnectionName, resourceGroupName, resourceName).getSyncPoller(); + return this.beginDeleteAsync(privateEndpointConnectionName, resourceGroupName, resourceName).getSyncPoller(); } /** @@ -903,7 +899,8 @@ public SyncPoller, Void> beginDelete( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String privateEndpointConnectionName, String resourceGroupName, String resourceName, Context context) { - return beginDeleteAsync(privateEndpointConnectionName, resourceGroupName, resourceName, context) + return this + .beginDeleteAsync(privateEndpointConnectionName, resourceGroupName, resourceName, context) .getSyncPoller(); } diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubPrivateLinkResourcesClientImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubPrivateLinkResourcesClientImpl.java index a1183b6a971a..dad60ed13158 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubPrivateLinkResourcesClientImpl.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubPrivateLinkResourcesClientImpl.java @@ -62,8 +62,7 @@ public final class WebPubSubPrivateLinkResourcesClientImpl implements WebPubSubP public interface WebPubSubPrivateLinkResourcesService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/privateLinkResources") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/privateLinkResources") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> list( diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubSharedPrivateLinkResourcesClientImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubSharedPrivateLinkResourcesClientImpl.java index 2a71fc974a46..3060051f276c 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubSharedPrivateLinkResourcesClientImpl.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubSharedPrivateLinkResourcesClientImpl.java @@ -72,8 +72,7 @@ public final class WebPubSubSharedPrivateLinkResourcesClientImpl implements WebP public interface WebPubSubSharedPrivateLinkResourcesService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/sharedPrivateLinkResources") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/sharedPrivateLinkResources") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> list( @@ -87,8 +86,7 @@ Mono> list( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( @@ -103,8 +101,7 @@ Mono> get( @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}") @ExpectedResponses({200, 201}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> createOrUpdate( @@ -120,8 +117,7 @@ Mono>> createOrUpdate( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}") @ExpectedResponses({200, 202, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> delete( @@ -724,7 +720,8 @@ public SyncPoller, SharedPrivateLinkR String resourceGroupName, String resourceName, SharedPrivateLinkResourceInner parameters) { - return beginCreateOrUpdateAsync(sharedPrivateLinkResourceName, resourceGroupName, resourceName, parameters) + return this + .beginCreateOrUpdateAsync(sharedPrivateLinkResourceName, resourceGroupName, resourceName, parameters) .getSyncPoller(); } @@ -749,7 +746,8 @@ public SyncPoller, SharedPrivateLinkR String resourceName, SharedPrivateLinkResourceInner parameters, Context context) { - return beginCreateOrUpdateAsync( + return this + .beginCreateOrUpdateAsync( sharedPrivateLinkResourceName, resourceGroupName, resourceName, parameters, context) .getSyncPoller(); } @@ -1026,7 +1024,7 @@ private PollerFlux, Void> beginDeleteAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName) { - return beginDeleteAsync(sharedPrivateLinkResourceName, resourceGroupName, resourceName).getSyncPoller(); + return this.beginDeleteAsync(sharedPrivateLinkResourceName, resourceGroupName, resourceName).getSyncPoller(); } /** @@ -1045,7 +1043,8 @@ public SyncPoller, Void> beginDelete( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String sharedPrivateLinkResourceName, String resourceGroupName, String resourceName, Context context) { - return beginDeleteAsync(sharedPrivateLinkResourceName, resourceGroupName, resourceName, context) + return this + .beginDeleteAsync(sharedPrivateLinkResourceName, resourceGroupName, resourceName, context) .getSyncPoller(); } diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubsClientImpl.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubsClientImpl.java index 64110d3356f5..3a4e5950dba0 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubsClientImpl.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/implementation/WebPubSubsClientImpl.java @@ -73,8 +73,7 @@ public final class WebPubSubsClientImpl implements WebPubSubsClient { public interface WebPubSubsService { @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}" - + "/checkNameAvailability") + "/subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/checkNameAvailability") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> checkNameAvailability( @@ -99,8 +98,7 @@ Mono> list( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByResourceGroup( @@ -113,8 +111,7 @@ Mono> listByResourceGroup( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> getByResourceGroup( @@ -128,8 +125,7 @@ Mono> getByResourceGroup( @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}") @ExpectedResponses({200, 201, 202}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> createOrUpdate( @@ -144,8 +140,7 @@ Mono>> createOrUpdate( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}") @ExpectedResponses({200, 202, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> delete( @@ -159,8 +154,7 @@ Mono>> delete( @Headers({"Content-Type: application/json"}) @Patch( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}") @ExpectedResponses({200, 202}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> update( @@ -175,8 +169,7 @@ Mono>> update( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/listKeys") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/listKeys") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listKeys( @@ -190,8 +183,7 @@ Mono> listKeys( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/regenerateKey") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/regenerateKey") @ExpectedResponses({202}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> regenerateKey( @@ -206,8 +198,7 @@ Mono>> regenerateKey( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/restart") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/restart") @ExpectedResponses({202, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> restart( @@ -221,8 +212,7 @@ Mono>> restart( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService" - + "/webPubSub/{resourceName}/skus") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/skus") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listSkus( @@ -1052,7 +1042,7 @@ private PollerFlux, WebPubSubResourceInner> b @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, WebPubSubResourceInner> beginCreateOrUpdate( String resourceGroupName, String resourceName, WebPubSubResourceInner parameters) { - return beginCreateOrUpdateAsync(resourceGroupName, resourceName, parameters).getSyncPoller(); + return this.beginCreateOrUpdateAsync(resourceGroupName, resourceName, parameters).getSyncPoller(); } /** @@ -1071,7 +1061,7 @@ public SyncPoller, WebPubSubResourceInner> be @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, WebPubSubResourceInner> beginCreateOrUpdate( String resourceGroupName, String resourceName, WebPubSubResourceInner parameters, Context context) { - return beginCreateOrUpdateAsync(resourceGroupName, resourceName, parameters, context).getSyncPoller(); + return this.beginCreateOrUpdateAsync(resourceGroupName, resourceName, parameters, context).getSyncPoller(); } /** @@ -1302,7 +1292,7 @@ private PollerFlux, Void> beginDeleteAsync( */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete(String resourceGroupName, String resourceName) { - return beginDeleteAsync(resourceGroupName, resourceName).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, resourceName).getSyncPoller(); } /** @@ -1320,7 +1310,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String resourceName, Context context) { - return beginDeleteAsync(resourceGroupName, resourceName, context).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, resourceName, context).getSyncPoller(); } /** @@ -1569,7 +1559,7 @@ private PollerFlux, WebPubSubResourceInner> b @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, WebPubSubResourceInner> beginUpdate( String resourceGroupName, String resourceName, WebPubSubResourceInner parameters) { - return beginUpdateAsync(resourceGroupName, resourceName, parameters).getSyncPoller(); + return this.beginUpdateAsync(resourceGroupName, resourceName, parameters).getSyncPoller(); } /** @@ -1588,7 +1578,7 @@ public SyncPoller, WebPubSubResourceInner> be @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, WebPubSubResourceInner> beginUpdate( String resourceGroupName, String resourceName, WebPubSubResourceInner parameters, Context context) { - return beginUpdateAsync(resourceGroupName, resourceName, parameters, context).getSyncPoller(); + return this.beginUpdateAsync(resourceGroupName, resourceName, parameters, context).getSyncPoller(); } /** @@ -1995,7 +1985,7 @@ private PollerFlux, WebPubSubKeysInner> beginRege @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, WebPubSubKeysInner> beginRegenerateKey( String resourceGroupName, String resourceName, RegenerateKeyParameters parameters) { - return beginRegenerateKeyAsync(resourceGroupName, resourceName, parameters).getSyncPoller(); + return this.beginRegenerateKeyAsync(resourceGroupName, resourceName, parameters).getSyncPoller(); } /** @@ -2014,7 +2004,7 @@ public SyncPoller, WebPubSubKeysInner> beginRegen @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, WebPubSubKeysInner> beginRegenerateKey( String resourceGroupName, String resourceName, RegenerateKeyParameters parameters, Context context) { - return beginRegenerateKeyAsync(resourceGroupName, resourceName, parameters, context).getSyncPoller(); + return this.beginRegenerateKeyAsync(resourceGroupName, resourceName, parameters, context).getSyncPoller(); } /** @@ -2245,7 +2235,7 @@ private PollerFlux, Void> beginRestartAsync( */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginRestart(String resourceGroupName, String resourceName) { - return beginRestartAsync(resourceGroupName, resourceName).getSyncPoller(); + return this.beginRestartAsync(resourceGroupName, resourceName).getSyncPoller(); } /** @@ -2263,7 +2253,7 @@ public SyncPoller, Void> beginRestart(String resourceGroupName, @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginRestart( String resourceGroupName, String resourceName, Context context) { - return beginRestartAsync(resourceGroupName, resourceName, context).getSyncPoller(); + return this.beginRestartAsync(resourceGroupName, resourceName, context).getSyncPoller(); } /** diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/AclAction.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/AclAction.java index 9dab9e4aff4b..7491a72b57b1 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/AclAction.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/AclAction.java @@ -16,6 +16,15 @@ public final class AclAction extends ExpandableStringEnum { /** Static value Deny for AclAction. */ public static final AclAction DENY = fromString("Deny"); + /** + * Creates a new instance of AclAction value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public AclAction() { + } + /** * Creates or finds a AclAction from its string representation. * diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/EventListenerEndpointDiscriminator.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/EventListenerEndpointDiscriminator.java index e92dc8ca7a12..29d0c5734ac6 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/EventListenerEndpointDiscriminator.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/EventListenerEndpointDiscriminator.java @@ -13,6 +13,15 @@ public final class EventListenerEndpointDiscriminator extends ExpandableStringEn /** Static value EventHub for EventListenerEndpointDiscriminator. */ public static final EventListenerEndpointDiscriminator EVENT_HUB = fromString("EventHub"); + /** + * Creates a new instance of EventListenerEndpointDiscriminator value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public EventListenerEndpointDiscriminator() { + } + /** * Creates or finds a EventListenerEndpointDiscriminator from its string representation. * diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/EventListenerFilterDiscriminator.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/EventListenerFilterDiscriminator.java index 3d3fa24b0bf8..00e87528b846 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/EventListenerFilterDiscriminator.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/EventListenerFilterDiscriminator.java @@ -13,6 +13,15 @@ public final class EventListenerFilterDiscriminator extends ExpandableStringEnum /** Static value EventName for EventListenerFilterDiscriminator. */ public static final EventListenerFilterDiscriminator EVENT_NAME = fromString("EventName"); + /** + * Creates a new instance of EventListenerFilterDiscriminator value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public EventListenerFilterDiscriminator() { + } + /** * Creates or finds a EventListenerFilterDiscriminator from its string representation. * diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/KeyType.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/KeyType.java index c56c53a02bf7..a65078f6e2a5 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/KeyType.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/KeyType.java @@ -19,6 +19,15 @@ public final class KeyType extends ExpandableStringEnum { /** Static value Salt for KeyType. */ public static final KeyType SALT = fromString("Salt"); + /** + * Creates a new instance of KeyType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public KeyType() { + } + /** * Creates or finds a KeyType from its string representation. * diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/ManagedIdentity.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/ManagedIdentity.java index 1d06dac8f35f..7619ed8ca284 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/ManagedIdentity.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/ManagedIdentity.java @@ -11,7 +11,7 @@ /** A class represent managed identities used for request and response. */ @Fluent -public class ManagedIdentity { +public final class ManagedIdentity { /* * Represents the identity type: systemAssigned, userAssigned, None */ diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/ManagedIdentityType.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/ManagedIdentityType.java index 4f7642ccde6d..a520079705e7 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/ManagedIdentityType.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/ManagedIdentityType.java @@ -19,6 +19,15 @@ public final class ManagedIdentityType extends ExpandableStringEnum { /** Static value Automatic for ScaleType. */ public static final ScaleType AUTOMATIC = fromString("Automatic"); + /** + * Creates a new instance of ScaleType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ScaleType() { + } + /** * Creates or finds a ScaleType from its string representation. * diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/SharedPrivateLinkResourceStatus.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/SharedPrivateLinkResourceStatus.java index 34079a891c8b..a864a74d8525 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/SharedPrivateLinkResourceStatus.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/SharedPrivateLinkResourceStatus.java @@ -25,6 +25,15 @@ public final class SharedPrivateLinkResourceStatus extends ExpandableStringEnum< /** Static value Timeout for SharedPrivateLinkResourceStatus. */ public static final SharedPrivateLinkResourceStatus TIMEOUT = fromString("Timeout"); + /** + * Creates a new instance of SharedPrivateLinkResourceStatus value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public SharedPrivateLinkResourceStatus() { + } + /** * Creates or finds a SharedPrivateLinkResourceStatus from its string representation. * diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/UpstreamAuthType.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/UpstreamAuthType.java index 54af3b54b990..fbffbe55f8db 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/UpstreamAuthType.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/models/UpstreamAuthType.java @@ -16,6 +16,15 @@ public final class UpstreamAuthType extends ExpandableStringEnum Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureEnvironment.AZURE)); - PagedIterable response = manager.operations().list(Context.NONE); + PagedIterable response = manager.operations().list(com.azure.core.util.Context.NONE); Assertions.assertEquals("pxodlqiyntorzih", response.iterator().next().name()); Assertions.assertEquals(false, response.iterator().next().isDataAction()); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateEndpointAclTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateEndpointAclTests.java index 25e0b681cf99..ef8042a8e34c 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateEndpointAclTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateEndpointAclTests.java @@ -9,11 +9,10 @@ import com.azure.resourcemanager.webpubsub.models.WebPubSubRequestType; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class PrivateEndpointAclTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { PrivateEndpointAcl model = BinaryData .fromString( @@ -24,8 +23,8 @@ public void testDeserialize() { Assertions.assertEquals("zka", model.name()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { PrivateEndpointAcl model = new PrivateEndpointAcl() .withAllow(Arrays.asList(WebPubSubRequestType.TRACE)) diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateEndpointConnectionInnerTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateEndpointConnectionInnerTests.java index 58d54dd45455..75137b5e0034 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateEndpointConnectionInnerTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateEndpointConnectionInnerTests.java @@ -10,11 +10,10 @@ import com.azure.resourcemanager.webpubsub.models.PrivateLinkServiceConnectionState; import com.azure.resourcemanager.webpubsub.models.PrivateLinkServiceConnectionStatus; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class PrivateEndpointConnectionInnerTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { PrivateEndpointConnectionInner model = BinaryData .fromString( @@ -28,8 +27,8 @@ public void testDeserialize() { Assertions.assertEquals("rgvtqag", model.privateLinkServiceConnectionState().actionsRequired()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { PrivateEndpointConnectionInner model = new PrivateEndpointConnectionInner() .withPrivateEndpoint(new PrivateEndpoint().withId("debfqkkrbmpukgri")) diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateEndpointConnectionListTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateEndpointConnectionListTests.java index 943c16a33683..d2404c5bbc59 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateEndpointConnectionListTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateEndpointConnectionListTests.java @@ -9,11 +9,10 @@ import com.azure.resourcemanager.webpubsub.models.PrivateEndpointConnectionList; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class PrivateEndpointConnectionListTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { PrivateEndpointConnectionList model = BinaryData .fromString( @@ -22,8 +21,8 @@ public void testDeserialize() { Assertions.assertEquals("gycdu", model.nextLink()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { PrivateEndpointConnectionList model = new PrivateEndpointConnectionList() .withValue(Arrays.asList(new PrivateEndpointConnectionInner(), new PrivateEndpointConnectionInner())) diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateEndpointConnectionPropertiesTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateEndpointConnectionPropertiesTests.java index f1c0f47fb4c0..16ff24c16625 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateEndpointConnectionPropertiesTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateEndpointConnectionPropertiesTests.java @@ -10,11 +10,10 @@ import com.azure.resourcemanager.webpubsub.models.PrivateLinkServiceConnectionState; import com.azure.resourcemanager.webpubsub.models.PrivateLinkServiceConnectionStatus; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class PrivateEndpointConnectionPropertiesTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { PrivateEndpointConnectionProperties model = BinaryData .fromString( @@ -28,8 +27,8 @@ public void testDeserialize() { Assertions.assertEquals("haaxdbabphl", model.privateLinkServiceConnectionState().actionsRequired()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { PrivateEndpointConnectionProperties model = new PrivateEndpointConnectionProperties() .withPrivateEndpoint(new PrivateEndpoint().withId("na")) diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateEndpointTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateEndpointTests.java index 739db1b21a4a..f13f4e831fda 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateEndpointTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateEndpointTests.java @@ -7,17 +7,16 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.webpubsub.models.PrivateEndpoint; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class PrivateEndpointTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { PrivateEndpoint model = BinaryData.fromString("{\"id\":\"qlfktsths\"}").toObject(PrivateEndpoint.class); Assertions.assertEquals("qlfktsths", model.id()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { PrivateEndpoint model = new PrivateEndpoint().withId("qlfktsths"); model = BinaryData.fromObject(model).toObject(PrivateEndpoint.class); Assertions.assertEquals("qlfktsths", model.id()); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateLinkResourceInnerTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateLinkResourceInnerTests.java index 8a80043bb4a6..8b59c56c8fc9 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateLinkResourceInnerTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateLinkResourceInnerTests.java @@ -9,11 +9,10 @@ import com.azure.resourcemanager.webpubsub.models.ShareablePrivateLinkResourceType; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class PrivateLinkResourceInnerTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { PrivateLinkResourceInner model = BinaryData .fromString( @@ -25,8 +24,8 @@ public void testDeserialize() { Assertions.assertEquals("ygtdsslswt", model.shareablePrivateLinkResourceTypes().get(0).name()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { PrivateLinkResourceInner model = new PrivateLinkResourceInner() .withGroupId("dbzm") diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateLinkResourceListTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateLinkResourceListTests.java index cd0c5e26f11b..a4f426645150 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateLinkResourceListTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateLinkResourceListTests.java @@ -9,11 +9,10 @@ import com.azure.resourcemanager.webpubsub.models.PrivateLinkResourceList; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class PrivateLinkResourceListTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { PrivateLinkResourceList model = BinaryData .fromString( @@ -23,8 +22,8 @@ public void testDeserialize() { Assertions.assertEquals("wyhzdx", model.nextLink()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { PrivateLinkResourceList model = new PrivateLinkResourceList() .withValue( diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateLinkResourcePropertiesTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateLinkResourcePropertiesTests.java index 70695a3f0022..85c4615dd8c5 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateLinkResourcePropertiesTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateLinkResourcePropertiesTests.java @@ -10,11 +10,10 @@ import com.azure.resourcemanager.webpubsub.models.ShareablePrivateLinkResourceType; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class PrivateLinkResourcePropertiesTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { PrivateLinkResourceProperties model = BinaryData .fromString( @@ -32,8 +31,8 @@ public void testDeserialize() { .assertEquals("lauwzizxbmpgcjef", model.shareablePrivateLinkResourceTypes().get(0).properties().type()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { PrivateLinkResourceProperties model = new PrivateLinkResourceProperties() .withGroupId("lcxog") diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateLinkServiceConnectionStateTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateLinkServiceConnectionStateTests.java index e67526cd34aa..9733b8cf21db 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateLinkServiceConnectionStateTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/PrivateLinkServiceConnectionStateTests.java @@ -8,11 +8,10 @@ import com.azure.resourcemanager.webpubsub.models.PrivateLinkServiceConnectionState; import com.azure.resourcemanager.webpubsub.models.PrivateLinkServiceConnectionStatus; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class PrivateLinkServiceConnectionStateTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { PrivateLinkServiceConnectionState model = BinaryData .fromString("{\"status\":\"Disconnected\",\"description\":\"mnyyazt\",\"actionsRequired\":\"twwrqp\"}") @@ -22,8 +21,8 @@ public void testDeserialize() { Assertions.assertEquals("twwrqp", model.actionsRequired()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { PrivateLinkServiceConnectionState model = new PrivateLinkServiceConnectionState() .withStatus(PrivateLinkServiceConnectionStatus.DISCONNECTED) diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ResourceLogCategoryTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ResourceLogCategoryTests.java index 364dbe8786a4..cf0d08f236d9 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ResourceLogCategoryTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ResourceLogCategoryTests.java @@ -7,11 +7,10 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.webpubsub.models.ResourceLogCategory; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class ResourceLogCategoryTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { ResourceLogCategory model = BinaryData .fromString("{\"name\":\"vjtoqnermclfp\",\"enabled\":\"hoxus\"}") @@ -20,8 +19,8 @@ public void testDeserialize() { Assertions.assertEquals("hoxus", model.enabled()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { ResourceLogCategory model = new ResourceLogCategory().withName("vjtoqnermclfp").withEnabled("hoxus"); model = BinaryData.fromObject(model).toObject(ResourceLogCategory.class); Assertions.assertEquals("vjtoqnermclfp", model.name()); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ResourceLogConfigurationTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ResourceLogConfigurationTests.java index ed612a407a31..1f4a4610a58e 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ResourceLogConfigurationTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ResourceLogConfigurationTests.java @@ -9,11 +9,10 @@ import com.azure.resourcemanager.webpubsub.models.ResourceLogConfiguration; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class ResourceLogConfigurationTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { ResourceLogConfiguration model = BinaryData .fromString( @@ -23,8 +22,8 @@ public void testDeserialize() { Assertions.assertEquals("yzxuutkncw", model.categories().get(0).enabled()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { ResourceLogConfiguration model = new ResourceLogConfiguration() .withCategories( diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ResourceReferenceTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ResourceReferenceTests.java index a3b5b691363a..b9354d2a44ec 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ResourceReferenceTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ResourceReferenceTests.java @@ -7,17 +7,16 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.webpubsub.models.ResourceReference; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class ResourceReferenceTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { ResourceReference model = BinaryData.fromString("{\"id\":\"dyvxqtayriww\"}").toObject(ResourceReference.class); Assertions.assertEquals("dyvxqtayriww", model.id()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { ResourceReference model = new ResourceReference().withId("dyvxqtayriww"); model = BinaryData.fromObject(model).toObject(ResourceReference.class); Assertions.assertEquals("dyvxqtayriww", model.id()); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ResourceSkuTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ResourceSkuTests.java index 72c855caba55..b605e2deeeb7 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ResourceSkuTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ResourceSkuTests.java @@ -8,11 +8,10 @@ import com.azure.resourcemanager.webpubsub.models.ResourceSku; import com.azure.resourcemanager.webpubsub.models.WebPubSubSkuTier; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class ResourceSkuTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { ResourceSku model = BinaryData .fromString( @@ -23,8 +22,8 @@ public void testDeserialize() { Assertions.assertEquals(1044580515, model.capacity()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { ResourceSku model = new ResourceSku().withName("zwtruwiqzbqjvsov").withTier(WebPubSubSkuTier.BASIC).withCapacity(1044580515); model = BinaryData.fromObject(model).toObject(ResourceSku.class); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ServiceSpecificationTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ServiceSpecificationTests.java index 71fe2680f92f..d2bc9514bc5f 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ServiceSpecificationTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ServiceSpecificationTests.java @@ -10,11 +10,10 @@ import com.azure.resourcemanager.webpubsub.models.ServiceSpecification; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class ServiceSpecificationTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { ServiceSpecification model = BinaryData .fromString( @@ -31,8 +30,8 @@ public void testDeserialize() { Assertions.assertEquals("zitonpeqfpjkjl", model.logSpecifications().get(0).displayName()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { ServiceSpecification model = new ServiceSpecification() .withMetricSpecifications( diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ShareablePrivateLinkResourcePropertiesTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ShareablePrivateLinkResourcePropertiesTests.java index 1aefaf78a048..dfd3cdf104a3 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ShareablePrivateLinkResourcePropertiesTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ShareablePrivateLinkResourcePropertiesTests.java @@ -7,11 +7,10 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.webpubsub.models.ShareablePrivateLinkResourceProperties; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class ShareablePrivateLinkResourcePropertiesTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { ShareablePrivateLinkResourceProperties model = BinaryData .fromString("{\"description\":\"wkfvhqcrailvp\",\"groupId\":\"pfuflrw\",\"type\":\"hdlxyjrxsagafcn\"}") @@ -21,8 +20,8 @@ public void testDeserialize() { Assertions.assertEquals("hdlxyjrxsagafcn", model.type()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { ShareablePrivateLinkResourceProperties model = new ShareablePrivateLinkResourceProperties() .withDescription("wkfvhqcrailvp") diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ShareablePrivateLinkResourceTypeTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ShareablePrivateLinkResourceTypeTests.java index e7e9e7b8a5a2..f91048095289 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ShareablePrivateLinkResourceTypeTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/ShareablePrivateLinkResourceTypeTests.java @@ -8,11 +8,10 @@ import com.azure.resourcemanager.webpubsub.models.ShareablePrivateLinkResourceProperties; import com.azure.resourcemanager.webpubsub.models.ShareablePrivateLinkResourceType; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class ShareablePrivateLinkResourceTypeTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { ShareablePrivateLinkResourceType model = BinaryData .fromString( @@ -24,8 +23,8 @@ public void testDeserialize() { Assertions.assertEquals("gdkz", model.properties().type()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { ShareablePrivateLinkResourceType model = new ShareablePrivateLinkResourceType() .withName("c") diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SharedPrivateLinkResourceInnerTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SharedPrivateLinkResourceInnerTests.java index 0b119b76ecb4..7bf478d80261 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SharedPrivateLinkResourceInnerTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SharedPrivateLinkResourceInnerTests.java @@ -7,11 +7,10 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.webpubsub.fluent.models.SharedPrivateLinkResourceInner; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class SharedPrivateLinkResourceInnerTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { SharedPrivateLinkResourceInner model = BinaryData .fromString( @@ -22,8 +21,8 @@ public void testDeserialize() { Assertions.assertEquals("xaepdkzjancuxr", model.requestMessage()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { SharedPrivateLinkResourceInner model = new SharedPrivateLinkResourceInner() .withGroupId("ckzywbiexzfeyue") diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SharedPrivateLinkResourceListTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SharedPrivateLinkResourceListTests.java index 18783f6fbb85..65d2fe1119af 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SharedPrivateLinkResourceListTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SharedPrivateLinkResourceListTests.java @@ -9,11 +9,10 @@ import com.azure.resourcemanager.webpubsub.models.SharedPrivateLinkResourceList; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class SharedPrivateLinkResourceListTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { SharedPrivateLinkResourceList model = BinaryData .fromString( @@ -25,8 +24,8 @@ public void testDeserialize() { Assertions.assertEquals("ocmbqfqvmkcxoza", model.nextLink()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { SharedPrivateLinkResourceList model = new SharedPrivateLinkResourceList() .withValue( diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SharedPrivateLinkResourcePropertiesTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SharedPrivateLinkResourcePropertiesTests.java index 7ab936e3a3a4..4db9c282a455 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SharedPrivateLinkResourcePropertiesTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SharedPrivateLinkResourcePropertiesTests.java @@ -7,11 +7,10 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.webpubsub.fluent.models.SharedPrivateLinkResourceProperties; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class SharedPrivateLinkResourcePropertiesTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { SharedPrivateLinkResourceProperties model = BinaryData .fromString( @@ -22,8 +21,8 @@ public void testDeserialize() { Assertions.assertEquals("gy", model.requestMessage()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { SharedPrivateLinkResourceProperties model = new SharedPrivateLinkResourceProperties() .withGroupId("lcuhxwtctyqiklb") diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SignalRServiceUsageInnerTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SignalRServiceUsageInnerTests.java index 77be8275ccf3..ad008b189df6 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SignalRServiceUsageInnerTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SignalRServiceUsageInnerTests.java @@ -8,11 +8,10 @@ import com.azure.resourcemanager.webpubsub.fluent.models.SignalRServiceUsageInner; import com.azure.resourcemanager.webpubsub.models.SignalRServiceUsageName; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class SignalRServiceUsageInnerTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { SignalRServiceUsageInner model = BinaryData .fromString( @@ -26,8 +25,8 @@ public void testDeserialize() { Assertions.assertEquals("p", model.unit()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { SignalRServiceUsageInner model = new SignalRServiceUsageInner() .withId("qktapspwgcuert") diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SignalRServiceUsageListTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SignalRServiceUsageListTests.java index 81aaba67d38a..0070d1e446b4 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SignalRServiceUsageListTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SignalRServiceUsageListTests.java @@ -10,11 +10,10 @@ import com.azure.resourcemanager.webpubsub.models.SignalRServiceUsageName; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class SignalRServiceUsageListTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { SignalRServiceUsageList model = BinaryData .fromString( @@ -29,8 +28,8 @@ public void testDeserialize() { Assertions.assertEquals("gpbkwtmut", model.nextLink()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { SignalRServiceUsageList model = new SignalRServiceUsageList() .withValue( diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SignalRServiceUsageNameTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SignalRServiceUsageNameTests.java index 1652c3788687..274e9a8ab481 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SignalRServiceUsageNameTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SignalRServiceUsageNameTests.java @@ -7,11 +7,10 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.webpubsub.models.SignalRServiceUsageName; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class SignalRServiceUsageNameTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { SignalRServiceUsageName model = BinaryData .fromString("{\"value\":\"s\",\"localizedValue\":\"gbquxigj\"}") @@ -20,8 +19,8 @@ public void testDeserialize() { Assertions.assertEquals("gbquxigj", model.localizedValue()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { SignalRServiceUsageName model = new SignalRServiceUsageName().withValue("s").withLocalizedValue("gbquxigj"); model = BinaryData.fromObject(model).toObject(SignalRServiceUsageName.class); Assertions.assertEquals("s", model.value()); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SkuCapacityTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SkuCapacityTests.java index d003593324d4..470c5a0c20b2 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SkuCapacityTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SkuCapacityTests.java @@ -6,11 +6,10 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.webpubsub.models.SkuCapacity; -import org.junit.jupiter.api.Test; public final class SkuCapacityTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { SkuCapacity model = BinaryData .fromString( @@ -18,8 +17,8 @@ public void testDeserialize() { .toObject(SkuCapacity.class); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { SkuCapacity model = new SkuCapacity(); model = BinaryData.fromObject(model).toObject(SkuCapacity.class); } diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SkuListInnerTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SkuListInnerTests.java index fb0d21f36c63..d40311ef3ed9 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SkuListInnerTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SkuListInnerTests.java @@ -6,11 +6,10 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.webpubsub.fluent.models.SkuListInner; -import org.junit.jupiter.api.Test; public final class SkuListInnerTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { SkuListInner model = BinaryData .fromString( @@ -18,8 +17,8 @@ public void testDeserialize() { .toObject(SkuListInner.class); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { SkuListInner model = new SkuListInner(); model = BinaryData.fromObject(model).toObject(SkuListInner.class); } diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SkuTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SkuTests.java index 98b97eea6689..5cc8a8b7a070 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SkuTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/SkuTests.java @@ -6,11 +6,10 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.webpubsub.models.Sku; -import org.junit.jupiter.api.Test; public final class SkuTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { Sku model = BinaryData .fromString( @@ -18,8 +17,8 @@ public void testDeserialize() { .toObject(Sku.class); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { Sku model = new Sku(); model = BinaryData.fromObject(model).toObject(Sku.class); } diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/UpstreamAuthSettingsTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/UpstreamAuthSettingsTests.java index ba5be9323402..49ebfeb5af4b 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/UpstreamAuthSettingsTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/UpstreamAuthSettingsTests.java @@ -9,11 +9,10 @@ import com.azure.resourcemanager.webpubsub.models.UpstreamAuthSettings; import com.azure.resourcemanager.webpubsub.models.UpstreamAuthType; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class UpstreamAuthSettingsTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { UpstreamAuthSettings model = BinaryData .fromString("{\"type\":\"None\",\"managedIdentity\":{\"resource\":\"fbjfdtwssotftpvj\"}}") @@ -22,8 +21,8 @@ public void testDeserialize() { Assertions.assertEquals("fbjfdtwssotftpvj", model.managedIdentity().resource()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { UpstreamAuthSettings model = new UpstreamAuthSettings() .withType(UpstreamAuthType.NONE) diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/UsagesListMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/UsagesListMockTests.java index 1617b9d30019..4587cfbc995b 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/UsagesListMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/UsagesListMockTests.java @@ -12,7 +12,6 @@ import com.azure.core.http.rest.PagedIterable; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import com.azure.resourcemanager.webpubsub.models.SignalRServiceUsage; import java.nio.ByteBuffer; @@ -61,7 +60,8 @@ public void testList() throws Exception { tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureEnvironment.AZURE)); - PagedIterable response = manager.usages().list("hfwpracstwit", Context.NONE); + PagedIterable response = + manager.usages().list("hfwpracstwit", com.azure.core.util.Context.NONE); Assertions.assertEquals("hevxcced", response.iterator().next().id()); Assertions.assertEquals(3364825341811848774L, response.iterator().next().currentValue()); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/UserAssignedIdentityPropertyTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/UserAssignedIdentityPropertyTests.java index e839905c6966..7cddb8bd94ee 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/UserAssignedIdentityPropertyTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/UserAssignedIdentityPropertyTests.java @@ -6,19 +6,18 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.webpubsub.models.UserAssignedIdentityProperty; -import org.junit.jupiter.api.Test; public final class UserAssignedIdentityPropertyTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { UserAssignedIdentityProperty model = BinaryData .fromString("{\"principalId\":\"vbvmeu\",\"clientId\":\"ivyhzceuojgjrwju\"}") .toObject(UserAssignedIdentityProperty.class); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { UserAssignedIdentityProperty model = new UserAssignedIdentityProperty(); model = BinaryData.fromObject(model).toObject(UserAssignedIdentityProperty.class); } diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubCustomCertificatesDeleteWithResponseMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubCustomCertificatesDeleteWithResponseMockTests.java index 2527ad232889..3002e9daddd4 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubCustomCertificatesDeleteWithResponseMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubCustomCertificatesDeleteWithResponseMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; @@ -57,6 +56,8 @@ public void testDeleteWithResponse() throws Exception { tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureEnvironment.AZURE)); - manager.webPubSubCustomCertificates().deleteWithResponse("ibqipqkg", "vxndz", "mkrefajpjorwkq", Context.NONE); + manager + .webPubSubCustomCertificates() + .deleteWithResponse("ibqipqkg", "vxndz", "mkrefajpjorwkq", com.azure.core.util.Context.NONE); } } diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubCustomDomainsDeleteMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubCustomDomainsDeleteMockTests.java index fd93ea3f9270..0ae1b1fb0ddc 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubCustomDomainsDeleteMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubCustomDomainsDeleteMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; @@ -57,6 +56,6 @@ public void testDelete() throws Exception { tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureEnvironment.AZURE)); - manager.webPubSubCustomDomains().delete("pzimejzanlfzxi", "vrmbzono", "i", Context.NONE); + manager.webPubSubCustomDomains().delete("pzimejzanlfzxi", "vrmbzono", "i", com.azure.core.util.Context.NONE); } } diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubCustomDomainsGetWithResponseMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubCustomDomainsGetWithResponseMockTests.java index 855d33c70792..cc655108b562 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubCustomDomainsGetWithResponseMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubCustomDomainsGetWithResponseMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import com.azure.resourcemanager.webpubsub.models.CustomDomain; import java.nio.ByteBuffer; @@ -61,7 +60,10 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureEnvironment.AZURE)); CustomDomain response = - manager.webPubSubCustomDomains().getWithResponse("wrv", "ldgmfpgvmpip", "slthaq", Context.NONE).getValue(); + manager + .webPubSubCustomDomains() + .getWithResponse("wrv", "ldgmfpgvmpip", "slthaq", com.azure.core.util.Context.NONE) + .getValue(); Assertions.assertEquals("mwutwbdsre", response.domainName()); Assertions.assertEquals("drhneuyow", response.customCertificate().id()); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubCustomDomainsListMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubCustomDomainsListMockTests.java index 03315cfc25ff..9768f0b4badb 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubCustomDomainsListMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubCustomDomainsListMockTests.java @@ -12,7 +12,6 @@ import com.azure.core.http.rest.PagedIterable; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import com.azure.resourcemanager.webpubsub.models.CustomDomain; import java.nio.ByteBuffer; @@ -62,7 +61,7 @@ public void testList() throws Exception { new AzureProfile("", "", AzureEnvironment.AZURE)); PagedIterable response = - manager.webPubSubCustomDomains().list("ncj", "budurgkakmo", Context.NONE); + manager.webPubSubCustomDomains().list("ncj", "budurgkakmo", com.azure.core.util.Context.NONE); Assertions.assertEquals("jk", response.iterator().next().domainName()); Assertions.assertEquals("fhmouwq", response.iterator().next().customCertificate().id()); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubInnerTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubInnerTests.java index 1e214258e48f..e2d2e4682da8 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubInnerTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubInnerTests.java @@ -11,11 +11,10 @@ import com.azure.resourcemanager.webpubsub.models.WebPubSubHubProperties; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class WebPubSubHubInnerTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { WebPubSubHubInner model = BinaryData .fromString( @@ -26,8 +25,8 @@ public void testDeserialize() { Assertions.assertEquals("qgitxmed", model.properties().anonymousConnectPolicy()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { WebPubSubHubInner model = new WebPubSubHubInner() .withProperties( diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubListTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubListTests.java index 09ba945241af..aa041844e5fd 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubListTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubListTests.java @@ -10,11 +10,10 @@ import com.azure.resourcemanager.webpubsub.models.WebPubSubHubProperties; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class WebPubSubHubListTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { WebPubSubHubList model = BinaryData .fromString( @@ -23,8 +22,8 @@ public void testDeserialize() { Assertions.assertEquals("rmcqiby", model.value().get(0).properties().anonymousConnectPolicy()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { WebPubSubHubList model = new WebPubSubHubList() .withValue( diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubPropertiesTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubPropertiesTests.java index 91c87e2e1d7f..fe4967efc5b7 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubPropertiesTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubPropertiesTests.java @@ -14,11 +14,10 @@ import com.azure.resourcemanager.webpubsub.models.WebPubSubHubProperties; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class WebPubSubHubPropertiesTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { WebPubSubHubProperties model = BinaryData .fromString( @@ -31,8 +30,8 @@ public void testDeserialize() { Assertions.assertEquals("bkrvrnsvshqj", model.anonymousConnectPolicy()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { WebPubSubHubProperties model = new WebPubSubHubProperties() .withEventHandlers( diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubsDeleteMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubsDeleteMockTests.java index 0ddb4f8805b3..92e0da56629a 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubsDeleteMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubsDeleteMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; @@ -57,6 +56,6 @@ public void testDelete() throws Exception { tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureEnvironment.AZURE)); - manager.webPubSubHubs().delete("ughftqsx", "qxujxukndxd", "grjguufzd", Context.NONE); + manager.webPubSubHubs().delete("ughftqsx", "qxujxukndxd", "grjguufzd", com.azure.core.util.Context.NONE); } } diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubsGetWithResponseMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubsGetWithResponseMockTests.java index 7a336be39dad..e852abfa6ac6 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubsGetWithResponseMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubsGetWithResponseMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import com.azure.resourcemanager.webpubsub.models.WebPubSubHub; import java.nio.ByteBuffer; @@ -61,7 +60,10 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureEnvironment.AZURE)); WebPubSubHub response = - manager.webPubSubHubs().getWithResponse("lsj", "dhszfjv", "bgofeljag", Context.NONE).getValue(); + manager + .webPubSubHubs() + .getWithResponse("lsj", "dhszfjv", "bgofeljag", com.azure.core.util.Context.NONE) + .getValue(); Assertions.assertEquals("vriiio", response.properties().anonymousConnectPolicy()); } diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubsListMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubsListMockTests.java index 1549a524635b..ac3592b1cd73 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubsListMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubHubsListMockTests.java @@ -12,7 +12,6 @@ import com.azure.core.http.rest.PagedIterable; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import com.azure.resourcemanager.webpubsub.models.WebPubSubHub; import java.nio.ByteBuffer; @@ -61,7 +60,8 @@ public void testList() throws Exception { tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureEnvironment.AZURE)); - PagedIterable response = manager.webPubSubHubs().list("rjqc", "rgz", Context.NONE); + PagedIterable response = + manager.webPubSubHubs().list("rjqc", "rgz", com.azure.core.util.Context.NONE); Assertions.assertEquals("zrnw", response.iterator().next().properties().anonymousConnectPolicy()); } diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubNetworkACLsTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubNetworkACLsTests.java index b60bba8475e4..0d3dba94d2c5 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubNetworkACLsTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubNetworkACLsTests.java @@ -12,11 +12,10 @@ import com.azure.resourcemanager.webpubsub.models.WebPubSubRequestType; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class WebPubSubNetworkACLsTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { WebPubSubNetworkACLs model = BinaryData .fromString( @@ -30,8 +29,8 @@ public void testDeserialize() { Assertions.assertEquals("azqugxywpmueefj", model.privateEndpoints().get(0).name()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { WebPubSubNetworkACLs model = new WebPubSubNetworkACLs() .withDefaultAction(AclAction.ALLOW) diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPrivateEndpointConnectionsDeleteMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPrivateEndpointConnectionsDeleteMockTests.java index 088e0932a495..c80de28b0339 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPrivateEndpointConnectionsDeleteMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPrivateEndpointConnectionsDeleteMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; @@ -57,6 +56,8 @@ public void testDelete() throws Exception { tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureEnvironment.AZURE)); - manager.webPubSubPrivateEndpointConnections().delete("azpxdtnkdmkqjjl", "uenvrkp", "ou", Context.NONE); + manager + .webPubSubPrivateEndpointConnections() + .delete("azpxdtnkdmkqjjl", "uenvrkp", "ou", com.azure.core.util.Context.NONE); } } diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPrivateEndpointConnectionsGetWithResponseMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPrivateEndpointConnectionsGetWithResponseMockTests.java index abce4ee6346c..a6284860c335 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPrivateEndpointConnectionsGetWithResponseMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPrivateEndpointConnectionsGetWithResponseMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import com.azure.resourcemanager.webpubsub.models.PrivateEndpointConnection; import com.azure.resourcemanager.webpubsub.models.PrivateLinkServiceConnectionStatus; @@ -64,7 +63,7 @@ public void testGetWithResponse() throws Exception { PrivateEndpointConnection response = manager .webPubSubPrivateEndpointConnections() - .getWithResponse("tmtdhtmdvypgik", "gszywk", "irryuzhlh", Context.NONE) + .getWithResponse("tmtdhtmdvypgik", "gszywk", "irryuzhlh", com.azure.core.util.Context.NONE) .getValue(); Assertions.assertEquals("qaatjinrv", response.privateEndpoint().id()); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPrivateEndpointConnectionsListMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPrivateEndpointConnectionsListMockTests.java index 7143cf2e5bf7..eae67c4d0dcb 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPrivateEndpointConnectionsListMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPrivateEndpointConnectionsListMockTests.java @@ -12,7 +12,6 @@ import com.azure.core.http.rest.PagedIterable; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import com.azure.resourcemanager.webpubsub.models.PrivateEndpointConnection; import com.azure.resourcemanager.webpubsub.models.PrivateLinkServiceConnectionStatus; @@ -63,7 +62,9 @@ public void testList() throws Exception { new AzureProfile("", "", AzureEnvironment.AZURE)); PagedIterable response = - manager.webPubSubPrivateEndpointConnections().list("apfcqdpsq", "qvpsvuoymg", Context.NONE); + manager + .webPubSubPrivateEndpointConnections() + .list("apfcqdpsq", "qvpsvuoymg", com.azure.core.util.Context.NONE); Assertions.assertEquals("rypqlmfeo", response.iterator().next().privateEndpoint().id()); Assertions diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPrivateEndpointConnectionsUpdateWithResponseMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPrivateEndpointConnectionsUpdateWithResponseMockTests.java index 8df193bde4dc..2c197d36bc5c 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPrivateEndpointConnectionsUpdateWithResponseMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPrivateEndpointConnectionsUpdateWithResponseMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import com.azure.resourcemanager.webpubsub.fluent.models.PrivateEndpointConnectionInner; import com.azure.resourcemanager.webpubsub.models.PrivateEndpoint; @@ -78,7 +77,7 @@ public void testUpdateWithResponse() throws Exception { .withStatus(PrivateLinkServiceConnectionStatus.REJECTED) .withDescription("t") .withActionsRequired("qp")), - Context.NONE) + com.azure.core.util.Context.NONE) .getValue(); Assertions.assertEquals("a", response.privateEndpoint().id()); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPrivateLinkResourcesListMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPrivateLinkResourcesListMockTests.java index c8e167bd3f39..8b1475a1e542 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPrivateLinkResourcesListMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPrivateLinkResourcesListMockTests.java @@ -12,7 +12,6 @@ import com.azure.core.http.rest.PagedIterable; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import com.azure.resourcemanager.webpubsub.models.PrivateLinkResource; import java.nio.ByteBuffer; @@ -62,7 +61,7 @@ public void testList() throws Exception { new AzureProfile("", "", AzureEnvironment.AZURE)); PagedIterable response = - manager.webPubSubPrivateLinkResources().list("ibreb", "aays", Context.NONE); + manager.webPubSubPrivateLinkResources().list("ibreb", "aays", com.azure.core.util.Context.NONE); Assertions.assertEquals("xqtnq", response.iterator().next().groupId()); Assertions.assertEquals("zlwfffiakp", response.iterator().next().requiredMembers().get(0)); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPropertiesTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPropertiesTests.java index 2e8ab2aaacdf..4a18cc689210 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPropertiesTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubPropertiesTests.java @@ -18,11 +18,10 @@ import com.azure.resourcemanager.webpubsub.models.WebPubSubTlsSettings; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class WebPubSubPropertiesTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { WebPubSubProperties model = BinaryData .fromString( @@ -44,8 +43,8 @@ public void testDeserialize() { Assertions.assertEquals(true, model.disableAadAuth()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { WebPubSubProperties model = new WebPubSubProperties() .withTls(new WebPubSubTlsSettings().withClientCertEnabled(false)) diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubResourceInnerTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubResourceInnerTests.java index 6e8a7d135dc0..baf69a519dfa 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubResourceInnerTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubResourceInnerTests.java @@ -20,11 +20,10 @@ import java.util.HashMap; import java.util.Map; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class WebPubSubResourceInnerTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { WebPubSubResourceInner model = BinaryData .fromString( @@ -44,8 +43,8 @@ public void testDeserialize() { Assertions.assertEquals(true, model.disableAadAuth()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { WebPubSubResourceInner model = new WebPubSubResourceInner() .withLocation("vxodpu") diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubResourceListTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubResourceListTests.java index 57d9f0a73164..0426cc1f0ec0 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubResourceListTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubResourceListTests.java @@ -15,11 +15,10 @@ import java.util.HashMap; import java.util.Map; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class WebPubSubResourceListTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { WebPubSubResourceList model = BinaryData .fromString( @@ -37,8 +36,8 @@ public void testDeserialize() { Assertions.assertEquals("nlebxetqgtzxd", model.nextLink()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { WebPubSubResourceList model = new WebPubSubResourceList() .withValue( diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubSharedPrivateLinkResourcesDeleteMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubSharedPrivateLinkResourcesDeleteMockTests.java index af4906716caa..c2619dcd6d35 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubSharedPrivateLinkResourcesDeleteMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubSharedPrivateLinkResourcesDeleteMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; @@ -57,6 +56,8 @@ public void testDelete() throws Exception { tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureEnvironment.AZURE)); - manager.webPubSubSharedPrivateLinkResources().delete("ratiz", "ronasxift", "zq", Context.NONE); + manager + .webPubSubSharedPrivateLinkResources() + .delete("ratiz", "ronasxift", "zq", com.azure.core.util.Context.NONE); } } diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubSharedPrivateLinkResourcesGetWithResponseMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubSharedPrivateLinkResourcesGetWithResponseMockTests.java index abe856fb625f..58f6fbe5c647 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubSharedPrivateLinkResourcesGetWithResponseMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubSharedPrivateLinkResourcesGetWithResponseMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import com.azure.resourcemanager.webpubsub.models.SharedPrivateLinkResource; import java.nio.ByteBuffer; @@ -63,7 +62,7 @@ public void testGetWithResponse() throws Exception { SharedPrivateLinkResource response = manager .webPubSubSharedPrivateLinkResources() - .getWithResponse("twjchrdg", "ihxumwctondzj", "uu", Context.NONE) + .getWithResponse("twjchrdg", "ihxumwctondzj", "uu", com.azure.core.util.Context.NONE) .getValue(); Assertions.assertEquals("lwg", response.groupId()); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubSharedPrivateLinkResourcesListMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubSharedPrivateLinkResourcesListMockTests.java index 0906a87247ce..ca25f16bb25d 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubSharedPrivateLinkResourcesListMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubSharedPrivateLinkResourcesListMockTests.java @@ -12,7 +12,6 @@ import com.azure.core.http.rest.PagedIterable; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import com.azure.resourcemanager.webpubsub.models.SharedPrivateLinkResource; import java.nio.ByteBuffer; @@ -62,7 +61,7 @@ public void testList() throws Exception { new AzureProfile("", "", AzureEnvironment.AZURE)); PagedIterable response = - manager.webPubSubSharedPrivateLinkResources().list("xhojuj", "ypelmcu", Context.NONE); + manager.webPubSubSharedPrivateLinkResources().list("xhojuj", "ypelmcu", com.azure.core.util.Context.NONE); Assertions.assertEquals("xbjxyfwnylrcools", response.iterator().next().groupId()); Assertions.assertEquals("tpkiwkkbnujry", response.iterator().next().privateLinkResourceId()); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubTlsSettingsTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubTlsSettingsTests.java index 714a52c58036..aa588fee3b96 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubTlsSettingsTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubTlsSettingsTests.java @@ -7,18 +7,17 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.webpubsub.models.WebPubSubTlsSettings; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class WebPubSubTlsSettingsTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { WebPubSubTlsSettings model = BinaryData.fromString("{\"clientCertEnabled\":true}").toObject(WebPubSubTlsSettings.class); Assertions.assertEquals(true, model.clientCertEnabled()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { WebPubSubTlsSettings model = new WebPubSubTlsSettings().withClientCertEnabled(true); model = BinaryData.fromObject(model).toObject(WebPubSubTlsSettings.class); Assertions.assertEquals(true, model.clientCertEnabled()); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsCheckNameAvailabilityWithResponseMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsCheckNameAvailabilityWithResponseMockTests.java index 0c4c620feaee..0c9ab8e23698 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsCheckNameAvailabilityWithResponseMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsCheckNameAvailabilityWithResponseMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import com.azure.resourcemanager.webpubsub.models.NameAvailability; import com.azure.resourcemanager.webpubsub.models.NameAvailabilityParameters; @@ -66,7 +65,7 @@ public void testCheckNameAvailabilityWithResponse() throws Exception { .checkNameAvailabilityWithResponse( "ynpcdpumnzgmwznm", new NameAvailabilityParameters().withType("biknsorgjhxbld").withName("lwwrl"), - Context.NONE) + com.azure.core.util.Context.NONE) .getValue(); Assertions.assertEquals(false, response.nameAvailable()); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsDeleteMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsDeleteMockTests.java index 56e0cb5daa30..c5354c745f85 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsDeleteMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsDeleteMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; @@ -57,6 +56,6 @@ public void testDelete() throws Exception { tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureEnvironment.AZURE)); - manager.webPubSubs().delete("lxorjaltolmncws", "bqwcsdbnwdcf", Context.NONE); + manager.webPubSubs().delete("lxorjaltolmncws", "bqwcsdbnwdcf", com.azure.core.util.Context.NONE); } } diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsGetByResourceGroupWithResponseMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsGetByResourceGroupWithResponseMockTests.java index 2a5f2b35badf..3e65f10cc234 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsGetByResourceGroupWithResponseMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsGetByResourceGroupWithResponseMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import com.azure.resourcemanager.webpubsub.models.AclAction; import com.azure.resourcemanager.webpubsub.models.ManagedIdentityType; @@ -64,7 +63,10 @@ public void testGetByResourceGroupWithResponse() throws Exception { new AzureProfile("", "", AzureEnvironment.AZURE)); WebPubSubResource response = - manager.webPubSubs().getByResourceGroupWithResponse("judpfrxt", "thzvaytdwkqbrqu", Context.NONE).getValue(); + manager + .webPubSubs() + .getByResourceGroupWithResponse("judpfrxt", "thzvaytdwkqbrqu", com.azure.core.util.Context.NONE) + .getValue(); Assertions.assertEquals("owpulpq", response.location()); Assertions.assertEquals("lsyxkqjnsjervt", response.tags().get("agxsdszuemps")); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsListByResourceGroupMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsListByResourceGroupMockTests.java index 6c3d21fa7b0f..9c53a43038a9 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsListByResourceGroupMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsListByResourceGroupMockTests.java @@ -12,7 +12,6 @@ import com.azure.core.http.rest.PagedIterable; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import com.azure.resourcemanager.webpubsub.models.AclAction; import com.azure.resourcemanager.webpubsub.models.ManagedIdentityType; @@ -64,7 +63,8 @@ public void testListByResourceGroup() throws Exception { tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureEnvironment.AZURE)); - PagedIterable response = manager.webPubSubs().listByResourceGroup("fatkld", Context.NONE); + PagedIterable response = + manager.webPubSubs().listByResourceGroup("fatkld", com.azure.core.util.Context.NONE); Assertions.assertEquals("qugjhkycube", response.iterator().next().location()); Assertions.assertEquals("ssofwqmzqa", response.iterator().next().tags().get("krmnjijpxacqqud")); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsListMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsListMockTests.java index e2198d739a89..53c3c6f48c82 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsListMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsListMockTests.java @@ -12,7 +12,6 @@ import com.azure.core.http.rest.PagedIterable; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import com.azure.resourcemanager.webpubsub.models.AclAction; import com.azure.resourcemanager.webpubsub.models.ManagedIdentityType; @@ -64,7 +63,7 @@ public void testList() throws Exception { tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureEnvironment.AZURE)); - PagedIterable response = manager.webPubSubs().list(Context.NONE); + PagedIterable response = manager.webPubSubs().list(com.azure.core.util.Context.NONE); Assertions.assertEquals("mfnjh", response.iterator().next().location()); Assertions.assertEquals("wmszkk", response.iterator().next().tags().get("oqreyfkzikfjawn")); diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsListSkusWithResponseMockTests.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsListSkusWithResponseMockTests.java index c9fd73c6460c..f4dd3d0840d8 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsListSkusWithResponseMockTests.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/test/java/com/azure/resourcemanager/webpubsub/generated/WebPubSubsListSkusWithResponseMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.webpubsub.WebPubSubManager; import com.azure.resourcemanager.webpubsub.models.SkuList; import java.nio.ByteBuffer; @@ -59,6 +58,10 @@ public void testListSkusWithResponse() throws Exception { tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureEnvironment.AZURE)); - SkuList response = manager.webPubSubs().listSkusWithResponse("kgjubgdknnqvsazn", "n", Context.NONE).getValue(); + SkuList response = + manager + .webPubSubs() + .listSkusWithResponse("kgjubgdknnqvsazn", "n", com.azure.core.util.Context.NONE) + .getValue(); } } From f2c5aec523b15d1f537b723268921d0d980f13f0 Mon Sep 17 00:00:00 2001 From: Xiaofei Cao <92354331+XiaofeiCao@users.noreply.github.com> Date: Wed, 22 Mar 2023 15:48:19 +0800 Subject: [PATCH 12/35] mgmt core, add MANAGED_HSM to AzureEnvironment (#34006) * add managed hsm scope to AzureEnvironment * changelog --- sdk/core/azure-core-management/CHANGELOG.md | 6 +----- .../com/azure/core/management/AzureEnvironment.java | 8 +++++++- .../azure/core/management/AzureEnvironmentTests.java | 10 ++++++++++ 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/sdk/core/azure-core-management/CHANGELOG.md b/sdk/core/azure-core-management/CHANGELOG.md index a7e59de199a4..2e1fc81ed397 100644 --- a/sdk/core/azure-core-management/CHANGELOG.md +++ b/sdk/core/azure-core-management/CHANGELOG.md @@ -4,11 +4,7 @@ ### Features Added -### Breaking Changes - -### Bugs Fixed - -### Other Changes +- Added `MANAGED_HSM` to `AzureEnvironment`. ## 1.10.2 (2023-03-02) diff --git a/sdk/core/azure-core-management/src/main/java/com/azure/core/management/AzureEnvironment.java b/sdk/core/azure-core-management/src/main/java/com/azure/core/management/AzureEnvironment.java index 177c062a40bf..31febe4e21cb 100644 --- a/sdk/core/azure-core-management/src/main/java/com/azure/core/management/AzureEnvironment.java +++ b/sdk/core/azure-core-management/src/main/java/com/azure/core/management/AzureEnvironment.java @@ -48,6 +48,7 @@ public AzureEnvironment(Map endpoints) { put("azureDataLakeAnalyticsCatalogAndJobEndpointSuffix", "azuredatalakeanalytics.net"); put("azureLogAnalyticsResourceId", "https://api.loganalytics.io/"); put("azureApplicationInsightsResourceId", "https://api.applicationinsights.io/"); + put("managedHsmDnsSuffix", ".managedhsm.azure.net"); }}); /** @@ -73,6 +74,7 @@ public AzureEnvironment(Map endpoints) { put("azureDataLakeAnalyticsCatalogAndJobEndpointSuffix", "N/A"); put("azureLogAnalyticsResourceId", "N/A"); put("azureApplicationInsightsResourceId", "N/A"); + put("managedHsmDnsSuffix", ".managedhsm.azure.cn"); }}); /** @@ -98,6 +100,7 @@ public AzureEnvironment(Map endpoints) { put("azureDataLakeAnalyticsCatalogAndJobEndpointSuffix", "N/A"); put("azureLogAnalyticsResourceId", "https://api.loganalytics.us/"); put("azureApplicationInsightsResourceId", "N/A"); + put("managedHsmDnsSuffix", ".managedhsm.usgovcloudapi.net"); }}); /** @@ -129,6 +132,7 @@ public AzureEnvironment(Map endpoints) { put("azureDataLakeAnalyticsCatalogAndJobEndpointSuffix", "N/A"); put("azureLogAnalyticsResourceId", "N/A"); put("azureApplicationInsightsResourceId", "N/A"); + put("managedHsmDnsSuffix", "N/A"); }}); /** @@ -347,7 +351,9 @@ public enum Endpoint { /** Azure Application Insights. */ APPLICATION_INSIGHTS("azureApplicationInsightsResourceId"), /** Microsoft Graph APIs endpoint. */ - MICROSOFT_GRAPH("microsoftGraphResourceId"); + MICROSOFT_GRAPH("microsoftGraphResourceId"), + /** Managed HSM DNS suffix. */ + MANAGED_HSM("managedHsmDnsSuffix"); private final String field; diff --git a/sdk/core/azure-core-management/src/test/java/com/azure/core/management/AzureEnvironmentTests.java b/sdk/core/azure-core-management/src/test/java/com/azure/core/management/AzureEnvironmentTests.java index 2951d2c77e43..e269f8304650 100644 --- a/sdk/core/azure-core-management/src/test/java/com/azure/core/management/AzureEnvironmentTests.java +++ b/sdk/core/azure-core-management/src/test/java/com/azure/core/management/AzureEnvironmentTests.java @@ -13,6 +13,7 @@ public class AzureEnvironmentTests { @Test public void testPredefinedEnv() { + // Azure AzureEnvironment env = AzureEnvironment.AZURE; Assertions.assertEquals("https://management.azure.com/", env.getResourceManagerEndpoint()); @@ -26,6 +27,15 @@ public void testPredefinedEnv() { Assertions.assertEquals("https://management.core.windows.net/", env.getUrlByEndpoint(AzureEnvironment.Endpoint.MANAGEMENT)); Assertions.assertEquals("https://management.azure.com/", env.getEndpoints().get("resourceManagerEndpointUrl")); + Assertions.assertEquals(".managedhsm.azure.net", env.getUrlByEndpoint(AzureEnvironment.Endpoint.MANAGED_HSM)); + + // Azure China + AzureEnvironment envChina = AzureEnvironment.AZURE_CHINA; + Assertions.assertEquals(".managedhsm.azure.cn", envChina.getUrlByEndpoint(AzureEnvironment.Endpoint.MANAGED_HSM)); + + // Azure US Government + AzureEnvironment envUsGov = AzureEnvironment.AZURE_US_GOVERNMENT; + Assertions.assertEquals(".managedhsm.usgovcloudapi.net", envUsGov.getUrlByEndpoint(AzureEnvironment.Endpoint.MANAGED_HSM)); } @Test From 1228af1be69a5696bc4c9422dac89e6d4faa8c73 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Wed, 22 Mar 2023 02:22:32 -0700 Subject: [PATCH 13/35] Increment versions for webpubsub releases (#34160) Increment package versions for webpubsub releases --- eng/versioning/version_client.txt | 2 +- .../azure-resourcemanager-webpubsub/CHANGELOG.md | 10 ++++++++++ sdk/webpubsub/azure-resourcemanager-webpubsub/pom.xml | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index 2fcb65a4cb1d..1d7982c4b640 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -345,7 +345,7 @@ com.azure.resourcemanager:azure-resourcemanager-recoveryservicesbackup;1.1.0;1.2 com.azure.resourcemanager:azure-resourcemanager-deviceprovisioningservices;1.0.0;1.1.0-beta.3 com.azure.resourcemanager:azure-resourcemanager-postgresqlflexibleserver;1.0.0-beta.5;1.0.0-beta.6 com.azure.resourcemanager:azure-resourcemanager-elastic;1.0.0-beta.2;1.0.0-beta.3 -com.azure.resourcemanager:azure-resourcemanager-webpubsub;1.0.0-beta.3;1.0.0-beta.4 +com.azure.resourcemanager:azure-resourcemanager-webpubsub;1.0.0-beta.4;1.0.0-beta.5 com.azure.resourcemanager:azure-resourcemanager-security;1.0.0-beta.4;1.0.0-beta.5 com.azure.resourcemanager:azure-resourcemanager-azurearcdata;1.0.0-beta.3;1.0.0-beta.4 com.azure.resourcemanager:azure-resourcemanager-hybridnetwork;1.0.0-beta.2;1.0.0-beta.3 diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/CHANGELOG.md b/sdk/webpubsub/azure-resourcemanager-webpubsub/CHANGELOG.md index 5bcf5429a824..acbf0abe833a 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/CHANGELOG.md +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 1.0.0-beta.5 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 1.0.0-beta.4 (2023-03-22) - Azure Resource Manager WebPubSub client library for Java. This package contains Microsoft Azure SDK for WebPubSub Management SDK. REST API for Azure WebPubSub Service. Package tag package-2023-02-01. 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/webpubsub/azure-resourcemanager-webpubsub/pom.xml b/sdk/webpubsub/azure-resourcemanager-webpubsub/pom.xml index 3080493a6f04..f1d2c8be3b4c 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/pom.xml +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-webpubsub - 1.0.0-beta.4 + 1.0.0-beta.5 jar Microsoft Azure SDK for WebPubSub Management From d194507d59421f321524741c84b943e7cb17ca40 Mon Sep 17 00:00:00 2001 From: Jocelyn <41338290+jaschrep-msft@users.noreply.github.com> Date: Wed, 22 Mar 2023 12:48:14 -0400 Subject: [PATCH 14/35] SeekableByteChannel API changes (#34163) * upgrade core dependency * remove Response from return type * rename getters/setters for chunk sizes * expandable string enums * re-final BlockBlobClient | swap mocks to mockito --- sdk/storage/azure-storage-blob/pom.xml | 6 + .../BlobSeekableByteChannelReadOptions.java | 18 +- ...ckBlobSeekableByteChannelWriteOptions.java | 39 +- .../blob/specialized/BlobClientBase.java | 6 +- .../blob/specialized/BlockBlobClient.java | 6 +- .../BlobSeekableByteChannelTests.groovy | 12 +- ...eChannelBlockBlobWriteBehaviorTests.groovy | 93 +-- .../org.mockito.plugins.MockMaker | 1 + ...tCreatesAppropriateChannelReadmode[0].json | 88 +-- ...tCreatesAppropriateChannelReadmode[1].json | 88 +-- ...tCreatesAppropriateChannelReadmode[2].json | 88 +-- ...tCreatesAppropriateChannelReadmode[3].json | 88 +-- ...tCreatesAppropriateChannelReadmode[4].json | 88 +-- ...tCreatesAppropriateChannelReadmode[5].json | 88 +-- ...tCreatesAppropriateChannelReadmode[6].json | 88 +-- ...tCreatesAppropriateChannelReadmode[7].json | 88 +-- ...tCreatesAppropriateChannelReadmode[8].json | 88 +-- ...sAppropriateChannelWritemode-Block[0].json | 18 +- ...sAppropriateChannelWritemode-Block[1].json | 18 +- ...sAppropriateChannelWritemode-Block[2].json | 18 +- ...sAppropriateChannelWritemode-Block[3].json | 18 +- ...sAppropriateChannelWritemode-Block[4].json | 18 +- ...sAppropriateChannelWritemode-Block[5].json | 18 +- ...sAppropriateChannelWritemode-Block[6].json | 18 +- ...ableByteChannelTestsE2EChannelRead[0].json | 606 +++++++++--------- ...ableByteChannelTestsE2EChannelRead[1].json | 86 +-- ...sSupportsGreaterThanMaxintBlobSize[0].json | 20 +- ...sSupportsGreaterThanMaxintBlobSize[1].json | 20 +- ...sSupportsGreaterThanMaxintBlobSize[2].json | 20 +- .../storage/file/share/ShareFileClient.java | 6 +- ...areFileSeekableByteChannelReadOptions.java | 12 +- ...reFileSeekableByteChannelWriteOptions.java | 41 +- ...StorageFileSeekableByteChannelTests.groovy | 4 +- 33 files changed, 988 insertions(+), 926 deletions(-) create mode 100644 sdk/storage/azure-storage-blob/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker diff --git a/sdk/storage/azure-storage-blob/pom.xml b/sdk/storage/azure-storage-blob/pom.xml index 0dc7adb70981..8a17129bef8c 100644 --- a/sdk/storage/azure-storage-blob/pom.xml +++ b/sdk/storage/azure-storage-blob/pom.xml @@ -153,6 +153,12 @@ 3.1 test + + org.mockito + mockito-core + 4.5.1 + test + org.slf4j slf4j-simple diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/options/BlobSeekableByteChannelReadOptions.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/options/BlobSeekableByteChannelReadOptions.java index b39b0ef6cb46..cfafbcde3f72 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/options/BlobSeekableByteChannelReadOptions.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/options/BlobSeekableByteChannelReadOptions.java @@ -17,7 +17,7 @@ public final class BlobSeekableByteChannelReadOptions { private Long initialPosition; private BlobRequestConditions requestConditions; - private Integer blockSize; + private Integer readSizeInBytes; private ConsistentReadControl consistentReadControl; /** @@ -57,22 +57,22 @@ public BlobSeekableByteChannelReadOptions setRequestConditions(BlobRequestCondit } /** - * @return The size of each data chunk returned from the service. If block size is large, the channel will make - * fewer network calls, but each individual call will send more data and will therefore take longer. + * @return The size of each data read from the service. If read size is large, the channel will make + * fewer network calls, but each individual call will be larger. * The default value is 4 MB. */ - public Integer getBlockSize() { - return blockSize; + public Integer getReadSizeInBytes() { + return readSizeInBytes; } /** - * @param blockSize The size of each data chunk returned from the service. If block size is large, the channel - * will make fewer network calls, but each individual call will send more data and will therefore take longer. + * @param readSizeInBytes The size of each data read from the service. If read size is large, the channel will make + * fewer network calls, but each individual call will be larger. * The default value is 4 MB. * @return The updated options. */ - public BlobSeekableByteChannelReadOptions setBlockSize(Integer blockSize) { - this.blockSize = blockSize; + public BlobSeekableByteChannelReadOptions setReadSizeInBytes(Integer readSizeInBytes) { + this.readSizeInBytes = readSizeInBytes; return this; } diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/options/BlockBlobSeekableByteChannelWriteOptions.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/options/BlockBlobSeekableByteChannelWriteOptions.java index fa66d979ad38..7979c44a12eb 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/options/BlockBlobSeekableByteChannelWriteOptions.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/options/BlockBlobSeekableByteChannelWriteOptions.java @@ -2,11 +2,14 @@ // Licensed under the MIT License. package com.azure.storage.blob.options; +import com.azure.core.util.ExpandableStringEnum; import com.azure.core.util.logging.ClientLogger; import com.azure.storage.blob.models.AccessTier; import com.azure.storage.blob.models.BlobHttpHeaders; import com.azure.storage.blob.models.BlobRequestConditions; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; import java.util.Map; import java.util.Objects; @@ -19,15 +22,35 @@ public final class BlockBlobSeekableByteChannelWriteOptions { /** * Mode to open the channel for writing. */ - public enum WriteMode { + public static final class WriteMode extends ExpandableStringEnum { /** * Replaces the existing block blob, if any, with the newly written contents. Creates a new blob if none exists. */ - OVERWRITE, + public static final WriteMode OVERWRITE = fromString("Overwrite"); + + /** + * Creates or finds a AccessTier from its string representation. + * + * @param name a name to look for. + * @return the corresponding AccessTier. + */ + @JsonCreator + public static WriteMode fromString(String name) { + return fromString(name, WriteMode.class); + } + + /** + * Gets known WriteMode values. + * + * @return known WriteMode values. + */ + public static Collection values() { + return values(WriteMode.class); + } } private final WriteMode writeMode; - private Long chunkSize; + private Long blockSizeInBytes; private BlobHttpHeaders headers; private Map metadata; private Map tags; @@ -52,16 +75,16 @@ public WriteMode getWriteMode() { /** * @return The size of individual writes to the service. */ - public Long getChunkSize() { - return chunkSize; + public Long getBlockSizeInBytes() { + return blockSizeInBytes; } /** - * @param chunkSize The size of individual writes to the service. + * @param blockSizeInBytes The size of individual writes to the service. * @return The updated instance. */ - public BlockBlobSeekableByteChannelWriteOptions setChunkSize(Long chunkSize) { - this.chunkSize = chunkSize; + public BlockBlobSeekableByteChannelWriteOptions setBlockSizeInBytes(Long blockSizeInBytes) { + this.blockSizeInBytes = blockSizeInBytes; return this; } diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobClientBase.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobClientBase.java index 5726b7ad3217..882571deecc3 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobClientBase.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobClientBase.java @@ -401,13 +401,13 @@ public BlobInputStream openInputStream(BlobInputStreamOptions options, Context c * @return A SeekableByteChannel that represents the channel to use for reading from the blob. * @throws BlobStorageException If a storage service error occurred. */ - public Response openSeekableByteChannelRead( + public BlobSeekableByteChannelReadResult openSeekableByteChannelRead( BlobSeekableByteChannelReadOptions options, Context context) { context = context == null ? Context.NONE : context; options = options == null ? new BlobSeekableByteChannelReadOptions() : options; ConsistentReadControl consistentReadControl = options.getConsistentReadControl() == null ? ConsistentReadControl.ETAG : options.getConsistentReadControl(); - int chunkSize = options.getBlockSize() == null ? 4 * Constants.MB : options.getBlockSize(); + int chunkSize = options.getReadSizeInBytes() == null ? 4 * Constants.MB : options.getReadSizeInBytes(); long initialPosition = options.getInitialPosition() == null ? 0 : options.getInitialPosition(); ByteBuffer initialRange = ByteBuffer.allocate(chunkSize); @@ -458,7 +458,7 @@ public Response openSeekableByteChannelRead( behaviorClient, initialRange, initialPosition, properties.getBlobSize(), requestConditions); SeekableByteChannel channel = new StorageSeekableByteChannel(chunkSize, behavior, initialPosition); - return new SimpleResponse<>(response, new BlobSeekableByteChannelReadResult(channel, properties)); + return new BlobSeekableByteChannelReadResult(channel, properties); } /** diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlockBlobClient.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlockBlobClient.java index f9ff62149485..190af9cae9dc 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlockBlobClient.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlockBlobClient.java @@ -62,7 +62,7 @@ * Please refer to the Azure Docs for more information. */ @ServiceClient(builder = SpecializedBlobClientBuilder.class) -public class BlockBlobClient extends BlobClientBase { +public final class BlockBlobClient extends BlobClientBase { private static final ClientLogger LOGGER = new ClientLogger(BlockBlobClient.class); private final BlockBlobAsyncClient client; @@ -246,8 +246,8 @@ public SeekableByteChannel openSeekableByteChannelWrite(BlockBlobSeekableByteCha } return new StorageSeekableByteChannel( - options.getChunkSize() != null - ? options.getChunkSize().intValue() + options.getBlockSizeInBytes() != null + ? options.getBlockSizeInBytes().intValue() : BlobAsyncClient.BLOB_DEFAULT_UPLOAD_BLOCK_SIZE, new StorageSeekableByteChannelBlockBlobWriteBehavior(this, options.getHeaders(), options.getMetadata(), options.getTags(), options.getTier(), options.getRequestConditions(), internalMode, null), diff --git a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/specialized/BlobSeekableByteChannelTests.groovy b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/specialized/BlobSeekableByteChannelTests.groovy index 2a985b059f6f..1ed6fac57f86 100644 --- a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/specialized/BlobSeekableByteChannelTests.groovy +++ b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/specialized/BlobSeekableByteChannelTests.groovy @@ -44,7 +44,7 @@ class BlobSeekableByteChannelTests extends APISpec { when: "Channel initialized" def result = bc.openSeekableByteChannelRead(new BlobSeekableByteChannelReadOptions() - .setBlockSize(streamBufferSize), null).getValue() + .setReadSizeInBytes(streamBufferSize), null) def channel = result.getChannel() then: "Channel initialized to position zero" @@ -73,7 +73,7 @@ class BlobSeekableByteChannelTests extends APISpec { def "E2E channel write - block"() { when: "Channel initialized" def channel = blockClient.openSeekableByteChannelWrite( - new BlockBlobSeekableByteChannelWriteOptions(WriteMode.OVERWRITE).setChunkSize(streamBufferSize)) + new BlockBlobSeekableByteChannelWriteOptions(WriteMode.OVERWRITE).setBlockSizeInBytes(streamBufferSize)) then: "Channel initialized to position zero" channel.position() == 0 @@ -155,8 +155,8 @@ class BlobSeekableByteChannelTests extends APISpec { when: "make channel in read mode" bc.upload(BinaryData.fromBytes(getRandomByteArray(1024))) def channel = bc.openSeekableByteChannelRead(new BlobSeekableByteChannelReadOptions() - .setRequestConditions(conditions).setBlockSize(blockSize).setConsistentReadControl(control) - .setInitialPosition(position), null).getValue().getChannel() as StorageSeekableByteChannel + .setRequestConditions(conditions).setReadSizeInBytes(blockSize).setConsistentReadControl(control) + .setInitialPosition(position), null).getChannel() as StorageSeekableByteChannel then: "channel WriteBehavior is null" channel.getWriteBehavior() == null @@ -198,7 +198,7 @@ class BlobSeekableByteChannelTests extends APISpec { def "Client creates appropriate channel writemode - block"() { when: "make channel in write mode" def channel = blockClient.openSeekableByteChannelWrite( - new BlockBlobSeekableByteChannelWriteOptions(writeMode).setChunkSize(blockSize).setHeaders(headers) + new BlockBlobSeekableByteChannelWriteOptions(writeMode).setBlockSizeInBytes(blockSize).setHeaders(headers) .setMetadata(metadata).setTags(tags).setTier(tier).setRequestConditions(conditions) ) as StorageSeekableByteChannel @@ -207,7 +207,7 @@ class BlobSeekableByteChannelTests extends APISpec { and: "channel WriteBehavior has appropriate values" def writeBehavior = channel.getWriteBehavior() as StorageSeekableByteChannelBlockBlobWriteBehavior - writeBehavior.getWriteMode() == StorageSeekableByteChannelBlockBlobWriteBehavior.WriteMode.valueOf(writeMode.toString()) + writeBehavior.getWriteMode().toString().equalsIgnoreCase(writeMode.toString()) writeBehavior.getHeaders() == headers writeBehavior.getMetadata() == metadata writeBehavior.getTags() == tags diff --git a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/specialized/StorageSeekableByteChannelBlockBlobWriteBehaviorTests.groovy b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/specialized/StorageSeekableByteChannelBlockBlobWriteBehaviorTests.groovy index dbf2746d294d..17fb535fe59f 100644 --- a/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/specialized/StorageSeekableByteChannelBlockBlobWriteBehaviorTests.groovy +++ b/sdk/storage/azure-storage-blob/src/test/java/com/azure/storage/blob/specialized/StorageSeekableByteChannelBlockBlobWriteBehaviorTests.groovy @@ -7,6 +7,8 @@ import com.azure.storage.blob.options.BlockBlobCommitBlockListOptions import com.azure.storage.blob.options.BlockBlobStageBlockOptions import com.azure.storage.common.test.shared.TestDataFactory +import org.mockito.ArgumentCaptor +import org.mockito.Mockito import spock.lang.Specification import spock.lang.Unroll @@ -24,18 +26,22 @@ class StorageSeekableByteChannelBlockBlobWriteBehaviorTests extends Specificatio @Unroll def "WriteBehavior write calls to client correctly"() { - given: - BlockBlobClient client = Mock() + given: "BlockBlobClient" + def client = Mockito.mock(BlockBlobClient.class) + + and: "Block blob behavior" def behavior = new StorageSeekableByteChannelBlockBlobWriteBehavior(client, null, null, null, null, conditions, StorageSeekableByteChannelBlockBlobWriteBehavior.WriteMode.OVERWRITE, null) when: "WriteBehavior.write() called" behavior.write(data.defaultData, offset) + and: "mockito verification capture" + def optionsCaptor = ArgumentCaptor.forClass(BlockBlobStageBlockOptions) + Mockito.verify(client, Mockito.times(1)).stageBlockWithResponse(optionsCaptor.capture(), Mockito.isNull(), Mockito.isNull()) + then: "Expected BlockBlobClient upload parameters given" - 1 * client.stageBlockWithResponse( - { BlockBlobStageBlockOptions options -> options.getLeaseId() == (conditions == null ? null : "foo") }, - null, null) + optionsCaptor.getValue().getLeaseId() == (conditions == null ? null : "foo") where: offset | conditions @@ -47,7 +53,7 @@ class StorageSeekableByteChannelBlockBlobWriteBehaviorTests extends Specificatio @Unroll def "WriteBehavior commits with correct settings"() { given: - BlockBlobClient client = Mock() + def client = Mockito.mock(BlockBlobClient.class) def behavior = new StorageSeekableByteChannelBlockBlobWriteBehavior(client, headers, metadata, tags, tier, conditions, StorageSeekableByteChannelBlockBlobWriteBehavior.WriteMode.OVERWRITE, null) @@ -59,18 +65,18 @@ class StorageSeekableByteChannelBlockBlobWriteBehaviorTests extends Specificatio and: "WriteBehavior.commit() called" behavior.commit(0) - then: "Expected three writes and appropriate commit" - 3 * client.stageBlockWithResponse(_, _, _) - 1 * client.commitBlockListWithResponse( - { BlockBlobCommitBlockListOptions options -> - options.getHeaders() == headers && - options.getMetadata() == metadata && - options.getTags() == tags && - options.getTier() == tier && - options.getRequestConditions() == conditions && - options.getBase64BlockIds().size() == 3 - }, - null, null) + and: "mockito verification capture" + def optionsCaptor = ArgumentCaptor.forClass(BlockBlobCommitBlockListOptions) + Mockito.verify(client, Mockito.times(3)).stageBlockWithResponse(Mockito.any(), Mockito.any(), Mockito.any()) + Mockito.verify(client, Mockito.times(1)).commitBlockListWithResponse(optionsCaptor.capture(), Mockito.isNull(), Mockito.isNull()) + + then: "Expected commit options" + optionsCaptor.getValue().getHeaders() == headers + optionsCaptor.getValue().getMetadata() == metadata + optionsCaptor.getValue().getTags() == tags + optionsCaptor.getValue().getTier() == tier + optionsCaptor.getValue().getRequestConditions() == conditions + optionsCaptor.getValue().getBase64BlockIds().size() == 3 where: headers | metadata | tags | tier | conditions @@ -88,7 +94,7 @@ class StorageSeekableByteChannelBlockBlobWriteBehaviorTests extends Specificatio def blocks = ["1", "2", "3", "4", "5"] and: "behavior set to overwrite" - BlockBlobClient client = Mock() + def client = Mockito.mock(BlockBlobClient.class) def behavior = new StorageSeekableByteChannelBlockBlobWriteBehavior(client, null, null, null, null, null, StorageSeekableByteChannelBlockBlobWriteBehavior.WriteMode.OVERWRITE, blocks) @@ -100,13 +106,14 @@ class StorageSeekableByteChannelBlockBlobWriteBehaviorTests extends Specificatio and: "WriteBehavior.commit() called" behavior.commit(0) + and: "mockito verification capture" + def optionsCaptor = ArgumentCaptor.forClass(BlockBlobCommitBlockListOptions) + Mockito.verify(client, Mockito.times(3)).stageBlockWithResponse(Mockito.any(), Mockito.any(), Mockito.any()) + Mockito.verify(client, Mockito.times(1)).commitBlockListWithResponse(optionsCaptor.capture(), Mockito.isNull(), Mockito.isNull()) + then: "Expected three writes and appropriate blocklist" - 3 * client.stageBlockWithResponse(_, _, _) - 1 * client.commitBlockListWithResponse( - { BlockBlobCommitBlockListOptions options -> - options.getBase64BlockIds().size() == 3 && options.getBase64BlockIds().intersect(blocks).isEmpty() - }, - null, null) + optionsCaptor.getValue().getBase64BlockIds().size() == 3 + optionsCaptor.getValue().getBase64BlockIds().intersect(blocks).isEmpty() } def "WriteBehavior commit append"() { @@ -114,7 +121,7 @@ class StorageSeekableByteChannelBlockBlobWriteBehaviorTests extends Specificatio def blocks = ["1", "2", "3", "4", "5"] and: "behavior set to append" - BlockBlobClient client = Mock() + def client = Mockito.mock(BlockBlobClient.class) def behavior = new StorageSeekableByteChannelBlockBlobWriteBehavior(client, null, null, null, null, null, StorageSeekableByteChannelBlockBlobWriteBehavior.WriteMode.APPEND, blocks) @@ -126,21 +133,22 @@ class StorageSeekableByteChannelBlockBlobWriteBehaviorTests extends Specificatio and: "WriteBehavior.commit() called" behavior.commit(0) + and: "mockito verification capture" + def optionsCaptor = ArgumentCaptor.forClass(BlockBlobCommitBlockListOptions) + Mockito.verify(client, Mockito.times(3)).stageBlockWithResponse(Mockito.any(), Mockito.any(), Mockito.any()) + Mockito.verify(client, Mockito.times(1)).commitBlockListWithResponse(optionsCaptor.capture(), Mockito.isNull(), Mockito.isNull()) + then: "Expected three writes and appropriate blocklist" - 3 * client.stageBlockWithResponse(_, _, _) - 1 * client.commitBlockListWithResponse( - { BlockBlobCommitBlockListOptions options -> - options.getBase64BlockIds().size() == blocks.size() + 3 && options.getBase64BlockIds()[0..blocks.size()-1] == blocks - }, - null, null) + optionsCaptor.getValue().getBase64BlockIds().size() == blocks.size() + 3 + optionsCaptor.getValue().getBase64BlockIds()[0..blocks.size()-1] == blocks } def "WriteBehavior commit prepend"() { given: "existing blocks" def blocks = ["1", "2", "3", "4", "5"] - and: "behavior set to append" - BlockBlobClient client = Mock() + and: "behavior set to prepend" + def client = Mockito.mock(BlockBlobClient.class) def behavior = new StorageSeekableByteChannelBlockBlobWriteBehavior(client, null, null, null, null, null, StorageSeekableByteChannelBlockBlobWriteBehavior.WriteMode.PREPEND, blocks) @@ -152,18 +160,19 @@ class StorageSeekableByteChannelBlockBlobWriteBehaviorTests extends Specificatio and: "WriteBehavior.commit() called" behavior.commit(0) + and: "mockito verification capture" + def optionsCaptor = ArgumentCaptor.forClass(BlockBlobCommitBlockListOptions) + Mockito.verify(client, Mockito.times(3)).stageBlockWithResponse(Mockito.any(), Mockito.any(), Mockito.any()) + Mockito.verify(client, Mockito.times(1)).commitBlockListWithResponse(optionsCaptor.capture(), Mockito.isNull(), Mockito.isNull()) + then: "Expected three writes and appropriate blocklist" - 3 * client.stageBlockWithResponse(_, _, _) - 1 * client.commitBlockListWithResponse( - { BlockBlobCommitBlockListOptions options -> - options.getBase64BlockIds().size() == blocks.size() + 3 && options.getBase64BlockIds()[3..-1] == blocks - }, - null, null) + optionsCaptor.getValue().getBase64BlockIds().size() == blocks.size() + 3 + optionsCaptor.getValue().getBase64BlockIds()[3..-1] == blocks } def "WriteBehavior Seek unsupported"(){ given: - def behavior = getSimpleBehavior(Mock(BlockBlobClient)) + def behavior = getSimpleBehavior(Mockito.mock(BlockBlobClient.class)) when: behavior.assertCanSeek(10) @@ -174,7 +183,7 @@ class StorageSeekableByteChannelBlockBlobWriteBehaviorTests extends Specificatio def "WriteBehavior truncate unsupported"(){ given: - def behavior = getSimpleBehavior(Mock(BlockBlobClient)) + def behavior = getSimpleBehavior(Mockito.mock(BlockBlobClient.class)) when: behavior.resize(10) diff --git a/sdk/storage/azure-storage-blob/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker b/sdk/storage/azure-storage-blob/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker new file mode 100644 index 000000000000..1f0955d450f0 --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker @@ -0,0 +1 @@ +mock-maker-inline diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[0].json index 69278eaa210f..6dbf0ee48a02 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[0].json @@ -1,105 +1,105 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/cd1ad1b90cd1ad1b9d87179838f441a798fd448adab9?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/cd1ad1b90cd1ad1b912352724acda43a5c8c5468c935?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "cb5b9bc4-4a48-48a9-bc64-a01607dd0fa1" + "x-ms-client-request-id" : "c4d6993e-b838-4318-a777-f19d5ca2560c" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C098505441", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA52F1A18E", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "b305e5bf-201e-0019-49a9-52ccc3000000", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-client-request-id" : "cb5b9bc4-4a48-48a9-bc64-a01607dd0fa1" + "x-ms-request-id" : "cc9e95a4-201e-003b-1bd3-5ca2f5000000", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-client-request-id" : "c4d6993e-b838-4318-a777-f19d5ca2560c" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/cd1ad1b93cd1ad1b9d8723941ae62075e1d61455f8e6?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/cd1ad1b93cd1ad1b9123079890ad00498ee7743508d8?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "defc3ef7-79d3-48d8-bf66-de009bda652c" + "x-ms-client-request-id" : "0013f06d-67d3-4d9f-82f6-489ec8047a34" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C0986D08D1", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA530E4D1D", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2c39cb55-c01e-0057-16a9-520926000000", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-client-request-id" : "defc3ef7-79d3-48d8-bf66-de009bda652c" + "x-ms-request-id" : "cc9e962f-201e-003b-1ad3-5ca2f5000000", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-client-request-id" : "0013f06d-67d3-4d9f-82f6-489ec8047a34" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/cd1ad1b93cd1ad1b9d8723941ae62075e1d61455f8e6/cd1ad1b94cd1ad1b9d87398611397851fb5424f38963", + "Uri" : "https://REDACTED.blob.core.windows.net/cd1ad1b93cd1ad1b9123079890ad00498ee7743508d8/cd1ad1b94cd1ad1b9123584781728d8a2d99d4776af5", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "682898ce-c7a9-4b8f-847a-42d997449e3f", + "x-ms-client-request-id" : "a64abebe-5f1d-4cc0-922e-83470570d1b4", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-content-crc64" : "76zbVvoAwsg=", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-version-id" : "2023-03-09T17:06:16.8099825Z", + "x-ms-content-crc64" : "Kdc8p2cULYQ=", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-version-id" : "2023-03-22T15:30:10.8845038Z", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "Content-MD5" : "eqRBgPgV7NPtkyPsx9g20g==", - "ETag" : "0x8DB20C0988ACBF1", + "Date" : "Wed, 22 Mar 2023 15:30:09 GMT", + "Content-MD5" : "kxDxNX+piiYrA5NntDpJmA==", + "ETag" : "0x8DB2AEA532723EE", "Content-Length" : "0", - "x-ms-request-id" : "c9d8a122-301e-002f-2fa9-526191000000", - "x-ms-client-request-id" : "682898ce-c7a9-4b8f-847a-42d997449e3f" + "x-ms-request-id" : "8c0e302e-001e-0063-32d3-5ca68e000000", + "x-ms-client-request-id" : "a64abebe-5f1d-4cc0-922e-83470570d1b4" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/cd1ad1b93cd1ad1b9d8723941ae62075e1d61455f8e6/cd1ad1b94cd1ad1b9d87398611397851fb5424f38963", + "Uri" : "https://REDACTED.blob.core.windows.net/cd1ad1b93cd1ad1b9123079890ad00498ee7743508d8/cd1ad1b94cd1ad1b9123584781728d8a2d99d4776af5", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "ec1fe1ef-ce33-4668-9556-7d67a67ff918" + "x-ms-client-request-id" : "617a1b33-5049-45f5-93ed-94e4909c71dd" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 0-1023/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "eqRBgPgV7NPtkyPsx9g20g==", - "x-ms-version-id" : "2023-03-09T17:06:16.8099825Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "kxDxNX+piiYrA5NntDpJmA==", + "x-ms-version-id" : "2023-03-22T15:30:10.8845038Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988ACBF1", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA532723EE", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:30:10 GMT", "Content-Length" : "1024", - "x-ms-request-id" : "a70a43c6-301e-0049-69a9-52d3cb000000", - "Body" : "/fpTwZekh05e+jTZnsUmxTQW98HeAcaE+fTDcYipQpGhE8wVKkvm2KEsjIA5BV9b57tGZUmwFC6py14VmQPpijgcUjUaX4A8Oqn9DyOx7Gr2mGiZZMuKbZpWNWrcucdRngZIZuMfA+uxPDSygZJ1quHsU6ikLH9syY337P+A2BYTWDY9kmYk3ZUP77YnOKYwyNxxLk/MSK50AYXLofrVlbyxncBHxHzp9qJHoyF52QjzAy8zA0gMhJ4eRtjZ38gLIelAZbrwFljp3ArBLsc9w0uU/h4tuUORj4O5wK37H1GtsGmjtIgOdggldzZAUWKk3gZxlZPb+r9RZKeTnPXczzLQ6bORHNg975Dxx/31VetfXECsy4P5KDT/rP8V7J/VYu3aWcWODGLAIIRFQQbCoKPtc3LBZVYBSiESV/3emzBX5F58VMLRKaALN06a16qEJcz9PDUrLJTsuhpSLuq9HQuw4rlXmTqXOByXg8smwPuDsnO4OtpqrDOERr3yT5FN4eKlDH5DOEE1Hft/SUpnUP6ExVG5i/+XgLEwvYxTqiwar4gOidz2I8hVWuLBNOk2/mETIuxxzBr0twEWr+Ohq2F/YmjOWr9rJhbGipBHbkeMQgUs4y4rPfghpfAFFex5QB9jf7fNuOcJVNiySfWxC9cqRmMCe/Pet3M17KlsEwaoc0CBQOwiYy1XqeUzNJhRsOoEqYEbQF2fH1DmrfoinW3DMoZ98+Oc1HUe+8jADq8Nbpyi6yhsZuSKQ8mVREmyyI8BnhLVg/ZD4aMiODDkhomdxRGfpQJN/SFJ29r//a7T/KJDubXuPEKCo7nk0n5p4s70H1JkmsclfT1+aZw0qxDKL+HAu5geoOVKIuNmnV96xcTgiz7YENuUiAshn2UU49otxIgt3futOHIPgJqLiNdCkSkmmxHIYgYofFnMeJkTT3MgB+Cyv79VtsK5XnR4JCejvtJESchCaA3ZVyLaqE0rJIZH9Q9YreAXisIJvO6tIZDAk5CAaMWuQgTao0NtoZGMfeXqljZXc7FigEmMz2fxrzZA1JY9e6CGR5DyBX0DitnRkvhm+xzaVgYP5vvGZTXJjQYtMYO2WlM5obnZXsta8nGWvikNYWAv0j1UfJ9kzVfk45Vkxg/mgPUj6IOeNnH0tEhEuGoRLZ3kDBh3IEDKDggsThxK39r1WqO71mri2RM+l0bxcxivA4k090Q9fe53GgeQduLHFRj8oprZnVZJ4rGE1prA5xk/iJ776He/vtLs8paRsSl877MVvyGfeLQ+7aVHaV3z8d486kU5nlIilUU69oJFrNAsXuWwpccVeW90pG6F8DapdVrqr19zo5MvbIU/cxS8l4YEbZCVzQ==", - "x-ms-client-request-id" : "ec1fe1ef-ce33-4668-9556-7d67a67ff918", + "x-ms-request-id" : "04812d64-801e-001f-2ed3-5c3bbb000000", + "Body" : "JS8zQUC7WNaxs8fBlan5MnKy+ylx50q2aUc96vPWkISuvXYXi+yfoSjzvwLOqiyc9JkRDPxujGfJJ0WA1WxCvc+wM5ihPIXdwTqWdaGczuJYFtNgRA/8Qk/QIWvR4dnIgyD/NWVzx7fyND3Xdlqa5bSfrA4911ttG1qdprHr8EWYjLQP/wXYiCRqFk2beNjKMj+v8WCTR5OAJyzUZCNX7jSDY+FZ+6FqMovs7r7830yQHSIqK3o1gYJWMZR7xRWmTZfbPaPgmLbui/xIdKbFs55hR72f6C+VXwNvl60C+xEvp1AI0M0BZpyNFxu2x3vdwl5uPcAuWoIDW0y0U+AOqfpy0doXeqj7dZkncV+t5Nt3E633GWySDpJ921bsqJN+IoOKI3JgcpImK6Gwr5eZXsn32tY1fMJq4jDJ1Zvsc1TtXg9IIvSB6E6Lq13LQmhU2xunxCfzsYb+YqCRpBFA4PkSJAsp5dvCA/oJKjr/yO5hluPSAyprSaR8C0fydB2PswfBxs50wNFOqQ9XaVrPdyZDYOBjW4XnyIP9p5QaSX/gJ0vJHdoqUqqHKJMoV1c5iNHuvePP5agPDu0iPO4P2BhXOkpktigFidrAQis2cQr3ImoRpBrKT1UDi7q/k14jRjio97iZ+7nPqJWTi85N9nn52lXNZS37JzCf85fHSs4qRIETbpc2lFX1t9BCdi3WKfYTYQXP2s5KqPQpZE84gNcvUnSi6klrZ8nMLLJ6E6az517I+9O+4zL5fxBmenuKNaPrgrOqLh1HD1SfHylA0tpoFVfezkkDjCwpvAUym0yAP1Z7xY8kcqg8AIEwZ7O5884+i+aC9Xi0muNbSpqUC8f10Mw9x7M7M81oSnLbOShnaI21ybg/1T+N/atjQsJkbq3TcUnYZK0FjaE31aXGmDULVetG66vVc7HRRSPlSDesOlB+VpjgiS+zgJotqBunbfNUcp4DnsXKWkQof7krmQ6lq++YL2qjNcydVLJeAja28W6vFSYglHOVtjgSU2ov8r0p/4Ut5VqQdFNJgEiXdcnppep2juWK0QhZB5oSygoNB8XUWq3ZPCzjTZcY4Gkj86D9a4x8HAv6qQjVeCYt/eborH2ViiiY6kNwEN0jcxSX3BWOqjDh9Dk+H7Q0G5k1WDnkdnmlYe4f4hq2mK4kV6rQmmQk+GNmjK3hoPf7TtMUErrxjTfuaRMjHPf1XxICNd7kfdRJFFAmJXaZEAOXChz3FjUdOIEahFDWCwSV+BHXoWEYlvJi8+4JjBBw2iFoSU3YI7jQf5QgM2QUufAgkEFSoN3MUe3B/7ofkS1sIbrHILT9sOFTtA59xotrtGeYt24b1tqlIzsmJAQNA0N7KA==", + "x-ms-client-request-id" : "617a1b33-5049-45f5-93ed-94e4909c71dd", "Content-Type" : "application/octet-stream" }, "Exception" : null } ], - "variables" : [ "cd1ad1b90cd1ad1b9d87179838f441a798fd448adab9", "cd1ad1b91cd1ad1b9d8700435b1189b34b1a7405ab06", "cd1ad1b92cd1ad1b9d8747845c80b93f8ffca4cfc8be", "cd1ad1b93cd1ad1b9d8723941ae62075e1d61455f8e6", "cd1ad1b94cd1ad1b9d87398611397851fb5424f38963", "5257524a-579e-46f6-9206-1a41bfcd7146" ] + "variables" : [ "cd1ad1b90cd1ad1b912352724acda43a5c8c5468c935", "cd1ad1b91cd1ad1b912333383d70f8ae58041458b9ae", "cd1ad1b92cd1ad1b912396583af7f6f61861d41318a7", "cd1ad1b93cd1ad1b9123079890ad00498ee7743508d8", "cd1ad1b94cd1ad1b9123584781728d8a2d99d4776af5", "5c2662c6-c3e9-4013-a964-89067e4d0681" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[1].json index 0e4490034779..e1a6b11d6992 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[1].json @@ -1,105 +1,105 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/d401e0f80d401e0f834d577779f93f96f645c45c8b40?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/d401e0f80d401e0f8dc2661146f11daa972db4f7cb34?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "f89935bc-7ab0-473a-b68a-898bf33a7386" + "x-ms-client-request-id" : "0a515559-b8da-4537-bab8-f0ec2a77fc25" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C0985105C8", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA52F269E8", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "70248329-d01e-0043-1ca9-52ca42000000", - "Date" : "Thu, 09 Mar 2023 17:06:15 GMT", - "x-ms-client-request-id" : "f89935bc-7ab0-473a-b68a-898bf33a7386" + "x-ms-request-id" : "dedbf043-401e-004d-20d3-5c2649000000", + "Date" : "Wed, 22 Mar 2023 15:30:09 GMT", + "x-ms-client-request-id" : "0a515559-b8da-4537-bab8-f0ec2a77fc25" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/d401e0f83d401e0f834d9170477dc77c4387e40cc8bc?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/d401e0f83d401e0f8dc284412d23178e786a447d3aeb?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "f774a9e0-f927-46b5-ab8a-399b6e0beda0" + "x-ms-client-request-id" : "c0b62db4-7a83-47ad-a8a1-dc3cdc53eeff" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C0986D6FA8", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA530F6157", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "80513668-901e-000b-0da9-52f8df000000", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-client-request-id" : "f774a9e0-f927-46b5-ab8a-399b6e0beda0" + "x-ms-request-id" : "dccf336c-001e-002c-2ed3-5c6296000000", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-client-request-id" : "c0b62db4-7a83-47ad-a8a1-dc3cdc53eeff" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/d401e0f83d401e0f834d9170477dc77c4387e40cc8bc/d401e0f84d401e0f834d9013396328a1fc18f4c8f8c8", + "Uri" : "https://REDACTED.blob.core.windows.net/d401e0f83d401e0f8dc284412d23178e786a447d3aeb/d401e0f84d401e0f8dc200877a34181e0c33645dda84", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "12437505-2395-415a-850a-528480d50c74", + "x-ms-client-request-id" : "cc311899-61d2-4b9e-b304-530b8824bff5", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-content-crc64" : "1RWNzTkS2v8=", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-version-id" : "2023-03-09T17:06:16.8119820Z", + "x-ms-content-crc64" : "LmSbz4FY0L0=", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-version-id" : "2023-03-22T15:30:10.8845038Z", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 09 Mar 2023 17:06:15 GMT", - "Content-MD5" : "d1nLjoN6iirBNJ5safft9w==", - "ETag" : "0x8DB20C0988B1A0C", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", + "Content-MD5" : "lAmUFWpNNIFw6UkzgKbLBg==", + "ETag" : "0x8DB2AEA532723EE", "Content-Length" : "0", - "x-ms-request-id" : "4b28a147-101e-0033-07a9-52b986000000", - "x-ms-client-request-id" : "12437505-2395-415a-850a-528480d50c74" + "x-ms-request-id" : "09a06a94-101e-0033-23d3-5cb986000000", + "x-ms-client-request-id" : "cc311899-61d2-4b9e-b304-530b8824bff5" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/d401e0f83d401e0f834d9170477dc77c4387e40cc8bc/d401e0f84d401e0f834d9013396328a1fc18f4c8f8c8", + "Uri" : "https://REDACTED.blob.core.windows.net/d401e0f83d401e0f8dc284412d23178e786a447d3aeb/d401e0f84d401e0f8dc200877a34181e0c33645dda84", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "50a00557-f225-40a8-8c2f-e8de715660cc" + "x-ms-client-request-id" : "919b550b-223b-41ef-8070-8115fde11dc5" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 0-1023/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "d1nLjoN6iirBNJ5safft9w==", - "x-ms-version-id" : "2023-03-09T17:06:16.8119820Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "lAmUFWpNNIFw6UkzgKbLBg==", + "x-ms-version-id" : "2023-03-22T15:30:10.8845038Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B1A0C", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA532723EE", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:30:10 GMT", "Content-Length" : "1024", - "x-ms-request-id" : "69e6aaf6-f01e-0032-7ba9-52b87b000000", - "Body" : "MSACZLplKG+ebw8YqpUqSBDG8i5yYl15fUgsmW/YdQLTZCZoyrpRx7efDBjXB/+jaI475NpTWXKBCh1fSIjb9asWi6Xy5TujhJY6nL2S+l9AuXsQ3Q8/uNIV/Fqmw4fxosgJfGrap3QXtq/QDDStDXw6MogncNIuDlc+LPiA+/k3pRG/bw2nXjdUSQkVZUCv1AJ9KadsH5XGte55lMj6/vpM4+XEMgCn3vzqUE9rJdlSRqQFDyAeVf/+jt0xjf8dEgX6GiwJv6O7hHNH1DgNcNgSWO1Y3CJNr587QGsU/1G4NfzE8TZBubHrUSHh3MsMmDaaBTtPjNpGL5yBQu9DUro4zVRgNlJ1Vg/kTlqECeKado4QuLZhKSLKauebgl4Y+XeaPUtSKBR1LQktQwrj2TkVq4KTJdPQGTycI70fbsPr2/38hbJUxIw2kiNIGNyDpqgDUtLXzRD0+nK21qxEVRqKjwJpePjOT/B5wTbXxFVkQaiqQJcWme7wBhF03SYUovOAF1Tr0GEj6A66fy91tMrgUljuL5yeORcMJAz7KjK3MxugJ7XsGKQ1eSG7mX8zhD/dwq308yd54OH1dz14uR2+OrLGLhyOHw1G6iF/PX0S5DjQlFMy5kdzNXJws+iirl0ihZu8biQZIuNwEirXXkiJ49uAepGjr7TA5Be7z2rYgj8wEztP/sbZM9WPRimGzdQROY8LmE2yIvB3cQrnbRziuQcfexGNkk2q/b7yqZmcXQpipOGx5MV+eZ/lR6TWkGLoJrXOAnGcHY5iaV+vdIUCawzn5GwnUEgtjsAyeeleXAXiTaVPcTYTWyt+ALp8rZBS10Lvy6MwB421slvADEMnvOllOFArZ5Nhu5BNpDYJuqgt5cBh9TZm8NRPbVj/Eflp5P5HDrlp4RKGVBLafOdb/kPCBCZbph1DTZAEME8tFCwiHOcV9ysxo+YlT/n5ZhXAzhFlNny5raVFTxlERxFGFdpJWONBz4nrwYGpftX6LbUqzq/1JhvpeqzO9tI6y7UkEBL6f3steLXsimxf0unLBDc2CzsSbU+sRzHExUl9AtjciUMg6k+R2quGGbN50Ho7DU46gyzENy/W/5ySeNuxclDB0NQI88ThJmCIzk0eAgsZXPFV0SjLFLylORk8sO5UlVZ/oLMMgARRJJhybJeLvs5rOlFRFs+u0fMnPGhZl/tF4pqFMEGfxZ+Gb/B40hmdZMzpjJX/P5O1nZM4xkicgySJGVx3bTGE4VxNZSG8TrSAkCJIS8e7iHC7nv51gq7Kgm7ogsIdCrSpIOlvFBOCxcEO6xLxRrylUUlKDKQiPoezO0i+4hUkphNvYwHH7CdPZ2PR5VLLoSyoqO6MCw==", - "x-ms-client-request-id" : "50a00557-f225-40a8-8c2f-e8de715660cc", + "x-ms-request-id" : "dccf340e-001e-002c-43d3-5c6296000000", + "Body" : "960IMPXl98zmdjbA9R5s2veXFXkUEZp10NRWQdRiHq6xEkPgUfdCiVaKbA3W7Yq4jQg7y4yCloMIScTLHuk8ijl2wcJ8aO0hMQrLgS13Nczg/xxUz2nZ9ihJR6CsASHpmyVXqZXfi9/lDjszaB9tiyfL5mjeOk2n1qKiu51WyIHYBk/XoVr6ZvP0LFl2P2VUzmtn/9/bZh4QFUiG1MruYmVDoh8HyNHhcUutw06xs83xafjGnEWMoKOmPf94TmsAq8Jp4hQvyMmJErktaGxWQuV2fKcDtH7TtEzntHXDosqFdBRoeGi9M/hJa7VCMiAZsN+fQ6dmqqg74e6l+vHClsVrLKDHZnaNkM/dvdxKXieMz8TWPfF9bINpxHH6jLeCrsi0ePoOSV+2jddfPFHJBmhiRaogHCserKxw9atGC6x7c2ra66A6yeT5oVfsDxPHZ4f1aM5Uc30pGrSOCfUmBdemcdXcr1IhKOOfD3dto0tesw7Laa5hjkMArMRUxqDQZEo6sfGqJE+kkH8A72hWZlpj7284chStkxJ4Ao2Fjc40HaVhsfXRPgwwIiFqJk1IGG9YPiNA+K2MQJpl/e4F9FOws1qJkAYMK5SSiYALJDKMKxJPOb8W8e/bCl+vFFKZOzFN20lRslNeQ6W9z+sfZVtdIzku3lrBVA87C/HSbGddBOKOpauAcRfWG013RSQ3YPsDktWj7NKopH+y11TR8Z8v+NS1CVFMW6VlmJ+NhNMqwXWXq48GNqkbnti4qMTV2ZTqFHW0MbtFyVeS7owCo3yR7ENMiuadbBB2n69kjWxX/GRDRkyfeoFndkgSzIuNzaiwgftlvG3Y8QAGG1tLmlrvZiZr0Qog0VGp1D0QiEjGnyTMH++3lykIIrofX2EHl2LX84086HeM9HUcoufKrMY92VHAjJj8bcsAySMZox62MPOdOKfHQBqVGGv9RXqfYRtZlQ5xYKQKiud2Ueu4ftRkIIBbBDtEeeAWhQgxfHHdFNad2lkN2zZf4OwZ5mspAVXwJcxoimS7ySVNB309ubOMIgQb4Xj2fnmKN63My5/DjFqVwuN4VIa4fHM9meOSFH6gi2tdwkxAseFHhilhRpKHetxZ55tUkgfw8XRsO+NiXxCCiFLkrDBv8kPdct3gWjtaohJBB4Au02xIekH3sbLUadTTcVd91+KzejI/+7D8cpMhUKJP6LwXsIaeww3wUTIootQq5X4PiYK7yYmAyMz40ULbuCX/MSBTMTcLTAc8z7QbtMsLFIgC9aYoB5VqFJGAhGHXC5KWRIf5HbpsYKYn2aPBMZbXRzoFzJuJ3uyQxCr88C3o6on4GhAuKEalds9if+4JST8i3McJsHUVZQ==", + "x-ms-client-request-id" : "919b550b-223b-41ef-8070-8115fde11dc5", "Content-Type" : "application/octet-stream" }, "Exception" : null } ], - "variables" : [ "d401e0f80d401e0f834d577779f93f96f645c45c8b40", "d401e0f81d401e0f834d6035380911fd1ba574003ab1", "d401e0f82d401e0f834d11973070a080f0c9c487292a", "d401e0f83d401e0f834d9170477dc77c4387e40cc8bc", "d401e0f84d401e0f834d9013396328a1fc18f4c8f8c8", "5a369573-59e3-4507-a679-81d6011a9b84" ] + "variables" : [ "d401e0f80d401e0f8dc2661146f11daa972db4f7cb34", "d401e0f81d401e0f8dc2237393290025d480648089ed", "d401e0f82d401e0f8dc256037a240ead078d346e295a", "d401e0f83d401e0f8dc284412d23178e786a447d3aeb", "d401e0f84d401e0f8dc200877a34181e0c33645dda84", "c64647c8-e61f-48b5-a03d-ad69fd58d3b5" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[2].json index 8b056971feeb..1b7933a6683a 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[2].json @@ -1,105 +1,105 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/ff2cb33b0ff2cb33becd132611feaf725ac6c4caeb8f?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/ff2cb33b0ff2cb33b52c08034de0e371510bc412c9ec?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "ae781030-e62d-425a-b4dd-090d2e344a49" + "x-ms-client-request-id" : "f5e4f066-3dda-4af2-b1b1-5047e9628cf2" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C098571155", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA52F175C1", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0ff9775d-501e-0070-7da9-52936f000000", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-client-request-id" : "ae781030-e62d-425a-b4dd-090d2e344a49" + "x-ms-request-id" : "04812ca6-801e-001f-03d3-5c3bbb000000", + "Date" : "Wed, 22 Mar 2023 15:30:09 GMT", + "x-ms-client-request-id" : "f5e4f066-3dda-4af2-b1b1-5047e9628cf2" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/ff2cb33b3ff2cb33becd37268a994b75f5de4438582c?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/ff2cb33b3ff2cb33b52c90290c3e5f8dd3177423f920?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "4b1b4b15-a517-4ba4-a16f-46366ddef467" + "x-ms-client-request-id" : "f03ecc3c-bbdb-43d2-a1d9-3b87e5058812" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C0986DAB8D", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA530E7017", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "6f474193-601e-001e-22a9-523a46000000", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-client-request-id" : "4b1b4b15-a517-4ba4-a16f-46366ddef467" + "x-ms-request-id" : "8c0e2fe5-001e-0063-72d3-5ca68e000000", + "Date" : "Wed, 22 Mar 2023 15:30:09 GMT", + "x-ms-client-request-id" : "f03ecc3c-bbdb-43d2-a1d9-3b87e5058812" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/ff2cb33b3ff2cb33becd37268a994b75f5de4438582c/ff2cb33b4ff2cb33becd9305253066d61ea9447ff9e1", + "Uri" : "https://REDACTED.blob.core.windows.net/ff2cb33b3ff2cb33b52c90290c3e5f8dd3177423f920/ff2cb33b4ff2cb33b52c94082e393fb1ec0c14adb9fe", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "422cf81d-e0db-488a-9c91-aaab3b8b0b96", + "x-ms-client-request-id" : "7d32bcfc-887e-40a5-accd-85b9a7e7cf24", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-content-crc64" : "id7qR8XEvss=", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-version-id" : "2023-03-09T17:06:16.8099825Z", + "x-ms-content-crc64" : "GgpYc8Go+Fk=", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-version-id" : "2023-03-22T15:30:10.8845038Z", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "Content-MD5" : "4e095AKNmaZupKAe72vSsw==", - "ETag" : "0x8DB20C0988ACBF1", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", + "Content-MD5" : "Zo9NRhsZfoPyQwImF6ktwQ==", + "ETag" : "0x8DB2AEA532723EE", "Content-Length" : "0", - "x-ms-request-id" : "f17a084c-201e-0030-1fa9-52ba81000000", - "x-ms-client-request-id" : "422cf81d-e0db-488a-9c91-aaab3b8b0b96" + "x-ms-request-id" : "4b73a9f4-601e-0051-1dd3-5cfe5e000000", + "x-ms-client-request-id" : "7d32bcfc-887e-40a5-accd-85b9a7e7cf24" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/ff2cb33b3ff2cb33becd37268a994b75f5de4438582c/ff2cb33b4ff2cb33becd9305253066d61ea9447ff9e1", + "Uri" : "https://REDACTED.blob.core.windows.net/ff2cb33b3ff2cb33b52c90290c3e5f8dd3177423f920/ff2cb33b4ff2cb33b52c94082e393fb1ec0c14adb9fe", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "f4255e8e-f95d-4415-a7e4-c291e950e4f6" + "x-ms-client-request-id" : "9c42ca74-53f3-449d-a5ce-36251ec6461b" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 0-1023/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "4e095AKNmaZupKAe72vSsw==", - "x-ms-version-id" : "2023-03-09T17:06:16.8099825Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "Zo9NRhsZfoPyQwImF6ktwQ==", + "x-ms-version-id" : "2023-03-22T15:30:10.8845038Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988ACBF1", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA532723EE", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:30:10 GMT", "Content-Length" : "1024", - "x-ms-request-id" : "f303b530-701e-0023-7ba9-528f60000000", - "Body" : "PpTFkZhMOQpprKDjAwlYDkMtSl2netR/rM8MwX687s1FwBr8xHrBK7XX+e0yNuMMXhnlM2XYBhBk/Wh7sdLgifLL7VWzyPCRIxN021lq3gL/1cf5SC1vYF7KgPK2G0k3uaSSpzl/CjkyXF4eJNgmM1VOO79X5g0gY4nIW7iWwoYlFbeEsgClVZMlBsthUS6b5If6eV4ekFCxoQhtSTAFylPT0ad59fmnr0nVHoCHmvAEGfSLaxImtXcpWKDcimh6dd/0jW+IX/MfzUsRGtxbDl/vU+tTpgOlWlDgcUhXx0RQMh1ee7P87zJxf8BnwZ3Sd2aPjiv5vKbzmbKZSz1FEL67WfAEnAr9ahYLVsaqMnkerm2czwnx7U/oO4MFVLnjLbFjOnn/NJL/7pf0OY1dkPuARiVea/TQbVYeK3kqv4MfLILAya/r7lqBalnm7xrADCvx17sJbpDE4nsbD2CwIagY0+rrH7fOm3qdIJeMS74f4B06Dv4XV7rp+3UVzQh683NTSFgA4vkUUfQFO4Bi9FdiE2lBcxYsLnAV2jk790692kDajOsJYsy2bw9jC3mNrfgKTYSalq7vPWh9Ea4cQthnrnuIImka/tsNSsbi6d1ttaR2yq+n1ULILvuTO7yuquJmWlNZ6+OXgWCkvQ/WV7UMLpNKDoCbYOwSN5103UurPXY/dJNfNbvb4n3HYDWK+bq0gf5UoG/1ee8ubl0jDOtk9BZ6EFmgQEQ5tQZqVPqC+x+YJ5uGh6ONSL4r9lnniVzrv3VIkTMxvcRawRXiAeoOypTHtOOpfbuEJVtT/Pc9r3KuevjcA0xDNLDgxO49oRFUDiWHhNyMCTGea0Y1nc8sWlMiPwZVhfD9yHP/foVrIq7wTW1hcU662WQslhwgnfj9jQvJHfSB7unyLLWT0ODYjbuNrIVLMedBaFDHMrEZ6B2mVg0VNRw5GQnfDcry6wvNw/r4wNgd6wM98HRdcUkx0mwnmrOt4zAy9wnK9I5M6Gqu6QlVKeec5AsJOeafRmn3LClxOTib/Zz9RzNRMxZXKbl2PhHD31lj8PokPvW90qsEB3RAALjA+branDkgMbQAKgBSjklD4FCkB8qHqHH8txr04K5c55c6mip0d9XZ1ONrqyB82cn5dmTZ0Smct6/84yTfzAGEbwsIQOGWJB1ejvTdezMBGfaasfwm7LP4LkBWURvPpiSlcb1K990wYWtXDMEO/pRR9WTwYK1hZTLE9HY3dGiSDXrNgBp1yXfchEL2x1LGOX8C9vHZiqApeJ/SLRe3NKK5Vaf5qBUxtxvmyMMilCFlKv42Hp//ipVtBV+kOGwOSVfY8paMcHVIfBQVVUgG5r3KWCpQz84qhA==", - "x-ms-client-request-id" : "f4255e8e-f95d-4415-a7e4-c291e950e4f6", + "x-ms-request-id" : "09a06ab7-101e-0033-45d3-5cb986000000", + "Body" : "dxNAsgc+R0MfE7NpUfhDO9oJCx9f+bkWTCECUqafriW+fj0wVTVmoGSIZ/A1VoLcveL2rfLH0FnQE9451bJQoGYjAq91earxaToQlu/XP5oLASKFnAfddG+agQVkcgE+2m1sDiKZTgi/wD/JrkIAPypKFKiJZWr9Ra97iEWUegwXEiKVGZUl167WkNBDR8LiUFCR+iedI8tidxXDSlBBmC7qUdOanA1LsZ3bzqXSa90JmQn/q3xk0UwtidutOLeNxyRj7+vZTTP2r+B+be4/b7Uzfm6K+VcCets7vomiPb2Zw+uO1U4xht8CVNFbMQChB6DQZwBVFLva5oMUXp4tPPNpiL8lwXDGg5lxS8+/m6+HBLn5jFBn9EtpxuiRgKYSNntvXCy3PY4tB4bfUNyNMRG13DdyckR4JFz1nen5dCRZidluQIQATdzBFPwJCE4GVAm/4DdaB6irkrjXFMCUyWQTmfA5ZRsVwkSGuUezcwpUg4bXKSX885+Ey48gxg7Z9ZN7KfSsRO/GAohh/H1vfelF0FnV4t8Ar+hZ3AIFNr++302Z1ABKiQIpiAY/CPz/PtsL548ZS5wBH2XaEtSElgTUnQE8pU4+RTH3hMpSqBRSSxlE7Vo4DaxrfMaN0ZwgIlWTqxba1maRRDkTe68dFnqCI+NM6BgCPgFSjRJbK+sEnXp3T0cyl55tcXjTQQOp3QfxPEpnKVo22/YEJpa04q3Z2ZxYeRfzVpuQHXoPocn3AyVWSqb4S4tox46wCIcTsRssQ6dtggVXc1JvuaCktxeXKsDzcFL3IwZTGX3BWV+7lJtENC8onHT0EXP+MKks4H/E4rF0AEVdSchYvRBXfAkmVX38ghH+NOmfA1xvZXzMEXtAMzUTE4gasJOE0JWo6z5PA4KkLnVRKoXmCM+gd6R7YrXrEKUQaZ8BkUo9QxtHC56DSRL2ijuxWs3dZ1ItCV7zZJFVSVi59dgLa17/YhjyrstbamCIk3ohYtlmi+/vse8ooWSZzKW9WpCo/i2P6mMFNsVW08GwOMSwng4PVBz/jdjY55F2THSOzKU0Pjhg+VJLGIrN9x3WLJvyR7pCruJkrLoVsqlFnjkvaXsqOa/hBGrqy2WdGciXiD/CHIaS5dBYDwYPfhbCBSbhWrMyIKGgr1MV7yUVMQ8sE6TlvA6jzjViFs1EvjJ7a1ygFr+RH4qwcb1TkzrTNxGhywX9Nz+D8IFesfcsqpqcECdFk/UGDcTktfle4dLZmT+fqfN8Le3PADW9SMWzH72UMNmoz3HDy1LXQX8YSc855m1szxlHd4u2wwXj4ua1aGRNT/K76bNm5D30uySmQgq2X2fMpTFoDz2sOaJP8aouYdVDCQ==", + "x-ms-client-request-id" : "9c42ca74-53f3-449d-a5ce-36251ec6461b", "Content-Type" : "application/octet-stream" }, "Exception" : null } ], - "variables" : [ "ff2cb33b0ff2cb33becd132611feaf725ac6c4caeb8f", "ff2cb33b1ff2cb33becd64179fcda0787cb344df1b07", "ff2cb33b2ff2cb33becd778547efc4583a8ec4897988", "ff2cb33b3ff2cb33becd37268a994b75f5de4438582c", "ff2cb33b4ff2cb33becd9305253066d61ea9447ff9e1", "ab4b6395-5038-434f-ac69-a660e0cf7d3c" ] + "variables" : [ "ff2cb33b0ff2cb33b52c08034de0e371510bc412c9ec", "ff2cb33b1ff2cb33b52c72992f07f95eb49b1425fb2e", "ff2cb33b2ff2cb33b52c37660901cc4925274412f9c5", "ff2cb33b3ff2cb33b52c90290c3e5f8dd3177423f920", "ff2cb33b4ff2cb33b52c94082e393fb1ec0c14adb9fe", "ecee75a9-62a0-4c07-a4ab-0e5ce39f6bcd" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[3].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[3].json index ae0ec80daaf9..c21cfb85a707 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[3].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[3].json @@ -1,105 +1,105 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/e637827a0e637827a9d6805246d8fecd5ea9e4e16be7?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/e637827a0e637827aef1063793b3fa434e7cf43ac854?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "d95740f6-518f-4bcc-8812-0bfff90cd8d6" + "x-ms-client-request-id" : "80ae78d6-6ef6-4389-9fbe-f93141cf6ca3" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C098500C9C", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA52F56A4C", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "96730f09-d01e-0007-2da9-52162e000000", - "Date" : "Thu, 09 Mar 2023 17:06:15 GMT", - "x-ms-client-request-id" : "d95740f6-518f-4bcc-8812-0bfff90cd8d6" + "x-ms-request-id" : "f10a1f3f-301e-006b-44d3-5cbdfd000000", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-client-request-id" : "80ae78d6-6ef6-4389-9fbe-f93141cf6ca3" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/e637827a3e637827a9d674937cc43a15aead24450a43?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/e637827a3e637827aef169690c702adf67661438abd4?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "2f7a8794-cade-4711-ae64-23bcd4d19fa2" + "x-ms-client-request-id" : "4cf2ed80-2a36-45f5-bf9c-da2299b869ae" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C0986B31D2", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA530E870B", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "96730f69-d01e-0007-05a9-52162e000000", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-client-request-id" : "2f7a8794-cade-4711-ae64-23bcd4d19fa2" + "x-ms-request-id" : "4b73a975-601e-0051-37d3-5cfe5e000000", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-client-request-id" : "4cf2ed80-2a36-45f5-bf9c-da2299b869ae" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/e637827a3e637827a9d674937cc43a15aead24450a43/e637827a4e637827a9d6188271806cd036a964db0b2a", + "Uri" : "https://REDACTED.blob.core.windows.net/e637827a3e637827aef169690c702adf67661438abd4/e637827a4e637827aef189970695aee61543c4109959", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "e05f3cc7-1a57-443a-befb-784a5dfb8398", + "x-ms-client-request-id" : "cc1ff86d-eda3-4d92-90e3-d946aa6bf04b", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-content-crc64" : "bzCi4EG6bBs=", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-version-id" : "2023-03-09T17:06:16.8159801Z", + "x-ms-content-crc64" : "Eaaa6RxsnTs=", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-version-id" : "2023-03-22T15:30:10.8835041Z", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "Content-MD5" : "VlYjYgImSbAfgUAxj58ADA==", - "ETag" : "0x8DB20C0988BB639", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", + "Content-MD5" : "UpV+flF8cRrDYbIbN5MscQ==", + "ETag" : "0x8DB2AEA5326FCE1", "Content-Length" : "0", - "x-ms-request-id" : "74074c94-901e-004f-66a9-5224b3000000", - "x-ms-client-request-id" : "e05f3cc7-1a57-443a-befb-784a5dfb8398" + "x-ms-request-id" : "cc9e9695-201e-003b-7ad3-5ca2f5000000", + "x-ms-client-request-id" : "cc1ff86d-eda3-4d92-90e3-d946aa6bf04b" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/e637827a3e637827a9d674937cc43a15aead24450a43/e637827a4e637827a9d6188271806cd036a964db0b2a", + "Uri" : "https://REDACTED.blob.core.windows.net/e637827a3e637827aef169690c702adf67661438abd4/e637827a4e637827aef189970695aee61543c4109959", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "6aaee5c8-345d-478c-8b02-733a880bceb1" + "x-ms-client-request-id" : "373868dc-57b0-4ec1-b68f-d594a5aad319" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 0-1023/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "VlYjYgImSbAfgUAxj58ADA==", - "x-ms-version-id" : "2023-03-09T17:06:16.8159801Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "UpV+flF8cRrDYbIbN5MscQ==", + "x-ms-version-id" : "2023-03-22T15:30:10.8835041Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988BB639", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA5326FCE1", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:30:10 GMT", "Content-Length" : "1024", - "x-ms-request-id" : "e3611328-401e-0046-79a9-523e3d000000", - "Body" : "mSS1r/76Rc5ziMVo3XRyIo3OAelA9KpNZhv7+HdhyDFNSHwABlWM0hEFVWlxH1blnlvXYB4+XTbKHLM5M7nHPaA10d/Tme114b6aNDWt7pObVBU7XnDqAQT6qnSPGTHc/Q0pNJ2Pqiblrlsn0IyHq6PwixUCevFhGYacFA2QRi1XhwUOzdB96UPg0tw9Pi5HmT+u5n2t1+BxJARVxHwL1qJ42SyDnibLxRDsTU2p2w2l/uJGOTsenlfxlCzc0ByGV3ZC4hGDi6ha4QH0IsQBk7F8a04RfPzgfHrZBROd4g/0filDfsSeepOWAea1ibdT7Y6SHtcLCRd1BwOJO/D0Znq3nDYFp24OJmkWIVJA/cdMlRWRz7P7AzhyKVi5Bc657jd0WpN/C/VvZj5wFxDTtAWP+TQyJdK+o499xQjEI6XY5xPmTJYtgurgarB46RsJEj8+tK2D4Zf1JzA5NIuCMMZq3KsG2cTjunAOgb67hhS0YCH637+eKlN/DzNgUwPdyhwdGsxd3LclhDrLg/v31O3r4/XewSetRW4dkkAbN5D4HpmkXLV7CRaArus3eS1sBGpDorNj1wY2CqASn6ahjupz8U+qDXBImnB6tp+HlowFWhkO2TtuVvfdbsHbjF0KPCyGMFskJ6NjSRf9UHKa0T+l0n7CN5pXPLJ+eWSXwwMPo6COSwkGJUi2Fro4RMeExCOxaVIG54Yd5u1eQXAvW4rK+AkHseUew3vMhxbeokbsMAntYlJh+pdXE7GKoDv8VIjnhlRXn6pxZ5OR/VwYb9JP7aY+zXakCdxRO+/eDvwcItjnprHSjZbQj8HV0Lu+1d/5QicJ3R23SLIiL66UXRK6ypWp8U9bl6gRh9pCXicZ4TLd0iOJIksLhsyiS7vva9v5oryXz3V9G/gzGwysBwTJJWToQAKlT1KUILDtEGPgFvXicRXigXnAuJn8e88ywWbBeITUmLq0xZN3WFJaRS+vwqsPQEHoWlrsQLTOUYLA15XmuL1Mqk3P8hyqnfwKmVXaExCT7UQYKINQ0HO0fTSMbrMIMWwXVXMwaU2IVK9i9gppo0LBAk3FAvyupHzYk1t48e1yNZjluEcg+t1UvlWVnUwrHmPut5pvGgNLqyQaqWXzU2IFCH+i7+3/SwbLPTpHWb5Cwz643sNZVjfbHEeYQj4b09yLhraxj7x/wm9t7bt3pp2LbNYlFl2Cp39WXVHrmJq4Ro/DFxl7KZVE9jnE9A7kPi41O4PR9Tgd/QHjVVblGCDp9uItfJRP1eiue/16Dah7e1E1OaGSe4SWmyXlJARS+0pl8t0i2crEtc8PLkph2uDpurf58fAiqmgVsnAr3/m6mLXpUsu1ToIIbQ==", - "x-ms-client-request-id" : "6aaee5c8-345d-478c-8b02-733a880bceb1", + "x-ms-request-id" : "8c0e3049-001e-0063-4dd3-5ca68e000000", + "Body" : "ySldkv2zDsViazyaT9SnB/ipEMvGajL/vOlCak/2/2hm/+HNHSgRkiwPaF3OrPZWiDIdkDXc2tJjXVNoxfG0dWHiFse9RTvXVa/Lx3VflGY31vNPiLMqXAkEw5CrBM+IiXbr2W+81hWvotMJRbmhHD9hhBV2EYTx9+tijPS2oDgjjYn3Lc64HJ9sD2pCerbWj7BpJ1jrEIBOBVX/1i9Bz2jfmQ3RtxSuoDurP/cxQ9VKlK/yrXuDGYEID39OWt8iBJl1ep6pAim+typ67yuiOUaCgnKXQkSC2axj5poZpeKZsg5RtU+9ohwhP389bKn3jhgz+l2WL6rwLgxEvY0ctDocmf6h6teZbr7SqPW7z6PhbzfK58NEXDYnbPX+Z0lJ8Lc+W8z37rOAm6MWsMU2VzA+FIRFv+jbcLCJPGlP6Ks4JGhOB2qVxK2XB9gMQiz7JMlXZClknpgz3nPFTFWGVoNWZPYGcoCyaMSzqyo09C2VqBAlaEZWm22DkRy8eWJYtQV5suLWM663E6G0LzbumhRZao58ErjS3UiSDA5AS62n5KWFld6wk7JWaIzD1WcQYp5ZBgV+B+6WE/w3XlPqJqaspAeBxuk+CYyvDJUArtX3tYLjQ8iGCIC7jgcLOzDB8ffvgOrL+xB8foIC1IAvxHxZw+KeyngB1xH4Mzgf0v8+7Nrdd8Rx4mCzsL+3icJuUZEK4h+ZJP+qN5LGTZ0L/zW1A9y1RhElIamKJ/dTXzIIV2ju9LJ8RV1EJmp1rBY29M6qNJRi9AW6ZZhlUMrhY+gHf8bwwks7JzztSR6SC4aJILmN6Onx9j5VI/YERqTua6fALQjwCDOVVkmKe+YaFHvmfqrpSJYkU3itCVdbBaDA8SHQ1721TgWV8ZsFqVOaQm11rLPuLgSy4q+VFLYqDEk+LQEbfWegLKmJR/ZkZ07Km40zx0WqU6mJOpYGBpNwHjKfVDVMXnuRK+BUzWUeOvVN1dSIPE6bmGJPHYD7SDmJQvfprafLww8iTR7N+23lFn99rb9dh3930RLO1lPJ1YgHpkesiqrtV9bqNX3QYn52RIvPGHlS909nK0vi9e1aT17DzYEfS0Vs/KJ/KUtRP9KXveSj2wLKvPDq8IAecAfDW3YbHQB0DiUpSshfBf6v2/Fxq1MYZ41y1BrtEZ3TIP8OeT2WBjsBrphD73RPsIK1tJHggmCOu7XBhWf8H83G0xNiH6et960HRWct/cRgOnhm0sBrbLBd366Y9ymRdUtA9Z2ELwHxW4RMJOFW8XV7srvSiq/z+TfeJ7UUhILcVv1fQsGuHqkIS6gZjR4EweTkcd5S0bU/WLPsDoiAqsuc9SQlhstF6EfZMp9juZWskg==", + "x-ms-client-request-id" : "373868dc-57b0-4ec1-b68f-d594a5aad319", "Content-Type" : "application/octet-stream" }, "Exception" : null } ], - "variables" : [ "e637827a0e637827a9d6805246d8fecd5ea9e4e16be7", "e637827a1e637827a9d6112436d995c3c82554ab68f6", "e637827a2e637827a9d659296d0bb65473d144102852", "e637827a3e637827a9d674937cc43a15aead24450a43", "e637827a4e637827a9d6188271806cd036a964db0b2a", "778fce9c-b603-4f98-ad3c-6084fd1ca6a8" ] + "variables" : [ "e637827a0e637827aef1063793b3fa434e7cf43ac854", "e637827a1e637827aef1428605e4f1460ed7d465faad", "e637827a2e637827aef1747338e38f69843ed4c518f8", "e637827a3e637827aef169690c702adf67661438abd4", "e637827a4e637827aef189970695aee61543c4109959", "fe5d44a8-cbf5-472d-a04f-a24c7c71b49b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[4].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[4].json index 34d831da302c..a0eb71a66363 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[4].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[4].json @@ -1,105 +1,105 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/a97614bd0a97614bdd9565269571216c2ab87457c95f?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/a97614bd0a97614bda8a59031febe0dcbffbb4b8a9ab?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "1afdf0fe-9e0b-4252-bf79-1752d2653269" + "x-ms-client-request-id" : "c73d9270-ba45-48e0-9a7f-59dfb4b48ea1" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C098506249", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA52F1A473", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "15481587-e01e-0004-74a9-521529000000", - "Date" : "Thu, 09 Mar 2023 17:06:15 GMT", - "x-ms-client-request-id" : "1afdf0fe-9e0b-4252-bf79-1752d2653269" + "x-ms-request-id" : "dccf32ea-001e-002c-32d3-5c6296000000", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-client-request-id" : "c73d9270-ba45-48e0-9a7f-59dfb4b48ea1" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/a97614bd3a97614bdd9505286cad8fdfd587345a8ab4?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/a97614bd3a97614bda8a30413b85844fffada4f749ae?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "8bc63dec-ef9a-4945-9c82-ba6a601247c2" + "x-ms-client-request-id" : "efe7d8a9-4432-437a-bad5-74dc6dbbae98" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C0986CDBF8", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA530EEE72", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "d78bf28a-b01e-0035-3da9-524efe000000", - "Date" : "Thu, 09 Mar 2023 17:06:15 GMT", - "x-ms-client-request-id" : "8bc63dec-ef9a-4945-9c82-ba6a601247c2" + "x-ms-request-id" : "dedbf0cb-401e-004d-1fd3-5c2649000000", + "Date" : "Wed, 22 Mar 2023 15:30:09 GMT", + "x-ms-client-request-id" : "efe7d8a9-4432-437a-bad5-74dc6dbbae98" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/a97614bd3a97614bdd9505286cad8fdfd587345a8ab4/a97614bd4a97614bdd9513526d4cbb883f2a1470c84b", + "Uri" : "https://REDACTED.blob.core.windows.net/a97614bd3a97614bda8a30413b85844fffada4f749ae/a97614bd4a97614bda8a03026e823967ce9e442cba80", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "f86c43cd-bbe5-48e4-a764-fe28b77cef37", + "x-ms-client-request-id" : "f2f9d66a-8d31-4700-b06b-377a500262b7", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-content-crc64" : "IRsW4F3UnEg=", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-version-id" : "2023-03-09T17:06:16.8099825Z", + "x-ms-content-crc64" : "Jmq6iYOTQlA=", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-version-id" : "2023-03-22T15:30:10.8875038Z", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "Content-MD5" : "reAgaIPzQm1eAO7RF/3I0w==", - "ETag" : "0x8DB20C0988ACBF1", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", + "Content-MD5" : "pLwvZkFwcRA9SDxd3fx2tQ==", + "ETag" : "0x8DB2AEA5327991E", "Content-Length" : "0", - "x-ms-request-id" : "b305e709-201e-0019-36a9-52ccc3000000", - "x-ms-client-request-id" : "f86c43cd-bbe5-48e4-a764-fe28b77cef37" + "x-ms-request-id" : "f10a1fcb-301e-006b-40d3-5cbdfd000000", + "x-ms-client-request-id" : "f2f9d66a-8d31-4700-b06b-377a500262b7" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/a97614bd3a97614bdd9505286cad8fdfd587345a8ab4/a97614bd4a97614bdd9513526d4cbb883f2a1470c84b", + "Uri" : "https://REDACTED.blob.core.windows.net/a97614bd3a97614bda8a30413b85844fffada4f749ae/a97614bd4a97614bda8a03026e823967ce9e442cba80", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "61a7e692-098d-46e8-a814-946ed5bdb2c5" + "x-ms-client-request-id" : "345d4532-c360-45bc-9239-57546ea076e5" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 0-499/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "reAgaIPzQm1eAO7RF/3I0w==", - "x-ms-version-id" : "2023-03-09T17:06:16.8099825Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "pLwvZkFwcRA9SDxd3fx2tQ==", + "x-ms-version-id" : "2023-03-22T15:30:10.8875038Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988ACBF1", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA5327991E", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:30:10 GMT", "Content-Length" : "500", - "x-ms-request-id" : "b305e74e-201e-0019-66a9-52ccc3000000", - "Body" : "/b5TJ3KUSfs7weHghzYsrFZFdb1tWNYimpl+JYr791KKQHZAR2qEJt7G8TQQZilyCJBH8kcwCQqex9YfaqBNa1OQc5H3tiUlbx14zNG7L5jisQLTO8i7O2QY9sia7+W1RhrYOaTfNC7YVhD8qBcX9JKz1DEGkHPvav2gOiEmdWr2TREBRy79r0jrRGtjfACNrbdmY3rVkhqwbpznOV9zmBnvhHYrGE4itD1EV0n6c8or00hd/PLG3j23XnzRph4wCPYRsnDUDb1RsIHAkmlhgOl10GcGzp1tmFFdswvcvKFCAJ0iiUIYTRzJtM7q9I1jJmMryaal3ABP1Iltv2NHjelQiiq+IKTmUmbo8vJzOJkGOqkF/TByIHTuzx/3qupXQ2FHpKuSqCH4AozTv5X+4xKOfQ/CDR7wGnSmLnF5AwA6AUbLv/f84VQLudpZ20xnto98Br1+J6jdegUhIBSEM90HC3C+ES1qcUEeUz5i4xnCRJT2THq9rVeGU6yrL+t/3ZMy0EB7O52gMUNc3H45x+pQBFrhCNr4rMQbe+2yNm4R3IvlMG7M4PK2FaMaJ8ruRk6WAoHzwpb/Wp84c0l8gPKProFN2nIGvo/zt9Ask+fStVhzRsKBIfrBk9sBxhFSH8irFazLGQAhAqIPSkhRbe9XnqI=", - "x-ms-client-request-id" : "61a7e692-098d-46e8-a814-946ed5bdb2c5", + "x-ms-request-id" : "a200a160-301e-0024-4bd3-5c79e5000000", + "Body" : "vU/uGkBhnRQfIMWsSi0TWlPjuSfPTQOnTkqGuz3cHOfqAufAPTT0ksXL6AMZuoPQoGEIpQwjyZuqrKxXykkHvWA+hDzDlt9c3ISkt+difAzOJpM7AU1biHtTUB7fjAtfaoStadW0yZKuys/QcVkdje9XYoVNkBsanxPHymFyjUv8xlPGTJue8MpO/VloThQM9l+8y6BL6rR3VCzta8FipCs4qo5T/k8ThHntWvDbaZY7SEtSQSaQlWhcJ2LNzfzcs6p4TOtPm3d0/hwJIcChOPqgZIOJDj+dWq1+e4jaQaxwgintZSYMGvOA4Y6J57cn0/k1aWaIxPM8cQqgU0xA+uU0dYTq8nTloUjGxqlHxDdL6tfV2UtHB37216kZrCWduFnN+/YHWMriBRuNc4lPAEqqiRp4M6qxlTyQkXl5I/wzS+kQ2e/6blum5tXTg6JFnDqXNO167nR6kHMGRc0rGsVWFjA1Ex7lejmwiSOGmh1wHazkdE0v0Ss5fGoDzK8df30t6YOvkrfs5M9HtHLMzdyelDthpBCwKTR6Sm/oySWYxFD4jh0p7yXpOZFMqQCQVq2vxZh1u8L5ATrS9/V9IOoV0h31Z7Fj27X1iqPBUUE8QpOkEzLBeKOCCO09C/lgcrDlSq0xCMuLDrN75RV4f05apZQ=", + "x-ms-client-request-id" : "345d4532-c360-45bc-9239-57546ea076e5", "Content-Type" : "application/octet-stream" }, "Exception" : null } ], - "variables" : [ "a97614bd0a97614bdd9565269571216c2ab87457c95f", "a97614bd1a97614bdd9547648b8d28a31cd9f40c389f", "a97614bd2a97614bdd95282259202933fe3c144b9a33", "a97614bd3a97614bdd9505286cad8fdfd587345a8ab4", "a97614bd4a97614bdd9513526d4cbb883f2a1470c84b", "5f4c534d-8144-43c2-9b27-d58c9815e8ef" ] + "variables" : [ "a97614bd0a97614bda8a59031febe0dcbffbb4b8a9ab", "a97614bd1a97614bda8a087658a6bfc4c4cb24373a87", "a97614bd2a97614bda8a19283438d12ac8689443eb03", "a97614bd3a97614bda8a30413b85844fffada4f749ae", "a97614bd4a97614bda8a03026e823967ce9e442cba80", "9ae2d2f3-71e8-4102-b3b2-a31af4a02822" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[5].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[5].json index 135de22848d8..621098c3ced0 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[5].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[5].json @@ -1,105 +1,105 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/b06d25fc0b06d25fc16e953632e5c55762ff64b88b3f?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/b06d25fc0b06d25fc13e52334223f442868e24effa80?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "3a472ed7-d305-4bf7-81e6-7d8655e14d42" + "x-ms-client-request-id" : "33d8e044-3b4e-4239-a493-199d5d2d6355" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C0985521E6", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA52F3C31F", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a358fb67-301e-0024-5da9-5279e5000000", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-client-request-id" : "3a472ed7-d305-4bf7-81e6-7d8655e14d42" + "x-ms-request-id" : "a200a07b-301e-0024-71d3-5c79e5000000", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-client-request-id" : "33d8e044-3b4e-4239-a493-199d5d2d6355" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/b06d25fc3b06d25fc16e13343c220233e7fd74433827?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/b06d25fc3b06d25fc13e79552cb9c1684bda9456d847?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "03522d74-b2a8-4de0-a147-64bfa8e5ddf9" + "x-ms-client-request-id" : "4fe5be2c-2172-4c3a-b56e-27d460d1986f" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C0986C78E9", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA530E52FF", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "70248368-d01e-0043-55a9-52ca42000000", - "Date" : "Thu, 09 Mar 2023 17:06:15 GMT", - "x-ms-client-request-id" : "03522d74-b2a8-4de0-a147-64bfa8e5ddf9" + "x-ms-request-id" : "09a06a4b-101e-0033-61d3-5cb986000000", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-client-request-id" : "4fe5be2c-2172-4c3a-b56e-27d460d1986f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/b06d25fc3b06d25fc16e13343c220233e7fd74433827/b06d25fc4b06d25fc16e71948e14b4f72712a4540b21", + "Uri" : "https://REDACTED.blob.core.windows.net/b06d25fc3b06d25fc13e79552cb9c1684bda9456d847/b06d25fc4b06d25fc13e166453045a48ac6194e1299f", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "62985d9a-cb60-47fa-b4db-b8e248f78317", + "x-ms-client-request-id" : "8bf86273-c46d-4cbb-8ec4-02f6c21ac8c2", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-content-crc64" : "aoUYuHUiIL8=", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-version-id" : "2023-03-09T17:06:16.8099825Z", + "x-ms-content-crc64" : "L5QSD0ANLds=", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-version-id" : "2023-03-22T15:30:10.8875038Z", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "Content-MD5" : "59qqlhnf0MUHPJs8X4jpcA==", - "ETag" : "0x8DB20C0988ACBF1", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", + "Content-MD5" : "Caz32DQqrAZwEz9SHmWw0w==", + "ETag" : "0x8DB2AEA53277209", "Content-Length" : "0", - "x-ms-request-id" : "a358fbf3-301e-0024-5da9-5279e5000000", - "x-ms-client-request-id" : "62985d9a-cb60-47fa-b4db-b8e248f78317" + "x-ms-request-id" : "04812d3d-801e-001f-0cd3-5c3bbb000000", + "x-ms-client-request-id" : "8bf86273-c46d-4cbb-8ec4-02f6c21ac8c2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b06d25fc3b06d25fc16e13343c220233e7fd74433827/b06d25fc4b06d25fc16e71948e14b4f72712a4540b21", + "Uri" : "https://REDACTED.blob.core.windows.net/b06d25fc3b06d25fc13e79552cb9c1684bda9456d847/b06d25fc4b06d25fc13e166453045a48ac6194e1299f", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "97e8894f-fced-4f37-893a-d20499b0b17e" + "x-ms-client-request-id" : "e0182db1-42af-484d-b930-adc277ad3677" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 0-1023/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "59qqlhnf0MUHPJs8X4jpcA==", - "x-ms-version-id" : "2023-03-09T17:06:16.8099825Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "Caz32DQqrAZwEz9SHmWw0w==", + "x-ms-version-id" : "2023-03-22T15:30:10.8875038Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", + "Date" : "Wed, 22 Mar 2023 15:30:09 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988ACBF1", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA53277209", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:30:10 GMT", "Content-Length" : "1024", - "x-ms-request-id" : "80513738-901e-000b-49a9-52f8df000000", - "Body" : "rAn/dchDlu77ky8FdMbFm0p7EPJyP5TsDEO+fWXmff1GiuanFk47Pi9t6mDza4tKscb07xOyF/rbOLYoI8ois4sOxYLcafw3ykWN2/tNrAy9sdj517Yc9BD0g7//WQHcS2HjhIiu/MdviFtA+FVDU8ldaRruOXcm6cGzCfdWy0EOmW1NLSca85W0R6yZwx2vJ79zk2wx//22/ZxUi3i9Zo5a5aEAI1MeCaVpMFAxbj6chyiPyXUqtV0/Zr9BOS6DO+upNdwVVVJpJofp1agrJ9/gAo1iKtnr2dnw2CKzefS2E4ASvwjXoKndqB6jx47hHffbLfa1Fsi2qUUHO4zcZVbSQ7RLmqEjkn71fXrzXlJ4U/UpKUvRc5czXcke8w+8pt0tRUaPZmc+Uk18254BOYMGBAsEAcqJsRJdZV6ruFTk9lbrGvPJdp4NYDGPnX1Bx6KGu3N7P0pNt6T+Fir7eoQMY8NVyD4k9Pc2xyGJ5B5CB/AbxiMVPkp1Q2BjwsYKrCx+9ypJmaNZYW25XzXUbuP5cJUw8XhFmOKxAeXhqRy1RxVd77d4/jhpka3dNALLD5JqEUvBSe2+hejsQl1BPLDC9Cadv+pw0RRno3FtA1ofc9PTk0DATFTULTakzJQb39m2hFNk6kW3tQeZuLzBZODWGXbmYhybioE1pzb48e0306t71IOcXVKgF4SQrFHyEWhMpwpsWSOgHGsYqlQZleUApuAE5mshXjKMrpw3GjDo7JNlJ4gqOmz/gbS2j82TxpNTHW7dZkxrKbwaw52AeI7BRxxJ9MFg14ykC5IsGEntPRBXwXeAmFtJtI+xSIoeniIncd+2JM1gv9xsezDVTyGlWKBOPpcT5lIKVFXAJsGqR4GSP+gMJ5cHkHU031f+XKVJGYyGY5kZSqhqYa8TzbZNVocgi5xmo3ooKICHOupNY9VGlVKvsdIMSlrO94wAu/G6WR71Ymi9UEUkqV+rBNcumHOmwXncRjmnJVXXOjglGwnzOcd2+LOzDMz8cchbkDV3oKMQ6Cd8ZIMf9hsQiVY2pyhWdqbMZt14O0uZ3M1DBXNmkComxtCgHrN1aAqvIV9wx71jASRMhrr3aY2PA27eVy4ZyZg7cVTADtiIBiVPWwdjmYU7iO6jCiay/1rWxdY1TgslA6jiX1bb69Yazh1lnk17n617a3eF6oDH1uCty8rv2TaCn3yUYtG8rin1vMX9Y9gK9LT06+hItx6uVsEkSB4Yh38C63qwCB/znYvQP9NIhg9u505FUII67k9qUWYe/QOP/UWtaY1VKqKD/PJJlEFDzB/+Ux5HdHMqrHbek7j096jfp5frfOO6eW6dLhl9Ji6vuBxxt83uzz+Q2w==", - "x-ms-client-request-id" : "97e8894f-fced-4f37-893a-d20499b0b17e", + "x-ms-request-id" : "dedbf1ae-401e-004d-73d3-5c2649000000", + "Body" : "eusnoNl5gVJA0ChyR6wPIRc6mS/gaDq6cFLiey70lrve5in7o3Hcg2H58+xGEgNPbcTFE4/y7H0gw0ZdsZM/b0IIm83pqR9bBROzvImo8/eibpWB3dUzhDtSaUMUFPXauzgNQNfB+uWAlCUvNmz98Qxp5QgRValkKEVy6ydcLwIE4iabbHabFWYg+hRl3qCO6UrcToRZyUvO/CmR6qH6gPvezHn+CJx+FSlnKKEOjBPZivLII8LPTxtiJyoWnTZ6Ivxpj7L153grpYNbbXWKLl6HYQbxAaJMgWKvCpWJmVofCHayBfoQKgzUUaC9nqX0Yx872IMO3r50fFdzBvogtzx0nv1Ga84ZXRKuSHmkwDOy2quugp5oP+1bvZY6etr46IQyBBndoG2MvpPw/ng4vXyiKRAtuBRS6oblfroBLhs0ErVI9RfUzUUtagGcAVPX1gmRJdSPPjPrGRPaPjYUfVbYtV6nX1lD/q1LQRkBhzI2JnP0XrZzMXeUKh83fuKoKVhUY80JNBNsn3iNLNLmlvr3FQfEl4LplbXxqUbjlgGsRw7CXGRyuQyUaNMD8jf94WLp75NJi2xUaL5nw8TNd3+Su40b7Oyqm4YrmL5age6QtnJMbqnr8EPAZm03WsvDaerZDyXTRXKeHg3i8a0a1A7H8KmKyyAw+QWEV+IFQyXU54mSa9fiEdsErCQmL4ZZSJU69DG59/yO01qmNnfGVE+639MwadtR3kf341mOnyCOh5rlP3+n7iBB+l5ZnQYmC2lpA4shFcZ20MMeeoLpzxQyqESojK42UCFkG6dpUFVfowyl6IgI5jXm6zXuMwTycq9im/BgjdjCTdBbLmLvHUUhnjaHLeiE88Mq8Q93ljQliQ15sYq4g6EDXVsxBGCC2pPU//wJJFZLPCZ3p9YzVAswkj4Z9ltBGFC+4qb2e6LhJXkGrTuD7xxuWIp5bglq6wRo62mLyQDajL6TuAwKF0GM97pYCU7nCYnLILiVW1/r8ERfdx2tzprsofBFGFwNg6avk4o5QkL6odl4jlkeAhiOGAstqF8slBe/8mCM5MhVr6p3KLlLYpmXYiGXxzKV4t8TGgjf840D2N5b0O/tQwn9lYvqkTsM1gYqCGMIE76cm7+xmQvWfqjWNA6QH97jFlIlrtsw9+dkT0+F90n3YAABYwYHPBlOSmcDn01hr5iWvT6z2/zZEzmoEYdMer1TqkI9p4zBy2wwZTwI60WJSscLkjcdPUMBEkRSdc/RHc+YflOU9P7s2akfsdUAXKMrisZ9uKlPitXshYYg4C32LLBG1WUhh94QhFajaliy21/nxWN22y/T94xFDBRTO7bROrlZC4mLavCYRskEbyqrbg==", + "x-ms-client-request-id" : "e0182db1-42af-484d-b930-adc277ad3677", "Content-Type" : "application/octet-stream" }, "Exception" : null } ], - "variables" : [ "b06d25fc0b06d25fc16e953632e5c55762ff64b88b3f", "b06d25fc1b06d25fc16e8241824b6c92e6b6f46a5bcf", "b06d25fc2b06d25fc16e597584f9ae0298e284a2e92c", "b06d25fc3b06d25fc16e13343c220233e7fd74433827", "b06d25fc4b06d25fc16e71948e14b4f72712a4540b21", "dbf5cd6d-f921-4ad9-9cd2-6a5f12a62ddd" ] + "variables" : [ "b06d25fc0b06d25fc13e52334223f442868e24effa80", "b06d25fc1b06d25fc13e58349685f4687232e4601812", "b06d25fc2b06d25fc13e64125bcd27d306c034aa5849", "b06d25fc3b06d25fc13e79552cb9c1684bda9456d847", "b06d25fc4b06d25fc13e166453045a48ac6194e1299f", "5f753837-e59d-42d2-8c77-7bb9cea9e807" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[6].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[6].json index 49b7d2787cb7..00db04e437a5 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[6].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[6].json @@ -1,105 +1,105 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/9b40763f09b40763f91d399951ad444b417904d4bb31?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/9b40763f09b40763fb5c7350545c99e68e0824115bb9?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "39ee14c8-58c5-4ec6-a36a-aef25affb289" + "x-ms-client-request-id" : "f6c56368-2431-46b2-ac17-1c12a30f5889" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C098519FD1", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA52F18058", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8b3ef478-001e-0005-4ba9-5214d4000000", - "Date" : "Thu, 09 Mar 2023 17:06:15 GMT", - "x-ms-client-request-id" : "39ee14c8-58c5-4ec6-a36a-aef25affb289" + "x-ms-request-id" : "09a069f6-101e-0033-0fd3-5cb986000000", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-client-request-id" : "f6c56368-2431-46b2-ac17-1c12a30f5889" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/9b40763f39b40763f91d2687724ce04e0bc354d04b2a?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/9b40763f39b40763fb5c0026563ffef007449432eb79?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "9e5b9e8f-8eef-4cdd-b748-3b0781e2aa46" + "x-ms-client-request-id" : "58d358cb-3bf6-4537-9fff-658dc2294633" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C0986BF36C", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA530F329E", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "154815c1-e01e-0004-24a9-521529000000", - "Date" : "Thu, 09 Mar 2023 17:06:15 GMT", - "x-ms-client-request-id" : "9e5b9e8f-8eef-4cdd-b748-3b0781e2aa46" + "x-ms-request-id" : "04812cf1-801e-001f-4ad3-5c3bbb000000", + "Date" : "Wed, 22 Mar 2023 15:30:09 GMT", + "x-ms-client-request-id" : "58d358cb-3bf6-4537-9fff-658dc2294633" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/9b40763f39b40763f91d2687724ce04e0bc354d04b2a/9b40763f49b40763f91d7655691838d0ef6124686838", + "Uri" : "https://REDACTED.blob.core.windows.net/9b40763f39b40763fb5c0026563ffef007449432eb79/9b40763f49b40763fb5c016334dadeeb4fe6749dfba3", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "ac1c8e6f-3eb5-41d5-b4da-ffe0b394a9dc", + "x-ms-client-request-id" : "7a6bd295-55ed-4b45-8de5-e1be374e2e59", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-content-crc64" : "dHeY/SVBdVI=", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", + "x-ms-content-crc64" : "EAyDZosfzQg=", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-version-id" : "2023-03-22T15:30:10.8875038Z", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 09 Mar 2023 17:06:15 GMT", - "Content-MD5" : "s/W+3Jh9PKnR+B5+Jvsdeg==", - "ETag" : "0x8DB20C0988B6824", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", + "Content-MD5" : "KRpnqwr14QENXbvmG2/hBA==", + "ETag" : "0x8DB2AEA5327991E", "Content-Length" : "0", - "x-ms-request-id" : "8b3ef502-001e-0005-48a9-5214d4000000", - "x-ms-client-request-id" : "ac1c8e6f-3eb5-41d5-b4da-ffe0b394a9dc" + "x-ms-request-id" : "a200a12d-301e-0024-1cd3-5c79e5000000", + "x-ms-client-request-id" : "7a6bd295-55ed-4b45-8de5-e1be374e2e59" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/9b40763f39b40763f91d2687724ce04e0bc354d04b2a/9b40763f49b40763f91d7655691838d0ef6124686838", + "Uri" : "https://REDACTED.blob.core.windows.net/9b40763f39b40763fb5c0026563ffef007449432eb79/9b40763f49b40763fb5c016334dadeeb4fe6749dfba3", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "963b0a1e-c1a5-46e5-b0e5-dacc6ac773e5" + "x-ms-client-request-id" : "a94ef483-0ccc-46f3-a9b0-9d6c2e62bebe" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 0-1023/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "s/W+3Jh9PKnR+B5+Jvsdeg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "KRpnqwr14QENXbvmG2/hBA==", + "x-ms-version-id" : "2023-03-22T15:30:10.8875038Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B6824", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA5327991E", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:30:10 GMT", "Content-Length" : "1024", - "x-ms-request-id" : "4dabfda9-601e-005a-5ea9-52e62a000000", - "Body" : "YL8X0AhG/Aeqi3sYDRgcRFfLcBq4a3BozEBIgNYZtuwFdxHHWlTrpk63C3NJvzJ+1P3vPA8CHiU374/vP6z8EYVBvP4KlBP/RZVbAvQxzyV47x+ohzys08jz9e8euEBvKzaFkPwh/WfMjf6cQSNioADPVOaNnzD2fciAoEHMvT9CYGRNxJhFosdGjiA43ZX3aXtaD4DUw0k827C8iSfrfZ27Xb0uk2ZKOzRv9zXH0p14yLiDN9Qd/k2mLcZtJzK8EEF1Krn+2UvSuGbPZzxeAzTTi9144ZyD3FjN8HUGlNv0AmjsFj6GtFrWpJNSsg13ZmZiD4JTQSR4D7krv+rYkKdZvMKuG5ybRm4jr04vyHIgb9SFhDBo45ecr3h8RCJiCiD7ahqMUEorEn2WBRFQgTOBw0QjmE4PEOGoIHR8+mcBACTJqEAceERknZr5Ig9gt2t3Zfj9p4aftFs7fvI7pvfOrujdCWs37wftD/sE39yH3QgPEDTR82ReaG0JTGlCV/qr1O4J5SIuItvnteEHNcIZzP5qRWomZJ0pt5cSUTYUBNbFRbe7didq5vQide9nTLyt+n0gYUMHQW6sPKIWXyIPpm0Cr6QEpcmHMxBjMgVKjrMTrxG3uphRnXMjaPrx+nu9NXdXbFyUjaCcpd0he6pqE3PfDYvRycgGeQlxe3EalTYjq1JKFogmTjjXm9/PmTKSiNzMMhYs2mLZwEesNoNLrq3ZwGHnN3lFYvIfkvwK0hzV67NsQ7rLwSSuI9WDOQMZQu5SFwz6vhdzF05r1zZUzThFkPTuUF5uQUtnvd7Hb7RZDi0nn1H2Aky3UnuWFwjOn5YhBd8txoTkpm42IriAqAUPmaSnXOMvlRvZiXrrtMwlgHSQCXYzQEzhrcFPH14pkPyITQNioH/Y4JFvHrfe70sWDTkPs+pAprEfbKsQdSxck+nb1U6+SgVzCao8whqAqWHhVXtP7UzS3wM5FSSUAn3IxD7RLfWzU5nOI3oVdLeT3iOLMRsyTQDJ7bXk+Rdpl0A05X2xZHDw6uhq6gLgaJX+3cE4y22J/uEiksSwJ+R91yOFpbFkJ1RRn8+OmsJxM6VaiIJ3a2TrLUlTLW4BdKIa5Acmp+XLq46OJQc1gydnrGAlZRz1GmTGZYEn21b3586Mhr0wYZFBtA8hCO4wM2xgPeg9GUxHOFkr5O6mucyVZy+A05BaXmir7orwJTeN+wCffxizMSsgqZir6f4XhTCR2bPeK2/eBa9wxAP7IYvRQj9hR5F/AvIK550nGkm5wqtnSMoN95V5z6pVZdlyMWnOXYyQQFDgWOjIpEazqVSxRycsqGM1mUlvKIDu6YQ7K8IKMfGwt9gdPvhTKw==", - "x-ms-client-request-id" : "963b0a1e-c1a5-46e5-b0e5-dacc6ac773e5", + "x-ms-request-id" : "f10a1fed-301e-006b-61d3-5cbdfd000000", + "Body" : "8ZakN/UeIldyRTQ5d1dBRuQmKyNi7qo6V1qMtpXsUPOSrzyZQVMP1uIYl6yitFtkGmu9UpgdjherGZPA5csUb/1SqUIRRtRlcSFOYUxFbDm5D4d7yU5quF/TJY5cKbTjtr4nf2hdVv6Qw+qPYvChzWayArRxYv3d1a2DDu7rsOSnkMr+2uEez7XUxpeBU71pa3PLAN8wbIm1zNtuhej2dJrvdwISPfWo2DfYJ3xlxV02JoUHtjCyemg1br18LCivwENUPU2IEvD3iasO2ui9y9kRatdwbe9loMM05SUYOB4tf5tW3mrI8pLeVylWrskmjEGgINbNDl/OLQblRUlf01n2KpWoSLVhL4x9UV2nYvonZbh1iap+sKsZZdGTVbIdoMg9ZKfA32/XCKJak8iRmKlB+Hx9tPVusEBtJDxV5UbD2B0PZ3tT0pfWeidOvFCBtLFSSXgrfqGdpJAbYj0G4GVVy0eLSRlwAYD5nxplf7ANNi9tmGRBwvbTFmeYCjj4j9HcykiSpBSopCrZMzAXgyEWY7vKoM2xgT6QO2i7uA4t7Rm55xEQ4KcVOhAOOIaPexD+FFMz0PPJma/pzRq8sI+Nkg1G6MOBGwIuMtA2XKBPm8wUS/h9MZ5VO325WuV66aU07Vj3XoOkMyuK1Uiz+/O0seMdGySLkyAJiJB+aaXTjyJroJH9CuhaVNgrf/5EYEQ6Awktmzd/fDUqq5UkWcnzS8O6eDeFEWyWgxRCKJK1CQxmo4uWTfxiCZ3XxSvLq0EL+9Mrb5hKC/TQiIMqwLQeEsBRFwpY6/k/AtMlpoM/uclNLIZMnEUJIguwwYquRAeJktA5IITuV5791Wf2Q6oC7MmarXyRuO+GTWzZY8ztUUwarzx6zO1YD6sGVH+3+1aJCAlRET/bne81zqjnTF/IB/HS77SCkoK11wETjXmhOK/49TYZrOv0ihidgYJs6y8u5PCfa/3N+KQAWEgtAu+7M03vG0ylq5T+cdNrCmsImtc+Fl0z/lCCN34P/f+6n19YOh7h41/ep6Y7IDikQtBE6YUjkUiYE50sbx9aS9RMdb/Wuwr9k87AUnZkYkiugAspcErm6P3Rogdr9DLccfYZdqGUjhiayMURuDjEEcb7Zh62k32Tn4r9Xb/wX31ugr4UZYrymDCe7d7JZhfAUkj+4i9Zdal1AGwHAOboD0Q4QDjuE7tUjyPMQWptSBj9EMdEmc2/KCI6VmL+n/+NnUOR1dG4KZhYs24zGv6YDKkhtts+ckl71QMyHtBZyoK3NPEpzphLMMioiNpxgZLWn+3/9Mifb5SGa/c9akL+wPqAtUkn41dZOuav8NqRyGynC+l1UwDH1htFpUR5AUpiLA==", + "x-ms-client-request-id" : "a94ef483-0ccc-46f3-a9b0-9d6c2e62bebe", "Content-Type" : "application/octet-stream" }, "Exception" : null } ], - "variables" : [ "9b40763f09b40763f91d399951ad444b417904d4bb31", "9b40763f19b40763f91d593698b5c2e449a0f49ce808", "9b40763f29b40763f91d1582053c3b46246df4bbb9da", "9b40763f39b40763f91d2687724ce04e0bc354d04b2a", "9b40763f49b40763f91d7655691838d0ef6124686838", "9d9b6949-dd45-45a0-b425-ce3ae1342704" ] + "variables" : [ "9b40763f09b40763fb5c7350545c99e68e0824115bb9", "9b40763f19b40763fb5c709325fb82b8a9d404f59a73", "9b40763f29b40763fb5c74623df771a20171e43fbb2b", "9b40763f39b40763fb5c0026563ffef007449432eb79", "9b40763f49b40763fb5c016334dadeeb4fe6749dfba3", "99ca768c-c900-4ec6-91fe-336db964f39c" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[7].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[7].json index 0d167f435ccf..a50c6fce5d39 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[7].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[7].json @@ -1,105 +1,105 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/825b477e0825b477e5c32944435b7923e993948f39df?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/825b477e0825b477e3258440619ac52130f48414fa6f?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "b43e673b-eaf0-4961-abc8-0c428f28f077" + "x-ms-client-request-id" : "194aa970-35c9-406f-89a4-0ae8d902e98b" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C0985533B1", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA52F18D72", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "c9d8a063-301e-002f-05a9-526191000000", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-client-request-id" : "b43e673b-eaf0-4961-abc8-0c428f28f077" + "x-ms-request-id" : "4b73a8e2-601e-0051-3ad3-5cfe5e000000", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-client-request-id" : "194aa970-35c9-406f-89a4-0ae8d902e98b" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/825b477e3825b477e5c3728845368fdddca1d46559a5?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/825b477e3825b477e32512176626a24d81c1b4afb84e?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "64c4276d-56ef-4b65-a6d4-ebb84d8dbfb3" + "x-ms-client-request-id" : "2b88babc-d48a-4eb7-82b4-dc8718675fc5" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C0986D11D5", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA53126372", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "bf9bdd13-c01e-0013-39a9-52d54a000000", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-client-request-id" : "64c4276d-56ef-4b65-a6d4-ebb84d8dbfb3" + "x-ms-request-id" : "f10a1f99-301e-006b-16d3-5cbdfd000000", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-client-request-id" : "2b88babc-d48a-4eb7-82b4-dc8718675fc5" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/825b477e3825b477e5c3728845368fdddca1d46559a5/825b477e4825b477e5c365884873847e01a494f10b79", + "Uri" : "https://REDACTED.blob.core.windows.net/825b477e3825b477e32512176626a24d81c1b4afb84e/825b477e4825b477e325961373653a8685bda4c52ad1", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "7ceed2c0-0860-4065-9a4e-cfc1846d2060", + "x-ms-client-request-id" : "713e0674-7c43-4e07-9d41-235c3681af5f", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-content-crc64" : "19GH5LudByI=", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-version-id" : "2023-03-09T17:06:16.8119820Z", + "x-ms-content-crc64" : "nApUS9RcQsQ=", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-version-id" : "2023-03-22T15:30:10.8865033Z", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "Content-MD5" : "gqjY3Ol7l2xjmoDwpVfmSQ==", - "ETag" : "0x8DB20C0988B1A0C", + "Date" : "Wed, 22 Mar 2023 15:30:09 GMT", + "Content-MD5" : "xny9pISmZ0gbOoq1t8AGew==", + "ETag" : "0x8DB2AEA53277209", "Content-Length" : "0", - "x-ms-request-id" : "0ff97852-501e-0070-5ea9-52936f000000", - "x-ms-client-request-id" : "7ceed2c0-0860-4065-9a4e-cfc1846d2060" + "x-ms-request-id" : "dedbf149-401e-004d-15d3-5c2649000000", + "x-ms-client-request-id" : "713e0674-7c43-4e07-9d41-235c3681af5f" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/825b477e3825b477e5c3728845368fdddca1d46559a5/825b477e4825b477e5c365884873847e01a494f10b79", + "Uri" : "https://REDACTED.blob.core.windows.net/825b477e3825b477e32512176626a24d81c1b4afb84e/825b477e4825b477e325961373653a8685bda4c52ad1", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "0e19cfa5-5b7d-45c8-aae2-868894fd62a9" + "x-ms-client-request-id" : "a9db6d1e-04ec-4516-8694-3fc556c3136e" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 0-1023/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "gqjY3Ol7l2xjmoDwpVfmSQ==", - "x-ms-version-id" : "2023-03-09T17:06:16.8119820Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "xny9pISmZ0gbOoq1t8AGew==", + "x-ms-version-id" : "2023-03-22T15:30:10.8865033Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B1A0C", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA53277209", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:30:10 GMT", "Content-Length" : "1024", - "x-ms-request-id" : "d78bf376-b01e-0035-0ba9-524efe000000", - "Body" : "mGeQLR7RQi6ClTeWsL7ry4oKhbDPfvZHkQNfvYi066Vh88N6jLU1ApIOkzVa9YxArmvQ9DnDOxj8+EOtn9ZOZlvekUru8VZMB1k59L0p7NZIiL6e+65qR1tNuoSvZMN6FR7oMSyevk0KybdF5TAGrEF7TLhNHZUEwCq7m2iEGER0rhnh8PunYjmTyjtBqWXXGPf1vG1rUqLyrpewG9dzfS2IkWUpaxsDIudk5idDZQRdJBE+GzXEOestWFg/yp/4Tud96YxuMj7N2bERTZlCWTfQV8odIcZdWkTRwe53o6q14S16DsAnAy8gWLpRmYO/3+r3Mry9mvIiulgeZRdGkpdNG/trdaX/uJmKjzN8cM8jVsV5Rm2nttk0RLaH/V/U+/facKM0A5fGqq+B1k6kVuQDZ82KYhFJSrqbilstG0Q9K208d3hmei9nqauCCvavmGSZ+V+tTYPzAqpoiniFb4uFqLTw5Pa1vIwI3GU9POnIJeCaHVf2yoicVH/iLxYzax+5yNmrmJuoTbSiDUOtAZNAQTYhj3aZbtxl2dVjCckzAu77QAHfzyXr0A7vDN5hKljjDk7nX9dBojKb+rSyQ5DuThj5nyji1x/vN+R6oQxSaKk0h6B60U7qRYWLtClkAHO0ahteGEVXWs5Ep0NK7uXDJdA2B+N9GjD8CObU8chYUlw4gNHbMLHHO+FYbREeUWN+IcjfxX/ZoDgvDep/gj46NGNJBPL05i3Y+/tVo9sXgxwBL+ON2PcdnqwlOr81r8lU31k5ZINrls4z+ksVkU2SQfJfS5R9kw/2wfod+BZ752ax1cCii6jIxZWftsUnHXHbANFvphn/Bq/yejG6McRo7aqq3HdPe5SWJpvO6IxE/zG1AnLyGUIxnS42FKykgwet/ge1wniy7JBBgubDWJP6R2H1+SzGlplmx+S5YrIDqawU3lzsmpTRWf9NQ9kpci0J7a0CAozqO0Vt30qiymT0h7po5ki3WQussdaEhmtY7Z8PtLYi1mDnCHqllKr5GTkO6p6H1g+ttIX/X57X7VTpi5WYXIK/0PCCBFgKcX1qpWflwM4M0DGVjFQMX5Dqh0hU7GhTlLNEtcWRPlXqmvPMOlXS5q2X+kuzJWSKrtGoGO+tOx+dlHrs4bxCdcUvI3+Mahrsy78QSmkE1IDmfX4MOE+phWhRZcsL2XBxOue+7VPDpFB0RvCc35gseNw/aooQZlC69uus9lFlfJjOalwj/fW+ULOpC4ksYx9EHIXaCgM1UJvy0ipFUCQ8UTBi6MlTNXx34Z5F9FeSx64RvtfGg0vP/QIYbFKIzSl7jJchQZBzNTNtf3egmlcgYYOMeLYoE3cKSX024UmZ417/Hw==", - "x-ms-client-request-id" : "0e19cfa5-5b7d-45c8-aae2-868894fd62a9", + "x-ms-request-id" : "4b73aa2c-601e-0051-51d3-5cfe5e000000", + "Body" : "YfC15auagX8+u48fLk6PR3ACmSwuX++dmqEqAQ5tdWhW4ppQEOfQPMN1VxrQpJOQYBmofK1pB0By/bCFFbLu3lCTig4SFYpoNxSQWoSBaIinZbV+8/3gxVQO6T7dIgy8J0dvP+KaSojp5eE5TVm9DpJ7rje+PuE2UJa76ANd4KK4N+EpaUZ5KMpJa8wCosMcsMEJ8b3tR4RaPeZcObje1mXRRSe//+078X7todCYln5U9UxkFdaAEsrpVF7E9Gisk//puLVb3z4XBZMktVhlXhS/L4rfBkji3agdmP459MIqiWkkTP7/8RyN8XgGQVkZTVfMvqfdKlMyJ+EL1WRfxhl99a08zfV1gHkp1eqrchucOpDo7+AvYE25kSFKplTO0K5LB27ylKrq7kRf3PTVLGbu3pOqaq/GF/TiCPRx0LPFQnHSgq6I+KV0OMUtz0KwUdWYgcEip75c1eMie7wn3vBKgidK+1MXHiUn63/sr8/JE/j6kUkSy0x8hbgdiicaTnMo5U3+0/Rnbsw+S/NEeXyEdVlr0hCw+nEQWSzNJwdhvoozRUuunrdiLXlcxSxc3rynlRNO58vggcrZjZQrh65RyAmh9lTx6Jjz2VIW+smmIU5cQqUh51kiTxY6imhoPlJQtgR4itv4nBMyIVKYfk8L+hwko2IPJm1cP8HBzy8d0ahixFyPOIjwoGWP0wLWmPoHwttPqjfqpxa8xNZxhd/HdktsymOeYJvxZrlqPOQE3dpF+hodKK5cBGB3W9hEFiXZ7TrRxgDpS3MPjjNBOVthiyUK1pW+XQJF/iWXrpzd6Gi7oo7dtLEH1KRSvOzXJ1x9xQh/jKBJNcQwrJRT+lBRcP7JH6w062tgSx18Dgw4PI045dobRqR/a4D8gC+3ERcreApkyvzsfbkgWpkmWSGPx34F4C+1CLKU+ZtZ5p7FuSHrdY/+Aa8LRDxIAIWwuJXcPMHwJlvwyz6eJOvBbpXc8TNLjaeHUpzzXHzJxHqa6MEh5eVvMjx0xxXDH+1frrIVy4MyIZOX8FKeXfDdxaQsNKwy6e7IsQErcLudWqfBe3yKSUCM02QT7CinWUcWe9cKxt0fM8t3Ew3R4LVwl4MQBlp5NqSYQ/pxdOkp4+4FBJC3DiXHb5m5C10dotS4Ln8z9ij2jF7jtU1cB2yvIO5WTkliVCZ9iS0f0vAT78D/t55cHDTCh5Uycfm4B3VYJfMGh2rkIKyZGgjK6RIExrZJC4pPu5IZ0IiR7ggI7y1cfsF6KtG414J2DsQvK/hxGS4iHnB/0bKt3SqW2DEkLYs1KGOblsHC4emSufrrHD5xpiopYX+mf2vT70tZ6uzvbRGiXCm7zDq1yDQvGrae8w==", + "x-ms-client-request-id" : "a9db6d1e-04ec-4516-8694-3fc556c3136e", "Content-Type" : "application/octet-stream" }, "Exception" : null } ], - "variables" : [ "825b477e0825b477e5c32944435b7923e993948f39df", "825b477e1825b477e5c32365130f22a9c08df4b5e8bb", "825b477e2825b477e5c34197179ac1eaa669440fbb93", "825b477e3825b477e5c3728845368fdddca1d46559a5", "825b477e4825b477e5c365884873847e01a494f10b79", "1fe507bf-4d0e-4a6b-a981-d776f8ec1e75" ] + "variables" : [ "825b477e0825b477e3258440619ac52130f48414fa6f", "825b477e1825b477e325257265ba5080f61f847fabd3", "825b477e2825b477e3256060444da4975378a43d98ac", "825b477e3825b477e32512176626a24d81c1b4afb84e", "825b477e4825b477e325961373653a8685bda4c52ad1", "757b629b-cf52-4200-a259-d09fa1180a0a" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[8].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[8].json index 978d7b18894d..e390e9db7e94 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[8].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelReadmode[8].json @@ -1,105 +1,105 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/05c35bb1005c35bb154727085563e147ff9b447e0959?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/05c35bb1005c35bb11fe194517e5fd846a69c4581bab?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "353516cb-0de4-493e-bb63-cb5201dceefb" + "x-ms-client-request-id" : "644d0345-1062-4f3e-a77f-26370e4076e2" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C098553E4D", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA52F260C3", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "74074bd8-901e-004f-4ba9-5224b3000000", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-client-request-id" : "353516cb-0de4-493e-bb63-cb5201dceefb" + "x-ms-request-id" : "8c0e2f82-001e-0063-34d3-5ca68e000000", + "Date" : "Wed, 22 Mar 2023 15:30:09 GMT", + "x-ms-client-request-id" : "644d0345-1062-4f3e-a77f-26370e4076e2" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/05c35bb1305c35bb15477523924eb40bedaf54caf8c0?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/05c35bb1305c35bb11fe9474617f7c40fe3ad41b9b05?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "87211bc1-a707-4a7c-b45f-dfc6d476fce1" + "x-ms-client-request-id" : "1f834aa2-7241-4df3-9e80-7d7a96bcd89f" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C0986BD8E2", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA53102091", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "e3611245-401e-0046-2fa9-523e3d000000", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-client-request-id" : "87211bc1-a707-4a7c-b45f-dfc6d476fce1" + "x-ms-request-id" : "a200a0de-301e-0024-52d3-5c79e5000000", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-client-request-id" : "1f834aa2-7241-4df3-9e80-7d7a96bcd89f" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/05c35bb1305c35bb15477523924eb40bedaf54caf8c0/05c35bb1405c35bb154738585ff6a999861c04a2784d", + "Uri" : "https://REDACTED.blob.core.windows.net/05c35bb1305c35bb11fe9474617f7c40fe3ad41b9b05/05c35bb1405c35bb11fe98729e77162bd4cc5472488e", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "845db756-7e46-4262-94e1-c6ac95ee511d", + "x-ms-client-request-id" : "e7184704-f340-460d-a8e6-3ed7bea4ed25", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-content-crc64" : "C+cLuG3q4WI=", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", + "x-ms-content-crc64" : "6aWcDEDzeCE=", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", + "x-ms-version-id" : "2023-03-22T15:30:10.8845038Z", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "Content-MD5" : "vGE2rK3Hxbu1DjKJN2w3+Q==", - "ETag" : "0x8DB20C0988B6824", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", + "Content-MD5" : "OBIO+/29w56kd7Iv1OjBQg==", + "ETag" : "0x8DB2AEA532723EE", "Content-Length" : "0", - "x-ms-request-id" : "f303b482-701e-0023-58a9-528f60000000", - "x-ms-client-request-id" : "845db756-7e46-4262-94e1-c6ac95ee511d" + "x-ms-request-id" : "dccf33d6-001e-002c-0ed3-5c6296000000", + "x-ms-client-request-id" : "e7184704-f340-460d-a8e6-3ed7bea4ed25" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/05c35bb1305c35bb15477523924eb40bedaf54caf8c0/05c35bb1405c35bb154738585ff6a999861c04a2784d", + "Uri" : "https://REDACTED.blob.core.windows.net/05c35bb1305c35bb11fe9474617f7c40fe3ad41b9b05/05c35bb1405c35bb11fe98729e77162bd4cc5472488e", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "8d0b9464-f332-4bd8-b1d4-d9542875fbaa" + "x-ms-client-request-id" : "78b34884-b06f-418a-9082-4057c0fb8320" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 800-1023/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "vGE2rK3Hxbu1DjKJN2w3+Q==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "OBIO+/29w56kd7Iv1OjBQg==", + "x-ms-version-id" : "2023-03-22T15:30:10.8845038Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:30:10 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", + "Date" : "Wed, 22 Mar 2023 15:30:10 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B6824", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEA532723EE", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:30:10 GMT", "Content-Length" : "224", - "x-ms-request-id" : "f303b4a2-701e-0023-77a9-528f60000000", - "Body" : "EODAbEVMfz6fS16ju/Wwpa+h2FYRi9bRqXdnPMoQsBoiS0rcQeA5Ihw6zD/iHVWE17goTadsOp1kwoBgN0ukOx4cPTpZoU6hpPHKmaZIqgofnrsjkdkS/Me4NpFBTn6ADb6qidUu37TVwyk+Cod/wJvepbtX66NMhwa2Vf3jt4WvtjYTnj4w7xz+L4tTm2opVZmID2QYHT5tvAZ5Bdh0b/bI833CTdCMPxCpdo5di4DISQ5YimyqJdheJNH1I8ipiOfS2PPgs7TUAt+xCjCnTmdiRgZ7UURSOESZcu8rwpY=", - "x-ms-client-request-id" : "8d0b9464-f332-4bd8-b1d4-d9542875fbaa", + "x-ms-request-id" : "cc9e96b8-201e-003b-1dd3-5ca2f5000000", + "Body" : "qcBnVoSeIi5c/TixrPX+pY3GPUSzH9AtlWgxXbhOE7gcFQIbifuGjEiyAJmI5rGxcX0QLExzF6BgHmhKzZ3x3RyWvlgWGZZHzIypV9L6jpJG9FFqMXy4eztRQBf0Hyq0GVO+1qjGX/MmQ+mEUTXJxF5NFKMaILdiE0rNYcA5qxZnje+n0elUexbqEdkAb8K9Lpe9NxIoK+OblEeUM9Xsy76QpOi2rAT4Y8FlBIxpdGrRrGOO+dYRW8wTgfBHHMiVuhv9qZH84PRUEGiL2bH56YWmk0cC0EvDXyYXmWkDnM4=", + "x-ms-client-request-id" : "78b34884-b06f-418a-9082-4057c0fb8320", "Content-Type" : "application/octet-stream" }, "Exception" : null } ], - "variables" : [ "05c35bb1005c35bb154727085563e147ff9b447e0959", "05c35bb1105c35bb1547992463650f8ee989a4744bc7", "05c35bb1205c35bb1547606999cee8a18b2374a8d8a6", "05c35bb1305c35bb15477523924eb40bedaf54caf8c0", "05c35bb1405c35bb154738585ff6a999861c04a2784d", "c92a482c-1567-4eb1-be8f-8720a351486a" ] + "variables" : [ "05c35bb1005c35bb11fe194517e5fd846a69c4581bab", "05c35bb1105c35bb11fe137791a1043e3df40403abdd", "05c35bb1205c35bb11fe32652c8bb9622969d40a08c1", "05c35bb1305c35bb11fe9474617f7c40fe3ad41b9b05", "05c35bb1405c35bb11fe98729e77162bd4cc5472488e", "e943e98c-9811-41d6-b9a8-54664a88c164" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[0].json index 3c7e543a8a6c..0d3895b84d0d 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[0].json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/fb9fff5d0fb9fff5d4c64811353473eb847524b84a69?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/fb9fff5d0fb9fff5d0910476693bfcb08f51c4e968e7?restype=container", "Headers" : { "x-ms-version" : "2021-12-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "0f1e00a2-c031-47b3-8794-04c47b5b993b" + "User-Agent" : "azsdk-java-azure-storage-blob/12.21.0 (11.0.16.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "74134a87-3087-45dc-bd9a-c138a4c5b21f" }, "Response" : { "x-ms-version" : "2021-12-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C098550004", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2A29F7264118", + "Last-Modified" : "Tue, 21 Mar 2023 16:33:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "4b28a045-101e-0033-0ea9-52b986000000", - "Date" : "Thu, 09 Mar 2023 17:06:15 GMT", - "x-ms-client-request-id" : "0f1e00a2-c031-47b3-8794-04c47b5b993b" + "x-ms-request-id" : "3042165d-601e-001e-7f12-5c3a46000000", + "Date" : "Tue, 21 Mar 2023 16:33:13 GMT", + "x-ms-client-request-id" : "74134a87-3087-45dc-bd9a-c138a4c5b21f" }, "Exception" : null } ], - "variables" : [ "fb9fff5d0fb9fff5d4c64811353473eb847524b84a69", "fb9fff5d1fb9fff5d4c699144b21e231e4a684059931", "fb9fff5d2fb9fff5d4c696147b289cad426b5415cb19" ] + "variables" : [ "fb9fff5d0fb9fff5d0910476693bfcb08f51c4e968e7", "fb9fff5d1fb9fff5d0914750666c07f60cf774d0980a", "fb9fff5d2fb9fff5d09148257e6b2a954b4574365bf9" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[1].json index 28f3eae66eb4..691b52ae130f 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[1].json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/e284ce1c0e284ce1cfde011161cc2a0283eed487cb60?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/e284ce1c0e284ce1c1b9300363cebd9cbe29a4192b53?restype=container", "Headers" : { "x-ms-version" : "2021-12-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "9ba912bb-93c4-4411-b0ac-c79f2f8c45b3" + "User-Agent" : "azsdk-java-azure-storage-blob/12.21.0 (11.0.16.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "9b52fad9-e81d-48e8-b29b-2c3ca9cae1c4" }, "Response" : { "x-ms-version" : "2021-12-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C098553EDD", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2A29F726001E", + "Last-Modified" : "Tue, 21 Mar 2023 16:33:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "69e6a8a3-f01e-0032-66a9-52b87b000000", - "Date" : "Thu, 09 Mar 2023 17:06:15 GMT", - "x-ms-client-request-id" : "9ba912bb-93c4-4411-b0ac-c79f2f8c45b3" + "x-ms-request-id" : "b17d4d5d-901e-0000-6412-5ce0ab000000", + "Date" : "Tue, 21 Mar 2023 16:33:13 GMT", + "x-ms-client-request-id" : "9b52fad9-e81d-48e8-b29b-2c3ca9cae1c4" }, "Exception" : null } ], - "variables" : [ "e284ce1c0e284ce1cfde011161cc2a0283eed487cb60", "e284ce1c1e284ce1cfde96052f19345e62f3b40f2847", "e284ce1c2e284ce1cfde662469859a0d7096945e5af0" ] + "variables" : [ "e284ce1c0e284ce1c1b9300363cebd9cbe29a4192b53", "e284ce1c1e284ce1c1b936679fe734cc7dbf44a30831", "e284ce1c2e284ce1c1b927799bd236eb595c54bdebb3" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[2].json index ce4100ebc06a..c206cae5bee9 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[2].json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/c9a99ddf0c9a99ddf4b798496f3591e563d0b478c88d?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/c9a99ddf0c9a99ddf8168143429a064bf26c746b29dd?restype=container", "Headers" : { "x-ms-version" : "2021-12-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "1156489f-fd26-42d8-a630-4f2382bc6bdd" + "User-Agent" : "azsdk-java-azure-storage-blob/12.21.0 (11.0.16.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "f4b2b7a8-8aad-49bc-879e-980e1922047f" }, "Response" : { "x-ms-version" : "2021-12-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C0985599A3", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2A29F726CF71", + "Last-Modified" : "Tue, 21 Mar 2023 16:33:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a70a4252-301e-0049-0fa9-52d3cb000000", - "Date" : "Thu, 09 Mar 2023 17:06:15 GMT", - "x-ms-client-request-id" : "1156489f-fd26-42d8-a630-4f2382bc6bdd" + "x-ms-request-id" : "00216bb5-401e-002b-0f12-5c9413000000", + "Date" : "Tue, 21 Mar 2023 16:33:12 GMT", + "x-ms-client-request-id" : "f4b2b7a8-8aad-49bc-879e-980e1922047f" }, "Exception" : null } ], - "variables" : [ "c9a99ddf0c9a99ddf4b798496f3591e563d0b478c88d", "c9a99ddf1c9a99ddf4b742185eda9f604b3d34091a58", "c9a99ddf2c9a99ddf4b79922172221b4360794b23b26" ] + "variables" : [ "c9a99ddf0c9a99ddf8168143429a064bf26c746b29dd", "c9a99ddf1c9a99ddf8166185793f930ba317140e3a14", "c9a99ddf2c9a99ddf816476654f68d00cc30945cdb1b" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[3].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[3].json index 2f6c8a733d9a..aa615aca6b5d 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[3].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[3].json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/d0b2ac9e0d0b2ac9e4fd96164c043915bce404cd9beb?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/d0b2ac9e0d0b2ac9efe642512685d2b7ce6c3448c88b?restype=container", "Headers" : { "x-ms-version" : "2021-12-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "26349dc2-f6fb-42bc-a994-6ceffe6d8cc0" + "User-Agent" : "azsdk-java-azure-storage-blob/12.21.0 (11.0.16.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "ae560e4a-ae45-43d8-9866-8a64c272cb18" }, "Response" : { "x-ms-version" : "2021-12-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C09855C730", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2A29F7269CA4", + "Last-Modified" : "Tue, 21 Mar 2023 16:33:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "6928b533-e01e-002d-10a9-52636b000000", - "Date" : "Thu, 09 Mar 2023 17:06:15 GMT", - "x-ms-client-request-id" : "26349dc2-f6fb-42bc-a994-6ceffe6d8cc0" + "x-ms-request-id" : "9961a349-201e-0019-6312-5cccc3000000", + "Date" : "Tue, 21 Mar 2023 16:33:13 GMT", + "x-ms-client-request-id" : "ae560e4a-ae45-43d8-9866-8a64c272cb18" }, "Exception" : null } ], - "variables" : [ "d0b2ac9e0d0b2ac9e4fd96164c043915bce404cd9beb", "d0b2ac9e1d0b2ac9e4fd49233af279bb889fa4b26b43", "d0b2ac9e2d0b2ac9e4fd5950297bdbf0061ad4da8979" ] + "variables" : [ "d0b2ac9e0d0b2ac9efe642512685d2b7ce6c3448c88b", "d0b2ac9e1d0b2ac9efe600151870b6f7c56ec4c908e6", "d0b2ac9e2d0b2ac9efe6598459fa48ed568f549d0b69" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[4].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[4].json index 007c3e631820..7a54152ab517 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[4].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[4].json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/9ff33a5909ff33a5901f073584af75ab129de43ba8a0?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/9ff33a5909ff33a59c7c19528558da7c930694f02966?restype=container", "Headers" : { "x-ms-version" : "2021-12-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "dcb4caa9-c49d-4554-b80b-63c01d817ab7" + "User-Agent" : "azsdk-java-azure-storage-blob/12.21.0 (11.0.16.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "61e30b80-f02f-4b08-b508-1c7479d39bf4" }, "Response" : { "x-ms-version" : "2021-12-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C0984F67DD", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2A29F726DF35", + "Last-Modified" : "Tue, 21 Mar 2023 16:33:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "5f48bc5e-a01e-004c-72a9-5227b4000000", - "Date" : "Thu, 09 Mar 2023 17:06:15 GMT", - "x-ms-client-request-id" : "dcb4caa9-c49d-4554-b80b-63c01d817ab7" + "x-ms-request-id" : "f4f4e93f-d01e-0025-3712-5c7818000000", + "Date" : "Tue, 21 Mar 2023 16:33:12 GMT", + "x-ms-client-request-id" : "61e30b80-f02f-4b08-b508-1c7479d39bf4" }, "Exception" : null } ], - "variables" : [ "9ff33a5909ff33a5901f073584af75ab129de43ba8a0", "9ff33a5919ff33a5901f938951beee731583144fa9ab", "9ff33a5929ff33a5901f26891e48ef1c0ad5946ab89f" ] + "variables" : [ "9ff33a5909ff33a59c7c19528558da7c930694f02966", "9ff33a5919ff33a59c7c9468130f0f275bc7c4d1392d", "9ff33a5929ff33a59c7c405444bcdfa4799e342d2ae3" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[5].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[5].json index 6b980e9c085c..f5854dc71cff 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[5].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[5].json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/86e80b18086e80b1869157565e8439baf138149c7a72?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/86e80b18086e80b1875a7399842b8ddea79fc42e8975?restype=container", "Headers" : { "x-ms-version" : "2021-12-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "d52c8b7c-2648-4437-ab89-d8ac40a6344a" + "User-Agent" : "azsdk-java-azure-storage-blob/12.21.0 (11.0.16.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "1b450241-ae30-4d20-9275-7f567f0f2e53" }, "Response" : { "x-ms-version" : "2021-12-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C09852D4A0", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2A29F7281EB2", + "Last-Modified" : "Tue, 21 Mar 2023 16:33:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "6f474129-601e-001e-41a9-523a46000000", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-client-request-id" : "d52c8b7c-2648-4437-ab89-d8ac40a6344a" + "x-ms-request-id" : "e09b925a-801e-0072-3a12-5c9195000000", + "Date" : "Tue, 21 Mar 2023 16:33:12 GMT", + "x-ms-client-request-id" : "1b450241-ae30-4d20-9275-7f567f0f2e53" }, "Exception" : null } ], - "variables" : [ "86e80b18086e80b1869157565e8439baf138149c7a72", "86e80b18186e80b1869136676019096c7b26948d88c3", "86e80b18286e80b186919278163e9f0101bb64ddcae1" ] + "variables" : [ "86e80b18086e80b1875a7399842b8ddea79fc42e8975", "86e80b18186e80b1875a008874264b2a4c7fb47e4bf9", "86e80b18286e80b1875a731274e08878252a04d41924" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[6].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[6].json index 47ea1a972dba..6d149c6c533b 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[6].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsClientCreatesAppropriateChannelWritemode-Block[6].json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/adc558db0adc558db1df74689387d6adf91cf494ebec?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/adc558db0adc558dbc5742556232b8a5985644ec49dc?restype=container", "Headers" : { "x-ms-version" : "2021-12-02", - "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "ed5f3766-429e-4f68-8fe8-b8bd4786299e" + "User-Agent" : "azsdk-java-azure-storage-blob/12.21.0 (11.0.16.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "d3123dfb-837a-4a87-b17b-a72f33b93b43" }, "Response" : { "x-ms-version" : "2021-12-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C09855659B", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2A29F72725D9", + "Last-Modified" : "Tue, 21 Mar 2023 16:33:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "2c39cb17-c01e-0057-64a9-520926000000", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-client-request-id" : "ed5f3766-429e-4f68-8fe8-b8bd4786299e" + "x-ms-request-id" : "8c535c4c-f01e-0032-7d12-5cb87b000000", + "Date" : "Tue, 21 Mar 2023 16:33:12 GMT", + "x-ms-client-request-id" : "d3123dfb-837a-4a87-b17b-a72f33b93b43" }, "Exception" : null } ], - "variables" : [ "adc558db0adc558db1df74689387d6adf91cf494ebec", "adc558db1adc558db1df376861c68d2aada9942a280b", "adc558db2adc558db1df02020ddf7d0ea9ddc443bacc" ] + "variables" : [ "adc558db0adc558dbc5742556232b8a5985644ec49dc", "adc558db1adc558dbc57778146db40c118df54af68ff", "adc558db2adc558dbc5720690de0b45a618d24920bc7" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsE2EChannelRead[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsE2EChannelRead[0].json index 487a34819212..032ad60f8885 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsE2EChannelRead[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsE2EChannelRead[0].json @@ -1,767 +1,767 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "998fcd38-51e4-46ea-9c4e-b3797d7cc92a" + "x-ms-client-request-id" : "e58abce3-e566-403a-a4ea-2a995069689a" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C098503E96", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA8DD0BCD", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "e3611203-401e-0046-75a9-523e3d000000", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-client-request-id" : "998fcd38-51e4-46ea-9c4e-b3797d7cc92a" + "x-ms-request-id" : "f0348f5e-701e-0001-48d3-5ce156000000", + "Date" : "Wed, 22 Mar 2023 15:32:34 GMT", + "x-ms-client-request-id" : "e58abce3-e566-403a-a4ea-2a995069689a" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "aa9c792f-d972-486a-b97e-e3b080649df4", + "x-ms-client-request-id" : "c9413f41-0223-4a4e-8b1f-40d45172bc5e", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-content-crc64" : "E+IgbjiX0Qc=", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", + "x-ms-content-crc64" : "kRZNXeRZlN4=", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 09 Mar 2023 17:06:15 GMT", - "Content-MD5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "ETag" : "0x8DB20C0988B4116", + "Date" : "Wed, 22 Mar 2023 15:32:34 GMT", + "Content-MD5" : "2eHuuj58KXjCtCBVnidNNQ==", + "ETag" : "0x8DB2AEAA901B6F9", "Content-Length" : "0", - "x-ms-request-id" : "69e6a9e9-f01e-0032-0fa9-52b87b000000", - "x-ms-client-request-id" : "aa9c792f-d972-486a-b97e-e3b080649df4" + "x-ms-request-id" : "cca00073-201e-003b-44d3-5ca2f5000000", + "x-ms-client-request-id" : "c9413f41-0223-4a4e-8b1f-40d45172bc5e" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "144d58fb-ca82-48f3-9b70-8e4b0f7ef70e" + "x-ms-client-request-id" : "16430825-9951-4853-8835-d3f9753f36c4" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 0-49/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:34 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "50", - "x-ms-request-id" : "6928b6fe-e01e-002d-34a9-52636b000000", - "Body" : "+KsfKiuFdcWKmtAxCxm6AznvQpT7FOPheO/TW5kB7CKkCOvbhtJo94efTvqb6Rba/Vs=", - "x-ms-client-request-id" : "144d58fb-ca82-48f3-9b70-8e4b0f7ef70e", + "x-ms-request-id" : "f0348fdb-701e-0001-38d3-5ce156000000", + "Body" : "SAUq0m3IEDbRyMtSFsr7SQ0PNYDE8lCpKCUass/duXASCzHX3qoph8FQNa/1Tif9wVY=", + "x-ms-client-request-id" : "16430825-9951-4853-8835-d3f9753f36c4", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "05a55285-5d65-4915-b226-d1c9feec8a37" + "x-ms-client-request-id" : "bce0a04f-5d56-4e5a-b8a8-354aad5fa576" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 50-99/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "50", - "x-ms-request-id" : "967310b8-d01e-0007-41a9-52162e000000", - "Body" : "RKUxmgNdJKhgXLez5KO+rJXiL2AfYKOQkLxECnajgjcvRxbYZCU/vFqR+eLHyKZ953w=", - "x-ms-client-request-id" : "05a55285-5d65-4915-b226-d1c9feec8a37", + "x-ms-request-id" : "f034903e-701e-0001-0ad3-5ce156000000", + "Body" : "rstLWw8DUEsxD4/tzvSjUqFejglP7geAPlBQorhp8m6RYiSp0+JLtvMnPaMWrGzt0/4=", + "x-ms-client-request-id" : "bce0a04f-5d56-4e5a-b8a8-354aad5fa576", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "02a939c6-776c-4f44-9758-1f6d3c13326a" + "x-ms-client-request-id" : "ab111184-0b7a-4d3a-856a-34c0712bd2d5" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 100-149/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "50", - "x-ms-request-id" : "2c39ccbc-c01e-0057-5da9-520926000000", - "Body" : "r4EBgV5Y1QrnCUE2LacmPQ0vo9AYa67PqeeY0+SeKwPgV10j+sUdrNn2p+/GTEQaCs4=", - "x-ms-client-request-id" : "02a939c6-776c-4f44-9758-1f6d3c13326a", + "x-ms-request-id" : "f034904b-701e-0001-16d3-5ce156000000", + "Body" : "xRq/dKnZeWGSzn4laWzQEOlb/b8LzZen5k+kyy+PmkSNqlz0Jr3Ly43zI8GFVw23NqE=", + "x-ms-client-request-id" : "ab111184-0b7a-4d3a-856a-34c0712bd2d5", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "6e34fe5e-b7cb-452c-9495-a52cd23d68ab" + "x-ms-client-request-id" : "a6f89323-3a11-4726-a357-669d5082568f" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 150-199/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "50", - "x-ms-request-id" : "6928b761-e01e-002d-0ea9-52636b000000", - "Body" : "P1gG4bzOxZzFdqGSZPJyp8vo/uHSbWJZXk357h1uGHHseeFTw9OAgqi5K+qz8Gr/6Ak=", - "x-ms-client-request-id" : "6e34fe5e-b7cb-452c-9495-a52cd23d68ab", + "x-ms-request-id" : "f0349052-701e-0001-1cd3-5ce156000000", + "Body" : "Hdo2poL8Pcw3p4UEShE2j5rG7QBWoPMOTWm2ikVJLZHVvKjKQu4XScElWfks2tItseQ=", + "x-ms-client-request-id" : "a6f89323-3a11-4726-a357-669d5082568f", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "33fbc9fb-ec1d-45f2-a556-bb305cd2db91" + "x-ms-client-request-id" : "410c4c1e-d318-4141-a5dd-db80fbf6365d" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 200-249/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:17 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "50", - "x-ms-request-id" : "f303b572-701e-0023-35a9-528f60000000", - "Body" : "tVIyLz7+DNPVsSdg1W8gNYcvWXPBsDy9dYbXx54vnfuw0DKzIJFCD0/f9GLxG9EnWVI=", - "x-ms-client-request-id" : "33fbc9fb-ec1d-45f2-a556-bb305cd2db91", + "x-ms-request-id" : "f0349059-701e-0001-23d3-5ce156000000", + "Body" : "41xMCt5UuuMDYRo783qPhe/HME7vr15Haw8ZULkOUPLipPtNSRjqkYU0EVIwQWWFzZI=", + "x-ms-client-request-id" : "410c4c1e-d318-4141-a5dd-db80fbf6365d", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "234f61cb-3a36-4626-b3ba-546233daf060" + "x-ms-client-request-id" : "6e344e3c-55df-49ba-a8db-47b5d9752c21" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 250-299/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:17 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "50", - "x-ms-request-id" : "e361135f-401e-0046-27a9-523e3d000000", - "Body" : "186imW1nlGjeTDoPa8BAq9LpKwftgsA/mQazb2ctu1m62/KbrJ5DEncuPZOCIP1cAs4=", - "x-ms-client-request-id" : "234f61cb-3a36-4626-b3ba-546233daf060", + "x-ms-request-id" : "f0349062-701e-0001-2bd3-5ce156000000", + "Body" : "nyNjk3Q8z0QgUweCPeA0040alEMAEeqsZMeTxsURurnGJ7SvxB9rqpjbGVSWUBzjVNs=", + "x-ms-client-request-id" : "6e344e3c-55df-49ba-a8db-47b5d9752c21", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "a2437cd5-c5d8-48e4-9bf7-60858e28b9dd" + "x-ms-client-request-id" : "354bb362-96e3-4ad2-aa68-fef292cc5ed6" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 300-349/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "50", - "x-ms-request-id" : "1548168c-e01e-0004-4ea9-521529000000", - "Body" : "d9mlxWMCrdd0DE0sl/5RM7Rltopgdnmt/TSP4EIwnamSD1uA2DW1piGJqm/bgU+hniY=", - "x-ms-client-request-id" : "a2437cd5-c5d8-48e4-9bf7-60858e28b9dd", + "x-ms-request-id" : "f0349068-701e-0001-31d3-5ce156000000", + "Body" : "BGH0hPNdQXxMaqtWYGfQAEr7o/98avSuFJKfqk17psRAM0ib9rWHxJGUdcUdNbVuLkc=", + "x-ms-client-request-id" : "354bb362-96e3-4ad2-aa68-fef292cc5ed6", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "045e259c-97c9-41ff-8ece-3d25f0125abd" + "x-ms-client-request-id" : "e9d0816c-00c9-41ac-a648-8e46601b7ad4" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 350-399/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "50", - "x-ms-request-id" : "2c39cd21-c01e-0057-34a9-520926000000", - "Body" : "skJteY5Vn6h8VK7zIY38GR+/pNDyib0QMUT2KAUom5IUbBACF+ag46tYpL4dDal8Kao=", - "x-ms-client-request-id" : "045e259c-97c9-41ff-8ece-3d25f0125abd", + "x-ms-request-id" : "f0349074-701e-0001-3ad3-5ce156000000", + "Body" : "soQRHyRMXl5c2HFokg/V3cjXXDxt9RlTt0uEzc+Hj2+1Lo94fXgj1Vn8o+f9NrOdHMw=", + "x-ms-client-request-id" : "e9d0816c-00c9-41ac-a648-8e46601b7ad4", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "c2923a0e-1a6e-4b6f-a5e7-8144de89b95a" + "x-ms-client-request-id" : "dd578c0a-96f4-4118-984a-e61d3a44590d" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 400-449/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:17 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "50", - "x-ms-request-id" : "c9d8a257-301e-002f-41a9-526191000000", - "Body" : "r0naad1QCdBfymh5SbTwkJOZtL1Pc1LRzMV644NJUu3EwLXuKrhBRw5qK/R8j6BfZJw=", - "x-ms-client-request-id" : "c2923a0e-1a6e-4b6f-a5e7-8144de89b95a", + "x-ms-request-id" : "cca00293-201e-003b-41d3-5ca2f5000000", + "Body" : "JCCXdqQFjdXcXlI2Phx60is0YDvRAGMK9cDtD68RH3FeFoiNcRpLv5/dB2MxEdy9c2I=", + "x-ms-client-request-id" : "dd578c0a-96f4-4118-984a-e61d3a44590d", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "2c5115bf-525e-4e15-9c3d-c973b046475d" + "x-ms-client-request-id" : "c4c46574-c45c-4ada-8853-d10d3d99ff58" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 450-499/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "50", - "x-ms-request-id" : "4b28a37a-101e-0033-1fa9-52b986000000", - "Body" : "FUVQI/5MkD8l5+ZqkvQUtzM04gRWrwHmdwy5k++YlvrmBxr0dkygWLjoIr5Sq7NX5L0=", - "x-ms-client-request-id" : "2c5115bf-525e-4e15-9c3d-c973b046475d", + "x-ms-request-id" : "cca002bd-201e-003b-69d3-5ca2f5000000", + "Body" : "E+Sc3g4S6zEJRv8STvexiHt8xdqXwv0WC50DD1ipxv2U6vtyWjb+p58cwR3JCdcTCNc=", + "x-ms-client-request-id" : "c4c46574-c45c-4ada-8853-d10d3d99ff58", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "1b7bd97b-8588-48bd-beb6-55fa4072bd47" + "x-ms-client-request-id" : "c7d01ac0-64dc-4793-b3af-152be4263926" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 500-549/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:17 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "50", - "x-ms-request-id" : "74074d93-901e-004f-41a9-5224b3000000", - "Body" : "WCOqXbmyKqi83jAtX4gNZXphef9uOCVn/f2TmxpQ58VwXBI+uqeUXvJO6+uY3ogBDvk=", - "x-ms-client-request-id" : "1b7bd97b-8588-48bd-beb6-55fa4072bd47", + "x-ms-request-id" : "cca002e2-201e-003b-0cd3-5ca2f5000000", + "Body" : "a0dCm1eTXZlyQ8lo19BVGSnuwMEbS7tTdEmlrRtWIyAvBWgYxEiImOBJNB8urRtzpeA=", + "x-ms-client-request-id" : "c7d01ac0-64dc-4793-b3af-152be4263926", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "04bc828e-a32a-4280-9241-27936f7198c9" + "x-ms-client-request-id" : "4d979285-2775-4b98-8879-a7cecfab35bc" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 550-599/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:17 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "50", - "x-ms-request-id" : "5f48bdff-a01e-004c-5ba9-5227b4000000", - "Body" : "AvuzFYa7Ln05IaM4TCUk1MK3DtwavP9lBTVAy6Fzy0Ari+haj0/jsADlEY3nwwFYQLg=", - "x-ms-client-request-id" : "04bc828e-a32a-4280-9241-27936f7198c9", + "x-ms-request-id" : "cca002ff-201e-003b-28d3-5ca2f5000000", + "Body" : "g4IhWAq4fNGXneENYd5iWbyOjx2wm9S7wZOn8YO1sn8Vn2dLqTOiLTlAH4iHVFk2Aqk=", + "x-ms-client-request-id" : "4d979285-2775-4b98-8879-a7cecfab35bc", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "b5106d9e-57db-4d8c-8c0d-7d8d58996a6c" + "x-ms-client-request-id" : "5bb1fe78-fadb-46aa-8a5f-a635789515b8" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 600-649/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:17 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "50", - "x-ms-request-id" : "bf9bdf22-c01e-0013-18a9-52d54a000000", - "Body" : "w5JFojr7mk35UUbueO3Cx87aUK48i+/5BTWes6p9LAVoNxCdLL7mVYk8tQ4waTOA5hQ=", - "x-ms-client-request-id" : "b5106d9e-57db-4d8c-8c0d-7d8d58996a6c", + "x-ms-request-id" : "cca00326-201e-003b-4ed3-5ca2f5000000", + "Body" : "tjrIVXZRSijwYOAt2PnWXjPbFy2SumId3F7T9e5XC2RtLszwFpIW3A9IaNNh25z3Q8I=", + "x-ms-client-request-id" : "5bb1fe78-fadb-46aa-8a5f-a635789515b8", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "28a2a106-1aea-4728-9fc8-37ff0d26a44b" + "x-ms-client-request-id" : "3e4a9de8-4b1e-4f09-9a8d-f808f9e0146d" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 650-699/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "50", - "x-ms-request-id" : "6928b838-e01e-002d-57a9-52636b000000", - "Body" : "OcPNpUPHipxp2VQRB3eUaoyOFYnpYFs721DkqVho+omMZyA8LGCKXJZMSdQ+KF8eKmI=", - "x-ms-client-request-id" : "28a2a106-1aea-4728-9fc8-37ff0d26a44b", + "x-ms-request-id" : "cca0033c-201e-003b-64d3-5ca2f5000000", + "Body" : "4qBc8mgFuIeEfv1vzpuZ3isSpRS0t9v09z7dgqtMSFrMqfQ0NPNkso5S6GJm71ZL0wQ=", + "x-ms-client-request-id" : "3e4a9de8-4b1e-4f09-9a8d-f808f9e0146d", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "e61f4090-e5db-40c3-9a3e-b273f6f0cd0c" + "x-ms-client-request-id" : "615a8b91-dbdc-4f1d-977c-d7f94ae8aa48" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 700-749/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:17 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "50", - "x-ms-request-id" : "4dabfead-601e-005a-43a9-52e62a000000", - "Body" : "Z4O52fyVAxnXV0+tkiDDcjH22AlWc/9iZYsr9efCNpFJFKM1nmu+syBEcT6AmX3e8II=", - "x-ms-client-request-id" : "e61f4090-e5db-40c3-9a3e-b273f6f0cd0c", + "x-ms-request-id" : "f03490ef-701e-0001-25d3-5ce156000000", + "Body" : "OlAC+X582CWepR2wZwZ+GrIgehAl94ZlFJQM6nIheJKO/NhY+dFJcj3k5iO2bQxj03o=", + "x-ms-client-request-id" : "615a8b91-dbdc-4f1d-977c-d7f94ae8aa48", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "4fc8a7ef-1ccd-4a75-88e2-3d7f75f73319" + "x-ms-client-request-id" : "2fb003f4-9c80-4d92-849f-e1a64dd15952" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 750-799/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:17 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "50", - "x-ms-request-id" : "a358fd46-301e-0024-06a9-5279e5000000", - "Body" : "p3ciDUi3nF3L4s2CZSIVpYXtmIMeJysv+qNVFAUzwwJ6tIbcVVRygl0jtY9ydtozFtw=", - "x-ms-client-request-id" : "4fc8a7ef-1ccd-4a75-88e2-3d7f75f73319", + "x-ms-request-id" : "f03490fb-701e-0001-30d3-5ce156000000", + "Body" : "mSlV1Sh4akJgT+8cF+GAAurNoCzJ8RNv5EvFhdg79qfaTOKBDOnX9IwhhTvLnJP8wEI=", + "x-ms-client-request-id" : "2fb003f4-9c80-4d92-849f-e1a64dd15952", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "29a7c463-cef3-44c7-a958-9d273bb97fda" + "x-ms-client-request-id" : "98a7892a-f4d8-423c-9fbe-fab06f89df58" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 800-849/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:17 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "50", - "x-ms-request-id" : "f303b5df-701e-0023-14a9-528f60000000", - "Body" : "462wMjjfDjLpo4ZdAUKAx/4CjpeBQDR5yn4zpNq18Wmfs85l24YgxNfyfEV4w/3ha4k=", - "x-ms-client-request-id" : "29a7c463-cef3-44c7-a958-9d273bb97fda", + "x-ms-request-id" : "cca00382-201e-003b-23d3-5ca2f5000000", + "Body" : "mr5N1sG6rT4SbZd2n7QWR86FaK/M9iF4Hb9o0WtHAs9iu/X0qEQXp5MVi+W37QYuraw=", + "x-ms-client-request-id" : "98a7892a-f4d8-423c-9fbe-fab06f89df58", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "b2cf385a-ab8c-4138-8e06-edb76288241f" + "x-ms-client-request-id" : "989f3a60-cae9-4f35-8ec2-6b281d9a7859" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 850-899/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:17 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "50", - "x-ms-request-id" : "e36113e9-401e-0046-1aa9-523e3d000000", - "Body" : "lkn3O1ipN7WmXg1KqWOM1y/Genvm8f73+fLnmtZKkWie4xUV14iv5NNfnTsy8ZLm2Bo=", - "x-ms-client-request-id" : "b2cf385a-ab8c-4138-8e06-edb76288241f", + "x-ms-request-id" : "f0349118-701e-0001-47d3-5ce156000000", + "Body" : "+Fe+5KyGVwCGGlSiSyZJrt3BcmeZNDG/NYAKCb8uKkNkBadIaUIFEdw7u19YGfEgHIY=", + "x-ms-client-request-id" : "989f3a60-cae9-4f35-8ec2-6b281d9a7859", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "1c900c74-a966-42c5-adea-17e50e48df65" + "x-ms-client-request-id" : "2808148f-618b-4e20-b93e-28345567a726" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 900-949/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:17 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "50", - "x-ms-request-id" : "1548171b-e01e-0004-4ea9-521529000000", - "Body" : "0zto3AG7wtuFF+1LlyFu9bFW1/Dml48baNRj6TnYzZFzxtFGyChv+Xg+mhyJ5sImtbQ=", - "x-ms-client-request-id" : "1c900c74-a966-42c5-adea-17e50e48df65", + "x-ms-request-id" : "cca003a4-201e-003b-45d3-5ca2f5000000", + "Body" : "hz8NLUdCEszH3RNlgqW9hoNGl+6uLinHsiVLONORGzKZn3EOJyobFwSt8JYHHvWP1Fg=", + "x-ms-client-request-id" : "2808148f-618b-4e20-b93e-28345567a726", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "cd0fd466-657a-4d6b-af74-796ea1d8707d" + "x-ms-client-request-id" : "253b6395-f6cc-44b8-9900-28180f94430b" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 950-999/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:17 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "50", - "x-ms-request-id" : "2c39cdfc-c01e-0057-73a9-520926000000", - "Body" : "y44Vz3MNgv9spzH/JiE/QAys/ff/nl8VyyPZUrZcnZpfF3qsn02wu2ubzMlrtu/qVGc=", - "x-ms-client-request-id" : "cd0fd466-657a-4d6b-af74-796ea1d8707d", + "x-ms-request-id" : "f034912b-701e-0001-59d3-5ce156000000", + "Body" : "S3cMBf8vcD4/37q6zHsZFaqTlZ8qQTj63EyeE1kBHx3J6o7AJpHPeIM4Ridrrb/8aRs=", + "x-ms-client-request-id" : "253b6395-f6cc-44b8-9900-28180f94430b", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "d218a526-be88-4ad9-ae1a-ffdae6cfc7c0" + "x-ms-client-request-id" : "ee0957ce-02ef-453c-b864-a75c28042dc7" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 1000-1023/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "MW9XzrnTE5cjLpZRIXlpAg==", - "x-ms-version-id" : "2023-03-09T17:06:16.8139812Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "2eHuuj58KXjCtCBVnidNNQ==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:17 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988B4116", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA901B6F9", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "24", - "x-ms-request-id" : "f17a0a7e-201e-0030-18a9-52ba81000000", - "Body" : "kJ2coMm8jPPaszQi/Qn329YwEDjtXZAK", - "x-ms-client-request-id" : "d218a526-be88-4ad9-ae1a-ffdae6cfc7c0", + "x-ms-request-id" : "cca003d6-201e-003b-71d3-5ca2f5000000", + "Body" : "SiN9qL/zNOdBiH30bTC7kdfwhHLNmCAK", + "x-ms-client-request-id" : "ee0957ce-02ef-453c-b864-a75c28042dc7", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27a16e053972f569bf46ab843b184e/b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", + "Uri" : "https://REDACTED.blob.core.windows.net/b5fee27a0b5fee27aea1217889cbad5518ad84a968c3/b5fee27a1b5fee27aea103794def416581b3a4a379cc", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "37c728f9-5ca2-4b30-aabd-5a01077a62ec" + "x-ms-client-request-id" : "d1fba201-457c-406e-acc2-0abf3123c873" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes */1024", "x-ms-error-code" : "InvalidRange", "retry-after" : "0", "Content-Length" : "249", "StatusCode" : "416", - "x-ms-request-id" : "9673126e-d01e-0007-3ca9-52162e000000", - "Body" : "InvalidRangeThe range specified is invalid for the current size of the resource.\nRequestId:9673126e-d01e-0007-3ca9-52162e000000\nTime:2023-03-09T17:06:17.8731571Z", - "Date" : "Thu, 09 Mar 2023 17:06:17 GMT", - "x-ms-client-request-id" : "37c728f9-5ca2-4b30-aabd-5a01077a62ec", + "x-ms-request-id" : "f034913f-701e-0001-6cd3-5ce156000000", + "Body" : "InvalidRangeThe range specified is invalid for the current size of the resource.\nRequestId:f034913f-701e-0001-6cd3-5ce156000000\nTime:2023-03-22T15:32:35.9962206Z", + "Date" : "Wed, 22 Mar 2023 15:32:35 GMT", + "x-ms-client-request-id" : "d1fba201-457c-406e-acc2-0abf3123c873", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "b5fee27a0b5fee27a16e053972f569bf46ab843b184e", "b5fee27a1b5fee27a16e8262155601f7b284c4c45afa", "b5fee27a2b5fee27a16e56044a13d168ae6d348b0902", "5791e4cf-7a6b-4d9a-969b-f42f3741a77e" ] + "variables" : [ "b5fee27a0b5fee27aea1217889cbad5518ad84a968c3", "b5fee27a1b5fee27aea103794def416581b3a4a379cc", "b5fee27a2b5fee27aea10988855accf6d324c47a2987", "2041b101-b4fd-4aab-bd26-bb8231c43473" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsE2EChannelRead[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsE2EChannelRead[1].json index 8ae43857706b..967831b1897e 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsE2EChannelRead[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsE2EChannelRead[1].json @@ -1,107 +1,107 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/ace5d33b0ace5d33b5a5956743be8436653ec4b1198a?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/ace5d33b0ace5d33b96e0226240c65b6eb0674a71809?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "ba25fd66-4f3b-4153-a6b2-3b196b1074c1" + "x-ms-client-request-id" : "3de8a744-e6d1-47d2-bfcf-343086813bc8" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C09855F386", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA8DE5A1D", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "8051363b-901e-000b-67a9-52f8df000000", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-client-request-id" : "ba25fd66-4f3b-4153-a6b2-3b196b1074c1" + "x-ms-request-id" : "cc9fffa5-201e-003b-0ad3-5ca2f5000000", + "Date" : "Wed, 22 Mar 2023 15:32:34 GMT", + "x-ms-client-request-id" : "3de8a744-e6d1-47d2-bfcf-343086813bc8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/ace5d33b0ace5d33b5a5956743be8436653ec4b1198a/ace5d33b1ace5d33b5a53185084237a40ae9041d392e", + "Uri" : "https://REDACTED.blob.core.windows.net/ace5d33b0ace5d33b96e0226240c65b6eb0674a71809/ace5d33b1ace5d33b96e37147ec40b3dbdc314142b7c", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "30fa15a8-fa83-4aba-9a67-e0985b9c33c9", + "x-ms-client-request-id" : "ce847fe4-39e4-4fa6-81c2-4a7392967de2", "Content-Type" : "application/octet-stream" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-content-crc64" : "LMdU4WTCGRI=", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-version-id" : "2023-03-09T17:06:16.8109816Z", + "x-ms-content-crc64" : "aRcIKUUwSpg=", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", "retry-after" : "0", "StatusCode" : "201", "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "Content-MD5" : "UAZ9lbs/TGRPdluv4lU4kA==", - "ETag" : "0x8DB20C0988AF2F8", + "Date" : "Wed, 22 Mar 2023 15:32:34 GMT", + "Content-MD5" : "MH3KQrB1pH42HDtBy7+i3g==", + "ETag" : "0x8DB2AEAA9018FF0", "Content-Length" : "0", - "x-ms-request-id" : "5f48bd00-a01e-004c-02a9-5227b4000000", - "x-ms-client-request-id" : "30fa15a8-fa83-4aba-9a67-e0985b9c33c9" + "x-ms-request-id" : "f0348fcc-701e-0001-2bd3-5ce156000000", + "x-ms-client-request-id" : "ce847fe4-39e4-4fa6-81c2-4a7392967de2" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/ace5d33b0ace5d33b5a5956743be8436653ec4b1198a/ace5d33b1ace5d33b5a53185084237a40ae9041d392e", + "Uri" : "https://REDACTED.blob.core.windows.net/ace5d33b0ace5d33b96e0226240c65b6eb0674a71809/ace5d33b1ace5d33b96e37147ec40b3dbdc314142b7c", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "88785b64-4f5a-48ab-9434-d23ad22e9343" + "x-ms-client-request-id" : "2e30662b-4225-4c07-9206-02b8a6812266" }, "Response" : { "x-ms-is-current-version" : "true", "x-ms-lease-status" : "unlocked", - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 0-1023/1024", "x-ms-lease-state" : "available", - "x-ms-blob-content-md5" : "UAZ9lbs/TGRPdluv4lU4kA==", - "x-ms-version-id" : "2023-03-09T17:06:16.8109816Z", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "x-ms-blob-content-md5" : "MH3KQrB1pH42HDtBy7+i3g==", + "x-ms-version-id" : "2023-03-22T15:32:34.9232889Z", + "Last-Modified" : "Wed, 22 Mar 2023 15:32:34 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", + "Date" : "Wed, 22 Mar 2023 15:32:34 GMT", "x-ms-blob-type" : "BlockBlob", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", - "ETag" : "0x8DB20C0988AF2F8", - "x-ms-creation-time" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAA9018FF0", + "x-ms-creation-time" : "Wed, 22 Mar 2023 15:32:34 GMT", "Content-Length" : "1024", - "x-ms-request-id" : "5f48bd59-a01e-004c-4fa9-5227b4000000", - "Body" : "cHI1CkfPKqqJQ7h/svhSQbXrfnjeA2GkdbMViR30aPzwegMEucf9+PJ3t6PLrYKOV9xj7ttTEHl4ZviMOyJmC1jMNzxLnHM/p5M8jfpBD0jOi9EFPlLEtKCUzF5oOiw0cPM4R3RksjeQARMmwQYPiInK/x/ioT8WjQ2X/luNOL/tVHhvkGJziaRHaPoszSH/K0zyRMRaJRsy2VyQj98rQf+3MfVg/P+yctXEyUfS55UKWpbBiAr9jlduSk/DnXObxKChwYdDpZqcIuAXo7u5yLFV9EfyRIYJGDkboXshNUDSerzXDg7gSlYdan/Vo7O+XgsfMm7EvYBlcXvTfAWtebGTsEPgnsOh6+gj8vc2ZW2E1Moziho2fYBBXspTinSJXuW8aU/eXIo47OFiJt+4MkqKtpl28KXxgTyCC88KX9DKsCZcjSIUrTAwUY8CAeQuC0hQMYvXzTDVJJ4gg4Dh01noV080iE9iVg6awDFIclDV/T8WwakX/7sC8D5FGDbiZGpwWr/a1xhGLzpj3AO+dOrSwe43epFHxooogLLWrUq3C9RxDg3CTyzZr0cvk2c3QVj6kq8VJo5e1Oy9p0zimxNyf/DmQd+5S47QNt7hnQsFi662DxM10z5gaE7JW7kdrb4tFG9k9R53++RFm/RJAhWnCfDhc+w+926pdf8KbcmtCJmHtFBCFZs25P+hhW8wg8laYdPUBZVsp8Fc8moJVrGnX3UmjAu8NU1oCiyxVAEVY/ReOC7JI1QN5cSUihKMR05YpRqOPDbVIjZm/rFC4Md6l6WGJHebvEcBepZ7RPd29F7VRphVwqGfcszcrfGNR8AUGdbofP2CN4e98GafOTaS5NVIHy3z1C7f8g+S8SV4bg2OZ6kTndvdYH9dsTG386nL8R/DRbs7jbey5P+hUPD9/dQcki39zpJNQNwvUg4Oo1vQsNe6srbnCicsSYteeaf8F/lc0jG2ix7mMGw81Fz0VE9CfQU+vUmq2L18KhKTttWfqXJNTcOxjZ9h+UBapR5wygJJHALYWwb374KCrfGrb0D7ms9LesioMjnY+9Mmd9HkgH2vYCZylm4fSgRx+C+h/2A9ZuIx5Aq2yOtCExDCOzAw04ON1+qiZi8DoBlD1eIEbzFqkJQwXsLhfb4yBp0L/evQLSyy3IxRBG4RFCGrhoNiH8hUIwfgnpvTXfSjuUU1a7SvS5AV7UMHNrkLFaBfHJZwxHKxVeHI0NEZTfLnQWTS6rsD32gkuKVelTNVtAInD9AcxOZUfXuhsbeT9PC88yQZnu0gTjc9z78qKE38C27xOqkwvo4AivDEfQweQVs2yLQMMWjPDtF7knGRGXMRLQih3gUJNbr05EoMGA==", - "x-ms-client-request-id" : "88785b64-4f5a-48ab-9434-d23ad22e9343", + "x-ms-request-id" : "cca000a2-201e-003b-6dd3-5ca2f5000000", + "Body" : "lEWIgYvJz/M+ZKrDUJUtBSypwq+PCyQMcDXLKysjxt70svf5BLHMikjg4maE36tZfA9voKkDGVJQWuoPtgUtPYhYboslcWRsLdkc3KN+8d3zjYDmFNxRiiZQgbvr6fmsz7hBuWJqQqPnwU/2WYbpG9Ecn2TcZDo2gWqz46GtIRPsm56/BPx7wbQF9y5I12zrOzDGWiQGSYNxtTiN41ZiZiOgZk+lCrojmUyXi4NJiw240JpuoC6qxwsCowRvZuTzX1r/xLXWnFTdz/dfE6ffRrVDPEIbEnuG6AKIEDn6w9avBrUQ+CJUX4m+gal2dnihAkRRWPO3LYCmeCIv5r+rCcXIkvkGq6UF77F3HBuVH0ZTylNamFnwjGZuPJFSt+t0dnzS3crp21ogMvef56EKzMFlXbQRETIgTIZ0LArFtX48FkaWBDBXOnRK9uGzNz71RiT233bXnl0DVjCv0hRq7reTXKzHCrttBi6v4Mv3LY1EC6ild9MsmTbTzVghTB1nJ3ykpPv58Rs27CvDcGRjhv8fWRPT9xT1GNDluKCMwlj08O253HaBRyU15B5XizWDHgCu4+Lx0JHdh7Egr0ajCidObgd5Sui3PC6f1CmA26wuCveYDGh4bT475SHg2w5N7lqHyjY0AaelVgsDAadjGx8WapxQiBeh+dyRznoRbHMcChQXSuCj8NB7vinxzlkYxb2qSL7m2CNPzt+N91IWc6bKXBNCLv5P8L2Pe30cJjVYNePk/ascnYWrtEGGxLBmJ2gVk3zHX2t8pH2LHsRuhfSz7zvGE9cXYyiWKYol2UBdewazrQVyDK5CkvPAlAZNGmxeqWY70Jq4/FtnGYNkLKlqROlcKRboB2x3UURSMhgtFEYsQECfwtTggkp9uo/zk/oV2GTgY8bJ+Kz4/99OhPb+NE5Jrnp7DJoyj7fLzcpEbuwTdhyCsHwakwY5OyL2IcS6cos+OOI5F0mO9/sdBws4D/eVOVQHacC6GK9FYRq+eE5youUVJTmd/PMlyBOb2Tndj5h0NQsiDC7CEmA0VMF3kzlCMib2bQPn8lyn+rDElcWwq7E8avjVogCG1MQsgbo+hK/7ecI6AIwRaZ2/W4gOWivOksLfg0HJXiQRHW49wR6xQ2BhaoiFrKBQnYojAfgcSlTeI80fYigleLLl0pILCBvrE16oRi35oMe7MSayt+yuZjX6+GnvOvcDXskbBiGoWKr+oK3ktfVeujHwnkHVLtZ+GkVPxQm+frpsieqBKYFDFSstvNeOH1TFLgvs+JocoexHPZLbDmRThWUN+s8VkKzWBPqvGHWp7L17TpRGRtNzVFbMaBZ+XSHBR/cpH1hfMyrnrnmlH16pJ+2KYQ==", + "x-ms-client-request-id" : "2e30662b-4225-4c07-9206-02b8a6812266", "Content-Type" : "application/octet-stream" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://REDACTED.blob.core.windows.net/ace5d33b0ace5d33b5a5956743be8436653ec4b1198a/ace5d33b1ace5d33b5a53185084237a40ae9041d392e", + "Uri" : "https://REDACTED.blob.core.windows.net/ace5d33b0ace5d33b96e0226240c65b6eb0674a71809/ace5d33b1ace5d33b96e37147ec40b3dbdc314142b7c", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "1a14fbfc-3701-47be-9619-3d2acca12e21" + "x-ms-client-request-id" : "1e20253a-a9ab-49df-9a34-77d3be1b66fe" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes */1024", "x-ms-error-code" : "InvalidRange", "retry-after" : "0", "Content-Length" : "249", "StatusCode" : "416", - "x-ms-request-id" : "bf9bde50-c01e-0013-58a9-52d54a000000", - "Body" : "InvalidRangeThe range specified is invalid for the current size of the resource.\nRequestId:bf9bde50-c01e-0013-58a9-52d54a000000\nTime:2023-03-09T17:06:17.2048227Z", - "Date" : "Thu, 09 Mar 2023 17:06:17 GMT", - "x-ms-client-request-id" : "1a14fbfc-3701-47be-9619-3d2acca12e21", + "x-ms-request-id" : "cca001b0-201e-003b-6cd3-5ca2f5000000", + "Body" : "InvalidRangeThe range specified is invalid for the current size of the resource.\nRequestId:cca001b0-201e-003b-6cd3-5ca2f5000000\nTime:2023-03-22T15:32:35.2712048Z", + "Date" : "Wed, 22 Mar 2023 15:32:34 GMT", + "x-ms-client-request-id" : "1e20253a-a9ab-49df-9a34-77d3be1b66fe", "Content-Type" : "application/xml" }, "Exception" : null } ], - "variables" : [ "ace5d33b0ace5d33b5a5956743be8436653ec4b1198a", "ace5d33b1ace5d33b5a53185084237a40ae9041d392e", "ace5d33b2ace5d33b5a57206555eeb426aa1a43ff83f", "a5695984-7076-4ce5-a7ef-2e1f0d026d5e" ] + "variables" : [ "ace5d33b0ace5d33b96e0226240c65b6eb0674a71809", "ace5d33b1ace5d33b96e37147ec40b3dbdc314142b7c", "ace5d33b2ace5d33b96e729030703b6a4ff094bcdb60", "237218f3-d4c5-4c22-9fcf-174c5e6db2ac" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsSupportsGreaterThanMaxintBlobSize[0].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsSupportsGreaterThanMaxintBlobSize[0].json index 51f6be26b604..5403237911ed 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsSupportsGreaterThanMaxintBlobSize[0].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsSupportsGreaterThanMaxintBlobSize[0].json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/08690399008690399c9d40756bf74223c8e014a60b6d?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/08690399008690399a6356233dae61d78ea7d4da192e?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "c538dae8-ecc8-48a0-8fee-6f24ecab4b36" + "x-ms-client-request-id" : "9740ebf9-7813-4a3f-9bf3-f557b899a4ec" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C09855403C", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAFC171654", + "Last-Modified" : "Wed, 22 Mar 2023 15:34:54 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "f17a0797-201e-0030-75a9-52ba81000000", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-client-request-id" : "c538dae8-ecc8-48a0-8fee-6f24ecab4b36" + "x-ms-request-id" : "dd6ef6de-e01e-000f-72d3-5c0d5d000000", + "Date" : "Wed, 22 Mar 2023 15:34:53 GMT", + "x-ms-client-request-id" : "9740ebf9-7813-4a3f-9bf3-f557b899a4ec" }, "Exception" : null } ], - "variables" : [ "08690399008690399c9d40756bf74223c8e014a60b6d", "08690399108690399c9d3587776c13281f7c248c7817", "08690399208690399c9d037854fdb78152c434aa1a09", "f7db0405-750c-44be-afcc-3719a6ea7898" ] + "variables" : [ "08690399008690399a6356233dae61d78ea7d4da192e", "08690399108690399a6374687308485516d504f50a82", "08690399208690399a631944674fe114148264645851", "47a7a35c-af49-44b8-b258-edd2a37405ea" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsSupportsGreaterThanMaxintBlobSize[1].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsSupportsGreaterThanMaxintBlobSize[1].json index 057a28b017a2..0c352a703cc0 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsSupportsGreaterThanMaxintBlobSize[1].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsSupportsGreaterThanMaxintBlobSize[1].json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/117232d80117232d84ec35507b232fde315dc4511a37?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/117232d80117232d87df9401076a58ead3acb400db6f?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "de80bc5e-3ca3-4aee-89d4-b9c2da6b01f8" + "x-ms-client-request-id" : "c7870f89-b976-4244-985b-8187b3d07b57" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C098578CB0", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAFC191AC2", + "Last-Modified" : "Wed, 22 Mar 2023 15:34:54 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "f303b3f6-701e-0023-64a9-528f60000000", - "Date" : "Thu, 09 Mar 2023 17:06:16 GMT", - "x-ms-client-request-id" : "de80bc5e-3ca3-4aee-89d4-b9c2da6b01f8" + "x-ms-request-id" : "3c9f85e0-a01e-0008-0ad3-5cfbd8000000", + "Date" : "Wed, 22 Mar 2023 15:34:53 GMT", + "x-ms-client-request-id" : "c7870f89-b976-4244-985b-8187b3d07b57" }, "Exception" : null } ], - "variables" : [ "117232d80117232d84ec35507b232fde315dc4511a37", "117232d81117232d84ec76920f07de09d050c436fa09", "117232d82117232d84ec23280374eb81b3b57466b934", "b95bb28c-fd9a-4ba0-ba19-597351e85024" ] + "variables" : [ "117232d80117232d87df9401076a58ead3acb400db6f", "117232d81117232d87df571751f787cef5cc14cf4b0e", "117232d82117232d87df276850062c24428ba47a491a", "097b096f-40b3-4c0f-98ea-35105cf33349" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsSupportsGreaterThanMaxintBlobSize[2].json b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsSupportsGreaterThanMaxintBlobSize[2].json index 5f71bceeb369..4c436b07c13f 100644 --- a/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsSupportsGreaterThanMaxintBlobSize[2].json +++ b/sdk/storage/azure-storage-blob/src/test/resources/session-records/BlobSeekableByteChannelTestsSupportsGreaterThanMaxintBlobSize[2].json @@ -1,25 +1,25 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://REDACTED.blob.core.windows.net/3a5f611b03a5f611b5c4755201f28c2ff291543e5971?restype=container", + "Uri" : "https://REDACTED.blob.core.windows.net/3a5f611b03a5f611b3e97532687a12c61bd734389969?restype=container", "Headers" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", - "x-ms-client-request-id" : "ad2e86d7-49cb-435f-bf78-1539f5a81096" + "x-ms-client-request-id" : "c7e31407-0567-430d-8fac-3a715f2b9ff0" }, "Response" : { - "x-ms-version" : "2021-12-02", + "x-ms-version" : "2022-11-02", "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "0x8DB20C098542776", - "Last-Modified" : "Thu, 09 Mar 2023 17:06:16 GMT", + "ETag" : "0x8DB2AEAFC166994", + "Last-Modified" : "Wed, 22 Mar 2023 15:34:54 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "d78bf23a-b01e-0035-7ba9-524efe000000", - "Date" : "Thu, 09 Mar 2023 17:06:15 GMT", - "x-ms-client-request-id" : "ad2e86d7-49cb-435f-bf78-1539f5a81096" + "x-ms-request-id" : "cc0196a8-901e-0029-36d3-5c96e9000000", + "Date" : "Wed, 22 Mar 2023 15:34:53 GMT", + "x-ms-client-request-id" : "c7e31407-0567-430d-8fac-3a715f2b9ff0" }, "Exception" : null } ], - "variables" : [ "3a5f611b03a5f611b5c4755201f28c2ff291543e5971", "3a5f611b13a5f611b5c4553321604af66b197402783f", "3a5f611b23a5f611b5c426615b1a8465bdf6541b8ad2", "27090576-7b6b-4cd6-9468-cb6c56183c66" ] + "variables" : [ "3a5f611b03a5f611b3e97532687a12c61bd734389969", "3a5f611b13a5f611b3e970592c246178ce28d45919b5", "3a5f611b23a5f611b3e9483865659410a33fc4303908", "b327958c-d7c1-445d-8772-77e6558b827f" ] } \ No newline at end of file diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareFileClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareFileClient.java index 1ebd89a461f5..6a78ea1df151 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareFileClient.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareFileClient.java @@ -173,8 +173,8 @@ public SeekableByteChannel getFileSeekableByteChannelWrite(ShareFileSeekableByte create(options.getFileSize()); } - int chunkSize = options.getChunkSize() != null - ? options.getChunkSize().intValue() : (int) ShareFileAsyncClient.FILE_MAX_PUT_RANGE_SIZE; + int chunkSize = options.getChunkSizeInBytes() != null + ? options.getChunkSizeInBytes().intValue() : (int) ShareFileAsyncClient.FILE_MAX_PUT_RANGE_SIZE; return new StorageSeekableByteChannel(chunkSize, new StorageSeekableByteChannelShareFileWriteBehavior(this, options.getRequestConditions(), options.getFileLastWrittenMode()), 0L); @@ -187,7 +187,7 @@ public SeekableByteChannel getFileSeekableByteChannelWrite(ShareFileSeekableByte */ public SeekableByteChannel getFileSeekableByteChannelRead(ShareFileSeekableByteChannelReadOptions options) { ShareRequestConditions conditions = options != null ? options.getRequestConditions() : null; - Long configuredChunkSize = options != null ? options.getChunkSize() : null; + Long configuredChunkSize = options != null ? options.getChunkSizeInBytes() : null; int chunkSize = configuredChunkSize != null ? configuredChunkSize.intValue() : (int) ShareFileAsyncClient.FILE_MAX_PUT_RANGE_SIZE; diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareFileSeekableByteChannelReadOptions.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareFileSeekableByteChannelReadOptions.java index 114c6b3f531c..51fa93e31661 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareFileSeekableByteChannelReadOptions.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareFileSeekableByteChannelReadOptions.java @@ -10,21 +10,21 @@ */ public class ShareFileSeekableByteChannelReadOptions { private ShareRequestConditions requestConditions; - private Long chunkSize; + private Long chunkSizeInBytes; /** * @return The size of individual writes to the service. */ - public Long getChunkSize() { - return chunkSize; + public Long getChunkSizeInBytes() { + return chunkSizeInBytes; } /** - * @param chunkSize The size of individual writes to the service. + * @param chunkSizeInBytes The size of individual writes to the service. * @return The updated instance. */ - public ShareFileSeekableByteChannelReadOptions setChunkSize(Long chunkSize) { - this.chunkSize = chunkSize; + public ShareFileSeekableByteChannelReadOptions setChunkSizeInBytes(Long chunkSizeInBytes) { + this.chunkSizeInBytes = chunkSizeInBytes; return this; } diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareFileSeekableByteChannelWriteOptions.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareFileSeekableByteChannelWriteOptions.java index c4cb79c0225b..4478fc46cd3b 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareFileSeekableByteChannelWriteOptions.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/options/ShareFileSeekableByteChannelWriteOptions.java @@ -2,10 +2,13 @@ // Licensed under the MIT License. package com.azure.storage.file.share.options; +import com.azure.core.util.ExpandableStringEnum; import com.azure.core.util.logging.ClientLogger; import com.azure.storage.file.share.models.FileLastWrittenMode; import com.azure.storage.file.share.models.ShareRequestConditions; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; import java.util.Objects; /** @@ -17,24 +20,44 @@ public final class ShareFileSeekableByteChannelWriteOptions { /** * Mode to open the channel for writing. */ - public enum WriteMode { + public static final class WriteMode extends ExpandableStringEnum { /** * Opens channel to an existing file for writing. */ - WRITE, + public static final WriteMode WRITE = fromString("Write"); /** * Creates a new file for writing and opens the channel. If the file already exists, it will be overwritten. * Requires a value be set with {@link ShareFileSeekableByteChannelWriteOptions#setFileSize(Long)}. */ - OVERWRITE + public static final WriteMode OVERWRITE = fromString("Overwrite"); + + /** + * Creates or finds a AccessTier from its string representation. + * + * @param name a name to look for. + * @return the corresponding AccessTier. + */ + @JsonCreator + public static WriteMode fromString(String name) { + return fromString(name, WriteMode.class); + } + + /** + * Gets known WriteMode values. + * + * @return known WriteMode values. + */ + public static Collection values() { + return values(WriteMode.class); + } } private final WriteMode channelMode; private Long fileSize; private ShareRequestConditions requestConditions; private FileLastWrittenMode fileLastWrittenMode; - private Long chunkSize; + private Long chunkSizeInBytes; /** * Options constructor. @@ -82,16 +105,16 @@ public ShareFileSeekableByteChannelWriteOptions setFileSize(Long fileSize) { /** * @return The size of individual writes to the service. */ - public Long getChunkSize() { - return chunkSize; + public Long getChunkSizeInBytes() { + return chunkSizeInBytes; } /** - * @param chunkSize The size of individual writes to the service. + * @param chunkSizeInBytes The size of individual writes to the service. * @return The updated instance. */ - public ShareFileSeekableByteChannelWriteOptions setChunkSize(Long chunkSize) { - this.chunkSize = chunkSize; + public ShareFileSeekableByteChannelWriteOptions setChunkSizeInBytes(Long chunkSizeInBytes) { + this.chunkSizeInBytes = chunkSizeInBytes; return this; } diff --git a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/StorageFileSeekableByteChannelTests.groovy b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/StorageFileSeekableByteChannelTests.groovy index 6934677cc53f..885a2fd82983 100644 --- a/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/StorageFileSeekableByteChannelTests.groovy +++ b/sdk/storage/azure-storage-file-share/src/test/java/com/azure/storage/file/share/StorageFileSeekableByteChannelTests.groovy @@ -42,7 +42,7 @@ class StorageFileSeekableByteChannelTests extends APISpec { when: "Channel initialized" def channel = primaryFileClient.getFileSeekableByteChannelWrite( new ShareFileSeekableByteChannelWriteOptions(ShareFileSeekableByteChannelWriteOptions.WriteMode.OVERWRITE) - .setFileSize(data.length).setChunkSize(streamBufferSize)) + .setFileSize(data.length).setChunkSizeInBytes(streamBufferSize)) then: "Channel initialized to position zero" channel.position() == 0 @@ -73,7 +73,7 @@ class StorageFileSeekableByteChannelTests extends APISpec { when: "Channel initialized" def channel = primaryFileClient.getFileSeekableByteChannelRead( - new ShareFileSeekableByteChannelReadOptions().setChunkSize(streamBufferSize)) + new ShareFileSeekableByteChannelReadOptions().setChunkSizeInBytes(streamBufferSize)) then: "Channel initialized to position zero" channel.position() == 0 From 6a6203f56f3b295e219db1a35f227ba1d153db05 Mon Sep 17 00:00:00 2001 From: yogeshmo <46582228+yogeshmo@users.noreply.github.com> Date: Wed, 22 Mar 2023 10:10:03 -0700 Subject: [PATCH 15/35] Updating Java SDK for GA Release (#34151) Co-authored-by: Yogesh Mohanraj --- .../azure-communication-email/README.md | 8 ++++---- .../com/azure/communication/email/EmailClient.java | 13 +++++++++++++ .../azure/communication/email/ReadmeSamples.java | 8 ++++---- .../azure/communication/email/EmailClientTests.java | 6 +++--- 4 files changed, 24 insertions(+), 11 deletions(-) diff --git a/sdk/communication/azure-communication-email/README.md b/sdk/communication/azure-communication-email/README.md index a98159a455b6..9ff5c1c442d2 100644 --- a/sdk/communication/azure-communication-email/README.md +++ b/sdk/communication/azure-communication-email/README.md @@ -116,7 +116,7 @@ EmailMessage message = new EmailMessage() .setSubject("test subject") .setBodyPlainText("test message"); -SyncPoller poller = emailClient.beginSend(message, null); +SyncPoller poller = emailClient.beginSend(message); PollResponse response = poller.waitForCompletion(); System.out.println("Operation Id: " + response.getValue().getId()); @@ -135,7 +135,7 @@ EmailMessage message = new EmailMessage() .setCcRecipients("") .setBccRecipients(""); -SyncPoller poller = emailClient.beginSend(message, null); +SyncPoller poller = emailClient.beginSend(message); PollResponse response = poller.waitForCompletion(); System.out.println("Operation Id: " + response.getValue().getId()); @@ -156,7 +156,7 @@ EmailMessage message = new EmailMessage() .setBodyPlainText("test message") .setToRecipients(toAddress1, toAddress2); -SyncPoller poller = emailClient.beginSend(message, null); +SyncPoller poller = emailClient.beginSend(message); PollResponse response = poller.waitForCompletion(); System.out.println("Operation Id: " + response.getValue().getId()); @@ -181,7 +181,7 @@ EmailMessage message = new EmailMessage() .setBodyPlainText("test message") .setAttachments(attachment); -SyncPoller poller = emailClient.beginSend(message, null); +SyncPoller poller = emailClient.beginSend(message); PollResponse response = poller.waitForCompletion(); System.out.println("Operation Id: " + response.getValue().getId()); diff --git a/sdk/communication/azure-communication-email/src/main/java/com/azure/communication/email/EmailClient.java b/sdk/communication/azure-communication-email/src/main/java/com/azure/communication/email/EmailClient.java index 0dbd1fd1a9dc..6589345900fa 100644 --- a/sdk/communication/azure-communication-email/src/main/java/com/azure/communication/email/EmailClient.java +++ b/sdk/communication/azure-communication-email/src/main/java/com/azure/communication/email/EmailClient.java @@ -27,6 +27,19 @@ public final class EmailClient { this.client = client; } + /** + * Queues an email message to be sent to one or more recipients. + * + * @param message Message payload for sending an email. + * @throws ErrorResponseException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of status of the long running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller beginSend(EmailMessage message) { + return beginSend(message, Context.NONE); + } + /** * Queues an email message to be sent to one or more recipients. * diff --git a/sdk/communication/azure-communication-email/src/samples/java/com/azure/communication/email/ReadmeSamples.java b/sdk/communication/azure-communication-email/src/samples/java/com/azure/communication/email/ReadmeSamples.java index bc8e7ec72bb1..22d60de5ea77 100644 --- a/sdk/communication/azure-communication-email/src/samples/java/com/azure/communication/email/ReadmeSamples.java +++ b/sdk/communication/azure-communication-email/src/samples/java/com/azure/communication/email/ReadmeSamples.java @@ -66,7 +66,7 @@ public void sendEmailToSingleRecipient() { .setSubject("test subject") .setBodyPlainText("test message"); - SyncPoller poller = emailClient.beginSend(message, null); + SyncPoller poller = emailClient.beginSend(message); PollResponse response = poller.waitForCompletion(); System.out.println("Operation Id: " + response.getValue().getId()); @@ -85,7 +85,7 @@ public void sendEmailToMultipleRecipients() { .setCcRecipients("") .setBccRecipients(""); - SyncPoller poller = emailClient.beginSend(message, null); + SyncPoller poller = emailClient.beginSend(message); PollResponse response = poller.waitForCompletion(); System.out.println("Operation Id: " + response.getValue().getId()); @@ -108,7 +108,7 @@ public void sendEmailToMultipleRecipientsWithOptions() { .setBodyPlainText("test message") .setToRecipients(toAddress1, toAddress2); - SyncPoller poller = emailClient.beginSend(message, null); + SyncPoller poller = emailClient.beginSend(message); PollResponse response = poller.waitForCompletion(); System.out.println("Operation Id: " + response.getValue().getId()); @@ -134,7 +134,7 @@ public void sendEmailWithAttachment() { .setBodyPlainText("test message") .setAttachments(attachment); - SyncPoller poller = emailClient.beginSend(message, null); + SyncPoller poller = emailClient.beginSend(message); PollResponse response = poller.waitForCompletion(); System.out.println("Operation Id: " + response.getValue().getId()); diff --git a/sdk/communication/azure-communication-email/src/test/java/com/azure/communication/email/EmailClientTests.java b/sdk/communication/azure-communication-email/src/test/java/com/azure/communication/email/EmailClientTests.java index ce6e07a5432f..590e474ab91b 100644 --- a/sdk/communication/azure-communication-email/src/test/java/com/azure/communication/email/EmailClientTests.java +++ b/sdk/communication/azure-communication-email/src/test/java/com/azure/communication/email/EmailClientTests.java @@ -36,7 +36,7 @@ public void sendEmailToSingleRecipient(HttpClient httpClient) { .setSubject("test subject") .setBodyHtml("

test message

"); - SyncPoller poller = emailClient.beginSend(message, null); + SyncPoller poller = emailClient.beginSend(message); PollResponse response = poller.waitForCompletion(); assertEquals(response.getValue().getStatus(), EmailSendStatus.SUCCEEDED); @@ -55,7 +55,7 @@ public void sendEmailToMultipleRecipients(HttpClient httpClient) { .setCcRecipients(RECIPIENT_ADDRESS) .setBccRecipients(RECIPIENT_ADDRESS); - SyncPoller poller = emailClient.beginSend(message, null); + SyncPoller poller = emailClient.beginSend(message); PollResponse response = poller.waitForCompletion(); assertEquals(response.getValue().getStatus(), EmailSendStatus.SUCCEEDED); @@ -79,7 +79,7 @@ public void sendEmailWithAttachment(HttpClient httpClient) { .setBodyHtml("

test message

") .setAttachments(attachment); - SyncPoller poller = emailClient.beginSend(message, null); + SyncPoller poller = emailClient.beginSend(message); PollResponse response = poller.waitForCompletion(); assertEquals(response.getValue().getStatus(), EmailSendStatus.SUCCEEDED); From cae8e85792ae6513a0109d38acaffc56d0a3042f Mon Sep 17 00:00:00 2001 From: Matt Metcalf Date: Wed, 22 Mar 2023 14:11:31 -0700 Subject: [PATCH 16/35] Cleaning Up before release (#34167) --- .../properties/AppConfigurationProperties.java | 18 ------------------ .../README.md | 2 +- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/sdk/spring/spring-cloud-azure-appconfiguration-config/src/main/java/com/azure/spring/cloud/appconfiguration/config/implementation/properties/AppConfigurationProperties.java b/sdk/spring/spring-cloud-azure-appconfiguration-config/src/main/java/com/azure/spring/cloud/appconfiguration/config/implementation/properties/AppConfigurationProperties.java index c5f35d76382d..26e4730210aa 100644 --- a/sdk/spring/spring-cloud-azure-appconfiguration-config/src/main/java/com/azure/spring/cloud/appconfiguration/config/implementation/properties/AppConfigurationProperties.java +++ b/sdk/spring/spring-cloud-azure-appconfiguration-config/src/main/java/com/azure/spring/cloud/appconfiguration/config/implementation/properties/AppConfigurationProperties.java @@ -11,7 +11,6 @@ import javax.annotation.PostConstruct; import org.springframework.boot.context.properties.ConfigurationProperties; -import org.springframework.lang.Nullable; import org.springframework.util.Assert; import org.springframework.util.StringUtils; @@ -30,9 +29,6 @@ public final class AppConfigurationProperties { private List stores = new ArrayList<>(); - @Nullable - private String clientId; // Optional: client_id of the managed identity - private Duration refreshInterval; /** @@ -63,20 +59,6 @@ public void setStores(List stores) { this.stores = stores; } - /** - * @return the clientId - */ - public String getClientId() { - return clientId; - } - - /** - * @param clientId the clientId to set - */ - public void setClientId(String clientId) { - this.clientId = clientId; - } - /** * @return the refreshInterval */ diff --git a/sdk/spring/spring-cloud-azure-starter-appconfiguration-config/README.md b/sdk/spring/spring-cloud-azure-starter-appconfiguration-config/README.md index 939ac2a5af79..57f29d70425b 100644 --- a/sdk/spring/spring-cloud-azure-starter-appconfiguration-config/README.md +++ b/sdk/spring/spring-cloud-azure-starter-appconfiguration-config/README.md @@ -52,7 +52,6 @@ Name | Description | Required | Default ---|---|---|--- spring.cloud.azure.appconfiguration.stores | List of configuration stores from which to load configuration properties | Yes | true spring.cloud.azure.appconfiguration.enabled | Whether enable spring-cloud-azure-appconfiguration-config or not | No | true -spring.cloud.azure.appconfiguration.client-id | Client id of the user assigned managed identity, only required when choosing to use user assigned managed identity on Azure | No | null spring.cloud.azure.appconfiguration.refresh-interval | Amount of time, of type Duration, configurations are stored before a check can occur. | No | null `spring.cloud.azure.appconfiguration.stores` is a list of stores, where each store follows the following format: @@ -71,6 +70,7 @@ Name | Description | Required | Default spring.cloud.azure.appconfiguration.stores[0].endpoint | When the endpoint of an App Configuration store is specified, a managed identity or a token credential provided using `AppConfigCredentialProvider` will be used to connect to the App Configuration service. An `IllegalArgumentException` will be thrown if the endpoint and connection-string are specified at the same time. | Conditional | null spring.cloud.azure.appconfiguration.stores[0].endpoints | When multiple replica endpoints of an App Configuration store are specified, a managed identity or a token credential provided using `AppConfigCredentialProvider` will be used to connect to the App Configuration service. Replica endpoints should be listed in priority order of connection. An `IllegalArgumentException` will be thrown if multiple authentication methods are provided. | Conditional | null spring.cloud.azure.appconfiguration.stores[0].connection-string | When the connection-string of an App Configuration store is specified, HMAC authentication will be used to connect to the App Configuration service. An `IllegalArgumentException` will be thrown if the endpoint and connection-string are specified at the same time. | Conditional | null +spring.cloud.azure.appconfiguration.stores[0].connection-strings | When the connection-strings of an App Configuration store is specified, HMAC authentication will be used to connect to the App Configuration service. Replica stores should be listed in priority order of connection. An `IllegalArgumentException` will be thrown if the endpoint and connection-string are specified at the same time. | Conditional | null `spring.cloud.azure.appconfiguration.stores[0].monitoring` is a set of configurations dealing with refresh of configurations: From 481753ea1524ed8aba8b4f45bf5798fa8b76159e Mon Sep 17 00:00:00 2001 From: Liudmila Molkova Date: Wed, 22 Mar 2023 14:50:21 -0700 Subject: [PATCH 17/35] Onboard ingestion onto sync stack (#33146) * Onboard ingestion to sync stack --- sdk/monitor/azure-monitor-ingestion/README.md | 2 +- sdk/monitor/azure-monitor-ingestion/pom.xml | 1 + .../ingestion/LogsIngestionAsyncClient.java | 120 +--------- .../ingestion/LogsIngestionClient.java | 135 +++++++++++- .../ingestion/LogsIngestionClientBuilder.java | 8 +- .../ingestion/implementation/Batcher.java | 170 +++++++++++++++ .../ConcurrencyLimitingSpliterator.java | 72 ++++++ ...gestionUsingDataCollectionRulesClient.java | 8 +- ...UsingDataCollectionRulesClientBuilder.java | 2 +- ...ionUsingDataCollectionRulesClientImpl.java | 206 +++++++++--------- .../ingestion/implementation/Utils.java | 93 ++++++++ .../LogsIngestionClientConcurrencyTest.java | 162 ++++++++++++++ .../ingestion/LogsIngestionTestBase.java | 2 +- .../ConcurrencyLimitingSpliteratorTest.java | 103 +++++++++ .../ingestion/implementation/UtilsTest.java | 65 ++++++ .../azure-monitor-ingestion/swagger/README.md | 1 + 16 files changed, 924 insertions(+), 226 deletions(-) create mode 100644 sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/Batcher.java create mode 100644 sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/ConcurrencyLimitingSpliterator.java create mode 100644 sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/Utils.java create mode 100644 sdk/monitor/azure-monitor-ingestion/src/test/java/com/azure/monitor/ingestion/LogsIngestionClientConcurrencyTest.java create mode 100644 sdk/monitor/azure-monitor-ingestion/src/test/java/com/azure/monitor/ingestion/implementation/ConcurrencyLimitingSpliteratorTest.java create mode 100644 sdk/monitor/azure-monitor-ingestion/src/test/java/com/azure/monitor/ingestion/implementation/UtilsTest.java diff --git a/sdk/monitor/azure-monitor-ingestion/README.md b/sdk/monitor/azure-monitor-ingestion/README.md index ace298d8c557..95861ee7cce5 100644 --- a/sdk/monitor/azure-monitor-ingestion/README.md +++ b/sdk/monitor/azure-monitor-ingestion/README.md @@ -128,7 +128,7 @@ System.out.println("Logs uploaded successfully"); ### Upload custom logs with max concurrency If the in input logs collection is too large, the client will split the input into multiple smaller requests. These -requests are sent serially, by default, but by configuring the max concurrency in `UploadLogsOptions`, these requests +requests are sent serially, by default, but by configuring the max concurrency in `LogsUploadOptions`, these requests can be concurrently sent to the service as shown in the example below. ```java readme-sample-uploadLogsWithMaxConcurrency diff --git a/sdk/monitor/azure-monitor-ingestion/pom.xml b/sdk/monitor/azure-monitor-ingestion/pom.xml index 0696657f2436..94ecf28f7971 100644 --- a/sdk/monitor/azure-monitor-ingestion/pom.xml +++ b/sdk/monitor/azure-monitor-ingestion/pom.xml @@ -48,6 +48,7 @@ --add-exports com.azure.core/com.azure.core.implementation.jackson=ALL-UNNAMED --add-exports com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED + --add-exports com.azure.monitor.ingestion/com.azure.monitor.ingestion.implementation=ALL-UNNAMED --add-opens com.azure.monitor.ingestion/com.azure.monitor.ingestion=ALL-UNNAMED
diff --git a/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/LogsIngestionAsyncClient.java b/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/LogsIngestionAsyncClient.java index c8c045cc6074..47f7d74e577b 100644 --- a/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/LogsIngestionAsyncClient.java +++ b/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/LogsIngestionAsyncClient.java @@ -15,37 +15,27 @@ import com.azure.core.http.rest.Response; import com.azure.core.util.BinaryData; import com.azure.core.util.Context; -import com.azure.core.util.logging.ClientLogger; -import com.azure.core.util.serializer.JsonSerializer; -import com.azure.core.util.serializer.JsonSerializerProviders; -import com.azure.core.util.serializer.ObjectSerializer; +import com.azure.monitor.ingestion.implementation.Batcher; import com.azure.monitor.ingestion.implementation.IngestionUsingDataCollectionRulesAsyncClient; import com.azure.monitor.ingestion.implementation.LogsIngestionRequest; import com.azure.monitor.ingestion.implementation.UploadLogsResponseHolder; import com.azure.monitor.ingestion.models.LogsUploadError; import com.azure.monitor.ingestion.models.LogsUploadException; import com.azure.monitor.ingestion.models.LogsUploadOptions; -import com.fasterxml.jackson.core.JsonFactory; -import com.fasterxml.jackson.core.JsonGenerator; -import reactor.core.publisher.Flux; -import reactor.core.publisher.FluxSink; import reactor.core.publisher.Mono; import reactor.core.publisher.SynchronousSink; -import java.io.ByteArrayOutputStream; -import java.io.IOException; -import java.io.UncheckedIOException; -import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.Collections; -import java.util.Iterator; import java.util.List; import java.util.Objects; import java.util.function.Consumer; -import java.util.stream.Collectors; -import java.util.zip.GZIPOutputStream; import static com.azure.core.util.FluxUtil.withContext; +import static com.azure.monitor.ingestion.implementation.Utils.CONTENT_ENCODING; +import static com.azure.monitor.ingestion.implementation.Utils.GZIP; +import static com.azure.monitor.ingestion.implementation.Utils.getConcurrency; +import static com.azure.monitor.ingestion.implementation.Utils.gzipRequest; /** * The asynchronous client for uploading logs to Azure Monitor. @@ -62,12 +52,6 @@ */ @ServiceClient(isAsync = true, builder = LogsIngestionClientBuilder.class) public final class LogsIngestionAsyncClient { - private static final ClientLogger LOGGER = new ClientLogger(LogsIngestionAsyncClient.class); - private static final String CONTENT_ENCODING = "Content-Encoding"; - private static final long MAX_REQUEST_PAYLOAD_SIZE = 1024 * 1024; // 1 MB - private static final String GZIP = "gzip"; - private static final JsonSerializer DEFAULT_SERIALIZER = JsonSerializerProviders.createInstance(true); - private final IngestionUsingDataCollectionRulesAsyncClient service; LogsIngestionAsyncClient(IngestionUsingDataCollectionRulesAsyncClient service) { @@ -201,71 +185,15 @@ Mono upload(String ruleId, String streamName, */ private Mono splitAndUpload(String ruleId, String streamName, Iterable logs, LogsUploadOptions options, Context context) { - // set concurrency to 1 as default - int concurrency = 1; - ObjectSerializer objectSerializer = DEFAULT_SERIALIZER; - if (options != null) { - if (options.getObjectSerializer() != null) { - objectSerializer = options.getObjectSerializer(); - } - if (options.getMaxConcurrency() != null) { - concurrency = options.getMaxConcurrency(); - } - } - ObjectSerializer serializer = objectSerializer; - Iterator iterator = logs.iterator(); + int concurrency = getConcurrency(options); - return Flux.create(emitter -> createHttpRequest(serializer, iterator, emitter)) - .flatMapSequential(request -> uploadToService(ruleId, streamName, context, request), concurrency) - .handle((responseHolder, sink) -> processResponse(options, responseHolder, sink)) - .collectList() - .handle((result, sink) -> processExceptions(result, sink)); - } - - /** - * This method converts raw {@link Object} logs into serialized and gzipped byte array that forms the request - * body of the service call. - * @param serializer The serializer used to serialize logs. - * @param iterator The input logs interator. - * @param emitter The Flux emitter to which the HTTP request is emitted. - */ - private void createHttpRequest(ObjectSerializer serializer, Iterator iterator, FluxSink emitter) { - try { - long currentBatchSize = 0; - ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); - JsonGenerator generator = JsonFactory.builder().build().createGenerator(byteArrayOutputStream); - generator.writeStartArray(); - List serializedLogs = new ArrayList<>(); - List originalLogsRequest = new ArrayList<>(); - while (iterator.hasNext()) { - Object currentLog = iterator.next(); - byte[] bytes = serializer.serializeToBytes(currentLog); - int currentLogSize = bytes.length; - currentBatchSize += currentLogSize; - if (currentBatchSize > MAX_REQUEST_PAYLOAD_SIZE) { - writeLogsAndCloseJsonGenerator(generator, serializedLogs); - byte[] zippedRequestBody = gzipRequest(byteArrayOutputStream.toByteArray()); - emitter.next(new LogsIngestionRequest(originalLogsRequest, zippedRequestBody)); - byteArrayOutputStream = new ByteArrayOutputStream(); - generator = JsonFactory.builder().build().createGenerator(byteArrayOutputStream); - generator.writeStartArray(); - currentBatchSize = currentLogSize; - originalLogsRequest = new ArrayList<>(); - serializedLogs.clear(); - } - serializedLogs.add(new String(bytes, StandardCharsets.UTF_8)); - originalLogsRequest.add(currentLog); - } - if (currentBatchSize > 0) { - writeLogsAndCloseJsonGenerator(generator, serializedLogs); - byte[] zippedRequestBody = gzipRequest(byteArrayOutputStream.toByteArray()); - emitter.next(new LogsIngestionRequest(originalLogsRequest, zippedRequestBody)); - } - emitter.complete(); - } catch (IOException e) { - emitter.error(e); - } + return new Batcher(options, logs) + .toFlux() + .flatMapSequential(request -> uploadToService(ruleId, streamName, context, request), concurrency) + .handle((responseHolder, sink) -> processResponse(options, responseHolder, sink)) + .collectList() + .handle((result, sink) -> processExceptions(result, sink)); } private void processExceptions(List result, SynchronousSink sink) { @@ -311,28 +239,4 @@ private Mono uploadToService(String ruleId, String str .onErrorResume(HttpResponseException.class, ex -> Mono.fromSupplier(() -> new UploadLogsResponseHolder(request, ex))); } - - private void writeLogsAndCloseJsonGenerator(JsonGenerator generator, List serializedLogs) throws IOException { - generator.writeRaw(serializedLogs.stream() - .collect(Collectors.joining(","))); - generator.writeEndArray(); - generator.close(); - } - - /** - * Gzips the input byte array. - * @param bytes The input byte array. - * @return gzipped byte array. - */ - private byte[] gzipRequest(byte[] bytes) { - // This should be moved to azure-core and should be enabled when the client library requests for gzipping the - // request body content. - ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); - try (GZIPOutputStream zip = new GZIPOutputStream(byteArrayOutputStream)) { - zip.write(bytes); - } catch (IOException exception) { - throw LOGGER.logExceptionAsError(new UncheckedIOException(exception)); - } - return byteArrayOutputStream.toByteArray(); - } } diff --git a/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/LogsIngestionClient.java b/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/LogsIngestionClient.java index 8135cccdde7f..432a90a71712 100644 --- a/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/LogsIngestionClient.java +++ b/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/LogsIngestionClient.java @@ -10,12 +10,35 @@ import com.azure.core.exception.HttpResponseException; import com.azure.core.exception.ResourceModifiedException; import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpHeader; import com.azure.core.http.rest.RequestOptions; import com.azure.core.http.rest.Response; import com.azure.core.util.BinaryData; import com.azure.core.util.Context; +import com.azure.core.util.logging.ClientLogger; +import com.azure.monitor.ingestion.implementation.Batcher; +import com.azure.monitor.ingestion.implementation.IngestionUsingDataCollectionRulesClient; +import com.azure.monitor.ingestion.implementation.LogsIngestionRequest; +import com.azure.monitor.ingestion.implementation.UploadLogsResponseHolder; +import com.azure.monitor.ingestion.models.LogsUploadError; +import com.azure.monitor.ingestion.models.LogsUploadException; import com.azure.monitor.ingestion.models.LogsUploadOptions; +import java.util.List; +import java.util.Objects; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.ExecutorService; +import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.Stream; + +import static com.azure.monitor.ingestion.implementation.Utils.CONTENT_ENCODING; +import static com.azure.monitor.ingestion.implementation.Utils.GZIP; +import static com.azure.monitor.ingestion.implementation.Utils.createThreadPool; +import static com.azure.monitor.ingestion.implementation.Utils.getConcurrency; +import static com.azure.monitor.ingestion.implementation.Utils.gzipRequest; +import static com.azure.monitor.ingestion.implementation.Utils.registerShutdownHook; + /** * The synchronous client for uploading logs to Azure Monitor. * @@ -30,12 +53,20 @@ * */ @ServiceClient(builder = LogsIngestionClientBuilder.class) -public final class LogsIngestionClient { +public final class LogsIngestionClient implements AutoCloseable { + private static final ClientLogger LOGGER = new ClientLogger(LogsIngestionClient.class); + private static final String HTTP_REST_PROXY_SYNC_PROXY_ENABLE = "com.azure.core.http.restproxy.syncproxy.enable"; + private static final Context ENABLE_SYNC_CONTEXT = new Context(HTTP_REST_PROXY_SYNC_PROXY_ENABLE, true); + private final IngestionUsingDataCollectionRulesClient client; - private final LogsIngestionAsyncClient asyncClient; + // dynamic thread pool that scales up and down on demand. + private final ExecutorService threadPool; + private final Thread shutdownHook; - LogsIngestionClient(LogsIngestionAsyncClient asyncClient) { - this.asyncClient = asyncClient; + LogsIngestionClient(IngestionUsingDataCollectionRulesClient client) { + this.client = client; + this.threadPool = createThreadPool(); + this.shutdownHook = registerShutdownHook(this.threadPool, 5); } /** @@ -61,7 +92,7 @@ public final class LogsIngestionClient { */ @ServiceMethod(returns = ReturnType.SINGLE) public void upload(String ruleId, String streamName, Iterable logs) { - asyncClient.upload(ruleId, streamName, logs).block(); + upload(ruleId, streamName, logs, null); } /** @@ -90,7 +121,7 @@ public void upload(String ruleId, String streamName, Iterable logs) { @ServiceMethod(returns = ReturnType.SINGLE) public void upload(String ruleId, String streamName, Iterable logs, LogsUploadOptions options) { - asyncClient.upload(ruleId, streamName, logs, options, Context.NONE).block(); + upload(ruleId, streamName, logs, options, Context.NONE); } /** @@ -111,7 +142,64 @@ public void upload(String ruleId, String streamName, @ServiceMethod(returns = ReturnType.SINGLE) public void upload(String ruleId, String streamName, Iterable logs, LogsUploadOptions options, Context context) { - asyncClient.upload(ruleId, streamName, logs, options, context).block(); + Objects.requireNonNull(ruleId, "'ruleId' cannot be null."); + Objects.requireNonNull(streamName, "'streamName' cannot be null."); + Objects.requireNonNull(logs, "'logs' cannot be null."); + + context = enableSync(context); + + Consumer uploadLogsErrorConsumer = options == null ? null : options.getLogsUploadErrorConsumer(); + + RequestOptions requestOptions = new RequestOptions(); + requestOptions.addHeader(CONTENT_ENCODING, GZIP); + requestOptions.setContext(context); + + Stream responses = new Batcher(options, logs) + .toStream() + .map(r -> uploadToService(ruleId, streamName, requestOptions, r)); + + responses = submit(responses, getConcurrency(options)) + .filter(response -> response.getException() != null); + + if (uploadLogsErrorConsumer != null) { + responses.forEach(response -> uploadLogsErrorConsumer.accept(new LogsUploadError(response.getException(), response.getRequest().getLogs()))); + return; + } + + final int[] failedLogCount = new int[1]; + List exceptions = responses + .map(response -> { + failedLogCount[0] += response.getRequest().getLogs().size(); + return response.getException(); + }) + .collect(Collectors.toList()); + + if (exceptions.size() > 0) { + throw LOGGER.logExceptionAsError(new LogsUploadException(exceptions, failedLogCount[0])); + } + } + + private Stream submit(Stream responseStream, int concurrency) { + if (concurrency == 1) { + return responseStream; + } + + try { + return threadPool.submit(() -> responseStream).get(); + } catch (InterruptedException | ExecutionException e) { + throw LOGGER.logExceptionAsError(new RuntimeException(e)); + } + } + + private UploadLogsResponseHolder uploadToService(String ruleId, String streamName, RequestOptions requestOptions, LogsIngestionRequest request) { + HttpResponseException exception = null; + try { + client.uploadWithResponse(ruleId, streamName, BinaryData.fromBytes(request.getRequestBody()), requestOptions); + } catch (HttpResponseException ex) { + exception = ex; + } + + return new UploadLogsResponseHolder(request, exception); } /** @@ -147,6 +235,37 @@ public void upload(String ruleId, String streamName, @ServiceMethod(returns = ReturnType.SINGLE) public Response uploadWithResponse( String ruleId, String streamName, BinaryData logs, RequestOptions requestOptions) { - return asyncClient.uploadWithResponse(ruleId, streamName, logs, requestOptions).block(); + Objects.requireNonNull(ruleId, "'ruleId' cannot be null."); + Objects.requireNonNull(streamName, "'streamName' cannot be null."); + Objects.requireNonNull(logs, "'logs' cannot be null."); + + if (requestOptions == null) { + requestOptions = new RequestOptions(); + } + + requestOptions.setContext(enableSync(requestOptions.getContext())); + requestOptions.addRequestCallback(request -> { + HttpHeader httpHeader = request.getHeaders().get(CONTENT_ENCODING); + if (httpHeader == null) { + BinaryData gzippedRequest = BinaryData.fromBytes(gzipRequest(logs.toBytes())); + request.setBody(gzippedRequest); + request.setHeader(CONTENT_ENCODING, GZIP); + } + }); + return client.uploadWithResponse(ruleId, streamName, logs, requestOptions); + } + + private static Context enableSync(Context context) { + if (context == null || context == Context.NONE) { + return ENABLE_SYNC_CONTEXT; + } + + return context.addData(HTTP_REST_PROXY_SYNC_PROXY_ENABLE, true); + } + + @Override + public void close() { + threadPool.shutdown(); + Runtime.getRuntime().removeShutdownHook(shutdownHook); } } diff --git a/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/LogsIngestionClientBuilder.java b/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/LogsIngestionClientBuilder.java index 81a08a3a8969..2be134357337 100644 --- a/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/LogsIngestionClientBuilder.java +++ b/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/LogsIngestionClientBuilder.java @@ -189,7 +189,13 @@ public LogsIngestionClientBuilder serviceVersion(LogsIngestionServiceVersion ser * @return A synchronous {@link LogsIngestionClient}. */ public LogsIngestionClient buildClient() { - return new LogsIngestionClient(buildAsyncClient()); + if (endpoint == null) { + throw LOGGER.logExceptionAsError(new IllegalStateException("endpoint is required to build the client.")); + } + if (tokenCredential == null) { + throw LOGGER.logExceptionAsError(new IllegalStateException("credential is required to build the client.")); + } + return new LogsIngestionClient(innerLogBuilder.buildClient()); } /** diff --git a/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/Batcher.java b/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/Batcher.java new file mode 100644 index 000000000000..72e20d647306 --- /dev/null +++ b/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/Batcher.java @@ -0,0 +1,170 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.monitor.ingestion.implementation; + +import com.azure.core.util.logging.ClientLogger; +import com.azure.core.util.serializer.JsonSerializer; +import com.azure.core.util.serializer.JsonSerializerProviders; +import com.azure.core.util.serializer.ObjectSerializer; +import com.azure.monitor.ingestion.models.LogsUploadOptions; +import com.fasterxml.jackson.core.JsonFactory; +import com.fasterxml.jackson.core.JsonGenerator; +import reactor.core.publisher.Flux; + +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.UncheckedIOException; +import java.nio.charset.StandardCharsets; +import java.util.ArrayList; +import java.util.Iterator; +import java.util.List; +import java.util.Spliterator; +import java.util.Spliterators; +import java.util.stream.Collectors; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +import static com.azure.monitor.ingestion.implementation.Utils.MAX_REQUEST_PAYLOAD_SIZE; +import static com.azure.monitor.ingestion.implementation.Utils.getConcurrency; +import static com.azure.monitor.ingestion.implementation.Utils.gzipRequest; + +/** + * Provides iterator and streams for batches over log objects. + */ +public class Batcher implements Iterator { + private static final ClientLogger LOGGER = new ClientLogger(Batcher.class); + private static final JsonSerializer DEFAULT_SERIALIZER = JsonSerializerProviders.createInstance(true); + private final ObjectSerializer serializer; + private final int concurrency; + private final Iterator iterator; + private long currentBatchSize; + private List serializedLogs; + private List originalLogsRequest; + + public Batcher(LogsUploadOptions options, Iterable logs) { + this.serializer = getSerializer(options); + this.concurrency = getConcurrency(options); + this.serializedLogs = new ArrayList<>(); + this.originalLogsRequest = new ArrayList<>(); + this.iterator = logs.iterator(); + } + + /** + * Checks if there are more logs to batch. This method is not thread safe! + * + * When used concurrently, it should be synchronized along with {@link Batcher#next()}: + * + *
{@code
+     * synchronized (batcher) {
+     *     if (batcher.hasNext()) {
+     *         request = batcher.next();
+     *     }
+     * }
+     * }
+ */ + @Override + public boolean hasNext() { + return iterator.hasNext() || currentBatchSize > 0; + } + + /** + * Collects next batch and serializes it into {@link LogsIngestionRequest}. This method is not thread-safe! + * + * Returns null when complete. + */ + @Override + public LogsIngestionRequest next() { + try { + return nextInternal(); + } catch (IOException ex) { + throw LOGGER.logExceptionAsError(new UncheckedIOException(ex)); + } + } + + /** + * Creates stream of requests split for configured concurrency. Returns parallel stream if concurrency is bigger than 1. + */ + public Stream toStream() { + if (concurrency == 1) { + return StreamSupport.stream( + Spliterators.spliteratorUnknownSize(this, Spliterator.NONNULL | Spliterator.ORDERED), false); + } + + return StreamSupport.stream(new ConcurrencyLimitingSpliterator<>(this, concurrency), true); + } + + /** + * Creates flux with requests. + */ + public Flux toFlux() { + return Flux.create(emitter -> { + try { + while (hasNext()) { + LogsIngestionRequest next = nextInternal(); + if (next != null) { + emitter.next(next); + } + } + } catch (IOException ex) { + emitter.error(ex); + } + + emitter.complete(); + }); + } + + private LogsIngestionRequest nextInternal() throws IOException { + LogsIngestionRequest result = null; + while (iterator.hasNext() && result == null) { + Object currentLog = iterator.next(); + byte[] bytes = serializer.serializeToBytes(currentLog); + currentBatchSize += bytes.length; + if (currentBatchSize > MAX_REQUEST_PAYLOAD_SIZE) { + result = createRequest(false); + currentBatchSize = bytes.length; + } + + serializedLogs.add(new String(bytes, StandardCharsets.UTF_8)); + originalLogsRequest.add(currentLog); + } + + if (result == null && currentBatchSize > 0) { + currentBatchSize = 0; + return createRequest(true); + } + + return result; + } + + private LogsIngestionRequest createRequest(boolean last) throws IOException { + ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); + JsonGenerator generator = JsonFactory.builder().build().createGenerator(byteArrayOutputStream); + try { + generator.writeStartArray(); + generator.writeRaw(serializedLogs.stream().collect(Collectors.joining(","))); + generator.writeEndArray(); + + byte[] zippedRequestBody = gzipRequest(byteArrayOutputStream.toByteArray()); + + return new LogsIngestionRequest(originalLogsRequest, zippedRequestBody); + } finally { + generator.close(); + byteArrayOutputStream.close(); + + if (!last) { + originalLogsRequest = new ArrayList<>(); + serializedLogs.clear(); + } + } + } + + private static ObjectSerializer getSerializer(LogsUploadOptions options) { + if (options != null && options.getObjectSerializer() != null) { + return options.getObjectSerializer(); + } + + return DEFAULT_SERIALIZER; + } + +} diff --git a/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/ConcurrencyLimitingSpliterator.java b/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/ConcurrencyLimitingSpliterator.java new file mode 100644 index 000000000000..d7cf05e73e0b --- /dev/null +++ b/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/ConcurrencyLimitingSpliterator.java @@ -0,0 +1,72 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.monitor.ingestion.implementation; + +import java.util.Iterator; +import java.util.Objects; +import java.util.Spliterator; +import java.util.concurrent.atomic.AtomicInteger; +import java.util.function.Consumer; + +/** + * Splits list of items into a given number of sub-lists allowing to process + * sub-lists concurrently. + *

+ * Follows example here: https://docs.oracle.com/javase/8/docs/api/java/util/Spliterator.html + */ +class ConcurrencyLimitingSpliterator implements Spliterator { + private final AtomicInteger concurrency; + private final Iterator iterator; + + /** + * Creates spliterator. + * + * @param concurrency Number of sub-lists to split items to. When processing items concurrently, + * indicates number of threads to process items with. + */ + ConcurrencyLimitingSpliterator(Iterator iterator, int concurrency) { + Objects.requireNonNull(iterator, "'iterator' cannot be null"); + if (concurrency == 0) { + throw new IllegalArgumentException("'concurrency' must be a positive number."); + } + + this.concurrency = new AtomicInteger(concurrency); + this.iterator = iterator; + } + + @Override + public boolean tryAdvance(Consumer action) { + // this method is called on individual spliterators concurrently + // it synchronizes access to logs iterator while requesting the next batch. + T request = null; + synchronized (iterator) { + if (iterator.hasNext()) { + request = iterator.next(); + } + } + + if (request != null) { + action.accept(request); + return true; + } + + return false; + } + + @Override + public Spliterator trySplit() { + // here we split the stream, creating multiple spliterators that will be executed concurrently + return concurrency.getAndDecrement() > 1 ? new ConcurrencyLimitingSpliterator<>(iterator, 1) : null; + } + + @Override + public long estimateSize() { + return Integer.MAX_VALUE; + } + + @Override + public int characteristics() { + return NONNULL | ORDERED & ~(Spliterator.SIZED | Spliterator.SUBSIZED); + } +} diff --git a/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/IngestionUsingDataCollectionRulesClient.java b/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/IngestionUsingDataCollectionRulesClient.java index e962e3fd3991..4fe8cb55eb44 100644 --- a/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/IngestionUsingDataCollectionRulesClient.java +++ b/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/IngestionUsingDataCollectionRulesClient.java @@ -19,7 +19,7 @@ /** Initializes a new instance of the synchronous IngestionUsingDataCollectionRulesClient type. */ @ServiceClient(builder = IngestionUsingDataCollectionRulesClientBuilder.class) public final class IngestionUsingDataCollectionRulesClient { - @Generated private final IngestionUsingDataCollectionRulesAsyncClient client; + @Generated private final IngestionUsingDataCollectionRulesClientImpl serviceClient; /** * Initializes an instance of IngestionUsingDataCollectionRulesClient class. @@ -27,8 +27,8 @@ public final class IngestionUsingDataCollectionRulesClient { * @param client the async client. */ @Generated - IngestionUsingDataCollectionRulesClient(IngestionUsingDataCollectionRulesAsyncClient client) { - this.client = client; + IngestionUsingDataCollectionRulesClient(IngestionUsingDataCollectionRulesClientImpl client) { + this.serviceClient = client; } /** @@ -69,6 +69,6 @@ public final class IngestionUsingDataCollectionRulesClient { @ServiceMethod(returns = ReturnType.SINGLE) public Response uploadWithResponse( String ruleId, String stream, BinaryData body, RequestOptions requestOptions) { - return this.client.uploadWithResponse(ruleId, stream, body, requestOptions).block(); + return this.serviceClient.uploadWithResponse(ruleId, stream, body, requestOptions); } } diff --git a/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/IngestionUsingDataCollectionRulesClientBuilder.java b/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/IngestionUsingDataCollectionRulesClientBuilder.java index 96fc60615677..fba9adabadcf 100644 --- a/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/IngestionUsingDataCollectionRulesClientBuilder.java +++ b/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/IngestionUsingDataCollectionRulesClientBuilder.java @@ -294,6 +294,6 @@ public IngestionUsingDataCollectionRulesAsyncClient buildAsyncClient() { @Generated public IngestionUsingDataCollectionRulesClient buildClient() { return new IngestionUsingDataCollectionRulesClient( - new IngestionUsingDataCollectionRulesAsyncClient(buildInnerClient())); + buildInnerClient()); } } diff --git a/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/IngestionUsingDataCollectionRulesClientImpl.java b/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/IngestionUsingDataCollectionRulesClientImpl.java index 6f7b5c2377e0..f563f013c9cd 100644 --- a/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/IngestionUsingDataCollectionRulesClientImpl.java +++ b/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/IngestionUsingDataCollectionRulesClientImpl.java @@ -31,6 +31,7 @@ import com.azure.core.util.BinaryData; import com.azure.core.util.Context; import com.azure.core.util.FluxUtil; +import com.azure.core.util.logging.ClientLogger; import com.azure.core.util.serializer.JacksonAdapter; import com.azure.core.util.serializer.SerializerAdapter; import reactor.core.publisher.Mono; @@ -100,14 +101,14 @@ public SerializerAdapter getSerializerAdapter() { * @param serviceVersion Service version. */ public IngestionUsingDataCollectionRulesClientImpl( - String endpoint, IngestionUsingDataCollectionRulesServiceVersion serviceVersion) { + String endpoint, IngestionUsingDataCollectionRulesServiceVersion serviceVersion) { this( - new HttpPipelineBuilder() - .policies(new UserAgentPolicy(), new RetryPolicy(), new CookiePolicy()) - .build(), - JacksonAdapter.createDefaultSerializerAdapter(), - endpoint, - serviceVersion); + new HttpPipelineBuilder() + .policies(new UserAgentPolicy(), new RetryPolicy(), new CookiePolicy()) + .build(), + JacksonAdapter.createDefaultSerializerAdapter(), + endpoint, + serviceVersion); } /** @@ -119,9 +120,9 @@ public IngestionUsingDataCollectionRulesClientImpl( * @param serviceVersion Service version. */ public IngestionUsingDataCollectionRulesClientImpl( - HttpPipeline httpPipeline, - String endpoint, - IngestionUsingDataCollectionRulesServiceVersion serviceVersion) { + HttpPipeline httpPipeline, + String endpoint, + IngestionUsingDataCollectionRulesServiceVersion serviceVersion) { this(httpPipeline, JacksonAdapter.createDefaultSerializerAdapter(), endpoint, serviceVersion); } @@ -135,19 +136,19 @@ public IngestionUsingDataCollectionRulesClientImpl( * @param serviceVersion Service version. */ public IngestionUsingDataCollectionRulesClientImpl( - HttpPipeline httpPipeline, - SerializerAdapter serializerAdapter, - String endpoint, - IngestionUsingDataCollectionRulesServiceVersion serviceVersion) { + HttpPipeline httpPipeline, + SerializerAdapter serializerAdapter, + String endpoint, + IngestionUsingDataCollectionRulesServiceVersion serviceVersion) { this.httpPipeline = httpPipeline; this.serializerAdapter = serializerAdapter; this.endpoint = endpoint; this.serviceVersion = serviceVersion; this.service = - RestProxy.create( - IngestionUsingDataCollectionRulesClientService.class, - this.httpPipeline, - this.getSerializerAdapter()); + RestProxy.create( + IngestionUsingDataCollectionRulesClientService.class, + this.httpPipeline, + this.getSerializerAdapter()); } /** @@ -156,32 +157,56 @@ public IngestionUsingDataCollectionRulesClientImpl( */ @Host("{endpoint}") @ServiceInterface(name = "IngestionUsingDataCo") - private interface IngestionUsingDataCollectionRulesClientService { + public interface IngestionUsingDataCollectionRulesClientService { @Post("/dataCollectionRules/{ruleId}/streams/{stream}") @ExpectedResponses({204}) @UnexpectedResponseExceptionType( - value = ClientAuthenticationException.class, - code = {401}) + value = ClientAuthenticationException.class, + code = {401}) @UnexpectedResponseExceptionType( - value = ResourceNotFoundException.class, - code = {404}) + value = ResourceNotFoundException.class, + code = {404}) @UnexpectedResponseExceptionType( - value = ResourceModifiedException.class, - code = {409}) + value = ResourceModifiedException.class, + code = {409}) @UnexpectedResponseExceptionType(HttpResponseException.class) Mono> upload( - @HostParam("endpoint") String endpoint, - @PathParam("ruleId") String ruleId, - @PathParam("stream") String stream, - @QueryParam("api-version") String apiVersion, - @BodyParam("application/json") BinaryData body, - @HeaderParam("Accept") String accept, - RequestOptions requestOptions, - Context context); + @HostParam("endpoint") String endpoint, + @PathParam("ruleId") String ruleId, + @PathParam("stream") String stream, + @QueryParam("api-version") String apiVersion, + @BodyParam("application/json") BinaryData body, + @HeaderParam("Accept") String accept, + RequestOptions requestOptions, + Context context); + + @Post("/dataCollectionRules/{ruleId}/streams/{stream}") + @ExpectedResponses({204}) + @UnexpectedResponseExceptionType( + value = ClientAuthenticationException.class, + code = {401}) + @UnexpectedResponseExceptionType( + value = ResourceNotFoundException.class, + code = {404}) + @UnexpectedResponseExceptionType( + value = ResourceModifiedException.class, + code = {409}) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Response uploadSync( + @HostParam("endpoint") String endpoint, + @PathParam("ruleId") String ruleId, + @PathParam("stream") String stream, + @QueryParam("api-version") String apiVersion, + @BodyParam("application/json") BinaryData body, + @HeaderParam("Accept") String accept, + RequestOptions requestOptions, + Context context); } /** - * See error response code and error response message for more detail. + * Ingestion API used to directly ingest data using Data Collection Rules + * + *

See error response code and error response message for more detail. * *

Header Parameters * @@ -192,11 +217,13 @@ Mono> upload( * x-ms-client-request-idStringNoClient request Id * * + * You can add these to a request with {@link RequestOptions#addHeader} + * *

Request Body Schema * *

{@code
      * [
-     *     Object
+     *     Object (Required)
      * ]
      * }
* @@ -212,32 +239,37 @@ Mono> upload( */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> uploadWithResponseAsync( - String ruleId, String stream, BinaryData body, RequestOptions requestOptions) { + String ruleId, String stream, BinaryData body, RequestOptions requestOptions) { if (ruleId == null) { - return Mono.error(new IllegalArgumentException("Parameter ruleId is required and cannot be null.")); + throw LOGGER.logExceptionAsError( + new IllegalArgumentException("Parameter ruleId is required and cannot be null.")); } if (stream == null) { - return Mono.error(new IllegalArgumentException("Parameter stream is required and cannot be null.")); + throw LOGGER.logExceptionAsError( + new IllegalArgumentException("Parameter stream is required and cannot be null.")); } if (body == null) { - return Mono.error(new IllegalArgumentException("Parameter body is required and cannot be null.")); + throw LOGGER.logExceptionAsError( + new IllegalArgumentException("Parameter body is required and cannot be null.")); } final String accept = "application/json"; return FluxUtil.withContext( - context -> - service.upload( - this.getEndpoint(), - ruleId, - stream, - this.getServiceVersion().getVersion(), - body, - accept, - requestOptions, - context)); + context -> + service.upload( + this.getEndpoint(), + ruleId, + stream, + this.getServiceVersion().getVersion(), + body, + accept, + requestOptions, + context)); } /** - * See error response code and error response message for more detail. + * Ingestion API used to directly ingest data using Data Collection Rules + * + *

See error response code and error response message for more detail. * *

Header Parameters * @@ -248,11 +280,13 @@ public Mono> uploadWithResponseAsync( * x-ms-client-request-idStringNoClient request Id * * + * You can add these to a request with {@link RequestOptions#addHeader} + * *

Request Body Schema * *

{@code
      * [
-     *     Object
+     *     Object (Required)
      * ]
      * }
* @@ -260,70 +294,38 @@ public Mono> uploadWithResponseAsync( * @param stream The streamDeclaration name as defined in the Data Collection Rule. * @param body An array of objects matching the schema defined by the provided stream. * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @param context The context to associate with this operation. * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response} on successful completion of {@link Mono}. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> uploadWithResponseAsync( - String ruleId, String stream, BinaryData body, RequestOptions requestOptions, Context context) { + public Response uploadWithResponse( + String ruleId, String stream, BinaryData body, RequestOptions requestOptions) { if (ruleId == null) { - return Mono.error(new IllegalArgumentException("Parameter ruleId is required and cannot be null.")); + throw LOGGER.logExceptionAsError( + new IllegalArgumentException("Parameter ruleId is required and cannot be null.")); } if (stream == null) { - return Mono.error(new IllegalArgumentException("Parameter stream is required and cannot be null.")); + throw LOGGER.logExceptionAsError( + new IllegalArgumentException("Parameter stream is required and cannot be null.")); } if (body == null) { - return Mono.error(new IllegalArgumentException("Parameter body is required and cannot be null.")); + throw LOGGER.logExceptionAsError( + new IllegalArgumentException("Parameter body is required and cannot be null.")); } final String accept = "application/json"; - return service.upload( - this.getEndpoint(), - ruleId, - stream, - this.getServiceVersion().getVersion(), - body, - accept, - requestOptions, - context); + return service.uploadSync( + this.getEndpoint(), + ruleId, + stream, + this.getServiceVersion().getVersion(), + body, + accept, + requestOptions, + requestOptions.getContext()); } - /** - * See error response code and error response message for more detail. - * - *

Header Parameters - * - * - * - * - * - * - *
Header Parameters
NameTypeRequiredDescription
Content-EncodingStringNogzip
x-ms-client-request-idStringNoClient request Id
- * - *

Request Body Schema - * - *

{@code
-     * [
-     *     Object
-     * ]
-     * }
- * - * @param ruleId The immutable Id of the Data Collection Rule resource. - * @param stream The streamDeclaration name as defined in the Data Collection Rule. - * @param body An array of objects matching the schema defined by the provided stream. - * @param requestOptions The options to configure the HTTP request before HTTP client sends it. - * @throws HttpResponseException thrown if the request is rejected by server. - * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. - * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. - * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. - * @return the {@link Response}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response uploadWithResponse( - String ruleId, String stream, BinaryData body, RequestOptions requestOptions) { - return uploadWithResponseAsync(ruleId, stream, body, requestOptions).block(); - } + private static final ClientLogger LOGGER = new ClientLogger(IngestionUsingDataCollectionRulesClientImpl.class); } diff --git a/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/Utils.java b/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/Utils.java new file mode 100644 index 000000000000..53474ba27e62 --- /dev/null +++ b/sdk/monitor/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/Utils.java @@ -0,0 +1,93 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.monitor.ingestion.implementation; + +import com.azure.core.util.logging.ClientLogger; +import com.azure.monitor.ingestion.models.LogsUploadOptions; + +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.UncheckedIOException; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.SynchronousQueue; +import java.util.concurrent.ThreadPoolExecutor; +import java.util.concurrent.TimeUnit; +import java.util.zip.GZIPOutputStream; + +public final class Utils { + public static final long MAX_REQUEST_PAYLOAD_SIZE = 1024 * 1024; // 1 MB + public static final String CONTENT_ENCODING = "Content-Encoding"; + public static final String GZIP = "gzip"; + + private static final ClientLogger LOGGER = new ClientLogger(Utils.class); + // similarly to Schedulers.DEFAULT_BOUNDED_ELASTIC_SIZE, just puts a limit depending on logical processors count. + private static final int MAX_CONCURRENCY = 10 * Runtime.getRuntime().availableProcessors(); + + private Utils() { + } + + /** + * Gzips the input byte array. + * @param bytes The input byte array. + * @return gzipped byte array. + */ + public static byte[] gzipRequest(byte[] bytes) { + // This should be moved to azure-core and should be enabled when the client library requests for gzipping the + // request body content. + ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(); + try (GZIPOutputStream zip = new GZIPOutputStream(byteArrayOutputStream)) { + zip.write(bytes); + } catch (IOException exception) { + throw LOGGER.logExceptionAsError(new UncheckedIOException(exception)); + } + return byteArrayOutputStream.toByteArray(); + } + + public static int getConcurrency(LogsUploadOptions options) { + if (options != null && options.getMaxConcurrency() != null) { + return options.getMaxConcurrency(); + } + + return 1; + } + + /** + * Creates cached (that supports scaling) thread pool with shutdown hook to do best-effort graceful termination within timeout. + * + * @return {@link ExecutorService} instance. + */ + public static ExecutorService createThreadPool() { + + return new ThreadPoolExecutor(0, MAX_CONCURRENCY, + 60L, TimeUnit.SECONDS, new SynchronousQueue<>()); + } + + /** + * Registers {@link ExecutorService} shutdown hook which will be called when JVM terminates. + * First, stops accepting new tasks, then awaits their completion for + * half of timeout, cancels remaining tasks and waits another half of timeout for them to get cancelled. + * + * @param threadPool Thread pool to shut down. + * @param timeoutSec Timeout in seconds to wait for tasks to complete or terminate after JVM starting to shut down. + * @return hook thread instance that can be used to unregister hook. + */ + public static Thread registerShutdownHook(ExecutorService threadPool, int timeoutSec) { + // based on https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ExecutorService.html + long halfTimeoutNanos = TimeUnit.SECONDS.toNanos(timeoutSec) / 2; + Thread hook = new Thread(() -> { + try { + threadPool.shutdown(); + if (!threadPool.awaitTermination(halfTimeoutNanos, TimeUnit.NANOSECONDS)) { + threadPool.shutdownNow(); + threadPool.awaitTermination(halfTimeoutNanos, TimeUnit.NANOSECONDS); + } + } catch (InterruptedException e) { + Thread.currentThread().interrupt(); + threadPool.shutdownNow(); + } + }); + Runtime.getRuntime().addShutdownHook(hook); + return hook; + } +} diff --git a/sdk/monitor/azure-monitor-ingestion/src/test/java/com/azure/monitor/ingestion/LogsIngestionClientConcurrencyTest.java b/sdk/monitor/azure-monitor-ingestion/src/test/java/com/azure/monitor/ingestion/LogsIngestionClientConcurrencyTest.java new file mode 100644 index 000000000000..806b910fc33f --- /dev/null +++ b/sdk/monitor/azure-monitor-ingestion/src/test/java/com/azure/monitor/ingestion/LogsIngestionClientConcurrencyTest.java @@ -0,0 +1,162 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.monitor.ingestion; + +import com.azure.core.credential.AccessToken; +import com.azure.core.http.HttpRequest; +import com.azure.core.http.HttpResponse; +import com.azure.core.http.policy.HttpLogDetailLevel; +import com.azure.core.http.policy.HttpLogOptions; +import com.azure.core.test.SyncAsyncExtension; +import com.azure.core.test.annotation.SyncAsyncTest; +import com.azure.core.test.http.MockHttpResponse; +import com.azure.core.test.http.NoOpHttpClient; +import com.azure.core.util.Context; +import com.azure.monitor.ingestion.models.LogsUploadException; +import com.azure.monitor.ingestion.models.LogsUploadOptions; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; +import reactor.core.publisher.Mono; +import reactor.test.StepVerifier; + +import java.time.Duration; +import java.time.OffsetDateTime; +import java.util.List; +import java.util.concurrent.atomic.AtomicBoolean; +import java.util.concurrent.atomic.AtomicInteger; + +import static com.azure.monitor.ingestion.LogsIngestionTestBase.getObjects; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.junit.jupiter.api.Assertions.assertTrue; + +/** + * Test cases for {@link LogsIngestionClient}. + */ +public class LogsIngestionClientConcurrencyTest { + private static final String ENDPOINT = "https://dce.monitor.azure.com"; + private static final String RULE_ID = "dcr-a64851bc17714f0483d1e96b5d84953b"; + private static final String STREAM = "Custom-MyTableRawData"; + private static final int LOGS_IN_BATCH = 9800; // approx + + private LogsIngestionClientBuilder clientBuilder; + @BeforeEach + void beforeEach() { + clientBuilder = new LogsIngestionClientBuilder() + .credential(request -> Mono.just(new AccessToken("fakeToken", OffsetDateTime.now().plusDays(1)))) + .httpLogOptions(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS)) + .endpoint(ENDPOINT); + } + + @SyncAsyncTest + public void testUploadLogsInBatchesConcurrent() { + int concurrency = 10; + int batchCount = 20; + List logs = getObjects(LOGS_IN_BATCH * batchCount); + + TestHttpClient http = new TestHttpClient(false); + clientBuilder.httpClient(http); + LogsUploadOptions uploadOptions = new LogsUploadOptions().setMaxConcurrency(concurrency); + + SyncAsyncExtension.execute( + () -> clientBuilder.buildClient().upload(RULE_ID, STREAM, logs, uploadOptions), + () -> clientBuilder.buildAsyncClient().upload(RULE_ID, STREAM, logs, uploadOptions)); + assertEquals(batchCount, http.getCallsCount()); + assertTrue(http.getMaxConcurrentCalls() <= concurrency + 1, String.format("http.getMaxConcurrentCalls() = %s", http.getMaxConcurrentCalls())); + } + + @Test + public void testUploadLogsPartialFailureConcurrent() { + int concurrency = 4; + int batchCount = 7; + List logs = getObjects(LOGS_IN_BATCH * batchCount); + + TestHttpClient http = new TestHttpClient(true); + clientBuilder.httpClient(http); + LogsUploadOptions uploadOptions = new LogsUploadOptions().setMaxConcurrency(concurrency); + + LogsIngestionClient client = clientBuilder + .httpClient(http) + .buildClient(); + + LogsUploadException uploadLogsException = assertThrows(LogsUploadException.class, + () -> client.upload(RULE_ID, STREAM, logs, uploadOptions)); + + asserError(uploadLogsException); + assertEquals(batchCount, http.getCallsCount()); + } + + @Test + public void testUploadLogsPartialFailureConcurrentAsync() { + int concurrency = 3; + int batchCount = 12; + List logs = getObjects(LOGS_IN_BATCH * batchCount); + + TestHttpClient http = new TestHttpClient(true); + LogsUploadOptions uploadOptions = new LogsUploadOptions().setMaxConcurrency(concurrency); + + StepVerifier.create(clientBuilder + .httpClient(http) + .buildAsyncClient() + .upload(RULE_ID, STREAM, logs, uploadOptions)) + .consumeErrorWith(ex -> { + assertTrue(ex instanceof LogsUploadException); + asserError((LogsUploadException) ex); + }) + .verify(); + assertEquals(batchCount, http.getCallsCount()); + } + + private static void asserError(LogsUploadException uploadException) { + assertEquals(LOGS_IN_BATCH, uploadException.getFailedLogsCount(), 200); + assertEquals(1, uploadException.getLogsUploadErrors().size()); + } + + public class TestHttpClient extends NoOpHttpClient { + private final AtomicInteger concurrentCalls = new AtomicInteger(0); + private final AtomicInteger maxConcurrency; + private final AtomicBoolean failSecondRequest; + private final AtomicInteger counter; + public TestHttpClient(boolean failSecondRequest) { + this.maxConcurrency = new AtomicInteger(); + this.failSecondRequest = new AtomicBoolean(failSecondRequest); + this.counter = new AtomicInteger(); + } + + public Mono send(HttpRequest request) { + return Mono.delay(Duration.ofMillis(1)) + .map(l -> process(request)); + } + + public HttpResponse sendSync(HttpRequest request, Context context) { + return process(request); + } + + public int getCallsCount() { + return counter.get(); + } + private HttpResponse process(HttpRequest request) { + int c = concurrentCalls.incrementAndGet(); + if (c > maxConcurrency.get()) { + maxConcurrency.set(c); + } + + try { + Thread.sleep(1000); + if (counter.getAndIncrement() == 1 && failSecondRequest.compareAndSet(true, false)) { + return new MockHttpResponse(request, 404); + } + return new MockHttpResponse(request, 204); + } catch (InterruptedException e) { + throw new RuntimeException(e); + } finally { + concurrentCalls.decrementAndGet(); + } + } + + public int getMaxConcurrentCalls() { + return maxConcurrency.get(); + } + } +} diff --git a/sdk/monitor/azure-monitor-ingestion/src/test/java/com/azure/monitor/ingestion/LogsIngestionTestBase.java b/sdk/monitor/azure-monitor-ingestion/src/test/java/com/azure/monitor/ingestion/LogsIngestionTestBase.java index 6c0749f18ed7..d387fadeaae5 100644 --- a/sdk/monitor/azure-monitor-ingestion/src/test/java/com/azure/monitor/ingestion/LogsIngestionTestBase.java +++ b/sdk/monitor/azure-monitor-ingestion/src/test/java/com/azure/monitor/ingestion/LogsIngestionTestBase.java @@ -142,7 +142,7 @@ public HttpPipelinePosition getPipelinePosition() { } } - protected List getObjects(int logsCount) { + public static List getObjects(int logsCount) { List logs = new ArrayList<>(); for (int i = 0; i < logsCount; i++) { diff --git a/sdk/monitor/azure-monitor-ingestion/src/test/java/com/azure/monitor/ingestion/implementation/ConcurrencyLimitingSpliteratorTest.java b/sdk/monitor/azure-monitor-ingestion/src/test/java/com/azure/monitor/ingestion/implementation/ConcurrencyLimitingSpliteratorTest.java new file mode 100644 index 000000000000..e8294510d065 --- /dev/null +++ b/sdk/monitor/azure-monitor-ingestion/src/test/java/com/azure/monitor/ingestion/implementation/ConcurrencyLimitingSpliteratorTest.java @@ -0,0 +1,103 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.monitor.ingestion.implementation; + +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.ValueSource; + +import java.util.Arrays; +import java.util.List; +import java.util.concurrent.CountDownLatch; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicInteger; +import java.util.stream.Collectors; +import java.util.stream.IntStream; +import java.util.stream.Stream; +import java.util.stream.StreamSupport; + +import static org.junit.jupiter.api.Assertions.assertArrayEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.junit.jupiter.api.Assertions.assertTrue; +import static org.junit.jupiter.api.Assertions.fail; +import static org.junit.jupiter.api.Assumptions.assumeTrue; + +public class ConcurrencyLimitingSpliteratorTest { + private static final int TEST_TIMEOUT_SEC = 30; + private static final ExecutorService TEST_THREAD_POOL = Executors.newCachedThreadPool(); + + @Test + public void invalidParams() { + assertThrows(NullPointerException.class, () -> new ConcurrencyLimitingSpliterator(null, 1)); + assertThrows(IllegalArgumentException.class, () -> new ConcurrencyLimitingSpliterator<>(Arrays.asList(1, 2, 3).iterator(), 0)); + } + + @ParameterizedTest + @ValueSource(ints = {1, 2, 4, 5, 7, 11, 15}) + public void concurrentCalls(int concurrency) throws ExecutionException, InterruptedException { + assumeTrue(Runtime.getRuntime().availableProcessors() > concurrency); + + List list = IntStream.range(0, 11).boxed().collect(Collectors.toList()); + ConcurrencyLimitingSpliterator spliterator = new ConcurrencyLimitingSpliterator<>(list.iterator(), concurrency); + + Stream stream = StreamSupport.stream(spliterator, true); + + int effectiveConcurrency = Math.min(list.size(), concurrency); + CountDownLatch latch = new CountDownLatch(effectiveConcurrency); + List processed = TEST_THREAD_POOL + .submit(() -> + stream.map(r -> { + latch.countDown(); + try { + Thread.sleep(10); + assertTrue(latch.await(TEST_TIMEOUT_SEC, TimeUnit.SECONDS)); + } catch (InterruptedException e) { + fail("countdown await interrupted"); + } + return r; + }) + .collect(Collectors.toList()) + ).get(); + + assertArrayEquals(list.toArray(), processed.stream().sorted().toArray()); + } + + @Test + public void concurrencyHigherThanItemsCount() throws ExecutionException, InterruptedException { + int concurrency = 100; + List list = IntStream.range(0, 7).boxed().collect(Collectors.toList()); + ConcurrencyLimitingSpliterator spliterator = new ConcurrencyLimitingSpliterator<>(list.iterator(), concurrency); + + Stream stream = StreamSupport.stream(spliterator, true); + + AtomicInteger parallel = new AtomicInteger(0); + AtomicInteger maxParallel = new AtomicInteger(0); + List processed = TEST_THREAD_POOL + .submit(() -> + stream.map(r -> { + int cur = parallel.incrementAndGet(); + int curMax = maxParallel.get(); + while (cur > curMax && !maxParallel.compareAndSet(curMax, cur)) { + curMax = maxParallel.get(); + } + + try { + Thread.sleep(50); + } catch (InterruptedException e) { + fail("timeout"); + } + + parallel.decrementAndGet(); + return r; + }) + .collect(Collectors.toList()) + ).get(); + + assertTrue(maxParallel.get() <= list.size()); + assertArrayEquals(list.toArray(), processed.stream().sorted().toArray()); + } +} diff --git a/sdk/monitor/azure-monitor-ingestion/src/test/java/com/azure/monitor/ingestion/implementation/UtilsTest.java b/sdk/monitor/azure-monitor-ingestion/src/test/java/com/azure/monitor/ingestion/implementation/UtilsTest.java new file mode 100644 index 000000000000..db75340d1d7a --- /dev/null +++ b/sdk/monitor/azure-monitor-ingestion/src/test/java/com/azure/monitor/ingestion/implementation/UtilsTest.java @@ -0,0 +1,65 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.monitor.ingestion.implementation; + +import org.junit.jupiter.api.Test; + +import java.time.Instant; +import java.util.List; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; +import java.util.concurrent.Future; +import java.util.concurrent.RejectedExecutionException; +import java.util.stream.Collectors; +import java.util.stream.IntStream; +import java.util.stream.Stream; + +import static org.junit.jupiter.api.Assertions.assertArrayEquals; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.junit.jupiter.api.Assertions.assertTrue; + +public class UtilsTest { + @Test + public void shutdownHookTerminatesPool() throws InterruptedException, ExecutionException { + int timeoutSec = 2; + ExecutorService threadPool = Executors.newFixedThreadPool(1); + Thread hook = Utils.registerShutdownHook(threadPool, timeoutSec); + + Stream stream = IntStream.of(100, 4000) + .boxed() + .parallel() + .map(i -> task(i)); + + Future> tasks = threadPool.submit(() -> stream.collect(Collectors.toList())); + + long start = Instant.now().toEpochMilli(); + hook.run(); + assertEquals(timeoutSec * 1000, Instant.now().toEpochMilli() - start, 1000); + + assertTrue(threadPool.isShutdown()); + assertTrue(threadPool.isTerminated()); + assertArrayEquals(new Integer[] {100, -1}, tasks.get().toArray()); + + assertThrows(RejectedExecutionException.class, () -> threadPool.submit(() -> stream.collect(Collectors.toList()))); + } + + @Test + public void shutdownHookRegistered() { + int timeoutSec = 2; + ExecutorService threadPool = Executors.newFixedThreadPool(1); + Thread hook = Utils.registerShutdownHook(threadPool, timeoutSec); + assertTrue(Runtime.getRuntime().removeShutdownHook(hook)); + } + + private int task(int sleepMs) { + try { + Thread.sleep(sleepMs); + return sleepMs; + } catch (InterruptedException e) { + return -1; + } + } +} diff --git a/sdk/monitor/azure-monitor-ingestion/swagger/README.md b/sdk/monitor/azure-monitor-ingestion/swagger/README.md index 875188a84efe..4610d90a0839 100644 --- a/sdk/monitor/azure-monitor-ingestion/swagger/README.md +++ b/sdk/monitor/azure-monitor-ingestion/swagger/README.md @@ -20,4 +20,5 @@ credential-scopes: https://monitor.azure.com//.default client-side-validations: true artifact-id: azure-monitor-ingestion data-plane: true +enable-sync-stack: true ``` From 40e0f0b8ecd4a831bbb8b3f03e5f56236c9295da Mon Sep 17 00:00:00 2001 From: kellyyyyin <128453851+kellyyyyin@users.noreply.github.com> Date: Thu, 23 Mar 2023 06:05:28 +0800 Subject: [PATCH 18/35] Fix handling when there is no NextRowKey in response header (#34143) * Allow nextRowKey to be null when list next page * Update CHANGELOG.md * Update EntityPaged.java The build was failing for checkstyle violations. This adjustment should fix them. --------- Co-authored-by: Jair Myree <67484440+jairmyree@users.noreply.github.com> --- sdk/tables/azure-data-tables/CHANGELOG.md | 10 +++++----- .../java/com/azure/data/tables/TableAsyncClient.java | 6 +++--- .../main/java/com/azure/data/tables/TableClient.java | 6 +++--- .../azure/data/tables/implementation/EntityPaged.java | 4 +++- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/sdk/tables/azure-data-tables/CHANGELOG.md b/sdk/tables/azure-data-tables/CHANGELOG.md index 1f08feea8df4..4c351399c0ea 100644 --- a/sdk/tables/azure-data-tables/CHANGELOG.md +++ b/sdk/tables/azure-data-tables/CHANGELOG.md @@ -7,8 +7,8 @@ ### Breaking Changes ### Bugs Fixed - - Fixed bug that disallowed empty strings as partition and row keys +- Fixed handling of paging headers when Table Storage returned a `x-ms-continuation-NextPartitionKey` but no `x-ms-continuation-NextRowKey`. This was causing the subsequent pages are not fetched. ### Other Changes ## 12.3.9 (2023-03-08) @@ -89,7 +89,7 @@ #### Dependency Updates - Upgraded `azure-core` dependency to `1.29.1` -- Upgraded `azure-core-http-netty` dependency to `1.12.2` +- Upgraded `azure-core-http-netty` dependency to `1.12.2` ## 12.3.0 (2022-05-11) @@ -122,7 +122,7 @@ ## 12.2.0 (2022-02-10) ### Features added -- Implemented new traits (micro-interfaces) in `TableClientBuiler` and `TableServiceClientBuilder`. This makes the experience of using client builders more consistent across libraries in the Azure SDK for Java. +- Implemented new traits (micro-interfaces) in `TableClientBuiler` and `TableServiceClientBuilder`. This makes the experience of using client builders more consistent across libraries in the Azure SDK for Java. ### Other Changes @@ -133,12 +133,12 @@ ## 12.1.5 (2022-01-11) ### Bugs fixed -- Fixed issue that made it so single quotes in entity names were not properly escaped according to OData standards. [[25066]](https://github.com/Azure/azure-sdk-for-java/pull/25066) +- Fixed issue that made it so single quotes in entity names were not properly escaped according to OData standards. [[25066]](https://github.com/Azure/azure-sdk-for-java/pull/25066) #### Dependency Updates - Upgraded `azure-core` dependency to `1.24.1` - Upgraded `azure-core-http-netty` dependency to `1.11.6` - + ## 12.1.4 (2021-11-19) ### Other Changes diff --git a/sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableAsyncClient.java b/sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableAsyncClient.java index 1ea8c2251a08..31c837f78410 100644 --- a/sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableAsyncClient.java +++ b/sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableAsyncClient.java @@ -950,13 +950,13 @@ private Mono> listEntitiesNextPage(Stri String[] split = token.split(DELIMITER_CONTINUATION_TOKEN, 2); - if (split.length != 2) { + if (split.length == 0) { return monoError(logger, new RuntimeException( - "Split done incorrectly, must have partition and row key: " + token)); + "Split done incorrectly, must have partition key: " + token)); } String nextPartitionKey = split[0]; - String nextRowKey = split[1]; + String nextRowKey = split.length > 1 ? split[1] : null; return listEntities(nextPartitionKey, nextRowKey, context, options, resultType); } diff --git a/sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableClient.java b/sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableClient.java index 144e740196a5..a226295afa6f 100644 --- a/sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableClient.java +++ b/sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/TableClient.java @@ -959,13 +959,13 @@ private PagedResponse listEntitiesNextPage(String tok String[] split = token.split(DELIMITER_CONTINUATION_TOKEN, 2); - if (split.length != 2) { + if (split.length == 0) { throw logger.logExceptionAsError(new RuntimeException( - "Split done incorrectly, must have partition and row key: " + token)); + "Split done incorrectly, must have partition key: " + token)); } String nextPartitionKey = split[0]; - String nextRowKey = split[1]; + String nextRowKey = split.length > 1 ? split[1] : null; return listEntities(nextPartitionKey, nextRowKey, context, options, resultType); diff --git a/sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/implementation/EntityPaged.java b/sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/implementation/EntityPaged.java index 03c5eb9ef141..0c28ff33f494 100644 --- a/sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/implementation/EntityPaged.java +++ b/sdk/tables/azure-data-tables/src/main/java/com/azure/data/tables/implementation/EntityPaged.java @@ -21,8 +21,10 @@ public class EntityPaged implements PagedResponse { public EntityPaged(Response httpResponse, List entityList, String nextPartitionKey, String nextRowKey) { - if (nextPartitionKey == null || nextRowKey == null) { + if (nextPartitionKey == null) { this.continuationToken = null; + } else if (nextRowKey == null) { + this.continuationToken = nextPartitionKey; } else { this.continuationToken = String.join(DELIMITER_CONTINUATION_TOKEN, nextPartitionKey, nextRowKey); } From fb8215a48f93400b70ae1280bd21368e7ccab2b9 Mon Sep 17 00:00:00 2001 From: Matt Metcalf Date: Wed, 22 Mar 2023 15:38:08 -0700 Subject: [PATCH 19/35] Redo Package (#34169) --- .../cloud/feature/manager/FeatureHandler.java | 2 ++ .../manager/FeatureManagerSnapshot.java | 2 ++ .../FeatureManagementWebConfiguration.java | 2 +- .../feature/manager/FeatureHandlerTest.java | 2 ++ .../manager/FeatureManagerSnapshotTest.java | 2 ++ .../FeatureManagementConfiguration.java | 6 +++--- .../FeatureManager.java | 14 +++++++------- .../filters/AlwaysOnFilter.java | 4 ++-- .../filters/FeatureFilter.java | 4 ++-- .../filters/PercentageFilter.java | 6 +++--- .../filters/TargetingFilter.java | 18 +++++++++--------- .../filters/TimeWindowFilter.java | 8 ++++---- .../filters/package-info.java | 4 ++-- .../FeatureManagementConfigProperties.java | 2 +- .../FeatureManagementProperties.java | 4 ++-- .../implementation/models/Feature.java | 4 ++-- .../implementation/targeting/Audience.java | 2 +- .../implementation/targeting/GroupRollout.java | 2 +- .../targeting/TargetingFilterSettings.java | 2 +- .../implementation/targeting/package-info.java | 1 + .../models/FeatureFilterEvaluationContext.java | 2 +- .../models/FeatureManagementException.java | 2 +- .../models/FilterNotFoundException.java | 2 +- .../models/FilterParameters.java | 2 +- .../models/TargetingException.java | 2 +- .../models/package-info.java | 2 +- .../{manager => management}/package-info.java | 2 +- .../targeting/TargetingContext.java | 2 +- .../targeting/TargetingContextAccessor.java | 2 +- .../targeting/TargetingEvaluationOptions.java | 2 +- .../targeting/TargetingFilterContext.java | 2 +- .../targeting/package-info.java | 2 +- .../implementation/targeting/package-info.java | 1 - .../FeatureManagerTest.java | 14 +++++++------- .../SpringBootTest.java | 2 +- .../TestConfiguration.java | 4 ++-- .../filters/PercentageFilterTest.java | 6 +++--- .../filters/TargetingFilterTest.java | 14 +++++++------- .../filters/TimeWindowFilterTest.java | 8 ++++---- .../testobjects/BasicObject.java | 2 +- .../testobjects/DiscountBanner.java | 2 +- 41 files changed, 88 insertions(+), 80 deletions(-) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/FeatureManagementConfiguration.java (82%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/FeatureManager.java (89%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/filters/AlwaysOnFilter.java (68%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/filters/FeatureFilter.java (83%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/filters/PercentageFilter.java (84%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/filters/TargetingFilter.java (92%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/filters/TimeWindowFilter.java (86%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/filters/package-info.java (56%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/implementation/FeatureManagementConfigProperties.java (93%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/implementation/FeatureManagementProperties.java (96%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/implementation/models/Feature.java (90%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/implementation/targeting/Audience.java (94%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/implementation/targeting/GroupRollout.java (91%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/implementation/targeting/TargetingFilterSettings.java (87%) create mode 100644 sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/targeting/package-info.java rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/models/FeatureFilterEvaluationContext.java (95%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/models/FeatureManagementException.java (95%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/models/FilterNotFoundException.java (95%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/models/FilterParameters.java (92%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/models/TargetingException.java (94%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/models/package-info.java (76%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/package-info.java (78%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/targeting/TargetingContext.java (90%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/targeting/TargetingContextAccessor.java (88%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/targeting/TargetingEvaluationOptions.java (92%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/targeting/TargetingFilterContext.java (93%) rename sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/{manager => management}/targeting/package-info.java (76%) delete mode 100644 sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/targeting/package-info.java rename sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/{manager => management}/FeatureManagerTest.java (90%) rename sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/{manager => management}/SpringBootTest.java (94%) rename sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/{manager => management}/TestConfiguration.java (76%) rename sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/{manager => management}/filters/PercentageFilterTest.java (90%) rename sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/{manager => management}/filters/TargetingFilterTest.java (95%) rename sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/{manager => management}/filters/TimeWindowFilterTest.java (90%) rename sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/{manager => management}/testobjects/BasicObject.java (87%) rename sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/{manager => management}/testobjects/DiscountBanner.java (91%) diff --git a/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/FeatureHandler.java b/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/FeatureHandler.java index d8b906d4ca6e..a3865f088cfa 100644 --- a/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/FeatureHandler.java +++ b/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/FeatureHandler.java @@ -15,6 +15,8 @@ import org.springframework.web.method.HandlerMethod; import org.springframework.web.servlet.HandlerInterceptor; +import com.azure.spring.cloud.feature.management.FeatureManager; + import reactor.core.publisher.Mono; /** diff --git a/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/FeatureManagerSnapshot.java b/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/FeatureManagerSnapshot.java index 2493c0ea2718..c6bd1744ff37 100644 --- a/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/FeatureManagerSnapshot.java +++ b/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/FeatureManagerSnapshot.java @@ -4,6 +4,8 @@ import java.util.HashMap; +import com.azure.spring.cloud.feature.management.FeatureManager; + import reactor.core.publisher.Mono; /** diff --git a/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/implementation/FeatureManagementWebConfiguration.java b/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/implementation/FeatureManagementWebConfiguration.java index 2c69653fcf71..85f51da111ff 100644 --- a/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/implementation/FeatureManagementWebConfiguration.java +++ b/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/implementation/FeatureManagementWebConfiguration.java @@ -10,8 +10,8 @@ import org.springframework.web.context.annotation.RequestScope; import com.azure.spring.cloud.feature.manager.FeatureHandler; -import com.azure.spring.cloud.feature.manager.FeatureManager; import com.azure.spring.cloud.feature.manager.FeatureManagerSnapshot; +import com.azure.spring.cloud.feature.management.FeatureManager; import com.azure.spring.cloud.feature.manager.DisabledFeaturesHandler; /** diff --git a/sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/manager/FeatureHandlerTest.java b/sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/manager/FeatureHandlerTest.java index ae3c85afeab9..d5d583bd616e 100644 --- a/sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/manager/FeatureHandlerTest.java +++ b/sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/manager/FeatureHandlerTest.java @@ -29,6 +29,8 @@ import org.mockito.MockitoAnnotations; import org.springframework.web.method.HandlerMethod; +import com.azure.spring.cloud.feature.management.FeatureManager; + import reactor.core.publisher.Mono; /** diff --git a/sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/manager/FeatureManagerSnapshotTest.java b/sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/manager/FeatureManagerSnapshotTest.java index 67a2cdafb492..0c8a393408b2 100644 --- a/sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/manager/FeatureManagerSnapshotTest.java +++ b/sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/manager/FeatureManagerSnapshotTest.java @@ -20,6 +20,8 @@ import org.mockito.Mockito; import org.mockito.MockitoAnnotations; +import com.azure.spring.cloud.feature.management.FeatureManager; + import reactor.core.publisher.Mono; public class FeatureManagerSnapshotTest { diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/FeatureManagementConfiguration.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/FeatureManagementConfiguration.java similarity index 82% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/FeatureManagementConfiguration.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/FeatureManagementConfiguration.java index e08394c36056..af2ca6653a5a 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/FeatureManagementConfiguration.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/FeatureManagementConfiguration.java @@ -1,14 +1,14 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager; +package com.azure.spring.cloud.feature.management; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; -import com.azure.spring.cloud.feature.manager.implementation.FeatureManagementConfigProperties; -import com.azure.spring.cloud.feature.manager.implementation.FeatureManagementProperties; +import com.azure.spring.cloud.feature.management.implementation.FeatureManagementConfigProperties; +import com.azure.spring.cloud.feature.management.implementation.FeatureManagementProperties; /** * Configuration for setting up FeatureManager diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/FeatureManager.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/FeatureManager.java similarity index 89% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/FeatureManager.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/FeatureManager.java index e5cf4b60e838..72d6b751d616 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/FeatureManager.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/FeatureManager.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager; +package com.azure.spring.cloud.feature.management; import java.util.HashSet; import java.util.Map; @@ -13,12 +13,12 @@ import org.springframework.context.ApplicationContext; import org.springframework.util.ReflectionUtils; -import com.azure.spring.cloud.feature.manager.filters.FeatureFilter; -import com.azure.spring.cloud.feature.manager.implementation.FeatureManagementConfigProperties; -import com.azure.spring.cloud.feature.manager.implementation.FeatureManagementProperties; -import com.azure.spring.cloud.feature.manager.implementation.models.Feature; -import com.azure.spring.cloud.feature.manager.models.FeatureFilterEvaluationContext; -import com.azure.spring.cloud.feature.manager.models.FilterNotFoundException; +import com.azure.spring.cloud.feature.management.filters.FeatureFilter; +import com.azure.spring.cloud.feature.management.implementation.FeatureManagementConfigProperties; +import com.azure.spring.cloud.feature.management.implementation.FeatureManagementProperties; +import com.azure.spring.cloud.feature.management.implementation.models.Feature; +import com.azure.spring.cloud.feature.management.models.FeatureFilterEvaluationContext; +import com.azure.spring.cloud.feature.management.models.FilterNotFoundException; import reactor.core.publisher.Mono; diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/AlwaysOnFilter.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/filters/AlwaysOnFilter.java similarity index 68% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/AlwaysOnFilter.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/filters/AlwaysOnFilter.java index 005db0c2f500..f4f67aafd13b 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/AlwaysOnFilter.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/filters/AlwaysOnFilter.java @@ -1,8 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.filters; +package com.azure.spring.cloud.feature.management.filters; -import com.azure.spring.cloud.feature.manager.models.FeatureFilterEvaluationContext; +import com.azure.spring.cloud.feature.management.models.FeatureFilterEvaluationContext; /** * A filter that always returns true diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/FeatureFilter.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/filters/FeatureFilter.java similarity index 83% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/FeatureFilter.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/filters/FeatureFilter.java index ba5528ce6150..1abd4570b57a 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/FeatureFilter.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/filters/FeatureFilter.java @@ -1,8 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.filters; +package com.azure.spring.cloud.feature.management.filters; -import com.azure.spring.cloud.feature.manager.models.FeatureFilterEvaluationContext; +import com.azure.spring.cloud.feature.management.models.FeatureFilterEvaluationContext; /** * A Filter for Feature Management that is attached to Features. The filter needs to have @Component set to be found by diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/PercentageFilter.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/filters/PercentageFilter.java similarity index 84% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/PercentageFilter.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/filters/PercentageFilter.java index 7967e0a042df..1381ee64da5d 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/PercentageFilter.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/filters/PercentageFilter.java @@ -1,13 +1,13 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.filters; +package com.azure.spring.cloud.feature.management.filters; -import static com.azure.spring.cloud.feature.manager.models.FilterParameters.PERCENTAGE_FILTER_SETTING; +import static com.azure.spring.cloud.feature.management.models.FilterParameters.PERCENTAGE_FILTER_SETTING; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import com.azure.spring.cloud.feature.manager.models.FeatureFilterEvaluationContext; +import com.azure.spring.cloud.feature.management.models.FeatureFilterEvaluationContext; /** * A feature filter that can be used to activate a feature based on a random percentage. diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/TargetingFilter.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/filters/TargetingFilter.java similarity index 92% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/TargetingFilter.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/filters/TargetingFilter.java index 309d765d03f2..eeb6807743cd 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/TargetingFilter.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/filters/TargetingFilter.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.filters; +package com.azure.spring.cloud.feature.management.filters; import java.nio.ByteBuffer; import java.nio.charset.Charset; @@ -15,14 +15,14 @@ import org.slf4j.LoggerFactory; import org.springframework.util.StringUtils; -import com.azure.spring.cloud.feature.manager.implementation.targeting.Audience; -import com.azure.spring.cloud.feature.manager.implementation.targeting.GroupRollout; -import com.azure.spring.cloud.feature.manager.implementation.targeting.TargetingFilterSettings; -import com.azure.spring.cloud.feature.manager.models.FeatureFilterEvaluationContext; -import com.azure.spring.cloud.feature.manager.models.TargetingException; -import com.azure.spring.cloud.feature.manager.targeting.TargetingContextAccessor; -import com.azure.spring.cloud.feature.manager.targeting.TargetingFilterContext; -import com.azure.spring.cloud.feature.manager.targeting.TargetingEvaluationOptions; +import com.azure.spring.cloud.feature.management.implementation.targeting.Audience; +import com.azure.spring.cloud.feature.management.implementation.targeting.GroupRollout; +import com.azure.spring.cloud.feature.management.implementation.targeting.TargetingFilterSettings; +import com.azure.spring.cloud.feature.management.models.FeatureFilterEvaluationContext; +import com.azure.spring.cloud.feature.management.models.TargetingException; +import com.azure.spring.cloud.feature.management.targeting.TargetingContextAccessor; +import com.azure.spring.cloud.feature.management.targeting.TargetingEvaluationOptions; +import com.azure.spring.cloud.feature.management.targeting.TargetingFilterContext; import com.fasterxml.jackson.databind.MapperFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.json.JsonMapper; diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/TimeWindowFilter.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/filters/TimeWindowFilter.java similarity index 86% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/TimeWindowFilter.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/filters/TimeWindowFilter.java index d52c328679e5..cf23b15634b7 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/TimeWindowFilter.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/filters/TimeWindowFilter.java @@ -1,9 +1,9 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.filters; +package com.azure.spring.cloud.feature.management.filters; -import static com.azure.spring.cloud.feature.manager.models.FilterParameters.TIME_WINDOW_FILTER_SETTING_END; -import static com.azure.spring.cloud.feature.manager.models.FilterParameters.TIME_WINDOW_FILTER_SETTING_START; +import static com.azure.spring.cloud.feature.management.models.FilterParameters.TIME_WINDOW_FILTER_SETTING_END; +import static com.azure.spring.cloud.feature.management.models.FilterParameters.TIME_WINDOW_FILTER_SETTING_START; import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter; @@ -13,7 +13,7 @@ import org.slf4j.LoggerFactory; import org.springframework.util.StringUtils; -import com.azure.spring.cloud.feature.manager.models.FeatureFilterEvaluationContext; +import com.azure.spring.cloud.feature.management.models.FeatureFilterEvaluationContext; /** * A feature filter that can be used at activate a feature based on a time window. diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/package-info.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/filters/package-info.java similarity index 56% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/package-info.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/filters/package-info.java index 92c0d87d13ed..5ff7665fb66d 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/filters/package-info.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/filters/package-info.java @@ -2,7 +2,7 @@ // Licensed under the MIT License. /** * * Package contains the built-in Feature Filters, which implement - * {@link com.azure.spring.cloud.feature.manager.filters.FeatureFilter}. + * {@link com.azure.spring.cloud.feature.management.filters.FeatureFilter}. * */ -package com.azure.spring.cloud.feature.manager.filters; +package com.azure.spring.cloud.feature.management.filters; diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/FeatureManagementConfigProperties.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/FeatureManagementConfigProperties.java similarity index 93% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/FeatureManagementConfigProperties.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/FeatureManagementConfigProperties.java index a8efa2a07da5..7ba1f2966113 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/FeatureManagementConfigProperties.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/FeatureManagementConfigProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.implementation; +package com.azure.spring.cloud.feature.management.implementation; import org.springframework.boot.context.properties.ConfigurationProperties; diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/FeatureManagementProperties.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/FeatureManagementProperties.java similarity index 96% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/FeatureManagementProperties.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/FeatureManagementProperties.java index 2e23d372cce7..3bacf0efa7ca 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/FeatureManagementProperties.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/FeatureManagementProperties.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.implementation; +package com.azure.spring.cloud.feature.management.implementation; import java.util.HashMap; import java.util.Map; @@ -9,7 +9,7 @@ import org.slf4j.LoggerFactory; import org.springframework.boot.context.properties.ConfigurationProperties; -import com.azure.spring.cloud.feature.manager.implementation.models.Feature; +import com.azure.spring.cloud.feature.management.implementation.models.Feature; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.PropertyNamingStrategies; diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/models/Feature.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/models/Feature.java similarity index 90% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/models/Feature.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/models/Feature.java index ed80c361bd1a..f105e57f7b9a 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/models/Feature.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/models/Feature.java @@ -1,8 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.implementation.models; +package com.azure.spring.cloud.feature.management.implementation.models; -import com.azure.spring.cloud.feature.manager.models.FeatureFilterEvaluationContext; +import com.azure.spring.cloud.feature.management.models.FeatureFilterEvaluationContext; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.HashMap; diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/targeting/Audience.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/targeting/Audience.java similarity index 94% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/targeting/Audience.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/targeting/Audience.java index e1470cd83e9d..bf0d4c7be236 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/targeting/Audience.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/targeting/Audience.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.implementation.targeting; +package com.azure.spring.cloud.feature.management.implementation.targeting; import java.util.List; diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/targeting/GroupRollout.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/targeting/GroupRollout.java similarity index 91% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/targeting/GroupRollout.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/targeting/GroupRollout.java index 8e776f2665dd..f822c0975bdf 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/targeting/GroupRollout.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/targeting/GroupRollout.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.implementation.targeting; +package com.azure.spring.cloud.feature.management.implementation.targeting; /** * Properties for defining a rollout for a given group. diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/targeting/TargetingFilterSettings.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/targeting/TargetingFilterSettings.java similarity index 87% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/targeting/TargetingFilterSettings.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/targeting/TargetingFilterSettings.java index 52b129b19997..88ad5aae1304 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/targeting/TargetingFilterSettings.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/targeting/TargetingFilterSettings.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.implementation.targeting; +package com.azure.spring.cloud.feature.management.implementation.targeting; /** * The settings that are used to configure the TargetingFilter feature filter. diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/targeting/package-info.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/targeting/package-info.java new file mode 100644 index 000000000000..f94c38eafde9 --- /dev/null +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/implementation/targeting/package-info.java @@ -0,0 +1 @@ +package com.azure.spring.cloud.feature.management.implementation.targeting; diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/FeatureFilterEvaluationContext.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/models/FeatureFilterEvaluationContext.java similarity index 95% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/FeatureFilterEvaluationContext.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/models/FeatureFilterEvaluationContext.java index e2fbfa4e4782..91c4e8d3cae2 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/FeatureFilterEvaluationContext.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/models/FeatureFilterEvaluationContext.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.models; +package com.azure.spring.cloud.feature.management.models; import java.util.Map; diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/FeatureManagementException.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/models/FeatureManagementException.java similarity index 95% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/FeatureManagementException.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/models/FeatureManagementException.java index 3a1afa80ae9f..8204b27cabfa 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/FeatureManagementException.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/models/FeatureManagementException.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.models; +package com.azure.spring.cloud.feature.management.models; /** * This class defines a custom exception type for when an expected Filter is not found when checking if a Feature is diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/FilterNotFoundException.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/models/FilterNotFoundException.java similarity index 95% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/FilterNotFoundException.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/models/FilterNotFoundException.java index c5c592bfbeeb..43296984d427 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/FilterNotFoundException.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/models/FilterNotFoundException.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.models; +package com.azure.spring.cloud.feature.management.models; /** * This class defines a custom exception type for when an expected Filter is not found when checking if a Feature is diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/FilterParameters.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/models/FilterParameters.java similarity index 92% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/FilterParameters.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/models/FilterParameters.java index fdc74b148a3e..f7ec1afab92d 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/FilterParameters.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/models/FilterParameters.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.models; +package com.azure.spring.cloud.feature.management.models; /** * Parameters for the predefined filters. diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/TargetingException.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/models/TargetingException.java similarity index 94% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/TargetingException.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/models/TargetingException.java index dda397440f9b..1cc13264186b 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/TargetingException.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/models/TargetingException.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.models; +package com.azure.spring.cloud.feature.management.models; /** * This class defines a custom exception type for when an expected Filter is not found when checking if a Feature is diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/package-info.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/models/package-info.java similarity index 76% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/package-info.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/models/package-info.java index 30408bf3be96..8ffbc0c01ee7 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/models/package-info.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/models/package-info.java @@ -3,4 +3,4 @@ /** * Package containing models classes for setting up Feature Flags, Feature Filters. */ -package com.azure.spring.cloud.feature.manager.models; +package com.azure.spring.cloud.feature.management.models; diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/package-info.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/package-info.java similarity index 78% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/package-info.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/package-info.java index cca899d8e3d4..178ed7739c3c 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/package-info.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/package-info.java @@ -3,4 +3,4 @@ /** * Package contains classes for accessing and creating Feature Flags, Feature Filters. */ -package com.azure.spring.cloud.feature.manager; +package com.azure.spring.cloud.feature.management; diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/TargetingContext.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/targeting/TargetingContext.java similarity index 90% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/TargetingContext.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/targeting/TargetingContext.java index 1ccc16c6fe09..cfe2c1ca465e 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/TargetingContext.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/targeting/TargetingContext.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.targeting; +package com.azure.spring.cloud.feature.management.targeting; import java.util.List; diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/TargetingContextAccessor.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/targeting/TargetingContextAccessor.java similarity index 88% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/TargetingContextAccessor.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/targeting/TargetingContextAccessor.java index 86df6c9f8d47..302d1fb8a84f 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/TargetingContextAccessor.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/targeting/TargetingContextAccessor.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.targeting; +package com.azure.spring.cloud.feature.management.targeting; /** * Interface for providing a Targeting Context to the `Microsoft.TargetingFilter`. diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/TargetingEvaluationOptions.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/targeting/TargetingEvaluationOptions.java similarity index 92% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/TargetingEvaluationOptions.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/targeting/TargetingEvaluationOptions.java index f15a1ca1f26f..cdabe7a700fb 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/TargetingEvaluationOptions.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/targeting/TargetingEvaluationOptions.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.targeting; +package com.azure.spring.cloud.feature.management.targeting; /** * Configuration options for the `Microsoft.TargetingFilter`. diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/TargetingFilterContext.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/targeting/TargetingFilterContext.java similarity index 93% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/TargetingFilterContext.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/targeting/TargetingFilterContext.java index 0ed8cb9af295..bb44295b5644 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/TargetingFilterContext.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/targeting/TargetingFilterContext.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.targeting; +package com.azure.spring.cloud.feature.management.targeting; import java.util.List; diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/package-info.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/targeting/package-info.java similarity index 76% rename from sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/package-info.java rename to sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/targeting/package-info.java index 6c5b9c9935c1..76dc3281b462 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/targeting/package-info.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/management/targeting/package-info.java @@ -3,4 +3,4 @@ /** * Package containing models classes for targeting user and groups with the targeting filter. */ -package com.azure.spring.cloud.feature.manager.targeting; +package com.azure.spring.cloud.feature.management.targeting; diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/targeting/package-info.java b/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/targeting/package-info.java deleted file mode 100644 index ae9272216779..000000000000 --- a/sdk/spring/spring-cloud-azure-feature-management/src/main/java/com/azure/spring/cloud/feature/manager/implementation/targeting/package-info.java +++ /dev/null @@ -1 +0,0 @@ -package com.azure.spring.cloud.feature.manager.implementation.targeting; diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/FeatureManagerTest.java b/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/FeatureManagerTest.java similarity index 90% rename from sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/FeatureManagerTest.java rename to sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/FeatureManagerTest.java index fadb1ad41a3e..38c4fcbd89ef 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/FeatureManagerTest.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/FeatureManagerTest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager; +package com.azure.spring.cloud.feature.management; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertFalse; @@ -23,12 +23,12 @@ import org.springframework.boot.test.context.SpringBootTest; import org.springframework.context.ApplicationContext; -import com.azure.spring.cloud.feature.manager.filters.FeatureFilter; -import com.azure.spring.cloud.feature.manager.implementation.FeatureManagementConfigProperties; -import com.azure.spring.cloud.feature.manager.implementation.FeatureManagementProperties; -import com.azure.spring.cloud.feature.manager.implementation.models.Feature; -import com.azure.spring.cloud.feature.manager.models.FeatureFilterEvaluationContext; -import com.azure.spring.cloud.feature.manager.models.FilterNotFoundException; +import com.azure.spring.cloud.feature.management.filters.FeatureFilter; +import com.azure.spring.cloud.feature.management.implementation.FeatureManagementConfigProperties; +import com.azure.spring.cloud.feature.management.implementation.FeatureManagementProperties; +import com.azure.spring.cloud.feature.management.implementation.models.Feature; +import com.azure.spring.cloud.feature.management.models.FeatureFilterEvaluationContext; +import com.azure.spring.cloud.feature.management.models.FilterNotFoundException; /** * Unit tests for FeatureManager. diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/SpringBootTest.java b/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/SpringBootTest.java similarity index 94% rename from sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/SpringBootTest.java rename to sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/SpringBootTest.java index 76468c73beb4..ecc0832be0bb 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/SpringBootTest.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/SpringBootTest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager; +package com.azure.spring.cloud.feature.management; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/TestConfiguration.java b/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/TestConfiguration.java similarity index 76% rename from sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/TestConfiguration.java rename to sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/TestConfiguration.java index 1fab559adf66..d85ecd9af476 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/TestConfiguration.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/TestConfiguration.java @@ -1,12 +1,12 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager; +package com.azure.spring.cloud.feature.management; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; -import com.azure.spring.cloud.feature.manager.implementation.FeatureManagementConfigProperties; +import com.azure.spring.cloud.feature.management.implementation.FeatureManagementConfigProperties; @Configuration @ConfigurationProperties diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/filters/PercentageFilterTest.java b/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/filters/PercentageFilterTest.java similarity index 90% rename from sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/filters/PercentageFilterTest.java rename to sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/filters/PercentageFilterTest.java index 5541009ed293..85ba60b02c8f 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/filters/PercentageFilterTest.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/filters/PercentageFilterTest.java @@ -1,8 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.filters; +package com.azure.spring.cloud.feature.management.filters; -import static com.azure.spring.cloud.feature.manager.models.FilterParameters.PERCENTAGE_FILTER_SETTING; +import static com.azure.spring.cloud.feature.management.models.FilterParameters.PERCENTAGE_FILTER_SETTING; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; @@ -11,7 +11,7 @@ import org.junit.jupiter.api.Test; -import com.azure.spring.cloud.feature.manager.models.FeatureFilterEvaluationContext; +import com.azure.spring.cloud.feature.management.models.FeatureFilterEvaluationContext; public class PercentageFilterTest { diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/filters/TargetingFilterTest.java b/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/filters/TargetingFilterTest.java similarity index 95% rename from sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/filters/TargetingFilterTest.java rename to sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/filters/TargetingFilterTest.java index b7839d3901c7..b6d000136853 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/filters/TargetingFilterTest.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/filters/TargetingFilterTest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.filters; +package com.azure.spring.cloud.feature.management.filters; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; @@ -14,12 +14,12 @@ import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; -import com.azure.spring.cloud.feature.manager.TestConfiguration; -import com.azure.spring.cloud.feature.manager.models.FeatureFilterEvaluationContext; -import com.azure.spring.cloud.feature.manager.models.TargetingException; -import com.azure.spring.cloud.feature.manager.targeting.TargetingContext; -import com.azure.spring.cloud.feature.manager.targeting.TargetingContextAccessor; -import com.azure.spring.cloud.feature.manager.targeting.TargetingEvaluationOptions; +import com.azure.spring.cloud.feature.management.TestConfiguration; +import com.azure.spring.cloud.feature.management.models.FeatureFilterEvaluationContext; +import com.azure.spring.cloud.feature.management.models.TargetingException; +import com.azure.spring.cloud.feature.management.targeting.TargetingContext; +import com.azure.spring.cloud.feature.management.targeting.TargetingContextAccessor; +import com.azure.spring.cloud.feature.management.targeting.TargetingEvaluationOptions; @SpringBootTest(classes = {TestConfiguration.class, SpringBootTest.class}) public class TargetingFilterTest { diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/filters/TimeWindowFilterTest.java b/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/filters/TimeWindowFilterTest.java similarity index 90% rename from sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/filters/TimeWindowFilterTest.java rename to sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/filters/TimeWindowFilterTest.java index f8e807500567..4d52015e0e28 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/filters/TimeWindowFilterTest.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/filters/TimeWindowFilterTest.java @@ -1,9 +1,9 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.filters; +package com.azure.spring.cloud.feature.management.filters; -import static com.azure.spring.cloud.feature.manager.models.FilterParameters.TIME_WINDOW_FILTER_SETTING_END; -import static com.azure.spring.cloud.feature.manager.models.FilterParameters.TIME_WINDOW_FILTER_SETTING_START; +import static com.azure.spring.cloud.feature.management.models.FilterParameters.TIME_WINDOW_FILTER_SETTING_END; +import static com.azure.spring.cloud.feature.management.models.FilterParameters.TIME_WINDOW_FILTER_SETTING_START; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; @@ -14,7 +14,7 @@ import org.junit.jupiter.api.Test; -import com.azure.spring.cloud.feature.manager.models.FeatureFilterEvaluationContext; +import com.azure.spring.cloud.feature.management.models.FeatureFilterEvaluationContext; public class TimeWindowFilterTest { diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/testobjects/BasicObject.java b/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/testobjects/BasicObject.java similarity index 87% rename from sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/testobjects/BasicObject.java rename to sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/testobjects/BasicObject.java index fa0ff2d6d4ea..26f96dac26a8 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/testobjects/BasicObject.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/testobjects/BasicObject.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.testobjects; +package com.azure.spring.cloud.feature.management.testobjects; public class BasicObject { diff --git a/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/testobjects/DiscountBanner.java b/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/testobjects/DiscountBanner.java similarity index 91% rename from sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/testobjects/DiscountBanner.java rename to sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/testobjects/DiscountBanner.java index 378de1a6c044..354d5d11fe1f 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/manager/testobjects/DiscountBanner.java +++ b/sdk/spring/spring-cloud-azure-feature-management/src/test/java/com/azure/spring/cloud/feature/management/testobjects/DiscountBanner.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.testobjects; +package com.azure.spring.cloud.feature.management.testobjects; public class DiscountBanner { From 4b563f6d9486887b6f9cdb852acad9eac894181a Mon Sep 17 00:00:00 2001 From: richardcho-msft <95773682+richardcho-msft@users.noreply.github.com> Date: Wed, 22 Mar 2023 16:44:12 -0700 Subject: [PATCH 20/35] add event handler for remove participant events (#34165) --- .../callautomation/EventHandler.java | 7 +- .../callautomation/EventHandlerUnitTests.java | 74 +++++++++++++++++++ 2 files changed, 80 insertions(+), 1 deletion(-) diff --git a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/EventHandler.java b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/EventHandler.java index d6451dce2af9..400aa1df1675 100644 --- a/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/EventHandler.java +++ b/sdk/communication/azure-communication-callautomation/src/main/java/com/azure/communication/callautomation/EventHandler.java @@ -18,6 +18,8 @@ import com.azure.communication.callautomation.models.events.RecognizeFailed; import com.azure.communication.callautomation.models.events.PlayCompleted; import com.azure.communication.callautomation.models.events.RecordingStateChanged; +import com.azure.communication.callautomation.models.events.RemoveParticipantFailed; +import com.azure.communication.callautomation.models.events.RemoveParticipantSucceeded; import com.azure.core.models.CloudEvent; import com.azure.core.util.logging.ClientLogger; import com.fasterxml.jackson.core.JsonProcessingException; @@ -121,8 +123,11 @@ private static CallAutomationEventBase parseSingleCloudEvent(String data, String ret = mapper.convertValue(eventData, RecognizeFailed.class); } else if (Objects.equals(eventType, "Microsoft.Communication.RecognizeCanceled")) { ret = mapper.convertValue(eventData, RecognizeCanceled.class); + } else if (Objects.equals(eventType, "Microsoft.Communication.RemoveParticipantFailed")) { + ret = mapper.convertValue(eventData, RemoveParticipantFailed.class); + } else if (Objects.equals(eventType, "Microsoft.Communication.RemoveParticipantSucceeded")) { + ret = mapper.convertValue(eventData, RemoveParticipantSucceeded.class); } - return ret; } catch (RuntimeException e) { throw LOGGER.logExceptionAsError(e); diff --git a/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/EventHandlerUnitTests.java b/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/EventHandlerUnitTests.java index de3cedfcba49..627d15822a95 100644 --- a/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/EventHandlerUnitTests.java +++ b/sdk/communication/azure-communication-callautomation/src/test/java/com/azure/communication/callautomation/EventHandlerUnitTests.java @@ -18,6 +18,8 @@ import com.azure.communication.callautomation.models.events.CallConnected; import com.azure.communication.callautomation.models.events.RecognizeFailed; import com.azure.communication.callautomation.models.events.RecordingStateChanged; +import com.azure.communication.callautomation.models.events.RemoveParticipantFailed; +import com.azure.communication.callautomation.models.events.RemoveParticipantSucceeded; import com.azure.communication.callautomation.models.events.ReasonCode.Recognize; import org.junit.jupiter.api.Test; @@ -260,4 +262,76 @@ public void parseRecognizeCanceledEvent() { assertNotNull(recognizeCanceledEvent); assertEquals("serverCallId", recognizeCanceledEvent.getServerCallId()); } + + @Test + public void parseRemoveParticipantSucceededEvent() { + String receivedEvent = "[{\n" + + "\"id\": \"c3220fa3-79bd-473e-96a2-3ecb5be7d71f\",\n" + + "\"source\": \"calling/callConnections/421f3500-f5de-4c12-bf61-9e2641433687\",\n" + + "\"type\": \"Microsoft.Communication.RemoveParticipantSucceeded\",\n" + + "\"data\": {\n" + + "\"operationContext\": \"context\",\n" + + "\"participant\": {\n" + + "\"rawId\": \"rawId\",\n" + + "\"phoneNumber\": {\n" + + "\"value\": \"value\"\n" + + "}\n" + + "},\n" + + "\"callConnectionId\": \"callConnectionId\",\n" + + "\"serverCallId\": \"serverCallId\",\n" + + "\"correlationId\": \"b880bd5a-1916-470a-b43d-aabf3caff91c\"\n" + + "},\n" + + "\"time\": \"2023-03-22T16:57:09.287755+00:00\",\n" + + "\"specversion\": \"1.0\",\n" + + "\"datacontenttype\": \"application/json\",\n" + + "\"subject\": \"calling/callConnections/421f3500-f5de-4c12-bf61-9e2641433687\"\n" + + "}]"; + + CallAutomationEventBase event = EventHandler.parseEvent(receivedEvent); + + assertNotNull(event); + + RemoveParticipantSucceeded removeParticipantSucceededEvent = (RemoveParticipantSucceeded) event; + + assertNotNull(removeParticipantSucceededEvent); + assertEquals("serverCallId", removeParticipantSucceededEvent.getServerCallId()); + assertEquals("callConnectionId", removeParticipantSucceededEvent.getCallConnectionId()); + assertEquals("rawId", removeParticipantSucceededEvent.getParticipant().getRawId()); + } + + @Test + public void parseRemoveParticipantFailedEvent() { + String receivedEvent = "[{\n" + + "\"id\": \"c3220fa3-79bd-473e-96a2-3ecb5be7d71f\",\n" + + "\"source\": \"calling/callConnections/421f3500-f5de-4c12-bf61-9e2641433687\",\n" + + "\"type\": \"Microsoft.Communication.RemoveParticipantFailed\",\n" + + "\"data\": {\n" + + "\"operationContext\": \"context\",\n" + + "\"participant\": {\n" + + "\"rawId\": \"rawId\",\n" + + "\"phoneNumber\": {\n" + + "\"value\": \"value\"\n" + + "}\n" + + "},\n" + + "\"callConnectionId\": \"callConnectionId\",\n" + + "\"serverCallId\": \"serverCallId\",\n" + + "\"correlationId\": \"b880bd5a-1916-470a-b43d-aabf3caff91c\"\n" + + "},\n" + + "\"time\": \"2023-03-22T16:57:09.287755+00:00\",\n" + + "\"specversion\": \"1.0\",\n" + + "\"datacontenttype\": \"application/json\",\n" + + "\"subject\": \"calling/callConnections/421f3500-f5de-4c12-bf61-9e2641433687\"\n" + + "}]"; + + CallAutomationEventBase event = EventHandler.parseEvent(receivedEvent); + + assertNotNull(event); + + RemoveParticipantFailed removeParticipantFailedEvent = (RemoveParticipantFailed) event; + + assertNotNull(removeParticipantFailedEvent); + assertEquals("serverCallId", removeParticipantFailedEvent.getServerCallId()); + assertEquals("callConnectionId", removeParticipantFailedEvent.getCallConnectionId()); + assertEquals("rawId", removeParticipantFailedEvent.getParticipant().getRawId()); + } } From 2d9a5c404c7a2dfd1209065917032fb00f5e2abe Mon Sep 17 00:00:00 2001 From: Rujun Chen Date: Thu, 23 Mar 2023 09:18:51 +0800 Subject: [PATCH 21/35] Add appconfiguration to Spring Cloud Azure (#34086) * Change all spring cloud azure app configuration related artifacts' version to 4.7.0-beta.1. * Add all spring cloud azure app configuration related artifacts to spring-cloud-azure-dependencies. --- eng/jacoco-test-coverage/pom.xml | 8 +++--- eng/versioning/version_client.txt | 10 ++++---- .../spring-cloud-azure-dependencies/pom.xml | 25 +++++++++++++++++++ .../pom.xml | 2 +- .../spring-cloud-azure-actuator/pom.xml | 2 +- .../CHANGELOG.md | 2 +- .../pom.xml | 4 +-- .../CHANGELOG.md | 2 +- .../pom.xml | 2 +- .../CHANGELOG.md | 2 +- .../pom.xml | 6 ++--- .../CHANGELOG.md | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../CHANGELOG.md | 2 +- .../README.md | 4 +-- .../pom.xml | 6 ++--- 17 files changed, 54 insertions(+), 29 deletions(-) diff --git a/eng/jacoco-test-coverage/pom.xml b/eng/jacoco-test-coverage/pom.xml index 51e733b705c7..b95b208c10d6 100644 --- a/eng/jacoco-test-coverage/pom.xml +++ b/eng/jacoco-test-coverage/pom.xml @@ -570,22 +570,22 @@ com.azure.spring spring-cloud-azure-appconfiguration-config - 4.0.0-beta.2 + 4.7.0-beta.1 com.azure.spring spring-cloud-azure-appconfiguration-config-web - 4.0.0-beta.2 + 4.7.0-beta.1 com.azure.spring spring-cloud-azure-feature-management - 4.0.0-beta.4 + 4.7.0-beta.1 com.azure.spring spring-cloud-azure-feature-management-web - 4.0.0-beta.4 + 4.7.0-beta.1 com.azure diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index 1d7982c4b640..a8fc426a3707 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -180,11 +180,11 @@ com.azure:azure-communication-email;1.0.0-beta.2;1.0.0 com.azure:azure-developer-loadtesting;1.0.0;1.1.0-beta.1 com.azure:azure-identity-extensions;1.1.2;1.2.0-beta.2 com.azure:azure-analytics-purview-sharing;1.0.0-beta.1;1.0.0-beta.2 -com.azure.spring:spring-cloud-azure-appconfiguration-config-web;2.11.0;4.0.0-beta.2 -com.azure.spring:spring-cloud-azure-appconfiguration-config;2.11.0;4.0.0-beta.2 -com.azure.spring:spring-cloud-azure-feature-management-web;2.10.0;4.0.0-beta.4 -com.azure.spring:spring-cloud-azure-feature-management;2.10.0;4.0.0-beta.4 -com.azure.spring:spring-cloud-azure-starter-appconfiguration-config;2.11.0;4.0.0-beta.2 +com.azure.spring:spring-cloud-azure-appconfiguration-config-web;2.11.0;4.7.0-beta.1 +com.azure.spring:spring-cloud-azure-appconfiguration-config;2.11.0;4.7.0-beta.1 +com.azure.spring:spring-cloud-azure-feature-management-web;2.10.0;4.7.0-beta.1 +com.azure.spring:spring-cloud-azure-feature-management;2.10.0;4.7.0-beta.1 +com.azure.spring:spring-cloud-azure-starter-appconfiguration-config;2.11.0;4.7.0-beta.1 com.azure.spring:spring-cloud-azure-dependencies;4.6.0;4.7.0-beta.1 com.azure.spring:spring-messaging-azure;4.6.0;4.7.0-beta.1 com.azure.spring:spring-messaging-azure-eventhubs;4.6.0;4.7.0-beta.1 diff --git a/sdk/boms/spring-cloud-azure-dependencies/pom.xml b/sdk/boms/spring-cloud-azure-dependencies/pom.xml index 38a1b66f11bb..0634f919bba0 100644 --- a/sdk/boms/spring-cloud-azure-dependencies/pom.xml +++ b/sdk/boms/spring-cloud-azure-dependencies/pom.xml @@ -122,6 +122,31 @@ spring-cloud-azure-starter-appconfiguration ${project.version} + + com.azure.spring + spring-cloud-azure-starter-appconfiguration-config + ${project.version} + + + com.azure.spring + spring-cloud-azure-appconfiguration-config + ${project.version} + + + com.azure.spring + spring-cloud-azure-appconfiguration-config-web + ${project.version} + + + com.azure.spring + spring-cloud-azure-feature-management + ${project.version} + + + com.azure.spring + spring-cloud-azure-feature-management-web + ${project.version} + com.azure.spring spring-cloud-azure-starter-cosmos diff --git a/sdk/spring/spring-cloud-azure-actuator-autoconfigure/pom.xml b/sdk/spring/spring-cloud-azure-actuator-autoconfigure/pom.xml index 8372303e1948..b63ee85f3b94 100644 --- a/sdk/spring/spring-cloud-azure-actuator-autoconfigure/pom.xml +++ b/sdk/spring/spring-cloud-azure-actuator-autoconfigure/pom.xml @@ -53,7 +53,7 @@ com.azure.spring spring-cloud-azure-appconfiguration-config-web - 4.0.0-beta.2 + 4.7.0-beta.1 diff --git a/sdk/spring/spring-cloud-azure-actuator/pom.xml b/sdk/spring/spring-cloud-azure-actuator/pom.xml index 411b09cc2a7a..c166375eb1de 100644 --- a/sdk/spring/spring-cloud-azure-actuator/pom.xml +++ b/sdk/spring/spring-cloud-azure-actuator/pom.xml @@ -105,7 +105,7 @@ com.azure.spring spring-cloud-azure-appconfiguration-config-web - 4.0.0-beta.2 + 4.7.0-beta.1 true diff --git a/sdk/spring/spring-cloud-azure-appconfiguration-config-web/CHANGELOG.md b/sdk/spring/spring-cloud-azure-appconfiguration-config-web/CHANGELOG.md index 16f316b0fe5c..aef4d1d02b65 100644 --- a/sdk/spring/spring-cloud-azure-appconfiguration-config-web/CHANGELOG.md +++ b/sdk/spring/spring-cloud-azure-appconfiguration-config-web/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 4.0.0-beta.2 (Unreleased) +## 4.7.0-beta.1 (Unreleased) ### Features Added diff --git a/sdk/spring/spring-cloud-azure-appconfiguration-config-web/pom.xml b/sdk/spring/spring-cloud-azure-appconfiguration-config-web/pom.xml index a64c16d86824..6e28d57d10c9 100644 --- a/sdk/spring/spring-cloud-azure-appconfiguration-config-web/pom.xml +++ b/sdk/spring/spring-cloud-azure-appconfiguration-config-web/pom.xml @@ -10,7 +10,7 @@ com.azure.spring spring-cloud-azure-appconfiguration-config-web - 4.0.0-beta.2 + 4.7.0-beta.1 Spring Cloud Azure App Configuration Config Web Integration of Spring Cloud Config and Azure App Configuration Service @@ -24,7 +24,7 @@ com.azure.spring spring-cloud-azure-appconfiguration-config - 4.0.0-beta.2 + 4.7.0-beta.1 org.springframework.boot diff --git a/sdk/spring/spring-cloud-azure-appconfiguration-config/CHANGELOG.md b/sdk/spring/spring-cloud-azure-appconfiguration-config/CHANGELOG.md index 8ba313e393d5..495bafe6eb04 100644 --- a/sdk/spring/spring-cloud-azure-appconfiguration-config/CHANGELOG.md +++ b/sdk/spring/spring-cloud-azure-appconfiguration-config/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 4.0.0-beta.2 (Unreleased) +## 4.7.0-beta.1 (Unreleased) ### Features Added diff --git a/sdk/spring/spring-cloud-azure-appconfiguration-config/pom.xml b/sdk/spring/spring-cloud-azure-appconfiguration-config/pom.xml index eee74af8f63c..9c52d7ab6679 100644 --- a/sdk/spring/spring-cloud-azure-appconfiguration-config/pom.xml +++ b/sdk/spring/spring-cloud-azure-appconfiguration-config/pom.xml @@ -9,7 +9,7 @@ 4.0.0 com.azure.spring spring-cloud-azure-appconfiguration-config - 4.0.0-beta.2 + 4.7.0-beta.1 Spring Cloud Azure App Configuration Config Integration of Spring Cloud Config and Azure App Configuration Service diff --git a/sdk/spring/spring-cloud-azure-feature-management-web/CHANGELOG.md b/sdk/spring/spring-cloud-azure-feature-management-web/CHANGELOG.md index 54799ee726b1..b2555e567571 100644 --- a/sdk/spring/spring-cloud-azure-feature-management-web/CHANGELOG.md +++ b/sdk/spring/spring-cloud-azure-feature-management-web/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 4.0.0-beta.4 (Unreleased) +## 4.7.0-beta.1 (Unreleased) ### Features Added diff --git a/sdk/spring/spring-cloud-azure-feature-management-web/pom.xml b/sdk/spring/spring-cloud-azure-feature-management-web/pom.xml index 7ec60abb62d3..4548ab3b256d 100644 --- a/sdk/spring/spring-cloud-azure-feature-management-web/pom.xml +++ b/sdk/spring/spring-cloud-azure-feature-management-web/pom.xml @@ -9,7 +9,7 @@ com.azure.spring spring-cloud-azure-feature-management-web - 4.0.0-beta.4 + 4.7.0-beta.1 Spring Cloud Azure Feature Management Web Adds Feature Management into Spring Web @@ -46,7 +46,7 @@ com.azure.spring spring-cloud-azure-feature-management - 4.0.0-beta.4 + 4.7.0-beta.1 org.springframework.boot @@ -65,7 +65,7 @@ - com.azure.spring:spring-cloud-azure-feature-management:[4.0.0-beta.4] + com.azure.spring:spring-cloud-azure-feature-management:[4.7.0-beta.1] javax.servlet:javax.servlet-api:[4.0.1] org.springframework:spring-web:[5.3.25] org.springframework:spring-webmvc:[5.3.25] diff --git a/sdk/spring/spring-cloud-azure-feature-management/CHANGELOG.md b/sdk/spring/spring-cloud-azure-feature-management/CHANGELOG.md index 2fca61339e08..294b0d60536c 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/CHANGELOG.md +++ b/sdk/spring/spring-cloud-azure-feature-management/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 4.0.0-beta.4 (Unreleased) +## 4.7.0-beta.1 (Unreleased) ### Features Added diff --git a/sdk/spring/spring-cloud-azure-feature-management/pom.xml b/sdk/spring/spring-cloud-azure-feature-management/pom.xml index ac2502711a45..44d8e3f2e5ff 100644 --- a/sdk/spring/spring-cloud-azure-feature-management/pom.xml +++ b/sdk/spring/spring-cloud-azure-feature-management/pom.xml @@ -11,7 +11,7 @@ com.azure.spring spring-cloud-azure-feature-management - 4.0.0-beta.4 + 4.7.0-beta.1 Spring Cloud Azure Feature Management Adds Feature Management into Spring diff --git a/sdk/spring/spring-cloud-azure-integration-test-appconfiguration-config/pom.xml b/sdk/spring/spring-cloud-azure-integration-test-appconfiguration-config/pom.xml index 471817d6a774..d4668bfb87c1 100644 --- a/sdk/spring/spring-cloud-azure-integration-test-appconfiguration-config/pom.xml +++ b/sdk/spring/spring-cloud-azure-integration-test-appconfiguration-config/pom.xml @@ -24,7 +24,7 @@ com.azure.spring spring-cloud-azure-starter-appconfiguration-config - 4.0.0-beta.2 + 4.7.0-beta.1 org.springframework.boot diff --git a/sdk/spring/spring-cloud-azure-starter-appconfiguration-config/CHANGELOG.md b/sdk/spring/spring-cloud-azure-starter-appconfiguration-config/CHANGELOG.md index f39059228431..9f36544b9b90 100644 --- a/sdk/spring/spring-cloud-azure-starter-appconfiguration-config/CHANGELOG.md +++ b/sdk/spring/spring-cloud-azure-starter-appconfiguration-config/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 4.0.0-beta.2 (Unreleased) +## 4.7.0-beta.1 (Unreleased) ### Features Added diff --git a/sdk/spring/spring-cloud-azure-starter-appconfiguration-config/README.md b/sdk/spring/spring-cloud-azure-starter-appconfiguration-config/README.md index 57f29d70425b..540d7c1b48cb 100644 --- a/sdk/spring/spring-cloud-azure-starter-appconfiguration-config/README.md +++ b/sdk/spring/spring-cloud-azure-starter-appconfiguration-config/README.md @@ -21,7 +21,7 @@ There are two libraries that can be used spring-cloud-azure-appconfiguration-con com.azure.spring spring-cloud-azure-appconfiguration-config - 4.0.0-beta.1 + 4.7.0-beta.1 ``` [//]: # ({x-version-update-end}) @@ -33,7 +33,7 @@ or com.azure.spring spring-cloud-azure-appconfiguration-config-web - 4.0.0-beta.1 + 4.7.0-beta.1 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/spring/spring-cloud-azure-starter-appconfiguration-config/pom.xml b/sdk/spring/spring-cloud-azure-starter-appconfiguration-config/pom.xml index b35f13abf896..c86f350c0f65 100644 --- a/sdk/spring/spring-cloud-azure-starter-appconfiguration-config/pom.xml +++ b/sdk/spring/spring-cloud-azure-starter-appconfiguration-config/pom.xml @@ -12,7 +12,7 @@ com.azure.spring spring-cloud-azure-starter-appconfiguration-config - 4.0.0-beta.2 + 4.7.0-beta.1 Spring Cloud Azure Starter App Configuration Config Spring Cloud Azure Starter App Configuration Config @@ -20,12 +20,12 @@ com.azure.spring spring-cloud-azure-appconfiguration-config-web - 4.0.0-beta.2 + 4.7.0-beta.1 com.azure.spring spring-cloud-azure-feature-management-web - 4.0.0-beta.4 + 4.7.0-beta.1 From f6a739f429c7782174f7f4efacb00a75ce55dd99 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 23 Mar 2023 00:24:31 -0700 Subject: [PATCH 22/35] [Automation] Generate Fluent Lite from webpubsub#package-2023-02-01 (#34175) * [Automation] External Change * [Automation] Generate Fluent Lite from webpubsub#package-2023-02-01 --- eng/versioning/version_client.txt | 2 +- .../azure-resourcemanager-webpubsub/CHANGELOG.md | 10 ++-------- .../azure-resourcemanager-webpubsub/README.md | 2 +- sdk/webpubsub/azure-resourcemanager-webpubsub/pom.xml | 2 +- .../resourcemanager/webpubsub/WebPubSubManager.java | 2 +- 5 files changed, 6 insertions(+), 12 deletions(-) diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index a8fc426a3707..590b6964f5e6 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -345,7 +345,7 @@ com.azure.resourcemanager:azure-resourcemanager-recoveryservicesbackup;1.1.0;1.2 com.azure.resourcemanager:azure-resourcemanager-deviceprovisioningservices;1.0.0;1.1.0-beta.3 com.azure.resourcemanager:azure-resourcemanager-postgresqlflexibleserver;1.0.0-beta.5;1.0.0-beta.6 com.azure.resourcemanager:azure-resourcemanager-elastic;1.0.0-beta.2;1.0.0-beta.3 -com.azure.resourcemanager:azure-resourcemanager-webpubsub;1.0.0-beta.4;1.0.0-beta.5 +com.azure.resourcemanager:azure-resourcemanager-webpubsub;1.0.0-beta.4;1.0.0 com.azure.resourcemanager:azure-resourcemanager-security;1.0.0-beta.4;1.0.0-beta.5 com.azure.resourcemanager:azure-resourcemanager-azurearcdata;1.0.0-beta.3;1.0.0-beta.4 com.azure.resourcemanager:azure-resourcemanager-hybridnetwork;1.0.0-beta.2;1.0.0-beta.3 diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/CHANGELOG.md b/sdk/webpubsub/azure-resourcemanager-webpubsub/CHANGELOG.md index acbf0abe833a..7f1a698898d6 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/CHANGELOG.md +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/CHANGELOG.md @@ -1,14 +1,8 @@ # Release History -## 1.0.0-beta.5 (Unreleased) +## 1.0.0 (2023-03-23) -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes +- Azure Resource Manager WebPubSub client library for Java. This package contains Microsoft Azure SDK for WebPubSub Management SDK. REST API for Azure WebPubSub Service. Package tag package-2023-02-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.4 (2023-03-22) diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/README.md b/sdk/webpubsub/azure-resourcemanager-webpubsub/README.md index 604c78713a5c..7502907475b4 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/README.md +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/README.md @@ -32,7 +32,7 @@ Various documentation is available to help you get started com.azure.resourcemanager azure-resourcemanager-webpubsub - 1.0.0-beta.4 + 1.0.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/pom.xml b/sdk/webpubsub/azure-resourcemanager-webpubsub/pom.xml index f1d2c8be3b4c..ef088061b1bb 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/pom.xml +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-webpubsub - 1.0.0-beta.5 + 1.0.0 jar Microsoft Azure SDK for WebPubSub Management diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/WebPubSubManager.java b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/WebPubSubManager.java index 4c8e96ba753c..50a82d2a7f8c 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/WebPubSubManager.java +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/src/main/java/com/azure/resourcemanager/webpubsub/WebPubSubManager.java @@ -235,7 +235,7 @@ public WebPubSubManager authenticate(TokenCredential credential, AzureProfile pr .append("-") .append("com.azure.resourcemanager.webpubsub") .append("/") - .append("1.0.0-beta.4"); + .append("1.0.0"); if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) { userAgentBuilder .append(" (") From 2ee78931b996d359cb10415a22554ce2a79c8c81 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 23 Mar 2023 01:22:27 -0700 Subject: [PATCH 23/35] Increment versions for webpubsub releases (#34176) Increment package versions for webpubsub releases --- eng/versioning/version_client.txt | 2 +- .../azure-resourcemanager-webpubsub/CHANGELOG.md | 10 ++++++++++ sdk/webpubsub/azure-resourcemanager-webpubsub/pom.xml | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index 590b6964f5e6..629154765d26 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -345,7 +345,7 @@ com.azure.resourcemanager:azure-resourcemanager-recoveryservicesbackup;1.1.0;1.2 com.azure.resourcemanager:azure-resourcemanager-deviceprovisioningservices;1.0.0;1.1.0-beta.3 com.azure.resourcemanager:azure-resourcemanager-postgresqlflexibleserver;1.0.0-beta.5;1.0.0-beta.6 com.azure.resourcemanager:azure-resourcemanager-elastic;1.0.0-beta.2;1.0.0-beta.3 -com.azure.resourcemanager:azure-resourcemanager-webpubsub;1.0.0-beta.4;1.0.0 +com.azure.resourcemanager:azure-resourcemanager-webpubsub;1.0.0;1.1.0-beta.1 com.azure.resourcemanager:azure-resourcemanager-security;1.0.0-beta.4;1.0.0-beta.5 com.azure.resourcemanager:azure-resourcemanager-azurearcdata;1.0.0-beta.3;1.0.0-beta.4 com.azure.resourcemanager:azure-resourcemanager-hybridnetwork;1.0.0-beta.2;1.0.0-beta.3 diff --git a/sdk/webpubsub/azure-resourcemanager-webpubsub/CHANGELOG.md b/sdk/webpubsub/azure-resourcemanager-webpubsub/CHANGELOG.md index 7f1a698898d6..ece5ef69f8b4 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/CHANGELOG.md +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 1.1.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 1.0.0 (2023-03-23) - Azure Resource Manager WebPubSub client library for Java. This package contains Microsoft Azure SDK for WebPubSub Management SDK. REST API for Azure WebPubSub Service. Package tag package-2023-02-01. 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/webpubsub/azure-resourcemanager-webpubsub/pom.xml b/sdk/webpubsub/azure-resourcemanager-webpubsub/pom.xml index ef088061b1bb..526cad1bb6f7 100644 --- a/sdk/webpubsub/azure-resourcemanager-webpubsub/pom.xml +++ b/sdk/webpubsub/azure-resourcemanager-webpubsub/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-webpubsub - 1.0.0 + 1.1.0-beta.1 jar Microsoft Azure SDK for WebPubSub Management From 01c879c3f61e383a9c454cb0953c36b95da82197 Mon Sep 17 00:00:00 2001 From: Liudmila Molkova Date: Thu, 23 Mar 2023 09:26:17 -0700 Subject: [PATCH 24/35] Onboard storage onto new tracing (#34170) --- .../azure/storage/blob/batch/BlobBatch.java | 1 + .../blob/batch/BlobBatchAsyncClient.java | 8 ++--- .../blob/batch/BlobBatchClientBuilder.java | 1 + .../BlobChangefeedClientBuilder.java | 1 + .../EncryptedBlobClientBuilder.java | 4 +++ .../blob/BlobContainerAsyncClient.java | 28 ++++++------------ .../storage/blob/BlobServiceAsyncClient.java | 19 ++++-------- .../implementation/util/BuilderHelper.java | 12 ++++++++ .../specialized/AppendBlobAsyncClient.java | 10 +++---- .../blob/specialized/BlobAsyncClientBase.java | 15 ++++------ .../specialized/BlobLeaseAsyncClient.java | 18 +++++------- .../specialized/BlockBlobAsyncClient.java | 12 ++++---- .../blob/specialized/PageBlobAsyncClient.java | 25 +++++++--------- .../datalake/DataLakeFileAsyncClient.java | 7 ++--- .../DataLakeFileSystemAsyncClient.java | 8 ++--- .../datalake/DataLakePathAsyncClient.java | 17 ++++------- .../implementation/util/BuilderHelper.java | 12 ++++++++ .../storage/file/share/ShareAsyncClient.java | 25 +++++----------- .../file/share/ShareDirectoryAsyncClient.java | 20 ++++--------- .../file/share/ShareFileAsyncClient.java | 29 ++++++------------- .../file/share/ShareServiceAsyncClient.java | 14 +++------ .../implementation/util/BuilderHelper.java | 11 +++++++ .../specialized/ShareLeaseAsyncClient.java | 24 ++++++--------- .../azure/storage/queue/QueueAsyncClient.java | 29 ++++++------------- .../queue/QueueServiceAsyncClient.java | 12 ++------ .../implementation/util/BuilderHelper.java | 11 +++++++ 26 files changed, 161 insertions(+), 212 deletions(-) diff --git a/sdk/storage/azure-storage-blob-batch/src/main/java/com/azure/storage/blob/batch/BlobBatch.java b/sdk/storage/azure-storage-blob-batch/src/main/java/com/azure/storage/blob/batch/BlobBatch.java index 963d26b5147e..5f937a423b54 100644 --- a/sdk/storage/azure-storage-blob-batch/src/main/java/com/azure/storage/blob/batch/BlobBatch.java +++ b/sdk/storage/azure-storage-blob-batch/src/main/java/com/azure/storage/blob/batch/BlobBatch.java @@ -101,6 +101,7 @@ public final class BlobBatch { batchPipelineBuilder.policies(this::buildBatchOperation); + batchPipelineBuilder.tracer(pipeline.getTracer()); batchPipelineBuilder.httpClient(pipeline.getHttpClient()); this.blobAsyncClient = new BlobClientBuilder() diff --git a/sdk/storage/azure-storage-blob-batch/src/main/java/com/azure/storage/blob/batch/BlobBatchAsyncClient.java b/sdk/storage/azure-storage-blob-batch/src/main/java/com/azure/storage/blob/batch/BlobBatchAsyncClient.java index 484e7f791693..d45ee11809eb 100644 --- a/sdk/storage/azure-storage-blob-batch/src/main/java/com/azure/storage/blob/batch/BlobBatchAsyncClient.java +++ b/sdk/storage/azure-storage-blob-batch/src/main/java/com/azure/storage/blob/batch/BlobBatchAsyncClient.java @@ -34,8 +34,6 @@ import static com.azure.core.util.FluxUtil.monoError; import static com.azure.core.util.FluxUtil.pagedFluxError; import static com.azure.core.util.FluxUtil.withContext; -import static com.azure.core.util.tracing.Tracer.AZ_TRACING_NAMESPACE_KEY; -import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; /** * This class provides a client that contains all operations that apply to Azure Storage Blob batching. @@ -158,13 +156,11 @@ Mono> submitBatchWithResponse(BlobBatch batch, boolean throwOnAny .flatMap(batchOperationInfo -> containerScoped ? client.getContainers().submitBatchWithResponseAsync(null, batchOperationInfo.getContentLength(), batchOperationInfo.getContentType(), - Flux.fromIterable(batchOperationInfo.getBody()), null, null, - finalContext.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + Flux.fromIterable(batchOperationInfo.getBody()), null, null, finalContext) .flatMap(response -> BlobBatchHelper.mapBatchResponse(batchOperationInfo, response, throwOnAnyFailure, LOGGER)) : client.getServices().submitBatchWithResponseAsync(batchOperationInfo.getContentLength(), - batchOperationInfo.getContentType(), Flux.fromIterable(batchOperationInfo.getBody()), null, null, - finalContext.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + batchOperationInfo.getContentType(), Flux.fromIterable(batchOperationInfo.getBody()), null, null, finalContext) .flatMap(response -> BlobBatchHelper.mapBatchResponse(batchOperationInfo, response, throwOnAnyFailure, LOGGER))); } diff --git a/sdk/storage/azure-storage-blob-batch/src/main/java/com/azure/storage/blob/batch/BlobBatchClientBuilder.java b/sdk/storage/azure-storage-blob-batch/src/main/java/com/azure/storage/blob/batch/BlobBatchClientBuilder.java index 511cea147a75..391462aa6b71 100644 --- a/sdk/storage/azure-storage-blob-batch/src/main/java/com/azure/storage/blob/batch/BlobBatchClientBuilder.java +++ b/sdk/storage/azure-storage-blob-batch/src/main/java/com/azure/storage/blob/batch/BlobBatchClientBuilder.java @@ -144,6 +144,7 @@ private HttpPipeline addBlobUserAgentModificationPolicy(HttpPipeline pipeline) { return new HttpPipelineBuilder() .httpClient(pipeline.getHttpClient()) .policies(policies.toArray(new HttpPipelinePolicy[0])) + .tracer(pipeline.getTracer()) .build(); } } diff --git a/sdk/storage/azure-storage-blob-changefeed/src/main/java/com/azure/storage/blob/changefeed/BlobChangefeedClientBuilder.java b/sdk/storage/azure-storage-blob-changefeed/src/main/java/com/azure/storage/blob/changefeed/BlobChangefeedClientBuilder.java index 356203bdb917..705a4f4a3872 100644 --- a/sdk/storage/azure-storage-blob-changefeed/src/main/java/com/azure/storage/blob/changefeed/BlobChangefeedClientBuilder.java +++ b/sdk/storage/azure-storage-blob-changefeed/src/main/java/com/azure/storage/blob/changefeed/BlobChangefeedClientBuilder.java @@ -125,6 +125,7 @@ private HttpPipeline addBlobUserAgentModificationPolicy(HttpPipeline pipeline) { return new HttpPipelineBuilder() .httpClient(pipeline.getHttpClient()) .policies(policies.toArray(new HttpPipelinePolicy[0])) + .tracer(pipeline.getTracer()) .build(); } } diff --git a/sdk/storage/azure-storage-blob-cryptography/src/main/java/com/azure/storage/blob/specialized/cryptography/EncryptedBlobClientBuilder.java b/sdk/storage/azure-storage-blob-cryptography/src/main/java/com/azure/storage/blob/specialized/cryptography/EncryptedBlobClientBuilder.java index 043756c1d3f9..7756ad5f8006 100644 --- a/sdk/storage/azure-storage-blob-cryptography/src/main/java/com/azure/storage/blob/specialized/cryptography/EncryptedBlobClientBuilder.java +++ b/sdk/storage/azure-storage-blob-cryptography/src/main/java/com/azure/storage/blob/specialized/cryptography/EncryptedBlobClientBuilder.java @@ -69,6 +69,7 @@ import java.util.Map; import java.util.Objects; +import static com.azure.storage.blob.implementation.util.BuilderHelper.createTracer; import static com.azure.storage.blob.specialized.cryptography.CryptographyConstants.USER_AGENT_PROPERTIES; /** @@ -261,6 +262,7 @@ private HttpPipeline addBlobUserAgentModificationPolicy(HttpPipeline pipeline) { return new HttpPipelineBuilder() .httpClient(pipeline.getHttpClient()) .policies(policies.toArray(new HttpPipelinePolicy[0])) + .tracer(pipeline.getTracer()) .build(); } @@ -288,6 +290,7 @@ private HttpPipeline getHttpPipeline() { return new HttpPipelineBuilder() .httpClient(httpPipeline.getHttpClient()) + .tracer(httpPipeline.getTracer()) .policies(policies.toArray(new HttpPipelinePolicy[0])) .build(); } @@ -345,6 +348,7 @@ private HttpPipeline getHttpPipeline() { return new HttpPipelineBuilder() .policies(policies.toArray(new HttpPipelinePolicy[0])) .httpClient(httpClient) + .tracer(createTracer(clientOptions)) .build(); } diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobContainerAsyncClient.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobContainerAsyncClient.java index 1b57bccbf7f9..80f428c276f5 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobContainerAsyncClient.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobContainerAsyncClient.java @@ -67,8 +67,6 @@ import static com.azure.core.util.FluxUtil.monoError; import static com.azure.core.util.FluxUtil.pagedFluxError; import static com.azure.core.util.FluxUtil.withContext; -import static com.azure.core.util.tracing.Tracer.AZ_TRACING_NAMESPACE_KEY; -import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; /** * Client to a container. It may only be instantiated through a {@link BlobContainerClientBuilder} or via the method @@ -428,8 +426,7 @@ Mono> createWithResponse(Map metadata, PublicAcce Context context) { context = context == null ? Context.NONE : context; return this.azureBlobStorage.getContainers().createWithResponseAsync( - containerName, null, metadata, accessType, null, blobContainerEncryptionScope, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + containerName, null, metadata, accessType, null, blobContainerEncryptionScope, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -578,8 +575,7 @@ Mono> deleteWithResponse(BlobRequestConditions requestConditions, return this.azureBlobStorage.getContainers().deleteWithResponseAsync(containerName, null, requestConditions.getLeaseId(), requestConditions.getIfModifiedSince(), - requestConditions.getIfUnmodifiedSince(), null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + requestConditions.getIfUnmodifiedSince(), null, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -720,8 +716,7 @@ Mono> getPropertiesWithResponse(String leaseId context = context == null ? Context.NONE : context; return this.azureBlobStorage.getContainers() - .getPropertiesWithResponseAsync(containerName, null, leaseId, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + .getPropertiesWithResponseAsync(containerName, null, leaseId, null, context) .map(rb -> { ContainersGetPropertiesHeaders hd = rb.getDeserializedHeaders(); BlobContainerProperties properties = new BlobContainerProperties(hd.getXMsMeta(), hd.getETag(), @@ -805,8 +800,7 @@ Mono> setMetadataWithResponse(Map metadata, } return this.azureBlobStorage.getContainers().setMetadataWithResponseAsync(containerName, null, - requestConditions.getLeaseId(), metadata, requestConditions.getIfModifiedSince(), null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + requestConditions.getLeaseId(), metadata, requestConditions.getIfModifiedSince(), null, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -874,8 +868,7 @@ public Mono> getAccessPolicyWithResponse(S Mono> getAccessPolicyWithResponse(String leaseId, Context context) { context = context == null ? Context.NONE : context; return this.azureBlobStorage.getContainers().getAccessPolicyWithResponseAsync( - containerName, null, leaseId, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + containerName, null, leaseId, null, context) .map(response -> new SimpleResponse<>(response, new BlobContainerAccessPolicies(response.getDeserializedHeaders().getXMsBlobPublicAccess(), response.getValue()))); @@ -999,8 +992,7 @@ OffsetDateTime.now will only give back milliseconds (more precise fields are zer return this.azureBlobStorage.getContainers().setAccessPolicyWithResponseAsync( containerName, null, requestConditions.getLeaseId(), accessType, requestConditions.getIfModifiedSince(), - requestConditions.getIfUnmodifiedSince(), null, identifiers, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + requestConditions.getIfUnmodifiedSince(), null, identifiers, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -1464,8 +1456,7 @@ private Mono> findBlobsByTags( StorageImplUtils.assertNotNull("options", options); return StorageImplUtils.applyOptionalTimeout( this.azureBlobStorage.getContainers().filterBlobsWithResponseAsync(containerName, null, null, - options.getQuery(), marker, options.getMaxResultsPerPage(), null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)), timeout) + options.getQuery(), marker, options.getMaxResultsPerPage(), null, context), timeout) .map(response -> { List value = response.getValue().getBlobs() == null ? Collections.emptyList() @@ -1533,8 +1524,7 @@ public Mono> getAccountInfoWithResponse() { Mono> getAccountInfoWithResponse(Context context) { context = context == null ? Context.NONE : context; - return this.azureBlobStorage.getContainers().getAccountInfoWithResponseAsync(containerName, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + return this.azureBlobStorage.getContainers().getAccountInfoWithResponseAsync(containerName, context) .map(rb -> { ContainersGetAccountInfoHeaders hd = rb.getDeserializedHeaders(); return new SimpleResponse<>(rb, new StorageAccountInfo(hd.getXMsSkuName(), hd.getXMsAccountKind())); @@ -1576,7 +1566,7 @@ Mono> getAccountInfoWithResponse(Context context) { // // return this.azureBlobStorage.getContainers().renameWithResponseAsync(containerName, // sourceContainerName, null, null, requestConditions.getLeaseId(), -// context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) +// context) // .map(response -> new SimpleResponse<>(response, this)); // } diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobServiceAsyncClient.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobServiceAsyncClient.java index 88f935b95efa..ac52a5d2a46a 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobServiceAsyncClient.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobServiceAsyncClient.java @@ -63,8 +63,6 @@ import static com.azure.core.util.FluxUtil.monoError; import static com.azure.core.util.FluxUtil.pagedFluxError; import static com.azure.core.util.FluxUtil.withContext; -import static com.azure.core.util.tracing.Tracer.AZ_TRACING_NAMESPACE_KEY; -import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; /** * Client to a storage account. It may only be instantiated through a {@link BlobServiceClientBuilder}. This class does @@ -614,8 +612,7 @@ private Mono> findBlobsByTags( StorageImplUtils.assertNotNull("options", options); return StorageImplUtils.applyOptionalTimeout( this.azureBlobStorage.getServices().filterBlobsWithResponseAsync(null, null, - options.getQuery(), marker, options.getMaxResultsPerPage(), null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)), timeout) + options.getQuery(), marker, options.getMaxResultsPerPage(), null, context), timeout) .map(response -> { List value = response.getValue().getBlobs() == null ? Collections.emptyList() @@ -714,8 +711,7 @@ public Mono> getPropertiesWithResponse() { Mono> getPropertiesWithResponse(Context context) { context = context == null ? Context.NONE : context; throwOnAnonymousAccess(); - return this.azureBlobStorage.getServices().getPropertiesWithResponseAsync(null, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + return this.azureBlobStorage.getServices().getPropertiesWithResponseAsync(null, null, context) .map(rb -> new SimpleResponse<>(rb, rb.getValue())); } @@ -863,8 +859,7 @@ Mono> setPropertiesWithResponse(BlobServiceProperties properties, } context = context == null ? Context.NONE : context; - return this.azureBlobStorage.getServices().setPropertiesWithResponseAsync(finalProperties, null, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + return this.azureBlobStorage.getServices().setPropertiesWithResponseAsync(finalProperties, null, null, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -968,7 +963,7 @@ Mono> getUserDelegationKeyWithResponse(OffsetDateTim new KeyInfo() .setStart(start == null ? "" : Constants.ISO_8601_UTC_DATE_FORMATTER.format(start)) .setExpiry(Constants.ISO_8601_UTC_DATE_FORMATTER.format(expiry)), - null, null, context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + null, null, context) .map(rb -> new SimpleResponse<>(rb, rb.getValue())); } @@ -1025,8 +1020,7 @@ Mono> getStatisticsWithResponse(Context context) throwOnAnonymousAccess(); context = context == null ? Context.NONE : context; - return this.azureBlobStorage.getServices().getStatisticsWithResponseAsync(null, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + return this.azureBlobStorage.getServices().getStatisticsWithResponseAsync(null, null, context) .map(rb -> new SimpleResponse<>(rb, rb.getValue())); } @@ -1260,8 +1254,7 @@ Mono> undeleteBlobContainerWithResponse( : options.getDeletedContainerName(); context = context == null ? Context.NONE : context; return this.azureBlobStorage.getContainers().restoreWithResponseAsync(finalDestinationContainerName, null, - null, options.getDeletedContainerName(), options.getDeletedContainerVersion(), - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + null, options.getDeletedContainerName(), options.getDeletedContainerVersion(), context) .map(response -> new SimpleResponse<>(response, getBlobContainerAsyncClient(finalDestinationContainerName))); } diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/util/BuilderHelper.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/util/BuilderHelper.java index 887cb711fc79..b3de7cc7f2fa 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/util/BuilderHelper.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/util/BuilderHelper.java @@ -23,7 +23,10 @@ import com.azure.core.util.ClientOptions; import com.azure.core.util.Configuration; import com.azure.core.util.CoreUtils; +import com.azure.core.util.TracingOptions; import com.azure.core.util.logging.ClientLogger; +import com.azure.core.util.tracing.Tracer; +import com.azure.core.util.tracing.TracerProvider; import com.azure.storage.blob.BlobUrlParts; import com.azure.storage.common.StorageSharedKeyCredential; import com.azure.storage.common.implementation.BuilderUtils; @@ -40,6 +43,8 @@ import java.util.List; import java.util.Map; +import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; + /** * This class provides helper methods for common builder patterns. *

@@ -137,6 +142,7 @@ public static HttpPipeline buildPipeline( .policies(policies.toArray(new HttpPipelinePolicy[0])) .httpClient(httpClient) .clientOptions(clientOptions) + .tracer(createTracer(clientOptions)) .build(); } @@ -207,4 +213,10 @@ private static HttpPipelinePolicy getResponseValidationPolicy() { .addOptionalEcho(Constants.HeaderConstants.ENCRYPTION_KEY_SHA256) .build(); } + + public static Tracer createTracer(ClientOptions clientOptions) { + TracingOptions tracingOptions = clientOptions == null ? null : clientOptions.getTracingOptions(); + return TracerProvider.getDefaultProvider() + .createTracer(CLIENT_NAME, CLIENT_VERSION, STORAGE_TRACING_NAMESPACE_VALUE, tracingOptions); + } } diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/AppendBlobAsyncClient.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/AppendBlobAsyncClient.java index 345edd49e213..ea83864f23f0 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/AppendBlobAsyncClient.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/AppendBlobAsyncClient.java @@ -44,8 +44,6 @@ import static com.azure.core.util.FluxUtil.monoError; import static com.azure.core.util.FluxUtil.withContext; -import static com.azure.core.util.tracing.Tracer.AZ_TRACING_NAMESPACE_KEY; -import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; /** * Client to an append blob. It may only be instantiated through a @@ -274,7 +272,7 @@ Mono> createWithResponse(AppendBlobCreateOptions option requestConditions.getIfNoneMatch(), requestConditions.getTagsConditions(), null, tagsToString(options.getTags()), immutabilityPolicy.getExpiryTime(), immutabilityPolicy.getPolicyMode(), options.hasLegalHold(), options.getHeaders(), getCustomerProvidedKey(), - encryptionScope, context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + encryptionScope, context) .map(rb -> { AppendBlobsCreateHeaders hd = rb.getDeserializedHeaders(); AppendBlobItem item = new AppendBlobItem(hd.getETag(), hd.getLastModified(), hd.getContentMD5(), @@ -441,7 +439,7 @@ Mono> appendBlockWithResponse(Flux data, lo appendBlobRequestConditions.getIfModifiedSince(), appendBlobRequestConditions.getIfUnmodifiedSince(), appendBlobRequestConditions.getIfMatch(), appendBlobRequestConditions.getIfNoneMatch(), appendBlobRequestConditions.getTagsConditions(), null, getCustomerProvidedKey(), encryptionScope, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + context) .map(rb -> { AppendBlobsAppendBlockHeaders hd = rb.getDeserializedHeaders(); AppendBlobItem item = new AppendBlobItem(hd.getETag(), hd.getLastModified(), hd.getContentMD5(), @@ -576,7 +574,7 @@ Mono> appendBlockFromUrlWithResponse(AppendBlobAppendBl destRequestConditions.getTagsConditions(), sourceRequestConditions.getIfModifiedSince(), sourceRequestConditions.getIfUnmodifiedSince(), sourceRequestConditions.getIfMatch(), sourceRequestConditions.getIfNoneMatch(), null, sourceAuth, getCustomerProvidedKey(), - encryptionScope, context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + encryptionScope, context) .map(rb -> { AppendBlobsAppendBlockFromUrlHeaders hd = rb.getDeserializedHeaders(); AppendBlobItem item = new AppendBlobItem(hd.getETag(), hd.getLastModified(), hd.getContentMD5(), @@ -642,7 +640,7 @@ Mono> sealWithResponse(AppendBlobSealOptions options, Context con requestConditions.getLeaseId(), requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), requestConditions.getIfMatch(), requestConditions.getIfNoneMatch(), requestConditions.getAppendPosition(), - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + context) .map(response -> new SimpleResponse<>(response, null)); } } diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobAsyncClientBase.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobAsyncClientBase.java index 0f050444cc76..fb4f9e4cc47c 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobAsyncClientBase.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobAsyncClientBase.java @@ -117,8 +117,6 @@ import static com.azure.core.util.FluxUtil.fluxError; import static com.azure.core.util.FluxUtil.monoError; import static com.azure.core.util.FluxUtil.withContext; -import static com.azure.core.util.tracing.Tracer.AZ_TRACING_NAMESPACE_KEY; -import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; /** * This class provides a client that contains all operations that apply to any blob type. @@ -1826,8 +1824,7 @@ Mono> getPropertiesWithResponse(BlobRequestConditions r containerName, blobName, snapshot, versionId, null, requestConditions.getLeaseId(), requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), requestConditions.getIfMatch(), - requestConditions.getIfNoneMatch(), requestConditions.getTagsConditions(), null, customerProvidedKey, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + requestConditions.getIfNoneMatch(), requestConditions.getTagsConditions(), null, customerProvidedKey, context) .map(rb -> new SimpleResponse<>(rb, BlobPropertiesConstructorProxy .create(new BlobPropertiesInternalGetProperties(rb.getDeserializedHeaders())))); } @@ -1970,7 +1967,7 @@ Mono> setMetadataWithResponse(Map metadata, BlobR containerName, blobName, null, metadata, requestConditions.getLeaseId(), requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), requestConditions.getIfMatch(), requestConditions.getIfNoneMatch(), requestConditions.getTagsConditions(), null, customerProvidedKey, - encryptionScope, context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + encryptionScope, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -2716,8 +2713,7 @@ Mono> setImmutabilityPolicyWithResponse( return this.azureBlobStorage.getBlobs().setImmutabilityPolicyWithResponseAsync(containerName, blobName, null, null, finalRequestConditions.getIfUnmodifiedSince(), finalImmutabilityPolicy.getExpiryTime(), - finalImmutabilityPolicy.getPolicyMode(), - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + finalImmutabilityPolicy.getPolicyMode(), context) .map(response -> { BlobsSetImmutabilityPolicyHeaders headers = response.getDeserializedHeaders(); BlobImmutabilityPolicy responsePolicy = new BlobImmutabilityPolicy() @@ -2776,7 +2772,7 @@ public Mono> deleteImmutabilityPolicyWithResponse() { Mono> deleteImmutabilityPolicyWithResponse(Context context) { context = context == null ? Context.NONE : context; return this.azureBlobStorage.getBlobs().deleteImmutabilityPolicyWithResponseAsync(containerName, blobName, - null, null, context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + null, null, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -2831,8 +2827,7 @@ public Mono> setLegalHoldWithResponse(boolean lega Mono> setLegalHoldWithResponse(boolean legalHold, Context context) { context = context == null ? Context.NONE : context; return this.azureBlobStorage.getBlobs().setLegalHoldWithResponseAsync(containerName, blobName, - legalHold, null, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + legalHold, null, null, context) .map(response -> new SimpleResponse<>(response, new InternalBlobLegalHoldResult(response.getDeserializedHeaders().isXMsLegalHold()))); } diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobLeaseAsyncClient.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobLeaseAsyncClient.java index e8c9833c8be6..a909adea27fb 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobLeaseAsyncClient.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlobLeaseAsyncClient.java @@ -32,8 +32,6 @@ import static com.azure.core.util.FluxUtil.monoError; import static com.azure.core.util.FluxUtil.withContext; -import static com.azure.core.util.tracing.Tracer.AZ_TRACING_NAMESPACE_KEY; -import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; /** * This class provides a client that contains all the leasing operations for {@link BlobContainerAsyncClient containers} @@ -208,7 +206,7 @@ Mono> acquireLeaseWithResponse(BlobAcquireLeaseOptions options, options.getDuration(), this.leaseId, requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), requestConditions.getIfMatch(), requestConditions.getIfNoneMatch(), requestConditions.getTagsConditions(), null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + context) .map(rb -> new SimpleResponse<>(rb, rb.getDeserializedHeaders().getXMsLeaseId())); } else { response = this.client.getContainers().acquireLeaseWithResponseAsync(containerName, null, @@ -307,12 +305,12 @@ Mono> renewLeaseWithResponse(BlobRenewLeaseOptions options, Con requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), requestConditions.getIfMatch(), requestConditions.getIfNoneMatch(), requestConditions.getTagsConditions(), null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + context) .map(rb -> new SimpleResponse<>(rb, rb.getDeserializedHeaders().getXMsLeaseId())); } else { response = this.client.getContainers().renewLeaseWithResponseAsync(containerName, this.leaseId, null, requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), - null, context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + null, context) .map(rb -> new SimpleResponse<>(rb, rb.getDeserializedHeaders().getXMsLeaseId())); } @@ -405,12 +403,12 @@ Mono> releaseLeaseWithResponse(BlobReleaseLeaseOptions options, C requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), requestConditions.getIfMatch(), requestConditions.getIfNoneMatch(), requestConditions.getTagsConditions(), null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + context) .map(response -> new SimpleResponse<>(response, null)); } else { return this.client.getContainers().releaseLeaseWithResponseAsync(containerName, this.leaseId, null, requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), - null, context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + null, context) .map(response -> new SimpleResponse<>(response, null)); } } @@ -518,7 +516,7 @@ Mono> breakLeaseWithResponse(BlobBreakLeaseOptions options, Co breakPeriod, requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), requestConditions.getIfMatch(), requestConditions.getIfNoneMatch(), requestConditions.getTagsConditions(), null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + context) .map(rb -> new SimpleResponse<>(rb, rb.getDeserializedHeaders().getXMsLeaseTime())); } else { return this.client.getContainers().breakLeaseWithResponseAsync(containerName, null, @@ -617,13 +615,13 @@ Mono> changeLeaseWithResponse(BlobChangeLeaseOptions options, C options.getProposedId(), null, requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), requestConditions.getIfMatch(), requestConditions.getIfNoneMatch(), requestConditions.getTagsConditions(), null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + context) .map(rb -> new SimpleResponse<>(rb, rb.getDeserializedHeaders().getXMsLeaseId())); } else { response = this.client.getContainers().changeLeaseWithResponseAsync(containerName, this.leaseId, options.getProposedId(), null, requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + context) .map(rb -> new SimpleResponse<>(rb, rb.getDeserializedHeaders().getXMsLeaseId())); } diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlockBlobAsyncClient.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlockBlobAsyncClient.java index 121eef3fe17b..8c2e6c78a5d2 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlockBlobAsyncClient.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/BlockBlobAsyncClient.java @@ -51,8 +51,6 @@ import static com.azure.core.util.FluxUtil.monoError; import static com.azure.core.util.FluxUtil.withContext; -import static com.azure.core.util.tracing.Tracer.AZ_TRACING_NAMESPACE_KEY; -import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; /** * Client to a block blob. It may only be instantiated through a {@link SpecializedBlobClientBuilder} or via the method @@ -438,7 +436,7 @@ Mono> uploadWithResponse(BlockBlobSimpleUploadOptions op requestConditions.getIfNoneMatch(), requestConditions.getTagsConditions(), null, tagsToString(options.getTags()), immutabilityPolicy.getExpiryTime(), immutabilityPolicy.getPolicyMode(), options.isLegalHold(), null, options.getHeaders(), getCustomerProvidedKey(), - encryptionScope, finalContext.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + encryptionScope, finalContext) .map(rb -> { BlockBlobsUploadHeaders hd = rb.getDeserializedHeaders(); BlockBlobItem item = new BlockBlobItem(hd.getETag(), hd.getLastModified(), hd.getContentMD5(), @@ -591,7 +589,7 @@ Mono> uploadFromUrlWithResponse(BlobUploadFromUrlOptions null, options.getContentMd5(), tagsToString(options.getTags()), options.isCopySourceBlobProperties(), sourceAuth, options.getCopySourceTagsMode(), options.getHeaders(), getCustomerProvidedKey(), encryptionScope, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + context) .map(rb -> { BlockBlobsPutBlobFromUrlHeaders hd = rb.getDeserializedHeaders(); BlockBlobItem item = new BlockBlobItem(hd.getETag(), hd.getLastModified(), hd.getContentMD5(), @@ -761,7 +759,7 @@ Mono> stageBlockWithResponse(String base64BlockId, BinaryData dat return this.azureBlobStorage.getBlockBlobs().stageBlockWithResponseAsync(containerName, blobName, base64BlockId, data.getLength(), data, contentMd5, null, null, leaseId, null, getCustomerProvidedKey(), - encryptionScope, context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + encryptionScope, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -888,7 +886,7 @@ Mono> stageBlockFromUrlWithResponse(BlockBlobStageBlockFromUrlOpt options.getLeaseId(), sourceRequestConditions.getIfModifiedSince(), sourceRequestConditions.getIfUnmodifiedSince(), sourceRequestConditions.getIfMatch(), sourceRequestConditions.getIfNoneMatch(), null, sourceAuth, getCustomerProvidedKey(), - encryptionScope, context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + encryptionScope, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -1158,7 +1156,7 @@ Mono> commitBlockListWithResponse(BlockBlobCommitBlockLi requestConditions.getIfNoneMatch(), requestConditions.getTagsConditions(), null, tagsToString(options.getTags()), immutabilityPolicy.getExpiryTime(), immutabilityPolicy.getPolicyMode(), options.isLegalHold(), options.getHeaders(), getCustomerProvidedKey(), - encryptionScope, context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + encryptionScope, context) .map(rb -> { BlockBlobsCommitBlockListHeaders hd = rb.getDeserializedHeaders(); BlockBlobItem item = new BlockBlobItem(hd.getETag(), hd.getLastModified(), hd.getContentMD5(), diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/PageBlobAsyncClient.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/PageBlobAsyncClient.java index fccc201b53f4..0859011d7701 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/PageBlobAsyncClient.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/specialized/PageBlobAsyncClient.java @@ -72,8 +72,6 @@ import static com.azure.core.util.FluxUtil.monoError; import static com.azure.core.util.FluxUtil.withContext; -import static com.azure.core.util.tracing.Tracer.AZ_TRACING_NAMESPACE_KEY; -import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; /** * Client to a page blob. It may only be instantiated through a {@link SpecializedBlobClientBuilder} or via the method @@ -344,7 +342,7 @@ Mono> createWithResponse(PageBlobCreateOptions options, C options.getSequenceNumber(), null, tagsToString(options.getTags()), immutabilityPolicy.getExpiryTime(), immutabilityPolicy.getPolicyMode(), options.isLegalHold(), options.getHeaders(), getCustomerProvidedKey(), encryptionScope, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + context) .map(rb -> { PageBlobsCreateHeaders hd = rb.getDeserializedHeaders(); PageBlobItem item = new PageBlobItem(hd.getETag(), hd.getLastModified(), hd.getContentMD5(), @@ -541,7 +539,7 @@ Mono> uploadPagesWithResponse(PageRange pageRange, Flux { PageBlobsUploadPagesHeaders hd = rb.getDeserializedHeaders(); PageBlobItem item = new PageBlobItem(hd.getETag(), hd.getLastModified(), hd.getContentMD5(), @@ -720,7 +718,7 @@ Mono> uploadPagesFromUrlWithResponse(PageBlobUploadPagesF destRequestConditions.getTagsConditions(), sourceRequestConditions.getIfModifiedSince(), sourceRequestConditions.getIfUnmodifiedSince(), sourceRequestConditions.getIfMatch(), sourceRequestConditions.getIfNoneMatch(), null, sourceAuth, getCustomerProvidedKey(), - encryptionScope, context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + encryptionScope, context) .map(rb -> { PageBlobsUploadPagesFromURLHeaders hd = rb.getDeserializedHeaders(); PageBlobItem item = new PageBlobItem(hd.getETag(), hd.getLastModified(), hd.getContentMD5(), @@ -814,8 +812,7 @@ Mono> clearPagesWithResponse(PageRange pageRange, pageBlobRequestConditions.getIfSequenceNumberEqualTo(), pageBlobRequestConditions.getIfModifiedSince(), pageBlobRequestConditions.getIfUnmodifiedSince(), pageBlobRequestConditions.getIfMatch(), pageBlobRequestConditions.getIfNoneMatch(), pageBlobRequestConditions.getTagsConditions(), null, - getCustomerProvidedKey(), encryptionScope, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + getCustomerProvidedKey(), encryptionScope, context) .map(rb -> { PageBlobsClearPagesHeaders hd = rb.getDeserializedHeaders(); PageBlobItem item = new PageBlobItem(hd.getETag(), hd.getLastModified(), hd.getContentMD5(), @@ -903,7 +900,7 @@ Mono> getPageRangesWithResponse(BlobRange blobRange, BlobRequ requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), requestConditions.getIfMatch(), requestConditions.getIfNoneMatch(), requestConditions.getTagsConditions(), null, null, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + context) .map(response -> new SimpleResponse<>(response.getRequest(), response.getStatusCode(), response.getHeaders(), response.getValue())); } @@ -1017,7 +1014,7 @@ private Mono> getPageRange requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), requestConditions.getIfMatch(), requestConditions.getIfNoneMatch(), requestConditions.getTagsConditions(), null, marker, options.getMaxResultsPerPage(), - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)), + context), timeout); } @@ -1275,7 +1272,7 @@ Mono> getPageRangesDiffWithResponse(BlobRange blobRange, Stri requestConditions.getLeaseId(), requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), requestConditions.getIfMatch(), requestConditions.getIfNoneMatch(), requestConditions.getTagsConditions(), null, null, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + context) .map(response -> new SimpleResponse<>(response.getRequest(), response.getStatusCode(), response.getHeaders(), response.getValue())); } @@ -1339,7 +1336,7 @@ private Mono> getPageR requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), requestConditions.getIfMatch(), requestConditions.getIfNoneMatch(), requestConditions.getTagsConditions(), null, marker, options.getMaxResultsPerPage(), - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)), + context), timeout); } @@ -1414,7 +1411,7 @@ Mono> resizeWithResponse(long size, BlobRequestConditions requestConditions.getIfUnmodifiedSince(), requestConditions.getIfMatch(), requestConditions.getIfNoneMatch(), requestConditions.getTagsConditions(), null, getCustomerProvidedKey(), encryptionScope, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + context) .map(rb -> { PageBlobsResizeHeaders hd = rb.getDeserializedHeaders(); PageBlobItem item = new PageBlobItem(hd.getETag(), hd.getLastModified(), null, null, null, null, @@ -1500,7 +1497,7 @@ Mono> updateSequenceNumberWithResponse(SequenceNumberActi requestConditions.getLeaseId(), requestConditions.getIfModifiedSince(), requestConditions.getIfUnmodifiedSince(), requestConditions.getIfMatch(), requestConditions.getIfNoneMatch(), requestConditions.getTagsConditions(), sequenceNumber, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + context) .map(rb -> { PageBlobsUpdateSequenceNumberHeaders hd = rb.getDeserializedHeaders(); PageBlobItem item = new PageBlobItem(hd.getETag(), hd.getLastModified(), null, null, null, null, @@ -1692,7 +1689,7 @@ Mono> copyIncrementalWithResponse(PageBlobCopyIncrement builder.toString(), null, modifiedRequestConditions.getIfModifiedSince(), modifiedRequestConditions.getIfUnmodifiedSince(), modifiedRequestConditions.getIfMatch(), modifiedRequestConditions.getIfNoneMatch(), modifiedRequestConditions.getTagsConditions(), null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + context) .map(rb -> new SimpleResponse<>(rb, rb.getDeserializedHeaders().getXMsCopyStatus())); } } diff --git a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeFileAsyncClient.java b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeFileAsyncClient.java index 72281da82783..907310b3e788 100644 --- a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeFileAsyncClient.java +++ b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeFileAsyncClient.java @@ -77,8 +77,6 @@ import static com.azure.core.util.FluxUtil.fluxError; import static com.azure.core.util.FluxUtil.monoError; import static com.azure.core.util.FluxUtil.withContext; -import static com.azure.core.util.tracing.Tracer.AZ_TRACING_NAMESPACE_KEY; -import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; /** @@ -1365,7 +1363,7 @@ Mono> flushWithResponse(long position, DataLakeFileFlushOptio return this.dataLakeStorage.getPaths().flushDataWithResponseAsync(null, position, flushOptions.isUncommittedDataRetained(), flushOptions.isClose(), (long) 0, flushOptions.getLeaseAction(), leaseDuration, flushOptions.getProposedLeaseId(), - null, httpHeaders, lac, mac, getCpkInfo(), context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + null, httpHeaders, lac, mac, getCpkInfo(), context) .map(response -> new SimpleResponse<>(response, new PathInfo(response.getDeserializedHeaders().getETag(), response.getDeserializedHeaders().getLastModified(), response.getDeserializedHeaders().isXMsRequestServerEncrypted() != null, @@ -1774,8 +1772,7 @@ Mono> scheduleDeletionWithResponse(FileScheduleDeletionOptions op } return this.blobDataLakeStorage.getPaths().setExpiryWithResponseAsync( pathExpiryOptions, null, - null, expiresOn, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + null, expiresOn, context) .map(rb -> new SimpleResponse<>(rb, null)); } diff --git a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeFileSystemAsyncClient.java b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeFileSystemAsyncClient.java index 07aa738a1890..be8ed6f92d20 100644 --- a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeFileSystemAsyncClient.java +++ b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeFileSystemAsyncClient.java @@ -69,8 +69,6 @@ import static com.azure.core.util.FluxUtil.monoError; import static com.azure.core.util.FluxUtil.pagedFluxError; import static com.azure.core.util.FluxUtil.withContext; -import static com.azure.core.util.tracing.Tracer.AZ_TRACING_NAMESPACE_KEY; -import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; /** * Client to a file system. It may only be instantiated through a {@link DataLakeFileSystemClientBuilder} or via the @@ -865,8 +863,7 @@ private Mono> listDeletedPaths(String marker, Int return StorageImplUtils.applyOptionalTimeout( this.blobDataLakeStorageFs.getFileSystems().listBlobHierarchySegmentWithResponseAsync( prefix, null, marker, maxResults, - null, ListBlobsShowOnly.DELETED, null, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)), timeout); + null, ListBlobsShowOnly.DELETED, null, null, context), timeout); } /** @@ -1666,8 +1663,7 @@ Mono> undeletePathWithResponse(String deletedP // Initial rest call return blobDataLakeStoragePath.getPaths().undeleteWithResponseAsync(null, - String.format("?%s=%s", Constants.UrlConstants.DELETIONID_QUERY_PARAMETER, deletionId), null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + String.format("?%s=%s", Constants.UrlConstants.DELETIONID_QUERY_PARAMETER, deletionId), null, context) .onErrorMap(DataLakeImplUtils::transformBlobStorageException) // Construct the new client and final response from the undelete + getProperties responses .map(response -> { diff --git a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakePathAsyncClient.java b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakePathAsyncClient.java index b9122f94f0b3..dcf7c9d586bc 100644 --- a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakePathAsyncClient.java +++ b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakePathAsyncClient.java @@ -80,8 +80,6 @@ import static com.azure.core.util.FluxUtil.monoError; import static com.azure.core.util.FluxUtil.withContext; -import static com.azure.core.util.tracing.Tracer.AZ_TRACING_NAMESPACE_KEY; -import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; /** * This class provides a client that contains all operations that apply to any path object. @@ -489,7 +487,7 @@ Mono> createWithResponse(DataLakePathCreateOptions options, C options.getSourceLeaseId(), buildMetadataString(options.getMetadata()), options.getPermissions(), options.getUmask(), options.getOwner(), options.getGroup(), acl, options.getProposedLeaseId(), leaseDuration, expiryOptions, expiresOnString, options.getEncryptionContext(), options.getPathHttpHeaders(), - lac, mac, null, customerProvidedKey, context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + lac, mac, null, customerProvidedKey, context) .map(response -> new SimpleResponse<>(response, new PathInfo(response.getDeserializedHeaders().getETag(), response.getDeserializedHeaders().getLastModified(), response.getDeserializedHeaders().isXMsRequestServerEncrypted() != null, @@ -633,8 +631,7 @@ Mono> deleteWithResponse(Boolean recursive, DataLakeRequestCondit .setIfUnmodifiedSince(requestConditions.getIfUnmodifiedSince()); context = context == null ? Context.NONE : context; - return this.dataLakeStorage.getPaths().deleteWithResponseAsync(null, null, recursive, null, lac, mac, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + return this.dataLakeStorage.getPaths().deleteWithResponseAsync(null, null, recursive, null, lac, mac, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -1095,8 +1092,7 @@ Mono> setAccessControlWithResponse(List new SimpleResponse<>(response, new PathInfo(response.getDeserializedHeaders().getETag(), response.getDeserializedHeaders().getLastModified()))); } @@ -1381,7 +1377,7 @@ Mono> setAccessControlRecursiveWithResponse( StorageImplUtils.assertNotNull("accessControlList", accessControlList); context = context == null ? Context.NONE : context; - Context contextFinal = context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE); + Context contextFinal = context; AtomicInteger directoriesSuccessfulCount = new AtomicInteger(0); AtomicInteger filesSuccessfulCount = new AtomicInteger(0); @@ -1590,8 +1586,7 @@ Mono> getAccessControlWithResponse(boolean userPrinc context = context == null ? Context.NONE : context; return this.dataLakeStorage.getPaths().getPropertiesWithResponseAsync(null, null, - PathGetPropertiesAction.GET_ACCESS_CONTROL, userPrincipalNameReturned, lac, mac, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + PathGetPropertiesAction.GET_ACCESS_CONTROL, userPrincipalNameReturned, lac, mac, context) .map(response -> new SimpleResponse<>(response, new PathAccessControl( PathAccessControlEntry.parseList(response.getDeserializedHeaders().getXMsAcl()), PathPermissions.parseSymbolic(response.getDeserializedHeaders().getXMsPermissions()), @@ -1647,7 +1642,7 @@ Mono> renameWithResponse(String destinationFil null /* group */, null /* acl */, null /* proposedLeaseId */, null /* leaseDuration */, null /* expiryOptions */, null /* expiresOn */, null /* encryptionContext */, null /* pathHttpHeaders */, destLac, destMac, sourceConditions, null /* cpkInfo */, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + context) .map(response -> new SimpleResponse<>(response, dataLakePathAsyncClient)); } diff --git a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/implementation/util/BuilderHelper.java b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/implementation/util/BuilderHelper.java index 3a89f798bde1..985d74e1e329 100644 --- a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/implementation/util/BuilderHelper.java +++ b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/implementation/util/BuilderHelper.java @@ -23,7 +23,10 @@ import com.azure.core.util.ClientOptions; import com.azure.core.util.Configuration; import com.azure.core.util.CoreUtils; +import com.azure.core.util.TracingOptions; import com.azure.core.util.logging.ClientLogger; +import com.azure.core.util.tracing.Tracer; +import com.azure.core.util.tracing.TracerProvider; import com.azure.storage.blob.BlobUrlParts; import com.azure.storage.blob.implementation.util.BlobUserAgentModificationPolicy; import com.azure.storage.blob.implementation.util.ModelHelper; @@ -42,6 +45,8 @@ import java.util.List; import java.util.Map; +import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; + /** * This class provides helper methods for common builder patterns. *

@@ -136,6 +141,7 @@ public static HttpPipeline buildPipeline( .policies(policies.toArray(new HttpPipelinePolicy[0])) .httpClient(httpClient) .clientOptions(clientOptions) + .tracer(createTracer(clientOptions)) .build(); } @@ -216,4 +222,10 @@ public static void httpsValidation(Object objectToCheck, String objectName, Stri "Using a(n) " + objectName + " requires https")); } } + + private static Tracer createTracer(ClientOptions clientOptions) { + TracingOptions tracingOptions = clientOptions == null ? null : clientOptions.getTracingOptions(); + return TracerProvider.getDefaultProvider() + .createTracer(CLIENT_NAME, CLIENT_VERSION, STORAGE_TRACING_NAMESPACE_VALUE, tracingOptions); + } } diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareAsyncClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareAsyncClient.java index f006fda77f4c..073e035b37b8 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareAsyncClient.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareAsyncClient.java @@ -61,8 +61,6 @@ import static com.azure.core.util.FluxUtil.monoError; import static com.azure.core.util.FluxUtil.pagedFluxError; import static com.azure.core.util.FluxUtil.withContext; -import static com.azure.core.util.tracing.Tracer.AZ_TRACING_NAMESPACE_KEY; -import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; /** * This class provides a azureFileStorageClient that contains all the operations for interacting with a share in Azure @@ -377,8 +375,7 @@ Mono> createWithResponse(ShareCreateOptions options, Context enabledProtocol = "".equals(enabledProtocol) ? null : enabledProtocol; return azureFileStorageClient.getShares() .createWithResponseAsync(shareName, null, options.getMetadata(), options.getQuotaInGb(), - options.getAccessTier(), enabledProtocol, options.getRootSquash(), - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + options.getAccessTier(), enabledProtocol, options.getRootSquash(), context) .map(this::mapToShareInfoResponse); } @@ -527,8 +524,7 @@ public Mono> createSnapshotWithResponse(Map> createSnapshotWithResponse(Map metadata, Context context) { context = context == null ? Context.NONE : context; - return azureFileStorageClient.getShares().createSnapshotWithResponseAsync(shareName, null, metadata, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + return azureFileStorageClient.getShares().createSnapshotWithResponseAsync(shareName, null, metadata, context) .map(this::mapCreateSnapshotResponse); } @@ -631,8 +627,7 @@ Mono> deleteWithResponse(ShareDeleteOptions options, Context cont return azureFileStorageClient.getShares() .deleteWithResponseAsync(shareName, snapshot, null, ModelHelper.toDeleteSnapshotsOptionType(options.getDeleteSnapshotsOptions()), - requestConditions.getLeaseId(), - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + requestConditions.getLeaseId(), context) .map(response -> new SimpleResponse<>(response, null)); } @@ -813,8 +808,7 @@ Mono> getPropertiesWithResponse(ShareGetPropertiesOpti ? new ShareRequestConditions() : options.getRequestConditions(); context = context == null ? Context.NONE : context; return azureFileStorageClient.getShares() - .getPropertiesWithResponseAsync(shareName, snapshot, null, requestConditions.getLeaseId(), - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + .getPropertiesWithResponseAsync(shareName, snapshot, null, requestConditions.getLeaseId(), context) .map(this::mapGetPropertiesResponse); } @@ -939,8 +933,7 @@ Mono> setPropertiesWithResponse(ShareSetPropertiesOptions op ? new ShareRequestConditions() : options.getRequestConditions(); context = context == null ? Context.NONE : context; return azureFileStorageClient.getShares().setPropertiesWithResponseAsync(shareName, null, - options.getQuotaInGb(), options.getAccessTier(), requestConditions.getLeaseId(), options.getRootSquash(), - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + options.getQuotaInGb(), options.getAccessTier(), requestConditions.getLeaseId(), options.getRootSquash(), context) .map(this::mapToShareInfoResponse); } @@ -1064,8 +1057,7 @@ Mono> setMetadataWithResponse(ShareSetMetadataOptions option ? new ShareRequestConditions() : options.getRequestConditions(); context = context == null ? Context.NONE : context; return azureFileStorageClient.getShares().setMetadataWithResponseAsync(shareName, null, - options.getMetadata(), requestConditions.getLeaseId(), - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + options.getMetadata(), requestConditions.getLeaseId(), context) .map(this::mapToShareInfoResponse); } @@ -1275,8 +1267,7 @@ OffsetDateTime.now will only give back milliseconds (more precise fields are zer context = context == null ? Context.NONE : context; return azureFileStorageClient.getShares() - .setAccessPolicyWithResponseAsync(shareName, null, requestConditions.getLeaseId(), permissions, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + .setAccessPolicyWithResponseAsync(shareName, null, requestConditions.getLeaseId(), permissions, context) .map(this::mapToShareInfoResponse); } @@ -1367,7 +1358,7 @@ Mono> getStatisticsWithResponse(ShareGetStatisticsOpti ? new ShareRequestConditions() : options.getRequestConditions(); context = context == null ? Context.NONE : context; return azureFileStorageClient.getShares().getStatisticsWithResponseAsync(shareName, null, - requestConditions.getLeaseId(), context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + requestConditions.getLeaseId(), context) .map(this::mapGetStatisticsResponse); } diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareDirectoryAsyncClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareDirectoryAsyncClient.java index 7664de7a8ff5..2973a42db0ec 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareDirectoryAsyncClient.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareDirectoryAsyncClient.java @@ -71,8 +71,6 @@ import static com.azure.core.util.FluxUtil.monoError; import static com.azure.core.util.FluxUtil.pagedFluxError; import static com.azure.core.util.FluxUtil.withContext; -import static com.azure.core.util.tracing.Tracer.AZ_TRACING_NAMESPACE_KEY; -import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; /** @@ -348,8 +346,7 @@ Mono> createWithResponse(FileSmbProperties smbPrope return azureFileStorageClient.getDirectories() .createWithResponseAsync(shareName, directoryPath, fileAttributes, null, metadata, filePermission, - filePermissionKey, fileCreationTime, fileLastWriteTime, fileChangeTime, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + filePermissionKey, fileCreationTime, fileLastWriteTime, fileChangeTime, context) .map(ShareDirectoryAsyncClient::createWithRestResponse); } @@ -502,8 +499,7 @@ public Mono> deleteWithResponse() { Mono> deleteWithResponse(Context context) { context = context == null ? Context.NONE : context; - return azureFileStorageClient.getDirectories().deleteWithResponseAsync(shareName, directoryPath, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + return azureFileStorageClient.getDirectories().deleteWithResponseAsync(shareName, directoryPath, null, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -642,8 +638,7 @@ public Mono> getPropertiesWithResponse() { Mono> getPropertiesWithResponse(Context context) { context = context == null ? Context.NONE : context; return azureFileStorageClient.getDirectories() - .getPropertiesWithResponseAsync(shareName, directoryPath, snapshot, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + .getPropertiesWithResponseAsync(shareName, directoryPath, snapshot, null, context) .map(ShareDirectoryAsyncClient::getPropertiesResponse); } @@ -730,8 +725,7 @@ Mono> setPropertiesWithResponse(FileSmbProperties s context = context == null ? Context.NONE : context; return azureFileStorageClient.getDirectories() .setPropertiesWithResponseAsync(shareName, directoryPath, fileAttributes, null, filePermission, - filePermissionKey, fileCreationTime, fileLastWriteTime, fileChangeTime, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + filePermissionKey, fileCreationTime, fileLastWriteTime, fileChangeTime, context) .map(ShareDirectoryAsyncClient::setPropertiesResponse); } @@ -821,8 +815,7 @@ Mono> setMetadataWithResponse(Map> renameWithResponse(ShareFileRenameOpti destinationDirectoryClient.getShareName(), destinationDirectoryClient.getDirectoryPath(), renameSource, null /* timeout */, options.getReplaceIfExists(), options.isIgnoreReadOnly(), options.getFilePermission(), filePermissionKey, options.getMetadata(), sourceConditions, - destinationConditions, smbInfo, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + destinationConditions, smbInfo, context) .map(response -> new SimpleResponse<>(response, destinationDirectoryClient)); } diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareFileAsyncClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareFileAsyncClient.java index 7e49bf47d57b..e02b2c2d24eb 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareFileAsyncClient.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareFileAsyncClient.java @@ -116,9 +116,6 @@ import static com.azure.core.util.FluxUtil.monoError; import static com.azure.core.util.FluxUtil.pagedFluxError; import static com.azure.core.util.FluxUtil.withContext; -import static com.azure.core.util.tracing.Tracer.AZ_TRACING_NAMESPACE_KEY; -import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; - /** * This class provides a client that contains all the operations for interacting with file in Azure Storage File @@ -1484,8 +1481,7 @@ Mono> getPropertiesWithResponse(ShareRequestCondit requestConditions = requestConditions == null ? new ShareRequestConditions() : requestConditions; context = context == null ? Context.NONE : context; return azureFileStorageClient.getFiles() - .getPropertiesWithResponseAsync(shareName, filePath, snapshot, null, requestConditions.getLeaseId(), - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + .getPropertiesWithResponseAsync(shareName, filePath, snapshot, null, requestConditions.getLeaseId(), context) .map(ShareFileAsyncClient::getPropertiesResponse); } @@ -1694,7 +1690,7 @@ Mono> setPropertiesWithResponse(long newFileSize, ShareF return azureFileStorageClient.getFiles() .setHttpHeadersWithResponseAsync(shareName, filePath, fileAttributes, null, newFileSize, filePermission, filePermissionKey, fileCreationTime, fileLastWriteTime, fileChangeTime, requestConditions.getLeaseId(), - httpHeaders, context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + httpHeaders, context) .map(ShareFileAsyncClient::setPropertiesResponse); } @@ -1829,8 +1825,7 @@ Mono> setMetadataWithResponse(Map> uploadRangeWithResponse(ShareFileUploadRange return azureFileStorageClient.getFiles() .uploadRangeWithResponseAsync(shareName, filePath, range.toString(), ShareFileRangeWriteType.UPDATE, - options.getLength(), null, null, requestConditions.getLeaseId(), options.getLastWrittenMode(), data, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + options.getLength(), null, null, requestConditions.getLeaseId(), options.getLastWrittenMode(), data, context) .map(ShareFileAsyncClient::uploadResponse); } @@ -2389,8 +2383,7 @@ Mono> uploadRangeFromUrlWithResponse( return azureFileStorageClient.getFiles() .uploadRangeFromURLWithResponseAsync(shareName, filePath, destinationRange.toString(), copySource, 0, null, sourceRange.toString(), null, modifiedRequestConditions.getLeaseId(), sourceAuth, - options.getLastWrittenMode(), null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + options.getLastWrittenMode(), null, context) .map(ShareFileAsyncClient::uploadRangeFromUrlResponse); } @@ -2501,8 +2494,7 @@ Mono> clearRangeWithResponse(long length, long off context = context == null ? Context.NONE : context; return azureFileStorageClient.getFiles() .uploadRangeWithResponseAsync(shareName, filePath, range.toString(), ShareFileRangeWriteType.CLEAR, - 0L, null, null, requestConditions.getLeaseId(), null, (Flux) null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + 0L, null, null, requestConditions.getLeaseId(), null, (Flux) null, context) .map(ShareFileAsyncClient::uploadResponse); } @@ -2776,8 +2768,7 @@ Mono> listRangesWithResponse(ShareFileRange range, context = context == null ? Context.NONE : context; return this.azureFileStorageClient.getFiles().getRangeListWithResponseAsync(shareName, filePath, snapshot, - previousSnapshot, null, rangeString, finalRequestConditions.getLeaseId(), - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + previousSnapshot, null, rangeString, finalRequestConditions.getLeaseId(), context) .map(response -> new SimpleResponse<>(response, response.getValue())); } @@ -2911,8 +2902,7 @@ public Mono> forceCloseHandleWithResponse(String hand Mono> forceCloseHandleWithResponse(String handleId, Context context) { context = context == null ? Context.NONE : context; return azureFileStorageClient.getFiles() - .forceCloseHandlesWithResponseAsync(shareName, filePath, handleId, null, null, snapshot, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + .forceCloseHandlesWithResponseAsync(shareName, filePath, handleId, null, null, snapshot, context) .map(response -> new SimpleResponse<>(response, new CloseHandlesInfo(response.getDeserializedHeaders().getXMsNumberOfHandlesClosed(), response.getDeserializedHeaders().getXMsNumberOfHandlesFailed()))); @@ -3082,8 +3072,7 @@ Mono> renameWithResponse(ShareFileRenameOptions o destinationFileClient.getShareName(), destinationFileClient.getFilePath(), renameSource, null /* timeout */, options.getReplaceIfExists(), options.isIgnoreReadOnly(), options.getFilePermission(), filePermissionKey, options.getMetadata(), sourceConditions, - destinationConditions, smbInfo, headers, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + destinationConditions, smbInfo, headers, context) .map(response -> new SimpleResponse<>(response, destinationFileClient)); } diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceAsyncClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceAsyncClient.java index df420fc1b84d..387aa6f96e2d 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceAsyncClient.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceAsyncClient.java @@ -45,8 +45,6 @@ import static com.azure.core.util.FluxUtil.monoError; import static com.azure.core.util.FluxUtil.pagedFluxError; import static com.azure.core.util.FluxUtil.withContext; -import static com.azure.core.util.tracing.Tracer.AZ_TRACING_NAMESPACE_KEY; -import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; /** @@ -335,8 +333,7 @@ public Mono> getPropertiesWithResponse() { Mono> getPropertiesWithResponse(Context context) { context = context == null ? Context.NONE : context; - return azureFileStorageClient.getServices().getPropertiesWithResponseAsync(null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + return azureFileStorageClient.getServices().getPropertiesWithResponseAsync(null, context) .map(response -> new SimpleResponse<>(response, response.getValue())); } @@ -457,8 +454,7 @@ public Mono> setPropertiesWithResponse(ShareServiceProperties pro Mono> setPropertiesWithResponse(ShareServiceProperties properties, Context context) { context = context == null ? Context.NONE : context; - return azureFileStorageClient.getServices().setPropertiesWithResponseAsync(properties, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + return azureFileStorageClient.getServices().setPropertiesWithResponseAsync(properties, null, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -657,8 +653,7 @@ Mono> deleteShareWithResponse(String shareName, String snapshot, } context = context == null ? Context.NONE : context; return azureFileStorageClient.getShares() - .deleteWithResponseAsync(shareName, snapshot, null, deleteSnapshots, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + .deleteWithResponseAsync(shareName, snapshot, null, deleteSnapshots, null, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -838,8 +833,7 @@ public Mono> undeleteShareWithResponse(String deleted Mono> undeleteShareWithResponse( String deletedShareName, String deletedShareVersion, Context context) { return this.azureFileStorageClient.getShares().restoreWithResponseAsync( - deletedShareName, null, null, deletedShareName, deletedShareVersion, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + deletedShareName, null, null, deletedShareName, deletedShareVersion, context) .map(response -> new SimpleResponse<>(response, getShareAsyncClient(deletedShareName))); } } diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/util/BuilderHelper.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/util/BuilderHelper.java index 36c8e27ae96e..c74e46b060ef 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/util/BuilderHelper.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/util/BuilderHelper.java @@ -23,7 +23,10 @@ import com.azure.core.util.ClientOptions; import com.azure.core.util.Configuration; import com.azure.core.util.CoreUtils; +import com.azure.core.util.TracingOptions; import com.azure.core.util.logging.ClientLogger; +import com.azure.core.util.tracing.Tracer; +import com.azure.core.util.tracing.TracerProvider; import com.azure.storage.common.StorageSharedKeyCredential; import com.azure.storage.common.implementation.BuilderUtils; import com.azure.storage.common.implementation.Constants; @@ -44,6 +47,8 @@ import java.util.Objects; import java.util.regex.Pattern; +import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; + /** * This class provides helper methods for common builder patterns. */ @@ -139,6 +144,7 @@ public static HttpPipeline buildPipeline(StorageSharedKeyCredential storageShare .policies(policies.toArray(new HttpPipelinePolicy[0])) .httpClient(httpClient) .clientOptions(clientOptions) + .tracer(createTracer(clientOptions)) .build(); } @@ -418,4 +424,9 @@ public ShareUrlParts setSasToken(String sasToken) { } } + private static Tracer createTracer(ClientOptions clientOptions) { + TracingOptions tracingOptions = clientOptions == null ? null : clientOptions.getTracingOptions(); + return TracerProvider.getDefaultProvider() + .createTracer(CLIENT_NAME, CLIENT_VERSION, STORAGE_TRACING_NAMESPACE_VALUE, tracingOptions); + } } diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/specialized/ShareLeaseAsyncClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/specialized/ShareLeaseAsyncClient.java index 2e99678c6f62..7a10925a4ec6 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/specialized/ShareLeaseAsyncClient.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/specialized/ShareLeaseAsyncClient.java @@ -24,8 +24,6 @@ import static com.azure.core.util.FluxUtil.monoError; import static com.azure.core.util.FluxUtil.withContext; -import static com.azure.core.util.tracing.Tracer.AZ_TRACING_NAMESPACE_KEY; -import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; /** * This class provides a client that contains all the leasing operations for {@link ShareFileAsyncClient files}. @@ -184,13 +182,11 @@ Mono> acquireLeaseWithResponse(ShareAcquireLeaseOptions options Mono> response; if (this.isShareFile) { response = this.client.getFiles().acquireLeaseWithResponseAsync(shareName, resourcePath, null, - options.getDuration(), this.leaseId, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + options.getDuration(), this.leaseId, null, context) .map(rb -> new SimpleResponse<>(rb, rb.getDeserializedHeaders().getXMsLeaseId())); } else { response = this.client.getShares().acquireLeaseWithResponseAsync(shareName, null, - options.getDuration(), this.leaseId, shareSnapshot, - null, context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + options.getDuration(), this.leaseId, shareSnapshot, null, context) .map(rb -> new SimpleResponse<>(rb, rb.getDeserializedHeaders().getXMsLeaseId())); } @@ -243,11 +239,11 @@ Mono> releaseLeaseWithResponse(Context context) { context = context == null ? Context.NONE : context; if (this.isShareFile) { return this.client.getFiles().releaseLeaseWithResponseAsync(shareName, resourcePath, this.leaseId, - null, null, context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + null, null, context) .map(response -> new SimpleResponse<>(response, null)); } else { return this.client.getShares().releaseLeaseWithResponseAsync(shareName, this.leaseId, null, - shareSnapshot, null, context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + shareSnapshot, null, context) .map(response -> new SimpleResponse<>(response, null)); } } @@ -324,13 +320,11 @@ Mono> breakLeaseWithResponse(ShareBreakLeaseOptions options, Cont Integer breakPeriod = options.getBreakPeriod() == null ? null : Math.toIntExact(options.getBreakPeriod().getSeconds()); if (this.isShareFile) { - return this.client.getFiles().breakLeaseWithResponseAsync(shareName, resourcePath, null, null, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + return this.client.getFiles().breakLeaseWithResponseAsync(shareName, resourcePath, null, null, null, context) .map(rb -> new SimpleResponse<>(rb, null)); } else { return this.client.getShares().breakLeaseWithResponseAsync(shareName, null, breakPeriod, - null, null, shareSnapshot, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + null, null, shareSnapshot, context) .map(rb -> new SimpleResponse<>(rb, null)); } } @@ -384,11 +378,11 @@ Mono> changeLeaseWithResponse(String proposedId, Context contex Mono> response; if (this.isShareFile) { response = this.client.getFiles().changeLeaseWithResponseAsync(shareName, resourcePath, this.leaseId, null, proposedId, - null, context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + null, context) .map(rb -> new SimpleResponse<>(rb, rb.getDeserializedHeaders().getXMsLeaseId())); } else { response = this.client.getShares().changeLeaseWithResponseAsync(shareName, this.leaseId, null, proposedId, shareSnapshot, - null, context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + null, context) .map(rb -> new SimpleResponse<>(rb, rb.getDeserializedHeaders().getXMsLeaseId())); } @@ -446,7 +440,7 @@ Mono> renewLeaseWithResponse(Context context) { "Cannot renew a lease on a share file.")); } else { response = this.client.getShares().renewLeaseWithResponseAsync(shareName, this.leaseId, null, - shareSnapshot, null, context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + shareSnapshot, null, context) .map(rb -> new SimpleResponse<>(rb, rb.getDeserializedHeaders().getXMsLeaseId())); } diff --git a/sdk/storage/azure-storage-queue/src/main/java/com/azure/storage/queue/QueueAsyncClient.java b/sdk/storage/azure-storage-queue/src/main/java/com/azure/storage/queue/QueueAsyncClient.java index 116c12de0b1b..cce444cb5e4b 100644 --- a/sdk/storage/azure-storage-queue/src/main/java/com/azure/storage/queue/QueueAsyncClient.java +++ b/sdk/storage/azure-storage-queue/src/main/java/com/azure/storage/queue/QueueAsyncClient.java @@ -58,8 +58,6 @@ import static com.azure.core.util.FluxUtil.monoError; import static com.azure.core.util.FluxUtil.pagedFluxError; import static com.azure.core.util.FluxUtil.withContext; -import static com.azure.core.util.tracing.Tracer.AZ_TRACING_NAMESPACE_KEY; -import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; /** @@ -216,8 +214,7 @@ public Mono> createWithResponse(Map metadata) { Mono> createWithResponse(Map metadata, Context context) { context = context == null ? Context.NONE : context; - return client.getQueues().createWithResponseAsync(queueName, null, metadata, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + return client.getQueues().createWithResponseAsync(queueName, null, metadata, null, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -361,8 +358,7 @@ public Mono> deleteWithResponse() { Mono> deleteWithResponse(Context context) { context = context == null ? Context.NONE : context; - return client.getQueues().deleteWithResponseAsync(queueName, null, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + return client.getQueues().deleteWithResponseAsync(queueName, null, null, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -507,8 +503,7 @@ public Mono> getPropertiesWithResponse() { Mono> getPropertiesWithResponse(Context context) { context = context == null ? Context.NONE : context; - return client.getQueues().getPropertiesWithResponseAsync(queueName, null, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + return client.getQueues().getPropertiesWithResponseAsync(queueName, null, null, context) .map(this::getQueuePropertiesResponse); } @@ -595,8 +590,7 @@ public Mono> setMetadataWithResponse(Map metadata Mono> setMetadataWithResponse(Map metadata, Context context) { context = context == null ? Context.NONE : context; return client.getQueues() - .setMetadataWithResponseAsync(queueName, null, metadata, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + .setMetadataWithResponseAsync(queueName, null, metadata, null, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -734,8 +728,7 @@ OffsetDateTime.now will only give back milliseconds (more precise fields are zer .collect(Collectors.toList()); return client.getQueues() - .setAccessPolicyWithResponseAsync(queueName, null, null, permissionsList, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + .setAccessPolicyWithResponseAsync(queueName, null, null, permissionsList, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -796,8 +789,7 @@ public Mono> clearMessagesWithResponse() { Mono> clearMessagesWithResponse(Context context) { context = context == null ? Context.NONE : context; - return client.getMessages().clearWithResponseAsync(queueName, null, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + return client.getMessages().clearWithResponseAsync(queueName, null, null, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -983,8 +975,7 @@ Mono> sendMessageWithResponse(BinaryData message, Du Duration timeToLive, Context context) { Integer visibilityTimeoutInSeconds = (visibilityTimeout == null) ? null : (int) visibilityTimeout.getSeconds(); Integer timeToLiveInSeconds = (timeToLive == null) ? null : (int) timeToLive.getSeconds(); - context = context == null ? Context.NONE : context; - Context finalContext = context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE); + Context finalContext = context == null ? Context.NONE : context; return encodeMessage(message) .flatMap(messageText -> { QueueMessage queueMessage = new QueueMessage().setMessageText(messageText); @@ -1458,8 +1449,7 @@ Mono> updateMessageWithResponse(String messageId, context = context == null ? Context.NONE : context; visibilityTimeout = visibilityTimeout == null ? Duration.ZERO : visibilityTimeout; return client.getMessageIds().updateWithResponseAsync(queueName, messageId, popReceipt, - (int) visibilityTimeout.getSeconds(), null, null, message, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + (int) visibilityTimeout.getSeconds(), null, null, message, context) .map(this::getUpdatedMessageResponse); } @@ -1546,8 +1536,7 @@ public Mono> deleteMessageWithResponse(String messageId, String p Mono> deleteMessageWithResponse(String messageId, String popReceipt, Context context) { context = context == null ? Context.NONE : context; - return client.getMessageIds().deleteWithResponseAsync(queueName, messageId, popReceipt, null, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + return client.getMessageIds().deleteWithResponseAsync(queueName, messageId, popReceipt, null, null, context) .map(response -> new SimpleResponse<>(response, null)); } diff --git a/sdk/storage/azure-storage-queue/src/main/java/com/azure/storage/queue/QueueServiceAsyncClient.java b/sdk/storage/azure-storage-queue/src/main/java/com/azure/storage/queue/QueueServiceAsyncClient.java index c0a716ca9452..34c9ad3fc908 100644 --- a/sdk/storage/azure-storage-queue/src/main/java/com/azure/storage/queue/QueueServiceAsyncClient.java +++ b/sdk/storage/azure-storage-queue/src/main/java/com/azure/storage/queue/QueueServiceAsyncClient.java @@ -40,9 +40,6 @@ import static com.azure.core.util.FluxUtil.monoError; import static com.azure.core.util.FluxUtil.pagedFluxError; import static com.azure.core.util.FluxUtil.withContext; -import static com.azure.core.util.tracing.Tracer.AZ_TRACING_NAMESPACE_KEY; -import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; - /** * This class provides a client that contains all the operations for interacting with a queue account in Azure Storage. @@ -427,8 +424,7 @@ public Mono> getPropertiesWithResponse() { Mono> getPropertiesWithResponse(Context context) { context = context == null ? Context.NONE : context; - return client.getServices().getPropertiesWithResponseAsync(null, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + return client.getServices().getPropertiesWithResponseAsync(null, null, context) .map(response -> new SimpleResponse<>(response, response.getValue())); } @@ -552,8 +548,7 @@ public Mono> setPropertiesWithResponse(QueueServiceProperties pro Mono> setPropertiesWithResponse(QueueServiceProperties properties, Context context) { context = context == null ? Context.NONE : context; - return client.getServices().setPropertiesWithResponseAsync(properties, null, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + return client.getServices().setPropertiesWithResponseAsync(properties, null, null, context) .map(response -> new SimpleResponse<>(response, null)); } @@ -618,8 +613,7 @@ public Mono> getStatisticsWithResponse() { Mono> getStatisticsWithResponse(Context context) { context = context == null ? Context.NONE : context; - return client.getServices().getStatisticsWithResponseAsync(null, null, - context.addData(AZ_TRACING_NAMESPACE_KEY, STORAGE_TRACING_NAMESPACE_VALUE)) + return client.getServices().getStatisticsWithResponseAsync(null, null, context) .map(response -> new SimpleResponse<>(response, response.getValue())); } diff --git a/sdk/storage/azure-storage-queue/src/main/java/com/azure/storage/queue/implementation/util/BuilderHelper.java b/sdk/storage/azure-storage-queue/src/main/java/com/azure/storage/queue/implementation/util/BuilderHelper.java index 3547076a60e4..1488075d60d2 100644 --- a/sdk/storage/azure-storage-queue/src/main/java/com/azure/storage/queue/implementation/util/BuilderHelper.java +++ b/sdk/storage/azure-storage-queue/src/main/java/com/azure/storage/queue/implementation/util/BuilderHelper.java @@ -23,7 +23,10 @@ import com.azure.core.util.ClientOptions; import com.azure.core.util.Configuration; import com.azure.core.util.CoreUtils; +import com.azure.core.util.TracingOptions; import com.azure.core.util.logging.ClientLogger; +import com.azure.core.util.tracing.Tracer; +import com.azure.core.util.tracing.TracerProvider; import com.azure.storage.common.StorageSharedKeyCredential; import com.azure.storage.common.implementation.BuilderUtils; import com.azure.storage.common.implementation.Constants; @@ -43,6 +46,8 @@ import java.util.Map; import java.util.Objects; +import static com.azure.storage.common.Utility.STORAGE_TRACING_NAMESPACE_VALUE; + /** * This class provides helper methods for common builder patterns. */ @@ -217,6 +222,7 @@ public static HttpPipeline buildPipeline( .policies(policies.toArray(new HttpPipelinePolicy[0])) .httpClient(httpClient) .clientOptions(clientOptions) + .tracer(createTracer(clientOptions)) .build(); } @@ -274,6 +280,11 @@ public static void httpsValidation(Object objectToCheck, String objectName, Stri } } + private static Tracer createTracer(ClientOptions clientOptions) { + TracingOptions tracingOptions = clientOptions == null ? null : clientOptions.getTracingOptions(); + return TracerProvider.getDefaultProvider() + .createTracer(CLIENT_NAME, CLIENT_VERSION, STORAGE_TRACING_NAMESPACE_VALUE, tracingOptions); + } public static class QueueUrlParts { private String scheme; From 7c71625811cda371e27b7bf2f32dd71689df000b Mon Sep 17 00:00:00 2001 From: Jiri Burant <83883278+jiriburant@users.noreply.github.com> Date: Thu, 23 Mar 2023 18:04:44 +0100 Subject: [PATCH 25/35] Fixing sip routing async tests. (#34179) --- .../siprouting/SipRoutingAsyncClient.java | 13 +++++-------- .../SipRoutingAsyncClientIntegrationTest.java | 7 ++++--- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/sdk/communication/azure-communication-phonenumbers/src/main/java/com/azure/communication/phonenumbers/siprouting/SipRoutingAsyncClient.java b/sdk/communication/azure-communication-phonenumbers/src/main/java/com/azure/communication/phonenumbers/siprouting/SipRoutingAsyncClient.java index c9842df96309..aeccd88ce7ec 100644 --- a/sdk/communication/azure-communication-phonenumbers/src/main/java/com/azure/communication/phonenumbers/siprouting/SipRoutingAsyncClient.java +++ b/sdk/communication/azure-communication-phonenumbers/src/main/java/com/azure/communication/phonenumbers/siprouting/SipRoutingAsyncClient.java @@ -112,9 +112,9 @@ public Mono> getTrunkWithResponse(String fqdn) { * * *

-     * sipRoutingAsyncClient.listTrunks()
-     *     .subscribe(trunk ->
-     *         System.out.println("Trunk " + trunk.getFqdn() + ":" + trunk.getSipSignalingPort()));
+     * sipRoutingAsyncClient.listTrunks().streamByPage().forEach(resp -> {
+            resp.getElements().forEach(value -> System.out.println(value.getFqdn()))
+     * });
      * 
* * @@ -144,11 +144,8 @@ private Mono> getOnePageTrunks() { * * *
-     * sipRoutingAsyncClient.listRoutes().subscribe(route -> {
-     *     System.out.println("Route name: " + route.getName());
-     *     System.out.println("Route description: " + route.getDescription());
-     *     System.out.println("Route number pattern: " + route.getNumberPattern());
-     *     System.out.println("Route trunks: " + String.join(",", route.getTrunks()));
+     * sipRoutingAsyncClient.listRoutes().streamByPage().forEach(resp -> {
+            resp.getElements().forEach(value -> System.out.println(value.getName()))
      * });
      * 
* diff --git a/sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/siprouting/SipRoutingAsyncClientIntegrationTest.java b/sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/siprouting/SipRoutingAsyncClientIntegrationTest.java index b9e1ffbe8777..f392c69dd3e2 100644 --- a/sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/siprouting/SipRoutingAsyncClientIntegrationTest.java +++ b/sdk/communication/azure-communication-phonenumbers/src/test/java/com/azure/communication/phonenumbers/siprouting/SipRoutingAsyncClientIntegrationTest.java @@ -833,11 +833,12 @@ private SipRoutingAsyncClient getClientWithManagedIdentity(HttpClient httpClient return addLoggingPolicy(builder, testName).buildAsyncClient(); } - private List getAsList(PagedFlux listIterable) { + private List getAsList(PagedFlux flux) { List list = new ArrayList(); - listIterable - .subscribe(item -> list.add(item)); + flux.toIterable().forEach(item -> { + list.add(item); + }); return list; } From 55f695e378cd507847a43f210f216da67ce2c315 Mon Sep 17 00:00:00 2001 From: Rabab Ibrahim Date: Thu, 23 Mar 2023 14:28:40 -0700 Subject: [PATCH 26/35] Supporting encrypted upload for EncryptedBlobClient.upload(InputStream) with no length specified (#34040) --- .../EncryptedBlobAsyncClient.java | 12 +- .../EncyptedBlockBlobAPITest.groovy | 31 ++++ ...BlobAPITestEncryptionUploadISNoLength.json | 148 ++++++++++++++++++ ...EncryptionUploadISNoLengthWithOptions.json | 148 ++++++++++++++++++ .../azure/storage/blob/BlobAsyncClient.java | 17 +- .../common/implementation/UploadUtils.java | 28 ++++ .../datalake/DataLakeFileAsyncClient.java | 16 +- .../file/share/ShareFileAsyncClient.java | 16 +- 8 files changed, 369 insertions(+), 47 deletions(-) create mode 100644 sdk/storage/azure-storage-blob-cryptography/src/test/resources/session-records/EncyptedBlockBlobAPITestEncryptionUploadISNoLength.json create mode 100644 sdk/storage/azure-storage-blob-cryptography/src/test/resources/session-records/EncyptedBlockBlobAPITestEncryptionUploadISNoLengthWithOptions.json diff --git a/sdk/storage/azure-storage-blob-cryptography/src/main/java/com/azure/storage/blob/specialized/cryptography/EncryptedBlobAsyncClient.java b/sdk/storage/azure-storage-blob-cryptography/src/main/java/com/azure/storage/blob/specialized/cryptography/EncryptedBlobAsyncClient.java index 0810f6079527..8cb7b625a61d 100644 --- a/sdk/storage/azure-storage-blob-cryptography/src/main/java/com/azure/storage/blob/specialized/cryptography/EncryptedBlobAsyncClient.java +++ b/sdk/storage/azure-storage-blob-cryptography/src/main/java/com/azure/storage/blob/specialized/cryptography/EncryptedBlobAsyncClient.java @@ -34,7 +34,6 @@ import com.azure.storage.blob.options.BlobQueryOptions; import com.azure.storage.blob.options.BlobUploadFromFileOptions; import com.azure.storage.blob.specialized.BlockBlobAsyncClient; -import com.azure.storage.common.Utility; import com.azure.storage.common.implementation.Constants; import com.azure.storage.common.implementation.StorageImplUtils; import com.azure.storage.common.implementation.UploadUtils; @@ -418,9 +417,14 @@ public Mono> uploadWithResponse(BlobParallelUploadOption // Can't use a Collections.emptyMap() because we add metadata for encryption. final Map metadataFinal = options.getMetadata() == null ? new HashMap<>() : options.getMetadata(); - Flux data = options.getDataFlux() == null ? Utility.convertStreamToByteBuffer( - options.getDataStream(), options.getLength(), BLOB_DEFAULT_UPLOAD_BLOCK_SIZE, false) - : options.getDataFlux(); + + final ParallelTransferOptions parallelTransferOptions = + ModelHelper.populateAndApplyDefaults(options.getParallelTransferOptions()); + + Flux data = options.getDataFlux(); + data = UploadUtils.extractByteBuffer(data, options.getOptionalLength(), + parallelTransferOptions.getBlockSizeLong(), options.getDataStream()); + Flux dataFinal = prepareToSendEncryptedRequest(data, metadataFinal); return super.uploadWithResponse(new BlobParallelUploadOptions(dataFinal) .setParallelTransferOptions(options.getParallelTransferOptions()).setHeaders(options.getHeaders()) diff --git a/sdk/storage/azure-storage-blob-cryptography/src/test/java/com/azure/storage/blob/specialized/cryptography/EncyptedBlockBlobAPITest.groovy b/sdk/storage/azure-storage-blob-cryptography/src/test/java/com/azure/storage/blob/specialized/cryptography/EncyptedBlockBlobAPITest.groovy index 7175c2dc2b1c..d09b20ac87a8 100644 --- a/sdk/storage/azure-storage-blob-cryptography/src/test/java/com/azure/storage/blob/specialized/cryptography/EncyptedBlockBlobAPITest.groovy +++ b/sdk/storage/azure-storage-blob-cryptography/src/test/java/com/azure/storage/blob/specialized/cryptography/EncyptedBlockBlobAPITest.groovy @@ -10,6 +10,7 @@ import com.azure.core.http.HttpResponse import com.azure.core.http.policy.HttpPipelinePolicy import com.azure.core.test.TestMode import com.azure.core.util.BinaryData +import com.azure.core.util.Context import com.azure.core.util.ProgressListener import com.azure.identity.DefaultAzureCredentialBuilder import com.azure.storage.blob.BlobClientBuilder @@ -1919,6 +1920,36 @@ class EncyptedBlockBlobAPITest extends APISpec { 3 * Constants.MB | Constants.MB || 4 // Encryption padding will add an extra block } + def "Encryption upload IS no length"() { + setup: + def randomData = getRandomByteArray(Constants.KB) + def input = new ByteArrayInputStream(randomData) + + when: + ebc.upload(input) + + then: + def stream = new ByteArrayOutputStream() + ebc.downloadStream(stream) + stream.toByteArray() == randomData + } + + def "Encryption upload IS no length with options"() { + setup: + def randomData = getRandomByteArray(Constants.KB) + def payloadAsInputStream = new ByteArrayInputStream(randomData) + def os = new ByteArrayOutputStream() + def blobParallelUploadOptions = new BlobParallelUploadOptions(payloadAsInputStream) + + when: + ebc.uploadWithResponse(blobParallelUploadOptions, null, Context.NONE) + ebc.downloadStream(os) + + then: + notThrown(BlobStorageException) + os.toByteArray() == randomData + } + def getPerCallVersionPolicy() { return new HttpPipelinePolicy() { @Override diff --git a/sdk/storage/azure-storage-blob-cryptography/src/test/resources/session-records/EncyptedBlockBlobAPITestEncryptionUploadISNoLength.json b/sdk/storage/azure-storage-blob-cryptography/src/test/resources/session-records/EncyptedBlockBlobAPITestEncryptionUploadISNoLength.json new file mode 100644 index 000000000000..031f0206b5fb --- /dev/null +++ b/sdk/storage/azure-storage-blob-cryptography/src/test/resources/session-records/EncyptedBlockBlobAPITestEncryptionUploadISNoLength.json @@ -0,0 +1,148 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://REDACTED.blob.core.windows.net/cd65fa1c0cd65fa1cb5993931dfdebdaf26e8401e8a8?restype=container", + "Headers" : { + "x-ms-version" : "2022-11-02", + "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "3f80d3ed-ca4e-4936-bffa-35bcb9990f38" + }, + "Response" : { + "x-ms-version" : "2022-11-02", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8DB25B5D8746BFC", + "Last-Modified" : "Thu, 16 Mar 2023 00:31:55 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "ee6775cd-901e-007b-099e-57985e000000", + "Date" : "Thu, 16 Mar 2023 00:31:54 GMT", + "x-ms-client-request-id" : "3f80d3ed-ca4e-4936-bffa-35bcb9990f38" + }, + "Exception" : null + }, { + "Method" : "HEAD", + "Uri" : "https://REDACTED.blob.core.windows.net/cd65fa1c0cd65fa1cb5993931dfdebdaf26e8401e8a8/cd65fa1c3cd65fa1cb59398349c4ec107c999408db76", + "Headers" : { + "x-ms-version" : "2022-11-02", + "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 azsdk-java-azure-storage-blob-cryptography/12.21.0-beta.1 (11.0.16.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "d4f0acd6-9989-4182-9ea1-c1be13c35a8b" + }, + "Response" : { + "x-ms-version" : "2022-11-02", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "BlobNotFound", + "retry-after" : "0", + "StatusCode" : "404", + "x-ms-request-id" : "ee677a90-901e-007b-799e-57985e000000", + "Date" : "Thu, 16 Mar 2023 00:31:55 GMT", + "x-ms-client-request-id" : "d4f0acd6-9989-4182-9ea1-c1be13c35a8b" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://REDACTED.blob.core.windows.net/cd65fa1c0cd65fa1cb5993931dfdebdaf26e8401e8a8/cd65fa1c3cd65fa1cb59398349c4ec107c999408db76", + "Headers" : { + "x-ms-version" : "2022-11-02", + "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 azsdk-java-azure-storage-blob-cryptography/12.21.0-beta.1 (11.0.16.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "dd95ec2b-9f5f-43fb-ac07-f06d7e87b407", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2022-11-02", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "u1ZTN9uHVmM=", + "Last-Modified" : "Thu, 16 Mar 2023 00:31:56 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Thu, 16 Mar 2023 00:31:56 GMT", + "Content-MD5" : "9mjzZ51wWP5BcF4+S7Tsmg==", + "ETag" : "0x8DB25B5D95AB583", + "Content-Length" : "0", + "x-ms-request-id" : "fdf9bb00-d01e-006a-169e-5702ea000000", + "x-ms-client-request-id" : "dd95ec2b-9f5f-43fb-ac07-f06d7e87b407" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://REDACTED.blob.core.windows.net/cd65fa1c0cd65fa1cb5993931dfdebdaf26e8401e8a8/cd65fa1c3cd65fa1cb59398349c4ec107c999408db76", + "Headers" : { + "x-ms-version" : "2022-11-02", + "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 azsdk-java-azure-storage-blob-cryptography/12.21.0-beta.1 (11.0.16.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "7344d37a-de55-4f23-8e49-3466b748388b", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2022-11-02", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "CD9m/kXuIWY=", + "Last-Modified" : "Thu, 16 Mar 2023 00:31:57 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Thu, 16 Mar 2023 00:31:56 GMT", + "Content-MD5" : "PiphWIswaftJOxSvNgkciA==", + "ETag" : "0x8DB25B5D97492C8", + "Content-Length" : "0", + "x-ms-request-id" : "ee677cdb-901e-007b-189e-57985e000000", + "x-ms-client-request-id" : "7344d37a-de55-4f23-8e49-3466b748388b" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.blob.core.windows.net/cd65fa1c0cd65fa1cb5993931dfdebdaf26e8401e8a8/cd65fa1c3cd65fa1cb59398349c4ec107c999408db76", + "Headers" : { + "x-ms-version" : "2022-11-02", + "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 azsdk-java-azure-storage-blob-cryptography/12.21.0-beta.1 (11.0.16.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "1ec02df6-05c3-4340-8610-cdf313ddda86" + }, + "Response" : { + "x-ms-group" : "$superuser", + "x-ms-lease-status" : "unlocked", + "x-ms-version" : "2022-11-02", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-lease-state" : "available", + "Last-Modified" : "Thu, 16 Mar 2023 00:31:57 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Thu, 16 Mar 2023 00:31:56 GMT", + "x-ms-resource-type" : "file", + "x-ms-blob-type" : "BlockBlob", + "Content-MD5" : "PiphWIswaftJOxSvNgkciA==", + "Accept-Ranges" : "bytes", + "x-ms-server-encrypted" : "true", + "x-ms-meta-encryptiondata" : "{\"EncryptionMode\":\"FullBlob\",\"WrappedContentKey\":{\"KeyId\":\"keyId\",\"EncryptedKey\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=\",\"Algorithm\":\"RSA-OAEP-256\"},\"EncryptionAgent\":{\"Protocol\":\"1.0\",\"EncryptionAlgorithm\":\"AES_CBC_256\"},\"ContentEncryptionIV\":\"6NgmBAtUQp5JGUJO1cBFRQ==\",\"KeyWrappingMetadata\":{\"EncryptionLibrary\":\"JavaTrack212.22.0-beta.1\"}}", + "ETag" : "0x8DB25B5D97492C8", + "x-ms-creation-time" : "Thu, 16 Mar 2023 00:31:56 GMT", + "x-ms-permissions" : "rw-r-----", + "Content-Length" : "1040", + "x-ms-request-id" : "fdf9bb9a-d01e-006a-1d9e-5702ea000000", + "Body" : "bxWXBw9reJusCb5tnq9hN4ia/eQdCq077YcvChAGv9rV/3PhjqKiwHvrvt2A2gkiVuZdyyABbOw6EIqaBHE5pDPyrNQ42tU224L+QtoC28XoSkwdlkpt8AzIbBGV5QZIk68xw6mvPoNvkRUh5JRVue55ntYOAvicHJj/7s3IxjkyNtMm3AzxXadTqGexPA8Ho4sEZe98UZnmyhcCZroXeVstKG5o+sFr5n/HEPXJrDwfXVBVwG36K8Kv/qr2gHYuuiIhIdsllMMUkcGrpJGZs7aRR1d8PhYcambd7lOrfVPX8UrSL2eLl9Zrl3Vg16Hv/Jdod48G0VrPXLP6ZiK/E6K230uDEn5iw+uCxaaAhV3sPldJFabhJvuG2uNSWqHD66JIUbMWWjsXbyyBAXikrACAQ9uyua23SEx319FKSqMY78wG1CjxLQhabw537tOIRmxE/lx14s9Ty4Dgt1BaPX5TY40XyEEO2onOkrJ3V+0Y2T19j0A4q7VlAno4Eci2m+D3VUahi9jzOPDQYUw92UEXHzs6VEaxKiV6RBPSPP0TPvvuz36UvmbswDuE8wYizu60/Jz99WQQH+uKDkKPlORsxfCEWGUf2XJt5IeN0WNftHeFMBZr0rJn9+pFoa+a4JuWv3HrUwtY1He4o3ZQdOMe5lvnkNuBqPiE7QTY829BQjyrXa28ErC3jV7doyNQnNIpBf5AeDBPemipO+8t9T5Bjp4HiEhYc6WnCprxDeo7De4aZ/y80GTKhX0bI6pqwbIKzEs3XYzG2bXxDaQiFrV+EPMMxGz1fXGz+IPeuj0hDd4Lxyx2R8ya5gowToFzSYXJ6Shn96aPJjzkev65AKxBZ5MOhE2utkNu2i/IV1vj4vA2hs2PdAA86U39gYqfl+Vb3KAX7fCtSdM5IfA6fddLk7dmiL9EfV2z+6Ma8TBuiQqrs0BnUgzPBnf6NCI8G7y+dpPrMyXrxIIqlva778efiXwmwtyhJtPQJYfjYn0b0PpDHljrFy5121+ChSpPd+Iidol2XbTk3zgbb0r+goC7UDojyrlicEwP+8grr64LUl6tu6kK0s0yTvMEzcgXzkv5YwnjQFdIddJ8xBSV7hj/bjT365h0n4FCwfAnSBODuLwL/qPTyEClWHOIbdPfdYDiKqzxe4S94QdOz3ntwFuygxga2JyS6mppRrHWvu7XWTrqjTvNQx1l2tElI0EuiMe5nGxxYnHhoYg5D+OigHQ39eS60T77Hz0P12aV1hw1vdFO9eAsfXGtwE1zHl8/rNeob4zp8lz9gpiu82BisbmJLKXqv6gMb4VN3toaN3kzDcx2BdKO8CknHIbCiKaFmQW6yRK8O4bYVFYgutRHyr+s4tW0qU65BMIDv6hFk8k=", + "x-ms-owner" : "$superuser", + "x-ms-client-request-id" : "1ec02df6-05c3-4340-8610-cdf313ddda86", + "Content-Type" : "application/octet-stream" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.blob.core.windows.net/cd65fa1c0cd65fa1cb5993931dfdebdaf26e8401e8a8?restype=container", + "Headers" : { + "x-ms-version" : "2022-11-02", + "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "738d8d4f-9a62-495f-999f-454d2b874723" + }, + "Response" : { + "x-ms-version" : "2022-11-02", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "ee677e20-901e-007b-469e-57985e000000", + "Date" : "Thu, 16 Mar 2023 00:31:56 GMT", + "x-ms-client-request-id" : "738d8d4f-9a62-495f-999f-454d2b874723" + }, + "Exception" : null + } ], + "variables" : [ "cd65fa1c0cd65fa1cb5993931dfdebdaf26e8401e8a8", "cd65fa1c1cd65fa1cb597644043b974f693ab4290918", "cd65fa1c2cd65fa1cb591337300a2587c69514f01bf4", "cd65fa1c3cd65fa1cb59398349c4ec107c999408db76", "db6cf848-1236-4b4c-b46f-ef3a8c046080" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob-cryptography/src/test/resources/session-records/EncyptedBlockBlobAPITestEncryptionUploadISNoLengthWithOptions.json b/sdk/storage/azure-storage-blob-cryptography/src/test/resources/session-records/EncyptedBlockBlobAPITestEncryptionUploadISNoLengthWithOptions.json new file mode 100644 index 000000000000..38234b869576 --- /dev/null +++ b/sdk/storage/azure-storage-blob-cryptography/src/test/resources/session-records/EncyptedBlockBlobAPITestEncryptionUploadISNoLengthWithOptions.json @@ -0,0 +1,148 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://REDACTED.blob.core.windows.net/6f80bf1206f80bf123f208889a97e03e62a074d5f8cd?restype=container", + "Headers" : { + "x-ms-version" : "2022-11-02", + "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "c40597f0-b74a-47bf-b7ed-d0afd82a2493" + }, + "Response" : { + "x-ms-version" : "2022-11-02", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "ETag" : "0x8DB2654E681FA51", + "Last-Modified" : "Thu, 16 Mar 2023 19:30:28 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "f67f66c9-101e-0065-293d-587486000000", + "Date" : "Thu, 16 Mar 2023 19:30:28 GMT", + "x-ms-client-request-id" : "c40597f0-b74a-47bf-b7ed-d0afd82a2493" + }, + "Exception" : null + }, { + "Method" : "HEAD", + "Uri" : "https://REDACTED.blob.core.windows.net/6f80bf1206f80bf123f208889a97e03e62a074d5f8cd/6f80bf1236f80bf123f279507006c61fb33f54583b4e", + "Headers" : { + "x-ms-version" : "2022-11-02", + "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 azsdk-java-azure-storage-blob-cryptography/12.21.0-beta.1 (11.0.16.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "2704458e-74bf-48ad-bb34-1893892facb9" + }, + "Response" : { + "x-ms-version" : "2022-11-02", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-error-code" : "BlobNotFound", + "retry-after" : "0", + "StatusCode" : "404", + "x-ms-request-id" : "f67f6d08-101e-0065-193d-587486000000", + "Date" : "Thu, 16 Mar 2023 19:30:29 GMT", + "x-ms-client-request-id" : "2704458e-74bf-48ad-bb34-1893892facb9" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://REDACTED.blob.core.windows.net/6f80bf1206f80bf123f208889a97e03e62a074d5f8cd/6f80bf1236f80bf123f279507006c61fb33f54583b4e", + "Headers" : { + "x-ms-version" : "2022-11-02", + "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 azsdk-java-azure-storage-blob-cryptography/12.21.0-beta.1 (11.0.16.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "ad9d4031-bac9-4791-bc59-7afc5cc2ac8f", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2022-11-02", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "xzRcwpOL2RE=", + "Last-Modified" : "Thu, 16 Mar 2023 19:30:30 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Thu, 16 Mar 2023 19:30:30 GMT", + "Content-MD5" : "T8GppmGqbtDSQlv71NX7ig==", + "ETag" : "0x8DB2654E776653E", + "Content-Length" : "0", + "x-ms-request-id" : "ba381b57-c01e-0014-173d-5892ad000000", + "x-ms-client-request-id" : "ad9d4031-bac9-4791-bc59-7afc5cc2ac8f" + }, + "Exception" : null + }, { + "Method" : "PUT", + "Uri" : "https://REDACTED.blob.core.windows.net/6f80bf1206f80bf123f208889a97e03e62a074d5f8cd/6f80bf1236f80bf123f279507006c61fb33f54583b4e", + "Headers" : { + "x-ms-version" : "2022-11-02", + "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 azsdk-java-azure-storage-blob-cryptography/12.21.0-beta.1 (11.0.16.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "47b7c329-c09c-4c98-a9a3-90c943d2d41a", + "Content-Type" : "application/octet-stream" + }, + "Response" : { + "x-ms-version" : "2022-11-02", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-content-crc64" : "OO6s3eaxfOc=", + "Last-Modified" : "Thu, 16 Mar 2023 19:30:30 GMT", + "retry-after" : "0", + "StatusCode" : "201", + "x-ms-request-server-encrypted" : "true", + "Date" : "Thu, 16 Mar 2023 19:30:30 GMT", + "Content-MD5" : "9gRaKDypgeZk4Xqd/Fog5w==", + "ETag" : "0x8DB2654E79383FC", + "Content-Length" : "0", + "x-ms-request-id" : "f67f7069-101e-0065-3b3d-587486000000", + "x-ms-client-request-id" : "47b7c329-c09c-4c98-a9a3-90c943d2d41a" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.blob.core.windows.net/6f80bf1206f80bf123f208889a97e03e62a074d5f8cd/6f80bf1236f80bf123f279507006c61fb33f54583b4e", + "Headers" : { + "x-ms-version" : "2022-11-02", + "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 azsdk-java-azure-storage-blob-cryptography/12.21.0-beta.1 (11.0.16.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "7682d301-20cd-4efa-b78f-dce088cfd2a9" + }, + "Response" : { + "x-ms-group" : "$superuser", + "x-ms-lease-status" : "unlocked", + "x-ms-version" : "2022-11-02", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-lease-state" : "available", + "Last-Modified" : "Thu, 16 Mar 2023 19:30:30 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Thu, 16 Mar 2023 19:30:30 GMT", + "x-ms-resource-type" : "file", + "x-ms-blob-type" : "BlockBlob", + "Content-MD5" : "9gRaKDypgeZk4Xqd/Fog5w==", + "Accept-Ranges" : "bytes", + "x-ms-server-encrypted" : "true", + "x-ms-meta-encryptiondata" : "{\"EncryptionMode\":\"FullBlob\",\"WrappedContentKey\":{\"KeyId\":\"keyId\",\"EncryptedKey\":\"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=\",\"Algorithm\":\"RSA-OAEP-256\"},\"EncryptionAgent\":{\"Protocol\":\"1.0\",\"EncryptionAlgorithm\":\"AES_CBC_256\"},\"ContentEncryptionIV\":\"Yf+SKUanYe4Ysp/wVbB79w==\",\"KeyWrappingMetadata\":{\"EncryptionLibrary\":\"JavaTrack212.22.0-beta.1\"}}", + "ETag" : "0x8DB2654E79383FC", + "x-ms-creation-time" : "Thu, 16 Mar 2023 19:30:30 GMT", + "x-ms-permissions" : "rw-r-----", + "Content-Length" : "1040", + "x-ms-request-id" : "ba381c1a-c01e-0014-4c3d-5892ad000000", + "Body" : "tLMoHv9E2J34uICOco8xSwDYTMebFq8Jsyf2IzktCbSrx78Yy/rM2qspIURv8bKQ++wurxO8a/cCKn+L2hvgDJ5Dbtbu6f6BqWo1tViziIM7WhX7x5gnMVFAwq6wDmfrnXjg+28ouYXx0zIA2IrOZu3VG8WZdLfQZSzm+4WcTc8RZEm5hQlkA8l8KNpUMU/eeWklL2pZwMiCgmQNO2wImgZ1D6b/m/t7uMKURkgOR0/xaAKghE8lS26evt47pEJBRPxWRWzceHMyGg46lwi9FqM2tCJc5TON7iT41CNB2EKF7c823UDE6kwcdtzB34v88lzbJf5flAr/eFMCCQPMpVn089RBWEUMZxeQsYaPElxXj+C3XtS6nfi3qZuyZE0J+qjxenbLKg2Lz5QpQjlY6IsX2+IpLMq+tOHGOWJYyKMAkMjBpwoKCX8Me/awVj0U5zpjWiQuXdu0Y2a0aEajBI/wGGBOuXfaOKXzRZOkIvu6yQbOyD0GvzqbYiVdC338+6gNJ1RihMrsh7zJgm8yYc+iqhyfQCiudye3MqV+/M8P0nVhaf0tyvgG1lCMttrC3YPrIZiF7EmAhTA7h0QFff5is5I23YOpojDIaN+90+6wveRZ1vksDoQo/eRPV4HogRICWhQdU51uPBBT24yYZt8pKr2KtBYrY+7qg/l7x2BFFb6xb3/o++kYegCfxWcZ7UexxWZpSvJ81xwEqyY7PDDnIV2Ve0lC4zzVkKO5w+IJen7ROJaEmonYMOV06kl4Aw9YNekRlnVLqnY865VFRdc2+fBVG2r59U0KyLU3+G8Oztfcj0rnE3D/+IsgS3/lLvj7dWuZCpdxBgRC40cHnW6+lUm9wLBO16W7EbI2ZGcDBu0hpPwrYfXOOMPt+C/3m3LdRGU23LTG2/di7aBXNECXz/Q/apDwWmfweMbnENjjaGKiguNqNdXPyYZcJ7oG+h/48wLeiwBQasJkX9ekzrF7regudKK81N9sFvjfGUWyFlfqAqF4RrMZ0jYz8/krrO/CsA2xWJB71X2H7kdzYQuQyaxkttke+8NpYPFrVZQDUfvvjqdba86bw5yy+sWCOxOaS90QKDiKH45Cljlv0RqwSKkz4dAOB+M9diuJgwTN35jfFpUGWpTkr2FmlNpc3Fnp6LIa3RtB1so9gNbvnXyfBl7mluqf6LfbYEg5r6Fnk4cqN00h+cAKY2JwjW2fvS0htSvrP6Q7SuYttGOa/H3Db/4EpZv757NXnGyibtzWsTRwC6hiD8fWy6KVtJ8ixdtUSzo/PhHZvYBwQDJChXDmNdbwUXsDAHG+lmXypGAXBs/cHrmVaY370eNYMA6BH8m3xs677WipsYzqChM9s56no3IfvHHZEKcgGfBN8uE=", + "x-ms-owner" : "$superuser", + "x-ms-client-request-id" : "7682d301-20cd-4efa-b78f-dce088cfd2a9", + "Content-Type" : "application/octet-stream" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.blob.core.windows.net/6f80bf1206f80bf123f208889a97e03e62a074d5f8cd?restype=container", + "Headers" : { + "x-ms-version" : "2022-11-02", + "User-Agent" : "azsdk-java-azure-storage-blob/12.22.0-beta.1 (11.0.16.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "3012a4b4-86af-4faa-b6ed-52628c0e9390" + }, + "Response" : { + "x-ms-version" : "2022-11-02", + "Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "f67f7119-101e-0065-5d3d-587486000000", + "Date" : "Thu, 16 Mar 2023 19:30:30 GMT", + "x-ms-client-request-id" : "3012a4b4-86af-4faa-b6ed-52628c0e9390" + }, + "Exception" : null + } ], + "variables" : [ "6f80bf1206f80bf123f208889a97e03e62a074d5f8cd", "6f80bf1216f80bf123f21352585963d51d5374d499f0", "6f80bf1226f80bf123f23170201672a7b0f2647428a1", "6f80bf1236f80bf123f279507006c61fb33f54583b4e", "8961d056-704a-47c3-aa8f-58f6c46a2700" ] +} \ No newline at end of file diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobAsyncClient.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobAsyncClient.java index 4c2a7f0afb0f..6e4e2b510043 100644 --- a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobAsyncClient.java +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobAsyncClient.java @@ -35,7 +35,6 @@ import com.azure.storage.blob.specialized.BlockBlobClient; import com.azure.storage.blob.specialized.PageBlobAsyncClient; import com.azure.storage.blob.specialized.SpecializedBlobClientBuilder; -import com.azure.storage.common.Utility; import com.azure.storage.common.implementation.BufferStagingArea; import com.azure.storage.common.implementation.Constants; import com.azure.storage.common.implementation.StorageImplUtils; @@ -706,20 +705,8 @@ public Mono> uploadWithResponse(BlobParallelUploadOption headers, metadata, tags, tier, requestConditions, computeMd5, immutabilityPolicy, legalHold); Flux data = options.getDataFlux(); - // no specified length: use azure.core's converter - if (data == null && options.getOptionalLength() == null) { - // We can only buffer up to max int due to restrictions in ByteBuffer. - int chunkSize = (int) Math.min(Constants.MAX_INPUT_STREAM_CONVERTER_BUFFER_LENGTH, - parallelTransferOptions.getBlockSizeLong()); - data = FluxUtil.toFluxByteBuffer(options.getDataStream(), chunkSize); - // specified length (legacy requirement): use custom converter. no marking because we buffer anyway. - } else if (data == null) { - // We can only buffer up to max int due to restrictions in ByteBuffer. - int chunkSize = (int) Math.min(Constants.MAX_INPUT_STREAM_CONVERTER_BUFFER_LENGTH, - parallelTransferOptions.getBlockSizeLong()); - data = Utility.convertStreamToByteBuffer( - options.getDataStream(), options.getOptionalLength(), chunkSize, false); - } + data = UploadUtils.extractByteBuffer(data, options.getOptionalLength(), + parallelTransferOptions.getBlockSizeLong(), options.getDataStream()); return UploadUtils.uploadFullOrChunked(data, ModelHelper.wrapBlobOptions(parallelTransferOptions), uploadInChunksFunction, uploadFullBlobFunction); diff --git a/sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/implementation/UploadUtils.java b/sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/implementation/UploadUtils.java index 4e9881a0a6ee..389854023c6e 100644 --- a/sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/implementation/UploadUtils.java +++ b/sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/implementation/UploadUtils.java @@ -5,12 +5,15 @@ import com.azure.core.http.rest.Response; import com.azure.core.util.CoreUtils; +import com.azure.core.util.FluxUtil; import com.azure.core.util.logging.ClientLogger; import com.azure.storage.common.ParallelTransferOptions; +import com.azure.storage.common.Utility; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; import java.io.IOException; +import java.io.InputStream; import java.io.UncheckedIOException; import java.nio.ByteBuffer; import java.nio.channels.AsynchronousFileChannel; @@ -191,4 +194,29 @@ public byte[] getMd5() { return CoreUtils.clone(md5); } } + + /** + * Extracts the byte buffer for upload operations. + * + * @param data the {@link Flux} of {@link ByteBuffer}, if specified. + * @param optionalLength length of data. + * @param blockSize the block size (chunk size) to transfer at a time. + * @param dataStream the {@link InputStream}, if specified. + * @return the updated {@link Flux} of {@link ByteBuffer}. + */ + public static Flux extractByteBuffer(Flux data, Long optionalLength, Long blockSize, + InputStream dataStream) { + // no specified length: use azure.core's converter + if (data == null && optionalLength == null) { + // We can only buffer up to max int due to restrictions in ByteBuffer. + int chunkSize = (int) Math.min(Constants.MAX_INPUT_STREAM_CONVERTER_BUFFER_LENGTH, blockSize); + data = FluxUtil.toFluxByteBuffer(dataStream, chunkSize); + // specified length (legacy requirement): use custom converter. no marking because we buffer anyway. + } else if (data == null) { + // We can only buffer up to max int due to restrictions in ByteBuffer. + int chunkSize = (int) Math.min(Constants.MAX_INPUT_STREAM_CONVERTER_BUFFER_LENGTH, blockSize); + data = Utility.convertStreamToByteBuffer(dataStream, optionalLength, chunkSize, false); + } + return data; + } } diff --git a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeFileAsyncClient.java b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeFileAsyncClient.java index 907310b3e788..eafda5ec0754 100644 --- a/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeFileAsyncClient.java +++ b/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeFileAsyncClient.java @@ -610,20 +610,8 @@ public Mono> uploadWithResponse(FileParallelUploadOptions opt // if BinaryData is present, convert it to Flux Byte Buffer Flux data = binaryData != null ? binaryData.toFluxByteBuffer() : options.getDataFlux(); - // no specified length: use azure.core's converter - if (data == null && options.getOptionalLength() == null) { - // We can only buffer up to max int due to restrictions in ByteBuffer. - int chunkSize = (int) Math.min(Constants.MAX_INPUT_STREAM_CONVERTER_BUFFER_LENGTH, - validatedParallelTransferOptions.getBlockSizeLong()); - data = FluxUtil.toFluxByteBuffer(options.getDataStream(), chunkSize); - // specified length (legacy requirement): use custom converter. no marking because we buffer anyway. - } else if (data == null) { - // We can only buffer up to max int due to restrictions in ByteBuffer. - int chunkSize = (int) Math.min(Constants.MAX_INPUT_STREAM_CONVERTER_BUFFER_LENGTH, - validatedParallelTransferOptions.getBlockSizeLong()); - data = Utility.convertStreamToByteBuffer( - options.getDataStream(), options.getOptionalLength(), chunkSize, false); - } + data = UploadUtils.extractByteBuffer(data, options.getOptionalLength(), + validatedParallelTransferOptions.getBlockSizeLong(), options.getDataStream()); return createWithResponse(options.getPermissions(), options.getUmask(), options.getHeaders(), options.getMetadata(), validatedRequestConditions) diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareFileAsyncClient.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareFileAsyncClient.java index e02b2c2d24eb..4f44c324b66b 100644 --- a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareFileAsyncClient.java +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareFileAsyncClient.java @@ -2055,20 +2055,8 @@ Mono> uploadWithResponse(ShareFileUploadOptions op }; Flux data = options.getDataFlux(); - // no specified length: use azure.core's converter - if (data == null && options.getLength() == null) { - // We can only buffer up to max int due to restrictions in ByteBuffer. - int chunkSize = (int) Math.min(Constants.MAX_INPUT_STREAM_CONVERTER_BUFFER_LENGTH, - validatedParallelTransferOptions.getBlockSizeLong()); - data = FluxUtil.toFluxByteBuffer(options.getDataStream(), chunkSize); - // specified length (legacy requirement): use custom converter. no marking because we buffer anyway. - } else if (data == null) { - // We can only buffer up to max int due to restrictions in ByteBuffer. - int chunkSize = (int) Math.min(Constants.MAX_INPUT_STREAM_CONVERTER_BUFFER_LENGTH, - validatedParallelTransferOptions.getBlockSizeLong()); - data = Utility.convertStreamToByteBuffer( - options.getDataStream(), options.getLength(), chunkSize, false); - } + data = UploadUtils.extractByteBuffer(data, options.getLength(), + validatedParallelTransferOptions.getBlockSizeLong(), options.getDataStream()); return UploadUtils.uploadFullOrChunked(data, validatedParallelTransferOptions, uploadInChunks, uploadFull); } catch (RuntimeException ex) { From 58db028c489b238e7added94fa313da3e88dd9c4 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Fri, 24 Mar 2023 10:36:16 +0800 Subject: [PATCH 27/35] cadl, upgrade sdk automation script, for tooling changes (#34136) * migrate to typespec, keep backward compatible to .cadl * cadl, update script for tooling change * Update generate_data.py Rename Typespec to TypeSpec to align with other places. --------- Co-authored-by: Ray Chen --- eng/mgmt/automation/generate_data.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/mgmt/automation/generate_data.py b/eng/mgmt/automation/generate_data.py index 3734237c3907..3046b74f22ae 100755 --- a/eng/mgmt/automation/generate_data.py +++ b/eng/mgmt/automation/generate_data.py @@ -29,10 +29,10 @@ def sdk_automation_cadl(config: dict) -> List[dict]: spec_root = os.path.abspath(config['specFolder']) packages = [] - if 'relatedCadlProjectFolder' not in config: + if 'relatedTypeSpecProjectFolder' not in config: return packages - cadl_projects = config['relatedCadlProjectFolder'] + cadl_projects = config['relatedTypeSpecProjectFolder'] if isinstance(cadl_projects, str): cadl_projects = [cadl_projects] @@ -118,7 +118,7 @@ def sdk_automation_cadl(config: dict) -> List[dict]: 'eng/versioning', 'pom.xml' ], - 'cadlProject': [cadl_project], + 'typeSpecProject': [cadl_project], 'packageFolder': sdk_folder, 'artifacts': artifacts, 'apiViewArtifact': next(iter(glob.glob('{0}/target/*-sources.jar'.format(sdk_folder))), None), From 5bada6be3ffa0161255bd15133f4f7b0415db05d Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 23 Mar 2023 20:49:54 -0700 Subject: [PATCH 28/35] [Automation] Generate Fluent Lite from digitaltwins#package-2023-01 (#34193) * [Automation] External Change * [Automation] Generate Fluent Lite from digitaltwins#package-2023-01 * Update pom.xml --------- Co-authored-by: Xiaofei Cao <92354331+XiaofeiCao@users.noreply.github.com> --- eng/versioning/version_client.txt | 2 +- .../CHANGELOG.md | 29 ++- .../README.md | 4 +- .../SAMPLE.md | 192 +++++++++--------- .../pom.xml | 13 +- .../AzureDigitalTwinsManager.java | 2 +- .../TimeSeriesDatabaseConnectionsClient.java | 19 +- ...AzureDigitalTwinsManagementClientImpl.java | 2 +- .../DigitalTwinsClientImpl.java | 34 ++-- .../DigitalTwinsEndpointsClientImpl.java | 22 +- .../PrivateEndpointConnectionsClientImpl.java | 23 +-- .../PrivateLinkResourcesClientImpl.java | 6 +- ...meSeriesDatabaseConnectionsClientImpl.java | 171 +++++++++++++--- .../TimeSeriesDatabaseConnectionsImpl.java | 32 ++- .../models/AuthenticationType.java | 9 + ...AzureDataExplorerConnectionProperties.java | 105 +++++++++- .../models/CleanupConnectionArtifacts.java | 47 +++++ ...ConnectionPropertiesProvisioningState.java | 9 + .../digitaltwins/models/ConnectionType.java | 9 + .../models/DigitalTwinsIdentity.java | 2 +- .../models/DigitalTwinsIdentityType.java | 9 + .../models/EndpointProvisioningState.java | 9 + .../digitaltwins/models/EndpointType.java | 9 + .../digitaltwins/models/IdentityType.java | 9 + .../PrivateLinkServiceConnectionStatus.java | 9 + .../models/ProvisioningState.java | 9 + .../models/PublicNetworkAccess.java | 9 + .../digitaltwins/models/Reason.java | 9 + .../models/RecordPropertyAndItemRemovals.java | 51 +++++ .../TimeSeriesDatabaseConnectionState.java | 9 + .../models/TimeSeriesDatabaseConnections.java | 15 +- .../models/UserAssignedIdentity.java | 2 +- ...italTwinsCheckNameAvailabilitySamples.java | 5 +- .../DigitalTwinsCreateOrUpdateSamples.java | 6 +- .../generated/DigitalTwinsDeleteSamples.java | 10 +- ...talTwinsEndpointCreateOrUpdateSamples.java | 6 +- .../DigitalTwinsEndpointDeleteSamples.java | 14 +- .../DigitalTwinsEndpointGetSamples.java | 14 +- .../DigitalTwinsEndpointListSamples.java | 10 +- ...DigitalTwinsGetByResourceGroupSamples.java | 20 +- ...igitalTwinsListByResourceGroupSamples.java | 6 +- .../generated/DigitalTwinsListSamples.java | 6 +- .../generated/DigitalTwinsUpdateSamples.java | 13 +- .../generated/OperationsListSamples.java | 6 +- ...pointConnectionsCreateOrUpdateSamples.java | 6 +- ...ivateEndpointConnectionsDeleteSamples.java | 6 +- .../PrivateEndpointConnectionsGetSamples.java | 6 +- ...PrivateEndpointConnectionsListSamples.java | 8 +- .../PrivateLinkResourcesGetSamples.java | 8 +- .../PrivateLinkResourcesListSamples.java | 8 +- ...abaseConnectionsCreateOrUpdateSamples.java | 12 +- ...eriesDatabaseConnectionsDeleteSamples.java | 8 +- ...meSeriesDatabaseConnectionsGetSamples.java | 6 +- ...eSeriesDatabaseConnectionsListSamples.java | 8 +- ...DataExplorerConnectionPropertiesTests.java | 51 +++-- .../generated/CheckNameRequestTests.java | 9 +- .../generated/CheckNameResultInnerTests.java | 9 +- ...rivateLinkServiceConnectionStateTests.java | 9 +- .../generated/ConnectionPropertiesTests.java | 9 +- .../generated/ConnectionStateTests.java | 9 +- ...NameAvailabilityWithResponseMockTests.java | 8 +- .../DigitalTwinsCreateOrUpdateMockTests.java | 29 +-- .../DigitalTwinsDeleteMockTests.java | 12 +- .../DigitalTwinsDescriptionInnerTests.java | 9 +- ...igitalTwinsDescriptionListResultTests.java | 9 +- ...tByResourceGroupWithResponseMockTests.java | 11 +- .../generated/DigitalTwinsIdentityTests.java | 9 +- ...italTwinsListByResourceGroupMockTests.java | 11 +- .../generated/DigitalTwinsListMockTests.java | 15 +- .../DigitalTwinsPatchDescriptionTests.java | 9 +- .../DigitalTwinsPatchPropertiesTests.java | 9 +- .../DigitalTwinsPropertiesTests.java | 9 +- .../generated/DigitalTwinsResourceTests.java | 9 +- .../generated/ExternalResourceTests.java | 9 +- .../GroupIdInformationInnerTests.java | 9 +- .../GroupIdInformationPropertiesTests.java | 9 +- .../GroupIdInformationResponseInnerTests.java | 9 +- .../ManagedIdentityReferenceTests.java | 9 +- .../generated/OperationDisplayTests.java | 9 +- .../generated/OperationInnerTests.java | 9 +- .../generated/OperationListResultTests.java | 9 +- .../generated/OperationsListMockTests.java | 5 +- .../PrivateEndpointConnectionInnerTests.java | 9 +- ...intConnectionsCreateOrUpdateMockTests.java | 21 +- ...ateEndpointConnectionsDeleteMockTests.java | 5 +- ...ntConnectionsGetWithResponseMockTests.java | 19 +- ...tConnectionsListWithResponseMockTests.java | 5 +- ...EndpointConnectionsResponseInnerTests.java | 9 +- .../generated/PrivateEndpointTests.java | 9 +- ...LinkResourcesGetWithResponseMockTests.java | 13 +- ...inkResourcesListWithResponseMockTests.java | 11 +- ...imeSeriesDatabaseConnectionInnerTests.java | 9 +- ...riesDatabaseConnectionListResultTests.java | 9 +- ...riesDatabaseConnectionPropertiesTests.java | 9 +- ...aseConnectionsCreateOrUpdateMockTests.java | 10 +- ...iesDatabaseConnectionsDeleteMockTests.java | 17 +- ...seConnectionsGetWithResponseMockTests.java | 7 +- ...eriesDatabaseConnectionsListMockTests.java | 11 +- .../generated/UserAssignedIdentityTests.java | 9 +- 99 files changed, 1019 insertions(+), 558 deletions(-) create mode 100644 sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/CleanupConnectionArtifacts.java create mode 100644 sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/RecordPropertyAndItemRemovals.java diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index 629154765d26..97c49d9bf835 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -270,7 +270,7 @@ com.azure.resourcemanager:azure-resourcemanager-loganalytics;1.0.0-beta.3;1.0.0- com.azure.resourcemanager:azure-resourcemanager-eventgrid;1.1.0;1.2.0-beta.4 com.azure.resourcemanager:azure-resourcemanager-healthbot;1.0.0-beta.2;1.0.0-beta.3 com.azure.resourcemanager:azure-resourcemanager-confluent;1.0.0-beta.3;1.0.0-beta.4 -com.azure.resourcemanager:azure-resourcemanager-digitaltwins;1.1.0;1.2.0-beta.2 +com.azure.resourcemanager:azure-resourcemanager-digitaltwins;1.1.0;1.2.0 com.azure.resourcemanager:azure-resourcemanager-netapp;1.0.0-beta.12;1.0.0-beta.13 com.azure.resourcemanager:azure-resourcemanager-storagecache;1.0.0-beta.8;1.0.0-beta.9 com.azure.resourcemanager:azure-resourcemanager-redisenterprise;1.0.0;1.1.0-beta.4 diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/CHANGELOG.md b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/CHANGELOG.md index b3671e272fc0..5195ff190715 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/CHANGELOG.md +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/CHANGELOG.md @@ -1,14 +1,35 @@ # Release History -## 1.2.0-beta.2 (Unreleased) +## 1.2.0 (2023-03-24) -### Features Added +- Azure Resource Manager AzureDigitalTwins client library for Java. This package contains Microsoft Azure SDK for AzureDigitalTwins Management SDK. Azure Digital Twins Client for managing DigitalTwinsInstance. Package tag package-2023-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). ### Breaking Changes -### Bugs Fixed +#### `models.TimeSeriesDatabaseConnections` was modified -### Other Changes +* `delete(java.lang.String,java.lang.String,java.lang.String,com.azure.core.util.Context)` was removed +* `deleteByIdWithResponse(java.lang.String,com.azure.core.util.Context)` was removed + +### Features Added + +* `models.RecordPropertyAndItemRemovals` was added + +* `models.CleanupConnectionArtifacts` was added + +#### `models.TimeSeriesDatabaseConnections` was modified + +* `delete(java.lang.String,java.lang.String,java.lang.String,models.CleanupConnectionArtifacts,com.azure.core.util.Context)` was added +* `deleteByIdWithResponse(java.lang.String,models.CleanupConnectionArtifacts,com.azure.core.util.Context)` was added + +#### `models.AzureDataExplorerConnectionProperties` was modified + +* `adxRelationshipLifecycleEventsTableName()` was added +* `recordPropertyAndItemRemovals()` was added +* `withRecordPropertyAndItemRemovals(models.RecordPropertyAndItemRemovals)` was added +* `adxTwinLifecycleEventsTableName()` was added +* `withAdxRelationshipLifecycleEventsTableName(java.lang.String)` was added +* `withAdxTwinLifecycleEventsTableName(java.lang.String)` was added ## 1.2.0-beta.1 (2023-02-07) diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/README.md b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/README.md index 479af6ed3812..88eb4a021bf8 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/README.md +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/README.md @@ -2,7 +2,7 @@ Azure Resource Manager AzureDigitalTwins client library for Java. -This package contains Microsoft Azure SDK for AzureDigitalTwins Management SDK. Azure Digital Twins Client for managing DigitalTwinsInstance. Package tag package-2022-10. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). +This package contains Microsoft Azure SDK for AzureDigitalTwins Management SDK. Azure Digital Twins Client for managing DigitalTwinsInstance. Package tag package-2023-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). ## We'd love to hear your feedback @@ -32,7 +32,7 @@ Various documentation is available to help you get started com.azure.resourcemanager azure-resourcemanager-digitaltwins - 1.1.0 + 1.2.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/SAMPLE.md b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/SAMPLE.md index a093bb428dd1..bfe8087e6f03 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/SAMPLE.md +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/SAMPLE.md @@ -43,13 +43,12 @@ ### DigitalTwins_CheckNameAvailability ```java -import com.azure.core.util.Context; import com.azure.resourcemanager.digitaltwins.models.CheckNameRequest; /** Samples for DigitalTwins CheckNameAvailability. */ public final class DigitalTwinsCheckNameAvailabilitySamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsCheckNameAvailability_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsCheckNameAvailability_example.json */ /** * Sample code: Check name Availability. @@ -60,7 +59,7 @@ public final class DigitalTwinsCheckNameAvailabilitySamples { manager .digitalTwins() .checkNameAvailabilityWithResponse( - "WestUS2", new CheckNameRequest().withName("myadtinstance"), Context.NONE); + "WestUS2", new CheckNameRequest().withName("myadtinstance"), com.azure.core.util.Context.NONE); } } ``` @@ -78,7 +77,7 @@ import java.util.Map; /** Samples for DigitalTwins CreateOrUpdate. */ public final class DigitalTwinsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsPut_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_example.json */ /** * Sample code: Put a DigitalTwinsInstance resource. @@ -96,7 +95,7 @@ public final class DigitalTwinsCreateOrUpdateSamples { } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsPut_WithPublicNetworkAccess.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_WithPublicNetworkAccess.json */ /** * Sample code: Put a DigitalTwinsInstance resource with publicNetworkAccess property. @@ -115,7 +114,7 @@ public final class DigitalTwinsCreateOrUpdateSamples { } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsPut_WithIdentity_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_WithIdentity_example.json */ /** * Sample code: Put a DigitalTwinsInstance resource with identity. @@ -155,12 +154,10 @@ public final class DigitalTwinsCreateOrUpdateSamples { ### DigitalTwins_Delete ```java -import com.azure.core.util.Context; - /** Samples for DigitalTwins Delete. */ public final class DigitalTwinsDeleteSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsDelete_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsDelete_example.json */ /** * Sample code: Delete a DigitalTwinsInstance resource. @@ -169,11 +166,11 @@ public final class DigitalTwinsDeleteSamples { */ public static void deleteADigitalTwinsInstanceResource( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwins().delete("resRg", "myDigitalTwinsService", Context.NONE); + manager.digitalTwins().delete("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsDelete_WithIdentity_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsDelete_WithIdentity_example.json */ /** * Sample code: Delete a DigitalTwinsInstance resource with identity. @@ -182,7 +179,7 @@ public final class DigitalTwinsDeleteSamples { */ public static void deleteADigitalTwinsInstanceResourceWithIdentity( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwins().delete("resRg", "myDigitalTwinsService", Context.NONE); + manager.digitalTwins().delete("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE); } } ``` @@ -190,12 +187,10 @@ public final class DigitalTwinsDeleteSamples { ### DigitalTwins_GetByResourceGroup ```java -import com.azure.core.util.Context; - /** Samples for DigitalTwins GetByResourceGroup. */ public final class DigitalTwinsGetByResourceGroupSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsGet_WithIdentity_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithIdentity_example.json */ /** * Sample code: Get a DigitalTwinsInstance resource with identity. @@ -204,11 +199,13 @@ public final class DigitalTwinsGetByResourceGroupSamples { */ public static void getADigitalTwinsInstanceResourceWithIdentity( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwins().getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", Context.NONE); + manager + .digitalTwins() + .getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsGet_WithPrivateEndpointConnection_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithPrivateEndpointConnection_example.json */ /** * Sample code: Get a DigitalTwinsInstance resource with a private endpoint connection. @@ -217,11 +214,13 @@ public final class DigitalTwinsGetByResourceGroupSamples { */ public static void getADigitalTwinsInstanceResourceWithAPrivateEndpointConnection( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwins().getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", Context.NONE); + manager + .digitalTwins() + .getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsGet_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_example.json */ /** * Sample code: Get a DigitalTwinsInstance resource. @@ -230,7 +229,9 @@ public final class DigitalTwinsGetByResourceGroupSamples { */ public static void getADigitalTwinsInstanceResource( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwins().getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", Context.NONE); + manager + .digitalTwins() + .getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE); } } ``` @@ -238,12 +239,10 @@ public final class DigitalTwinsGetByResourceGroupSamples { ### DigitalTwins_List ```java -import com.azure.core.util.Context; - /** Samples for DigitalTwins List. */ public final class DigitalTwinsListSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsList_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsList_example.json */ /** * Sample code: Get DigitalTwinsInstance resources by subscription. @@ -252,7 +251,7 @@ public final class DigitalTwinsListSamples { */ public static void getDigitalTwinsInstanceResourcesBySubscription( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwins().list(Context.NONE); + manager.digitalTwins().list(com.azure.core.util.Context.NONE); } } ``` @@ -260,12 +259,10 @@ public final class DigitalTwinsListSamples { ### DigitalTwins_ListByResourceGroup ```java -import com.azure.core.util.Context; - /** Samples for DigitalTwins ListByResourceGroup. */ public final class DigitalTwinsListByResourceGroupSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsListByResourceGroup_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsListByResourceGroup_example.json */ /** * Sample code: Get DigitalTwinsInstance resources by resource group. @@ -274,7 +271,7 @@ public final class DigitalTwinsListByResourceGroupSamples { */ public static void getDigitalTwinsInstanceResourcesByResourceGroup( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwins().listByResourceGroup("resRg", Context.NONE); + manager.digitalTwins().listByResourceGroup("resRg", com.azure.core.util.Context.NONE); } } ``` @@ -282,7 +279,6 @@ public final class DigitalTwinsListByResourceGroupSamples { ### DigitalTwins_Update ```java -import com.azure.core.util.Context; import com.azure.resourcemanager.digitaltwins.models.DigitalTwinsDescription; import com.azure.resourcemanager.digitaltwins.models.DigitalTwinsIdentity; import com.azure.resourcemanager.digitaltwins.models.DigitalTwinsIdentityType; @@ -294,7 +290,7 @@ import java.util.Map; /** Samples for DigitalTwins Update. */ public final class DigitalTwinsUpdateSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsPatch_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_example.json */ /** * Sample code: Patch a DigitalTwinsInstance resource. @@ -306,13 +302,13 @@ public final class DigitalTwinsUpdateSamples { DigitalTwinsDescription resource = manager .digitalTwins() - .getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", Context.NONE) + .getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE) .getValue(); resource.update().withTags(mapOf("purpose", "dev")).apply(); } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsPatch_WithPublicNetworkAccess.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_WithPublicNetworkAccess.json */ /** * Sample code: Patch a DigitalTwinsInstance resource with publicNetworkAccess property. @@ -324,7 +320,7 @@ public final class DigitalTwinsUpdateSamples { DigitalTwinsDescription resource = manager .digitalTwins() - .getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", Context.NONE) + .getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE) .getValue(); resource .update() @@ -333,7 +329,7 @@ public final class DigitalTwinsUpdateSamples { } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsPatch_WithIdentity_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_WithIdentity_example.json */ /** * Sample code: Patch a DigitalTwinsInstance resource with identity. @@ -345,7 +341,7 @@ public final class DigitalTwinsUpdateSamples { DigitalTwinsDescription resource = manager .digitalTwins() - .getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", Context.NONE) + .getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE) .getValue(); resource.update().withIdentity(new DigitalTwinsIdentity().withType(DigitalTwinsIdentityType.NONE)).apply(); } @@ -374,7 +370,7 @@ import com.azure.resourcemanager.digitaltwins.models.ServiceBus; /** Samples for DigitalTwinsEndpoint CreateOrUpdate. */ public final class DigitalTwinsEndpointCreateOrUpdateSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsEndpointPut_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_example.json */ /** * Sample code: Put a DigitalTwinsEndpoint resource. @@ -398,7 +394,7 @@ public final class DigitalTwinsEndpointCreateOrUpdateSamples { } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsEndpointPut_WithIdentity_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_WithIdentity_example.json */ /** * Sample code: Put a DigitalTwinsEndpoint resource with identity. @@ -420,7 +416,7 @@ public final class DigitalTwinsEndpointCreateOrUpdateSamples { } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsEndpointPut_WithUserIdentity_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_WithUserIdentity_example.json */ /** * Sample code: Put a DigitalTwinsEndpoint resource with user assigned identity. @@ -451,12 +447,10 @@ public final class DigitalTwinsEndpointCreateOrUpdateSamples { ### DigitalTwinsEndpoint_Delete ```java -import com.azure.core.util.Context; - /** Samples for DigitalTwinsEndpoint Delete. */ public final class DigitalTwinsEndpointDeleteSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsEndpointDelete_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointDelete_example.json */ /** * Sample code: Delete a DigitalTwinsInstance endpoint. @@ -465,11 +459,13 @@ public final class DigitalTwinsEndpointDeleteSamples { */ public static void deleteADigitalTwinsInstanceEndpoint( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwinsEndpoints().delete("resRg", "myDigitalTwinsService", "myendpoint", Context.NONE); + manager + .digitalTwinsEndpoints() + .delete("resRg", "myDigitalTwinsService", "myendpoint", com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsEndpointDelete_WithIdentity_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointDelete_WithIdentity_example.json */ /** * Sample code: Delete a DigitalTwinsInstance endpoint with identity. @@ -478,7 +474,9 @@ public final class DigitalTwinsEndpointDeleteSamples { */ public static void deleteADigitalTwinsInstanceEndpointWithIdentity( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwinsEndpoints().delete("resRg", "myDigitalTwinsService", "myendpoint", Context.NONE); + manager + .digitalTwinsEndpoints() + .delete("resRg", "myDigitalTwinsService", "myendpoint", com.azure.core.util.Context.NONE); } } ``` @@ -486,12 +484,10 @@ public final class DigitalTwinsEndpointDeleteSamples { ### DigitalTwinsEndpoint_Get ```java -import com.azure.core.util.Context; - /** Samples for DigitalTwinsEndpoint Get. */ public final class DigitalTwinsEndpointGetSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsEndpointGet_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_example.json */ /** * Sample code: Get a DigitalTwinsInstance endpoint. @@ -500,11 +496,13 @@ public final class DigitalTwinsEndpointGetSamples { */ public static void getADigitalTwinsInstanceEndpoint( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwinsEndpoints().getWithResponse("resRg", "myDigitalTwinsService", "myServiceBus", Context.NONE); + manager + .digitalTwinsEndpoints() + .getWithResponse("resRg", "myDigitalTwinsService", "myServiceBus", com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsEndpointGet_WithIdentity_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_WithIdentity_example.json */ /** * Sample code: Get a DigitalTwinsInstance endpoint with identity. @@ -513,7 +511,9 @@ public final class DigitalTwinsEndpointGetSamples { */ public static void getADigitalTwinsInstanceEndpointWithIdentity( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwinsEndpoints().getWithResponse("resRg", "myDigitalTwinsService", "myServiceBus", Context.NONE); + manager + .digitalTwinsEndpoints() + .getWithResponse("resRg", "myDigitalTwinsService", "myServiceBus", com.azure.core.util.Context.NONE); } } ``` @@ -521,12 +521,10 @@ public final class DigitalTwinsEndpointGetSamples { ### DigitalTwinsEndpoint_List ```java -import com.azure.core.util.Context; - /** Samples for DigitalTwinsEndpoint List. */ public final class DigitalTwinsEndpointListSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsEndpointsGet_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointsGet_example.json */ /** * Sample code: Get a DigitalTwinsInstance endpoints. @@ -535,11 +533,11 @@ public final class DigitalTwinsEndpointListSamples { */ public static void getADigitalTwinsInstanceEndpoints( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwinsEndpoints().list("resRg", "myDigitalTwinsService", Context.NONE); + manager.digitalTwinsEndpoints().list("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsEndpointsGet_WithIdentity_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointsGet_WithIdentity_example.json */ /** * Sample code: Get a DigitalTwinsInstance endpoints with identity. @@ -548,7 +546,7 @@ public final class DigitalTwinsEndpointListSamples { */ public static void getADigitalTwinsInstanceEndpointsWithIdentity( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwinsEndpoints().list("resRg", "myDigitalTwinsService", Context.NONE); + manager.digitalTwinsEndpoints().list("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE); } } ``` @@ -556,12 +554,10 @@ public final class DigitalTwinsEndpointListSamples { ### Operations_List ```java -import com.azure.core.util.Context; - /** Samples for Operations List. */ public final class OperationsListSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsOperationsList_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsOperationsList_example.json */ /** * Sample code: Get available operations. @@ -569,7 +565,7 @@ public final class OperationsListSamples { * @param manager Entry point to AzureDigitalTwinsManager. */ public static void getAvailableOperations(com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.operations().list(Context.NONE); + manager.operations().list(com.azure.core.util.Context.NONE); } } ``` @@ -577,7 +573,6 @@ public final class OperationsListSamples { ### PrivateEndpointConnections_CreateOrUpdate ```java -import com.azure.core.util.Context; import com.azure.resourcemanager.digitaltwins.models.ConnectionProperties; import com.azure.resourcemanager.digitaltwins.models.ConnectionPropertiesPrivateLinkServiceConnectionState; import com.azure.resourcemanager.digitaltwins.models.PrivateEndpointConnection; @@ -586,7 +581,7 @@ import com.azure.resourcemanager.digitaltwins.models.PrivateLinkServiceConnectio /** Samples for PrivateEndpointConnections CreateOrUpdate. */ public final class PrivateEndpointConnectionsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/PrivateEndpointConnectionPut_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionPut_example.json */ /** * Sample code: Update the status of a private endpoint connection with the given name. @@ -598,7 +593,8 @@ public final class PrivateEndpointConnectionsCreateOrUpdateSamples { PrivateEndpointConnection resource = manager .privateEndpointConnections() - .getWithResponse("resRg", "myDigitalTwinsService", "myPrivateConnection", Context.NONE) + .getWithResponse( + "resRg", "myDigitalTwinsService", "myPrivateConnection", com.azure.core.util.Context.NONE) .getValue(); resource .update() @@ -616,12 +612,10 @@ public final class PrivateEndpointConnectionsCreateOrUpdateSamples { ### PrivateEndpointConnections_Delete ```java -import com.azure.core.util.Context; - /** Samples for PrivateEndpointConnections Delete. */ public final class PrivateEndpointConnectionsDeleteSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/PrivateEndpointConnectionDelete_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionDelete_example.json */ /** * Sample code: Delete private endpoint connection with the specified name. @@ -632,7 +626,7 @@ public final class PrivateEndpointConnectionsDeleteSamples { com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { manager .privateEndpointConnections() - .delete("resRg", "myDigitalTwinsService", "myPrivateConnection", Context.NONE); + .delete("resRg", "myDigitalTwinsService", "myPrivateConnection", com.azure.core.util.Context.NONE); } } ``` @@ -640,12 +634,10 @@ public final class PrivateEndpointConnectionsDeleteSamples { ### PrivateEndpointConnections_Get ```java -import com.azure.core.util.Context; - /** Samples for PrivateEndpointConnections Get. */ public final class PrivateEndpointConnectionsGetSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/PrivateEndpointConnectionByConnectionName_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionByConnectionName_example.json */ /** * Sample code: Get private endpoint connection properties for the given private endpoint. @@ -656,7 +648,7 @@ public final class PrivateEndpointConnectionsGetSamples { com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { manager .privateEndpointConnections() - .getWithResponse("resRg", "myDigitalTwinsService", "myPrivateConnection", Context.NONE); + .getWithResponse("resRg", "myDigitalTwinsService", "myPrivateConnection", com.azure.core.util.Context.NONE); } } ``` @@ -664,12 +656,10 @@ public final class PrivateEndpointConnectionsGetSamples { ### PrivateEndpointConnections_List ```java -import com.azure.core.util.Context; - /** Samples for PrivateEndpointConnections List. */ public final class PrivateEndpointConnectionsListSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/PrivateEndpointConnectionsList_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionsList_example.json */ /** * Sample code: List private endpoint connection properties. @@ -678,7 +668,9 @@ public final class PrivateEndpointConnectionsListSamples { */ public static void listPrivateEndpointConnectionProperties( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.privateEndpointConnections().listWithResponse("resRg", "myDigitalTwinsService", Context.NONE); + manager + .privateEndpointConnections() + .listWithResponse("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE); } } ``` @@ -686,12 +678,10 @@ public final class PrivateEndpointConnectionsListSamples { ### PrivateLinkResources_Get ```java -import com.azure.core.util.Context; - /** Samples for PrivateLinkResources Get. */ public final class PrivateLinkResourcesGetSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/PrivateLinkResourcesByGroupId_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateLinkResourcesByGroupId_example.json */ /** * Sample code: Get the specified private link resource for the given Digital Twin. @@ -700,7 +690,9 @@ public final class PrivateLinkResourcesGetSamples { */ public static void getTheSpecifiedPrivateLinkResourceForTheGivenDigitalTwin( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.privateLinkResources().getWithResponse("resRg", "myDigitalTwinsService", "subResource", Context.NONE); + manager + .privateLinkResources() + .getWithResponse("resRg", "myDigitalTwinsService", "subResource", com.azure.core.util.Context.NONE); } } ``` @@ -708,12 +700,10 @@ public final class PrivateLinkResourcesGetSamples { ### PrivateLinkResources_List ```java -import com.azure.core.util.Context; - /** Samples for PrivateLinkResources List. */ public final class PrivateLinkResourcesListSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/PrivateLinkResourcesList_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateLinkResourcesList_example.json */ /** * Sample code: List private link resources for given Digital Twin. @@ -722,7 +712,9 @@ public final class PrivateLinkResourcesListSamples { */ public static void listPrivateLinkResourcesForGivenDigitalTwin( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.privateLinkResources().listWithResponse("resRg", "myDigitalTwinsService", Context.NONE); + manager + .privateLinkResources() + .listWithResponse("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE); } } ``` @@ -733,11 +725,12 @@ public final class PrivateLinkResourcesListSamples { import com.azure.resourcemanager.digitaltwins.models.AzureDataExplorerConnectionProperties; import com.azure.resourcemanager.digitaltwins.models.IdentityType; import com.azure.resourcemanager.digitaltwins.models.ManagedIdentityReference; +import com.azure.resourcemanager.digitaltwins.models.RecordPropertyAndItemRemovals; /** Samples for TimeSeriesDatabaseConnections CreateOrUpdate. */ public final class TimeSeriesDatabaseConnectionsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/TimeSeriesDatabaseConnectionsPut_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_example.json */ /** * Sample code: Create or replace a time series database connection for a DigitalTwins instance. @@ -756,16 +749,19 @@ public final class TimeSeriesDatabaseConnectionsCreateOrUpdateSamples { "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.Kusto/clusters/mycluster") .withAdxEndpointUri("https://mycluster.kusto.windows.net") .withAdxDatabaseName("myDatabase") - .withAdxTableName("myTable") + .withAdxTableName("myPropertyUpdatesTable") + .withAdxTwinLifecycleEventsTableName("myTwinLifecycleEventsTable") + .withAdxRelationshipLifecycleEventsTableName("myRelationshipLifecycleEventsTable") .withEventHubEndpointUri("sb://myeh.servicebus.windows.net/") .withEventHubEntityPath("myeh") .withEventHubNamespaceResourceId( - "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.EventHub/namespaces/myeh")) + "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.EventHub/namespaces/myeh") + .withRecordPropertyAndItemRemovals(RecordPropertyAndItemRemovals.TRUE)) .create(); } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/TimeSeriesDatabaseConnectionsPut_WithUserIdentity_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_WithUserIdentity_example.json */ /** * Sample code: Create or replace a time series database connection for a DigitalTwins instance with user assigned @@ -803,12 +799,10 @@ public final class TimeSeriesDatabaseConnectionsCreateOrUpdateSamples { ### TimeSeriesDatabaseConnections_Delete ```java -import com.azure.core.util.Context; - /** Samples for TimeSeriesDatabaseConnections Delete. */ public final class TimeSeriesDatabaseConnectionsDeleteSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/TimeSeriesDatabaseConnectionsDelete_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsDelete_example.json */ /** * Sample code: Delete a time series database connection for a DigitalTwins instance. @@ -817,7 +811,9 @@ public final class TimeSeriesDatabaseConnectionsDeleteSamples { */ public static void deleteATimeSeriesDatabaseConnectionForADigitalTwinsInstance( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.timeSeriesDatabaseConnections().delete("resRg", "myDigitalTwinsService", "myConnection", Context.NONE); + manager + .timeSeriesDatabaseConnections() + .delete("resRg", "myDigitalTwinsService", "myConnection", null, com.azure.core.util.Context.NONE); } } ``` @@ -825,12 +821,10 @@ public final class TimeSeriesDatabaseConnectionsDeleteSamples { ### TimeSeriesDatabaseConnections_Get ```java -import com.azure.core.util.Context; - /** Samples for TimeSeriesDatabaseConnections Get. */ public final class TimeSeriesDatabaseConnectionsGetSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/TimeSeriesDatabaseConnectionsGet_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsGet_example.json */ /** * Sample code: Get time series database connection for a DigitalTwins instance. @@ -841,7 +835,7 @@ public final class TimeSeriesDatabaseConnectionsGetSamples { com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { manager .timeSeriesDatabaseConnections() - .getWithResponse("resRg", "myDigitalTwinsService", "myConnection", Context.NONE); + .getWithResponse("resRg", "myDigitalTwinsService", "myConnection", com.azure.core.util.Context.NONE); } } ``` @@ -849,12 +843,10 @@ public final class TimeSeriesDatabaseConnectionsGetSamples { ### TimeSeriesDatabaseConnections_List ```java -import com.azure.core.util.Context; - /** Samples for TimeSeriesDatabaseConnections List. */ public final class TimeSeriesDatabaseConnectionsListSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/TimeSeriesDatabaseConnectionsList_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsList_example.json */ /** * Sample code: List time series database connections for a DigitalTwins instance. @@ -863,7 +855,9 @@ public final class TimeSeriesDatabaseConnectionsListSamples { */ public static void listTimeSeriesDatabaseConnectionsForADigitalTwinsInstance( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.timeSeriesDatabaseConnections().list("resRg", "myDigitalTwinsService", Context.NONE); + manager + .timeSeriesDatabaseConnections() + .list("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE); } } ``` diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/pom.xml b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/pom.xml index dc95ad0d8f4f..ff14ed232dd0 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/pom.xml +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/pom.xml @@ -1,3 +1,8 @@ + 4.0.0 @@ -9,11 +14,11 @@ com.azure.resourcemanager azure-resourcemanager-digitaltwins - 1.2.0-beta.2 + 1.2.0 jar Microsoft Azure SDK for AzureDigitalTwins Management - This package contains Microsoft Azure SDK for AzureDigitalTwins Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure Digital Twins Client for managing DigitalTwinsInstance. Package tag package-2022-10. + This package contains Microsoft Azure SDK for AzureDigitalTwins Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure Digital Twins Client for managing DigitalTwinsInstance. Package tag package-2023-01. https://github.com/Azure/azure-sdk-for-java @@ -38,10 +43,12 @@ UTF-8 - true + 0 + 0 --add-exports com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED + true diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/AzureDigitalTwinsManager.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/AzureDigitalTwinsManager.java index 876bcd856165..f4538f33fa64 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/AzureDigitalTwinsManager.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/AzureDigitalTwinsManager.java @@ -223,7 +223,7 @@ public AzureDigitalTwinsManager authenticate(TokenCredential credential, AzurePr .append("-") .append("com.azure.resourcemanager.digitaltwins") .append("/") - .append("1.1.0"); + .append("1.2.0"); if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) { userAgentBuilder .append(" (") diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/fluent/TimeSeriesDatabaseConnectionsClient.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/fluent/TimeSeriesDatabaseConnectionsClient.java index 2a6ffe4bbdcd..746bd292fa62 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/fluent/TimeSeriesDatabaseConnectionsClient.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/fluent/TimeSeriesDatabaseConnectionsClient.java @@ -12,6 +12,7 @@ import com.azure.core.util.Context; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.digitaltwins.fluent.models.TimeSeriesDatabaseConnectionInner; +import com.azure.resourcemanager.digitaltwins.models.CleanupConnectionArtifacts; /** An instance of this class provides access to all the operations defined in TimeSeriesDatabaseConnectionsClient. */ public interface TimeSeriesDatabaseConnectionsClient { @@ -177,6 +178,9 @@ SyncPoller, TimeSeriesDatabaseConn * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance. * @param resourceName The name of the DigitalTwinsInstance. * @param timeSeriesDatabaseConnectionName Name of time series database connection. + * @param cleanupConnectionArtifacts Specifies whether or not to attempt to clean up artifacts that were created in + * order to establish a connection to the time series database. This is a best-effort attempt that will fail if + * appropriate permissions are not in place. Setting this to 'true' does not delete any recorded data. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -185,7 +189,11 @@ SyncPoller, TimeSeriesDatabaseConn */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, TimeSeriesDatabaseConnectionInner> beginDelete( - String resourceGroupName, String resourceName, String timeSeriesDatabaseConnectionName, Context context); + String resourceGroupName, + String resourceName, + String timeSeriesDatabaseConnectionName, + CleanupConnectionArtifacts cleanupConnectionArtifacts, + Context context); /** * Delete a time series database connection. @@ -208,6 +216,9 @@ TimeSeriesDatabaseConnectionInner delete( * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance. * @param resourceName The name of the DigitalTwinsInstance. * @param timeSeriesDatabaseConnectionName Name of time series database connection. + * @param cleanupConnectionArtifacts Specifies whether or not to attempt to clean up artifacts that were created in + * order to establish a connection to the time series database. This is a best-effort attempt that will fail if + * appropriate permissions are not in place. Setting this to 'true' does not delete any recorded data. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -216,5 +227,9 @@ TimeSeriesDatabaseConnectionInner delete( */ @ServiceMethod(returns = ReturnType.SINGLE) TimeSeriesDatabaseConnectionInner delete( - String resourceGroupName, String resourceName, String timeSeriesDatabaseConnectionName, Context context); + String resourceGroupName, + String resourceName, + String timeSeriesDatabaseConnectionName, + CleanupConnectionArtifacts cleanupConnectionArtifacts, + Context context); } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/AzureDigitalTwinsManagementClientImpl.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/AzureDigitalTwinsManagementClientImpl.java index 7c9d9a934bd0..bf76cd4958fc 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/AzureDigitalTwinsManagementClientImpl.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/AzureDigitalTwinsManagementClientImpl.java @@ -207,7 +207,7 @@ public TimeSeriesDatabaseConnectionsClient getTimeSeriesDatabaseConnections() { this.defaultPollInterval = defaultPollInterval; this.subscriptionId = subscriptionId; this.endpoint = endpoint; - this.apiVersion = "2022-10-31"; + this.apiVersion = "2023-01-31"; this.digitalTwins = new DigitalTwinsClientImpl(this); this.digitalTwinsEndpoints = new DigitalTwinsEndpointsClientImpl(this); this.operations = new OperationsClientImpl(this); diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/DigitalTwinsClientImpl.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/DigitalTwinsClientImpl.java index d41542c1ebe5..61024501b669 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/DigitalTwinsClientImpl.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/DigitalTwinsClientImpl.java @@ -71,8 +71,7 @@ public final class DigitalTwinsClientImpl implements DigitalTwinsClient { public interface DigitalTwinsService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins" - + "/digitalTwinsInstances/{resourceName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> getByResourceGroup( @@ -86,8 +85,7 @@ Mono> getByResourceGroup( @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins" - + "/digitalTwinsInstances/{resourceName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}") @ExpectedResponses({200, 201}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> createOrUpdate( @@ -102,8 +100,7 @@ Mono>> createOrUpdate( @Headers({"Content-Type: application/json"}) @Patch( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins" - + "/digitalTwinsInstances/{resourceName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}") @ExpectedResponses({200, 202}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> update( @@ -118,8 +115,7 @@ Mono>> update( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins" - + "/digitalTwinsInstances/{resourceName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}") @ExpectedResponses({200, 202, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> delete( @@ -144,8 +140,7 @@ Mono> list( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins" - + "/digitalTwinsInstances") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> listByResourceGroup( @@ -158,8 +153,7 @@ Mono> listByResourceGroup( @Headers({"Content-Type: application/json"}) @Post( - "/subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/locations/{location}" - + "/checkNameAvailability") + "/subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/locations/{location}/checkNameAvailability") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> checkNameAvailability( @@ -530,7 +524,7 @@ private PollerFlux, DigitalTwinsDescrip @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, DigitalTwinsDescriptionInner> beginCreateOrUpdate( String resourceGroupName, String resourceName, DigitalTwinsDescriptionInner digitalTwinsCreate) { - return beginCreateOrUpdateAsync(resourceGroupName, resourceName, digitalTwinsCreate).getSyncPoller(); + return this.beginCreateOrUpdateAsync(resourceGroupName, resourceName, digitalTwinsCreate).getSyncPoller(); } /** @@ -553,7 +547,9 @@ public SyncPoller, DigitalTwinsDescript String resourceName, DigitalTwinsDescriptionInner digitalTwinsCreate, Context context) { - return beginCreateOrUpdateAsync(resourceGroupName, resourceName, digitalTwinsCreate, context).getSyncPoller(); + return this + .beginCreateOrUpdateAsync(resourceGroupName, resourceName, digitalTwinsCreate, context) + .getSyncPoller(); } /** @@ -834,7 +830,7 @@ private PollerFlux, DigitalTwinsDescrip @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, DigitalTwinsDescriptionInner> beginUpdate( String resourceGroupName, String resourceName, DigitalTwinsPatchDescription digitalTwinsPatchDescription) { - return beginUpdateAsync(resourceGroupName, resourceName, digitalTwinsPatchDescription).getSyncPoller(); + return this.beginUpdateAsync(resourceGroupName, resourceName, digitalTwinsPatchDescription).getSyncPoller(); } /** @@ -855,7 +851,9 @@ public SyncPoller, DigitalTwinsDescript String resourceName, DigitalTwinsPatchDescription digitalTwinsPatchDescription, Context context) { - return beginUpdateAsync(resourceGroupName, resourceName, digitalTwinsPatchDescription, context).getSyncPoller(); + return this + .beginUpdateAsync(resourceGroupName, resourceName, digitalTwinsPatchDescription, context) + .getSyncPoller(); } /** @@ -1096,7 +1094,7 @@ private PollerFlux, DigitalTwinsDescrip @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, DigitalTwinsDescriptionInner> beginDelete( String resourceGroupName, String resourceName) { - return beginDeleteAsync(resourceGroupName, resourceName).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, resourceName).getSyncPoller(); } /** @@ -1113,7 +1111,7 @@ public SyncPoller, DigitalTwinsDescript @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, DigitalTwinsDescriptionInner> beginDelete( String resourceGroupName, String resourceName, Context context) { - return beginDeleteAsync(resourceGroupName, resourceName, context).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, resourceName, context).getSyncPoller(); } /** diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/DigitalTwinsEndpointsClientImpl.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/DigitalTwinsEndpointsClientImpl.java index 0624517e3721..611899b3498c 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/DigitalTwinsEndpointsClientImpl.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/DigitalTwinsEndpointsClientImpl.java @@ -67,8 +67,7 @@ public final class DigitalTwinsEndpointsClientImpl implements DigitalTwinsEndpoi public interface DigitalTwinsEndpointsService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins" - + "/digitalTwinsInstances/{resourceName}/endpoints") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> list( @@ -82,8 +81,7 @@ Mono> list( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins" - + "/digitalTwinsInstances/{resourceName}/endpoints/{endpointName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints/{endpointName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( @@ -98,8 +96,7 @@ Mono> get( @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins" - + "/digitalTwinsInstances/{resourceName}/endpoints/{endpointName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints/{endpointName}") @ExpectedResponses({200, 201}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> createOrUpdate( @@ -115,8 +112,7 @@ Mono>> createOrUpdate( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins" - + "/digitalTwinsInstances/{resourceName}/endpoints/{endpointName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints/{endpointName}") @ExpectedResponses({200, 202, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> delete( @@ -689,7 +685,8 @@ private Mono>> createOrUpdateWithResponseAsync( String resourceName, String endpointName, DigitalTwinsEndpointResourceInner endpointDescription) { - return beginCreateOrUpdateAsync(resourceGroupName, resourceName, endpointName, endpointDescription) + return this + .beginCreateOrUpdateAsync(resourceGroupName, resourceName, endpointName, endpointDescription) .getSyncPoller(); } @@ -714,7 +711,8 @@ private Mono>> createOrUpdateWithResponseAsync( String endpointName, DigitalTwinsEndpointResourceInner endpointDescription, Context context) { - return beginCreateOrUpdateAsync(resourceGroupName, resourceName, endpointName, endpointDescription, context) + return this + .beginCreateOrUpdateAsync(resourceGroupName, resourceName, endpointName, endpointDescription, context) .getSyncPoller(); } @@ -983,7 +981,7 @@ private Mono>> deleteWithResponseAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, DigitalTwinsEndpointResourceInner> beginDelete( String resourceGroupName, String resourceName, String endpointName) { - return beginDeleteAsync(resourceGroupName, resourceName, endpointName).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, resourceName, endpointName).getSyncPoller(); } /** @@ -1001,7 +999,7 @@ public SyncPoller, DigitalTwinsEnd @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, DigitalTwinsEndpointResourceInner> beginDelete( String resourceGroupName, String resourceName, String endpointName, Context context) { - return beginDeleteAsync(resourceGroupName, resourceName, endpointName, context).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, resourceName, endpointName, context).getSyncPoller(); } /** diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/PrivateEndpointConnectionsClientImpl.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/PrivateEndpointConnectionsClientImpl.java index 9a7f13d4df3c..f5eb87da73cd 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/PrivateEndpointConnectionsClientImpl.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/PrivateEndpointConnectionsClientImpl.java @@ -64,8 +64,7 @@ public final class PrivateEndpointConnectionsClientImpl implements PrivateEndpoi public interface PrivateEndpointConnectionsService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins" - + "/digitalTwinsInstances/{resourceName}/privateEndpointConnections") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> list( @@ -79,8 +78,7 @@ Mono> list( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins" - + "/digitalTwinsInstances/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( @@ -95,8 +93,7 @@ Mono> get( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins" - + "/digitalTwinsInstances/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}") @ExpectedResponses({200, 202, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> delete( @@ -111,8 +108,7 @@ Mono>> delete( @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins" - + "/digitalTwinsInstances/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}") @ExpectedResponses({200, 202}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> createOrUpdate( @@ -605,7 +601,7 @@ private PollerFlux, Void> beginDeleteAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String resourceName, String privateEndpointConnectionName) { - return beginDeleteAsync(resourceGroupName, resourceName, privateEndpointConnectionName).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, resourceName, privateEndpointConnectionName).getSyncPoller(); } /** @@ -623,7 +619,8 @@ public SyncPoller, Void> beginDelete( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String resourceName, String privateEndpointConnectionName, Context context) { - return beginDeleteAsync(resourceGroupName, resourceName, privateEndpointConnectionName, context) + return this + .beginDeleteAsync(resourceGroupName, resourceName, privateEndpointConnectionName, context) .getSyncPoller(); } @@ -922,7 +919,8 @@ public SyncPoller, PrivateEndpointCon String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection) { - return beginCreateOrUpdateAsync( + return this + .beginCreateOrUpdateAsync( resourceGroupName, resourceName, privateEndpointConnectionName, privateEndpointConnection) .getSyncPoller(); } @@ -947,7 +945,8 @@ public SyncPoller, PrivateEndpointCon String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection, Context context) { - return beginCreateOrUpdateAsync( + return this + .beginCreateOrUpdateAsync( resourceGroupName, resourceName, privateEndpointConnectionName, privateEndpointConnection, context) .getSyncPoller(); } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/PrivateLinkResourcesClientImpl.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/PrivateLinkResourcesClientImpl.java index b3a137ffc631..a08cae69528c 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/PrivateLinkResourcesClientImpl.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/PrivateLinkResourcesClientImpl.java @@ -55,8 +55,7 @@ public final class PrivateLinkResourcesClientImpl implements PrivateLinkResource public interface PrivateLinkResourcesService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins" - + "/digitalTwinsInstances/{resourceName}/privateLinkResources") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateLinkResources") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> list( @@ -70,8 +69,7 @@ Mono> list( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins" - + "/digitalTwinsInstances/{resourceName}/privateLinkResources/{resourceId}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/privateLinkResources/{resourceId}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/TimeSeriesDatabaseConnectionsClientImpl.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/TimeSeriesDatabaseConnectionsClientImpl.java index 3530f242114a..56d4c912447f 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/TimeSeriesDatabaseConnectionsClientImpl.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/TimeSeriesDatabaseConnectionsClientImpl.java @@ -33,6 +33,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.digitaltwins.fluent.TimeSeriesDatabaseConnectionsClient; import com.azure.resourcemanager.digitaltwins.fluent.models.TimeSeriesDatabaseConnectionInner; +import com.azure.resourcemanager.digitaltwins.models.CleanupConnectionArtifacts; import com.azure.resourcemanager.digitaltwins.models.TimeSeriesDatabaseConnectionListResult; import java.nio.ByteBuffer; import reactor.core.publisher.Flux; @@ -70,8 +71,7 @@ public final class TimeSeriesDatabaseConnectionsClientImpl implements TimeSeries public interface TimeSeriesDatabaseConnectionsService { @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins" - + "/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> list( @@ -85,9 +85,7 @@ Mono> list( @Headers({"Content-Type: application/json"}) @Get( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins" - + "/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections" - + "/{timeSeriesDatabaseConnectionName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections/{timeSeriesDatabaseConnectionName}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(ManagementException.class) Mono> get( @@ -102,9 +100,7 @@ Mono> get( @Headers({"Content-Type: application/json"}) @Put( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins" - + "/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections" - + "/{timeSeriesDatabaseConnectionName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections/{timeSeriesDatabaseConnectionName}") @ExpectedResponses({200, 201}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> createOrUpdate( @@ -120,9 +116,7 @@ Mono>> createOrUpdate( @Headers({"Content-Type: application/json"}) @Delete( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins" - + "/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections" - + "/{timeSeriesDatabaseConnectionName}") + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections/{timeSeriesDatabaseConnectionName}") @ExpectedResponses({200, 202, 204}) @UnexpectedResponseExceptionType(ManagementException.class) Mono>> delete( @@ -132,6 +126,7 @@ Mono>> delete( @PathParam("resourceGroupName") String resourceGroupName, @PathParam("resourceName") String resourceName, @PathParam("timeSeriesDatabaseConnectionName") String timeSeriesDatabaseConnectionName, + @QueryParam("cleanupConnectionArtifacts") CleanupConnectionArtifacts cleanupConnectionArtifacts, @HeaderParam("Accept") String accept, Context context); @@ -729,7 +724,8 @@ private Mono>> createOrUpdateWithResponseAsync( String resourceName, String timeSeriesDatabaseConnectionName, TimeSeriesDatabaseConnectionInner timeSeriesDatabaseConnectionDescription) { - return beginCreateOrUpdateAsync( + return this + .beginCreateOrUpdateAsync( resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, @@ -758,7 +754,8 @@ private Mono>> createOrUpdateWithResponseAsync( String timeSeriesDatabaseConnectionName, TimeSeriesDatabaseConnectionInner timeSeriesDatabaseConnectionDescription, Context context) { - return beginCreateOrUpdateAsync( + return this + .beginCreateOrUpdateAsync( resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, @@ -885,6 +882,9 @@ public TimeSeriesDatabaseConnectionInner createOrUpdate( * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance. * @param resourceName The name of the DigitalTwinsInstance. * @param timeSeriesDatabaseConnectionName Name of time series database connection. + * @param cleanupConnectionArtifacts Specifies whether or not to attempt to clean up artifacts that were created in + * order to establish a connection to the time series database. This is a best-effort attempt that will fail if + * appropriate permissions are not in place. Setting this to 'true' does not delete any recorded data. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -893,7 +893,10 @@ public TimeSeriesDatabaseConnectionInner createOrUpdate( */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> deleteWithResponseAsync( - String resourceGroupName, String resourceName, String timeSeriesDatabaseConnectionName) { + String resourceGroupName, + String resourceName, + String timeSeriesDatabaseConnectionName, + CleanupConnectionArtifacts cleanupConnectionArtifacts) { if (this.client.getEndpoint() == null) { return Mono .error( @@ -931,6 +934,7 @@ private Mono>> deleteWithResponseAsync( resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, + cleanupConnectionArtifacts, accept, context)) .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); @@ -942,6 +946,9 @@ private Mono>> deleteWithResponseAsync( * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance. * @param resourceName The name of the DigitalTwinsInstance. * @param timeSeriesDatabaseConnectionName Name of time series database connection. + * @param cleanupConnectionArtifacts Specifies whether or not to attempt to clean up artifacts that were created in + * order to establish a connection to the time series database. This is a best-effort attempt that will fail if + * appropriate permissions are not in place. Setting this to 'true' does not delete any recorded data. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -951,7 +958,11 @@ private Mono>> deleteWithResponseAsync( */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> deleteWithResponseAsync( - String resourceGroupName, String resourceName, String timeSeriesDatabaseConnectionName, Context context) { + String resourceGroupName, + String resourceName, + String timeSeriesDatabaseConnectionName, + CleanupConnectionArtifacts cleanupConnectionArtifacts, + Context context) { if (this.client.getEndpoint() == null) { return Mono .error( @@ -987,10 +998,45 @@ private Mono>> deleteWithResponseAsync( resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, + cleanupConnectionArtifacts, accept, context); } + /** + * Delete a time series database connection. + * + * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance. + * @param resourceName The name of the DigitalTwinsInstance. + * @param timeSeriesDatabaseConnectionName Name of time series database connection. + * @param cleanupConnectionArtifacts Specifies whether or not to attempt to clean up artifacts that were created in + * order to establish a connection to the time series database. This is a best-effort attempt that will fail if + * appropriate permissions are not in place. Setting this to 'true' does not delete any recorded data. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of describes a time series database connection resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, TimeSeriesDatabaseConnectionInner> + beginDeleteAsync( + String resourceGroupName, + String resourceName, + String timeSeriesDatabaseConnectionName, + CleanupConnectionArtifacts cleanupConnectionArtifacts) { + Mono>> mono = + deleteWithResponseAsync( + resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, cleanupConnectionArtifacts); + return this + .client + .getLroResult( + mono, + this.client.getHttpPipeline(), + TimeSeriesDatabaseConnectionInner.class, + TimeSeriesDatabaseConnectionInner.class, + this.client.getContext()); + } + /** * Delete a time series database connection. * @@ -1005,8 +1051,10 @@ private Mono>> deleteWithResponseAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, TimeSeriesDatabaseConnectionInner> beginDeleteAsync(String resourceGroupName, String resourceName, String timeSeriesDatabaseConnectionName) { + final CleanupConnectionArtifacts cleanupConnectionArtifacts = null; Mono>> mono = - deleteWithResponseAsync(resourceGroupName, resourceName, timeSeriesDatabaseConnectionName); + deleteWithResponseAsync( + resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, cleanupConnectionArtifacts); return this .client .getLroResult( @@ -1023,6 +1071,9 @@ private Mono>> deleteWithResponseAsync( * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance. * @param resourceName The name of the DigitalTwinsInstance. * @param timeSeriesDatabaseConnectionName Name of time series database connection. + * @param cleanupConnectionArtifacts Specifies whether or not to attempt to clean up artifacts that were created in + * order to establish a connection to the time series database. This is a best-effort attempt that will fail if + * appropriate permissions are not in place. Setting this to 'true' does not delete any recorded data. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1032,10 +1083,15 @@ private Mono>> deleteWithResponseAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, TimeSeriesDatabaseConnectionInner> beginDeleteAsync( - String resourceGroupName, String resourceName, String timeSeriesDatabaseConnectionName, Context context) { + String resourceGroupName, + String resourceName, + String timeSeriesDatabaseConnectionName, + CleanupConnectionArtifacts cleanupConnectionArtifacts, + Context context) { context = this.client.mergeContext(context); Mono>> mono = - deleteWithResponseAsync(resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, context); + deleteWithResponseAsync( + resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, cleanupConnectionArtifacts, context); return this .client .getLroResult( @@ -1060,7 +1116,11 @@ private Mono>> deleteWithResponseAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, TimeSeriesDatabaseConnectionInner> beginDelete( String resourceGroupName, String resourceName, String timeSeriesDatabaseConnectionName) { - return beginDeleteAsync(resourceGroupName, resourceName, timeSeriesDatabaseConnectionName).getSyncPoller(); + final CleanupConnectionArtifacts cleanupConnectionArtifacts = null; + return this + .beginDeleteAsync( + resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, cleanupConnectionArtifacts) + .getSyncPoller(); } /** @@ -1069,6 +1129,9 @@ public SyncPoller, TimeSeriesDatab * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance. * @param resourceName The name of the DigitalTwinsInstance. * @param timeSeriesDatabaseConnectionName Name of time series database connection. + * @param cleanupConnectionArtifacts Specifies whether or not to attempt to clean up artifacts that were created in + * order to establish a connection to the time series database. This is a best-effort attempt that will fail if + * appropriate permissions are not in place. Setting this to 'true' does not delete any recorded data. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1077,11 +1140,43 @@ public SyncPoller, TimeSeriesDatab */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, TimeSeriesDatabaseConnectionInner> beginDelete( - String resourceGroupName, String resourceName, String timeSeriesDatabaseConnectionName, Context context) { - return beginDeleteAsync(resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, context) + String resourceGroupName, + String resourceName, + String timeSeriesDatabaseConnectionName, + CleanupConnectionArtifacts cleanupConnectionArtifacts, + Context context) { + return this + .beginDeleteAsync( + resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, cleanupConnectionArtifacts, context) .getSyncPoller(); } + /** + * Delete a time series database connection. + * + * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance. + * @param resourceName The name of the DigitalTwinsInstance. + * @param timeSeriesDatabaseConnectionName Name of time series database connection. + * @param cleanupConnectionArtifacts Specifies whether or not to attempt to clean up artifacts that were created in + * order to establish a connection to the time series database. This is a best-effort attempt that will fail if + * appropriate permissions are not in place. Setting this to 'true' does not delete any recorded data. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return describes a time series database connection resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono deleteAsync( + String resourceGroupName, + String resourceName, + String timeSeriesDatabaseConnectionName, + CleanupConnectionArtifacts cleanupConnectionArtifacts) { + return beginDeleteAsync( + resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, cleanupConnectionArtifacts) + .last() + .flatMap(this.client::getLroFinalResultOrError); + } + /** * Delete a time series database connection. * @@ -1096,7 +1191,9 @@ public SyncPoller, TimeSeriesDatab @ServiceMethod(returns = ReturnType.SINGLE) private Mono deleteAsync( String resourceGroupName, String resourceName, String timeSeriesDatabaseConnectionName) { - return beginDeleteAsync(resourceGroupName, resourceName, timeSeriesDatabaseConnectionName) + final CleanupConnectionArtifacts cleanupConnectionArtifacts = null; + return beginDeleteAsync( + resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, cleanupConnectionArtifacts) .last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1107,6 +1204,9 @@ private Mono deleteAsync( * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance. * @param resourceName The name of the DigitalTwinsInstance. * @param timeSeriesDatabaseConnectionName Name of time series database connection. + * @param cleanupConnectionArtifacts Specifies whether or not to attempt to clean up artifacts that were created in + * order to establish a connection to the time series database. This is a best-effort attempt that will fail if + * appropriate permissions are not in place. Setting this to 'true' does not delete any recorded data. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1115,8 +1215,13 @@ private Mono deleteAsync( */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono deleteAsync( - String resourceGroupName, String resourceName, String timeSeriesDatabaseConnectionName, Context context) { - return beginDeleteAsync(resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, context) + String resourceGroupName, + String resourceName, + String timeSeriesDatabaseConnectionName, + CleanupConnectionArtifacts cleanupConnectionArtifacts, + Context context) { + return beginDeleteAsync( + resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, cleanupConnectionArtifacts, context) .last() .flatMap(this.client::getLroFinalResultOrError); } @@ -1135,7 +1240,10 @@ private Mono deleteAsync( @ServiceMethod(returns = ReturnType.SINGLE) public TimeSeriesDatabaseConnectionInner delete( String resourceGroupName, String resourceName, String timeSeriesDatabaseConnectionName) { - return deleteAsync(resourceGroupName, resourceName, timeSeriesDatabaseConnectionName).block(); + final CleanupConnectionArtifacts cleanupConnectionArtifacts = null; + return deleteAsync( + resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, cleanupConnectionArtifacts) + .block(); } /** @@ -1144,6 +1252,9 @@ public TimeSeriesDatabaseConnectionInner delete( * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance. * @param resourceName The name of the DigitalTwinsInstance. * @param timeSeriesDatabaseConnectionName Name of time series database connection. + * @param cleanupConnectionArtifacts Specifies whether or not to attempt to clean up artifacts that were created in + * order to establish a connection to the time series database. This is a best-effort attempt that will fail if + * appropriate permissions are not in place. Setting this to 'true' does not delete any recorded data. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -1152,8 +1263,14 @@ public TimeSeriesDatabaseConnectionInner delete( */ @ServiceMethod(returns = ReturnType.SINGLE) public TimeSeriesDatabaseConnectionInner delete( - String resourceGroupName, String resourceName, String timeSeriesDatabaseConnectionName, Context context) { - return deleteAsync(resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, context).block(); + String resourceGroupName, + String resourceName, + String timeSeriesDatabaseConnectionName, + CleanupConnectionArtifacts cleanupConnectionArtifacts, + Context context) { + return deleteAsync( + resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, cleanupConnectionArtifacts, context) + .block(); } /** diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/TimeSeriesDatabaseConnectionsImpl.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/TimeSeriesDatabaseConnectionsImpl.java index a118a9b35122..a7751a25bb4f 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/TimeSeriesDatabaseConnectionsImpl.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/implementation/TimeSeriesDatabaseConnectionsImpl.java @@ -11,6 +11,7 @@ import com.azure.core.util.logging.ClientLogger; import com.azure.resourcemanager.digitaltwins.fluent.TimeSeriesDatabaseConnectionsClient; import com.azure.resourcemanager.digitaltwins.fluent.models.TimeSeriesDatabaseConnectionInner; +import com.azure.resourcemanager.digitaltwins.models.CleanupConnectionArtifacts; import com.azure.resourcemanager.digitaltwins.models.TimeSeriesDatabaseConnection; import com.azure.resourcemanager.digitaltwins.models.TimeSeriesDatabaseConnections; @@ -81,9 +82,20 @@ public TimeSeriesDatabaseConnection delete( } public TimeSeriesDatabaseConnection delete( - String resourceGroupName, String resourceName, String timeSeriesDatabaseConnectionName, Context context) { + String resourceGroupName, + String resourceName, + String timeSeriesDatabaseConnectionName, + CleanupConnectionArtifacts cleanupConnectionArtifacts, + Context context) { TimeSeriesDatabaseConnectionInner inner = - this.serviceClient().delete(resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, context); + this + .serviceClient() + .delete( + resourceGroupName, + resourceName, + timeSeriesDatabaseConnectionName, + cleanupConnectionArtifacts, + context); if (inner != null) { return new TimeSeriesDatabaseConnectionImpl(inner, this.manager()); } else { @@ -189,10 +201,18 @@ public TimeSeriesDatabaseConnection deleteById(String id) { + " 'timeSeriesDatabaseConnections'.", id))); } - return this.delete(resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, Context.NONE); + CleanupConnectionArtifacts localCleanupConnectionArtifacts = null; + return this + .delete( + resourceGroupName, + resourceName, + timeSeriesDatabaseConnectionName, + localCleanupConnectionArtifacts, + Context.NONE); } - public TimeSeriesDatabaseConnection deleteByIdWithResponse(String id, Context context) { + public TimeSeriesDatabaseConnection deleteByIdWithResponse( + String id, CleanupConnectionArtifacts cleanupConnectionArtifacts, Context context) { String resourceGroupName = Utils.getValueFromIdByName(id, "resourceGroups"); if (resourceGroupName == null) { throw LOGGER @@ -222,7 +242,9 @@ public TimeSeriesDatabaseConnection deleteByIdWithResponse(String id, Context co + " 'timeSeriesDatabaseConnections'.", id))); } - return this.delete(resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, context); + return this + .delete( + resourceGroupName, resourceName, timeSeriesDatabaseConnectionName, cleanupConnectionArtifacts, context); } private TimeSeriesDatabaseConnectionsClient serviceClient() { diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/AuthenticationType.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/AuthenticationType.java index db366bd1699e..d5edeb14bf92 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/AuthenticationType.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/AuthenticationType.java @@ -20,6 +20,15 @@ public final class AuthenticationType extends ExpandableStringEnum { + /** Static value true for CleanupConnectionArtifacts. */ + public static final CleanupConnectionArtifacts TRUE = fromString("true"); + + /** Static value false for CleanupConnectionArtifacts. */ + public static final CleanupConnectionArtifacts FALSE = fromString("false"); + + /** + * Creates a new instance of CleanupConnectionArtifacts value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public CleanupConnectionArtifacts() { + } + + /** + * Creates or finds a CleanupConnectionArtifacts from its string representation. + * + * @param name a name to look for. + * @return the corresponding CleanupConnectionArtifacts. + */ + @JsonCreator + public static CleanupConnectionArtifacts fromString(String name) { + return fromString(name, CleanupConnectionArtifacts.class); + } + + /** + * Gets known CleanupConnectionArtifacts values. + * + * @return known CleanupConnectionArtifacts values. + */ + public static Collection values() { + return values(CleanupConnectionArtifacts.class); + } +} diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/ConnectionPropertiesProvisioningState.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/ConnectionPropertiesProvisioningState.java index bdf168261715..0c118de91c84 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/ConnectionPropertiesProvisioningState.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/ConnectionPropertiesProvisioningState.java @@ -23,6 +23,15 @@ public final class ConnectionPropertiesProvisioningState /** Static value Disconnected for ConnectionPropertiesProvisioningState. */ public static final ConnectionPropertiesProvisioningState DISCONNECTED = fromString("Disconnected"); + /** + * Creates a new instance of ConnectionPropertiesProvisioningState value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ConnectionPropertiesProvisioningState() { + } + /** * Creates or finds a ConnectionPropertiesProvisioningState from its string representation. * diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/ConnectionType.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/ConnectionType.java index c0117b1a8858..c7ff29a22cd5 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/ConnectionType.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/ConnectionType.java @@ -13,6 +13,15 @@ public final class ConnectionType extends ExpandableStringEnum { /** Static value AzureDataExplorer for ConnectionType. */ public static final ConnectionType AZURE_DATA_EXPLORER = fromString("AzureDataExplorer"); + /** + * Creates a new instance of ConnectionType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ConnectionType() { + } + /** * Creates or finds a ConnectionType from its string representation. * diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/DigitalTwinsIdentity.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/DigitalTwinsIdentity.java index 67062be4601d..05fd481c9dd7 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/DigitalTwinsIdentity.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/DigitalTwinsIdentity.java @@ -11,7 +11,7 @@ /** The managed identity for the DigitalTwinsInstance. */ @Fluent -public class DigitalTwinsIdentity { +public final class DigitalTwinsIdentity { /* * The type of Managed Identity used by the DigitalTwinsInstance. */ diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/DigitalTwinsIdentityType.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/DigitalTwinsIdentityType.java index adc61f789b71..9f613aedcdb1 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/DigitalTwinsIdentityType.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/DigitalTwinsIdentityType.java @@ -23,6 +23,15 @@ public final class DigitalTwinsIdentityType extends ExpandableStringEnum { /** Static value ServiceBus for EndpointType. */ public static final EndpointType SERVICE_BUS = fromString("ServiceBus"); + /** + * Creates a new instance of EndpointType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public EndpointType() { + } + /** * Creates or finds a EndpointType from its string representation. * diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/IdentityType.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/IdentityType.java index 6d45a8c614b9..2a44fce32c0a 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/IdentityType.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/IdentityType.java @@ -16,6 +16,15 @@ public final class IdentityType extends ExpandableStringEnum { /** Static value UserAssigned for IdentityType. */ public static final IdentityType USER_ASSIGNED = fromString("UserAssigned"); + /** + * Creates a new instance of IdentityType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public IdentityType() { + } + /** * Creates or finds a IdentityType from its string representation. * diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/PrivateLinkServiceConnectionStatus.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/PrivateLinkServiceConnectionStatus.java index 665d2309c056..8743c40cfaa6 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/PrivateLinkServiceConnectionStatus.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/PrivateLinkServiceConnectionStatus.java @@ -22,6 +22,15 @@ public final class PrivateLinkServiceConnectionStatus extends ExpandableStringEn /** Static value Disconnected for PrivateLinkServiceConnectionStatus. */ public static final PrivateLinkServiceConnectionStatus DISCONNECTED = fromString("Disconnected"); + /** + * Creates a new instance of PrivateLinkServiceConnectionStatus value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public PrivateLinkServiceConnectionStatus() { + } + /** * Creates or finds a PrivateLinkServiceConnectionStatus from its string representation. * diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/ProvisioningState.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/ProvisioningState.java index 25a3acc46a5f..f8150542b88e 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/ProvisioningState.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/ProvisioningState.java @@ -43,6 +43,15 @@ public final class ProvisioningState extends ExpandableStringEnum { /** Static value AlreadyExists for Reason. */ public static final Reason ALREADY_EXISTS = fromString("AlreadyExists"); + /** + * Creates a new instance of Reason value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public Reason() { + } + /** * Creates or finds a Reason from its string representation. * diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/RecordPropertyAndItemRemovals.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/RecordPropertyAndItemRemovals.java new file mode 100644 index 000000000000..ca06a927443a --- /dev/null +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/RecordPropertyAndItemRemovals.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.digitaltwins.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** + * Specifies whether or not to record twin / relationship property and item removals, including removals of indexed or + * keyed values (such as map entries, array elements, etc.). This feature is de-activated unless explicitly set to + * 'true'. Setting this property to 'true' will generate an additional column in the property events table in ADX. + */ +public final class RecordPropertyAndItemRemovals extends ExpandableStringEnum { + /** Static value true for RecordPropertyAndItemRemovals. */ + public static final RecordPropertyAndItemRemovals TRUE = fromString("true"); + + /** Static value false for RecordPropertyAndItemRemovals. */ + public static final RecordPropertyAndItemRemovals FALSE = fromString("false"); + + /** + * Creates a new instance of RecordPropertyAndItemRemovals value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public RecordPropertyAndItemRemovals() { + } + + /** + * Creates or finds a RecordPropertyAndItemRemovals from its string representation. + * + * @param name a name to look for. + * @return the corresponding RecordPropertyAndItemRemovals. + */ + @JsonCreator + public static RecordPropertyAndItemRemovals fromString(String name) { + return fromString(name, RecordPropertyAndItemRemovals.class); + } + + /** + * Gets known RecordPropertyAndItemRemovals values. + * + * @return known RecordPropertyAndItemRemovals values. + */ + public static Collection values() { + return values(RecordPropertyAndItemRemovals.class); + } +} diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/TimeSeriesDatabaseConnectionState.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/TimeSeriesDatabaseConnectionState.java index 24b0026ceefd..11c45e7f26fc 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/TimeSeriesDatabaseConnectionState.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/TimeSeriesDatabaseConnectionState.java @@ -46,6 +46,15 @@ public final class TimeSeriesDatabaseConnectionState extends ExpandableStringEnu /** Static value Disabled for TimeSeriesDatabaseConnectionState. */ public static final TimeSeriesDatabaseConnectionState DISABLED = fromString("Disabled"); + /** + * Creates a new instance of TimeSeriesDatabaseConnectionState value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public TimeSeriesDatabaseConnectionState() { + } + /** * Creates or finds a TimeSeriesDatabaseConnectionState from its string representation. * diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/TimeSeriesDatabaseConnections.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/TimeSeriesDatabaseConnections.java index b3663975f8ab..eb4a30ed3813 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/TimeSeriesDatabaseConnections.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/TimeSeriesDatabaseConnections.java @@ -86,6 +86,9 @@ TimeSeriesDatabaseConnection delete( * @param resourceGroupName The name of the resource group that contains the DigitalTwinsInstance. * @param resourceName The name of the DigitalTwinsInstance. * @param timeSeriesDatabaseConnectionName Name of time series database connection. + * @param cleanupConnectionArtifacts Specifies whether or not to attempt to clean up artifacts that were created in + * order to establish a connection to the time series database. This is a best-effort attempt that will fail if + * appropriate permissions are not in place. Setting this to 'true' does not delete any recorded data. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -93,7 +96,11 @@ TimeSeriesDatabaseConnection delete( * @return describes a time series database connection resource. */ TimeSeriesDatabaseConnection delete( - String resourceGroupName, String resourceName, String timeSeriesDatabaseConnectionName, Context context); + String resourceGroupName, + String resourceName, + String timeSeriesDatabaseConnectionName, + CleanupConnectionArtifacts cleanupConnectionArtifacts, + Context context); /** * Get the description of an existing time series database connection. @@ -133,13 +140,17 @@ TimeSeriesDatabaseConnection delete( * Delete a time series database connection. * * @param id the resource ID. + * @param cleanupConnectionArtifacts Specifies whether or not to attempt to clean up artifacts that were created in + * order to establish a connection to the time series database. This is a best-effort attempt that will fail if + * appropriate permissions are not in place. Setting this to 'true' does not delete any recorded data. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return describes a time series database connection resource. */ - TimeSeriesDatabaseConnection deleteByIdWithResponse(String id, Context context); + TimeSeriesDatabaseConnection deleteByIdWithResponse( + String id, CleanupConnectionArtifacts cleanupConnectionArtifacts, Context context); /** * Begins definition for a new TimeSeriesDatabaseConnection resource. diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/UserAssignedIdentity.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/UserAssignedIdentity.java index b2f110e6912e..be8577253591 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/UserAssignedIdentity.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/main/java/com/azure/resourcemanager/digitaltwins/models/UserAssignedIdentity.java @@ -9,7 +9,7 @@ /** The information about the user assigned identity. */ @Immutable -public class UserAssignedIdentity { +public final class UserAssignedIdentity { /* * The client id of the User Assigned Identity Resource. */ diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsCheckNameAvailabilitySamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsCheckNameAvailabilitySamples.java index 1d6836b07ac6..159a7caf00e3 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsCheckNameAvailabilitySamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsCheckNameAvailabilitySamples.java @@ -4,13 +4,12 @@ package com.azure.resourcemanager.digitaltwins.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.digitaltwins.models.CheckNameRequest; /** Samples for DigitalTwins CheckNameAvailability. */ public final class DigitalTwinsCheckNameAvailabilitySamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsCheckNameAvailability_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsCheckNameAvailability_example.json */ /** * Sample code: Check name Availability. @@ -21,6 +20,6 @@ public static void checkNameAvailability(com.azure.resourcemanager.digitaltwins. manager .digitalTwins() .checkNameAvailabilityWithResponse( - "WestUS2", new CheckNameRequest().withName("myadtinstance"), Context.NONE); + "WestUS2", new CheckNameRequest().withName("myadtinstance"), com.azure.core.util.Context.NONE); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsCreateOrUpdateSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsCreateOrUpdateSamples.java index 5e0cf81ab838..0633e1619e47 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsCreateOrUpdateSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsCreateOrUpdateSamples.java @@ -14,7 +14,7 @@ /** Samples for DigitalTwins CreateOrUpdate. */ public final class DigitalTwinsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsPut_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_example.json */ /** * Sample code: Put a DigitalTwinsInstance resource. @@ -32,7 +32,7 @@ public static void putADigitalTwinsInstanceResource( } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsPut_WithPublicNetworkAccess.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_WithPublicNetworkAccess.json */ /** * Sample code: Put a DigitalTwinsInstance resource with publicNetworkAccess property. @@ -51,7 +51,7 @@ public static void putADigitalTwinsInstanceResourceWithPublicNetworkAccessProper } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsPut_WithIdentity_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPut_WithIdentity_example.json */ /** * Sample code: Put a DigitalTwinsInstance resource with identity. diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsDeleteSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsDeleteSamples.java index 5efe754c0e7e..eed280105196 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsDeleteSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsDeleteSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.digitaltwins.generated; -import com.azure.core.util.Context; - /** Samples for DigitalTwins Delete. */ public final class DigitalTwinsDeleteSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsDelete_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsDelete_example.json */ /** * Sample code: Delete a DigitalTwinsInstance resource. @@ -18,11 +16,11 @@ public final class DigitalTwinsDeleteSamples { */ public static void deleteADigitalTwinsInstanceResource( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwins().delete("resRg", "myDigitalTwinsService", Context.NONE); + manager.digitalTwins().delete("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsDelete_WithIdentity_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsDelete_WithIdentity_example.json */ /** * Sample code: Delete a DigitalTwinsInstance resource with identity. @@ -31,6 +29,6 @@ public static void deleteADigitalTwinsInstanceResource( */ public static void deleteADigitalTwinsInstanceResourceWithIdentity( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwins().delete("resRg", "myDigitalTwinsService", Context.NONE); + manager.digitalTwins().delete("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsEndpointCreateOrUpdateSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsEndpointCreateOrUpdateSamples.java index 8fc956d9f5ec..bb4cb2f68b84 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsEndpointCreateOrUpdateSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsEndpointCreateOrUpdateSamples.java @@ -12,7 +12,7 @@ /** Samples for DigitalTwinsEndpoint CreateOrUpdate. */ public final class DigitalTwinsEndpointCreateOrUpdateSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsEndpointPut_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_example.json */ /** * Sample code: Put a DigitalTwinsEndpoint resource. @@ -36,7 +36,7 @@ public static void putADigitalTwinsEndpointResource( } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsEndpointPut_WithIdentity_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_WithIdentity_example.json */ /** * Sample code: Put a DigitalTwinsEndpoint resource with identity. @@ -58,7 +58,7 @@ public static void putADigitalTwinsEndpointResourceWithIdentity( } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsEndpointPut_WithUserIdentity_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointPut_WithUserIdentity_example.json */ /** * Sample code: Put a DigitalTwinsEndpoint resource with user assigned identity. diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsEndpointDeleteSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsEndpointDeleteSamples.java index 5704a58a6693..2c8af62e510f 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsEndpointDeleteSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsEndpointDeleteSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.digitaltwins.generated; -import com.azure.core.util.Context; - /** Samples for DigitalTwinsEndpoint Delete. */ public final class DigitalTwinsEndpointDeleteSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsEndpointDelete_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointDelete_example.json */ /** * Sample code: Delete a DigitalTwinsInstance endpoint. @@ -18,11 +16,13 @@ public final class DigitalTwinsEndpointDeleteSamples { */ public static void deleteADigitalTwinsInstanceEndpoint( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwinsEndpoints().delete("resRg", "myDigitalTwinsService", "myendpoint", Context.NONE); + manager + .digitalTwinsEndpoints() + .delete("resRg", "myDigitalTwinsService", "myendpoint", com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsEndpointDelete_WithIdentity_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointDelete_WithIdentity_example.json */ /** * Sample code: Delete a DigitalTwinsInstance endpoint with identity. @@ -31,6 +31,8 @@ public static void deleteADigitalTwinsInstanceEndpoint( */ public static void deleteADigitalTwinsInstanceEndpointWithIdentity( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwinsEndpoints().delete("resRg", "myDigitalTwinsService", "myendpoint", Context.NONE); + manager + .digitalTwinsEndpoints() + .delete("resRg", "myDigitalTwinsService", "myendpoint", com.azure.core.util.Context.NONE); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsEndpointGetSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsEndpointGetSamples.java index f4380f94737e..d86a9d8da16a 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsEndpointGetSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsEndpointGetSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.digitaltwins.generated; -import com.azure.core.util.Context; - /** Samples for DigitalTwinsEndpoint Get. */ public final class DigitalTwinsEndpointGetSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsEndpointGet_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_example.json */ /** * Sample code: Get a DigitalTwinsInstance endpoint. @@ -18,11 +16,13 @@ public final class DigitalTwinsEndpointGetSamples { */ public static void getADigitalTwinsInstanceEndpoint( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwinsEndpoints().getWithResponse("resRg", "myDigitalTwinsService", "myServiceBus", Context.NONE); + manager + .digitalTwinsEndpoints() + .getWithResponse("resRg", "myDigitalTwinsService", "myServiceBus", com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsEndpointGet_WithIdentity_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointGet_WithIdentity_example.json */ /** * Sample code: Get a DigitalTwinsInstance endpoint with identity. @@ -31,6 +31,8 @@ public static void getADigitalTwinsInstanceEndpoint( */ public static void getADigitalTwinsInstanceEndpointWithIdentity( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwinsEndpoints().getWithResponse("resRg", "myDigitalTwinsService", "myServiceBus", Context.NONE); + manager + .digitalTwinsEndpoints() + .getWithResponse("resRg", "myDigitalTwinsService", "myServiceBus", com.azure.core.util.Context.NONE); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsEndpointListSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsEndpointListSamples.java index 22efc78515c7..af4ebb0bfab4 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsEndpointListSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsEndpointListSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.digitaltwins.generated; -import com.azure.core.util.Context; - /** Samples for DigitalTwinsEndpoint List. */ public final class DigitalTwinsEndpointListSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsEndpointsGet_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointsGet_example.json */ /** * Sample code: Get a DigitalTwinsInstance endpoints. @@ -18,11 +16,11 @@ public final class DigitalTwinsEndpointListSamples { */ public static void getADigitalTwinsInstanceEndpoints( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwinsEndpoints().list("resRg", "myDigitalTwinsService", Context.NONE); + manager.digitalTwinsEndpoints().list("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsEndpointsGet_WithIdentity_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsEndpointsGet_WithIdentity_example.json */ /** * Sample code: Get a DigitalTwinsInstance endpoints with identity. @@ -31,6 +29,6 @@ public static void getADigitalTwinsInstanceEndpoints( */ public static void getADigitalTwinsInstanceEndpointsWithIdentity( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwinsEndpoints().list("resRg", "myDigitalTwinsService", Context.NONE); + manager.digitalTwinsEndpoints().list("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsGetByResourceGroupSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsGetByResourceGroupSamples.java index bf5f7285f138..fb291fc9c4bd 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsGetByResourceGroupSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsGetByResourceGroupSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.digitaltwins.generated; -import com.azure.core.util.Context; - /** Samples for DigitalTwins GetByResourceGroup. */ public final class DigitalTwinsGetByResourceGroupSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsGet_WithIdentity_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithIdentity_example.json */ /** * Sample code: Get a DigitalTwinsInstance resource with identity. @@ -18,11 +16,13 @@ public final class DigitalTwinsGetByResourceGroupSamples { */ public static void getADigitalTwinsInstanceResourceWithIdentity( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwins().getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", Context.NONE); + manager + .digitalTwins() + .getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsGet_WithPrivateEndpointConnection_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_WithPrivateEndpointConnection_example.json */ /** * Sample code: Get a DigitalTwinsInstance resource with a private endpoint connection. @@ -31,11 +31,13 @@ public static void getADigitalTwinsInstanceResourceWithIdentity( */ public static void getADigitalTwinsInstanceResourceWithAPrivateEndpointConnection( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwins().getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", Context.NONE); + manager + .digitalTwins() + .getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsGet_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsGet_example.json */ /** * Sample code: Get a DigitalTwinsInstance resource. @@ -44,6 +46,8 @@ public static void getADigitalTwinsInstanceResourceWithAPrivateEndpointConnectio */ public static void getADigitalTwinsInstanceResource( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwins().getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", Context.NONE); + manager + .digitalTwins() + .getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsListByResourceGroupSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsListByResourceGroupSamples.java index 336c337dad12..556d5b5f11c9 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsListByResourceGroupSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsListByResourceGroupSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.digitaltwins.generated; -import com.azure.core.util.Context; - /** Samples for DigitalTwins ListByResourceGroup. */ public final class DigitalTwinsListByResourceGroupSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsListByResourceGroup_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsListByResourceGroup_example.json */ /** * Sample code: Get DigitalTwinsInstance resources by resource group. @@ -18,6 +16,6 @@ public final class DigitalTwinsListByResourceGroupSamples { */ public static void getDigitalTwinsInstanceResourcesByResourceGroup( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwins().listByResourceGroup("resRg", Context.NONE); + manager.digitalTwins().listByResourceGroup("resRg", com.azure.core.util.Context.NONE); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsListSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsListSamples.java index 1546d6147d08..1bb4422f7550 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsListSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsListSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.digitaltwins.generated; -import com.azure.core.util.Context; - /** Samples for DigitalTwins List. */ public final class DigitalTwinsListSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsList_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsList_example.json */ /** * Sample code: Get DigitalTwinsInstance resources by subscription. @@ -18,6 +16,6 @@ public final class DigitalTwinsListSamples { */ public static void getDigitalTwinsInstanceResourcesBySubscription( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.digitalTwins().list(Context.NONE); + manager.digitalTwins().list(com.azure.core.util.Context.NONE); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsUpdateSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsUpdateSamples.java index 3629dcecf59a..891de3c48b55 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsUpdateSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsUpdateSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.digitaltwins.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.digitaltwins.models.DigitalTwinsDescription; import com.azure.resourcemanager.digitaltwins.models.DigitalTwinsIdentity; import com.azure.resourcemanager.digitaltwins.models.DigitalTwinsIdentityType; @@ -16,7 +15,7 @@ /** Samples for DigitalTwins Update. */ public final class DigitalTwinsUpdateSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsPatch_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_example.json */ /** * Sample code: Patch a DigitalTwinsInstance resource. @@ -28,13 +27,13 @@ public static void patchADigitalTwinsInstanceResource( DigitalTwinsDescription resource = manager .digitalTwins() - .getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", Context.NONE) + .getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE) .getValue(); resource.update().withTags(mapOf("purpose", "dev")).apply(); } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsPatch_WithPublicNetworkAccess.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_WithPublicNetworkAccess.json */ /** * Sample code: Patch a DigitalTwinsInstance resource with publicNetworkAccess property. @@ -46,7 +45,7 @@ public static void patchADigitalTwinsInstanceResourceWithPublicNetworkAccessProp DigitalTwinsDescription resource = manager .digitalTwins() - .getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", Context.NONE) + .getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE) .getValue(); resource .update() @@ -55,7 +54,7 @@ public static void patchADigitalTwinsInstanceResourceWithPublicNetworkAccessProp } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsPatch_WithIdentity_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsPatch_WithIdentity_example.json */ /** * Sample code: Patch a DigitalTwinsInstance resource with identity. @@ -67,7 +66,7 @@ public static void patchADigitalTwinsInstanceResourceWithIdentity( DigitalTwinsDescription resource = manager .digitalTwins() - .getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", Context.NONE) + .getByResourceGroupWithResponse("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE) .getValue(); resource.update().withIdentity(new DigitalTwinsIdentity().withType(DigitalTwinsIdentityType.NONE)).apply(); } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/OperationsListSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/OperationsListSamples.java index d74b12b1e129..e7543dcfce54 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/OperationsListSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/OperationsListSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.digitaltwins.generated; -import com.azure.core.util.Context; - /** Samples for Operations List. */ public final class OperationsListSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/DigitalTwinsOperationsList_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/DigitalTwinsOperationsList_example.json */ /** * Sample code: Get available operations. @@ -17,6 +15,6 @@ public final class OperationsListSamples { * @param manager Entry point to AzureDigitalTwinsManager. */ public static void getAvailableOperations(com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.operations().list(Context.NONE); + manager.operations().list(com.azure.core.util.Context.NONE); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsCreateOrUpdateSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsCreateOrUpdateSamples.java index 01fdb86f9916..87c7a7f41932 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsCreateOrUpdateSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsCreateOrUpdateSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.digitaltwins.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.digitaltwins.models.ConnectionProperties; import com.azure.resourcemanager.digitaltwins.models.ConnectionPropertiesPrivateLinkServiceConnectionState; import com.azure.resourcemanager.digitaltwins.models.PrivateEndpointConnection; @@ -13,7 +12,7 @@ /** Samples for PrivateEndpointConnections CreateOrUpdate. */ public final class PrivateEndpointConnectionsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/PrivateEndpointConnectionPut_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionPut_example.json */ /** * Sample code: Update the status of a private endpoint connection with the given name. @@ -25,7 +24,8 @@ public static void updateTheStatusOfAPrivateEndpointConnectionWithTheGivenName( PrivateEndpointConnection resource = manager .privateEndpointConnections() - .getWithResponse("resRg", "myDigitalTwinsService", "myPrivateConnection", Context.NONE) + .getWithResponse( + "resRg", "myDigitalTwinsService", "myPrivateConnection", com.azure.core.util.Context.NONE) .getValue(); resource .update() diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsDeleteSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsDeleteSamples.java index 27947280789f..8448adc6e11b 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsDeleteSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsDeleteSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.digitaltwins.generated; -import com.azure.core.util.Context; - /** Samples for PrivateEndpointConnections Delete. */ public final class PrivateEndpointConnectionsDeleteSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/PrivateEndpointConnectionDelete_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionDelete_example.json */ /** * Sample code: Delete private endpoint connection with the specified name. @@ -20,6 +18,6 @@ public static void deletePrivateEndpointConnectionWithTheSpecifiedName( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { manager .privateEndpointConnections() - .delete("resRg", "myDigitalTwinsService", "myPrivateConnection", Context.NONE); + .delete("resRg", "myDigitalTwinsService", "myPrivateConnection", com.azure.core.util.Context.NONE); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsGetSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsGetSamples.java index b3b4d8573b36..b479ffdfc05a 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsGetSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsGetSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.digitaltwins.generated; -import com.azure.core.util.Context; - /** Samples for PrivateEndpointConnections Get. */ public final class PrivateEndpointConnectionsGetSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/PrivateEndpointConnectionByConnectionName_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionByConnectionName_example.json */ /** * Sample code: Get private endpoint connection properties for the given private endpoint. @@ -20,6 +18,6 @@ public static void getPrivateEndpointConnectionPropertiesForTheGivenPrivateEndpo com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { manager .privateEndpointConnections() - .getWithResponse("resRg", "myDigitalTwinsService", "myPrivateConnection", Context.NONE); + .getWithResponse("resRg", "myDigitalTwinsService", "myPrivateConnection", com.azure.core.util.Context.NONE); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsListSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsListSamples.java index e29c45ceba7f..8042f200d5f5 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsListSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsListSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.digitaltwins.generated; -import com.azure.core.util.Context; - /** Samples for PrivateEndpointConnections List. */ public final class PrivateEndpointConnectionsListSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/PrivateEndpointConnectionsList_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateEndpointConnectionsList_example.json */ /** * Sample code: List private endpoint connection properties. @@ -18,6 +16,8 @@ public final class PrivateEndpointConnectionsListSamples { */ public static void listPrivateEndpointConnectionProperties( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.privateEndpointConnections().listWithResponse("resRg", "myDigitalTwinsService", Context.NONE); + manager + .privateEndpointConnections() + .listWithResponse("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateLinkResourcesGetSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateLinkResourcesGetSamples.java index f03cf74d67bd..572411ae9148 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateLinkResourcesGetSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateLinkResourcesGetSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.digitaltwins.generated; -import com.azure.core.util.Context; - /** Samples for PrivateLinkResources Get. */ public final class PrivateLinkResourcesGetSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/PrivateLinkResourcesByGroupId_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateLinkResourcesByGroupId_example.json */ /** * Sample code: Get the specified private link resource for the given Digital Twin. @@ -18,6 +16,8 @@ public final class PrivateLinkResourcesGetSamples { */ public static void getTheSpecifiedPrivateLinkResourceForTheGivenDigitalTwin( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.privateLinkResources().getWithResponse("resRg", "myDigitalTwinsService", "subResource", Context.NONE); + manager + .privateLinkResources() + .getWithResponse("resRg", "myDigitalTwinsService", "subResource", com.azure.core.util.Context.NONE); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateLinkResourcesListSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateLinkResourcesListSamples.java index 8c8345c1d758..fc1cb8a291d2 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateLinkResourcesListSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/PrivateLinkResourcesListSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.digitaltwins.generated; -import com.azure.core.util.Context; - /** Samples for PrivateLinkResources List. */ public final class PrivateLinkResourcesListSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/PrivateLinkResourcesList_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/PrivateLinkResourcesList_example.json */ /** * Sample code: List private link resources for given Digital Twin. @@ -18,6 +16,8 @@ public final class PrivateLinkResourcesListSamples { */ public static void listPrivateLinkResourcesForGivenDigitalTwin( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.privateLinkResources().listWithResponse("resRg", "myDigitalTwinsService", Context.NONE); + manager + .privateLinkResources() + .listWithResponse("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsCreateOrUpdateSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsCreateOrUpdateSamples.java index d734319d6457..8f669591146f 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsCreateOrUpdateSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsCreateOrUpdateSamples.java @@ -7,11 +7,12 @@ import com.azure.resourcemanager.digitaltwins.models.AzureDataExplorerConnectionProperties; import com.azure.resourcemanager.digitaltwins.models.IdentityType; import com.azure.resourcemanager.digitaltwins.models.ManagedIdentityReference; +import com.azure.resourcemanager.digitaltwins.models.RecordPropertyAndItemRemovals; /** Samples for TimeSeriesDatabaseConnections CreateOrUpdate. */ public final class TimeSeriesDatabaseConnectionsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/TimeSeriesDatabaseConnectionsPut_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_example.json */ /** * Sample code: Create or replace a time series database connection for a DigitalTwins instance. @@ -30,16 +31,19 @@ public static void createOrReplaceATimeSeriesDatabaseConnectionForADigitalTwinsI "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.Kusto/clusters/mycluster") .withAdxEndpointUri("https://mycluster.kusto.windows.net") .withAdxDatabaseName("myDatabase") - .withAdxTableName("myTable") + .withAdxTableName("myPropertyUpdatesTable") + .withAdxTwinLifecycleEventsTableName("myTwinLifecycleEventsTable") + .withAdxRelationshipLifecycleEventsTableName("myRelationshipLifecycleEventsTable") .withEventHubEndpointUri("sb://myeh.servicebus.windows.net/") .withEventHubEntityPath("myeh") .withEventHubNamespaceResourceId( - "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.EventHub/namespaces/myeh")) + "/subscriptions/c493073e-2460-45ba-a403-f3e0df1e9feg/resourceGroups/testrg/providers/Microsoft.EventHub/namespaces/myeh") + .withRecordPropertyAndItemRemovals(RecordPropertyAndItemRemovals.TRUE)) .create(); } /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/TimeSeriesDatabaseConnectionsPut_WithUserIdentity_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsPut_WithUserIdentity_example.json */ /** * Sample code: Create or replace a time series database connection for a DigitalTwins instance with user assigned diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsDeleteSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsDeleteSamples.java index 10979be17c31..ba45986f6cf2 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsDeleteSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsDeleteSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.digitaltwins.generated; -import com.azure.core.util.Context; - /** Samples for TimeSeriesDatabaseConnections Delete. */ public final class TimeSeriesDatabaseConnectionsDeleteSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/TimeSeriesDatabaseConnectionsDelete_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsDelete_example.json */ /** * Sample code: Delete a time series database connection for a DigitalTwins instance. @@ -18,6 +16,8 @@ public final class TimeSeriesDatabaseConnectionsDeleteSamples { */ public static void deleteATimeSeriesDatabaseConnectionForADigitalTwinsInstance( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.timeSeriesDatabaseConnections().delete("resRg", "myDigitalTwinsService", "myConnection", Context.NONE); + manager + .timeSeriesDatabaseConnections() + .delete("resRg", "myDigitalTwinsService", "myConnection", null, com.azure.core.util.Context.NONE); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsGetSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsGetSamples.java index 75421094b7cd..50ce4a995a6b 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsGetSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsGetSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.digitaltwins.generated; -import com.azure.core.util.Context; - /** Samples for TimeSeriesDatabaseConnections Get. */ public final class TimeSeriesDatabaseConnectionsGetSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/TimeSeriesDatabaseConnectionsGet_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsGet_example.json */ /** * Sample code: Get time series database connection for a DigitalTwins instance. @@ -20,6 +18,6 @@ public static void getTimeSeriesDatabaseConnectionForADigitalTwinsInstance( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { manager .timeSeriesDatabaseConnections() - .getWithResponse("resRg", "myDigitalTwinsService", "myConnection", Context.NONE); + .getWithResponse("resRg", "myDigitalTwinsService", "myConnection", com.azure.core.util.Context.NONE); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsListSamples.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsListSamples.java index 2ac92256d4ac..ea025d3083c9 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsListSamples.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/samples/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsListSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.digitaltwins.generated; -import com.azure.core.util.Context; - /** Samples for TimeSeriesDatabaseConnections List. */ public final class TimeSeriesDatabaseConnectionsListSamples { /* - * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-10-31/examples/TimeSeriesDatabaseConnectionsList_example.json + * x-ms-original-file: specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2023-01-31/examples/TimeSeriesDatabaseConnectionsList_example.json */ /** * Sample code: List time series database connections for a DigitalTwins instance. @@ -18,6 +16,8 @@ public final class TimeSeriesDatabaseConnectionsListSamples { */ public static void listTimeSeriesDatabaseConnectionsForADigitalTwinsInstance( com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager manager) { - manager.timeSeriesDatabaseConnections().list("resRg", "myDigitalTwinsService", Context.NONE); + manager + .timeSeriesDatabaseConnections() + .list("resRg", "myDigitalTwinsService", com.azure.core.util.Context.NONE); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/AzureDataExplorerConnectionPropertiesTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/AzureDataExplorerConnectionPropertiesTests.java index 774ff6012cf3..6fb8786e3476 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/AzureDataExplorerConnectionPropertiesTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/AzureDataExplorerConnectionPropertiesTests.java @@ -8,55 +8,64 @@ import com.azure.resourcemanager.digitaltwins.models.AzureDataExplorerConnectionProperties; import com.azure.resourcemanager.digitaltwins.models.IdentityType; import com.azure.resourcemanager.digitaltwins.models.ManagedIdentityReference; +import com.azure.resourcemanager.digitaltwins.models.RecordPropertyAndItemRemovals; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class AzureDataExplorerConnectionPropertiesTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { AzureDataExplorerConnectionProperties model = BinaryData .fromString( - "{\"connectionType\":\"AzureDataExplorer\",\"adxResourceId\":\"wflzlfbxzpuzy\",\"adxEndpointUri\":\"ispnqzahmgkbrp\",\"adxDatabaseName\":\"y\",\"adxTableName\":\"ibnuqqkpik\",\"eventHubEndpointUri\":\"drgvtqagn\",\"eventHubEntityPath\":\"uynhijg\",\"eventHubNamespaceResourceId\":\"mebf\",\"eventHubConsumerGroup\":\"arbu\",\"provisioningState\":\"Restoring\",\"identity\":{\"type\":\"SystemAssigned\",\"userAssignedIdentity\":\"zzmhjrunmpxttd\"}}") + "{\"connectionType\":\"AzureDataExplorer\",\"adxResourceId\":\"wflzlfbxzpuzy\",\"adxEndpointUri\":\"ispnqzahmgkbrp\",\"adxDatabaseName\":\"y\",\"adxTableName\":\"ibnuqqkpik\",\"adxTwinLifecycleEventsTableName\":\"rgvtqag\",\"adxRelationshipLifecycleEventsTableName\":\"uynhijg\",\"eventHubEndpointUri\":\"mebf\",\"eventHubEntityPath\":\"iarbutrcvpna\",\"eventHubNamespaceResourceId\":\"zmhjrunmp\",\"eventHubConsumerGroup\":\"tdbhrbnla\",\"recordPropertyAndItemRemovals\":\"true\",\"provisioningState\":\"Suspending\",\"identity\":{\"type\":\"SystemAssigned\",\"userAssignedIdentity\":\"henbtkcxywnytn\"}}") .toObject(AzureDataExplorerConnectionProperties.class); Assertions.assertEquals(IdentityType.SYSTEM_ASSIGNED, model.identity().type()); - Assertions.assertEquals("zzmhjrunmpxttd", model.identity().userAssignedIdentity()); + Assertions.assertEquals("henbtkcxywnytn", model.identity().userAssignedIdentity()); Assertions.assertEquals("wflzlfbxzpuzy", model.adxResourceId()); Assertions.assertEquals("ispnqzahmgkbrp", model.adxEndpointUri()); Assertions.assertEquals("y", model.adxDatabaseName()); Assertions.assertEquals("ibnuqqkpik", model.adxTableName()); - Assertions.assertEquals("drgvtqagn", model.eventHubEndpointUri()); - Assertions.assertEquals("uynhijg", model.eventHubEntityPath()); - Assertions.assertEquals("mebf", model.eventHubNamespaceResourceId()); - Assertions.assertEquals("arbu", model.eventHubConsumerGroup()); + Assertions.assertEquals("rgvtqag", model.adxTwinLifecycleEventsTableName()); + Assertions.assertEquals("uynhijg", model.adxRelationshipLifecycleEventsTableName()); + Assertions.assertEquals("mebf", model.eventHubEndpointUri()); + Assertions.assertEquals("iarbutrcvpna", model.eventHubEntityPath()); + Assertions.assertEquals("zmhjrunmp", model.eventHubNamespaceResourceId()); + Assertions.assertEquals("tdbhrbnla", model.eventHubConsumerGroup()); + Assertions.assertEquals(RecordPropertyAndItemRemovals.TRUE, model.recordPropertyAndItemRemovals()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { AzureDataExplorerConnectionProperties model = new AzureDataExplorerConnectionProperties() .withIdentity( new ManagedIdentityReference() .withType(IdentityType.SYSTEM_ASSIGNED) - .withUserAssignedIdentity("zzmhjrunmpxttd")) + .withUserAssignedIdentity("henbtkcxywnytn")) .withAdxResourceId("wflzlfbxzpuzy") .withAdxEndpointUri("ispnqzahmgkbrp") .withAdxDatabaseName("y") .withAdxTableName("ibnuqqkpik") - .withEventHubEndpointUri("drgvtqagn") - .withEventHubEntityPath("uynhijg") - .withEventHubNamespaceResourceId("mebf") - .withEventHubConsumerGroup("arbu"); + .withAdxTwinLifecycleEventsTableName("rgvtqag") + .withAdxRelationshipLifecycleEventsTableName("uynhijg") + .withEventHubEndpointUri("mebf") + .withEventHubEntityPath("iarbutrcvpna") + .withEventHubNamespaceResourceId("zmhjrunmp") + .withEventHubConsumerGroup("tdbhrbnla") + .withRecordPropertyAndItemRemovals(RecordPropertyAndItemRemovals.TRUE); model = BinaryData.fromObject(model).toObject(AzureDataExplorerConnectionProperties.class); Assertions.assertEquals(IdentityType.SYSTEM_ASSIGNED, model.identity().type()); - Assertions.assertEquals("zzmhjrunmpxttd", model.identity().userAssignedIdentity()); + Assertions.assertEquals("henbtkcxywnytn", model.identity().userAssignedIdentity()); Assertions.assertEquals("wflzlfbxzpuzy", model.adxResourceId()); Assertions.assertEquals("ispnqzahmgkbrp", model.adxEndpointUri()); Assertions.assertEquals("y", model.adxDatabaseName()); Assertions.assertEquals("ibnuqqkpik", model.adxTableName()); - Assertions.assertEquals("drgvtqagn", model.eventHubEndpointUri()); - Assertions.assertEquals("uynhijg", model.eventHubEntityPath()); - Assertions.assertEquals("mebf", model.eventHubNamespaceResourceId()); - Assertions.assertEquals("arbu", model.eventHubConsumerGroup()); + Assertions.assertEquals("rgvtqag", model.adxTwinLifecycleEventsTableName()); + Assertions.assertEquals("uynhijg", model.adxRelationshipLifecycleEventsTableName()); + Assertions.assertEquals("mebf", model.eventHubEndpointUri()); + Assertions.assertEquals("iarbutrcvpna", model.eventHubEntityPath()); + Assertions.assertEquals("zmhjrunmp", model.eventHubNamespaceResourceId()); + Assertions.assertEquals("tdbhrbnla", model.eventHubConsumerGroup()); + Assertions.assertEquals(RecordPropertyAndItemRemovals.TRUE, model.recordPropertyAndItemRemovals()); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/CheckNameRequestTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/CheckNameRequestTests.java index 04df25638da5..d4819bd8fa26 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/CheckNameRequestTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/CheckNameRequestTests.java @@ -7,17 +7,16 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.digitaltwins.models.CheckNameRequest; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class CheckNameRequestTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { CheckNameRequest model = BinaryData.fromString("{\"name\":\"t\"}").toObject(CheckNameRequest.class); Assertions.assertEquals("t", model.name()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { CheckNameRequest model = new CheckNameRequest().withName("t"); model = BinaryData.fromObject(model).toObject(CheckNameRequest.class); Assertions.assertEquals("t", model.name()); diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/CheckNameResultInnerTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/CheckNameResultInnerTests.java index 4ce0249e7e40..bfa939f081d1 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/CheckNameResultInnerTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/CheckNameResultInnerTests.java @@ -8,11 +8,10 @@ import com.azure.resourcemanager.digitaltwins.fluent.models.CheckNameResultInner; import com.azure.resourcemanager.digitaltwins.models.Reason; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class CheckNameResultInnerTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { CheckNameResultInner model = BinaryData .fromString("{\"nameAvailable\":false,\"message\":\"ulexxbczwtr\",\"reason\":\"Invalid\"}") @@ -22,8 +21,8 @@ public void testDeserialize() { Assertions.assertEquals(Reason.INVALID, model.reason()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { CheckNameResultInner model = new CheckNameResultInner().withNameAvailable(false).withMessage("ulexxbczwtr").withReason(Reason.INVALID); model = BinaryData.fromObject(model).toObject(CheckNameResultInner.class); diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/ConnectionPropertiesPrivateLinkServiceConnectionStateTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/ConnectionPropertiesPrivateLinkServiceConnectionStateTests.java index 732d019d3632..0d37a5d0d37a 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/ConnectionPropertiesPrivateLinkServiceConnectionStateTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/ConnectionPropertiesPrivateLinkServiceConnectionStateTests.java @@ -8,11 +8,10 @@ import com.azure.resourcemanager.digitaltwins.models.ConnectionPropertiesPrivateLinkServiceConnectionState; import com.azure.resourcemanager.digitaltwins.models.PrivateLinkServiceConnectionStatus; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class ConnectionPropertiesPrivateLinkServiceConnectionStateTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { ConnectionPropertiesPrivateLinkServiceConnectionState model = BinaryData .fromString("{\"status\":\"Rejected\",\"description\":\"slwejdpvw\",\"actionsRequired\":\"oqpsoa\"}") @@ -22,8 +21,8 @@ public void testDeserialize() { Assertions.assertEquals("oqpsoa", model.actionsRequired()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { ConnectionPropertiesPrivateLinkServiceConnectionState model = new ConnectionPropertiesPrivateLinkServiceConnectionState() .withStatus(PrivateLinkServiceConnectionStatus.REJECTED) diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/ConnectionPropertiesTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/ConnectionPropertiesTests.java index ad74b2e42768..011272fc5aeb 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/ConnectionPropertiesTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/ConnectionPropertiesTests.java @@ -11,11 +11,10 @@ import com.azure.resourcemanager.digitaltwins.models.PrivateLinkServiceConnectionStatus; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class ConnectionPropertiesTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { ConnectionProperties model = BinaryData .fromString( @@ -29,8 +28,8 @@ public void testDeserialize() { Assertions.assertEquals("vpjhulsuuv", model.privateLinkServiceConnectionState().actionsRequired()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { ConnectionProperties model = new ConnectionProperties() .withPrivateEndpoint(new PrivateEndpoint()) diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/ConnectionStateTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/ConnectionStateTests.java index f82a6ea7535e..0677c820086d 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/ConnectionStateTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/ConnectionStateTests.java @@ -8,11 +8,10 @@ import com.azure.resourcemanager.digitaltwins.models.ConnectionState; import com.azure.resourcemanager.digitaltwins.models.PrivateLinkServiceConnectionStatus; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class ConnectionStateTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { ConnectionState model = BinaryData .fromString("{\"status\":\"Disconnected\",\"description\":\"tazak\",\"actionsRequired\":\"lahbcryff\"}") @@ -22,8 +21,8 @@ public void testDeserialize() { Assertions.assertEquals("lahbcryff", model.actionsRequired()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { ConnectionState model = new ConnectionState() .withStatus(PrivateLinkServiceConnectionStatus.DISCONNECTED) diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsCheckNameAvailabilityWithResponseMockTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsCheckNameAvailabilityWithResponseMockTests.java index 653a428632f5..fee011887d62 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsCheckNameAvailabilityWithResponseMockTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsCheckNameAvailabilityWithResponseMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager; import com.azure.resourcemanager.digitaltwins.models.CheckNameRequest; import com.azure.resourcemanager.digitaltwins.models.CheckNameResult; @@ -33,7 +32,7 @@ public void testCheckNameAvailabilityWithResponse() throws Exception { HttpResponse httpResponse = Mockito.mock(HttpResponse.class); ArgumentCaptor httpRequest = ArgumentCaptor.forClass(HttpRequest.class); - String responseStr = "{\"nameAvailable\":false,\"message\":\"p\",\"reason\":\"Invalid\"}"; + String responseStr = "{\"nameAvailable\":false,\"message\":\"sgwbnbbeld\",\"reason\":\"Invalid\"}"; Mockito.when(httpResponse.getStatusCode()).thenReturn(200); Mockito.when(httpResponse.getHeaders()).thenReturn(new HttpHeaders()); @@ -64,11 +63,12 @@ public void testCheckNameAvailabilityWithResponse() throws Exception { CheckNameResult response = manager .digitalTwins() - .checkNameAvailabilityWithResponse("rxsbkyvp", new CheckNameRequest().withName("ca"), Context.NONE) + .checkNameAvailabilityWithResponse( + "rcrgvx", new CheckNameRequest().withName("vgomz"), com.azure.core.util.Context.NONE) .getValue(); Assertions.assertEquals(false, response.nameAvailable()); - Assertions.assertEquals("p", response.message()); + Assertions.assertEquals("sgwbnbbeld", response.message()); Assertions.assertEquals(Reason.INVALID, response.reason()); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsCreateOrUpdateMockTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsCreateOrUpdateMockTests.java index 427d0ab05062..511aaee4b918 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsCreateOrUpdateMockTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsCreateOrUpdateMockTests.java @@ -37,7 +37,7 @@ public void testCreateOrUpdate() throws Exception { ArgumentCaptor httpRequest = ArgumentCaptor.forClass(HttpRequest.class); String responseStr = - "{\"properties\":{\"createdTime\":\"2021-03-20T09:56:32Z\",\"lastUpdatedTime\":\"2021-08-03T01:57:35Z\",\"provisioningState\":\"Succeeded\",\"hostName\":\"awgqwgxhni\",\"privateEndpointConnections\":[],\"publicNetworkAccess\":\"Enabled\"},\"identity\":{\"type\":\"None\",\"principalId\":\"gklwn\",\"tenantId\":\"hjdauwhvylwz\",\"userAssignedIdentities\":{}},\"location\":\"xujznbmpowu\",\"tags\":{\"obbc\":\"zqlveualupjmkhf\",\"tghfgblcgwxzvl\":\"wsrtjriplrbpbe\"},\"id\":\"qhjk\",\"name\":\"egibtnmxiebww\",\"type\":\"loayqcgw\"}"; + "{\"properties\":{\"createdTime\":\"2021-11-19T04:43:06Z\",\"lastUpdatedTime\":\"2021-01-21T23:49:51Z\",\"provisioningState\":\"Succeeded\",\"hostName\":\"ow\",\"privateEndpointConnections\":[],\"publicNetworkAccess\":\"Disabled\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"ualupjmkh\",\"tenantId\":\"obbc\",\"userAssignedIdentities\":{}},\"location\":\"tjrip\",\"tags\":{\"vlvqhjkbegi\":\"pbewtghfgblcgwx\",\"mxiebw\":\"t\",\"gwyzm\":\"aloayqcgwrtzju\"},\"id\":\"txon\",\"name\":\"mtsavjcbpwxqp\",\"type\":\"rknftguvriuhprwm\"}"; Mockito.when(httpResponse.getStatusCode()).thenReturn(200); Mockito.when(httpResponse.getHeaders()).thenReturn(new HttpHeaders()); @@ -68,31 +68,22 @@ public void testCreateOrUpdate() throws Exception { DigitalTwinsDescription response = manager .digitalTwins() - .define("v") - .withRegion("qpv") - .withExistingResourceGroup("fkuwbcrnwbmehhse") - .withTags( - mapOf( - "zlfmisgwbnbbeld", - "mwsrcrgvxpvgo", - "ali", - "wkz", - "hashsfwxosow", - "urqhaka", - "cjooxdjebwpucwwf", - "xcug")) + .define("auhashsfwx") + .withRegion("jgjrwjueiotwm") + .withExistingResourceGroup("zbaliourqha") + .withTags(mapOf("it", "tdx", "hniskxfbkpyc", "nrjawgqwg")) .withIdentity( new DigitalTwinsIdentity() .withType(DigitalTwinsIdentityType.USER_ASSIGNED) .withUserAssignedIdentities(mapOf())) .withPrivateEndpointConnections(Arrays.asList()) - .withPublicNetworkAccess(PublicNetworkAccess.DISABLED) + .withPublicNetworkAccess(PublicNetworkAccess.ENABLED) .create(); - Assertions.assertEquals("xujznbmpowu", response.location()); - Assertions.assertEquals("zqlveualupjmkhf", response.tags().get("obbc")); - Assertions.assertEquals(DigitalTwinsIdentityType.NONE, response.identity().type()); - Assertions.assertEquals(PublicNetworkAccess.ENABLED, response.publicNetworkAccess()); + Assertions.assertEquals("tjrip", response.location()); + Assertions.assertEquals("pbewtghfgblcgwx", response.tags().get("vlvqhjkbegi")); + Assertions.assertEquals(DigitalTwinsIdentityType.SYSTEM_ASSIGNED, response.identity().type()); + Assertions.assertEquals(PublicNetworkAccess.DISABLED, response.publicNetworkAccess()); } @SuppressWarnings("unchecked") diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsDeleteMockTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsDeleteMockTests.java index 97d89f0e4b04..629d8c50f9fd 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsDeleteMockTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsDeleteMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager; import com.azure.resourcemanager.digitaltwins.models.DigitalTwinsDescription; import com.azure.resourcemanager.digitaltwins.models.DigitalTwinsIdentityType; @@ -34,7 +33,7 @@ public void testDelete() throws Exception { ArgumentCaptor httpRequest = ArgumentCaptor.forClass(HttpRequest.class); String responseStr = - "{\"properties\":{\"createdTime\":\"2021-11-29T20:21:47Z\",\"lastUpdatedTime\":\"2021-10-19T12:26:50Z\",\"provisioningState\":\"Succeeded\",\"hostName\":\"x\",\"privateEndpointConnections\":[],\"publicNetworkAccess\":\"Enabled\"},\"identity\":{\"type\":\"None\",\"principalId\":\"abgl\",\"tenantId\":\"hxw\",\"userAssignedIdentities\":{}},\"location\":\"qik\",\"tags\":{\"bhvgy\":\"ovplw\",\"svmkfssxquk\":\"gu\"},\"id\":\"fpl\",\"name\":\"mg\",\"type\":\"xnkjzkdesl\"}"; + "{\"properties\":{\"createdTime\":\"2021-02-25T04:11:47Z\",\"lastUpdatedTime\":\"2021-01-10T00:04:32Z\",\"provisioningState\":\"Succeeded\",\"hostName\":\"osvmk\",\"privateEndpointConnections\":[],\"publicNetworkAccess\":\"Enabled\"},\"identity\":{\"type\":\"UserAssigned\",\"principalId\":\"plgmgsxnk\",\"tenantId\":\"kde\",\"userAssignedIdentities\":{}},\"location\":\"lopwiyig\",\"tags\":{\"upedeojnabckhs\":\"kdwzbaiuebbaumny\",\"ie\":\"txp\"},\"id\":\"tfhvpesapskrdqmh\",\"name\":\"jdhtldwkyzxu\",\"type\":\"tkncwsc\"}"; Mockito.when(httpResponse.getStatusCode()).thenReturn(200); Mockito.when(httpResponse.getHeaders()).thenReturn(new HttpHeaders()); @@ -62,11 +61,12 @@ public void testDelete() throws Exception { tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureEnvironment.AZURE)); - DigitalTwinsDescription response = manager.digitalTwins().delete("hdwbavxbniwdjs", "zt", Context.NONE); + DigitalTwinsDescription response = + manager.digitalTwins().delete("lcuhxwtctyqiklb", "ovplw", com.azure.core.util.Context.NONE); - Assertions.assertEquals("qik", response.location()); - Assertions.assertEquals("ovplw", response.tags().get("bhvgy")); - Assertions.assertEquals(DigitalTwinsIdentityType.NONE, response.identity().type()); + Assertions.assertEquals("lopwiyig", response.location()); + Assertions.assertEquals("kdwzbaiuebbaumny", response.tags().get("upedeojnabckhs")); + Assertions.assertEquals(DigitalTwinsIdentityType.USER_ASSIGNED, response.identity().type()); Assertions.assertEquals(PublicNetworkAccess.ENABLED, response.publicNetworkAccess()); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsDescriptionInnerTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsDescriptionInnerTests.java index 21d79a7b48f0..5e55e5e387cc 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsDescriptionInnerTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsDescriptionInnerTests.java @@ -15,11 +15,10 @@ import java.util.HashMap; import java.util.Map; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class DigitalTwinsDescriptionInnerTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { DigitalTwinsDescriptionInner model = BinaryData .fromString( @@ -31,8 +30,8 @@ public void testDeserialize() { Assertions.assertEquals(PublicNetworkAccess.ENABLED, model.publicNetworkAccess()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { DigitalTwinsDescriptionInner model = new DigitalTwinsDescriptionInner() .withLocation("hqgnufooojywif") diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsDescriptionListResultTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsDescriptionListResultTests.java index ce6e326a8272..c461ca1b2879 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsDescriptionListResultTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsDescriptionListResultTests.java @@ -14,11 +14,10 @@ import java.util.HashMap; import java.util.Map; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class DigitalTwinsDescriptionListResultTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { DigitalTwinsDescriptionListResult model = BinaryData .fromString( @@ -31,8 +30,8 @@ public void testDeserialize() { Assertions.assertEquals(PublicNetworkAccess.ENABLED, model.value().get(0).publicNetworkAccess()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { DigitalTwinsDescriptionListResult model = new DigitalTwinsDescriptionListResult() .withNextLink("c") diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsGetByResourceGroupWithResponseMockTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsGetByResourceGroupWithResponseMockTests.java index 0d71488f71f9..ae1841335615 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsGetByResourceGroupWithResponseMockTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsGetByResourceGroupWithResponseMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager; import com.azure.resourcemanager.digitaltwins.models.DigitalTwinsDescription; import com.azure.resourcemanager.digitaltwins.models.DigitalTwinsIdentityType; @@ -34,7 +33,7 @@ public void testGetByResourceGroupWithResponse() throws Exception { ArgumentCaptor httpRequest = ArgumentCaptor.forClass(HttpRequest.class); String responseStr = - "{\"properties\":{\"createdTime\":\"2021-08-18T06:48:11Z\",\"lastUpdatedTime\":\"2021-11-13T00:34:54Z\",\"provisioningState\":\"Deleted\",\"hostName\":\"yxczfclh\",\"privateEndpointConnections\":[],\"publicNetworkAccess\":\"Disabled\"},\"identity\":{\"type\":\"None\",\"principalId\":\"lwrq\",\"tenantId\":\"ktsthsucocmny\",\"userAssignedIdentities\":{}},\"location\":\"t\",\"tags\":{\"ckzywbiexzfeyue\":\"wrqpue\"},\"id\":\"xibxujwbhqwalm\",\"name\":\"zyoxaepdkzjan\",\"type\":\"ux\"}"; + "{\"properties\":{\"createdTime\":\"2021-10-12T16:41:20Z\",\"lastUpdatedTime\":\"2021-09-07T10:16:41Z\",\"provisioningState\":\"Suspending\",\"hostName\":\"hsucoc\",\"privateEndpointConnections\":[],\"publicNetworkAccess\":\"Enabled\"},\"identity\":{\"type\":\"None\",\"principalId\":\"twwrqp\",\"tenantId\":\"dckzywbiexz\",\"userAssignedIdentities\":{}},\"location\":\"eaxib\",\"tags\":{\"uzyoxaep\":\"wbhqwal\",\"bniwdj\":\"kzjancuxrhdwbav\",\"s\":\"wz\"},\"id\":\"bpg\",\"name\":\"xytxhpzxbz\",\"type\":\"fzab\"}"; Mockito.when(httpResponse.getStatusCode()).thenReturn(200); Mockito.when(httpResponse.getHeaders()).thenReturn(new HttpHeaders()); @@ -65,12 +64,12 @@ public void testGetByResourceGroupWithResponse() throws Exception { DigitalTwinsDescription response = manager .digitalTwins() - .getByResourceGroupWithResponse("hrbnlankxmyskpbh", "nbtkcxywnytnr", Context.NONE) + .getByResourceGroupWithResponse("synlqidybyxczfc", "haaxdbabphl", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("t", response.location()); - Assertions.assertEquals("wrqpue", response.tags().get("ckzywbiexzfeyue")); + Assertions.assertEquals("eaxib", response.location()); + Assertions.assertEquals("wbhqwal", response.tags().get("uzyoxaep")); Assertions.assertEquals(DigitalTwinsIdentityType.NONE, response.identity().type()); - Assertions.assertEquals(PublicNetworkAccess.DISABLED, response.publicNetworkAccess()); + Assertions.assertEquals(PublicNetworkAccess.ENABLED, response.publicNetworkAccess()); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsIdentityTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsIdentityTests.java index 96173290f08f..e354d1b53725 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsIdentityTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsIdentityTests.java @@ -11,11 +11,10 @@ import java.util.HashMap; import java.util.Map; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class DigitalTwinsIdentityTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { DigitalTwinsIdentity model = BinaryData .fromString( @@ -24,8 +23,8 @@ public void testDeserialize() { Assertions.assertEquals(DigitalTwinsIdentityType.USER_ASSIGNED, model.type()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { DigitalTwinsIdentity model = new DigitalTwinsIdentity() .withType(DigitalTwinsIdentityType.USER_ASSIGNED) diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsListByResourceGroupMockTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsListByResourceGroupMockTests.java index 5ac3c3659670..d66540942728 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsListByResourceGroupMockTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsListByResourceGroupMockTests.java @@ -12,7 +12,6 @@ import com.azure.core.http.rest.PagedIterable; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager; import com.azure.resourcemanager.digitaltwins.models.DigitalTwinsDescription; import com.azure.resourcemanager.digitaltwins.models.DigitalTwinsIdentityType; @@ -35,7 +34,7 @@ public void testListByResourceGroup() throws Exception { ArgumentCaptor httpRequest = ArgumentCaptor.forClass(HttpRequest.class); String responseStr = - "{\"value\":[{\"properties\":{\"createdTime\":\"2021-08-17T17:40:25Z\",\"lastUpdatedTime\":\"2021-09-07T09:24:33Z\",\"provisioningState\":\"Suspending\",\"hostName\":\"crpab\",\"privateEndpointConnections\":[],\"publicNetworkAccess\":\"Enabled\"},\"identity\":{\"type\":\"SystemAssigned,UserAssigned\",\"principalId\":\"zq\",\"tenantId\":\"xywpmueefjzwfqkq\",\"userAssignedIdentities\":{}},\"location\":\"suyonobglaocq\",\"tags\":{\"ytlmoyrxvwfud\":\"cmgyud\"},\"id\":\"pz\",\"name\":\"txhdzh\",\"type\":\"rqjbhckfrl\"}]}"; + "{\"value\":[{\"properties\":{\"createdTime\":\"2021-08-26T18:25:08Z\",\"lastUpdatedTime\":\"2021-04-20T11:39:18Z\",\"provisioningState\":\"Suspending\",\"hostName\":\"xy\",\"privateEndpointConnections\":[],\"publicNetworkAccess\":\"Disabled\"},\"identity\":{\"type\":\"SystemAssigned,UserAssigned\",\"principalId\":\"fudwpznt\",\"tenantId\":\"dzhlrq\",\"userAssignedIdentities\":{}},\"location\":\"kfrlhrxsbky\",\"tags\":{\"uzbpzkafku\":\"ca\",\"rnwb\":\"b\",\"hspkdeemao\":\"ehhseyvjusrts\",\"gkvtmelmqkrhah\":\"mx\"},\"id\":\"ljuahaquhcdh\",\"name\":\"duala\",\"type\":\"xqpvfadmw\"}]}"; Mockito.when(httpResponse.getStatusCode()).thenReturn(200); Mockito.when(httpResponse.getHeaders()).thenReturn(new HttpHeaders()); @@ -64,13 +63,13 @@ public void testListByResourceGroup() throws Exception { new AzureProfile("", "", AzureEnvironment.AZURE)); PagedIterable response = - manager.digitalTwins().listByResourceGroup("nermcl", Context.NONE); + manager.digitalTwins().listByResourceGroup("cq", com.azure.core.util.Context.NONE); - Assertions.assertEquals("suyonobglaocq", response.iterator().next().location()); - Assertions.assertEquals("cmgyud", response.iterator().next().tags().get("ytlmoyrxvwfud")); + Assertions.assertEquals("kfrlhrxsbky", response.iterator().next().location()); + Assertions.assertEquals("ca", response.iterator().next().tags().get("uzbpzkafku")); Assertions .assertEquals( DigitalTwinsIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, response.iterator().next().identity().type()); - Assertions.assertEquals(PublicNetworkAccess.ENABLED, response.iterator().next().publicNetworkAccess()); + Assertions.assertEquals(PublicNetworkAccess.DISABLED, response.iterator().next().publicNetworkAccess()); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsListMockTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsListMockTests.java index 9f69cdc349e1..0a6cd6822ff2 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsListMockTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsListMockTests.java @@ -12,7 +12,6 @@ import com.azure.core.http.rest.PagedIterable; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager; import com.azure.resourcemanager.digitaltwins.models.DigitalTwinsDescription; import com.azure.resourcemanager.digitaltwins.models.DigitalTwinsIdentityType; @@ -35,7 +34,7 @@ public void testList() throws Exception { ArgumentCaptor httpRequest = ArgumentCaptor.forClass(HttpRequest.class); String responseStr = - "{\"value\":[{\"properties\":{\"createdTime\":\"2021-09-27T17:09:21Z\",\"lastUpdatedTime\":\"2021-02-01T20:47:43Z\",\"provisioningState\":\"Deleted\",\"hostName\":\"ghxpkdw\",\"privateEndpointConnections\":[],\"publicNetworkAccess\":\"Disabled\"},\"identity\":{\"type\":\"SystemAssigned,UserAssigned\",\"principalId\":\"umnyqu\",\"tenantId\":\"deoj\",\"userAssignedIdentities\":{}},\"location\":\"khsmtxpsiebt\",\"tags\":{\"htldwk\":\"pesapskrdqmhjj\",\"otogtwrupqs\":\"zxuutkncwscwsvl\",\"cykvceo\":\"vnm\",\"vnotyfjfcnj\":\"eil\"},\"id\":\"k\",\"name\":\"nxdhbt\",\"type\":\"kphywpnvjto\"}]}"; + "{\"value\":[{\"properties\":{\"createdTime\":\"2021-04-27T01:09:59Z\",\"lastUpdatedTime\":\"2021-06-10T13:25:17Z\",\"provisioningState\":\"Failed\",\"hostName\":\"twrupqsxvnm\",\"privateEndpointConnections\":[],\"publicNetworkAccess\":\"Enabled\"},\"identity\":{\"type\":\"None\",\"principalId\":\"eil\",\"tenantId\":\"notyfjfcnjbkcn\",\"userAssignedIdentities\":{}},\"location\":\"ttkphywpnvjtoqne\",\"tags\":{\"oxuscrpabgyepsbj\":\"lfplp\"},\"id\":\"azqugxywpmueefj\",\"name\":\"wfqkquj\",\"type\":\"dsuyonobgla\"}]}"; Mockito.when(httpResponse.getStatusCode()).thenReturn(200); Mockito.when(httpResponse.getHeaders()).thenReturn(new HttpHeaders()); @@ -63,13 +62,11 @@ public void testList() throws Exception { tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureEnvironment.AZURE)); - PagedIterable response = manager.digitalTwins().list(Context.NONE); + PagedIterable response = manager.digitalTwins().list(com.azure.core.util.Context.NONE); - Assertions.assertEquals("khsmtxpsiebt", response.iterator().next().location()); - Assertions.assertEquals("pesapskrdqmhjj", response.iterator().next().tags().get("htldwk")); - Assertions - .assertEquals( - DigitalTwinsIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED, response.iterator().next().identity().type()); - Assertions.assertEquals(PublicNetworkAccess.DISABLED, response.iterator().next().publicNetworkAccess()); + Assertions.assertEquals("ttkphywpnvjtoqne", response.iterator().next().location()); + Assertions.assertEquals("lfplp", response.iterator().next().tags().get("oxuscrpabgyepsbj")); + Assertions.assertEquals(DigitalTwinsIdentityType.NONE, response.iterator().next().identity().type()); + Assertions.assertEquals(PublicNetworkAccess.ENABLED, response.iterator().next().publicNetworkAccess()); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsPatchDescriptionTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsPatchDescriptionTests.java index 71404810e216..61ab263a4b31 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsPatchDescriptionTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsPatchDescriptionTests.java @@ -14,11 +14,10 @@ import java.util.HashMap; import java.util.Map; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class DigitalTwinsPatchDescriptionTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { DigitalTwinsPatchDescription model = BinaryData .fromString( @@ -29,8 +28,8 @@ public void testDeserialize() { Assertions.assertEquals(PublicNetworkAccess.ENABLED, model.properties().publicNetworkAccess()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { DigitalTwinsPatchDescription model = new DigitalTwinsPatchDescription() .withTags( diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsPatchPropertiesTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsPatchPropertiesTests.java index 9e0b13d2115e..9edb174f7df9 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsPatchPropertiesTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsPatchPropertiesTests.java @@ -8,18 +8,17 @@ import com.azure.resourcemanager.digitaltwins.models.DigitalTwinsPatchProperties; import com.azure.resourcemanager.digitaltwins.models.PublicNetworkAccess; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class DigitalTwinsPatchPropertiesTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { DigitalTwinsPatchProperties model = BinaryData.fromString("{\"publicNetworkAccess\":\"Enabled\"}").toObject(DigitalTwinsPatchProperties.class); Assertions.assertEquals(PublicNetworkAccess.ENABLED, model.publicNetworkAccess()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { DigitalTwinsPatchProperties model = new DigitalTwinsPatchProperties().withPublicNetworkAccess(PublicNetworkAccess.ENABLED); model = BinaryData.fromObject(model).toObject(DigitalTwinsPatchProperties.class); diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsPropertiesTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsPropertiesTests.java index 091e9913d5ba..4a578c0e9225 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsPropertiesTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsPropertiesTests.java @@ -11,11 +11,10 @@ import com.azure.resourcemanager.digitaltwins.models.PublicNetworkAccess; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class DigitalTwinsPropertiesTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { DigitalTwinsProperties model = BinaryData .fromString( @@ -24,8 +23,8 @@ public void testDeserialize() { Assertions.assertEquals(PublicNetworkAccess.ENABLED, model.publicNetworkAccess()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { DigitalTwinsProperties model = new DigitalTwinsProperties() .withPrivateEndpointConnections( diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsResourceTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsResourceTests.java index ee13fdf10dcd..32ec50c57dde 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsResourceTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/DigitalTwinsResourceTests.java @@ -12,11 +12,10 @@ import java.util.HashMap; import java.util.Map; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class DigitalTwinsResourceTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { DigitalTwinsResource model = BinaryData .fromString( @@ -27,8 +26,8 @@ public void testDeserialize() { Assertions.assertEquals(DigitalTwinsIdentityType.SYSTEM_ASSIGNED, model.identity().type()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { DigitalTwinsResource model = new DigitalTwinsResource() .withLocation("qi") diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/ExternalResourceTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/ExternalResourceTests.java index a292b38b8498..173e7c73eeac 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/ExternalResourceTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/ExternalResourceTests.java @@ -6,19 +6,18 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.digitaltwins.models.ExternalResource; -import org.junit.jupiter.api.Test; public final class ExternalResourceTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { ExternalResource model = BinaryData .fromString("{\"id\":\"vkmijcmmxdcuf\",\"name\":\"fsrpymzidnse\",\"type\":\"cxtbzsg\"}") .toObject(ExternalResource.class); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { ExternalResource model = new ExternalResource(); model = BinaryData.fromObject(model).toObject(ExternalResource.class); } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/GroupIdInformationInnerTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/GroupIdInformationInnerTests.java index 5f2b9e79ef90..dd5ea900c0a0 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/GroupIdInformationInnerTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/GroupIdInformationInnerTests.java @@ -9,11 +9,10 @@ import com.azure.resourcemanager.digitaltwins.models.GroupIdInformationProperties; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class GroupIdInformationInnerTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { GroupIdInformationInner model = BinaryData .fromString( @@ -25,8 +24,8 @@ public void testDeserialize() { Assertions.assertEquals("ggzfbu", model.id()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { GroupIdInformationInner model = new GroupIdInformationInner() .withProperties( diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/GroupIdInformationPropertiesTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/GroupIdInformationPropertiesTests.java index d1996ea2cbaa..f803e8248636 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/GroupIdInformationPropertiesTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/GroupIdInformationPropertiesTests.java @@ -8,11 +8,10 @@ import com.azure.resourcemanager.digitaltwins.models.GroupIdInformationProperties; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class GroupIdInformationPropertiesTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { GroupIdInformationProperties model = BinaryData .fromString( @@ -23,8 +22,8 @@ public void testDeserialize() { Assertions.assertEquals("kpoc", model.requiredZoneNames().get(0)); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { GroupIdInformationProperties model = new GroupIdInformationProperties() .withGroupId("yvshxmz") diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/GroupIdInformationResponseInnerTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/GroupIdInformationResponseInnerTests.java index 06e365808326..271a4227723a 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/GroupIdInformationResponseInnerTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/GroupIdInformationResponseInnerTests.java @@ -10,11 +10,10 @@ import com.azure.resourcemanager.digitaltwins.models.GroupIdInformationProperties; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class GroupIdInformationResponseInnerTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { GroupIdInformationResponseInner model = BinaryData .fromString( @@ -24,8 +23,8 @@ public void testDeserialize() { Assertions.assertEquals("hzdobpxjmflbvvnc", model.value().get(0).id()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { GroupIdInformationResponseInner model = new GroupIdInformationResponseInner() .withValue( diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/ManagedIdentityReferenceTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/ManagedIdentityReferenceTests.java index ae8d976bf6bc..a0fedacc9fe0 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/ManagedIdentityReferenceTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/ManagedIdentityReferenceTests.java @@ -8,11 +8,10 @@ import com.azure.resourcemanager.digitaltwins.models.IdentityType; import com.azure.resourcemanager.digitaltwins.models.ManagedIdentityReference; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class ManagedIdentityReferenceTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { ManagedIdentityReference model = BinaryData .fromString("{\"type\":\"UserAssigned\",\"userAssignedIdentity\":\"hwxmnteiwa\"}") @@ -21,8 +20,8 @@ public void testDeserialize() { Assertions.assertEquals("hwxmnteiwa", model.userAssignedIdentity()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { ManagedIdentityReference model = new ManagedIdentityReference().withType(IdentityType.USER_ASSIGNED).withUserAssignedIdentity("hwxmnteiwa"); model = BinaryData.fromObject(model).toObject(ManagedIdentityReference.class); diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/OperationDisplayTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/OperationDisplayTests.java index c59ed74d2962..87de99dde3e7 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/OperationDisplayTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/OperationDisplayTests.java @@ -6,11 +6,10 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.digitaltwins.models.OperationDisplay; -import org.junit.jupiter.api.Test; public final class OperationDisplayTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { OperationDisplay model = BinaryData .fromString( @@ -18,8 +17,8 @@ public void testDeserialize() { .toObject(OperationDisplay.class); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { OperationDisplay model = new OperationDisplay(); model = BinaryData.fromObject(model).toObject(OperationDisplay.class); } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/OperationInnerTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/OperationInnerTests.java index ed0a20411b1b..3dae5bfd87c2 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/OperationInnerTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/OperationInnerTests.java @@ -7,11 +7,10 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.digitaltwins.fluent.models.OperationInner; import com.azure.resourcemanager.digitaltwins.models.OperationDisplay; -import org.junit.jupiter.api.Test; public final class OperationInnerTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { OperationInner model = BinaryData .fromString( @@ -19,8 +18,8 @@ public void testDeserialize() { .toObject(OperationInner.class); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { OperationInner model = new OperationInner().withDisplay(new OperationDisplay()); model = BinaryData.fromObject(model).toObject(OperationInner.class); } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/OperationListResultTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/OperationListResultTests.java index 511818190f69..bc0103e2ba2d 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/OperationListResultTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/OperationListResultTests.java @@ -7,11 +7,10 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.digitaltwins.models.OperationListResult; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class OperationListResultTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { OperationListResult model = BinaryData .fromString( @@ -20,8 +19,8 @@ public void testDeserialize() { Assertions.assertEquals("m", model.nextLink()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { OperationListResult model = new OperationListResult().withNextLink("m"); model = BinaryData.fromObject(model).toObject(OperationListResult.class); Assertions.assertEquals("m", model.nextLink()); diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/OperationsListMockTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/OperationsListMockTests.java index 955edf7ecb00..f372df00447a 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/OperationsListMockTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/OperationsListMockTests.java @@ -12,7 +12,6 @@ import com.azure.core.http.rest.PagedIterable; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager; import com.azure.resourcemanager.digitaltwins.models.Operation; import java.nio.ByteBuffer; @@ -32,7 +31,7 @@ public void testList() throws Exception { ArgumentCaptor httpRequest = ArgumentCaptor.forClass(HttpRequest.class); String responseStr = - "{\"value\":[{\"name\":\"jyofdxluusdtto\",\"display\":{\"provider\":\"boekqvkel\",\"resource\":\"mvb\",\"operation\":\"yjsflhhcaalnji\",\"description\":\"sxyawjoyaqcs\"},\"origin\":\"jpkiidzyexznelix\",\"isDataAction\":false,\"properties\":{\"ulppggdtpnapnyir\":\"datafolhbnxknal\",\"pigvpgylgqgitx\":\"datapu\"}}]}"; + "{\"value\":[{\"name\":\"xyawj\",\"display\":{\"provider\":\"qcslyjpkiid\",\"resource\":\"exznelixhnr\",\"operation\":\"folhbnxknal\",\"description\":\"lp\"},\"origin\":\"gdtpnapnyiro\",\"isDataAction\":false,\"properties\":{\"gqgitxmedjvcsl\":\"datagvpgy\",\"wwncwzzhxgk\":\"datan\"}}]}"; Mockito.when(httpResponse.getStatusCode()).thenReturn(200); Mockito.when(httpResponse.getHeaders()).thenReturn(new HttpHeaders()); @@ -60,6 +59,6 @@ public void testList() throws Exception { tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureEnvironment.AZURE)); - PagedIterable response = manager.operations().list(Context.NONE); + PagedIterable response = manager.operations().list(com.azure.core.util.Context.NONE); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionInnerTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionInnerTests.java index 4046527cc5a0..a0c757030b96 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionInnerTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionInnerTests.java @@ -12,11 +12,10 @@ import com.azure.resourcemanager.digitaltwins.models.PrivateLinkServiceConnectionStatus; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class PrivateEndpointConnectionInnerTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { PrivateEndpointConnectionInner model = BinaryData .fromString( @@ -32,8 +31,8 @@ public void testDeserialize() { .assertEquals("jgrtfwvukxga", model.properties().privateLinkServiceConnectionState().actionsRequired()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { PrivateEndpointConnectionInner model = new PrivateEndpointConnectionInner() .withProperties( diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsCreateOrUpdateMockTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsCreateOrUpdateMockTests.java index a0a0b85f4f82..ebdfc829e7d4 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsCreateOrUpdateMockTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsCreateOrUpdateMockTests.java @@ -36,7 +36,7 @@ public void testCreateOrUpdate() throws Exception { ArgumentCaptor httpRequest = ArgumentCaptor.forClass(HttpRequest.class); String responseStr = - "{\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"gtdsslswt\"},\"groupIds\":[\"riofzpyqse\",\"wab\",\"ets\"],\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"zhedplvwiw\",\"actionsRequired\":\"mwmbes\"}},\"id\":\"nkww\",\"name\":\"pp\",\"type\":\"flcxoga\"}"; + "{\"properties\":{\"provisioningState\":\"Succeeded\",\"privateEndpoint\":{\"id\":\"byyntwlrbqt\"},\"groupIds\":[\"evseotgqrlltmuwl\",\"uwz\",\"zxb\",\"pgcjefuzmuvp\"],\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"d\",\"actionsRequired\":\"orppxebmnzbtb\"}},\"id\":\"pglkf\",\"name\":\"ohdneuel\",\"type\":\"phsdyhto\"}"; Mockito.when(httpResponse.getStatusCode()).thenReturn(200); Mockito.when(httpResponse.getHeaders()).thenReturn(new HttpHeaders()); @@ -67,25 +67,26 @@ public void testCreateOrUpdate() throws Exception { PrivateEndpointConnection response = manager .privateEndpointConnections() - .define("bgycduiertgccym") - .withExistingDigitalTwinsInstance("ynduha", "hqlkthumaqo") + .define("z") + .withExistingDigitalTwinsInstance("k", "wtppjflcxogaoko") .withProperties( new ConnectionProperties() .withPrivateEndpoint(new PrivateEndpoint()) - .withGroupIds(Arrays.asList("mmdnbbglzps", "iydmcwyhzdxs")) + .withGroupIds(Arrays.asList("tfz")) .withPrivateLinkServiceConnectionState( new ConnectionPropertiesPrivateLinkServiceConnectionState() .withStatus(PrivateLinkServiceConnectionStatus.PENDING) - .withDescription("bzmnvdfznud") - .withActionsRequired("dvxzbncblylpst"))) + .withDescription("hvhgureod") + .withActionsRequired("obdagxtibqdxb"))) .create(); - Assertions.assertEquals("riofzpyqse", response.properties().groupIds().get(0)); + Assertions.assertEquals("evseotgqrlltmuwl", response.properties().groupIds().get(0)); Assertions .assertEquals( - PrivateLinkServiceConnectionStatus.REJECTED, + PrivateLinkServiceConnectionStatus.PENDING, response.properties().privateLinkServiceConnectionState().status()); - Assertions.assertEquals("zhedplvwiw", response.properties().privateLinkServiceConnectionState().description()); - Assertions.assertEquals("mwmbes", response.properties().privateLinkServiceConnectionState().actionsRequired()); + Assertions.assertEquals("d", response.properties().privateLinkServiceConnectionState().description()); + Assertions + .assertEquals("orppxebmnzbtb", response.properties().privateLinkServiceConnectionState().actionsRequired()); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsDeleteMockTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsDeleteMockTests.java index d30447cebf97..5115d3ba5818 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsDeleteMockTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsDeleteMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; @@ -57,6 +56,8 @@ public void testDelete() throws Exception { tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)), new AzureProfile("", "", AzureEnvironment.AZURE)); - manager.privateEndpointConnections().delete("ndoygmifthnzdnd", "l", "nayqi", Context.NONE); + manager + .privateEndpointConnections() + .delete("n", "tshhszhedp", "vwiwubmwmbesld", com.azure.core.util.Context.NONE); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsGetWithResponseMockTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsGetWithResponseMockTests.java index 3680c8ca7c51..53e121b49b13 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsGetWithResponseMockTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsGetWithResponseMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager; import com.azure.resourcemanager.digitaltwins.models.PrivateEndpointConnection; import com.azure.resourcemanager.digitaltwins.models.PrivateLinkServiceConnectionStatus; @@ -33,7 +32,7 @@ public void testGetWithResponse() throws Exception { ArgumentCaptor httpRequest = ArgumentCaptor.forClass(HttpRequest.class); String responseStr = - "{\"properties\":{\"provisioningState\":\"Rejected\",\"privateEndpoint\":{\"id\":\"vjz\"},\"groupIds\":[\"ilzznfqqnvwp\",\"qtaruoujmkcjhwq\"],\"privateLinkServiceConnectionState\":{\"status\":\"Disconnected\",\"description\":\"r\",\"actionsRequired\":\"n\"}},\"id\":\"ewgdrjervn\",\"name\":\"enq\",\"type\":\"eh\"}"; + "{\"properties\":{\"provisioningState\":\"Rejected\",\"privateEndpoint\":{\"id\":\"mmdnbbglzps\"},\"groupIds\":[\"d\",\"cwyhzdxssa\",\"bzmnvdfznud\",\"od\"],\"privateLinkServiceConnectionState\":{\"status\":\"Pending\",\"description\":\"bncblylpstdbhhx\",\"actionsRequired\":\"zdzucerscdntnevf\"}},\"id\":\"jmygtdsslswtmwer\",\"name\":\"ofz\",\"type\":\"yqsemwa\"}"; Mockito.when(httpResponse.getStatusCode()).thenReturn(200); Mockito.when(httpResponse.getHeaders()).thenReturn(new HttpHeaders()); @@ -62,14 +61,20 @@ public void testGetWithResponse() throws Exception { new AzureProfile("", "", AzureEnvironment.AZURE)); PrivateEndpointConnection response = - manager.privateEndpointConnections().getWithResponse("rxbpyb", "rfbjf", "twss", Context.NONE).getValue(); + manager + .privateEndpointConnections() + .getWithResponse("hqlkthumaqo", "bgycduiertgccym", "aolps", com.azure.core.util.Context.NONE) + .getValue(); - Assertions.assertEquals("ilzznfqqnvwp", response.properties().groupIds().get(0)); + Assertions.assertEquals("d", response.properties().groupIds().get(0)); Assertions .assertEquals( - PrivateLinkServiceConnectionStatus.DISCONNECTED, + PrivateLinkServiceConnectionStatus.PENDING, response.properties().privateLinkServiceConnectionState().status()); - Assertions.assertEquals("r", response.properties().privateLinkServiceConnectionState().description()); - Assertions.assertEquals("n", response.properties().privateLinkServiceConnectionState().actionsRequired()); + Assertions + .assertEquals("bncblylpstdbhhx", response.properties().privateLinkServiceConnectionState().description()); + Assertions + .assertEquals( + "zdzucerscdntnevf", response.properties().privateLinkServiceConnectionState().actionsRequired()); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsListWithResponseMockTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsListWithResponseMockTests.java index e5439e329e97..e17cfc8e5951 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsListWithResponseMockTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsListWithResponseMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager; import com.azure.resourcemanager.digitaltwins.models.PrivateEndpointConnectionsResponse; import java.nio.ByteBuffer; @@ -31,7 +30,7 @@ public void testListWithResponse() throws Exception { ArgumentCaptor httpRequest = ArgumentCaptor.forClass(HttpRequest.class); String responseStr = - "{\"value\":[{\"id\":\"ytkblmpew\",\"name\":\"wfbkrvrns\",\"type\":\"shqjohxcrsbf\"},{\"id\":\"asrru\",\"name\":\"wbhsqfsub\",\"type\":\"gjb\"}]}"; + "{\"value\":[{\"id\":\"pvjzbe\",\"name\":\"ilzznfqqnvwp\",\"type\":\"qtaruoujmkcjhwq\"},{\"id\":\"jrybnwjewgdrjer\",\"name\":\"naenqpehindo\",\"type\":\"gmifthnzd\"},{\"id\":\"sl\",\"name\":\"nayqi\",\"type\":\"ynduha\"}]}"; Mockito.when(httpResponse.getStatusCode()).thenReturn(200); Mockito.when(httpResponse.getHeaders()).thenReturn(new HttpHeaders()); @@ -62,7 +61,7 @@ public void testListWithResponse() throws Exception { PrivateEndpointConnectionsResponse response = manager .privateEndpointConnections() - .listWithResponse("qaqtdoqmcbxvwvxy", "lqbhsf", Context.NONE) + .listWithResponse("sqfsubcgjbirxb", "ybsrfbjfdtwss", com.azure.core.util.Context.NONE) .getValue(); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsResponseInnerTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsResponseInnerTests.java index b24bedaf966c..07126e105248 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsResponseInnerTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointConnectionsResponseInnerTests.java @@ -9,11 +9,10 @@ import com.azure.resourcemanager.digitaltwins.fluent.models.PrivateEndpointConnectionsResponseInner; import com.azure.resourcemanager.digitaltwins.models.ConnectionProperties; import java.util.Arrays; -import org.junit.jupiter.api.Test; public final class PrivateEndpointConnectionsResponseInnerTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { PrivateEndpointConnectionsResponseInner model = BinaryData .fromString( @@ -21,8 +20,8 @@ public void testDeserialize() { .toObject(PrivateEndpointConnectionsResponseInner.class); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { PrivateEndpointConnectionsResponseInner model = new PrivateEndpointConnectionsResponseInner() .withValue( diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointTests.java index 9ac2fddf930d..ccb9d719ccba 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateEndpointTests.java @@ -6,16 +6,15 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.digitaltwins.models.PrivateEndpoint; -import org.junit.jupiter.api.Test; public final class PrivateEndpointTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { PrivateEndpoint model = BinaryData.fromString("{\"id\":\"jozkrwfndiod\"}").toObject(PrivateEndpoint.class); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { PrivateEndpoint model = new PrivateEndpoint(); model = BinaryData.fromObject(model).toObject(PrivateEndpoint.class); } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateLinkResourcesGetWithResponseMockTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateLinkResourcesGetWithResponseMockTests.java index b52f2df7fdf2..105e6698d936 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateLinkResourcesGetWithResponseMockTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateLinkResourcesGetWithResponseMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager; import com.azure.resourcemanager.digitaltwins.models.GroupIdInformation; import java.nio.ByteBuffer; @@ -32,7 +31,7 @@ public void testGetWithResponse() throws Exception { ArgumentCaptor httpRequest = ArgumentCaptor.forClass(HttpRequest.class); String responseStr = - "{\"properties\":{\"groupId\":\"rcfbunrm\",\"requiredMembers\":[\"hhkxbp\",\"jy\"],\"requiredZoneNames\":[\"xxjyngudivkrtsw\"]},\"id\":\"qzvszjf\",\"name\":\"vjfdx\",\"type\":\"vetvt\"}"; + "{\"properties\":{\"groupId\":\"zvszj\",\"requiredMembers\":[\"vjfdx\",\"ivetvtcq\",\"qtdo\"],\"requiredZoneNames\":[\"bxvwv\",\"yslqbhsfx\",\"blytk\",\"lmpewwwfbkr\"]},\"id\":\"nsvs\",\"name\":\"johxcrsb\",\"type\":\"vasrruvwb\"}"; Mockito.when(httpResponse.getStatusCode()).thenReturn(200); Mockito.when(httpResponse.getHeaders()).thenReturn(new HttpHeaders()); @@ -63,12 +62,12 @@ public void testGetWithResponse() throws Exception { GroupIdInformation response = manager .privateLinkResources() - .getWithResponse("rhhuaopppcqeqx", "lzdahzxctobgbkdm", "izpost", Context.NONE) + .getWithResponse("mjh", "xjyngudivk", "tswb", com.azure.core.util.Context.NONE) .getValue(); - Assertions.assertEquals("rcfbunrm", response.properties().groupId()); - Assertions.assertEquals("hhkxbp", response.properties().requiredMembers().get(0)); - Assertions.assertEquals("xxjyngudivkrtsw", response.properties().requiredZoneNames().get(0)); - Assertions.assertEquals("qzvszjf", response.id()); + Assertions.assertEquals("zvszj", response.properties().groupId()); + Assertions.assertEquals("vjfdx", response.properties().requiredMembers().get(0)); + Assertions.assertEquals("bxvwv", response.properties().requiredZoneNames().get(0)); + Assertions.assertEquals("nsvs", response.id()); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateLinkResourcesListWithResponseMockTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateLinkResourcesListWithResponseMockTests.java index 4f31f63ccacd..76ab5a8dbe54 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateLinkResourcesListWithResponseMockTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/PrivateLinkResourcesListWithResponseMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager; import com.azure.resourcemanager.digitaltwins.models.GroupIdInformationResponse; import java.nio.ByteBuffer; @@ -31,7 +30,8 @@ public void testListWithResponse() throws Exception { HttpResponse httpResponse = Mockito.mock(HttpResponse.class); ArgumentCaptor httpRequest = ArgumentCaptor.forClass(HttpRequest.class); - String responseStr = "{\"value\":[{\"id\":\"gktrmgucnapkte\",\"name\":\"llwptfdy\",\"type\":\"fqbuaceopzf\"}]}"; + String responseStr = + "{\"value\":[{\"id\":\"lwptfdy\",\"name\":\"fqbuaceopzf\",\"type\":\"hhuao\"},{\"id\":\"pcqeqx\",\"name\":\"z\",\"type\":\"hzxct\"},{\"id\":\"gbkdmoizpos\",\"name\":\"grcfb\",\"type\":\"rmfqjhhkxbpvj\"}]}"; Mockito.when(httpResponse.getStatusCode()).thenReturn(200); Mockito.when(httpResponse.getHeaders()).thenReturn(new HttpHeaders()); @@ -60,8 +60,11 @@ public void testListWithResponse() throws Exception { new AzureProfile("", "", AzureEnvironment.AZURE)); GroupIdInformationResponse response = - manager.privateLinkResources().listWithResponse("edjvcslynqw", "ncw", Context.NONE).getValue(); + manager + .privateLinkResources() + .listWithResponse("rmgucnap", "t", com.azure.core.util.Context.NONE) + .getValue(); - Assertions.assertEquals("gktrmgucnapkte", response.value().get(0).id()); + Assertions.assertEquals("lwptfdy", response.value().get(0).id()); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionInnerTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionInnerTests.java index 493a769581e1..fa2202116bb3 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionInnerTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionInnerTests.java @@ -10,11 +10,10 @@ import com.azure.resourcemanager.digitaltwins.models.ManagedIdentityReference; import com.azure.resourcemanager.digitaltwins.models.TimeSeriesDatabaseConnectionProperties; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class TimeSeriesDatabaseConnectionInnerTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { TimeSeriesDatabaseConnectionInner model = BinaryData .fromString( @@ -24,8 +23,8 @@ public void testDeserialize() { Assertions.assertEquals("cktvfcivfsnkymuc", model.properties().identity().userAssignedIdentity()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { TimeSeriesDatabaseConnectionInner model = new TimeSeriesDatabaseConnectionInner() .withProperties( diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionListResultTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionListResultTests.java index 1d6f6b8f33b0..2dfca3d83f1d 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionListResultTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionListResultTests.java @@ -10,11 +10,10 @@ import com.azure.resourcemanager.digitaltwins.models.TimeSeriesDatabaseConnectionProperties; import java.util.Arrays; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class TimeSeriesDatabaseConnectionListResultTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { TimeSeriesDatabaseConnectionListResult model = BinaryData .fromString( @@ -23,8 +22,8 @@ public void testDeserialize() { Assertions.assertEquals("lpbuxwgipwhonowk", model.nextLink()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { TimeSeriesDatabaseConnectionListResult model = new TimeSeriesDatabaseConnectionListResult() .withNextLink("lpbuxwgipwhonowk") diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionPropertiesTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionPropertiesTests.java index 13e5e94cecd5..1c180fd111f5 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionPropertiesTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionPropertiesTests.java @@ -9,11 +9,10 @@ import com.azure.resourcemanager.digitaltwins.models.ManagedIdentityReference; import com.azure.resourcemanager.digitaltwins.models.TimeSeriesDatabaseConnectionProperties; import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.Test; public final class TimeSeriesDatabaseConnectionPropertiesTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { TimeSeriesDatabaseConnectionProperties model = BinaryData .fromString( @@ -23,8 +22,8 @@ public void testDeserialize() { Assertions.assertEquals("yq", model.identity().userAssignedIdentity()); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { TimeSeriesDatabaseConnectionProperties model = new TimeSeriesDatabaseConnectionProperties() .withIdentity( diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsCreateOrUpdateMockTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsCreateOrUpdateMockTests.java index 5f94620a6561..92cd431a7d96 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsCreateOrUpdateMockTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsCreateOrUpdateMockTests.java @@ -34,7 +34,7 @@ public void testCreateOrUpdate() throws Exception { ArgumentCaptor httpRequest = ArgumentCaptor.forClass(HttpRequest.class); String responseStr = - "{\"properties\":{\"connectionType\":\"TimeSeriesDatabaseConnectionProperties\",\"provisioningState\":\"Succeeded\",\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentity\":\"flrwd\"}},\"id\":\"dlxyjrxs\",\"name\":\"gafcnihgwqapnedg\",\"type\":\"bcvkcvqvpkeq\"}"; + "{\"properties\":{\"connectionType\":\"TimeSeriesDatabaseConnectionProperties\",\"provisioningState\":\"Succeeded\",\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentity\":\"elxprglyatddck\"}},\"id\":\"cuejrjxgci\",\"name\":\"ibrhosxsdqr\",\"type\":\"zoymibmrqyibahw\"}"; Mockito.when(httpResponse.getStatusCode()).thenReturn(200); Mockito.when(httpResponse.getHeaders()).thenReturn(new HttpHeaders()); @@ -65,17 +65,17 @@ public void testCreateOrUpdate() throws Exception { TimeSeriesDatabaseConnection response = manager .timeSeriesDatabaseConnections() - .define("c") - .withExistingDigitalTwinsInstance("sg", "b") + .define("zksmondj") + .withExistingDigitalTwinsInstance("yzvqt", "nubexk") .withProperties( new TimeSeriesDatabaseConnectionProperties() .withIdentity( new ManagedIdentityReference() .withType(IdentityType.USER_ASSIGNED) - .withUserAssignedIdentity("ka"))) + .withUserAssignedIdentity("mg"))) .create(); Assertions.assertEquals(IdentityType.USER_ASSIGNED, response.properties().identity().type()); - Assertions.assertEquals("flrwd", response.properties().identity().userAssignedIdentity()); + Assertions.assertEquals("elxprglyatddck", response.properties().identity().userAssignedIdentity()); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsDeleteMockTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsDeleteMockTests.java index 11c1ec984b21..c7f6461d35ca 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsDeleteMockTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsDeleteMockTests.java @@ -11,8 +11,8 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager; +import com.azure.resourcemanager.digitaltwins.models.CleanupConnectionArtifacts; import com.azure.resourcemanager.digitaltwins.models.IdentityType; import com.azure.resourcemanager.digitaltwins.models.TimeSeriesDatabaseConnection; import java.nio.ByteBuffer; @@ -33,7 +33,7 @@ public void testDelete() throws Exception { ArgumentCaptor httpRequest = ArgumentCaptor.forClass(HttpRequest.class); String responseStr = - "{\"properties\":{\"connectionType\":\"TimeSeriesDatabaseConnectionProperties\",\"provisioningState\":\"Succeeded\",\"identity\":{\"type\":\"SystemAssigned\",\"userAssignedIdentity\":\"tbhjpglkfgohdneu\"}},\"id\":\"fphsdyhtozfikdow\",\"name\":\"quuvxzxcl\",\"type\":\"ithhqzon\"}"; + "{\"properties\":{\"connectionType\":\"TimeSeriesDatabaseConnectionProperties\",\"provisioningState\":\"Succeeded\",\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentity\":\"ggkzzlvmbmpa\"}},\"id\":\"odfvuefywsbp\",\"name\":\"vmwy\",\"type\":\"rfouyftaakcpw\"}"; Mockito.when(httpResponse.getStatusCode()).thenReturn(200); Mockito.when(httpResponse.getHeaders()).thenReturn(new HttpHeaders()); @@ -62,9 +62,16 @@ public void testDelete() throws Exception { new AzureProfile("", "", AzureEnvironment.AZURE)); TimeSeriesDatabaseConnection response = - manager.timeSeriesDatabaseConnections().delete("cjefuzmu", "pbttdum", "rp", Context.NONE); + manager + .timeSeriesDatabaseConnections() + .delete( + "ld", + "mgxcxrslpm", + "twuoegrpkhjwni", + CleanupConnectionArtifacts.TRUE, + com.azure.core.util.Context.NONE); - Assertions.assertEquals(IdentityType.SYSTEM_ASSIGNED, response.properties().identity().type()); - Assertions.assertEquals("tbhjpglkfgohdneu", response.properties().identity().userAssignedIdentity()); + Assertions.assertEquals(IdentityType.USER_ASSIGNED, response.properties().identity().type()); + Assertions.assertEquals("ggkzzlvmbmpa", response.properties().identity().userAssignedIdentity()); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsGetWithResponseMockTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsGetWithResponseMockTests.java index da67aa069724..7a4cf248af63 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsGetWithResponseMockTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsGetWithResponseMockTests.java @@ -11,7 +11,6 @@ import com.azure.core.http.HttpResponse; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager; import com.azure.resourcemanager.digitaltwins.models.IdentityType; import com.azure.resourcemanager.digitaltwins.models.TimeSeriesDatabaseConnection; @@ -33,7 +32,7 @@ public void testGetWithResponse() throws Exception { ArgumentCaptor httpRequest = ArgumentCaptor.forClass(HttpRequest.class); String responseStr = - "{\"properties\":{\"connectionType\":\"TimeSeriesDatabaseConnectionProperties\",\"provisioningState\":\"Deleted\",\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentity\":\"eotg\"}},\"id\":\"l\",\"name\":\"tmuwlauwzi\",\"type\":\"xbmp\"}"; + "{\"properties\":{\"connectionType\":\"TimeSeriesDatabaseConnectionProperties\",\"provisioningState\":\"Moving\",\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentity\":\"gfbcvkcv\"}},\"id\":\"pkeqdcvdrhvoo\",\"name\":\"sotbob\",\"type\":\"dopcjwvnh\"}"; Mockito.when(httpResponse.getStatusCode()).thenReturn(200); Mockito.when(httpResponse.getHeaders()).thenReturn(new HttpHeaders()); @@ -64,10 +63,10 @@ public void testGetWithResponse() throws Exception { TimeSeriesDatabaseConnection response = manager .timeSeriesDatabaseConnections() - .getWithResponse("podxunkb", "bxmubyynt", "lrb", Context.NONE) + .getWithResponse("railvpnppfuf", "rwdmhdlxyjrxsa", "afcnih", com.azure.core.util.Context.NONE) .getValue(); Assertions.assertEquals(IdentityType.USER_ASSIGNED, response.properties().identity().type()); - Assertions.assertEquals("eotg", response.properties().identity().userAssignedIdentity()); + Assertions.assertEquals("gfbcvkcv", response.properties().identity().userAssignedIdentity()); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsListMockTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsListMockTests.java index f5dbf6cde37e..f630f990955a 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsListMockTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/TimeSeriesDatabaseConnectionsListMockTests.java @@ -12,7 +12,6 @@ import com.azure.core.http.rest.PagedIterable; import com.azure.core.management.AzureEnvironment; import com.azure.core.management.profile.AzureProfile; -import com.azure.core.util.Context; import com.azure.resourcemanager.digitaltwins.AzureDigitalTwinsManager; import com.azure.resourcemanager.digitaltwins.models.IdentityType; import com.azure.resourcemanager.digitaltwins.models.TimeSeriesDatabaseConnection; @@ -34,7 +33,7 @@ public void testList() throws Exception { ArgumentCaptor httpRequest = ArgumentCaptor.forClass(HttpRequest.class); String responseStr = - "{\"value\":[{\"properties\":{\"connectionType\":\"TimeSeriesDatabaseConnectionProperties\",\"provisioningState\":\"Disabled\",\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentity\":\"dkwobdagx\"}},\"id\":\"bqdxbx\",\"name\":\"akbogqxndlkzgxh\",\"type\":\"ripl\"}]}"; + "{\"value\":[{\"properties\":{\"connectionType\":\"TimeSeriesDatabaseConnectionProperties\",\"provisioningState\":\"Canceled\",\"identity\":{\"type\":\"SystemAssigned\",\"userAssignedIdentity\":\"hhqzonosgg\"}},\"id\":\"c\",\"name\":\"hfwdsjnkaljutiis\",\"type\":\"acffgdkzzewkfvhq\"}]}"; Mockito.when(httpResponse.getStatusCode()).thenReturn(200); Mockito.when(httpResponse.getHeaders()).thenReturn(new HttpHeaders()); @@ -63,9 +62,11 @@ public void testList() throws Exception { new AzureProfile("", "", AzureEnvironment.AZURE)); PagedIterable response = - manager.timeSeriesDatabaseConnections().list("konzmnsik", "mkqzeqqkdltfzxmh", Context.NONE); + manager.timeSeriesDatabaseConnections().list("fikdowwqu", "v", com.azure.core.util.Context.NONE); - Assertions.assertEquals(IdentityType.USER_ASSIGNED, response.iterator().next().properties().identity().type()); - Assertions.assertEquals("dkwobdagx", response.iterator().next().properties().identity().userAssignedIdentity()); + Assertions + .assertEquals(IdentityType.SYSTEM_ASSIGNED, response.iterator().next().properties().identity().type()); + Assertions + .assertEquals("hhqzonosgg", response.iterator().next().properties().identity().userAssignedIdentity()); } } diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/UserAssignedIdentityTests.java b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/UserAssignedIdentityTests.java index b594e5f3a0ff..f04a895d501b 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/UserAssignedIdentityTests.java +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/src/test/java/com/azure/resourcemanager/digitaltwins/generated/UserAssignedIdentityTests.java @@ -6,19 +6,18 @@ import com.azure.core.util.BinaryData; import com.azure.resourcemanager.digitaltwins.models.UserAssignedIdentity; -import org.junit.jupiter.api.Test; public final class UserAssignedIdentityTests { - @Test - public void testDeserialize() { + @org.junit.jupiter.api.Test + public void testDeserialize() throws Exception { UserAssignedIdentity model = BinaryData .fromString("{\"clientId\":\"mrldhu\",\"principalId\":\"zzd\"}") .toObject(UserAssignedIdentity.class); } - @Test - public void testSerialize() { + @org.junit.jupiter.api.Test + public void testSerialize() throws Exception { UserAssignedIdentity model = new UserAssignedIdentity(); model = BinaryData.fromObject(model).toObject(UserAssignedIdentity.class); } From 6f9f4c27266a3a6a80afafa2d44f10cc3fc12d2d Mon Sep 17 00:00:00 2001 From: Xiaofei Cao <92354331+XiaofeiCao@users.noreply.github.com> Date: Fri, 24 Mar 2023 12:29:50 +0800 Subject: [PATCH 29/35] mgmt, prepare release 2.25.0 (#34194) * version_client.txt * pom.xml * README.md * changelog.md * SINGLE_SERVICE_PACKAGES.md --- eng/jacoco-test-coverage/pom.xml | 34 ++++++------- eng/versioning/version_client.txt | 48 +++++++++---------- sdk/resourcemanager/README.md | 8 ++-- .../CHANGELOG.md | 10 ++-- .../README.md | 2 +- .../azure-resourcemanager-appplatform/pom.xml | 10 ++-- .../CHANGELOG.md | 2 +- .../README.md | 2 +- .../azure-resourcemanager-appservice/pom.xml | 12 ++--- .../CHANGELOG.md | 10 ++-- .../README.md | 2 +- .../pom.xml | 4 +- .../azure-resourcemanager-cdn/CHANGELOG.md | 10 ++-- .../azure-resourcemanager-cdn/README.md | 2 +- .../azure-resourcemanager-cdn/pom.xml | 4 +- .../CHANGELOG.md | 10 ++-- .../azure-resourcemanager-compute/README.md | 2 +- .../azure-resourcemanager-compute/pom.xml | 14 +++--- .../CHANGELOG.md | 10 ++-- .../README.md | 2 +- .../pom.xml | 12 ++--- .../CHANGELOG.md | 2 +- .../README.md | 2 +- .../pom.xml | 4 +- .../CHANGELOG.md | 2 +- .../README.md | 2 +- .../pom.xml | 4 +- .../azure-resourcemanager-cosmos/CHANGELOG.md | 10 ++-- .../azure-resourcemanager-cosmos/README.md | 2 +- .../azure-resourcemanager-cosmos/pom.xml | 8 ++-- .../azure-resourcemanager-dns/CHANGELOG.md | 10 ++-- .../azure-resourcemanager-dns/README.md | 2 +- .../azure-resourcemanager-dns/pom.xml | 4 +- .../CHANGELOG.md | 10 ++-- .../azure-resourcemanager-eventhubs/README.md | 2 +- .../azure-resourcemanager-eventhubs/pom.xml | 6 +-- .../CHANGELOG.md | 10 ++-- .../azure-resourcemanager-keyvault/README.md | 2 +- .../azure-resourcemanager-keyvault/pom.xml | 6 +-- .../CHANGELOG.md | 2 +- .../azure-resourcemanager-monitor/README.md | 2 +- .../azure-resourcemanager-monitor/pom.xml | 12 ++--- .../azure-resourcemanager-msi/CHANGELOG.md | 10 ++-- .../azure-resourcemanager-msi/README.md | 2 +- .../azure-resourcemanager-msi/pom.xml | 8 ++-- .../CHANGELOG.md | 2 +- .../azure-resourcemanager-network/README.md | 2 +- .../azure-resourcemanager-network/pom.xml | 8 ++-- .../azure-resourcemanager-perf/pom.xml | 2 +- .../CHANGELOG.md | 10 ++-- .../README.md | 2 +- .../azure-resourcemanager-privatedns/pom.xml | 6 +-- .../azure-resourcemanager-redis/CHANGELOG.md | 10 ++-- .../azure-resourcemanager-redis/README.md | 2 +- .../azure-resourcemanager-redis/pom.xml | 6 +-- .../CHANGELOG.md | 2 +- .../azure-resourcemanager-resources/README.md | 2 +- .../azure-resourcemanager-resources/pom.xml | 2 +- .../azure-resourcemanager-samples/README.md | 2 +- .../azure-resourcemanager-samples/pom.xml | 2 +- .../azure-resourcemanager-search/CHANGELOG.md | 10 ++-- .../azure-resourcemanager-search/README.md | 2 +- .../azure-resourcemanager-search/pom.xml | 4 +- .../CHANGELOG.md | 10 ++-- .../README.md | 2 +- .../azure-resourcemanager-servicebus/pom.xml | 4 +- .../azure-resourcemanager-sql/CHANGELOG.md | 10 ++-- .../azure-resourcemanager-sql/README.md | 2 +- .../azure-resourcemanager-sql/pom.xml | 6 +-- .../CHANGELOG.md | 10 ++-- .../azure-resourcemanager-storage/README.md | 2 +- .../azure-resourcemanager-storage/pom.xml | 4 +- .../CHANGELOG.md | 10 ++-- .../README.md | 2 +- .../pom.xml | 4 +- .../azure-resourcemanager/CHANGELOG.md | 10 ++-- .../azure-resourcemanager/README.md | 2 +- .../azure-resourcemanager/pom.xml | 48 +++++++++---------- .../docs/SINGLE_SERVICE_PACKAGES.md | 38 +++++++++++++++ 79 files changed, 288 insertions(+), 286 deletions(-) diff --git a/eng/jacoco-test-coverage/pom.xml b/eng/jacoco-test-coverage/pom.xml index b95b208c10d6..5f8f41ffc51a 100644 --- a/eng/jacoco-test-coverage/pom.xml +++ b/eng/jacoco-test-coverage/pom.xml @@ -389,87 +389,87 @@ com.azure.resourcemanager azure-resourcemanager - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-appplatform - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-appservice - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-authorization - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-compute - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-containerinstance - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-containerregistry - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-containerservice - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-cosmos - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-dns - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-keyvault - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-monitor - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-msi - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-network - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-sql - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0-beta.1 + 2.25.0 diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index 97c49d9bf835..b2d01e72fc6d 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -230,32 +230,32 @@ com.azure.spring:spring-cloud-azure-stream-binder-eventhubs;4.6.0;4.7.0-beta.1 com.azure.spring:spring-cloud-azure-stream-binder-servicebus-core;4.6.0;4.7.0-beta.1 com.azure.spring:spring-cloud-azure-stream-binder-servicebus;4.6.0;4.7.0-beta.1 com.azure.spring:spring-cloud-azure-trace-sleuth;4.6.0;4.7.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-appplatform;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-appservice;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-authorization;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-cdn;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-compute;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-containerinstance;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-containerregistry;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-containerservice;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-cosmos;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-dns;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-eventhubs;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-keyvault;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-monitor;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-msi;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-network;2.24.0;2.25.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-appplatform;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-appservice;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-authorization;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-cdn;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-compute;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-containerinstance;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-containerregistry;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-containerservice;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-cosmos;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-dns;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-eventhubs;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-keyvault;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-monitor;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-msi;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-network;2.24.0;2.25.0 com.azure.resourcemanager:azure-resourcemanager-perf;1.0.0-beta.1;1.0.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-privatedns;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-resources;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-redis;2.24.0;2.25.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-privatedns;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-resources;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-redis;2.24.0;2.25.0 com.azure.resourcemanager:azure-resourcemanager-samples;2.0.0-beta.1;2.0.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-search;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-servicebus;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-sql;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-storage;2.24.0;2.25.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-trafficmanager;2.24.0;2.25.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-search;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-servicebus;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-sql;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-storage;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-trafficmanager;2.24.0;2.25.0 com.azure.resourcemanager:azure-resourcemanager-test;2.0.0-beta.1;2.0.0-beta.1 com.azure.resourcemanager:azure-resourcemanager-mediaservices;2.3.0;2.4.0-beta.2 com.azure.resourcemanager:azure-resourcemanager-mysql;1.0.2;1.1.0-beta.1 diff --git a/sdk/resourcemanager/README.md b/sdk/resourcemanager/README.md index eac5fa3526e5..198154be4683 100644 --- a/sdk/resourcemanager/README.md +++ b/sdk/resourcemanager/README.md @@ -38,7 +38,7 @@ For your convenience, we have provided a multi-service package that includes som com.azure.resourcemanager azure-resourcemanager - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) @@ -100,7 +100,7 @@ Azure Management Libraries require a `TokenCredential` implementation for authen com.azure azure-identity - 1.8.0 + 1.8.1 ``` [//]: # ({x-version-update-end}) @@ -112,7 +112,7 @@ Azure Management Libraries require a `TokenCredential` implementation for authen com.azure azure-core-http-netty - 1.13.0 + 1.13.1 ``` [//]: # ({x-version-update-end}) @@ -303,7 +303,7 @@ For example, here is sample maven dependency for Compute package. com.azure.resourcemanager azure-resourcemanager-compute - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-appplatform/CHANGELOG.md index 9bde8298f3d0..6d828a610e3f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/CHANGELOG.md @@ -1,14 +1,12 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) -### Features Added - -### Breaking Changes +### Other Changes -### Bugs Fixed +#### Dependency Updates -### Other Changes +- Updated core dependency from resources. ## 2.24.0 (2023-02-17) diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/README.md b/sdk/resourcemanager/azure-resourcemanager-appplatform/README.md index c156a86f96f4..342294fd0676 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-appplatform - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/pom.xml b/sdk/resourcemanager/azure-resourcemanager-appplatform/pom.xml index 95bb2f2fd60f..5036f5418bb2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-appplatform - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for App Platform Management @@ -61,7 +61,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 com.azure @@ -107,19 +107,19 @@ com.azure.resourcemanager azure-resourcemanager-keyvault - 2.25.0-beta.1 + 2.25.0 test com.azure.resourcemanager azure-resourcemanager-dns - 2.25.0-beta.1 + 2.25.0 test com.azure.resourcemanager azure-resourcemanager-appservice - 2.25.0-beta.1 + 2.25.0 test diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-appservice/CHANGELOG.md index 8a53ddbdfcaa..35c85948b24f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appservice/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-appservice/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) ### Bugs Fixed diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/README.md b/sdk/resourcemanager/azure-resourcemanager-appservice/README.md index cde8f71fdeb0..6cdf903ead2d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appservice/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-appservice/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-appservice - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/pom.xml b/sdk/resourcemanager/azure-resourcemanager-appservice/pom.xml index f2d829939ea4..5f2ce189a3f6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appservice/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-appservice/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-appservice - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for App Service Management @@ -64,27 +64,27 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-msi - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-keyvault - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-dns - 2.25.0-beta.1 + 2.25.0 org.junit.jupiter diff --git a/sdk/resourcemanager/azure-resourcemanager-authorization/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-authorization/CHANGELOG.md index 4fd3170ddf89..0411aaa679f2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-authorization/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-authorization/CHANGELOG.md @@ -1,14 +1,12 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) -### Features Added - -### Breaking Changes +### Other Changes -### Bugs Fixed +#### Dependency Updates -### Other Changes +- Updated core dependency from resources. ## 2.24.0 (2023-02-17) diff --git a/sdk/resourcemanager/azure-resourcemanager-authorization/README.md b/sdk/resourcemanager/azure-resourcemanager-authorization/README.md index 3a65f46e237d..4489fa45f1c6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-authorization/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-authorization/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-authorization - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-authorization/pom.xml b/sdk/resourcemanager/azure-resourcemanager-authorization/pom.xml index a6d18d1731f4..3497aa7abe7e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-authorization/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-authorization/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-authorization - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for Authorization Management @@ -59,7 +59,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 org.slf4j diff --git a/sdk/resourcemanager/azure-resourcemanager-cdn/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-cdn/CHANGELOG.md index 6b31e0b9ebd2..42ba60fa7eec 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cdn/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-cdn/CHANGELOG.md @@ -1,14 +1,12 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) -### Features Added - -### Breaking Changes +### Other Changes -### Bugs Fixed +#### Dependency Updates -### Other Changes +- Updated core dependency from resources. ## 2.24.0 (2023-02-17) diff --git a/sdk/resourcemanager/azure-resourcemanager-cdn/README.md b/sdk/resourcemanager/azure-resourcemanager-cdn/README.md index 8ce33368b462..6c5b5b7fc201 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cdn/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-cdn/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-cdn - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-cdn/pom.xml b/sdk/resourcemanager/azure-resourcemanager-cdn/pom.xml index a4981ca164a1..46c16d476579 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cdn/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-cdn/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-cdn - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for CDN Management @@ -56,7 +56,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 org.junit.jupiter diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-compute/CHANGELOG.md index cd4e5eba8ed4..9b680b4a610f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-compute/CHANGELOG.md @@ -1,14 +1,12 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) -### Features Added - -### Breaking Changes +### Other Changes -### Bugs Fixed +#### Dependency Updates -### Other Changes +- Updated core dependency from resources. ## 2.24.0 (2023-02-17) diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/README.md b/sdk/resourcemanager/azure-resourcemanager-compute/README.md index 29e6a39f8653..181026dff78a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-compute/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-compute - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/pom.xml b/sdk/resourcemanager/azure-resourcemanager-compute/pom.xml index 32667b4b1a7d..9556fe3ef09d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-compute/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-compute - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for Compute Management @@ -69,27 +69,27 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-network - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-msi - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-authorization - 2.25.0-beta.1 + 2.25.0 org.slf4j @@ -118,7 +118,7 @@ com.azure.resourcemanager azure-resourcemanager-keyvault - 2.25.0-beta.1 + 2.25.0 test diff --git a/sdk/resourcemanager/azure-resourcemanager-containerinstance/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-containerinstance/CHANGELOG.md index e583cc5e5905..ef96335daad1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerinstance/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-containerinstance/CHANGELOG.md @@ -1,14 +1,12 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) -### Features Added - -### Breaking Changes +### Other Changes -### Bugs Fixed +#### Dependency Updates -### Other Changes +- Updated core dependency from resources. ## 2.24.0 (2023-02-17) diff --git a/sdk/resourcemanager/azure-resourcemanager-containerinstance/README.md b/sdk/resourcemanager/azure-resourcemanager-containerinstance/README.md index 974ed5eb325e..2346202a6ca6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerinstance/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-containerinstance/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-containerinstance - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-containerinstance/pom.xml b/sdk/resourcemanager/azure-resourcemanager-containerinstance/pom.xml index 193442fe84bb..34d3f5df7dee 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerinstance/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-containerinstance/pom.xml @@ -10,7 +10,7 @@ com.azure.resourcemanager azure-resourcemanager-containerinstance - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for Container Instance Management @@ -57,27 +57,27 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-authorization - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-msi - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-network - 2.25.0-beta.1 + 2.25.0 com.azure diff --git a/sdk/resourcemanager/azure-resourcemanager-containerregistry/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-containerregistry/CHANGELOG.md index 9b3a71f6862f..bc210465720e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerregistry/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-containerregistry/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) ### Bugs Fixed diff --git a/sdk/resourcemanager/azure-resourcemanager-containerregistry/README.md b/sdk/resourcemanager/azure-resourcemanager-containerregistry/README.md index ee6cff715c11..9e8527fef898 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerregistry/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-containerregistry/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-containerregistry - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-containerregistry/pom.xml b/sdk/resourcemanager/azure-resourcemanager-containerregistry/pom.xml index 2c1485d9207d..6f890b1f26e9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerregistry/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-containerregistry/pom.xml @@ -10,7 +10,7 @@ com.azure.resourcemanager azure-resourcemanager-containerregistry - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for Container Registry Management @@ -54,7 +54,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 org.slf4j diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-containerservice/CHANGELOG.md index 028fd095d7df..6ab8e93feed0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerservice/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) ### Features Added - Supported FIPS-enabled OS for agent pool machines. diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/README.md b/sdk/resourcemanager/azure-resourcemanager-containerservice/README.md index 2a8ebd4ced12..6a826add7694 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerservice/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-containerservice - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/pom.xml b/sdk/resourcemanager/azure-resourcemanager-containerservice/pom.xml index 6c156b78164d..8a2a0295ab31 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerservice/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/pom.xml @@ -10,7 +10,7 @@ com.azure.resourcemanager azure-resourcemanager-containerservice - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for Container Service Management @@ -55,7 +55,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 org.junit.jupiter diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-cosmos/CHANGELOG.md index ddf8020b3046..8a730f99bd06 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/CHANGELOG.md @@ -1,14 +1,12 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) -### Features Added - -### Breaking Changes +### Other Changes -### Bugs Fixed +#### Dependency Updates -### Other Changes +- Updated core dependency from resources. ## 2.24.0 (2023-02-17) diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/README.md b/sdk/resourcemanager/azure-resourcemanager-cosmos/README.md index 78d30dd866d2..40ea0fec3d40 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-cosmos - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/pom.xml b/sdk/resourcemanager/azure-resourcemanager-cosmos/pom.xml index a46ea3b85dea..0e4e307f9f1b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/pom.xml @@ -10,7 +10,7 @@ com.azure.resourcemanager azure-resourcemanager-cosmos - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for CosmosDB Management @@ -56,7 +56,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 org.junit.jupiter @@ -73,13 +73,13 @@ com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0-beta.1 + 2.25.0 test com.azure.resourcemanager azure-resourcemanager-network - 2.25.0-beta.1 + 2.25.0 test diff --git a/sdk/resourcemanager/azure-resourcemanager-dns/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-dns/CHANGELOG.md index 48647fe8475a..4e458066fbee 100644 --- a/sdk/resourcemanager/azure-resourcemanager-dns/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-dns/CHANGELOG.md @@ -1,14 +1,12 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) -### Features Added - -### Breaking Changes +### Other Changes -### Bugs Fixed +#### Dependency Updates -### Other Changes +- Updated core dependency from resources. ## 2.24.0 (2023-02-17) diff --git a/sdk/resourcemanager/azure-resourcemanager-dns/README.md b/sdk/resourcemanager/azure-resourcemanager-dns/README.md index 972d11db5b96..ea6edf642a9d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-dns/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-dns/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-dns - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-dns/pom.xml b/sdk/resourcemanager/azure-resourcemanager-dns/pom.xml index e54105893447..65fd05dbf15f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-dns/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-dns/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-dns - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for DNS Management @@ -56,7 +56,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 commons-io diff --git a/sdk/resourcemanager/azure-resourcemanager-eventhubs/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-eventhubs/CHANGELOG.md index efe92f350bdb..6a8971e479fb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-eventhubs/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-eventhubs/CHANGELOG.md @@ -1,14 +1,12 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) -### Features Added - -### Breaking Changes +### Other Changes -### Bugs Fixed +#### Dependency Updates -### Other Changes +- Updated core dependency from resources. ## 2.24.0 (2023-02-17) diff --git a/sdk/resourcemanager/azure-resourcemanager-eventhubs/README.md b/sdk/resourcemanager/azure-resourcemanager-eventhubs/README.md index 92279ead298b..5561a36b74de 100644 --- a/sdk/resourcemanager/azure-resourcemanager-eventhubs/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-eventhubs/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-eventhubs - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-eventhubs/pom.xml b/sdk/resourcemanager/azure-resourcemanager-eventhubs/pom.xml index 96f253e7caf1..c9c7caf677a8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-eventhubs/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-eventhubs/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-eventhubs - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for EventHubs Management @@ -57,12 +57,12 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0-beta.1 + 2.25.0 org.junit.jupiter diff --git a/sdk/resourcemanager/azure-resourcemanager-keyvault/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-keyvault/CHANGELOG.md index 614501c03e17..28ad65782f18 100644 --- a/sdk/resourcemanager/azure-resourcemanager-keyvault/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-keyvault/CHANGELOG.md @@ -1,14 +1,12 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) -### Features Added - -### Breaking Changes +### Other Changes -### Bugs Fixed +#### Dependency Updates -### Other Changes +- Updated core dependency from resources. ## 2.24.0 (2023-02-17) diff --git a/sdk/resourcemanager/azure-resourcemanager-keyvault/README.md b/sdk/resourcemanager/azure-resourcemanager-keyvault/README.md index 6480dfa485ca..aba60deb8372 100644 --- a/sdk/resourcemanager/azure-resourcemanager-keyvault/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-keyvault/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-keyvault - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-keyvault/pom.xml b/sdk/resourcemanager/azure-resourcemanager-keyvault/pom.xml index 7517299c4127..60634bf57cee 100644 --- a/sdk/resourcemanager/azure-resourcemanager-keyvault/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-keyvault/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-keyvault - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for Key Vault Management @@ -57,12 +57,12 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-authorization - 2.25.0-beta.1 + 2.25.0 com.azure diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-monitor/CHANGELOG.md index e33c79c2fc16..216db60d0132 100644 --- a/sdk/resourcemanager/azure-resourcemanager-monitor/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-monitor/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) ### Bugs Fixed diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/README.md b/sdk/resourcemanager/azure-resourcemanager-monitor/README.md index 46087dce047e..3a54938707c0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-monitor/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-monitor/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-monitor - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/pom.xml b/sdk/resourcemanager/azure-resourcemanager-monitor/pom.xml index 6bf1daa3584d..c0d3ae68d408 100644 --- a/sdk/resourcemanager/azure-resourcemanager-monitor/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-monitor/pom.xml @@ -10,7 +10,7 @@ com.azure.resourcemanager azure-resourcemanager-monitor - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for Monitor Management @@ -61,7 +61,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 org.junit.jupiter @@ -84,25 +84,25 @@ com.azure.resourcemanager azure-resourcemanager-compute - 2.25.0-beta.1 + 2.25.0 test com.azure.resourcemanager azure-resourcemanager-appservice - 2.25.0-beta.1 + 2.25.0 test com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0-beta.1 + 2.25.0 test com.azure.resourcemanager azure-resourcemanager-eventhubs - 2.25.0-beta.1 + 2.25.0 test diff --git a/sdk/resourcemanager/azure-resourcemanager-msi/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-msi/CHANGELOG.md index 37a3500e39f1..cce2938f7df8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-msi/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-msi/CHANGELOG.md @@ -1,14 +1,12 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) -### Features Added - -### Breaking Changes +### Other Changes -### Bugs Fixed +#### Dependency Updates -### Other Changes +- Updated core dependency from resources. ## 2.24.0 (2023-02-17) diff --git a/sdk/resourcemanager/azure-resourcemanager-msi/README.md b/sdk/resourcemanager/azure-resourcemanager-msi/README.md index 45b04a365fb8..50180f6344dd 100644 --- a/sdk/resourcemanager/azure-resourcemanager-msi/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-msi/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-msi - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-msi/pom.xml b/sdk/resourcemanager/azure-resourcemanager-msi/pom.xml index b55af7f5331b..1fe4eab7320a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-msi/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-msi/pom.xml @@ -10,7 +10,7 @@ com.azure.resourcemanager azure-resourcemanager-msi - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for Managed Service Identity (MSI) Management @@ -57,12 +57,12 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-authorization - 2.25.0-beta.1 + 2.25.0 org.junit.jupiter @@ -79,7 +79,7 @@ com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0-beta.1 + 2.25.0 test diff --git a/sdk/resourcemanager/azure-resourcemanager-network/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-network/CHANGELOG.md index 786a938fe591..bee4c435da7d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-network/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) ### Bugs Fixed diff --git a/sdk/resourcemanager/azure-resourcemanager-network/README.md b/sdk/resourcemanager/azure-resourcemanager-network/README.md index 6544b84f001c..4af89521510d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-network/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-network - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-network/pom.xml b/sdk/resourcemanager/azure-resourcemanager-network/pom.xml index 6b939a4fadf1..5d3200c7e8a7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-network/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-network - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for Network Management @@ -64,7 +64,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 org.junit.jupiter @@ -93,13 +93,13 @@ com.azure.resourcemanager azure-resourcemanager-keyvault - 2.25.0-beta.1 + 2.25.0 test com.azure.resourcemanager azure-resourcemanager-msi - 2.25.0-beta.1 + 2.25.0 test diff --git a/sdk/resourcemanager/azure-resourcemanager-perf/pom.xml b/sdk/resourcemanager/azure-resourcemanager-perf/pom.xml index 1a2f4bf06b1e..337d86f7e336 100644 --- a/sdk/resourcemanager/azure-resourcemanager-perf/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-perf/pom.xml @@ -25,7 +25,7 @@ com.azure.resourcemanager azure-resourcemanager - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager diff --git a/sdk/resourcemanager/azure-resourcemanager-privatedns/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-privatedns/CHANGELOG.md index e2a7c478ef87..52b138891769 100644 --- a/sdk/resourcemanager/azure-resourcemanager-privatedns/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-privatedns/CHANGELOG.md @@ -1,14 +1,12 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) -### Features Added - -### Breaking Changes +### Other Changes -### Bugs Fixed +#### Dependency Updates -### Other Changes +- Updated core dependency from resources. ## 2.24.0 (2023-02-17) diff --git a/sdk/resourcemanager/azure-resourcemanager-privatedns/README.md b/sdk/resourcemanager/azure-resourcemanager-privatedns/README.md index 8df03fadfe4e..bebb86ece722 100644 --- a/sdk/resourcemanager/azure-resourcemanager-privatedns/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-privatedns/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-privatedns - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-privatedns/pom.xml b/sdk/resourcemanager/azure-resourcemanager-privatedns/pom.xml index 7611c3800689..20d97b127717 100644 --- a/sdk/resourcemanager/azure-resourcemanager-privatedns/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-privatedns/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-privatedns - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for Private DNS Management @@ -59,12 +59,12 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-network - 2.25.0-beta.1 + 2.25.0 test diff --git a/sdk/resourcemanager/azure-resourcemanager-redis/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-redis/CHANGELOG.md index 44359866c991..0fbb2f6b72a4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-redis/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-redis/CHANGELOG.md @@ -1,14 +1,12 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) -### Features Added - -### Breaking Changes +### Other Changes -### Bugs Fixed +#### Dependency Updates -### Other Changes +- Updated core dependency from resources. ## 2.24.0 (2023-02-17) diff --git a/sdk/resourcemanager/azure-resourcemanager-redis/README.md b/sdk/resourcemanager/azure-resourcemanager-redis/README.md index 2a317cc02725..489bcaa05c65 100644 --- a/sdk/resourcemanager/azure-resourcemanager-redis/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-redis/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-redis - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-redis/pom.xml b/sdk/resourcemanager/azure-resourcemanager-redis/pom.xml index 5803764af45e..b7d34b491b2a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-redis/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-redis/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-redis - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for Redis Cache Management @@ -61,7 +61,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 org.junit.jupiter @@ -84,7 +84,7 @@ com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0-beta.1 + 2.25.0 test diff --git a/sdk/resourcemanager/azure-resourcemanager-resources/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-resources/CHANGELOG.md index ba420b088420..b4c259be8f82 100644 --- a/sdk/resourcemanager/azure-resourcemanager-resources/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-resources/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) ### Breaking Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-resources/README.md b/sdk/resourcemanager/azure-resourcemanager-resources/README.md index 06c733aebea6..fcb9354302b8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-resources/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-resources/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-resources - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-resources/pom.xml b/sdk/resourcemanager/azure-resourcemanager-resources/pom.xml index 461a3348eb24..9091646ef1e0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-resources/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-resources/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for Resource Management diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/README.md b/sdk/resourcemanager/azure-resourcemanager-samples/README.md index 5878ba4b1056..91d8fbd433fa 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-samples/README.md @@ -17,7 +17,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/pom.xml b/sdk/resourcemanager/azure-resourcemanager-samples/pom.xml index 65a65dfb2678..1b41560c4a84 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-samples/pom.xml @@ -54,7 +54,7 @@ com.azure.resourcemanager azure-resourcemanager - 2.25.0-beta.1 + 2.25.0 com.azure diff --git a/sdk/resourcemanager/azure-resourcemanager-search/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-search/CHANGELOG.md index b52cb58ff898..27e36a097c8b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-search/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-search/CHANGELOG.md @@ -1,14 +1,12 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) -### Features Added - -### Breaking Changes +### Other Changes -### Bugs Fixed +#### Dependency Updates -### Other Changes +- Updated core dependency from resources. ## 2.24.0 (2023-02-17) diff --git a/sdk/resourcemanager/azure-resourcemanager-search/README.md b/sdk/resourcemanager/azure-resourcemanager-search/README.md index 2564f1cbacd6..5e499289df5f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-search/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-search/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-search - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-search/pom.xml b/sdk/resourcemanager/azure-resourcemanager-search/pom.xml index 0b0035a5291e..b970758c8d07 100644 --- a/sdk/resourcemanager/azure-resourcemanager-search/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-search/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-search - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for Cognitive Search Management @@ -56,7 +56,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 org.junit.jupiter diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-servicebus/CHANGELOG.md index dcab5c9e2965..035c56299ef9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/CHANGELOG.md @@ -1,14 +1,12 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) -### Features Added - -### Breaking Changes +### Other Changes -### Bugs Fixed +#### Dependency Updates -### Other Changes +- Updated core dependency from resources. ## 2.24.0 (2023-02-17) diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/README.md b/sdk/resourcemanager/azure-resourcemanager-servicebus/README.md index 8725d8439793..026214b2f4b9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-servicebus - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/pom.xml b/sdk/resourcemanager/azure-resourcemanager-servicebus/pom.xml index 9fe272317455..e690143c9ae4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-servicebus - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for ServiceBus Management @@ -56,7 +56,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 org.junit.jupiter diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-sql/CHANGELOG.md index 29845ee67c6d..552616a732b4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-sql/CHANGELOG.md @@ -1,14 +1,12 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) -### Features Added - -### Breaking Changes +### Other Changes -### Bugs Fixed +#### Dependency Updates -### Other Changes +- Updated core dependency from resources. ## 2.24.0 (2023-02-17) diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/README.md b/sdk/resourcemanager/azure-resourcemanager-sql/README.md index 3596a3ee9757..628f2eb0bdb3 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-sql/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-sql - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/pom.xml b/sdk/resourcemanager/azure-resourcemanager-sql/pom.xml index 9670230130b2..6bf2d11b475e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-sql/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-sql - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for Sql Management @@ -60,12 +60,12 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0-beta.1 + 2.25.0 org.junit.jupiter diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-storage/CHANGELOG.md index 4905c6aba85f..d87c501b980e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-storage/CHANGELOG.md @@ -1,14 +1,12 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) -### Features Added - -### Breaking Changes +### Other Changes -### Bugs Fixed +#### Dependency Updates -### Other Changes +- Updated core dependency from resources. ## 2.24.0 (2023-02-17) diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/README.md b/sdk/resourcemanager/azure-resourcemanager-storage/README.md index 84414c872e2c..421901a264fc 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-storage/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-storage - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/pom.xml b/sdk/resourcemanager/azure-resourcemanager-storage/pom.xml index 9393a4644251..9e12d1ddbf93 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-storage/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for Storage Management @@ -58,7 +58,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 org.slf4j diff --git a/sdk/resourcemanager/azure-resourcemanager-trafficmanager/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-trafficmanager/CHANGELOG.md index 3090202c2091..b15f686e4747 100644 --- a/sdk/resourcemanager/azure-resourcemanager-trafficmanager/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-trafficmanager/CHANGELOG.md @@ -1,14 +1,12 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) -### Features Added - -### Breaking Changes +### Other Changes -### Bugs Fixed +#### Dependency Updates -### Other Changes +- Updated core dependency from resources. ## 2.24.0 (2023-02-17) diff --git a/sdk/resourcemanager/azure-resourcemanager-trafficmanager/README.md b/sdk/resourcemanager/azure-resourcemanager-trafficmanager/README.md index def5b886bc9c..0f843c544f3f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-trafficmanager/README.md +++ b/sdk/resourcemanager/azure-resourcemanager-trafficmanager/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager-trafficmanager - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager-trafficmanager/pom.xml b/sdk/resourcemanager/azure-resourcemanager-trafficmanager/pom.xml index a6e8d8b03605..ddcb029b2467 100644 --- a/sdk/resourcemanager/azure-resourcemanager-trafficmanager/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-trafficmanager/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-trafficmanager - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for Traffic Manager Management @@ -58,7 +58,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 org.slf4j diff --git a/sdk/resourcemanager/azure-resourcemanager/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager/CHANGELOG.md index b4006d315b75..49a57e2f843a 100644 --- a/sdk/resourcemanager/azure-resourcemanager/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager/CHANGELOG.md @@ -1,14 +1,12 @@ # Release History -## 2.25.0-beta.1 (Unreleased) +## 2.25.0 (2023-03-24) -### Features Added - -### Breaking Changes +### Other Changes -### Bugs Fixed +#### Dependency Updates -### Other Changes +- Updated core dependency from resources. ## 2.24.0 (2023-02-17) diff --git a/sdk/resourcemanager/azure-resourcemanager/README.md b/sdk/resourcemanager/azure-resourcemanager/README.md index 4bdffc592a93..e32671a95f8a 100644 --- a/sdk/resourcemanager/azure-resourcemanager/README.md +++ b/sdk/resourcemanager/azure-resourcemanager/README.md @@ -18,7 +18,7 @@ For documentation on how to use this package, please see [Azure Management Libra com.azure.resourcemanager azure-resourcemanager - 2.24.0 + 2.25.0 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/resourcemanager/azure-resourcemanager/pom.xml b/sdk/resourcemanager/azure-resourcemanager/pom.xml index 0a6cc4ba8f98..ae38876d37b2 100644 --- a/sdk/resourcemanager/azure-resourcemanager/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager/pom.xml @@ -15,7 +15,7 @@ com.azure.resourcemanager azure-resourcemanager - 2.25.0-beta.1 + 2.25.0 jar Microsoft Azure SDK for Management @@ -70,117 +70,117 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-compute - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-network - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-keyvault - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-msi - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-sql - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-authorization - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-appservice - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-cosmos - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-containerservice - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-monitor - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-containerregistry - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-dns - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-appplatform - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-containerinstance - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-privatedns - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-redis - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-eventhubs - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-trafficmanager - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-servicebus - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-cdn - 2.25.0-beta.1 + 2.25.0 com.azure.resourcemanager azure-resourcemanager-search - 2.25.0-beta.1 + 2.25.0 org.junit.jupiter diff --git a/sdk/resourcemanager/docs/SINGLE_SERVICE_PACKAGES.md b/sdk/resourcemanager/docs/SINGLE_SERVICE_PACKAGES.md index 43ea343427d0..ebabb3074550 100644 --- a/sdk/resourcemanager/docs/SINGLE_SERVICE_PACKAGES.md +++ b/sdk/resourcemanager/docs/SINGLE_SERVICE_PACKAGES.md @@ -275,6 +275,8 @@ service
communication +* [package-preview-2023-03](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/communication/resource-manager#tag-package-preview-2023-03) + * [1.1.0-beta.4](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-communication/1.1.0-beta.4) * [package-preview-2022-07](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/communication/resource-manager#tag-package-preview-2022-07) * [1.1.0-beta.3](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-communication/1.1.0-beta.3) * [package-2021-10-01-preview](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/communication/resource-manager#tag-package-2021-10-01-preview) @@ -410,6 +412,7 @@ service * [1.0.0-beta.5](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-datafactory/1.0.0-beta.5) * [1.0.0-beta.4](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-datafactory/1.0.0-beta.4) * [1.0.0-beta.3](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-datafactory/1.0.0-beta.3) + * [1.0.0-beta.22](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-datafactory/1.0.0-beta.22) * [1.0.0-beta.21](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-datafactory/1.0.0-beta.21) * [1.0.0-beta.20](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-datafactory/1.0.0-beta.20) * [1.0.0-beta.2](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-datafactory/1.0.0-beta.2) @@ -490,6 +493,9 @@ service * [package-preview-2021-09](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/desktopvirtualization/resource-manager#tag-package-preview-2021-09) * [1.0.0-beta.2](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-desktopvirtualization/1.0.0-beta.2) * [1.0.0-beta.1](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-desktopvirtualization/1.0.0-beta.1) +* [package-2022-09](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/desktopvirtualization/resource-manager#tag-package-2022-09) + * [1.0.0-beta.3](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-desktopvirtualization/1.0.0-beta.3) + * [1.0.0](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-desktopvirtualization/1.0.0)

@@ -679,6 +685,14 @@ service * [1.0.0-beta.1](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-frontdoor/1.0.0-beta.1) +
+
+ graphservices + +* [package-2022-09-22-preview](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/graphservicesprod/resource-manager#tag-package-2022-09-22-preview) + * [1.0.0-beta.1](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-graphservices/1.0.0-beta.1) +
+
hanaonazure @@ -742,6 +756,8 @@ service
hybridcontainerservice +* [package-preview-2022-09](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/hybridaks/resource-manager#tag-package-preview-2022-09) + * [1.0.0-beta.2](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-hybridcontainerservice/1.0.0-beta.2) * [package-2022-05-01-preview](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/hybridaks/resource-manager#tag-package-2022-05-01-preview) * [1.0.0-beta.1](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-hybridcontainerservice/1.0.0-beta.1)
@@ -770,6 +786,8 @@ service
imagebuilder +* [package-2022-07](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/imagebuilder/resource-manager#tag-package-2022-07) + * [1.0.0-beta.4](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-imagebuilder/1.0.0-beta.4) * [package-2022-02](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/imagebuilder/resource-manager#tag-package-2022-02) * [1.0.0-beta.3](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-imagebuilder/1.0.0-beta.3) * [package-2021-10](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/imagebuilder/resource-manager#tag-package-2021-10) @@ -1024,6 +1042,8 @@ service
netapp +* [package-netapp-2022-09-01](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/netapp/resource-manager#tag-package-netapp-2022-09-01) + * [1.0.0-beta.12](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-netapp/1.0.0-beta.12) * [package-netapp-2022-05-01](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/netapp/resource-manager#tag-package-netapp-2022-05-01) * [1.0.0-beta.11](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-netapp/1.0.0-beta.11) * [package-netapp-2022-03-01](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/netapp/resource-manager#tag-package-netapp-2022-03-01) @@ -1097,6 +1117,8 @@ service
orbital +* [package-2022-11-01](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/orbital/resource-manager#tag-package-2022-11-01) + * [1.0.0-beta.2](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-orbital/1.0.0-beta.2) * [package-2022-03-01](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/orbital/resource-manager#tag-package-2022-03-01) * [1.0.0-beta.1](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-orbital/1.0.0-beta.1)
@@ -1203,6 +1225,8 @@ service
recoveryservicesbackup +* [package-2023-02](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/recoveryservicesbackup/resource-manager#tag-package-2023-02) + * [1.1.0](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-recoveryservicesbackup/1.1.0) * [package-2023-01](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/recoveryservicesbackup/resource-manager#tag-package-2023-01) * [1.0.0-beta.7](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-recoveryservicesbackup/1.0.0-beta.7) * [1.0.0](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-recoveryservicesbackup/1.0.0) @@ -1231,6 +1255,9 @@ service
redisenterprise +* [package-preview-2023-03](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/redisenterprise/resource-manager#tag-package-preview-2023-03) + * [1.1.0-beta.3](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-redisenterprise/1.1.0-beta.3) + * [1.1.0-beta.2](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-redisenterprise/1.1.0-beta.2) * [package-preview-2021-02](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/redisenterprise/resource-manager#tag-package-preview-2021-02) * [1.0.0-beta.1](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-redisenterprise/1.0.0-beta.1) * [package-2022-01](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/redisenterprise/resource-manager#tag-package-2022-01) @@ -1254,6 +1281,7 @@ service reservations * [package-2022-11](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/reservations/resource-manager#tag-package-2022-11) + * [1.0.0-beta.2](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-reservations/1.0.0-beta.2) * [1.0.0-beta.1](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-reservations/1.0.0-beta.1)
@@ -1311,6 +1339,7 @@ service security * [package-composite-v3](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/security/resource-manager#tag-package-composite-v3) + * [1.0.0-beta.4](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-security/1.0.0-beta.4) * [1.0.0-beta.3](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-security/1.0.0-beta.3) * [1.0.0-beta.2](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-security/1.0.0-beta.2) * [1.0.0-beta.1](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-security/1.0.0-beta.1) @@ -1369,6 +1398,8 @@ service
signalr +* [package-2023-02-01](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/signalr/resource-manager#tag-package-2023-02-01) + * [1.0.0-beta.6](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-signalr/1.0.0-beta.6) * [package-2022-08-01-preview](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/signalr/resource-manager#tag-package-2022-08-01-preview) * [1.0.0-beta.5](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-signalr/1.0.0-beta.5) * [package-2022-02-01](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/signalr/resource-manager#tag-package-2022-02-01) @@ -1397,6 +1428,8 @@ service
storagecache +* [package-preview-2023-03](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/storagecache/resource-manager#tag-package-preview-2023-03) + * [1.0.0-beta.8](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-storagecache/1.0.0-beta.8) * [package-2023-01](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/storagecache/resource-manager#tag-package-2023-01) * [1.0.0-beta.7](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-storagecache/1.0.0-beta.7) * [package-2022-05](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/storagecache/resource-manager#tag-package-2022-05) @@ -1426,6 +1459,8 @@ service
storagemover +* [package-2023-03](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/storagemover/resource-manager#tag-package-2023-03) + * [1.0.0](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-storagemover/1.0.0) * [package-2022-07-01-preview](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/storagemover/resource-manager#tag-package-2022-07-01-preview) * [1.0.0-beta.1](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-storagemover/1.0.0-beta.1)
@@ -1526,6 +1561,9 @@ service
webpubsub +* [package-2023-02-01](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/webpubsub/resource-manager#tag-package-2023-02-01) + * [1.0.0-beta.4](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-webpubsub/1.0.0-beta.4) + * [1.0.0](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-webpubsub/1.0.0) * [package-2022-08-01-preview](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/webpubsub/resource-manager#tag-package-2022-08-01-preview) * [1.0.0-beta.3](https://central.sonatype.com/artifact/com.azure.resourcemanager/azure-resourcemanager-webpubsub/1.0.0-beta.3) * [package-2021-10-01](https://github.com/Azure/azure-rest-api-specs/tree/main/specification/webpubsub/resource-manager#tag-package-2021-10-01) From f150dca5ba6ef0dab72109681a95f3b514ed08cd Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 23 Mar 2023 21:30:02 -0700 Subject: [PATCH 30/35] Increment package versions for digitaltwins releases (#34195) --- eng/versioning/version_client.txt | 2 +- .../azure-resourcemanager-digitaltwins/CHANGELOG.md | 10 ++++++++++ .../azure-resourcemanager-digitaltwins/pom.xml | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index b2d01e72fc6d..7b3b35083de7 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -270,7 +270,7 @@ com.azure.resourcemanager:azure-resourcemanager-loganalytics;1.0.0-beta.3;1.0.0- com.azure.resourcemanager:azure-resourcemanager-eventgrid;1.1.0;1.2.0-beta.4 com.azure.resourcemanager:azure-resourcemanager-healthbot;1.0.0-beta.2;1.0.0-beta.3 com.azure.resourcemanager:azure-resourcemanager-confluent;1.0.0-beta.3;1.0.0-beta.4 -com.azure.resourcemanager:azure-resourcemanager-digitaltwins;1.1.0;1.2.0 +com.azure.resourcemanager:azure-resourcemanager-digitaltwins;1.2.0;1.3.0-beta.1 com.azure.resourcemanager:azure-resourcemanager-netapp;1.0.0-beta.12;1.0.0-beta.13 com.azure.resourcemanager:azure-resourcemanager-storagecache;1.0.0-beta.8;1.0.0-beta.9 com.azure.resourcemanager:azure-resourcemanager-redisenterprise;1.0.0;1.1.0-beta.4 diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/CHANGELOG.md b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/CHANGELOG.md index 5195ff190715..93789806ef08 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/CHANGELOG.md +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 1.3.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 1.2.0 (2023-03-24) - Azure Resource Manager AzureDigitalTwins client library for Java. This package contains Microsoft Azure SDK for AzureDigitalTwins Management SDK. Azure Digital Twins Client for managing DigitalTwinsInstance. Package tag package-2023-01. 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/digitaltwins/azure-resourcemanager-digitaltwins/pom.xml b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/pom.xml index ff14ed232dd0..ebbf48ecca50 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/pom.xml +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-digitaltwins - 1.2.0 + 1.3.0-beta.1 jar Microsoft Azure SDK for AzureDigitalTwins Management From 0cf2d167441e07f61445e01f68e3f616712b25f4 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 23 Mar 2023 23:37:58 -0700 Subject: [PATCH 31/35] Increment versions for resourcemanager releases (#34196) Increment package versions for resourcemanager releases --- eng/jacoco-test-coverage/pom.xml | 34 ++++++------- eng/versioning/version_client.txt | 48 +++++++++---------- sdk/batch/azure-resourcemanager-batch/pom.xml | 2 +- .../spring-cloud-azure-dependencies/pom.xml | 2 +- .../pom.xml | 2 +- .../azure-resourcemanager-confluent/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- sdk/cosmos/azure-cosmos-spark_3_2-12/pom.xml | 2 +- .../azure-resourcemanager-datafactory/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- .../azure-resourcemanager-eventgrid/pom.xml | 2 +- .../azure-resourcemanager-frontdoor/pom.xml | 2 +- .../azure-resourcemanager-hdinsight/pom.xml | 4 +- .../pom.xml | 2 +- .../azure-resourcemanager-iothub/pom.xml | 2 +- .../azure-resourcemanager-loadtesting/pom.xml | 2 +- .../azure-resourcemanager-maintenance/pom.xml | 2 +- sdk/maps/azure-resourcemanager-maps/pom.xml | 2 +- .../pom.xml | 2 +- .../azure-resourcemanager-netapp/pom.xml | 2 +- .../pom.xml | 2 +- .../CHANGELOG.md | 10 ++++ .../azure-resourcemanager-appplatform/pom.xml | 10 ++-- .../CHANGELOG.md | 10 ++++ .../azure-resourcemanager-appservice/pom.xml | 12 ++--- .../CHANGELOG.md | 10 ++++ .../pom.xml | 4 +- .../azure-resourcemanager-cdn/CHANGELOG.md | 10 ++++ .../azure-resourcemanager-cdn/pom.xml | 4 +- .../CHANGELOG.md | 10 ++++ .../azure-resourcemanager-compute/pom.xml | 14 +++--- .../CHANGELOG.md | 10 ++++ .../pom.xml | 12 ++--- .../CHANGELOG.md | 10 ++++ .../pom.xml | 4 +- .../CHANGELOG.md | 10 ++++ .../pom.xml | 4 +- .../azure-resourcemanager-cosmos/CHANGELOG.md | 10 ++++ .../azure-resourcemanager-cosmos/pom.xml | 8 ++-- .../azure-resourcemanager-dns/CHANGELOG.md | 10 ++++ .../azure-resourcemanager-dns/pom.xml | 4 +- .../CHANGELOG.md | 10 ++++ .../azure-resourcemanager-eventhubs/pom.xml | 6 +-- .../CHANGELOG.md | 10 ++++ .../azure-resourcemanager-keyvault/pom.xml | 6 +-- .../CHANGELOG.md | 10 ++++ .../azure-resourcemanager-monitor/pom.xml | 12 ++--- .../azure-resourcemanager-msi/CHANGELOG.md | 10 ++++ .../azure-resourcemanager-msi/pom.xml | 8 ++-- .../CHANGELOG.md | 10 ++++ .../azure-resourcemanager-network/pom.xml | 8 ++-- .../azure-resourcemanager-perf/pom.xml | 2 +- .../CHANGELOG.md | 10 ++++ .../azure-resourcemanager-privatedns/pom.xml | 6 +-- .../azure-resourcemanager-redis/CHANGELOG.md | 10 ++++ .../azure-resourcemanager-redis/pom.xml | 6 +-- .../CHANGELOG.md | 10 ++++ .../azure-resourcemanager-resources/pom.xml | 2 +- .../azure-resourcemanager-samples/pom.xml | 2 +- .../azure-resourcemanager-search/CHANGELOG.md | 10 ++++ .../azure-resourcemanager-search/pom.xml | 4 +- .../CHANGELOG.md | 10 ++++ .../azure-resourcemanager-servicebus/pom.xml | 4 +- .../azure-resourcemanager-sql/CHANGELOG.md | 10 ++++ .../azure-resourcemanager-sql/pom.xml | 6 +-- .../CHANGELOG.md | 10 ++++ .../azure-resourcemanager-storage/pom.xml | 4 +- .../CHANGELOG.md | 10 ++++ .../pom.xml | 4 +- .../azure-resourcemanager/CHANGELOG.md | 10 ++++ .../azure-resourcemanager/pom.xml | 48 +++++++++---------- .../azure-resourcemanager-compute/pom.xml | 2 +- .../azure-resourcemanager-network/pom.xml | 2 +- .../pom.xml | 2 +- .../pom.xml | 2 +- 77 files changed, 409 insertions(+), 169 deletions(-) diff --git a/eng/jacoco-test-coverage/pom.xml b/eng/jacoco-test-coverage/pom.xml index 5f8f41ffc51a..fa4e692ae034 100644 --- a/eng/jacoco-test-coverage/pom.xml +++ b/eng/jacoco-test-coverage/pom.xml @@ -389,87 +389,87 @@ com.azure.resourcemanager azure-resourcemanager - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-appplatform - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-appservice - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-authorization - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-compute - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-containerinstance - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-containerregistry - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-containerservice - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-cosmos - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-dns - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-keyvault - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-monitor - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-msi - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-network - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-sql - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0 + 2.26.0-beta.1 diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index 7b3b35083de7..eb0893259fb6 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -230,32 +230,32 @@ com.azure.spring:spring-cloud-azure-stream-binder-eventhubs;4.6.0;4.7.0-beta.1 com.azure.spring:spring-cloud-azure-stream-binder-servicebus-core;4.6.0;4.7.0-beta.1 com.azure.spring:spring-cloud-azure-stream-binder-servicebus;4.6.0;4.7.0-beta.1 com.azure.spring:spring-cloud-azure-trace-sleuth;4.6.0;4.7.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-appplatform;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-appservice;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-authorization;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-cdn;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-compute;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-containerinstance;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-containerregistry;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-containerservice;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-cosmos;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-dns;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-eventhubs;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-keyvault;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-monitor;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-msi;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-network;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-appplatform;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-appservice;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-authorization;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-cdn;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-compute;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-containerinstance;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-containerregistry;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-containerservice;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-cosmos;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-dns;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-eventhubs;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-keyvault;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-monitor;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-msi;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-network;2.25.0;2.26.0-beta.1 com.azure.resourcemanager:azure-resourcemanager-perf;1.0.0-beta.1;1.0.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-privatedns;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-resources;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-redis;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-privatedns;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-resources;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-redis;2.25.0;2.26.0-beta.1 com.azure.resourcemanager:azure-resourcemanager-samples;2.0.0-beta.1;2.0.0-beta.1 -com.azure.resourcemanager:azure-resourcemanager-search;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-servicebus;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-sql;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-storage;2.24.0;2.25.0 -com.azure.resourcemanager:azure-resourcemanager-trafficmanager;2.24.0;2.25.0 +com.azure.resourcemanager:azure-resourcemanager-search;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-servicebus;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-sql;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-storage;2.25.0;2.26.0-beta.1 +com.azure.resourcemanager:azure-resourcemanager-trafficmanager;2.25.0;2.26.0-beta.1 com.azure.resourcemanager:azure-resourcemanager-test;2.0.0-beta.1;2.0.0-beta.1 com.azure.resourcemanager:azure-resourcemanager-mediaservices;2.3.0;2.4.0-beta.2 com.azure.resourcemanager:azure-resourcemanager-mysql;1.0.2;1.1.0-beta.1 diff --git a/sdk/batch/azure-resourcemanager-batch/pom.xml b/sdk/batch/azure-resourcemanager-batch/pom.xml index 5d51ddd7f708..7b911478793d 100644 --- a/sdk/batch/azure-resourcemanager-batch/pom.xml +++ b/sdk/batch/azure-resourcemanager-batch/pom.xml @@ -91,7 +91,7 @@ com.azure.resourcemanager azure-resourcemanager-storage - 2.24.0 + 2.25.0 test diff --git a/sdk/boms/spring-cloud-azure-dependencies/pom.xml b/sdk/boms/spring-cloud-azure-dependencies/pom.xml index 0634f919bba0..791bc34c01be 100644 --- a/sdk/boms/spring-cloud-azure-dependencies/pom.xml +++ b/sdk/boms/spring-cloud-azure-dependencies/pom.xml @@ -63,7 +63,7 @@ com.azure.resourcemanager azure-resourcemanager - 2.24.0 + 2.25.0 diff --git a/sdk/confidentialledger/azure-resourcemanager-confidentialledger/pom.xml b/sdk/confidentialledger/azure-resourcemanager-confidentialledger/pom.xml index 859303b1bd60..59268e3602e2 100644 --- a/sdk/confidentialledger/azure-resourcemanager-confidentialledger/pom.xml +++ b/sdk/confidentialledger/azure-resourcemanager-confidentialledger/pom.xml @@ -80,7 +80,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.24.0 + 2.25.0 test diff --git a/sdk/confluent/azure-resourcemanager-confluent/pom.xml b/sdk/confluent/azure-resourcemanager-confluent/pom.xml index 4a7cd5720bcc..f407773cb49b 100644 --- a/sdk/confluent/azure-resourcemanager-confluent/pom.xml +++ b/sdk/confluent/azure-resourcemanager-confluent/pom.xml @@ -66,7 +66,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.24.0 + 2.25.0 test diff --git a/sdk/containerregistry/azure-containers-containerregistry-perf/pom.xml b/sdk/containerregistry/azure-containers-containerregistry-perf/pom.xml index 02e7f063458a..17209a966453 100644 --- a/sdk/containerregistry/azure-containers-containerregistry-perf/pom.xml +++ b/sdk/containerregistry/azure-containers-containerregistry-perf/pom.xml @@ -53,7 +53,7 @@ com.azure.resourcemanager azure-resourcemanager-containerregistry - 2.24.0 + 2.25.0 com.azure diff --git a/sdk/containerregistry/azure-containers-containerregistry/pom.xml b/sdk/containerregistry/azure-containers-containerregistry/pom.xml index 69c3b527ce4a..ddefe12dd16d 100644 --- a/sdk/containerregistry/azure-containers-containerregistry/pom.xml +++ b/sdk/containerregistry/azure-containers-containerregistry/pom.xml @@ -102,7 +102,7 @@ com.azure.resourcemanager azure-resourcemanager-containerregistry - 2.24.0 + 2.25.0 test diff --git a/sdk/cosmos/azure-cosmos-spark_3_2-12/pom.xml b/sdk/cosmos/azure-cosmos-spark_3_2-12/pom.xml index b3a134ecd227..754adaf2706e 100644 --- a/sdk/cosmos/azure-cosmos-spark_3_2-12/pom.xml +++ b/sdk/cosmos/azure-cosmos-spark_3_2-12/pom.xml @@ -84,7 +84,7 @@ com.azure.resourcemanager azure-resourcemanager-cosmos - 2.24.0 + 2.25.0 com.azure diff --git a/sdk/datafactory/azure-resourcemanager-datafactory/pom.xml b/sdk/datafactory/azure-resourcemanager-datafactory/pom.xml index b05677269c8e..cc2d80ce85a7 100644 --- a/sdk/datafactory/azure-resourcemanager-datafactory/pom.xml +++ b/sdk/datafactory/azure-resourcemanager-datafactory/pom.xml @@ -96,7 +96,7 @@ com.azure.resourcemanager azure-resourcemanager-storage - 2.24.0 + 2.25.0 test diff --git a/sdk/deviceprovisioningservices/azure-resourcemanager-deviceprovisioningservices/pom.xml b/sdk/deviceprovisioningservices/azure-resourcemanager-deviceprovisioningservices/pom.xml index eb9fcf733fe9..67a0451906c1 100644 --- a/sdk/deviceprovisioningservices/azure-resourcemanager-deviceprovisioningservices/pom.xml +++ b/sdk/deviceprovisioningservices/azure-resourcemanager-deviceprovisioningservices/pom.xml @@ -67,7 +67,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.24.0 + 2.25.0 test diff --git a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/pom.xml b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/pom.xml index ebbf48ecca50..a6b8d3618f6f 100644 --- a/sdk/digitaltwins/azure-resourcemanager-digitaltwins/pom.xml +++ b/sdk/digitaltwins/azure-resourcemanager-digitaltwins/pom.xml @@ -100,7 +100,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.24.0 + 2.25.0 test diff --git a/sdk/eventgrid/azure-resourcemanager-eventgrid/pom.xml b/sdk/eventgrid/azure-resourcemanager-eventgrid/pom.xml index 52eec4242987..2d82463ad7ec 100644 --- a/sdk/eventgrid/azure-resourcemanager-eventgrid/pom.xml +++ b/sdk/eventgrid/azure-resourcemanager-eventgrid/pom.xml @@ -67,7 +67,7 @@ com.azure.resourcemanager azure-resourcemanager - 2.24.0 + 2.25.0 test diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/pom.xml b/sdk/frontdoor/azure-resourcemanager-frontdoor/pom.xml index 6df69be53643..0f71d51eaddb 100644 --- a/sdk/frontdoor/azure-resourcemanager-frontdoor/pom.xml +++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/pom.xml @@ -90,7 +90,7 @@ com.azure.resourcemanager azure-resourcemanager-storage - 2.24.0 + 2.25.0 test diff --git a/sdk/hdinsight/azure-resourcemanager-hdinsight/pom.xml b/sdk/hdinsight/azure-resourcemanager-hdinsight/pom.xml index 83dea939dbc8..9e5147f1ccee 100644 --- a/sdk/hdinsight/azure-resourcemanager-hdinsight/pom.xml +++ b/sdk/hdinsight/azure-resourcemanager-hdinsight/pom.xml @@ -90,13 +90,13 @@ com.azure.resourcemanager azure-resourcemanager-storage - 2.24.0 + 2.25.0 test com.azure.resourcemanager azure-resourcemanager-network - 2.24.0 + 2.25.0 test diff --git a/sdk/imagebuilder/azure-resourcemanager-imagebuilder/pom.xml b/sdk/imagebuilder/azure-resourcemanager-imagebuilder/pom.xml index b61b3823b8c1..e3ac85a6b53b 100644 --- a/sdk/imagebuilder/azure-resourcemanager-imagebuilder/pom.xml +++ b/sdk/imagebuilder/azure-resourcemanager-imagebuilder/pom.xml @@ -96,7 +96,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.24.0 + 2.25.0 test diff --git a/sdk/iothub/azure-resourcemanager-iothub/pom.xml b/sdk/iothub/azure-resourcemanager-iothub/pom.xml index 5089a154c780..db4da6e4993f 100644 --- a/sdk/iothub/azure-resourcemanager-iothub/pom.xml +++ b/sdk/iothub/azure-resourcemanager-iothub/pom.xml @@ -60,7 +60,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.24.0 + 2.25.0 test diff --git a/sdk/loadtesting/azure-resourcemanager-loadtesting/pom.xml b/sdk/loadtesting/azure-resourcemanager-loadtesting/pom.xml index 029cbde9ec93..608003d4583a 100644 --- a/sdk/loadtesting/azure-resourcemanager-loadtesting/pom.xml +++ b/sdk/loadtesting/azure-resourcemanager-loadtesting/pom.xml @@ -67,7 +67,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.24.0 + 2.25.0 test diff --git a/sdk/maintenance/azure-resourcemanager-maintenance/pom.xml b/sdk/maintenance/azure-resourcemanager-maintenance/pom.xml index 871e280fc7f4..840cf6980536 100644 --- a/sdk/maintenance/azure-resourcemanager-maintenance/pom.xml +++ b/sdk/maintenance/azure-resourcemanager-maintenance/pom.xml @@ -90,7 +90,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.24.0 + 2.25.0 test diff --git a/sdk/maps/azure-resourcemanager-maps/pom.xml b/sdk/maps/azure-resourcemanager-maps/pom.xml index 6f6f71d40f7b..d13e7aadc585 100644 --- a/sdk/maps/azure-resourcemanager-maps/pom.xml +++ b/sdk/maps/azure-resourcemanager-maps/pom.xml @@ -90,7 +90,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.24.0 + 2.25.0 test diff --git a/sdk/mediaservices/azure-resourcemanager-mediaservices/pom.xml b/sdk/mediaservices/azure-resourcemanager-mediaservices/pom.xml index 368389b69dc3..15173875ab82 100644 --- a/sdk/mediaservices/azure-resourcemanager-mediaservices/pom.xml +++ b/sdk/mediaservices/azure-resourcemanager-mediaservices/pom.xml @@ -96,7 +96,7 @@ com.azure.resourcemanager azure-resourcemanager-storage - 2.24.0 + 2.25.0 test diff --git a/sdk/netapp/azure-resourcemanager-netapp/pom.xml b/sdk/netapp/azure-resourcemanager-netapp/pom.xml index 9ed659622ebc..43fe5405545d 100644 --- a/sdk/netapp/azure-resourcemanager-netapp/pom.xml +++ b/sdk/netapp/azure-resourcemanager-netapp/pom.xml @@ -96,7 +96,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.24.0 + 2.25.0 test diff --git a/sdk/resourcehealth/azure-resourcemanager-resourcehealth/pom.xml b/sdk/resourcehealth/azure-resourcemanager-resourcehealth/pom.xml index 04f557ecdd93..add671e38e93 100644 --- a/sdk/resourcehealth/azure-resourcemanager-resourcehealth/pom.xml +++ b/sdk/resourcehealth/azure-resourcemanager-resourcehealth/pom.xml @@ -90,7 +90,7 @@ com.azure.resourcemanager azure-resourcemanager-compute - 2.24.0 + 2.25.0 test diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-appplatform/CHANGELOG.md index 6d828a610e3f..0fb3f57bced8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Other Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-appplatform/pom.xml b/sdk/resourcemanager/azure-resourcemanager-appplatform/pom.xml index 5036f5418bb2..c686145e517f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appplatform/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-appplatform/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-appplatform - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for App Platform Management @@ -61,7 +61,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 com.azure @@ -107,19 +107,19 @@ com.azure.resourcemanager azure-resourcemanager-keyvault - 2.25.0 + 2.26.0-beta.1 test com.azure.resourcemanager azure-resourcemanager-dns - 2.25.0 + 2.26.0-beta.1 test com.azure.resourcemanager azure-resourcemanager-appservice - 2.25.0 + 2.26.0-beta.1 test diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-appservice/CHANGELOG.md index 35c85948b24f..59bd4923b6cb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appservice/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-appservice/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Bugs Fixed diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/pom.xml b/sdk/resourcemanager/azure-resourcemanager-appservice/pom.xml index 5f2ce189a3f6..f862b7d8ba5c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appservice/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-appservice/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-appservice - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for App Service Management @@ -64,27 +64,27 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-msi - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-keyvault - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-dns - 2.25.0 + 2.26.0-beta.1 org.junit.jupiter diff --git a/sdk/resourcemanager/azure-resourcemanager-authorization/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-authorization/CHANGELOG.md index 0411aaa679f2..424d7fbbb1dc 100644 --- a/sdk/resourcemanager/azure-resourcemanager-authorization/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-authorization/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Other Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-authorization/pom.xml b/sdk/resourcemanager/azure-resourcemanager-authorization/pom.xml index 3497aa7abe7e..acd3f7b7312d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-authorization/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-authorization/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-authorization - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for Authorization Management @@ -59,7 +59,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 org.slf4j diff --git a/sdk/resourcemanager/azure-resourcemanager-cdn/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-cdn/CHANGELOG.md index 42ba60fa7eec..a56a7a1eb6f5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cdn/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-cdn/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Other Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-cdn/pom.xml b/sdk/resourcemanager/azure-resourcemanager-cdn/pom.xml index 46c16d476579..c6dcef5565f4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cdn/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-cdn/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-cdn - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for CDN Management @@ -56,7 +56,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 org.junit.jupiter diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-compute/CHANGELOG.md index 9b680b4a610f..277a275669e1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-compute/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Other Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/pom.xml b/sdk/resourcemanager/azure-resourcemanager-compute/pom.xml index 9556fe3ef09d..3bcec1a48997 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-compute/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-compute - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for Compute Management @@ -69,27 +69,27 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-network - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-msi - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-authorization - 2.25.0 + 2.26.0-beta.1 org.slf4j @@ -118,7 +118,7 @@ com.azure.resourcemanager azure-resourcemanager-keyvault - 2.25.0 + 2.26.0-beta.1 test diff --git a/sdk/resourcemanager/azure-resourcemanager-containerinstance/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-containerinstance/CHANGELOG.md index ef96335daad1..e5314fc5530e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerinstance/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-containerinstance/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Other Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-containerinstance/pom.xml b/sdk/resourcemanager/azure-resourcemanager-containerinstance/pom.xml index 34d3f5df7dee..c99b0b75c5c1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerinstance/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-containerinstance/pom.xml @@ -10,7 +10,7 @@ com.azure.resourcemanager azure-resourcemanager-containerinstance - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for Container Instance Management @@ -57,27 +57,27 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-authorization - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-msi - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-network - 2.25.0 + 2.26.0-beta.1 com.azure diff --git a/sdk/resourcemanager/azure-resourcemanager-containerregistry/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-containerregistry/CHANGELOG.md index bc210465720e..336bb216f01c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerregistry/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-containerregistry/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Bugs Fixed diff --git a/sdk/resourcemanager/azure-resourcemanager-containerregistry/pom.xml b/sdk/resourcemanager/azure-resourcemanager-containerregistry/pom.xml index 6f890b1f26e9..723267eb905a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerregistry/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-containerregistry/pom.xml @@ -10,7 +10,7 @@ com.azure.resourcemanager azure-resourcemanager-containerregistry - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for Container Registry Management @@ -54,7 +54,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 org.slf4j diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-containerservice/CHANGELOG.md index 6ab8e93feed0..af934014e9d9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerservice/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Features Added diff --git a/sdk/resourcemanager/azure-resourcemanager-containerservice/pom.xml b/sdk/resourcemanager/azure-resourcemanager-containerservice/pom.xml index 8a2a0295ab31..4f24f4933906 100644 --- a/sdk/resourcemanager/azure-resourcemanager-containerservice/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-containerservice/pom.xml @@ -10,7 +10,7 @@ com.azure.resourcemanager azure-resourcemanager-containerservice - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for Container Service Management @@ -55,7 +55,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 org.junit.jupiter diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-cosmos/CHANGELOG.md index 8a730f99bd06..43415e7718b5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Other Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/pom.xml b/sdk/resourcemanager/azure-resourcemanager-cosmos/pom.xml index 0e4e307f9f1b..b07e0f786c6f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/pom.xml @@ -10,7 +10,7 @@ com.azure.resourcemanager azure-resourcemanager-cosmos - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for CosmosDB Management @@ -56,7 +56,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 org.junit.jupiter @@ -73,13 +73,13 @@ com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0 + 2.26.0-beta.1 test com.azure.resourcemanager azure-resourcemanager-network - 2.25.0 + 2.26.0-beta.1 test diff --git a/sdk/resourcemanager/azure-resourcemanager-dns/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-dns/CHANGELOG.md index 4e458066fbee..8ad28f1655a9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-dns/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-dns/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Other Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-dns/pom.xml b/sdk/resourcemanager/azure-resourcemanager-dns/pom.xml index 65fd05dbf15f..690b93c07307 100644 --- a/sdk/resourcemanager/azure-resourcemanager-dns/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-dns/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-dns - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for DNS Management @@ -56,7 +56,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 commons-io diff --git a/sdk/resourcemanager/azure-resourcemanager-eventhubs/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-eventhubs/CHANGELOG.md index 6a8971e479fb..86145a85aa03 100644 --- a/sdk/resourcemanager/azure-resourcemanager-eventhubs/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-eventhubs/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Other Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-eventhubs/pom.xml b/sdk/resourcemanager/azure-resourcemanager-eventhubs/pom.xml index c9c7caf677a8..d31d76b56e3d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-eventhubs/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-eventhubs/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-eventhubs - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for EventHubs Management @@ -57,12 +57,12 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0 + 2.26.0-beta.1 org.junit.jupiter diff --git a/sdk/resourcemanager/azure-resourcemanager-keyvault/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-keyvault/CHANGELOG.md index 28ad65782f18..7a6da989a823 100644 --- a/sdk/resourcemanager/azure-resourcemanager-keyvault/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-keyvault/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Other Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-keyvault/pom.xml b/sdk/resourcemanager/azure-resourcemanager-keyvault/pom.xml index 60634bf57cee..c3482098b645 100644 --- a/sdk/resourcemanager/azure-resourcemanager-keyvault/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-keyvault/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-keyvault - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for Key Vault Management @@ -57,12 +57,12 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-authorization - 2.25.0 + 2.26.0-beta.1 com.azure diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-monitor/CHANGELOG.md index 216db60d0132..207de52ee598 100644 --- a/sdk/resourcemanager/azure-resourcemanager-monitor/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-monitor/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Bugs Fixed diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/pom.xml b/sdk/resourcemanager/azure-resourcemanager-monitor/pom.xml index c0d3ae68d408..e053d700903d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-monitor/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-monitor/pom.xml @@ -10,7 +10,7 @@ com.azure.resourcemanager azure-resourcemanager-monitor - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for Monitor Management @@ -61,7 +61,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 org.junit.jupiter @@ -84,25 +84,25 @@ com.azure.resourcemanager azure-resourcemanager-compute - 2.25.0 + 2.26.0-beta.1 test com.azure.resourcemanager azure-resourcemanager-appservice - 2.25.0 + 2.26.0-beta.1 test com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0 + 2.26.0-beta.1 test com.azure.resourcemanager azure-resourcemanager-eventhubs - 2.25.0 + 2.26.0-beta.1 test diff --git a/sdk/resourcemanager/azure-resourcemanager-msi/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-msi/CHANGELOG.md index cce2938f7df8..ca469fdf8bb5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-msi/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-msi/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Other Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-msi/pom.xml b/sdk/resourcemanager/azure-resourcemanager-msi/pom.xml index 1fe4eab7320a..dc793e799454 100644 --- a/sdk/resourcemanager/azure-resourcemanager-msi/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-msi/pom.xml @@ -10,7 +10,7 @@ com.azure.resourcemanager azure-resourcemanager-msi - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for Managed Service Identity (MSI) Management @@ -57,12 +57,12 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-authorization - 2.25.0 + 2.26.0-beta.1 org.junit.jupiter @@ -79,7 +79,7 @@ com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0 + 2.26.0-beta.1 test diff --git a/sdk/resourcemanager/azure-resourcemanager-network/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-network/CHANGELOG.md index bee4c435da7d..2e4a42409083 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-network/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Bugs Fixed diff --git a/sdk/resourcemanager/azure-resourcemanager-network/pom.xml b/sdk/resourcemanager/azure-resourcemanager-network/pom.xml index 5d3200c7e8a7..2980d3c51b8a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-network/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-network/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-network - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for Network Management @@ -64,7 +64,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 org.junit.jupiter @@ -93,13 +93,13 @@ com.azure.resourcemanager azure-resourcemanager-keyvault - 2.25.0 + 2.26.0-beta.1 test com.azure.resourcemanager azure-resourcemanager-msi - 2.25.0 + 2.26.0-beta.1 test diff --git a/sdk/resourcemanager/azure-resourcemanager-perf/pom.xml b/sdk/resourcemanager/azure-resourcemanager-perf/pom.xml index 337d86f7e336..6a89c152c4fc 100644 --- a/sdk/resourcemanager/azure-resourcemanager-perf/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-perf/pom.xml @@ -25,7 +25,7 @@ com.azure.resourcemanager azure-resourcemanager - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager diff --git a/sdk/resourcemanager/azure-resourcemanager-privatedns/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-privatedns/CHANGELOG.md index 52b138891769..02599a46c201 100644 --- a/sdk/resourcemanager/azure-resourcemanager-privatedns/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-privatedns/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Other Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-privatedns/pom.xml b/sdk/resourcemanager/azure-resourcemanager-privatedns/pom.xml index 20d97b127717..a89d987822eb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-privatedns/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-privatedns/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-privatedns - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for Private DNS Management @@ -59,12 +59,12 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-network - 2.25.0 + 2.26.0-beta.1 test diff --git a/sdk/resourcemanager/azure-resourcemanager-redis/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-redis/CHANGELOG.md index 0fbb2f6b72a4..6baf87fa6791 100644 --- a/sdk/resourcemanager/azure-resourcemanager-redis/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-redis/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Other Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-redis/pom.xml b/sdk/resourcemanager/azure-resourcemanager-redis/pom.xml index b7d34b491b2a..6a1bff6edb44 100644 --- a/sdk/resourcemanager/azure-resourcemanager-redis/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-redis/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-redis - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for Redis Cache Management @@ -61,7 +61,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 org.junit.jupiter @@ -84,7 +84,7 @@ com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0 + 2.26.0-beta.1 test diff --git a/sdk/resourcemanager/azure-resourcemanager-resources/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-resources/CHANGELOG.md index b4c259be8f82..57a7e5fe78cc 100644 --- a/sdk/resourcemanager/azure-resourcemanager-resources/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-resources/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Breaking Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-resources/pom.xml b/sdk/resourcemanager/azure-resourcemanager-resources/pom.xml index 9091646ef1e0..5ff260325361 100644 --- a/sdk/resourcemanager/azure-resourcemanager-resources/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-resources/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for Resource Management diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/pom.xml b/sdk/resourcemanager/azure-resourcemanager-samples/pom.xml index 1b41560c4a84..47a6f042b647 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-samples/pom.xml @@ -54,7 +54,7 @@ com.azure.resourcemanager azure-resourcemanager - 2.25.0 + 2.26.0-beta.1 com.azure diff --git a/sdk/resourcemanager/azure-resourcemanager-search/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-search/CHANGELOG.md index 27e36a097c8b..1a00a248355f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-search/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-search/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Other Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-search/pom.xml b/sdk/resourcemanager/azure-resourcemanager-search/pom.xml index b970758c8d07..664375f886da 100644 --- a/sdk/resourcemanager/azure-resourcemanager-search/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-search/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-search - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for Cognitive Search Management @@ -56,7 +56,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 org.junit.jupiter diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-servicebus/CHANGELOG.md index 035c56299ef9..644ecd42db63 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Other Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-servicebus/pom.xml b/sdk/resourcemanager/azure-resourcemanager-servicebus/pom.xml index e690143c9ae4..a43c851bcc22 100644 --- a/sdk/resourcemanager/azure-resourcemanager-servicebus/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-servicebus/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-servicebus - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for ServiceBus Management @@ -56,7 +56,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 org.junit.jupiter diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-sql/CHANGELOG.md index 552616a732b4..7a2b22fd008f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-sql/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Other Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/pom.xml b/sdk/resourcemanager/azure-resourcemanager-sql/pom.xml index 6bf2d11b475e..717a27fb8c3e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-sql/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-sql - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for Sql Management @@ -60,12 +60,12 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0 + 2.26.0-beta.1 org.junit.jupiter diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-storage/CHANGELOG.md index d87c501b980e..66abb804d5b9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-storage/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Other Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/pom.xml b/sdk/resourcemanager/azure-resourcemanager-storage/pom.xml index 9e12d1ddbf93..bf4d6da298ca 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-storage/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for Storage Management @@ -58,7 +58,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 org.slf4j diff --git a/sdk/resourcemanager/azure-resourcemanager-trafficmanager/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-trafficmanager/CHANGELOG.md index b15f686e4747..db2d4e0bcf8d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-trafficmanager/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-trafficmanager/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Other Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-trafficmanager/pom.xml b/sdk/resourcemanager/azure-resourcemanager-trafficmanager/pom.xml index ddcb029b2467..bff4de324e1d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-trafficmanager/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-trafficmanager/pom.xml @@ -14,7 +14,7 @@ com.azure.resourcemanager azure-resourcemanager-trafficmanager - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for Traffic Manager Management @@ -58,7 +58,7 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 org.slf4j diff --git a/sdk/resourcemanager/azure-resourcemanager/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager/CHANGELOG.md index 49a57e2f843a..7915c427211d 100644 --- a/sdk/resourcemanager/azure-resourcemanager/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 2.26.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 2.25.0 (2023-03-24) ### Other Changes diff --git a/sdk/resourcemanager/azure-resourcemanager/pom.xml b/sdk/resourcemanager/azure-resourcemanager/pom.xml index ae38876d37b2..324a4ba2a5fc 100644 --- a/sdk/resourcemanager/azure-resourcemanager/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager/pom.xml @@ -15,7 +15,7 @@ com.azure.resourcemanager azure-resourcemanager - 2.25.0 + 2.26.0-beta.1 jar Microsoft Azure SDK for Management @@ -70,117 +70,117 @@ com.azure.resourcemanager azure-resourcemanager-resources - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-storage - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-compute - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-network - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-keyvault - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-msi - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-sql - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-authorization - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-appservice - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-cosmos - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-containerservice - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-monitor - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-containerregistry - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-dns - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-appplatform - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-containerinstance - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-privatedns - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-redis - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-eventhubs - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-trafficmanager - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-servicebus - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-cdn - 2.25.0 + 2.26.0-beta.1 com.azure.resourcemanager azure-resourcemanager-search - 2.25.0 + 2.26.0-beta.1 org.junit.jupiter diff --git a/sdk/resourcemanagerhybrid/azure-resourcemanager-compute/pom.xml b/sdk/resourcemanagerhybrid/azure-resourcemanager-compute/pom.xml index b9530bf02469..0b4c5080cad7 100644 --- a/sdk/resourcemanagerhybrid/azure-resourcemanager-compute/pom.xml +++ b/sdk/resourcemanagerhybrid/azure-resourcemanager-compute/pom.xml @@ -83,7 +83,7 @@ com.azure.resourcemanager azure-resourcemanager-msi - 2.24.0 + 2.25.0 com.azure.resourcemanager diff --git a/sdk/resourcemanagerhybrid/azure-resourcemanager-network/pom.xml b/sdk/resourcemanagerhybrid/azure-resourcemanager-network/pom.xml index 5b99f4fe1fe7..f0a7ba04c0cb 100644 --- a/sdk/resourcemanagerhybrid/azure-resourcemanager-network/pom.xml +++ b/sdk/resourcemanagerhybrid/azure-resourcemanager-network/pom.xml @@ -99,7 +99,7 @@ com.azure.resourcemanager azure-resourcemanager-msi - 2.24.0 + 2.25.0 test diff --git a/sdk/servicelinker/azure-resourcemanager-servicelinker/pom.xml b/sdk/servicelinker/azure-resourcemanager-servicelinker/pom.xml index 592a442875ba..f237a97b1d5a 100644 --- a/sdk/servicelinker/azure-resourcemanager-servicelinker/pom.xml +++ b/sdk/servicelinker/azure-resourcemanager-servicelinker/pom.xml @@ -60,7 +60,7 @@ com.azure.resourcemanager azure-resourcemanager - 2.24.0 + 2.25.0 test diff --git a/sdk/spring/spring-cloud-azure-resourcemanager/pom.xml b/sdk/spring/spring-cloud-azure-resourcemanager/pom.xml index daa3cd388271..eedaa9e2aabb 100644 --- a/sdk/spring/spring-cloud-azure-resourcemanager/pom.xml +++ b/sdk/spring/spring-cloud-azure-resourcemanager/pom.xml @@ -43,7 +43,7 @@ com.azure.resourcemanager azure-resourcemanager - 2.24.0 + 2.25.0 From 064b1979e49cba4c4c4313791fc0bba7240c84b3 Mon Sep 17 00:00:00 2001 From: Olena Stoliarova <110589094+ostoliarova-msft@users.noreply.github.com> Date: Fri, 24 Mar 2023 10:19:43 +0200 Subject: [PATCH 32/35] add bot identifier (#33634) --- eng/jacoco-test-coverage/pom.xml | 2 +- eng/versioning/version_client.txt | 2 +- .../azure-communication-common-perf/pom.xml | 2 +- .../azure-communication-common/CHANGELOG.md | 10 +- .../azure-communication-common/pom.xml | 2 +- .../common/CommunicationIdentifier.java | 61 ++++++-- .../common/MicrosoftBotIdentifier.java | 132 ++++++++++++++++++ .../common/CommunicationIdentifierTests.java | 47 ++++++- 8 files changed, 239 insertions(+), 19 deletions(-) create mode 100644 sdk/communication/azure-communication-common/src/main/java/com/azure/communication/common/MicrosoftBotIdentifier.java diff --git a/eng/jacoco-test-coverage/pom.xml b/eng/jacoco-test-coverage/pom.xml index fa4e692ae034..eadbfe4d140c 100644 --- a/eng/jacoco-test-coverage/pom.xml +++ b/eng/jacoco-test-coverage/pom.xml @@ -73,7 +73,7 @@ com.azure azure-communication-common - 1.3.0-beta.2 + 2.0.0-beta.1 com.azure diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index eb0893259fb6..aa50c03a4ee5 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -61,7 +61,7 @@ com.azure:azure-aot-graalvm-perf;1.0.0-beta.1;1.0.0-beta.1 com.azure:azure-communication-chat;1.3.6;1.4.0-beta.1 com.azure:azure-communication-callingserver;1.0.0-beta.4;1.0.0-beta.5 com.azure:azure-communication-callautomation;1.0.0-beta.1;1.0.0-beta.2 -com.azure:azure-communication-common;1.2.6;1.3.0-beta.2 +com.azure:azure-communication-common;1.2.6;2.0.0-beta.1 com.azure:azure-communication-common-perf;1.0.0-beta.1;1.0.0-beta.1 com.azure:azure-communication-sms;1.1.11;1.2.0-beta.1 com.azure:azure-communication-identity;1.4.4;1.5.0-beta.1 diff --git a/sdk/communication/azure-communication-common-perf/pom.xml b/sdk/communication/azure-communication-common-perf/pom.xml index 1053ab414ef1..90d22523db0c 100644 --- a/sdk/communication/azure-communication-common-perf/pom.xml +++ b/sdk/communication/azure-communication-common-perf/pom.xml @@ -28,7 +28,7 @@ com.azure azure-communication-common - 1.3.0-beta.2 + 2.0.0-beta.1 com.azure diff --git a/sdk/communication/azure-communication-common/CHANGELOG.md b/sdk/communication/azure-communication-common/CHANGELOG.md index d532edbd9deb..6eb37d8edceb 100644 --- a/sdk/communication/azure-communication-common/CHANGELOG.md +++ b/sdk/communication/azure-communication-common/CHANGELOG.md @@ -1,12 +1,14 @@ # Release History -## 1.3.0-beta.2 (Unreleased) +## 2.0.0-beta.1 (Unreleased) -### Bug Fixes +### Features Added +- Added support for a new communication identifier `MicrosoftBotIdentifier`. -### Other Changes +### Breaking Changes +- Introduction of `MicrosoftBotIdentifier` is a breaking change. It will affect code that relied on using `UnknownIdentifier` with a rawID starting with `28:` -#### Dependency Updates +### Bugs Fixed ## 1.2.6 (2023-03-07) diff --git a/sdk/communication/azure-communication-common/pom.xml b/sdk/communication/azure-communication-common/pom.xml index 74df07b92a1e..b67fa9dd0630 100644 --- a/sdk/communication/azure-communication-common/pom.xml +++ b/sdk/communication/azure-communication-common/pom.xml @@ -13,7 +13,7 @@ com.azure azure-communication-common jar - 1.3.0-beta.2 + 2.0.0-beta.1 Microsoft Azure common library for communication service client diff --git a/sdk/communication/azure-communication-common/src/main/java/com/azure/communication/common/CommunicationIdentifier.java b/sdk/communication/azure-communication-common/src/main/java/com/azure/communication/common/CommunicationIdentifier.java index 5b549afe48b9..aac5e4a3e93b 100644 --- a/sdk/communication/azure-communication-common/src/main/java/com/azure/communication/common/CommunicationIdentifier.java +++ b/sdk/communication/azure-communication-common/src/main/java/com/azure/communication/common/CommunicationIdentifier.java @@ -9,6 +9,36 @@ */ public abstract class CommunicationIdentifier { + static final String PHONE_NUMBER_PREFIX = "4:"; + + static final String BOT_PREFIX = "28:"; + + static final String BOT_PUBLIC_CLOUD_PREFIX = "28:orgid:"; + + static final String BOT_DOD_CLOUD_PREFIX = "28:dod:"; + + static final String BOT_DOD_CLOUD_GLOBAL_PREFIX = "28:dod-global:"; + + static final String BOT_GCCH_CLOUD_PREFIX = "28:gcch:"; + + static final String BOT_GCCH_CLOUD_GLOBAL_PREFIX = "28:gcch-global:"; + + static final String TEAMS_USER_ANONYMOUS_PREFIX = "8:teamsvisitor:"; + + static final String TEAMS_USER_PUBLIC_CLOUD_PREFIX = "8:orgid:"; + + static final String TEAMS_USER_DOD_CLOUD_PREFIX = "8:dod:"; + + static final String TEAMS_USER_GCCH_CLOUD_PREFIX = "8:gcch:"; + + static final String ACS_USER_PREFIX = "8:acs:"; + + static final String ACS_USER_DOD_CLOUD_PREFIX = "8:dod-acs:"; + + static final String ACS_USER_GCCH_CLOUD_PREFIX = "8:gcch-acs:"; + + static final String SPOOL_USER_PREFIX = "8:spool:"; + private String rawId; /** @@ -23,27 +53,40 @@ public static CommunicationIdentifier fromRawId(String rawId) { throw new IllegalArgumentException("The parameter [rawId] cannot be null to empty."); } - if (rawId.startsWith("4:")) { - return new PhoneNumberIdentifier(rawId.substring("4:".length())); + if (rawId.startsWith(PHONE_NUMBER_PREFIX)) { + return new PhoneNumberIdentifier(rawId.substring(PHONE_NUMBER_PREFIX.length())); } final String[] segments = rawId.split(":"); - if (segments.length < 3) { + if (segments.length != 3) { + if (segments.length == 2 && rawId.startsWith(BOT_PREFIX)) { + return new MicrosoftBotIdentifier(segments[1], false, CommunicationCloudEnvironment.PUBLIC); + } return new UnknownIdentifier(rawId); } final String prefix = segments[0] + ":" + segments[1] + ":"; - final String suffix = rawId.substring(prefix.length()); + final String suffix = segments[2]; - if ("8:teamsvisitor:".equals(prefix)) { + if (TEAMS_USER_ANONYMOUS_PREFIX.equals(prefix)) { return new MicrosoftTeamsUserIdentifier(suffix, true); - } else if ("8:orgid:".equals(prefix)) { + } else if (TEAMS_USER_PUBLIC_CLOUD_PREFIX.equals(prefix)) { return new MicrosoftTeamsUserIdentifier(suffix, false); - } else if ("8:dod:".equals(prefix)) { + } else if (TEAMS_USER_DOD_CLOUD_PREFIX.equals(prefix)) { return new MicrosoftTeamsUserIdentifier(suffix, false).setCloudEnvironment(CommunicationCloudEnvironment.DOD); - } else if ("8:gcch:".equals(prefix)) { + } else if (TEAMS_USER_GCCH_CLOUD_PREFIX.equals(prefix)) { return new MicrosoftTeamsUserIdentifier(suffix, false).setCloudEnvironment(CommunicationCloudEnvironment.GCCH); - } else if ("8:acs:".equals(prefix) || "8:spool:".equals(prefix) || "8:dod-acs:".equals(prefix) || "8:gcch-acs:".equals(prefix)) { + } else if (ACS_USER_PREFIX.equals(prefix) || SPOOL_USER_PREFIX.equals(prefix) || ACS_USER_DOD_CLOUD_PREFIX.equals(prefix) || ACS_USER_GCCH_CLOUD_PREFIX.equals(prefix)) { return new CommunicationUserIdentifier(rawId); + } else if (BOT_GCCH_CLOUD_GLOBAL_PREFIX.equals(prefix)) { + return new MicrosoftBotIdentifier(suffix, false, CommunicationCloudEnvironment.GCCH); + } else if (BOT_PUBLIC_CLOUD_PREFIX.equals(prefix)) { + return new MicrosoftBotIdentifier(suffix, true, CommunicationCloudEnvironment.PUBLIC); + } else if (BOT_DOD_CLOUD_GLOBAL_PREFIX.equals(prefix)) { + return new MicrosoftBotIdentifier(suffix, false, CommunicationCloudEnvironment.DOD); + } else if (BOT_GCCH_CLOUD_PREFIX.equals(prefix)) { + return new MicrosoftBotIdentifier(suffix, true, CommunicationCloudEnvironment.GCCH); + } else if (BOT_DOD_CLOUD_PREFIX.equals(prefix)) { + return new MicrosoftBotIdentifier(suffix, true, CommunicationCloudEnvironment.DOD); } return new UnknownIdentifier(rawId); diff --git a/sdk/communication/azure-communication-common/src/main/java/com/azure/communication/common/MicrosoftBotIdentifier.java b/sdk/communication/azure-communication-common/src/main/java/com/azure/communication/common/MicrosoftBotIdentifier.java new file mode 100644 index 000000000000..e4644932f3e9 --- /dev/null +++ b/sdk/communication/azure-communication-common/src/main/java/com/azure/communication/common/MicrosoftBotIdentifier.java @@ -0,0 +1,132 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.communication.common; + +import com.azure.core.util.CoreUtils; + +/** + * Communication identifier for Microsoft Bot + */ +public final class MicrosoftBotIdentifier extends CommunicationIdentifier { + private final String botId; + private final boolean isResourceAccountConfigured; + private boolean rawIdSet = false; + + private final CommunicationCloudEnvironment cloudEnvironment; + + /** + * Creates a MicrosoftBotIdentifier object + * + * @param botId botId The unique Microsoft app ID for the bot as registered with the Bot Framework. + * @param cloudEnvironment the cloud environment in which this identifier is created. + * @param isResourceAccountConfigured set this to true if the bot is tenantized. It is false if the bot is global and no resource account is configured. + * @throws IllegalArgumentException thrown if botId parameter fail the validation. + */ + public MicrosoftBotIdentifier(String botId, boolean isResourceAccountConfigured, CommunicationCloudEnvironment cloudEnvironment) { + if (CoreUtils.isNullOrEmpty(botId)) { + throw new IllegalArgumentException("The initialization parameter [botId] cannot be null or empty."); + } + this.botId = botId; + this.cloudEnvironment = cloudEnvironment; + this.isResourceAccountConfigured = isResourceAccountConfigured; + generateRawId(); + } + + /** + * Creates a MicrosoftBotIdentifier object + * + * @param botId Id of the Microsoft bot. + * @throws IllegalArgumentException thrown if botId parameter fail the validation. + */ + public MicrosoftBotIdentifier(String botId) { + this(botId, true, CommunicationCloudEnvironment.PUBLIC); + } + + /** + * Creates a MicrosoftBotIdentifier object + * + * @param botId Id of the Microsoft bot. + * @param isResourceAccountConfigured set this to true if the bot is tenantized. It is false if the bot is global and no resource account is configured. + * @throws IllegalArgumentException thrown if botId parameter fail the validation. + */ + public MicrosoftBotIdentifier(String botId, boolean isResourceAccountConfigured) { + this(botId, isResourceAccountConfigured, CommunicationCloudEnvironment.PUBLIC); + } + + /** + * Get bot Id + * @return bot Id of the Microsoft bot. + */ + public String getBotId() { + return this.botId; + } + + /** + * @return True if the bot is tenantized. It is False if the bot is global and no resource account is configured. + */ + public boolean isResourceAccountConfigured() { + return this.isResourceAccountConfigured; + } + + /** + * Get cloud environment of the bot identifier + * + * @return cloud environment in which this identifier is created + */ + public CommunicationCloudEnvironment getCloudEnvironment() { + return cloudEnvironment; + } + + /** + * Set full id of the identifier + * RawId is the encoded format for identifiers to store in databases or as stable keys in general. + * + * @param rawId full id of the identifier + * @return MicrosoftBotIdentifier object itself + */ + @Override + public MicrosoftBotIdentifier setRawId(String rawId) { + super.setRawId(rawId); + rawIdSet = true; + return this; + } + + @Override + public boolean equals(Object that) { + if (this == that) { + return true; + } + + if (!(that instanceof MicrosoftBotIdentifier)) { + return false; + } + + return ((MicrosoftBotIdentifier) that).getRawId().equals(getRawId()); + } + + @Override + public int hashCode() { + return getRawId().hashCode(); + } + + private void generateRawId() { + if (!rawIdSet) { + if (!this.isResourceAccountConfigured) { + if (cloudEnvironment.equals(CommunicationCloudEnvironment.DOD)) { + super.setRawId(BOT_DOD_CLOUD_GLOBAL_PREFIX + this.botId); + } else if (cloudEnvironment.equals(CommunicationCloudEnvironment.GCCH)) { + super.setRawId(BOT_GCCH_CLOUD_GLOBAL_PREFIX + this.botId); + } else { + super.setRawId(BOT_PREFIX + this.botId); + } + } else if (cloudEnvironment.equals(CommunicationCloudEnvironment.DOD)) { + super.setRawId(BOT_DOD_CLOUD_PREFIX + this.botId); + } else if (cloudEnvironment.equals(CommunicationCloudEnvironment.GCCH)) { + super.setRawId(BOT_GCCH_CLOUD_PREFIX + this.botId); + } else { + super.setRawId(BOT_PUBLIC_CLOUD_PREFIX + this.botId); + } + } + } +} diff --git a/sdk/communication/azure-communication-common/src/test/java/com/azure/communication/common/CommunicationIdentifierTests.java b/sdk/communication/azure-communication-common/src/test/java/com/azure/communication/common/CommunicationIdentifierTests.java index 598904a3537f..72261951dc27 100644 --- a/sdk/communication/azure-communication-common/src/test/java/com/azure/communication/common/CommunicationIdentifierTests.java +++ b/sdk/communication/azure-communication-common/src/test/java/com/azure/communication/common/CommunicationIdentifierTests.java @@ -17,6 +17,23 @@ public void defaultCloudIsPublicForMicrosoftTeamsUserIdentifier() { new MicrosoftTeamsUserIdentifier(userId, true).setRawId(fullId).getCloudEnvironment()); } + @Test + public void exceptionThrownForMicrosoftBotWithNoId() { + assertThrows(IllegalArgumentException.class, () -> { + new MicrosoftTeamsUserIdentifier(""); + }); + } + + @Test + public void defaultCloudIsPublicForMicrosoftBotIdentifier() { + assertEquals(CommunicationCloudEnvironment.PUBLIC, + new MicrosoftBotIdentifier(userId, false).setRawId(fullId).getCloudEnvironment()); + } + + @Test + public void defaultIsResourceAccountConfiguredIsTrueForMicrosoftBotIdentifier() { + assertTrue(new MicrosoftBotIdentifier(userId).setRawId(fullId).isResourceAccountConfigured()); + } @Test public void rawIdTakesPrecedenceInEqualityCheck() { // Teams users @@ -68,6 +85,14 @@ public void rawIdTakesPrecedenceInEqualityCheck() { new PhoneNumberIdentifier("+14255550123")); assertEquals(new PhoneNumberIdentifier("+14255550123"), new PhoneNumberIdentifier("+override").setRawId("4:+14255550123")); + + // Bots + assertEquals(new MicrosoftBotIdentifier("45ab2481-1c1c-4005-be24-0ffb879b1130", false, CommunicationCloudEnvironment.PUBLIC), + new MicrosoftBotIdentifier("45ab2481-1c1c-4005-be24-0ffb879b1130", false, CommunicationCloudEnvironment.PUBLIC)); + assertNotEquals(new MicrosoftBotIdentifier("45ab2481-1c1c-4005-be24-0ffb879b1130", false, CommunicationCloudEnvironment.PUBLIC) + .setRawId("Raw Id"), + new MicrosoftBotIdentifier("45ab2481-1c1c-4005-be24-0ffb879b1130", false, CommunicationCloudEnvironment.PUBLIC) + .setRawId("Another Raw Id")); } @Test @@ -82,6 +107,12 @@ public void getRawIdOfIdentifier() { assertRawId(new MicrosoftTeamsUserIdentifier("45ab2481-1c1c-4005-be24-0ffb879b1130", false), "8:orgid:45ab2481-1c1c-4005-be24-0ffb879b1130"); assertRawId(new MicrosoftTeamsUserIdentifier("45ab2481-1c1c-4005-be24-0ffb879b1130", true), "8:teamsvisitor:45ab2481-1c1c-4005-be24-0ffb879b1130"); assertRawId(new MicrosoftTeamsUserIdentifier("45ab2481-1c1c-4005-be24-0ffb879b1130", true).setRawId("8:orgid:legacyFormat"), "8:orgid:legacyFormat"); + assertRawId(new MicrosoftBotIdentifier("45ab2481-1c1c-4005-be24-0ffb879b1130", false, CommunicationCloudEnvironment.PUBLIC), "28:45ab2481-1c1c-4005-be24-0ffb879b1130"); + assertRawId(new MicrosoftBotIdentifier("01234567-89ab-cdef-0123-456789abcdef", false, CommunicationCloudEnvironment.GCCH), "28:gcch-global:01234567-89ab-cdef-0123-456789abcdef"); + assertRawId(new MicrosoftBotIdentifier("01234567-89ab-cdef-0123-456789abcdef", false, CommunicationCloudEnvironment.DOD), "28:dod-global:01234567-89ab-cdef-0123-456789abcdef"); + assertRawId(new MicrosoftBotIdentifier("01234567-89ab-cdef-0123-456789abcdef", true, CommunicationCloudEnvironment.PUBLIC), "28:orgid:01234567-89ab-cdef-0123-456789abcdef"); + assertRawId(new MicrosoftBotIdentifier("01234567-89ab-cdef-0123-456789abcdef", true, CommunicationCloudEnvironment.GCCH), "28:gcch:01234567-89ab-cdef-0123-456789abcdef"); + assertRawId(new MicrosoftBotIdentifier("01234567-89ab-cdef-0123-456789abcdef", true, CommunicationCloudEnvironment.DOD), "28:dod:01234567-89ab-cdef-0123-456789abcdef"); assertRawId(new PhoneNumberIdentifier("+112345556789"), "4:+112345556789"); assertRawId(new PhoneNumberIdentifier("112345556789"), "4:112345556789"); assertRawId(new PhoneNumberIdentifier("otherFormat").setRawId("4:207ffef6-9444-41fb-92ab-20eacaae2768"), "4:207ffef6-9444-41fb-92ab-20eacaae2768"); @@ -104,13 +135,18 @@ public void createIdentifierFromRawId() { assertIdentifier("8:gcch:45ab2481-1c1c-4005-be24-0ffb879b1130", new MicrosoftTeamsUserIdentifier("45ab2481-1c1c-4005-be24-0ffb879b1130", false).setCloudEnvironment(CommunicationCloudEnvironment.GCCH)); assertIdentifier("8:teamsvisitor:45ab2481-1c1c-4005-be24-0ffb879b1130", new MicrosoftTeamsUserIdentifier("45ab2481-1c1c-4005-be24-0ffb879b1130", true).setCloudEnvironment(CommunicationCloudEnvironment.PUBLIC)); assertIdentifier("8:orgid:legacyFormat", new MicrosoftTeamsUserIdentifier("legacyFormat", false).setCloudEnvironment(CommunicationCloudEnvironment.PUBLIC)); + assertIdentifier("28:45ab2481-1c1c-4005-be24-0ffb879b1130", new MicrosoftBotIdentifier("45ab2481-1c1c-4005-be24-0ffb879b1130", false, CommunicationCloudEnvironment.PUBLIC)); + assertIdentifier("28:gcch-global:01234567-89ab-cdef-0123-456789abcdef", new MicrosoftBotIdentifier("01234567-89ab-cdef-0123-456789abcdef", false, CommunicationCloudEnvironment.GCCH)); + assertIdentifier("28:dod-global:01234567-89ab-cdef-0123-456789abcdef", new MicrosoftBotIdentifier("01234567-89ab-cdef-0123-456789abcdef", false, CommunicationCloudEnvironment.DOD)); + assertIdentifier("28:orgid:01234567-89ab-cdef-0123-456789abcdef", new MicrosoftBotIdentifier("01234567-89ab-cdef-0123-456789abcdef", true, CommunicationCloudEnvironment.PUBLIC)); + assertIdentifier("28:gcch:01234567-89ab-cdef-0123-456789abcdef", new MicrosoftBotIdentifier("01234567-89ab-cdef-0123-456789abcdef", true, CommunicationCloudEnvironment.GCCH)); + assertIdentifier("28:dod:01234567-89ab-cdef-0123-456789abcdef", new MicrosoftBotIdentifier("01234567-89ab-cdef-0123-456789abcdef", true, CommunicationCloudEnvironment.DOD)); assertIdentifier("4:+112345556789", new PhoneNumberIdentifier("+112345556789")); assertIdentifier("4:112345556789", new PhoneNumberIdentifier("112345556789")); assertIdentifier("4:207ffef6-9444-41fb-92ab-20eacaae2768", new PhoneNumberIdentifier("207ffef6-9444-41fb-92ab-20eacaae2768")); assertIdentifier("4:207ffef6-9444-41fb-92ab-20eacaae2768_207ffef6-9444-41fb-92ab-20eacaae2768", new PhoneNumberIdentifier("207ffef6-9444-41fb-92ab-20eacaae2768_207ffef6-9444-41fb-92ab-20eacaae2768")); assertIdentifier("4:+112345556789_207ffef6-9444-41fb-92ab-20eacaae2768", new PhoneNumberIdentifier("+112345556789_207ffef6-9444-41fb-92ab-20eacaae2768")); - assertIdentifier("28:45ab2481-1c1c-4005-be24-0ffb879b1130", new UnknownIdentifier("28:45ab2481-1c1c-4005-be24-0ffb879b1130")); - + assertIdentifier("28:ag09-global:01234567-89ab-cdef-0123-456789abcdef", new UnknownIdentifier("28:ag09-global:01234567-89ab-cdef-0123-456789abcdef")); final IllegalArgumentException illegalArgumentException = assertThrows(IllegalArgumentException.class, () -> CommunicationIdentifier.fromRawId(null)); assertEquals("The parameter [rawId] cannot be null to empty.", illegalArgumentException.getMessage()); } @@ -133,6 +169,13 @@ public void rawIdStaysTheSameAfterConversionToIdentifierAndBack() { assertRoundTrip("4:207ffef6-9444-41fb-92ab-20eacaae2768_207ffef6-9444-41fb-92ab-20eacaae2768"); assertRoundTrip("4:+112345556789_207ffef6-9444-41fb-92ab-20eacaae2768"); assertRoundTrip("28:45ab2481-1c1c-4005-be24-0ffb879b1130"); + assertRoundTrip("28:gcch-global:01234567-89ab-cdef-0123-456789abcdef"); + assertRoundTrip("28:dod-global:01234567-89ab-cdef-0123-456789abcdef"); + assertRoundTrip("28:orgid:01234567-89ab-cdef-0123-456789abcdef"); + assertRoundTrip("28:gcch:01234567-89ab-cdef-0123-456789abcdef"); + assertRoundTrip("28:dod:01234567-89ab-cdef-0123-456789abcdef"); + assertRoundTrip("28:gal-global:01234567-89ab-cdef-0123-456789abcdef"); + assertRoundTrip("48:45ab2481-1c1c-4005-be24-0ffb879b1130"); } private void assertRawId(CommunicationIdentifier identifier, String expectedRawId) { From ad2f860f5b67d0d290d6c39d4869ee920389bb0c Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Fri, 24 Mar 2023 11:15:39 -0700 Subject: [PATCH 33/35] Explicitly set PSNativeCommandArgumentPassing to Legacy for git push script (#34188) https://learn.microsoft.com/en-us/powershell/scripting/learn/experimental-features?view=powershell-7.3#psnativecommandargumentpassing Do to that breaking change in PS 7.3 we need to opt into the legacy arg parsing. Co-authored-by: Wes Haggard --- eng/common/scripts/git-branch-push.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eng/common/scripts/git-branch-push.ps1 b/eng/common/scripts/git-branch-push.ps1 index 3e012a1f2833..edd792ffd8cf 100644 --- a/eng/common/scripts/git-branch-push.ps1 +++ b/eng/common/scripts/git-branch-push.ps1 @@ -37,6 +37,10 @@ param( [boolean] $AmendCommit = $false ) +# Explicit set arg parsing to Legacy mode because some of the git calls in this script depend on empty strings being empty and not passing a "" git. +# more info https://learn.microsoft.com/en-us/powershell/scripting/learn/experimental-features?view=powershell-7.3#psnativecommandargumentpassing +$PSNativeCommandArgumentPassing = "Legacy" + # This is necessary because of the git command output writing to stderr. # Without explicitly setting the ErrorActionPreference to continue the script # would fail the first time git wrote command output. From 3de9b49d8d0f6f9f9073d9957cf7c12fef42da7d Mon Sep 17 00:00:00 2001 From: Matt Metcalf Date: Fri, 24 Mar 2023 13:38:04 -0700 Subject: [PATCH 34/35] Updating Web (#34204) --- .../web}/DisabledFeaturesHandler.java | 2 +- .../feature/{manager => management/web}/FeatureGate.java | 2 +- .../{manager => management/web}/FeatureHandler.java | 2 +- .../web}/FeatureManagerSnapshot.java | 2 +- .../web}/implementation/FeatureConfig.java | 4 ++-- .../implementation/FeatureManagementWebConfiguration.java | 8 ++++---- .../feature/{manager => management/web}/package-info.java | 2 +- .../{manager => management/web}/FeatureHandlerTest.java | 2 +- .../web}/FeatureManagerSnapshotTest.java | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) rename sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/{manager => management/web}/DisabledFeaturesHandler.java (93%) rename sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/{manager => management/web}/FeatureGate.java (93%) rename sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/{manager => management/web}/FeatureHandler.java (98%) rename sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/{manager => management/web}/FeatureManagerSnapshot.java (97%) rename sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/{manager => management/web}/implementation/FeatureConfig.java (87%) rename sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/{manager => management/web}/implementation/FeatureManagementWebConfiguration.java (87%) rename sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/{manager => management/web}/package-info.java (80%) rename sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/{manager => management/web}/FeatureHandlerTest.java (99%) rename sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/{manager => management/web}/FeatureManagerSnapshotTest.java (97%) diff --git a/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/DisabledFeaturesHandler.java b/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/DisabledFeaturesHandler.java similarity index 93% rename from sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/DisabledFeaturesHandler.java rename to sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/DisabledFeaturesHandler.java index 256478ed3281..e175e9d2731a 100644 --- a/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/DisabledFeaturesHandler.java +++ b/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/DisabledFeaturesHandler.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager; +package com.azure.spring.cloud.feature.management.web; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; diff --git a/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/FeatureGate.java b/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/FeatureGate.java similarity index 93% rename from sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/FeatureGate.java rename to sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/FeatureGate.java index 9218382c197d..09f9d0b15b7d 100644 --- a/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/FeatureGate.java +++ b/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/FeatureGate.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager; +package com.azure.spring.cloud.feature.management.web; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/FeatureHandler.java b/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/FeatureHandler.java similarity index 98% rename from sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/FeatureHandler.java rename to sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/FeatureHandler.java index a3865f088cfa..f07550dbef45 100644 --- a/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/FeatureHandler.java +++ b/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/FeatureHandler.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager; +package com.azure.spring.cloud.feature.management.web; import java.io.IOException; import java.lang.reflect.Method; diff --git a/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/FeatureManagerSnapshot.java b/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/FeatureManagerSnapshot.java similarity index 97% rename from sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/FeatureManagerSnapshot.java rename to sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/FeatureManagerSnapshot.java index c6bd1744ff37..ba27e44ef1cb 100644 --- a/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/FeatureManagerSnapshot.java +++ b/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/FeatureManagerSnapshot.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager; +package com.azure.spring.cloud.feature.management.web; import java.util.HashMap; diff --git a/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/implementation/FeatureConfig.java b/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/implementation/FeatureConfig.java similarity index 87% rename from sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/implementation/FeatureConfig.java rename to sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/implementation/FeatureConfig.java index 115ffb49106d..342a2dd2e1dd 100644 --- a/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/implementation/FeatureConfig.java +++ b/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/implementation/FeatureConfig.java @@ -1,12 +1,12 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.implementation; +package com.azure.spring.cloud.feature.management.web.implementation; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; -import com.azure.spring.cloud.feature.manager.FeatureHandler; +import com.azure.spring.cloud.feature.management.web.FeatureHandler; /** * Adds the feature management handler to intercept all paths. diff --git a/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/implementation/FeatureManagementWebConfiguration.java b/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/implementation/FeatureManagementWebConfiguration.java similarity index 87% rename from sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/implementation/FeatureManagementWebConfiguration.java rename to sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/implementation/FeatureManagementWebConfiguration.java index 85f51da111ff..59f97d177d27 100644 --- a/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/implementation/FeatureManagementWebConfiguration.java +++ b/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/implementation/FeatureManagementWebConfiguration.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager.implementation; +package com.azure.spring.cloud.feature.management.web.implementation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; @@ -9,10 +9,10 @@ import org.springframework.context.annotation.Configuration; import org.springframework.web.context.annotation.RequestScope; -import com.azure.spring.cloud.feature.manager.FeatureHandler; -import com.azure.spring.cloud.feature.manager.FeatureManagerSnapshot; import com.azure.spring.cloud.feature.management.FeatureManager; -import com.azure.spring.cloud.feature.manager.DisabledFeaturesHandler; +import com.azure.spring.cloud.feature.management.web.DisabledFeaturesHandler; +import com.azure.spring.cloud.feature.management.web.FeatureHandler; +import com.azure.spring.cloud.feature.management.web.FeatureManagerSnapshot; /** * Configurations setting up FeatureManagerSnapshot, FeatureHandler, FeatureConfig diff --git a/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/package-info.java b/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/package-info.java similarity index 80% rename from sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/package-info.java rename to sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/package-info.java index ad688e495f96..a3e653a3ce65 100644 --- a/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/manager/package-info.java +++ b/sdk/spring/spring-cloud-azure-feature-management-web/src/main/java/com/azure/spring/cloud/feature/management/web/package-info.java @@ -4,4 +4,4 @@ * Package contains classes for accessing and creating Feature Flags, Feature Filters with * integrations with Spring Web. */ -package com.azure.spring.cloud.feature.manager; +package com.azure.spring.cloud.feature.management.web; diff --git a/sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/manager/FeatureHandlerTest.java b/sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/management/web/FeatureHandlerTest.java similarity index 99% rename from sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/manager/FeatureHandlerTest.java rename to sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/management/web/FeatureHandlerTest.java index d5d583bd616e..024fe53d86fd 100644 --- a/sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/manager/FeatureHandlerTest.java +++ b/sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/management/web/FeatureHandlerTest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager; +package com.azure.spring.cloud.feature.management.web; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertSame; diff --git a/sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/manager/FeatureManagerSnapshotTest.java b/sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/management/web/FeatureManagerSnapshotTest.java similarity index 97% rename from sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/manager/FeatureManagerSnapshotTest.java rename to sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/management/web/FeatureManagerSnapshotTest.java index 0c8a393408b2..cecf35558768 100644 --- a/sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/manager/FeatureManagerSnapshotTest.java +++ b/sdk/spring/spring-cloud-azure-feature-management-web/src/test/java/com/azure/spring/cloud/feature/management/web/FeatureManagerSnapshotTest.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.spring.cloud.feature.manager; +package com.azure.spring.cloud.feature.management.web; import static org.junit.jupiter.api.Assertions.assertTrue; From d48c536478f5e2930e8f41998432bd8246126cbd Mon Sep 17 00:00:00 2001 From: Fabian Meiswinkel Date: Sat, 25 Mar 2023 02:32:29 +0000 Subject: [PATCH 35/35] Fixing issues in winutils on Windows (#34206) * Fixing issues in winutils on Windows * Update external_dependencies.txt --- eng/versioning/external_dependencies.txt | 1 + sdk/cosmos/azure-cosmos-spark_3_2-12/pom.xml | 7 ++++ .../cosmos/spark/CosmosCatalogBase.scala | 6 +-- .../cosmos/spark/CosmosCatalogITestBase.scala | 2 + .../spark/SampleCosmosCatalogE2EMain.scala | 3 ++ .../azure/cosmos/spark/SampleE2EMain.scala | 2 + .../cosmos/spark/SampleReadE2EMain.scala | 2 + .../SampleStructuredStreamingE2EMain.scala | 2 + .../spark/SparkE2EConfigResolutionITest.scala | 2 + .../cosmos/spark/SparkE2EQueryITestBase.scala | 6 ++- .../SparkE2EStructuredStreamingITest.scala | 13 ++++--- .../com/azure/cosmos/spark/TestUtils.scala | 38 +++++++++++++++++++ 12 files changed, 74 insertions(+), 10 deletions(-) diff --git a/eng/versioning/external_dependencies.txt b/eng/versioning/external_dependencies.txt index 9ff0869767bf..e39de40275d8 100644 --- a/eng/versioning/external_dependencies.txt +++ b/eng/versioning/external_dependencies.txt @@ -353,6 +353,7 @@ cosmos_org.scalatest:scalatest_2.12;3.2.2 cosmos_org.scalatest:scalatest-flatspec_2.12;3.2.3 cosmos_org.scalactic:scalactic_2.12;3.2.3 cosmos_org.scalamock:scalamock_2.12;5.0.0 +cosmos_com.globalmentor:hadoop-bare-naked-local-fs;0.1.0 # Maven Tools for Cosmos Spark connector only cosmos_org.scalatest:scalatest-maven-plugin;2.0.2 diff --git a/sdk/cosmos/azure-cosmos-spark_3_2-12/pom.xml b/sdk/cosmos/azure-cosmos-spark_3_2-12/pom.xml index 754adaf2706e..e3c76e1f26db 100644 --- a/sdk/cosmos/azure-cosmos-spark_3_2-12/pom.xml +++ b/sdk/cosmos/azure-cosmos-spark_3_2-12/pom.xml @@ -110,6 +110,12 @@ + + com.globalmentor + hadoop-bare-naked-local-fs + 0.1.0 + test + org.mockito mockito-core @@ -334,6 +340,7 @@ 11 11 + 2.12.10 diff --git a/sdk/cosmos/azure-cosmos-spark_3_2-12/src/main/scala/com/azure/cosmos/spark/CosmosCatalogBase.scala b/sdk/cosmos/azure-cosmos-spark_3_2-12/src/main/scala/com/azure/cosmos/spark/CosmosCatalogBase.scala index 967882476e0a..b3546db081ed 100644 --- a/sdk/cosmos/azure-cosmos-spark_3_2-12/src/main/scala/com/azure/cosmos/spark/CosmosCatalogBase.scala +++ b/sdk/cosmos/azure-cosmos-spark_3_2-12/src/main/scala/com/azure/cosmos/spark/CosmosCatalogBase.scala @@ -52,7 +52,7 @@ class CosmosCatalogBase /** * Called to initialize configuration. - *

+ *
* This method is called once, just after the provider is instantiated. * * @param name the name used to identify and load this catalog @@ -91,7 +91,7 @@ class CosmosCatalogBase /** * List top-level namespaces from the catalog. - *

+ *
* If an object such as a table, view, or function exists, its parent namespaces must also exist * and must be returned by this discovery method. For example, if table a.t exists, this method * must return ["a"] in the result array. @@ -128,7 +128,7 @@ class CosmosCatalogBase /** * List namespaces in a namespace. - *

+ *
* Cosmos supports only single depth database. Hence we always return an empty list of namespaces. * or throw if the root namespace doesn't exist */ diff --git a/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/CosmosCatalogITestBase.scala b/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/CosmosCatalogITestBase.scala index b059478dc019..742fc0729299 100644 --- a/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/CosmosCatalogITestBase.scala +++ b/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/CosmosCatalogITestBase.scala @@ -31,6 +31,8 @@ abstract class CosmosCatalogITestBase extends IntegrationSpec with CosmosClient .enableHiveSupport() .getOrCreate() + LocalJavaFileSystem.applyToSparkSession(spark) + spark.conf.set(s"spark.sql.catalog.testCatalog", "com.azure.cosmos.spark.CosmosCatalog") spark.conf.set(s"spark.sql.catalog.testCatalog.spark.cosmos.accountEndpoint", cosmosEndpoint) spark.conf.set(s"spark.sql.catalog.testCatalog.spark.cosmos.accountKey", cosmosMasterKey) diff --git a/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SampleCosmosCatalogE2EMain.scala b/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SampleCosmosCatalogE2EMain.scala index 4e8e29c9a480..145ca409ad37 100644 --- a/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SampleCosmosCatalogE2EMain.scala +++ b/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SampleCosmosCatalogE2EMain.scala @@ -33,6 +33,9 @@ object SampleCosmosCatalogE2EMain { .appName("spark connector sample") .master("local") .getOrCreate() + + LocalJavaFileSystem.applyToSparkSession(spark) + spark.conf.set(s"spark.sql.catalog.mycatalog", "com.azure.cosmos.spark.CosmosCatalog") spark.conf.set(s"spark.sql.catalog.mycatalog.spark.cosmos.accountEndpoint", cosmosEndpoint) spark.conf.set(s"spark.sql.catalog.mycatalog.spark.cosmos.accountKey", cosmosMasterKey) diff --git a/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SampleE2EMain.scala b/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SampleE2EMain.scala index d243fbc386fe..403ce9d88631 100644 --- a/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SampleE2EMain.scala +++ b/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SampleE2EMain.scala @@ -34,6 +34,8 @@ object SampleE2EMain { .master("local") .getOrCreate() + LocalJavaFileSystem.applyToSparkSession(spark) + // scalastyle:off underscore.import // scalastyle:off import.grouping import spark.implicits._ diff --git a/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SampleReadE2EMain.scala b/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SampleReadE2EMain.scala index 38d6f4698d10..76187b89013e 100644 --- a/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SampleReadE2EMain.scala +++ b/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SampleReadE2EMain.scala @@ -37,6 +37,8 @@ object SampleReadE2EMain { .master("local") .getOrCreate() + LocalJavaFileSystem.applyToSparkSession(spark) + val df = spark.read.format("cosmos.oltp").options(cfg).load() df.show(numRows = 10) diff --git a/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SampleStructuredStreamingE2EMain.scala b/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SampleStructuredStreamingE2EMain.scala index 42254d26e373..932a94735230 100644 --- a/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SampleStructuredStreamingE2EMain.scala +++ b/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SampleStructuredStreamingE2EMain.scala @@ -31,6 +31,8 @@ object SampleStructuredStreamingE2EMain { .master("local") .getOrCreate() + LocalJavaFileSystem.applyToSparkSession(spark) + spark.streams.addListener(new StreamingQueryListener() { override def onQueryStarted(queryStarted: QueryStartedEvent): Unit = { println("Query started: " + queryStarted.id) diff --git a/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SparkE2EConfigResolutionITest.scala b/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SparkE2EConfigResolutionITest.scala index a24db02c7b5f..0270b4e370e8 100644 --- a/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SparkE2EConfigResolutionITest.scala +++ b/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SparkE2EConfigResolutionITest.scala @@ -26,6 +26,8 @@ class SparkE2EConfigResolutionITest extends IntegrationSpec with CosmosClient wi .config(sparkConfig) .getOrCreate() + LocalJavaFileSystem.applyToSparkSession(spark) + // scalastyle:off underscore.import // scalastyle:off import.grouping import spark.implicits._ diff --git a/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SparkE2EQueryITestBase.scala b/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SparkE2EQueryITestBase.scala index e5141bee2647..796d12390f96 100644 --- a/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SparkE2EQueryITestBase.scala +++ b/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SparkE2EQueryITestBase.scala @@ -76,11 +76,15 @@ abstract class SparkE2EQueryITestBase item.getAs[String]("id") shouldEqual id assertMetrics(meterRegistry, "cosmos.client.op.latency", expectedToFind = true) + // Gateway requests are not happening always - but they can happen //assertMetrics(meterRegistry, "cosmos.client.req.gw", expectedToFind = true) + assertMetrics(meterRegistry, "cosmos.client.req.rntbd", expectedToFind = true) assertMetrics(meterRegistry, "cosmos.client.rntbd", expectedToFind = true) - assertMetrics(meterRegistry, "cosmos.client.rntbd.addressResolution", expectedToFind = true) + + // address resolution requests can but don't have to happen - they are optional + // assertMetrics(meterRegistry, "cosmos.client.rntbd.addressResolution", expectedToFind = true) } private def insertDummyValue() : Unit = { diff --git a/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SparkE2EStructuredStreamingITest.scala b/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SparkE2EStructuredStreamingITest.scala index 5ac2425dba21..68eb67eb3d8d 100644 --- a/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SparkE2EStructuredStreamingITest.scala +++ b/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/SparkE2EStructuredStreamingITest.scala @@ -5,19 +5,18 @@ package com.azure.cosmos.spark import com.azure.cosmos.CosmosAsyncContainer import com.azure.cosmos.implementation.{TestConfigurations, Utils} import com.azure.cosmos.models.{ModelBridgeInternal, PartitionKey, ThroughputProperties} -import org.apache.spark.sql.{DataFrame, SparkSession} -import org.apache.spark.sql.streaming.{StreamingQueryListener, Trigger} -import org.apache.spark.sql.streaming.StreamingQueryListener.{QueryProgressEvent, QueryStartedEvent, QueryTerminatedEvent} - -import java.util.UUID -import java.util.concurrent.atomic.AtomicLong import com.azure.cosmos.spark.diagnostics.BasicLoggingTrait import com.azure.cosmos.spark.udf.GetFeedRangeForPartitionKeyValue import com.fasterxml.jackson.databind.node.ObjectNode +import org.apache.spark.sql.streaming.StreamingQueryListener.{QueryProgressEvent, QueryStartedEvent, QueryTerminatedEvent} +import org.apache.spark.sql.streaming.{StreamingQueryListener, Trigger} import org.apache.spark.sql.types.StringType +import org.apache.spark.sql.{DataFrame, SparkSession} import org.scalatest.Retries import org.scalatest.tagobjects.Retryable +import java.util.UUID +import java.util.concurrent.atomic.AtomicLong import java.util.regex.Pattern class SparkE2EStructuredStreamingITest @@ -780,6 +779,8 @@ class SparkE2EStructuredStreamingITest .master("local") .getOrCreate() + LocalJavaFileSystem.applyToSparkSession(spark) + spark.streams.addListener(new StreamingQueryListener() { override def onQueryStarted(queryStarted: QueryStartedEvent): Unit = {} override def onQueryTerminated(queryTerminated: QueryTerminatedEvent): Unit = {} diff --git a/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/TestUtils.scala b/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/TestUtils.scala index ad7f4990134b..7f8f2e66a61a 100644 --- a/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/TestUtils.scala +++ b/sdk/cosmos/azure-cosmos-spark_3_2-12/src/test/scala/com/azure/cosmos/spark/TestUtils.scala @@ -7,15 +7,18 @@ import com.azure.cosmos.models.{ChangeFeedPolicy, CosmosBulkOperations, CosmosCo import com.azure.cosmos.spark.diagnostics.BasicLoggingTrait import com.azure.cosmos.{CosmosAsyncClient, CosmosClientBuilder, CosmosException} import com.fasterxml.jackson.databind.node.ObjectNode +import com.globalmentor.apache.hadoop.fs.{BareLocalFileSystem, NakedLocalFileSystem} import io.micrometer.core.instrument.MeterRegistry import io.micrometer.core.instrument.composite.CompositeMeterRegistry import org.apache.commons.lang3.RandomStringUtils +import org.apache.hadoop.fs.{FileSystem, Path} import org.apache.spark.sql.SparkSession import org.scalatest.matchers.should.Matchers import org.scalatest.{BeforeAndAfterAll, BeforeAndAfterEach, Suite} import reactor.core.publisher.Sinks import reactor.core.scala.publisher.SMono.PimpJFlux +import java.net.URI import java.time.Duration import java.util.UUID import java.util.concurrent.atomic.AtomicInteger @@ -45,6 +48,8 @@ trait Spark extends BeforeAndAfterAll with BasicLoggingTrait { .master("local") .getOrCreate() + LocalJavaFileSystem.applyToSparkSession(spark) + spark } @@ -79,6 +84,8 @@ trait SparkWithDropwizardAndSlf4jMetrics extends Spark { .config("spark.cosmos.metrics.intervalInSeconds", "10") .getOrCreate() + LocalJavaFileSystem.applyToSparkSession(spark) + spark } } @@ -97,6 +104,8 @@ trait SparkWithJustDropwizardAndNoSlf4jMetrics extends Spark { .config("spark.cosmos.metrics.slf4j.enabled", "false") .getOrCreate() + LocalJavaFileSystem.applyToSparkSession(spark) + spark } } @@ -372,3 +381,32 @@ object Platform { + " and the Spark version, or unknown version, attempts to access DirectByteBuffer via reflection.") } } + +class NakedLocalJavaFileSystem() extends NakedLocalFileSystem { + + // The NakedLocalFileSystem requires to use schema file:/// - which conflicts + // with some spark code paths where this would automatically trigger winutils to be + // used - overriding the schema here to allow using NakedLocalFileSystem instead of winutils + override def getUri: URI = { + LocalJavaFileSystem.NAME + } + + override def checkPath(path: Path): Unit = { + super.checkPath(path) + } +} + +// Just a wrapper to allow injecting the NakedLocalFileSystem with modified schema +class BareLocalJavaFileSystem() extends BareLocalFileSystem(new NakedLocalJavaFileSystem()) { +} + +object LocalJavaFileSystem { + + val NAME = URI.create("localfs:///") + + def applyToSparkSession(spark: SparkSession) = { + spark.sparkContext.hadoopConfiguration.set("fs.defaultFS", "localfs:///") + spark.sparkContext.hadoopConfiguration.setClass( + "fs.localfs.impl", classOf[BareLocalJavaFileSystem], classOf[FileSystem]) + } +}