From 869608251943093a6527476d410a242e9748875e Mon Sep 17 00:00:00 2001 From: Sima Zhu Date: Tue, 30 Jul 2019 12:23:52 -0700 Subject: [PATCH 1/6] Bump to the right version. Switch test account to team account. --- pom.client.xml | 1 + .../keys/KeyClientJavaDocCodeSnippets.java | 4 - storage/client/{ => blob}/tests.yml | 0 storage/client/file/pom.xml | 2 +- .../azure/storage/file/FileConfiguration.java | 2 +- .../AzureFileStorageBuilder.java | 4 +- .../file/DirectoryAsyncClientTests.java | 2 - .../storage/file/DirectoryClientTests.java | 2 - .../storage/file/FileAsyncClientTest.java | 2 - .../azure/storage/file/FileClientTest.java | 2 - .../file/FileServiceClientAsyncTests.java | 2 - .../storage/file/FileServiceClientTests.java | 2 - .../storage/file/ShareAsyncClientTests.java | 2 - .../azure/storage/file/ShareClientTests.java | 2 - .../resources/session-records/abortCopy.json | 2 +- .../clearMetadataFromDirClient.json | 26 ++-- ...DirectoryAlreadyExistsFromShareClient.json | 44 +++--- .../createDirectoryFromShareClient.json | 34 ++--- ...teDirectoryInvalidNameFromShareClient.json | 32 ++--- .../createExcessMaxSizeFromFileClient.json | 26 ++-- .../createFileFromDirClient.json | 26 ++-- ...eateFileWithoutCreateDirFromDirClient.json | 12 +- .../session-records/createFromFileClient.json | 26 ++-- .../createFromShareClient.json | 22 +-- .../createInvalidQuotaFromShareClient.json | 32 ++--- .../createMinFromDirClient.json | 14 +- .../session-records/createShare.json | 32 ++--- .../createShareInvalidQuota.json | 32 ++--- .../createShareTwiceDifferentMetadata.json | 43 +++--- .../createShareTwiceSameMetadata.json | 42 +++--- .../session-records/createSubDirectory.json | 26 ++-- .../createSubDirectoryTwiceSameMetadata.json | 36 ++--- .../createSubDirectoryWithMetadata.json | 26 ++-- ...TwiceDifferentMetadataFromShareClient.json | 32 ++--- .../createTwiceFromDirClient.json | 24 ++-- ...reateTwiceSameMetadataFromShareClient.json | 32 ++--- .../createWithMetadataFromDirClient.json | 14 +- ...eDirectoryDoesNotExistFromShareClient.json | 32 ++--- .../deleteDirectoryFromShareClient.json | 42 +++--- .../deleteDoesNotExistFromShareClient.json | 22 +-- .../deleteFileFromDirClient.json | 34 ++--- ...eteFileWithoutCreateFileFromDirClient.json | 24 ++-- .../session-records/deleteFromDirClient.json | 22 +-- .../session-records/deleteFromFileClient.json | 22 +-- .../deleteFromShareClient.json | 32 ++--- .../deleteNotExistFromDirClient.json | 12 +- .../session-records/deleteShare.json | 32 ++--- .../deleteShareDoesNotExist.json | 22 +-- .../deleteSnapshotFromShareClient.json | 60 ++++---- .../session-records/deleteSubDirectory.json | 34 ++--- .../deleteThenCreateFromShareClient.json | 42 +++--- ...eThenCreateShareFromFileServiceClient.json | 52 +++---- ...eateShareTooSoonFromFileServiceClient.json | 42 +++--- ...eleteThenCreateTooSoonFromShareClient.json | 42 +++--- .../downloadWithProperties.json | 26 ++-- .../forceCloseHandlesFromDirClient.json | 22 +-- .../forceCloseHandlesFromFileClient.json | 22 +-- .../getDirectoryDoesNotCreateADirectory.json | 32 ++--- .../getFileClientFromDirClient.json | 2 +- .../getHandlesFromDirClient.json | 2 +- ...etMetadataDoesNotExistFromShareClient.json | 22 +-- .../getMetadataFromShareClient.json | 34 ++--- .../session-records/getPolicies.json | 34 ++--- .../getPoliciesDoesNotExist.json | 22 +-- ...PropertiesDoesNotExistFromShareClient.json | 22 +-- .../getPropertiesFromDirClient.json | 26 ++-- .../getPropertiesFromFileClient.json | 26 ++-- .../getPropertiesFromShareClient.json | 34 ++--- ...tRootDirectoryDoesNotCreateADirectory.json | 34 ++--- .../getShareDoesNotCreateAShare.json | 22 +-- .../session-records/getSnapshotId.json | 38 ++--- ...otMetadataDoesNotExistFromShareClient.json | 32 ++--- .../getSnapshotMetadataFromShareClient.json | 50 +++---- .../getSnapshotPropertiesDoesNotExist.json | 32 ++--- .../getSnapshotPropertiesFromShareClient.json | 50 +++---- .../resources/session-records/getStats.json | 30 ++-- .../session-records/getStatsDoesNotExist.json | 22 +-- .../getSubDirectoryClient.json | 2 +- .../listFilesAndDirectoriesFromDirClient.json | 132 +++++++++--------- .../listHandlesFromFileClient.json | 22 +-- .../listRangesFromFileClient.json | 38 ++--- .../resources/session-records/listShares.json | 82 +++++------ .../listSharesIncludeMetadata.json | 82 +++++------ ...listSharesIncludeMetadataAndSnapshots.json | 114 +++++++-------- .../listSharesIncludeSnapshots.json | 114 +++++++-------- .../listSharesInvalidMaxResults.json | 32 ++--- .../session-records/listSharesWithLimit.json | 82 +++++------ .../session-records/listSharesWithPrefix.json | 82 +++++------ .../setFileServiceProperties.json | 52 +++---- .../setHttpHeadersFromFileClient.json | 26 ++-- .../setMeatadataFromFileClient.json | 26 ++-- ...etMetadataDoesNotExistFromShareClient.json | 22 +-- .../setMetadataFromDirClient.json | 26 ++-- .../setMetadataFromShareClient.json | 46 +++--- .../setMetadataInvalidKeyFromDirClient.json | 24 ++-- ...etadataInvalidMetadataFromShareClient.json | 32 ++--- .../session-records/setPolicies.json | 46 +++--- .../setPoliciesDoesNotExist.json | 22 +-- .../setPoliciesInvalidPermission.json | 33 ++--- .../setPoliciesTooManyPermissions.json | 32 ++--- ...PropertiesDoesNotExistFromShareClient.json | 22 +-- .../setPropertiesFromShareClient.json | 58 ++++---- .../setPropertiesInvalidAllowedHeader.json | 22 +-- .../setPropertiesInvalidAllowedMethod.json | 22 +-- .../setPropertiesInvalidAllowedOrigin.json | 22 +-- .../setPropertiesInvalidExposedHeader.json | 22 +-- ...PropertiesInvalidQuotaFromShareClient.json | 42 +++--- .../setPropertiesTooManyRules.json | 22 +-- .../resources/session-records/snapshot.json | 38 ++--- .../snapshotDifferentMetadata.json | 62 ++++---- .../session-records/snapshotDoesNotExist.json | 22 +-- .../session-records/snapshotSameMetadata.json | 50 +++---- .../resources/session-records/startCopy.json | 28 ++-- .../resources/session-records/upload.json | 26 ++-- .../uploadToStorageAndDownloadToFile.json | 50 +++---- .../session-records/urlFromDirClient.json | 2 +- storage/client/pom.xml | 123 ---------------- storage/client/queue/pom.xml | 2 +- .../storage/queue/QueueClientBuilder.java | 1 + .../storage/queue/QueueConfiguration.java | 2 +- .../queue/QueueServiceClientBuilder.java | 22 ++- .../AzureQueueStorageBuilder.java | 4 +- .../storage/queue/QueueAsyncClientTests.java | 2 - .../azure/storage/queue/QueueClientTests.java | 3 +- .../queue/QueueServiceAsyncClientTests.java | 2 - .../queue/QueueServiceClientTests.java | 2 - .../session-records/clearMessages.json | 80 +++++------ .../clearMessagesQueueDoesNotExist.json | 22 +-- .../session-records/createQueue.json | 46 +++--- .../createQueueTwiceDifferentMetadata.json | 46 +++--- .../createQueueTwiceSameMetadata.json | 64 ++++----- .../createQueueWithMetadata.json | 44 +++--- .../createTwiceDifferentMetadata.json | 36 ++--- .../createTwiceSameMetadata.json | 34 ++--- .../session-records/createWithMetadata.json | 34 ++--- .../session-records/createWithSASToken.json | 12 +- .../session-records/createWithSharedKey.json | 12 +- .../session-records/deleteExisting.json | 48 +++---- .../session-records/deleteExistingQueue.json | 38 ++--- .../session-records/deleteMessage.json | 62 ++++---- .../deleteMessageInvalidMessageId.json | 56 ++++---- .../deleteMessageInvalidPopReceipt.json | 56 ++++---- .../deleteMessageQueueDoesNotExist.json | 22 +-- .../session-records/deleteMetadata.json | 50 +++---- .../session-records/deleteNonExistent.json | 22 +-- .../deleteNonExistentQueue.json | 22 +-- .../session-records/dequeueMessage.json | 46 +++--- .../dequeueMultipleMessages.json | 56 ++++---- .../dequeueQueueDoesNotExist.json | 22 +-- .../dequeueTooManyMessages.json | 36 ++--- .../session-records/enqueueEmptyMessage.json | 46 +++--- .../session-records/enqueueMessage.json | 46 +++--- .../enqueueQueueDoesNotExist.json | 22 +-- .../enqueueShortTimeToLiveMessage.json | 44 +++--- .../session-records/getAccessPolicy.json | 34 ++--- .../getAccessPolicyQueueDoesNotExist.json | 22 +-- .../session-records/getProperties.json | 34 ++--- .../getPropertiesQueueDoesNotExist.json | 22 +-- .../getQueueDoesNotCreateAQueue.json | 22 +-- .../resources/session-records/listQueues.json | 94 ++++++------- .../listQueuesIncludeMetadata.json | 94 ++++++------- .../session-records/listQueuesWithPrefix.json | 94 ++++++------- .../session-records/peekMessage.json | 46 +++--- .../session-records/peekMultipleMessages.json | 56 ++++---- .../peekQueueDoesNotExist.json | 22 +-- .../session-records/peekTooManyMessages.json | 36 ++--- .../session-records/setAccessPolicy.json | 42 +++--- .../setAccessPolicyQueueDoesNotExist.json | 22 +-- .../setInvalidAccessPolicy.json | 36 ++--- .../session-records/setInvalidMetadata.json | 36 ++--- .../session-records/setMetadata.json | 42 +++--- .../setMetadataQueueDoesNotExist.json | 22 +-- .../session-records/setProperties.json | 52 +++---- .../setTooManyAccessPolicies.json | 36 ++--- .../session-records/updateMessage.json | 68 ++++----- .../updateMessageInvalidMessageId.json | 56 ++++---- .../updateMessageInvalidPopReceipt.json | 56 ++++---- .../updateMessageQueueDoesNotExist.json | 22 +-- 178 files changed, 2885 insertions(+), 3015 deletions(-) rename storage/client/{ => blob}/tests.yml (100%) delete mode 100644 storage/client/pom.xml diff --git a/pom.client.xml b/pom.client.xml index ed51d0abaa3db..4c0a49538872e 100644 --- a/pom.client.xml +++ b/pom.client.xml @@ -546,6 +546,7 @@ -snippetpath ${project.basedir}/sdk/keyvault/azure-keyvault-keys/src/samples/java -snippetpath ${project.basedir}/sdk/keyvault/azure-keyvault-secrets/src/samples/java + -snippetpath ${project.basedir}/storage/client/file/src/samples/java -snippetpath ${project.basedir}/storage/client/queue/src/samples/java diff --git a/sdk/keyvault/azure-keyvault-keys/src/samples/java/com/azure/security/keyvault/keys/KeyClientJavaDocCodeSnippets.java b/sdk/keyvault/azure-keyvault-keys/src/samples/java/com/azure/security/keyvault/keys/KeyClientJavaDocCodeSnippets.java index c2e2caedfee11..8d15a0f13656e 100644 --- a/sdk/keyvault/azure-keyvault-keys/src/samples/java/com/azure/security/keyvault/keys/KeyClientJavaDocCodeSnippets.java +++ b/sdk/keyvault/azure-keyvault-keys/src/samples/java/com/azure/security/keyvault/keys/KeyClientJavaDocCodeSnippets.java @@ -4,10 +4,6 @@ package com.azure.security.keyvault.keys; import com.azure.core.credentials.TokenCredential; -import com.azure.core.http.HttpClient; -import com.azure.core.http.HttpPipeline; -import com.azure.core.http.HttpPipelineBuilder; -import com.azure.core.http.policy.HttpLogDetailLevel; import com.azure.core.http.rest.Response; import com.azure.core.http.rest.VoidResponse; import com.azure.core.util.Context; diff --git a/storage/client/tests.yml b/storage/client/blob/tests.yml similarity index 100% rename from storage/client/tests.yml rename to storage/client/blob/tests.yml diff --git a/storage/client/file/pom.xml b/storage/client/file/pom.xml index c9fe47848dcf1..cd9e8d878c9aa 100644 --- a/storage/client/file/pom.xml +++ b/storage/client/file/pom.xml @@ -13,7 +13,7 @@ com.azure azure-storage-file - 12.0.0-preview.1 + 12.0.0-preview.2 azure-storage-file https://github.com/Azure/azure-sdk-for-java diff --git a/storage/client/file/src/main/java/com/azure/storage/file/FileConfiguration.java b/storage/client/file/src/main/java/com/azure/storage/file/FileConfiguration.java index 02d964e002412..379e62004abb0 100644 --- a/storage/client/file/src/main/java/com/azure/storage/file/FileConfiguration.java +++ b/storage/client/file/src/main/java/com/azure/storage/file/FileConfiguration.java @@ -9,5 +9,5 @@ class FileConfiguration { //TODO: Eventually remove these hardcoded strings with https://github.com/Azure/azure-sdk-for-java/issues/3141 static final String NAME = "azure-storage-file"; - static final String VERSION = "12.0.0-preview.1"; + static final String VERSION = "12.0.0-preview.2"; } diff --git a/storage/client/file/src/main/java/com/azure/storage/file/implementation/AzureFileStorageBuilder.java b/storage/client/file/src/main/java/com/azure/storage/file/implementation/AzureFileStorageBuilder.java index 61cd8b5218c91..21b560b7dd71c 100644 --- a/storage/client/file/src/main/java/com/azure/storage/file/implementation/AzureFileStorageBuilder.java +++ b/storage/client/file/src/main/java/com/azure/storage/file/implementation/AzureFileStorageBuilder.java @@ -74,9 +74,7 @@ public AzureFileStorageImpl build() { this.pipeline = RestProxy.createDefaultPipeline(); } AzureFileStorageImpl client = new AzureFileStorageImpl(pipeline); - if (this.version != null) { - client.setVersion(this.version); - } + client.setVersion(this.version); if (this.url != null) { client.setUrl(this.url); } diff --git a/storage/client/file/src/test/java/com/azure/storage/file/DirectoryAsyncClientTests.java b/storage/client/file/src/test/java/com/azure/storage/file/DirectoryAsyncClientTests.java index 7fc208fd3f222..3e84a1bb90cf7 100644 --- a/storage/client/file/src/test/java/com/azure/storage/file/DirectoryAsyncClientTests.java +++ b/storage/client/file/src/test/java/com/azure/storage/file/DirectoryAsyncClientTests.java @@ -35,7 +35,6 @@ public void beforeTest() { if (interceptorManager.isPlaybackMode()) { client = setupClient((connectionString, endpoint) -> new DirectoryClientBuilder() .connectionString(connectionString) - .endpoint(endpoint) .shareName(shareName) .directoryPath(dirName) .httpClient(interceptorManager.getPlaybackClient()) @@ -44,7 +43,6 @@ public void beforeTest() { } else { client = setupClient((connectionString, endpoint) -> new DirectoryClientBuilder() .connectionString(connectionString) - .endpoint(endpoint) .shareName(shareName) .directoryPath(dirName) .httpClient(HttpClient.createDefault().wiretap(true)) diff --git a/storage/client/file/src/test/java/com/azure/storage/file/DirectoryClientTests.java b/storage/client/file/src/test/java/com/azure/storage/file/DirectoryClientTests.java index 64103f0d110d4..ce73781ae3a5c 100644 --- a/storage/client/file/src/test/java/com/azure/storage/file/DirectoryClientTests.java +++ b/storage/client/file/src/test/java/com/azure/storage/file/DirectoryClientTests.java @@ -31,7 +31,6 @@ public void beforeTest() { if (interceptorManager.isPlaybackMode()) { directoryClient = setupClient((connectionString, endpoint) -> new DirectoryClientBuilder() .connectionString(connectionString) - .endpoint(endpoint) .shareName(shareName) .directoryPath(dirName) .httpClient(interceptorManager.getPlaybackClient()) @@ -40,7 +39,6 @@ public void beforeTest() { } else { directoryClient = setupClient((connectionString, endpoint) -> new DirectoryClientBuilder() .connectionString(connectionString) - .endpoint(endpoint) .shareName(shareName) .directoryPath(dirName) .httpClient(HttpClient.createDefault().wiretap(true)) diff --git a/storage/client/file/src/test/java/com/azure/storage/file/FileAsyncClientTest.java b/storage/client/file/src/test/java/com/azure/storage/file/FileAsyncClientTest.java index 3f8199113888c..262cc4b0b98d2 100644 --- a/storage/client/file/src/test/java/com/azure/storage/file/FileAsyncClientTest.java +++ b/storage/client/file/src/test/java/com/azure/storage/file/FileAsyncClientTest.java @@ -39,7 +39,6 @@ public void beforeTest() { .connectionString(connectionString) .shareName(shareName) .filePath(filePath) - .endpoint(endpoint) .httpClient(interceptorManager.getPlaybackClient()) .httpLogDetailLevel(HttpLogDetailLevel.BODY_AND_HEADERS) .buildAsyncClient(), true, fileAsyncLogger); @@ -48,7 +47,6 @@ public void beforeTest() { .connectionString(connectionString) .shareName(shareName) .filePath(filePath) - .endpoint(endpoint) .httpClient(HttpClient.createDefault().wiretap(true)) .httpLogDetailLevel(HttpLogDetailLevel.BODY_AND_HEADERS) .addPolicy(interceptorManager.getRecordPolicy()) diff --git a/storage/client/file/src/test/java/com/azure/storage/file/FileClientTest.java b/storage/client/file/src/test/java/com/azure/storage/file/FileClientTest.java index 2ba243ff90464..7a08972b01097 100644 --- a/storage/client/file/src/test/java/com/azure/storage/file/FileClientTest.java +++ b/storage/client/file/src/test/java/com/azure/storage/file/FileClientTest.java @@ -42,7 +42,6 @@ public void beforeTest() { .connectionString(connectionString) .shareName(shareName) .filePath(filePath) - .endpoint(endpoint) .httpClient(interceptorManager.getPlaybackClient()) .httpLogDetailLevel(HttpLogDetailLevel.BODY_AND_HEADERS) .buildClient(), true, fileLogger); @@ -51,7 +50,6 @@ public void beforeTest() { .connectionString(connectionString) .shareName(shareName) .filePath(filePath) - .endpoint(endpoint) .httpClient(HttpClient.createDefault().wiretap(true)) .httpLogDetailLevel(HttpLogDetailLevel.BODY_AND_HEADERS) .addPolicy(interceptorManager.getRecordPolicy()) diff --git a/storage/client/file/src/test/java/com/azure/storage/file/FileServiceClientAsyncTests.java b/storage/client/file/src/test/java/com/azure/storage/file/FileServiceClientAsyncTests.java index cc302acca59a5..8f7c96dc579c4 100644 --- a/storage/client/file/src/test/java/com/azure/storage/file/FileServiceClientAsyncTests.java +++ b/storage/client/file/src/test/java/com/azure/storage/file/FileServiceClientAsyncTests.java @@ -37,14 +37,12 @@ public void beforeTest() { if (interceptorManager.isPlaybackMode()) { fileServiceAsyncClient = setupClient((connectionString, endpoint) -> new FileServiceClientBuilder() .connectionString(connectionString) - .endpoint(endpoint) .httpClient(interceptorManager.getPlaybackClient()) .httpLogDetailLevel(HttpLogDetailLevel.BODY_AND_HEADERS) .buildAsyncClient(), true, fileServiceAsyncLogger); } else { fileServiceAsyncClient = setupClient((connectionString, endpoint) -> new FileServiceClientBuilder() .connectionString(connectionString) - .endpoint(endpoint) .httpClient(HttpClient.createDefault().wiretap(true)) .httpLogDetailLevel(HttpLogDetailLevel.BODY_AND_HEADERS) .addPolicy(interceptorManager.getRecordPolicy()) diff --git a/storage/client/file/src/test/java/com/azure/storage/file/FileServiceClientTests.java b/storage/client/file/src/test/java/com/azure/storage/file/FileServiceClientTests.java index 3377458e2584c..f8795d6048aff 100644 --- a/storage/client/file/src/test/java/com/azure/storage/file/FileServiceClientTests.java +++ b/storage/client/file/src/test/java/com/azure/storage/file/FileServiceClientTests.java @@ -41,14 +41,12 @@ public void beforeTest() { if (interceptorManager.isPlaybackMode()) { fileServiceClient = setupClient((connectionString, endpoint) -> new FileServiceClientBuilder() .connectionString(connectionString) - .endpoint(endpoint) .httpClient(interceptorManager.getPlaybackClient()) .httpLogDetailLevel(HttpLogDetailLevel.BODY_AND_HEADERS) .buildClient(), true, fileServiceLogger); } else { fileServiceClient = setupClient((connectionString, endpoint) -> new FileServiceClientBuilder() .connectionString(connectionString) - .endpoint(endpoint) .httpClient(HttpClient.createDefault().wiretap(true)) .httpLogDetailLevel(HttpLogDetailLevel.BODY_AND_HEADERS) .addPolicy(interceptorManager.getRecordPolicy()) diff --git a/storage/client/file/src/test/java/com/azure/storage/file/ShareAsyncClientTests.java b/storage/client/file/src/test/java/com/azure/storage/file/ShareAsyncClientTests.java index d98273108b491..619cfe1d0f3e2 100644 --- a/storage/client/file/src/test/java/com/azure/storage/file/ShareAsyncClientTests.java +++ b/storage/client/file/src/test/java/com/azure/storage/file/ShareAsyncClientTests.java @@ -39,7 +39,6 @@ public void beforeTest() { if (interceptorManager.isPlaybackMode()) { shareAsyncClient = setupClient((connectionString, endpoint) -> new ShareClientBuilder() .connectionString(connectionString) - .endpoint(endpoint) .shareName(shareName) .httpClient(interceptorManager.getPlaybackClient()) .httpLogDetailLevel(HttpLogDetailLevel.BODY_AND_HEADERS) @@ -47,7 +46,6 @@ public void beforeTest() { } else { shareAsyncClient = setupClient((connectionString, endpoint) -> new ShareClientBuilder() .connectionString(connectionString) - .endpoint(endpoint) .shareName(shareName) .httpClient(HttpClient.createDefault().wiretap(true)) .httpLogDetailLevel(HttpLogDetailLevel.BODY_AND_HEADERS) diff --git a/storage/client/file/src/test/java/com/azure/storage/file/ShareClientTests.java b/storage/client/file/src/test/java/com/azure/storage/file/ShareClientTests.java index 059d704630654..0ce9c4353d411 100644 --- a/storage/client/file/src/test/java/com/azure/storage/file/ShareClientTests.java +++ b/storage/client/file/src/test/java/com/azure/storage/file/ShareClientTests.java @@ -42,7 +42,6 @@ public void beforeTest() { if (interceptorManager.isPlaybackMode()) { shareClient = setupClient((connectionString, endpoint) -> new ShareClientBuilder() .connectionString(connectionString) - .endpoint(endpoint) .shareName(shareName) .httpClient(interceptorManager.getPlaybackClient()) .httpLogDetailLevel(HttpLogDetailLevel.BODY_AND_HEADERS) @@ -50,7 +49,6 @@ public void beforeTest() { } else { shareClient = setupClient((connectionString, endpoint) -> new ShareClientBuilder() .connectionString(connectionString) - .endpoint(endpoint) .shareName(shareName) .httpClient(HttpClient.createDefault().wiretap(true)) .httpLogDetailLevel(HttpLogDetailLevel.BODY_AND_HEADERS) diff --git a/storage/client/file/src/test/resources/session-records/abortCopy.json b/storage/client/file/src/test/resources/session-records/abortCopy.json index 44f4caf813585..b5ea8ea29e31e 100644 --- a/storage/client/file/src/test/resources/session-records/abortCopy.json +++ b/storage/client/file/src/test/resources/session-records/abortCopy.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "file10519411" ] + "variables" : [ "file59336dc2" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/clearMetadataFromDirClient.json b/storage/client/file/src/test/resources/session-records/clearMetadataFromDirClient.json index d9f06f7e804cf..7d422400647c8 100644 --- a/storage/client/file/src/test/resources/session-records/clearMetadataFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/clearMetadataFromDirClient.json @@ -1,42 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory863334?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory909922?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB67B1F98\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:12 GMT", + "ETag" : "\"0x8D71521CAC84923\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ee1-001a-006b-3775-4192c4000000", + "x-ms-request-id" : "260a2c3b-901a-0077-060a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:11 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:57 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory863334?restype=directory&comp=metadata", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory909922?restype=directory&comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB6831042\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:12 GMT", + "ETag" : "\"0x8D71521CACDEFC8\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781ee2-001a-006b-3875-4192c4000000", + "x-ms-request-id" : "260a2c3c-901a-0077-070a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:11 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:57 GMT" } } ], - "variables" : [ "directory863334" ] + "variables" : [ "directory909922" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createDirectoryAlreadyExistsFromShareClient.json b/storage/client/file/src/test/resources/session-records/createDirectoryAlreadyExistsFromShareClient.json index ed9ad15510e4c..a99f682b4b550 100644 --- a/storage/client/file/src/test/resources/session-records/createDirectoryAlreadyExistsFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createDirectoryAlreadyExistsFromShareClient.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share22756b14?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share592387fe?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C78DAADCB\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:29 GMT", + "ETag" : "\"0x8D715218A138CAF\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d48-001a-006b-4875-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:28 GMT" + "x-ms-request-id" : "7f75e089-301a-00db-150a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share22756b14/testshare?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share592387fe/testshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C78E3B87F\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:29 GMT", + "ETag" : "\"0x8D715218A1A6700\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d4a-001a-006b-4975-4192c4000000", + "x-ms-request-id" : "7f75e08b-301a-00db-160a-4794a0000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:40:28 GMT" + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share22756b14/testshare?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share592387fe/testshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -50,17 +50,17 @@ "retry-after" : "0", "Content-Length" : "228", "StatusCode" : "409", - "x-ms-request-id" : "a4781d4b-001a-006b-4a75-4192c4000000", - "Body" : "ResourceAlreadyExistsThe specified resource already exists.\nRequestId:a4781d4b-001a-006b-4a75-4192c4000000\nTime:2019-07-23T16:40:29.4840714Z", - "Date" : "Tue, 23 Jul 2019 16:40:28 GMT", + "x-ms-request-id" : "7f75e08c-301a-00db-170a-4794a0000000", + "Body" : "ResourceAlreadyExistsThe specified resource already exists.\nRequestId:7f75e08c-301a-00db-170a-4794a0000000\nTime:2019-07-30T19:10:09.1716444Z", + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share22756b14?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share592387fe?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -68,9 +68,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781d4c-001a-006b-4b75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:28 GMT" + "x-ms-request-id" : "7f75e08d-301a-00db-180a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT" } } ], - "variables" : [ "share22756b14" ] + "variables" : [ "share592387fe" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createDirectoryFromShareClient.json b/storage/client/file/src/test/resources/session-records/createDirectoryFromShareClient.json index b1e911a9b4d14..e121e223a546e 100644 --- a/storage/client/file/src/test/resources/session-records/createDirectoryFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createDirectoryFromShareClient.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share2125750f?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share83224048?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C950469F4\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:16 GMT", + "ETag" : "\"0x8D71521A7CAE60B\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:58 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781dc0-001a-006b-7a75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:15 GMT" + "x-ms-request-id" : "260a2b16-901a-0077-470a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:10:58 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share2125750f/testshare?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share83224048/testshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C950E2F68\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:16 GMT", + "ETag" : "\"0x8D71521A7D2774E\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:58 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781dc2-001a-006b-7b75-4192c4000000", + "x-ms-request-id" : "260a2b18-901a-0077-480a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:41:15 GMT" + "Date" : "Tue, 30 Jul 2019 19:10:58 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share2125750f?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share83224048?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781dc3-001a-006b-7c75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:16 GMT" + "x-ms-request-id" : "260a2b19-901a-0077-490a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:10:58 GMT" } } ], - "variables" : [ "share2125750f" ] + "variables" : [ "share83224048" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createDirectoryInvalidNameFromShareClient.json b/storage/client/file/src/test/resources/session-records/createDirectoryInvalidNameFromShareClient.json index c1b5e624d12bb..b6b3eee03ea7b 100644 --- a/storage/client/file/src/test/resources/session-records/createDirectoryInvalidNameFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createDirectoryInvalidNameFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share01242c86?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share46557ae3?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C76E38AFB\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:26 GMT", + "ETag" : "\"0x8D715218861EE83\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d01-001a-006b-1175-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:25 GMT" + "x-ms-request-id" : "7f75e03f-301a-00db-5e0a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:06 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share01242c86/test%2fshare?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share46557ae3/test%2fshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "224", "StatusCode" : "404", - "x-ms-request-id" : "a4781d03-001a-006b-1275-4192c4000000", - "Body" : "ParentNotFoundThe specified parent path does not exist.\nRequestId:a4781d03-001a-006b-1275-4192c4000000\nTime:2019-07-23T16:40:26.1306790Z", - "Date" : "Tue, 23 Jul 2019 16:40:25 GMT", + "x-ms-request-id" : "7f75e041-301a-00db-5f0a-4794a0000000", + "Body" : "ParentNotFoundThe specified parent path does not exist.\nRequestId:7f75e041-301a-00db-5f0a-4794a0000000\nTime:2019-07-30T19:10:06.3499048Z", + "Date" : "Tue, 30 Jul 2019 19:10:06 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share01242c86?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share46557ae3?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781d04-001a-006b-1375-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:25 GMT" + "x-ms-request-id" : "7f75e042-301a-00db-600a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:06 GMT" } } ], - "variables" : [ "share01242c86" ] + "variables" : [ "share46557ae3" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createExcessMaxSizeFromFileClient.json b/storage/client/file/src/test/resources/session-records/createExcessMaxSizeFromFileClient.json index 4bb5ab15e2e22..6e3aa03347422 100644 --- a/storage/client/file/src/test/resources/session-records/createExcessMaxSizeFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/createExcessMaxSizeFromFileClient.json @@ -1,45 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile6519698b", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile9991231b", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C3EF47F55\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:52 GMT", + "ETag" : "\"0x8D7152150BA6C94\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781c3b-001a-006b-4075-4192c4000000", + "x-ms-request-id" : "7f75df90-301a-00db-120a-4794a0000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:38:51 GMT" + "Date" : "Tue, 30 Jul 2019 19:08:32 GMT" } }, { "Method" : "HEAD", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile6519698b", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile9991231b", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:52 GMT", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:32 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 23 Jul 2019 16:38:51 GMT", + "Date" : "Tue, 30 Jul 2019 19:08:32 GMT", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "\"0x8D70F8C3EF47F55\"", + "ETag" : "\"0x8D7152150BA6C94\"", "Content-Length" : "0", - "x-ms-request-id" : "a4781c3c-001a-006b-4175-4192c4000000", + "x-ms-request-id" : "7f75df91-301a-00db-130a-4794a0000000", "Body" : "", "Content-Type" : "application/octet-stream" } } ], - "variables" : [ "file6519698b" ] + "variables" : [ "file9991231b" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createFileFromDirClient.json b/storage/client/file/src/test/resources/session-records/createFileFromDirClient.json index 094a1138d065f..b04154bc98219 100644 --- a/storage/client/file/src/test/resources/session-records/createFileFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/createFileFromDirClient.json @@ -1,42 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory863163?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory792505?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB576C6DE\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:11 GMT", + "ETag" : "\"0x8D71521C9DF1003\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ec3-001a-006b-1975-4192c4000000", + "x-ms-request-id" : "260a2c1a-901a-0077-680a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:10 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:55 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory863163%2ftestfile", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory792505%2ftestfile", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB57F7AFF\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:11 GMT", + "ETag" : "\"0x8D71521C9E70138\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ec4-001a-006b-1a75-4192c4000000", + "x-ms-request-id" : "260a2c1b-901a-0077-690a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:10 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:55 GMT" } } ], - "variables" : [ "directory863163" ] + "variables" : [ "directory792505" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createFileWithoutCreateDirFromDirClient.json b/storage/client/file/src/test/resources/session-records/createFileWithoutCreateDirFromDirClient.json index 0505db3315249..2ec9e509b42a0 100644 --- a/storage/client/file/src/test/resources/session-records/createFileWithoutCreateDirFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/createFileWithoutCreateDirFromDirClient.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory886246%2ftestfile", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory356143%2ftestfile", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -13,11 +13,11 @@ "retry-after" : "0", "Content-Length" : "224", "StatusCode" : "404", - "x-ms-request-id" : "a4781ee0-001a-006b-3675-4192c4000000", - "Body" : "ParentNotFoundThe specified parent path does not exist.\nRequestId:a4781ee0-001a-006b-3675-4192c4000000\nTime:2019-07-23T16:42:12.6968560Z", - "Date" : "Tue, 23 Jul 2019 16:42:11 GMT", + "x-ms-request-id" : "260a2c3a-901a-0077-050a-47b537000000", + "Body" : "ParentNotFoundThe specified parent path does not exist.\nRequestId:260a2c3a-901a-0077-050a-47b537000000\nTime:2019-07-30T19:11:57.6002640Z", + "Date" : "Tue, 30 Jul 2019 19:11:57 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "directory886246" ] + "variables" : [ "directory356143" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createFromFileClient.json b/storage/client/file/src/test/resources/session-records/createFromFileClient.json index 2ae2af729c6b0..a18a5e25bc679 100644 --- a/storage/client/file/src/test/resources/session-records/createFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/createFromFileClient.json @@ -1,45 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile91357575", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile295428e2", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C3F05724F\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:52 GMT", + "ETag" : "\"0x8D7152150C80472\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781c3d-001a-006b-4275-4192c4000000", + "x-ms-request-id" : "7f75df92-301a-00db-140a-4794a0000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:38:51 GMT" + "Date" : "Tue, 30 Jul 2019 19:08:32 GMT" } }, { "Method" : "HEAD", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile91357575", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile295428e2", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:52 GMT", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:32 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 23 Jul 2019 16:38:51 GMT", + "Date" : "Tue, 30 Jul 2019 19:08:32 GMT", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "\"0x8D70F8C3F05724F\"", + "ETag" : "\"0x8D7152150C80472\"", "Content-Length" : "1024", - "x-ms-request-id" : "a4781c3e-001a-006b-4375-4192c4000000", + "x-ms-request-id" : "7f75df93-301a-00db-150a-4794a0000000", "Body" : "", "Content-Type" : "application/octet-stream" } } ], - "variables" : [ "file91357575" ] + "variables" : [ "file295428e2" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createFromShareClient.json b/storage/client/file/src/test/resources/session-records/createFromShareClient.json index c802b0ddf43e0..72644e036310c 100644 --- a/storage/client/file/src/test/resources/session-records/createFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share923617a7?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share00216e0e?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C956279A2\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:17 GMT", + "ETag" : "\"0x8D71521A817B8FD\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:59 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781dcc-001a-006b-0375-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:16 GMT" + "x-ms-request-id" : "260a2b22-901a-0077-500a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:10:59 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share923617a7?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share00216e0e?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -30,9 +30,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781dce-001a-006b-0475-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:16 GMT" + "x-ms-request-id" : "260a2b24-901a-0077-510a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:10:59 GMT" } } ], - "variables" : [ "share923617a7" ] + "variables" : [ "share00216e0e" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createInvalidQuotaFromShareClient.json b/storage/client/file/src/test/resources/session-records/createInvalidQuotaFromShareClient.json index e6ca2bc82bca8..6c5fc9f4e725d 100644 --- a/storage/client/file/src/test/resources/session-records/createInvalidQuotaFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createInvalidQuotaFromShareClient.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share58139809?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share43293a8e?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "324", "StatusCode" : "400", - "x-ms-request-id" : "a4781dac-001a-006b-6b75-4192c4000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:a4781dac-001a-006b-6b75-4192c4000000\nTime:2019-07-23T16:41:15.7831129Zx-ms-share-quota-1", - "Date" : "Tue, 23 Jul 2019 16:41:15 GMT", + "x-ms-request-id" : "7f75e0db-301a-00db-370a-4794a0000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:7f75e0db-301a-00db-370a-4794a0000000\nTime:2019-07-30T19:10:55.3593903Zx-ms-share-quota-1", + "Date" : "Tue, 30 Jul 2019 19:10:55 GMT", "Content-Type" : "application/xml" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share58139809?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share43293a8e?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -32,17 +32,17 @@ "retry-after" : "0", "Content-Length" : "323", "StatusCode" : "400", - "x-ms-request-id" : "a4781dae-001a-006b-6c75-4192c4000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:a4781dae-001a-006b-6c75-4192c4000000\nTime:2019-07-23T16:41:15.8301458Zx-ms-share-quota0", - "Date" : "Tue, 23 Jul 2019 16:41:15 GMT", + "x-ms-request-id" : "7f75e0dc-301a-00db-380a-4794a0000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:7f75e0dc-301a-00db-380a-4794a0000000\nTime:2019-07-30T19:10:55.3894192Zx-ms-share-quota0", + "Date" : "Tue, 30 Jul 2019 19:10:55 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share58139809?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share43293a8e?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -51,11 +51,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781daf-001a-006b-6d75-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781daf-001a-006b-6d75-4192c4000000\nTime:2019-07-23T16:41:15.8781809Z", - "Date" : "Tue, 23 Jul 2019 16:41:15 GMT", + "x-ms-request-id" : "7f75e0dd-301a-00db-390a-4794a0000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:7f75e0dd-301a-00db-390a-4794a0000000\nTime:2019-07-30T19:10:55.4264552Z", + "Date" : "Tue, 30 Jul 2019 19:10:55 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share58139809" ] + "variables" : [ "share43293a8e" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createMinFromDirClient.json b/storage/client/file/src/test/resources/session-records/createMinFromDirClient.json index 4a20dcab8864b..23ca0bd5d7743 100644 --- a/storage/client/file/src/test/resources/session-records/createMinFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/createMinFromDirClient.json @@ -1,23 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory59046b?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory691924?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB55B98CF\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:10 GMT", + "ETag" : "\"0x8D71521C9C603AF\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:55 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ec0-001a-006b-1675-4192c4000000", + "x-ms-request-id" : "260a2c16-901a-0077-650a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:10 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:55 GMT" } } ], - "variables" : [ "directory59046b" ] + "variables" : [ "directory691924" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createShare.json b/storage/client/file/src/test/resources/session-records/createShare.json index 47eb2267cbd53..320eb32cca078 100644 --- a/storage/client/file/src/test/resources/session-records/createShare.json +++ b/storage/client/file/src/test/resources/session-records/createShare.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share975192ac?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share91577f17?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CED4EC679\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:44 GMT", + "ETag" : "\"0x8D7152202777831\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781f80-001a-006b-7075-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:43 GMT" + "x-ms-request-id" : "9ebed1d9-b01a-000d-690a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:30 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share975192ac&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share91577f17&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -30,17 +30,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781f82-001a-006b-7175-4192c4000000", - "Body" : "share975192acshare975192acTue, 23 Jul 2019 16:43:44 GMT\"0x8D70F8CED4EC679\"5120", - "Date" : "Tue, 23 Jul 2019 16:43:43 GMT", + "x-ms-request-id" : "9ebed1db-b01a-000d-6a0a-47df7a000000", + "Body" : "share91577f17share91577f17Tue, 30 Jul 2019 19:13:31 GMT\"0x8D7152202777831\"5120", + "Date" : "Tue, 30 Jul 2019 19:13:30 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share975192ac?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share91577f17?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -48,9 +48,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781f83-001a-006b-7275-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:43 GMT" + "x-ms-request-id" : "9ebed1dc-b01a-000d-6b0a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:30 GMT" } } ], - "variables" : [ "share975192ac" ] + "variables" : [ "share91577f17" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createShareInvalidQuota.json b/storage/client/file/src/test/resources/session-records/createShareInvalidQuota.json index 40109d33b40f6..dcbdfdc664013 100644 --- a/storage/client/file/src/test/resources/session-records/createShareInvalidQuota.json +++ b/storage/client/file/src/test/resources/session-records/createShareInvalidQuota.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share783156eb?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share46048d7b?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "324", "StatusCode" : "400", - "x-ms-request-id" : "a4781f7b-001a-006b-6b75-4192c4000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:a4781f7b-001a-006b-6b75-4192c4000000\nTime:2019-07-23T16:43:44.4843579Zx-ms-share-quota-1", - "Date" : "Tue, 23 Jul 2019 16:43:43 GMT", + "x-ms-request-id" : "9ebed1d4-b01a-000d-640a-47df7a000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9ebed1d4-b01a-000d-640a-47df7a000000\nTime:2019-07-30T19:13:30.7817153Zx-ms-share-quota-1", + "Date" : "Tue, 30 Jul 2019 19:13:30 GMT", "Content-Type" : "application/xml" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share783156eb?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share46048d7b?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -32,17 +32,17 @@ "retry-after" : "0", "Content-Length" : "329", "StatusCode" : "400", - "x-ms-request-id" : "a4781f7c-001a-006b-6c75-4192c4000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:a4781f7c-001a-006b-6c75-4192c4000000\nTime:2019-07-23T16:43:44.5303917Zx-ms-share-quota9999999", - "Date" : "Tue, 23 Jul 2019 16:43:43 GMT", + "x-ms-request-id" : "9ebed1d5-b01a-000d-650a-47df7a000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9ebed1d5-b01a-000d-650a-47df7a000000\nTime:2019-07-30T19:13:30.8077419Zx-ms-share-quota9999999", + "Date" : "Tue, 30 Jul 2019 19:13:30 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share783156eb&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share46048d7b&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -50,11 +50,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781f7d-001a-006b-6d75-4192c4000000", - "Body" : "share783156eb", - "Date" : "Tue, 23 Jul 2019 16:43:43 GMT", + "x-ms-request-id" : "9ebed1d6-b01a-000d-660a-47df7a000000", + "Body" : "share46048d7b", + "Date" : "Tue, 30 Jul 2019 19:13:30 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share783156eb" ] + "variables" : [ "share46048d7b" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createShareTwiceDifferentMetadata.json b/storage/client/file/src/test/resources/session-records/createShareTwiceDifferentMetadata.json index d00c5e4cd4fbe..1a39d6ada9210 100644 --- a/storage/client/file/src/test/resources/session-records/createShareTwiceDifferentMetadata.json +++ b/storage/client/file/src/test/resources/session-records/createShareTwiceDifferentMetadata.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share09717677?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share2239261e?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CECAA2B0C\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:43 GMT", + "ETag" : "\"0x8D7152200C98FA6\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781f67-001a-006b-5c75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:42 GMT" + "x-ms-request-id" : "260a2cb6-901a-0077-280a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:13:27 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share09717677?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share2239261e?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "222", "StatusCode" : "409", - "x-ms-request-id" : "a4781f69-001a-006b-5d75-4192c4000000", - "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:a4781f69-001a-006b-5d75-4192c4000000\nTime:2019-07-23T16:43:43.7168101Z", - "Date" : "Tue, 23 Jul 2019 16:43:42 GMT", + "x-ms-request-id" : "260a2cb8-901a-0077-290a-47b537000000", + "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:260a2cb8-901a-0077-290a-47b537000000\nTime:2019-07-30T19:13:28.2855742Z", + "Date" : "Tue, 30 Jul 2019 19:13:27 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share09717677&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share2239261e&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -49,27 +49,28 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781f6a-001a-006b-5e75-4192c4000000", - "Body" : "share09717677share09717677Tue, 23 Jul 2019 16:43:43 GMT\"0x8D70F8CECAA2B0C\"5120", - "Date" : "Tue, 23 Jul 2019 16:43:42 GMT", + "x-ms-request-id" : "260a2cb9-901a-0077-2a0a-47b537000000", + "Body" : "share2239261eshare2239261eTue, 30 Jul 2019 19:13:28 GMT\"0x8D7152200C98FA6\"5120", + "Date" : "Tue, 30 Jul 2019 19:13:27 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share09717677?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share2239261e?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "Connection" : "close", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781f6b-001a-006b-5f75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:42 GMT" + "x-ms-request-id" : "260a2cba-901a-0077-2b0a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:13:27 GMT" } } ], - "variables" : [ "share09717677" ] + "variables" : [ "share2239261e" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createShareTwiceSameMetadata.json b/storage/client/file/src/test/resources/session-records/createShareTwiceSameMetadata.json index d3959d887cd48..9c6ccdc075eb2 100644 --- a/storage/client/file/src/test/resources/session-records/createShareTwiceSameMetadata.json +++ b/storage/client/file/src/test/resources/session-records/createShareTwiceSameMetadata.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share56293760?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share80585a06?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CD18A473F\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:58 GMT", + "ETag" : "\"0x8D71521E5C4F58C\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:12:42 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781f17-001a-006b-4775-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:42:57 GMT" + "x-ms-request-id" : "260a2c6c-901a-0077-150a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:12:42 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share56293760?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share80585a06?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "222", "StatusCode" : "409", - "x-ms-request-id" : "a4781f1a-001a-006b-4875-4192c4000000", - "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:a4781f1a-001a-006b-4875-4192c4000000\nTime:2019-07-23T16:42:58.2083345Z", - "Date" : "Tue, 23 Jul 2019 16:42:57 GMT", + "x-ms-request-id" : "260a2c6f-901a-0077-160a-47b537000000", + "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:260a2c6f-901a-0077-160a-47b537000000\nTime:2019-07-30T19:12:42.9539281Z", + "Date" : "Tue, 30 Jul 2019 19:12:42 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share56293760&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share80585a06&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -49,17 +49,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781f1b-001a-006b-4975-4192c4000000", - "Body" : "share56293760share56293760Tue, 23 Jul 2019 16:42:58 GMT\"0x8D70F8CD18A473F\"5120", - "Date" : "Tue, 23 Jul 2019 16:42:57 GMT", + "x-ms-request-id" : "260a2c70-901a-0077-170a-47b537000000", + "Body" : "share80585a06share80585a06Tue, 30 Jul 2019 19:12:42 GMT\"0x8D71521E5C4F58C\"5120", + "Date" : "Tue, 30 Jul 2019 19:12:42 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share56293760?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share80585a06?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -67,9 +67,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781f1c-001a-006b-4a75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:42:57 GMT" + "x-ms-request-id" : "260a2c71-901a-0077-180a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:12:42 GMT" } } ], - "variables" : [ "share56293760" ] + "variables" : [ "share80585a06" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createSubDirectory.json b/storage/client/file/src/test/resources/session-records/createSubDirectory.json index 59d64ac3fbdc8..a9f6935503ee6 100644 --- a/storage/client/file/src/test/resources/session-records/createSubDirectory.json +++ b/storage/client/file/src/test/resources/session-records/createSubDirectory.json @@ -1,42 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory343921?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory68944e?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB5222EF0\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:10 GMT", + "ETag" : "\"0x8D71521C9963569\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:55 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781eb8-001a-006b-1075-4192c4000000", + "x-ms-request-id" : "260a2c10-901a-0077-5f0a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:09 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:55 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory343921%2fdir0928634ae?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory68944e%2fdir429318274?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB529F881\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:10 GMT", + "ETag" : "\"0x8D71521C99B8DEE\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:55 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781eb9-001a-006b-1175-4192c4000000", + "x-ms-request-id" : "260a2c11-901a-0077-600a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:09 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:55 GMT" } } ], - "variables" : [ "directory343921", "dir0928634ae" ] + "variables" : [ "directory68944e", "dir429318274" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createSubDirectoryTwiceSameMetadata.json b/storage/client/file/src/test/resources/session-records/createSubDirectoryTwiceSameMetadata.json index a64488dace84c..402ab876c4f65 100644 --- a/storage/client/file/src/test/resources/session-records/createSubDirectoryTwiceSameMetadata.json +++ b/storage/client/file/src/test/resources/session-records/createSubDirectoryTwiceSameMetadata.json @@ -1,48 +1,48 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory539316?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory07490f?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB658EB53\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:12 GMT", + "ETag" : "\"0x8D71521CAA3A12D\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781edd-001a-006b-3375-4192c4000000", + "x-ms-request-id" : "260a2c37-901a-0077-020a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:11 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:57 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory539316%2fdir505430058?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory07490f%2fdir8393011e2?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB6608DDA\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:12 GMT", + "ETag" : "\"0x8D71521CAAB442C\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ede-001a-006b-3475-4192c4000000", + "x-ms-request-id" : "260a2c38-901a-0077-030a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:11 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:57 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory539316%2fdir505430058?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory07490f%2fdir8393011e2?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -51,11 +51,11 @@ "retry-after" : "0", "Content-Length" : "228", "StatusCode" : "409", - "x-ms-request-id" : "a4781edf-001a-006b-3575-4192c4000000", - "Body" : "ResourceAlreadyExistsThe specified resource already exists.\nRequestId:a4781edf-001a-006b-3575-4192c4000000\nTime:2019-07-23T16:42:12.6388146Z", - "Date" : "Tue, 23 Jul 2019 16:42:11 GMT", + "x-ms-request-id" : "260a2c39-901a-0077-040a-47b537000000", + "Body" : "ResourceAlreadyExistsThe specified resource already exists.\nRequestId:260a2c39-901a-0077-040a-47b537000000\nTime:2019-07-30T19:11:57.4971668Z", + "Date" : "Tue, 30 Jul 2019 19:11:57 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "directory539316", "dir505430058" ] + "variables" : [ "directory07490f", "dir8393011e2" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createSubDirectoryWithMetadata.json b/storage/client/file/src/test/resources/session-records/createSubDirectoryWithMetadata.json index f9f82666b5f61..1474ed7f798a2 100644 --- a/storage/client/file/src/test/resources/session-records/createSubDirectoryWithMetadata.json +++ b/storage/client/file/src/test/resources/session-records/createSubDirectoryWithMetadata.json @@ -1,42 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory669858?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory090720?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB6469886\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:12 GMT", + "ETag" : "\"0x8D71521CA96A5BA\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781edb-001a-006b-3175-4192c4000000", + "x-ms-request-id" : "260a2c35-901a-0077-800a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:11 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:57 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory669858%2fdir2413813c3?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory090720%2fdir9733962ce?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB64F73C5\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:12 GMT", + "ETag" : "\"0x8D71521CA9C7382\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781edc-001a-006b-3275-4192c4000000", + "x-ms-request-id" : "260a2c36-901a-0077-010a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:11 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:57 GMT" } } ], - "variables" : [ "directory669858", "dir2413813c3" ] + "variables" : [ "directory090720", "dir9733962ce" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createTwiceDifferentMetadataFromShareClient.json b/storage/client/file/src/test/resources/session-records/createTwiceDifferentMetadataFromShareClient.json index 8aca8fa7be88d..e3995b2568b1a 100644 --- a/storage/client/file/src/test/resources/session-records/createTwiceDifferentMetadataFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createTwiceDifferentMetadataFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share09921d47?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share92856abd?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C9625C67A\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:18 GMT", + "ETag" : "\"0x8D71521AA260921\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781de7-001a-006b-1775-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:17 GMT" + "x-ms-request-id" : "260a2b41-901a-0077-660a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:11:02 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share09921d47?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share92856abd?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "222", "StatusCode" : "409", - "x-ms-request-id" : "a4781de9-001a-006b-1875-4192c4000000", - "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:a4781de9-001a-006b-1875-4192c4000000\nTime:2019-07-23T16:41:18.5641031Z", - "Date" : "Tue, 23 Jul 2019 16:41:17 GMT", + "x-ms-request-id" : "260a2b43-901a-0077-670a-47b537000000", + "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:260a2b43-901a-0077-670a-47b537000000\nTime:2019-07-30T19:11:02.9268321Z", + "Date" : "Tue, 30 Jul 2019 19:11:02 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share09921d47?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share92856abd?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781dea-001a-006b-1975-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:17 GMT" + "x-ms-request-id" : "260a2b44-901a-0077-680a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:11:02 GMT" } } ], - "variables" : [ "share09921d47" ] + "variables" : [ "share92856abd" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createTwiceFromDirClient.json b/storage/client/file/src/test/resources/session-records/createTwiceFromDirClient.json index e69c7f627159e..2d886a08bd02c 100644 --- a/storage/client/file/src/test/resources/session-records/createTwiceFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/createTwiceFromDirClient.json @@ -1,29 +1,29 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory874061?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory907393?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB5C6F129\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:11 GMT", + "ETag" : "\"0x8D71521CA27754C\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ecc-001a-006b-2275-4192c4000000", + "x-ms-request-id" : "260a2c25-901a-0077-710a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:10 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:56 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory874061?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory907393?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "228", "StatusCode" : "409", - "x-ms-request-id" : "a4781ecd-001a-006b-2375-4192c4000000", - "Body" : "ResourceAlreadyExistsThe specified resource already exists.\nRequestId:a4781ecd-001a-006b-2375-4192c4000000\nTime:2019-07-23T16:42:11.6300936Z", - "Date" : "Tue, 23 Jul 2019 16:42:10 GMT", + "x-ms-request-id" : "260a2c26-901a-0077-720a-47b537000000", + "Body" : "ResourceAlreadyExistsThe specified resource already exists.\nRequestId:260a2c26-901a-0077-720a-47b537000000\nTime:2019-07-30T19:11:56.6343556Z", + "Date" : "Tue, 30 Jul 2019 19:11:56 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "directory874061" ] + "variables" : [ "directory907393" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createTwiceSameMetadataFromShareClient.json b/storage/client/file/src/test/resources/session-records/createTwiceSameMetadataFromShareClient.json index eeb6b80df7382..0d6d8afe7014c 100644 --- a/storage/client/file/src/test/resources/session-records/createTwiceSameMetadataFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createTwiceSameMetadataFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share097329d5?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share00092d21?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C7955C0AA\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:30 GMT", + "ETag" : "\"0x8D715218A77705C\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d59-001a-006b-5575-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:29 GMT" + "x-ms-request-id" : "7f75e09b-301a-00db-220a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share097329d5?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share00092d21?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "222", "StatusCode" : "409", - "x-ms-request-id" : "a4781d5b-001a-006b-5675-4192c4000000", - "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:a4781d5b-001a-006b-5675-4192c4000000\nTime:2019-07-23T16:40:30.2245998Z", - "Date" : "Tue, 23 Jul 2019 16:40:29 GMT", + "x-ms-request-id" : "7f75e09d-301a-00db-230a-4794a0000000", + "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:7f75e09d-301a-00db-230a-4794a0000000\nTime:2019-07-30T19:10:09.7802336Z", + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share097329d5?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share00092d21?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781d5c-001a-006b-5775-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:29 GMT" + "x-ms-request-id" : "7f75e09e-301a-00db-240a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT" } } ], - "variables" : [ "share097329d5" ] + "variables" : [ "share00092d21" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createWithMetadataFromDirClient.json b/storage/client/file/src/test/resources/session-records/createWithMetadataFromDirClient.json index 7105baad63f9e..5b44d12dd44ba 100644 --- a/storage/client/file/src/test/resources/session-records/createWithMetadataFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/createWithMetadataFromDirClient.json @@ -1,23 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory435036?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory68447d?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB50A5CCE\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:10 GMT", + "ETag" : "\"0x8D71521C94409DA\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:55 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781eb6-001a-006b-0e75-4192c4000000", + "x-ms-request-id" : "260a2c0e-901a-0077-5d0a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:09 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:54 GMT" } } ], - "variables" : [ "directory435036" ] + "variables" : [ "directory68447d" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteDirectoryDoesNotExistFromShareClient.json b/storage/client/file/src/test/resources/session-records/deleteDirectoryDoesNotExistFromShareClient.json index f75e1d0d2d188..45fc238ad453f 100644 --- a/storage/client/file/src/test/resources/session-records/deleteDirectoryDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteDirectoryDoesNotExistFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share439185d7?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share15381a85?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C78A0A76D\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:28 GMT", + "ETag" : "\"0x8D7152189C903AB\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d3f-001a-006b-4175-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:28 GMT" + "x-ms-request-id" : "7f75e07f-301a-00db-0e0a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:08 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share439185d7/testshare?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share15381a85/testshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "a4781d41-001a-006b-4275-4192c4000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:a4781d41-001a-006b-4275-4192c4000000\nTime:2019-07-23T16:40:29.0387539Z", - "Date" : "Tue, 23 Jul 2019 16:40:28 GMT", + "x-ms-request-id" : "7f75e081-301a-00db-0f0a-4794a0000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:7f75e081-301a-00db-0f0a-4794a0000000\nTime:2019-07-30T19:10:08.6351223Z", + "Date" : "Tue, 30 Jul 2019 19:10:08 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share439185d7?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share15381a85?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781d42-001a-006b-4375-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:28 GMT" + "x-ms-request-id" : "7f75e082-301a-00db-100a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:08 GMT" } } ], - "variables" : [ "share439185d7" ] + "variables" : [ "share15381a85" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteDirectoryFromShareClient.json b/storage/client/file/src/test/resources/session-records/deleteDirectoryFromShareClient.json index dfc32b3d44f4b..51bdcbddf6391 100644 --- a/storage/client/file/src/test/resources/session-records/deleteDirectoryFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteDirectoryFromShareClient.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share89717092?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share98706a53?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C77583406\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:26 GMT", + "ETag" : "\"0x8D7152188CCFFEA\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d12-001a-006b-1e75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:26 GMT" + "x-ms-request-id" : "7f75e053-301a-00db-6d0a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:06 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share89717092/testshare?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share98706a53/testshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C77605492\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:26 GMT", + "ETag" : "\"0x8D7152188D5FFA0\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d14-001a-006b-1f75-4192c4000000", + "x-ms-request-id" : "7f75e055-301a-00db-6e0a-4794a0000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:40:26 GMT" + "Date" : "Tue, 30 Jul 2019 19:10:06 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share89717092/testshare?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share98706a53/testshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -49,15 +49,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781d15-001a-006b-2075-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:26 GMT" + "x-ms-request-id" : "7f75e056-301a-00db-6f0a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share89717092?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share98706a53?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -65,9 +65,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781d16-001a-006b-2175-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:26 GMT" + "x-ms-request-id" : "7f75e057-301a-00db-700a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT" } } ], - "variables" : [ "share89717092" ] + "variables" : [ "share98706a53" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteDoesNotExistFromShareClient.json b/storage/client/file/src/test/resources/session-records/deleteDoesNotExistFromShareClient.json index a46553c998e03..c9b6d9bf2b28a 100644 --- a/storage/client/file/src/test/resources/session-records/deleteDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteDoesNotExistFromShareClient.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share3115815a?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share938403ce?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781d24-001a-006b-2c75-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781d24-001a-006b-2c75-4192c4000000\nTime:2019-07-23T16:40:27.6797839Z", - "Date" : "Tue, 23 Jul 2019 16:40:27 GMT", + "x-ms-request-id" : "7f75e065-301a-00db-7b0a-4794a0000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:7f75e065-301a-00db-7b0a-4794a0000000\nTime:2019-07-30T19:10:07.6691852Z", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share3115815a?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share938403ce?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781d25-001a-006b-2d75-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781d25-001a-006b-2d75-4192c4000000\nTime:2019-07-23T16:40:27.7278190Z", - "Date" : "Tue, 23 Jul 2019 16:40:27 GMT", + "x-ms-request-id" : "7f75e066-301a-00db-7c0a-4794a0000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:7f75e066-301a-00db-7c0a-4794a0000000\nTime:2019-07-30T19:10:07.7042189Z", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share3115815a" ] + "variables" : [ "share938403ce" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteFileFromDirClient.json b/storage/client/file/src/test/resources/session-records/deleteFileFromDirClient.json index 3adb5ab423fe4..d8d41fbecc15f 100644 --- a/storage/client/file/src/test/resources/session-records/deleteFileFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteFileFromDirClient.json @@ -1,48 +1,48 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory626180?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory084674?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB68C1295\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:12 GMT", + "ETag" : "\"0x8D71521CAD3E4B3\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ee3-001a-006b-3975-4192c4000000", + "x-ms-request-id" : "260a2c3d-901a-0077-080a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:12 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:57 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory626180%2ftestfile", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory084674%2ftestfile", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB697D48C\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:12 GMT", + "ETag" : "\"0x8D71521CADBD5E4\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ee5-001a-006b-3a75-4192c4000000", + "x-ms-request-id" : "260a2c3e-901a-0077-090a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:12 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:57 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory626180%2ftestfile", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory084674%2ftestfile", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -50,9 +50,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781ee6-001a-006b-3b75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:42:12 GMT" + "x-ms-request-id" : "260a2c3f-901a-0077-0a0a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:11:57 GMT" } } ], - "variables" : [ "directory626180" ] + "variables" : [ "directory084674" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteFileWithoutCreateFileFromDirClient.json b/storage/client/file/src/test/resources/session-records/deleteFileWithoutCreateFileFromDirClient.json index 3c115479ceb8d..b1b2b86828091 100644 --- a/storage/client/file/src/test/resources/session-records/deleteFileWithoutCreateFileFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteFileWithoutCreateFileFromDirClient.json @@ -1,29 +1,29 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory07934d?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory807235?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB5B64C58\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:11 GMT", + "ETag" : "\"0x8D71521CA0DA578\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781eca-001a-006b-2075-4192c4000000", + "x-ms-request-id" : "260a2c22-901a-0077-6f0a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:10 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:56 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory07934d%2ftestfile", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory807235%2ftestfile", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "a4781ecb-001a-006b-2175-4192c4000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:a4781ecb-001a-006b-2175-4192c4000000\nTime:2019-07-23T16:42:11.5220165Z", - "Date" : "Tue, 23 Jul 2019 16:42:10 GMT", + "x-ms-request-id" : "260a2c24-901a-0077-700a-47b537000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:260a2c24-901a-0077-700a-47b537000000\nTime:2019-07-30T19:11:56.5472730Z", + "Date" : "Tue, 30 Jul 2019 19:11:56 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "directory07934d" ] + "variables" : [ "directory807235" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteFromDirClient.json b/storage/client/file/src/test/resources/session-records/deleteFromDirClient.json index a8a76a8698efa..6c38f8842eaab 100644 --- a/storage/client/file/src/test/resources/session-records/deleteFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteFromDirClient.json @@ -1,29 +1,29 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory046037?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory731760?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB5A1FD55\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:11 GMT", + "ETag" : "\"0x8D71521CA019494\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ec8-001a-006b-1e75-4192c4000000", + "x-ms-request-id" : "260a2c20-901a-0077-6d0a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:10 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:56 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory046037?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory731760?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -31,9 +31,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781ec9-001a-006b-1f75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:42:10 GMT" + "x-ms-request-id" : "260a2c21-901a-0077-6e0a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:11:56 GMT" } } ], - "variables" : [ "directory046037" ] + "variables" : [ "directory731760" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteFromFileClient.json b/storage/client/file/src/test/resources/session-records/deleteFromFileClient.json index cffa83f7633a6..bcf1220e6c9b0 100644 --- a/storage/client/file/src/test/resources/session-records/deleteFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteFromFileClient.json @@ -1,29 +1,29 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile29223793", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile016195dc", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C3DE92082\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:50 GMT", + "ETag" : "\"0x8D715214FFE691A\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781c23-001a-006b-2975-4192c4000000", + "x-ms-request-id" : "7f75df79-301a-00db-7b0a-4794a0000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:38:49 GMT" + "Date" : "Tue, 30 Jul 2019 19:08:30 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile29223793", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile016195dc", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -31,9 +31,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781c24-001a-006b-2a75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:38:50 GMT" + "x-ms-request-id" : "7f75df7a-301a-00db-7c0a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:08:30 GMT" } } ], - "variables" : [ "file29223793" ] + "variables" : [ "file016195dc" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteFromShareClient.json b/storage/client/file/src/test/resources/session-records/deleteFromShareClient.json index 53a92388620c4..9ab7a0d97981f 100644 --- a/storage/client/file/src/test/resources/session-records/deleteFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share5654566a?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share75870091?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C954995E4\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:17 GMT", + "ETag" : "\"0x8D71521A80208E9\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:59 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781dc8-001a-006b-8075-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:16 GMT" + "x-ms-request-id" : "260a2b1e-901a-0077-4d0a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:10:59 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share5654566a?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share75870091?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -30,15 +30,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781dca-001a-006b-0175-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:16 GMT" + "x-ms-request-id" : "260a2b20-901a-0077-4e0a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:10:59 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share5654566a?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share75870091?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -47,11 +47,11 @@ "retry-after" : "0", "Content-Length" : "244", "StatusCode" : "409", - "x-ms-request-id" : "a4781dcb-001a-006b-0275-4192c4000000", - "Body" : "ShareBeingDeletedThe specified share is being deleted. Try operation later.\nRequestId:a4781dcb-001a-006b-0275-4192c4000000\nTime:2019-07-23T16:41:17.1721039Z", - "Date" : "Tue, 23 Jul 2019 16:41:16 GMT", + "x-ms-request-id" : "260a2b21-901a-0077-4f0a-47b537000000", + "Body" : "ShareBeingDeletedThe specified share is being deleted. Try operation later.\nRequestId:260a2b21-901a-0077-4f0a-47b537000000\nTime:2019-07-30T19:10:59.3814970Z", + "Date" : "Tue, 30 Jul 2019 19:10:59 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share5654566a" ] + "variables" : [ "share75870091" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteNotExistFromDirClient.json b/storage/client/file/src/test/resources/session-records/deleteNotExistFromDirClient.json index 25e82ae32c1ad..3d35290624d3b 100644 --- a/storage/client/file/src/test/resources/session-records/deleteNotExistFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteNotExistFromDirClient.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory41395a?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory856262?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -13,11 +13,11 @@ "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "a4781eb7-001a-006b-0f75-4192c4000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:a4781eb7-001a-006b-0f75-4192c4000000\nTime:2019-07-23T16:42:10.4402453Z", - "Date" : "Tue, 23 Jul 2019 16:42:09 GMT", + "x-ms-request-id" : "260a2c0f-901a-0077-5e0a-47b537000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:260a2c0f-901a-0077-5e0a-47b537000000\nTime:2019-07-30T19:11:55.5983809Z", + "Date" : "Tue, 30 Jul 2019 19:11:55 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "directory41395a" ] + "variables" : [ "directory856262" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteShare.json b/storage/client/file/src/test/resources/session-records/deleteShare.json index 89ea9be57e9e9..a26969eeac6e6 100644 --- a/storage/client/file/src/test/resources/session-records/deleteShare.json +++ b/storage/client/file/src/test/resources/session-records/deleteShare.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share18053aa4?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share0412801a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CED0E7D6D\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:44 GMT", + "ETag" : "\"0x8D71522023B9912\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781f77-001a-006b-6875-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:43 GMT" + "x-ms-request-id" : "9ebed1d0-b01a-000d-610a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:30 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share18053aa4?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share0412801a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -30,15 +30,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781f79-001a-006b-6975-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:43 GMT" + "x-ms-request-id" : "9ebed1d2-b01a-000d-620a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:30 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share18053aa4&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share0412801a&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -46,11 +46,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781f7a-001a-006b-6a75-4192c4000000", - "Body" : "share18053aa4", - "Date" : "Tue, 23 Jul 2019 16:43:43 GMT", + "x-ms-request-id" : "9ebed1d3-b01a-000d-630a-47df7a000000", + "Body" : "share0412801a", + "Date" : "Tue, 30 Jul 2019 19:13:30 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share18053aa4" ] + "variables" : [ "share0412801a" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteShareDoesNotExist.json b/storage/client/file/src/test/resources/session-records/deleteShareDoesNotExist.json index b4eb91ed496b4..fa326a49e821a 100644 --- a/storage/client/file/src/test/resources/session-records/deleteShareDoesNotExist.json +++ b/storage/client/file/src/test/resources/session-records/deleteShareDoesNotExist.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share60248f77?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share19157f4f?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781f91-001a-006b-7d75-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781f91-001a-006b-7d75-4192c4000000\nTime:2019-07-23T16:43:45.5241000Z", - "Date" : "Tue, 23 Jul 2019 16:43:44 GMT", + "x-ms-request-id" : "9ebed1ea-b01a-000d-760a-47df7a000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9ebed1ea-b01a-000d-760a-47df7a000000\nTime:2019-07-30T19:13:32.1069780Z", + "Date" : "Tue, 30 Jul 2019 19:13:31 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share60248f77&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share19157f4f&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -31,11 +31,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781f92-001a-006b-7e75-4192c4000000", - "Body" : "share60248f77", - "Date" : "Tue, 23 Jul 2019 16:43:44 GMT", + "x-ms-request-id" : "9ebed1eb-b01a-000d-770a-47df7a000000", + "Body" : "share19157f4f", + "Date" : "Tue, 30 Jul 2019 19:13:31 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share60248f77" ] + "variables" : [ "share19157f4f" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteSnapshotFromShareClient.json b/storage/client/file/src/test/resources/session-records/deleteSnapshotFromShareClient.json index af124b98d68ab..b39728fa3863b 100644 --- a/storage/client/file/src/test/resources/session-records/deleteSnapshotFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteSnapshotFromShareClient.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share14317636?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share105415aa?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C78330487\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:28 GMT", + "ETag" : "\"0x8D71521897A0CB6\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d31-001a-006b-3675-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:27 GMT" + "x-ms-request-id" : "7f75e06f-301a-00db-030a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:08 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share14317636?restype=share&comp=snapshot", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share105415aa?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-23T16:40:28.0000000Z", + "x-ms-snapshot" : "2019-07-30T19:10:08.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C78330487\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:28 GMT", + "ETag" : "\"0x8D71521897A0CB6\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d33-001a-006b-3775-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:27 GMT" + "x-ms-request-id" : "7f75e071-301a-00db-040a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:08 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share14317636?sharesnapshot=2019-07-23T16%3a40%3a28.0000000Z&restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share105415aa?sharesnapshot=2019-07-30T19%3a10%3a08.0000000Z&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -49,34 +49,34 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "3975b159-b01a-003d-1975-417ab4000000", - "Date" : "Tue, 23 Jul 2019 16:40:27 GMT" + "x-ms-request-id" : "d2e4b9d9-f01a-00c6-7a0a-474d4a000000", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share14317636?restype=share&comp=snapshot", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share105415aa?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-23T16:40:28.0000000Z", + "x-ms-snapshot" : "2019-07-30T19:10:08.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C78330487\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:28 GMT", + "ETag" : "\"0x8D71521897A0CB6\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d34-001a-006b-3875-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:27 GMT" + "x-ms-request-id" : "7f75e072-301a-00db-050a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:08 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share14317636?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share105415aa?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -85,11 +85,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "a4781d35-001a-006b-3975-4192c4000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:a4781d35-001a-006b-3975-4192c4000000\nTime:2019-07-23T16:40:28.5564098Z", - "Date" : "Tue, 23 Jul 2019 16:40:27 GMT", + "x-ms-request-id" : "7f75e073-301a-00db-060a-4794a0000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:7f75e073-301a-00db-060a-4794a0000000\nTime:2019-07-30T19:10:08.2517510Z", + "Date" : "Tue, 30 Jul 2019 19:10:08 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share14317636" ] + "variables" : [ "share105415aa" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteSubDirectory.json b/storage/client/file/src/test/resources/session-records/deleteSubDirectory.json index c1ee2fab26aeb..82bac73b95296 100644 --- a/storage/client/file/src/test/resources/session-records/deleteSubDirectory.json +++ b/storage/client/file/src/test/resources/session-records/deleteSubDirectory.json @@ -1,48 +1,48 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory283117?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory007945?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB588CB7C\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:11 GMT", + "ETag" : "\"0x8D71521C9EECB51\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ec5-001a-006b-1b75-4192c4000000", + "x-ms-request-id" : "260a2c1c-901a-0077-6a0a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:10 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:55 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory283117%2fdir94734a771?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory007945%2fdir6451491d7?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB5910A5F\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:11 GMT", + "ETag" : "\"0x8D71521C9F50E61\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ec6-001a-006b-1c75-4192c4000000", + "x-ms-request-id" : "260a2c1d-901a-0077-6b0a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:10 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:55 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory283117%2fdir94734a771?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory007945%2fdir6451491d7?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -50,9 +50,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781ec7-001a-006b-1d75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:42:10 GMT" + "x-ms-request-id" : "260a2c1f-901a-0077-6c0a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:11:56 GMT" } } ], - "variables" : [ "directory283117", "dir94734a771" ] + "variables" : [ "directory007945", "dir6451491d7" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteThenCreateFromShareClient.json b/storage/client/file/src/test/resources/session-records/deleteThenCreateFromShareClient.json index 40b598a321a9a..5c022530b510f 100644 --- a/storage/client/file/src/test/resources/session-records/deleteThenCreateFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteThenCreateFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share2914350c?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share51575bf5?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C798FEE18\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:30 GMT", + "ETag" : "\"0x8D715218AA0AD7B\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d61-001a-006b-5b75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:29 GMT" + "x-ms-request-id" : "7f75e0a4-301a-00db-280a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share2914350c?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share51575bf5?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -30,33 +30,33 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781d64-001a-006b-5c75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:29 GMT" + "x-ms-request-id" : "7f75e0a6-301a-00db-290a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:10 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share2914350c?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share51575bf5?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C9473F66D\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:15 GMT", + "ETag" : "\"0x8D71521A58DA5A9\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:55 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781da8-001a-006b-6975-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:14 GMT" + "x-ms-request-id" : "7f75e0d7-301a-00db-350a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:55 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share2914350c?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share51575bf5?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -64,9 +64,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781dab-001a-006b-6a75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:14 GMT" + "x-ms-request-id" : "7f75e0da-301a-00db-360a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:55 GMT" } } ], - "variables" : [ "share2914350c" ] + "variables" : [ "share51575bf5" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteThenCreateShareFromFileServiceClient.json b/storage/client/file/src/test/resources/session-records/deleteThenCreateShareFromFileServiceClient.json index f19d87aafb782..ff7d9eb383866 100644 --- a/storage/client/file/src/test/resources/session-records/deleteThenCreateShareFromFileServiceClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteThenCreateShareFromFileServiceClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share90775610?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share57757e81?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CD1AACD7E\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:58 GMT", + "ETag" : "\"0x8D71521E5D91EA7\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:12:43 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781f1e-001a-006b-4b75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:42:57 GMT" + "x-ms-request-id" : "260a2c72-901a-0077-190a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:12:42 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share90775610?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share57757e81?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -30,33 +30,33 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781f20-001a-006b-4c75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:42:57 GMT" + "x-ms-request-id" : "260a2c74-901a-0077-1a0a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:12:42 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share90775610?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share57757e81?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CEC8DC438\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:43 GMT", + "ETag" : "\"0x8D7152200B789E5\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781f62-001a-006b-5975-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:42 GMT" + "x-ms-request-id" : "260a2cb1-901a-0077-250a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:13:27 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share90775610&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share57757e81&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -64,17 +64,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781f65-001a-006b-5a75-4192c4000000", - "Body" : "share90775610share90775610Tue, 23 Jul 2019 16:43:43 GMT\"0x8D70F8CEC8DC438\"5120", - "Date" : "Tue, 23 Jul 2019 16:43:42 GMT", + "x-ms-request-id" : "260a2cb4-901a-0077-260a-47b537000000", + "Body" : "share57757e81share57757e81Tue, 30 Jul 2019 19:13:28 GMT\"0x8D7152200B789E5\"5120", + "Date" : "Tue, 30 Jul 2019 19:13:27 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share90775610?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share57757e81?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -82,9 +82,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781f66-001a-006b-5b75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:42 GMT" + "x-ms-request-id" : "260a2cb5-901a-0077-270a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:13:27 GMT" } } ], - "variables" : [ "share90775610" ] + "variables" : [ "share57757e81" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteThenCreateShareTooSoonFromFileServiceClient.json b/storage/client/file/src/test/resources/session-records/deleteThenCreateShareTooSoonFromFileServiceClient.json index db37837c21d40..08ac48f0b7ddb 100644 --- a/storage/client/file/src/test/resources/session-records/deleteThenCreateShareTooSoonFromFileServiceClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteThenCreateShareTooSoonFromFileServiceClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share18271560?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share90227151?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CEDD6ACE2\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:45 GMT", + "ETag" : "\"0x8D7152203248439\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781f93-001a-006b-7f75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:44 GMT" + "x-ms-request-id" : "9ebed1ec-b01a-000d-780a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:31 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share18271560?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share90227151?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -30,15 +30,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781f95-001a-006b-8075-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:44 GMT" + "x-ms-request-id" : "9ebed1ee-b01a-000d-790a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:31 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share18271560?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share90227151?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -47,17 +47,17 @@ "retry-after" : "0", "Content-Length" : "244", "StatusCode" : "409", - "x-ms-request-id" : "a4781f96-001a-006b-0175-4192c4000000", - "Body" : "ShareBeingDeletedThe specified share is being deleted. Try operation later.\nRequestId:a4781f96-001a-006b-0175-4192c4000000\nTime:2019-07-23T16:43:45.7392533Z", - "Date" : "Tue, 23 Jul 2019 16:43:44 GMT", + "x-ms-request-id" : "9ebed1ef-b01a-000d-7a0a-47df7a000000", + "Body" : "ShareBeingDeletedThe specified share is being deleted. Try operation later.\nRequestId:9ebed1ef-b01a-000d-7a0a-47df7a000000\nTime:2019-07-30T19:13:32.2811453Z", + "Date" : "Tue, 30 Jul 2019 19:13:31 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share18271560&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share90227151&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -65,11 +65,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781f97-001a-006b-0275-4192c4000000", - "Body" : "share18271560", - "Date" : "Tue, 23 Jul 2019 16:43:44 GMT", + "x-ms-request-id" : "9ebed1f0-b01a-000d-7b0a-47df7a000000", + "Body" : "share90227151", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share18271560" ] + "variables" : [ "share90227151" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteThenCreateTooSoonFromShareClient.json b/storage/client/file/src/test/resources/session-records/deleteThenCreateTooSoonFromShareClient.json index 797a7a88f9656..cee9fe4bb9085 100644 --- a/storage/client/file/src/test/resources/session-records/deleteThenCreateTooSoonFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteThenCreateTooSoonFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share5053509d?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share499478c3?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C77B90350\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:27 GMT", + "ETag" : "\"0x8D715218920B2F5\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d1f-001a-006b-2875-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:26 GMT" + "x-ms-request-id" : "7f75e060-301a-00db-770a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share5053509d?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share499478c3?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -30,15 +30,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781d21-001a-006b-2975-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:26 GMT" + "x-ms-request-id" : "7f75e062-301a-00db-780a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share5053509d?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share499478c3?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -47,17 +47,17 @@ "retry-after" : "0", "Content-Length" : "244", "StatusCode" : "409", - "x-ms-request-id" : "a4781d22-001a-006b-2a75-4192c4000000", - "Body" : "ShareBeingDeletedThe specified share is being deleted. Try operation later.\nRequestId:a4781d22-001a-006b-2a75-4192c4000000\nTime:2019-07-23T16:40:27.5717072Z", - "Date" : "Tue, 23 Jul 2019 16:40:26 GMT", + "x-ms-request-id" : "7f75e063-301a-00db-790a-4794a0000000", + "Body" : "ShareBeingDeletedThe specified share is being deleted. Try operation later.\nRequestId:7f75e063-301a-00db-790a-4794a0000000\nTime:2019-07-30T19:10:07.5791005Z", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share5053509d?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share499478c3?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -66,11 +66,11 @@ "retry-after" : "0", "Content-Length" : "244", "StatusCode" : "409", - "x-ms-request-id" : "a4781d23-001a-006b-2b75-4192c4000000", - "Body" : "ShareBeingDeletedThe specified share is being deleted. Try operation later.\nRequestId:a4781d23-001a-006b-2b75-4192c4000000\nTime:2019-07-23T16:40:27.6207424Z", - "Date" : "Tue, 23 Jul 2019 16:40:26 GMT", + "x-ms-request-id" : "7f75e064-301a-00db-7a0a-4794a0000000", + "Body" : "ShareBeingDeletedThe specified share is being deleted. Try operation later.\nRequestId:7f75e064-301a-00db-7a0a-4794a0000000\nTime:2019-07-30T19:10:07.6201383Z", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share5053509d" ] + "variables" : [ "share499478c3" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/downloadWithProperties.json b/storage/client/file/src/test/resources/session-records/downloadWithProperties.json index 3370a153ba34a..17dfc3abd6b7d 100644 --- a/storage/client/file/src/test/resources/session-records/downloadWithProperties.json +++ b/storage/client/file/src/test/resources/session-records/downloadWithProperties.json @@ -1,46 +1,46 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile95252ec1", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile81843a37", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C3EE16905\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:52 GMT", + "ETag" : "\"0x8D7152150ACADA4\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781c39-001a-006b-3e75-4192c4000000", + "x-ms-request-id" : "7f75df8e-301a-00db-100a-4794a0000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:38:51 GMT" + "Date" : "Tue, 30 Jul 2019 19:08:31 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile95252ec1", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile81843a37", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:52 GMT", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:32 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 23 Jul 2019 16:38:51 GMT", + "Date" : "Tue, 30 Jul 2019 19:08:31 GMT", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "\"0x8D70F8C3EE16905\"", + "ETag" : "\"0x8D7152150ACADA4\"", "Content-Length" : "1024", - "x-ms-request-id" : "a4781c3a-001a-006b-3f75-4192c4000000", + "x-ms-request-id" : "7f75df8f-301a-00db-110a-4794a0000000", "Body" : "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000", "Content-Type" : "application/octet-stream" } } ], - "variables" : [ "file95252ec1" ] + "variables" : [ "file81843a37" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/forceCloseHandlesFromDirClient.json b/storage/client/file/src/test/resources/session-records/forceCloseHandlesFromDirClient.json index c9591fdb93263..687ffd4b639d8 100644 --- a/storage/client/file/src/test/resources/session-records/forceCloseHandlesFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/forceCloseHandlesFromDirClient.json @@ -1,29 +1,29 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory240914?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory640660?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB633D07C\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:12 GMT", + "ETag" : "\"0x8D71521CA7B7608\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ed9-001a-006b-2f75-4192c4000000", + "x-ms-request-id" : "260a2c32-901a-0077-7e0a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:11 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:56 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory240914?comp=listhandles", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory640660?comp=listhandles", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -31,11 +31,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781eda-001a-006b-3075-4192c4000000", + "x-ms-request-id" : "260a2c33-901a-0077-7f0a-47b537000000", "Body" : "", - "Date" : "Tue, 23 Jul 2019 16:42:11 GMT", + "Date" : "Tue, 30 Jul 2019 19:11:56 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "directory240914" ] + "variables" : [ "directory640660" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/forceCloseHandlesFromFileClient.json b/storage/client/file/src/test/resources/session-records/forceCloseHandlesFromFileClient.json index 70454bdb9891a..4bcc904154c25 100644 --- a/storage/client/file/src/test/resources/session-records/forceCloseHandlesFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/forceCloseHandlesFromFileClient.json @@ -1,29 +1,29 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile32781af7", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile63321504", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C3E9C6451\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:51 GMT", + "ETag" : "\"0x8D715215067A4A9\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781c31-001a-006b-3675-4192c4000000", + "x-ms-request-id" : "7f75df86-301a-00db-080a-4794a0000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:38:51 GMT" + "Date" : "Tue, 30 Jul 2019 19:08:31 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile32781af7?maxresults=10&comp=listhandles", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile63321504?maxresults=10&comp=listhandles", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -31,11 +31,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781c32-001a-006b-3775-4192c4000000", + "x-ms-request-id" : "7f75df87-301a-00db-090a-4794a0000000", "Body" : "10", - "Date" : "Tue, 23 Jul 2019 16:38:51 GMT", + "Date" : "Tue, 30 Jul 2019 19:08:31 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "file32781af7" ] + "variables" : [ "file63321504" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getDirectoryDoesNotCreateADirectory.json b/storage/client/file/src/test/resources/session-records/getDirectoryDoesNotCreateADirectory.json index 4046d646879b5..24d9d561ab0ba 100644 --- a/storage/client/file/src/test/resources/session-records/getDirectoryDoesNotCreateADirectory.json +++ b/storage/client/file/src/test/resources/session-records/getDirectoryDoesNotCreateADirectory.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share10876776?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share53691dc7?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C94C66B41\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:16 GMT", + "ETag" : "\"0x8D71521A71090F0\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781db7-001a-006b-7375-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:15 GMT" + "x-ms-request-id" : "260a2b0c-901a-0077-400a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:10:57 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share10876776/testshare?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share53691dc7/testshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "a4781db9-001a-006b-7475-4192c4000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:a4781db9-001a-006b-7475-4192c4000000\nTime:2019-07-23T16:41:16.2604523Z", - "Date" : "Tue, 23 Jul 2019 16:41:15 GMT", + "x-ms-request-id" : "260a2b0e-901a-0077-410a-47b537000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:260a2b0e-901a-0077-410a-47b537000000\nTime:2019-07-30T19:10:57.7569685Z", + "Date" : "Tue, 30 Jul 2019 19:10:57 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share10876776?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share53691dc7?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781dba-001a-006b-7575-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:15 GMT" + "x-ms-request-id" : "260a2b0f-901a-0077-420a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:10:57 GMT" } } ], - "variables" : [ "share10876776" ] + "variables" : [ "share53691dc7" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getFileClientFromDirClient.json b/storage/client/file/src/test/resources/session-records/getFileClientFromDirClient.json index 8fa3f19ff9cd4..ed4d423a67bdd 100644 --- a/storage/client/file/src/test/resources/session-records/getFileClientFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/getFileClientFromDirClient.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "directory877236", "96d7c3acc68d4acc" ] + "variables" : [ "directory928652", "12595a0a2d3d431b" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getHandlesFromDirClient.json b/storage/client/file/src/test/resources/session-records/getHandlesFromDirClient.json index 0b31e3f9121c8..65c17db3a4a20 100644 --- a/storage/client/file/src/test/resources/session-records/getHandlesFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/getHandlesFromDirClient.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "directory12788e" ] + "variables" : [ "directory941872" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getMetadataDoesNotExistFromShareClient.json b/storage/client/file/src/test/resources/session-records/getMetadataDoesNotExistFromShareClient.json index f98ba99546d8c..9a0c8d0609672 100644 --- a/storage/client/file/src/test/resources/session-records/getMetadataDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getMetadataDoesNotExistFromShareClient.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share620248bc?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share044643e9?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781d1c-001a-006b-2675-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781d1c-001a-006b-2675-4192c4000000\nTime:2019-07-23T16:40:27.3515501Z", - "Date" : "Tue, 23 Jul 2019 16:40:26 GMT", + "x-ms-request-id" : "7f75e05d-301a-00db-750a-4794a0000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:7f75e05d-301a-00db-750a-4794a0000000\nTime:2019-07-30T19:10:07.3899144Z", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share620248bc?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share044643e9?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781d1e-001a-006b-2775-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781d1e-001a-006b-2775-4192c4000000\nTime:2019-07-23T16:40:27.4035872Z", - "Date" : "Tue, 23 Jul 2019 16:40:26 GMT", + "x-ms-request-id" : "7f75e05f-301a-00db-760a-4794a0000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:7f75e05f-301a-00db-760a-4794a0000000\nTime:2019-07-30T19:10:07.4249477Z", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share620248bc" ] + "variables" : [ "share044643e9" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getMetadataFromShareClient.json b/storage/client/file/src/test/resources/session-records/getMetadataFromShareClient.json index 6f7501b7b4c18..094f668b5ab78 100644 --- a/storage/client/file/src/test/resources/session-records/getMetadataFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getMetadataFromShareClient.json @@ -1,50 +1,50 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share14921607?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share887838fa?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C7868C45C\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:28 GMT", + "ETag" : "\"0x8D71521899C6A52\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d36-001a-006b-3a75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:27 GMT" + "x-ms-request-id" : "7f75e074-301a-00db-070a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:08 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share14921607?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share887838fa?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-meta-test" : "metadata", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:28 GMT", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:08 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 23 Jul 2019 16:40:27 GMT", + "Date" : "Tue, 30 Jul 2019 19:10:08 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D70F8C7868C45C\"", + "ETag" : "\"0x8D71521899C6A52\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "a4781d38-001a-006b-3b75-4192c4000000" + "x-ms-request-id" : "7f75e076-301a-00db-080a-4794a0000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share14921607?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share887838fa?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -52,9 +52,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781d39-001a-006b-3c75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:28 GMT" + "x-ms-request-id" : "7f75e077-301a-00db-090a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:08 GMT" } } ], - "variables" : [ "share14921607" ] + "variables" : [ "share887838fa" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getPolicies.json b/storage/client/file/src/test/resources/session-records/getPolicies.json index 18ca1b282ab69..c5ef0b99231f1 100644 --- a/storage/client/file/src/test/resources/session-records/getPolicies.json +++ b/storage/client/file/src/test/resources/session-records/getPolicies.json @@ -1,48 +1,48 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share62141b58?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share715985cb?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C7725F74B\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:26 GMT", + "ETag" : "\"0x8D71521889F2DCC\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d0a-001a-006b-1875-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:25 GMT" + "x-ms-request-id" : "7f75e04b-301a-00db-670a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:06 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share62141b58?restype=share&comp=acl", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share715985cb?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C7725F74B\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:26 GMT", + "ETag" : "\"0x8D71521889F2DCC\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:06 GMT", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781d0c-001a-006b-1975-4192c4000000", + "x-ms-request-id" : "7f75e04d-301a-00db-680a-4794a0000000", "Body" : "", - "Date" : "Tue, 23 Jul 2019 16:40:25 GMT", + "Date" : "Tue, 30 Jul 2019 19:10:06 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share62141b58?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share715985cb?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -50,9 +50,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781d0d-001a-006b-1a75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:25 GMT" + "x-ms-request-id" : "7f75e04e-301a-00db-690a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:06 GMT" } } ], - "variables" : [ "share62141b58" ] + "variables" : [ "share715985cb" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getPoliciesDoesNotExist.json b/storage/client/file/src/test/resources/session-records/getPoliciesDoesNotExist.json index 7831055f2c6d1..98b5424c58ba7 100644 --- a/storage/client/file/src/test/resources/session-records/getPoliciesDoesNotExist.json +++ b/storage/client/file/src/test/resources/session-records/getPoliciesDoesNotExist.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share03196264?restype=share&comp=acl", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share29090b5d?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781cfe-001a-006b-0f75-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781cfe-001a-006b-0f75-4192c4000000\nTime:2019-07-23T16:40:25.9575562Z", - "Date" : "Tue, 23 Jul 2019 16:40:25 GMT", + "x-ms-request-id" : "7f75e03c-301a-00db-5c0a-4794a0000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:7f75e03c-301a-00db-5c0a-4794a0000000\nTime:2019-07-30T19:10:06.1256868Z", + "Date" : "Tue, 30 Jul 2019 19:10:06 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share03196264?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share29090b5d?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781d00-001a-006b-1075-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781d00-001a-006b-1075-4192c4000000\nTime:2019-07-23T16:40:26.0095929Z", - "Date" : "Tue, 23 Jul 2019 16:40:25 GMT", + "x-ms-request-id" : "7f75e03e-301a-00db-5d0a-4794a0000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:7f75e03e-301a-00db-5d0a-4794a0000000\nTime:2019-07-30T19:10:06.1707307Z", + "Date" : "Tue, 30 Jul 2019 19:10:06 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share03196264" ] + "variables" : [ "share29090b5d" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getPropertiesDoesNotExistFromShareClient.json b/storage/client/file/src/test/resources/session-records/getPropertiesDoesNotExistFromShareClient.json index c366d9279459f..4586711ec1bdc 100644 --- a/storage/client/file/src/test/resources/session-records/getPropertiesDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getPropertiesDoesNotExistFromShareClient.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share31141b34?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share919227b1?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781dbd-001a-006b-7875-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781dbd-001a-006b-7875-4192c4000000\nTime:2019-07-23T16:41:16.4866141Z", - "Date" : "Tue, 23 Jul 2019 16:41:15 GMT", + "x-ms-request-id" : "260a2b12-901a-0077-450a-47b537000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:260a2b12-901a-0077-450a-47b537000000\nTime:2019-07-30T19:10:58.8499972Z", + "Date" : "Tue, 30 Jul 2019 19:10:58 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share31141b34?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share919227b1?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781dbf-001a-006b-7975-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781dbf-001a-006b-7975-4192c4000000\nTime:2019-07-23T16:41:16.5346484Z", - "Date" : "Tue, 23 Jul 2019 16:41:15 GMT", + "x-ms-request-id" : "260a2b15-901a-0077-460a-47b537000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:260a2b15-901a-0077-460a-47b537000000\nTime:2019-07-30T19:10:58.8820269Z", + "Date" : "Tue, 30 Jul 2019 19:10:58 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share31141b34" ] + "variables" : [ "share919227b1" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getPropertiesFromDirClient.json b/storage/client/file/src/test/resources/session-records/getPropertiesFromDirClient.json index 5c8e80b286d06..d6f1d8dbea3c1 100644 --- a/storage/client/file/src/test/resources/session-records/getPropertiesFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/getPropertiesFromDirClient.json @@ -1,42 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory937333?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory018517?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB566491E\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:10 GMT", + "ETag" : "\"0x8D71521C9D102E3\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ec1-001a-006b-1775-4192c4000000", + "x-ms-request-id" : "260a2c18-901a-0077-660a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:10 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:55 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory937333?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory018517?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-server-encrypted" : "true", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB566491E\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:10 GMT", + "ETag" : "\"0x8D71521C9D102E3\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781ec2-001a-006b-1875-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:42:10 GMT" + "x-ms-request-id" : "260a2c19-901a-0077-670a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:11:55 GMT" } } ], - "variables" : [ "directory937333" ] + "variables" : [ "directory018517" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getPropertiesFromFileClient.json b/storage/client/file/src/test/resources/session-records/getPropertiesFromFileClient.json index 34c88368bdd9e..b153297242590 100644 --- a/storage/client/file/src/test/resources/session-records/getPropertiesFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/getPropertiesFromFileClient.json @@ -1,45 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile66368470", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile92927fc9", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C3EBE716D\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:51 GMT", + "ETag" : "\"0x8D715215089B3D8\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781c35-001a-006b-3a75-4192c4000000", + "x-ms-request-id" : "7f75df8a-301a-00db-0c0a-4794a0000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:38:51 GMT" + "Date" : "Tue, 30 Jul 2019 19:08:31 GMT" } }, { "Method" : "HEAD", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile66368470", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile92927fc9", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:51 GMT", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:32 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 23 Jul 2019 16:38:51 GMT", + "Date" : "Tue, 30 Jul 2019 19:08:31 GMT", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "\"0x8D70F8C3EBE716D\"", + "ETag" : "\"0x8D715215089B3D8\"", "Content-Length" : "1024", - "x-ms-request-id" : "a4781c36-001a-006b-3b75-4192c4000000", + "x-ms-request-id" : "7f75df8b-301a-00db-0d0a-4794a0000000", "Body" : "", "Content-Type" : "application/octet-stream" } } ], - "variables" : [ "file66368470" ] + "variables" : [ "file92927fc9" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getPropertiesFromShareClient.json b/storage/client/file/src/test/resources/session-records/getPropertiesFromShareClient.json index dc43fd0afb917..bcaae7e72c30f 100644 --- a/storage/client/file/src/test/resources/session-records/getPropertiesFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getPropertiesFromShareClient.json @@ -1,50 +1,50 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share19304121?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share73430a8d?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C796F40BC\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:30 GMT", + "ETag" : "\"0x8D715218A8C360A\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d5d-001a-006b-5875-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:29 GMT" + "x-ms-request-id" : "7f75e0a0-301a-00db-250a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share19304121?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share73430a8d?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-meta-test" : "metadata", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:30 GMT", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:09 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 23 Jul 2019 16:40:29 GMT", + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D70F8C796F40BC\"", + "ETag" : "\"0x8D715218A8C360A\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "a4781d5f-001a-006b-5975-4192c4000000" + "x-ms-request-id" : "7f75e0a2-301a-00db-260a-4794a0000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share19304121?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share73430a8d?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -52,9 +52,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781d60-001a-006b-5a75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:29 GMT" + "x-ms-request-id" : "7f75e0a3-301a-00db-270a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT" } } ], - "variables" : [ "share19304121" ] + "variables" : [ "share73430a8d" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getRootDirectoryDoesNotCreateADirectory.json b/storage/client/file/src/test/resources/session-records/getRootDirectoryDoesNotCreateADirectory.json index ecd4380eb4e78..a828607985c8a 100644 --- a/storage/client/file/src/test/resources/session-records/getRootDirectoryDoesNotCreateADirectory.json +++ b/storage/client/file/src/test/resources/session-records/getRootDirectoryDoesNotCreateADirectory.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share33794f21?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share221471e7?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C9528C16E\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:16 GMT", + "ETag" : "\"0x8D71521A7E6D93D\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:59 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781dc4-001a-006b-7d75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:16 GMT" + "x-ms-request-id" : "260a2b1a-901a-0077-4a0a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:10:58 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share33794f21/?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share221471e7/?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-server-encrypted" : "false", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C953238AE\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:16 GMT", + "ETag" : "\"0x8D71521A7EFF17C\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:59 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781dc6-001a-006b-7e75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:16 GMT" + "x-ms-request-id" : "260a2b1c-901a-0077-4b0a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:10:58 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share33794f21?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share221471e7?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781dc7-001a-006b-7f75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:16 GMT" + "x-ms-request-id" : "260a2b1d-901a-0077-4c0a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:10:59 GMT" } } ], - "variables" : [ "share33794f21" ] + "variables" : [ "share221471e7" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getShareDoesNotCreateAShare.json b/storage/client/file/src/test/resources/session-records/getShareDoesNotCreateAShare.json index 1b9367c3df656..31e9cad618f78 100644 --- a/storage/client/file/src/test/resources/session-records/getShareDoesNotCreateAShare.json +++ b/storage/client/file/src/test/resources/session-records/getShareDoesNotCreateAShare.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share96662a2c?restype=share&comp=stats", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share76626429?restype=share&comp=stats", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781fa7-001a-006b-0d75-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781fa7-001a-006b-0d75-4192c4000000\nTime:2019-07-23T16:43:46.2786384Z", - "Date" : "Tue, 23 Jul 2019 16:43:45 GMT", + "x-ms-request-id" : "9ebed1fd-b01a-000d-040a-47df7a000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9ebed1fd-b01a-000d-040a-47df7a000000\nTime:2019-07-30T19:13:32.6575025Z", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share96662a2c&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share76626429&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -31,11 +31,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781fa9-001a-006b-0e75-4192c4000000", - "Body" : "share96662a2c", - "Date" : "Tue, 23 Jul 2019 16:43:45 GMT", + "x-ms-request-id" : "9ebed1ff-b01a-000d-050a-47df7a000000", + "Body" : "share76626429", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share96662a2c" ] + "variables" : [ "share76626429" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getSnapshotId.json b/storage/client/file/src/test/resources/session-records/getSnapshotId.json index 02715f00c488a..e0a5518d0a87c 100644 --- a/storage/client/file/src/test/resources/session-records/getSnapshotId.json +++ b/storage/client/file/src/test/resources/session-records/getSnapshotId.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share69666dbd?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share430933e3?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C773F5043\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:26 GMT", + "ETag" : "\"0x8D7152188B4B6F4\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d0e-001a-006b-1b75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:25 GMT" + "x-ms-request-id" : "7f75e04f-301a-00db-6a0a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:06 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share69666dbd?restype=share&comp=snapshot", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share430933e3?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-23T16:40:26.0000000Z", + "x-ms-snapshot" : "2019-07-30T19:10:06.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C773F5043\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:26 GMT", + "ETag" : "\"0x8D7152188B4B6F4\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d10-001a-006b-1c75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:26 GMT" + "x-ms-request-id" : "7f75e051-301a-00db-6b0a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:06 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share69666dbd?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share430933e3?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -50,11 +50,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "a4781d11-001a-006b-1d75-4192c4000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:a4781d11-001a-006b-1d75-4192c4000000\nTime:2019-07-23T16:40:26.7761389Z", - "Date" : "Tue, 23 Jul 2019 16:40:26 GMT", + "x-ms-request-id" : "7f75e052-301a-00db-6c0a-4794a0000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:7f75e052-301a-00db-6c0a-4794a0000000\nTime:2019-07-30T19:10:06.8834219Z", + "Date" : "Tue, 30 Jul 2019 19:10:06 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share69666dbd" ] + "variables" : [ "share430933e3" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getSnapshotMetadataDoesNotExistFromShareClient.json b/storage/client/file/src/test/resources/session-records/getSnapshotMetadataDoesNotExistFromShareClient.json index b6fb1b9aab467..dfc3538fffdac 100644 --- a/storage/client/file/src/test/resources/session-records/getSnapshotMetadataDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getSnapshotMetadataDoesNotExistFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share053068d6?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share842043e9?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C79224B3F\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:29 GMT", + "ETag" : "\"0x8D715218A4C0FDE\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d52-001a-006b-5075-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:29 GMT" + "x-ms-request-id" : "7f75e094-301a-00db-1d0a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share053068d6?sharesnapshot=snapshot&restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share842043e9?sharesnapshot=snapshot&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "445", "StatusCode" : "400", - "x-ms-request-id" : "3975b15b-b01a-003d-1a75-417ab4000000", - "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:3975b15b-b01a-003d-1a75-417ab4000000\nTime:2019-07-23T16:40:29.8874826ZsharesnapshotsnapshotMust be in the specific snapshot date time format.", - "Date" : "Tue, 23 Jul 2019 16:40:29 GMT", + "x-ms-request-id" : "d2e4b9e9-f01a-00c6-7d0a-474d4a000000", + "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:d2e4b9e9-f01a-00c6-7d0a-474d4a000000\nTime:2019-07-30T19:10:09.4966470ZsharesnapshotsnapshotMust be in the specific snapshot date time format.", + "Date" : "Tue, 30 Jul 2019 19:10:08 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share053068d6?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share842043e9?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781d54-001a-006b-5175-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:29 GMT" + "x-ms-request-id" : "7f75e096-301a-00db-1e0a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT" } } ], - "variables" : [ "share053068d6" ] + "variables" : [ "share842043e9" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getSnapshotMetadataFromShareClient.json b/storage/client/file/src/test/resources/session-records/getSnapshotMetadataFromShareClient.json index 4b6cfa5a5c4ac..e5e9cc43e1d0c 100644 --- a/storage/client/file/src/test/resources/session-records/getSnapshotMetadataFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getSnapshotMetadataFromShareClient.json @@ -1,69 +1,69 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share31872175?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share33704195?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C78061FF3\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:27 GMT", + "ETag" : "\"0x8D71521895DA407\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d2c-001a-006b-3375-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:27 GMT" + "x-ms-request-id" : "7f75e06b-301a-00db-800a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share31872175?restype=share&comp=snapshot", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share33704195?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-23T16:40:28.0000000Z", + "x-ms-snapshot" : "2019-07-30T19:10:07.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C78061FF3\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:27 GMT", + "ETag" : "\"0x8D71521895DA407\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d2e-001a-006b-3475-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:27 GMT" + "x-ms-request-id" : "7f75e06d-301a-00db-010a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share31872175?sharesnapshot=2019-07-23T16%3a40%3a28.0000000Z&restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share33704195?sharesnapshot=2019-07-30T19%3a10%3a07.0000000Z&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-meta-test" : "metadata", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:27 GMT", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:07 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 23 Jul 2019 16:40:27 GMT", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D70F8C78061FF3\"", + "ETag" : "\"0x8D71521895DA407\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "3975b156-b01a-003d-1875-417ab4000000" + "x-ms-request-id" : "d2e4b9d6-f01a-00c6-790a-474d4a000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share31872175?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share33704195?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -72,11 +72,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "a4781d30-001a-006b-3575-4192c4000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:a4781d30-001a-006b-3575-4192c4000000\nTime:2019-07-23T16:40:28.1841446Z", - "Date" : "Tue, 23 Jul 2019 16:40:27 GMT", + "x-ms-request-id" : "7f75e06e-301a-00db-020a-4794a0000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:7f75e06e-301a-00db-020a-4794a0000000\nTime:2019-07-30T19:10:08.0135198Z", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share31872175" ] + "variables" : [ "share33704195" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getSnapshotPropertiesDoesNotExist.json b/storage/client/file/src/test/resources/session-records/getSnapshotPropertiesDoesNotExist.json index f2da43b8c1a4d..e5477d08bdf59 100644 --- a/storage/client/file/src/test/resources/session-records/getSnapshotPropertiesDoesNotExist.json +++ b/storage/client/file/src/test/resources/session-records/getSnapshotPropertiesDoesNotExist.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share29111ff1?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share44011f3c?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C9574301E\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:17 GMT", + "ETag" : "\"0x8D71521A82AD064\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:59 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781dcf-001a-006b-0575-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:16 GMT" + "x-ms-request-id" : "260a2b25-901a-0077-520a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:10:59 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share29111ff1?sharesnapshot=snapshot&restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share44011f3c?sharesnapshot=snapshot&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "445", "StatusCode" : "400", - "x-ms-request-id" : "3975b18f-b01a-003d-2675-417ab4000000", - "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:3975b18f-b01a-003d-2675-417ab4000000\nTime:2019-07-23T16:41:17.4022825ZsharesnapshotsnapshotMust be in the specific snapshot date time format.", - "Date" : "Tue, 23 Jul 2019 16:41:16 GMT", + "x-ms-request-id" : "d2e4ba3a-f01a-00c6-170a-474d4a000000", + "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:d2e4ba3a-f01a-00c6-170a-474d4a000000\nTime:2019-07-30T19:10:59.6107609ZsharesnapshotsnapshotMust be in the specific snapshot date time format.", + "Date" : "Tue, 30 Jul 2019 19:10:58 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share29111ff1?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share44011f3c?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781dd1-001a-006b-0675-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:16 GMT" + "x-ms-request-id" : "260a2b27-901a-0077-530a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:10:59 GMT" } } ], - "variables" : [ "share29111ff1" ] + "variables" : [ "share44011f3c" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getSnapshotPropertiesFromShareClient.json b/storage/client/file/src/test/resources/session-records/getSnapshotPropertiesFromShareClient.json index 8cac81d604f3c..fa366b9b3d006 100644 --- a/storage/client/file/src/test/resources/session-records/getSnapshotPropertiesFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getSnapshotPropertiesFromShareClient.json @@ -1,69 +1,69 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share49629d81?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share53196c07?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C9603B94A\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:18 GMT", + "ETag" : "\"0x8D71521AA0E359B\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781de3-001a-006b-1475-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:17 GMT" + "x-ms-request-id" : "260a2b3d-901a-0077-630a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:11:02 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share49629d81?restype=share&comp=snapshot", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share53196c07?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-23T16:41:18.0000000Z", + "x-ms-snapshot" : "2019-07-30T19:11:02.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C95D7CB00\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:18 GMT", + "ETag" : "\"0x8D71521A99DA700\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781de5-001a-006b-1575-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:17 GMT" + "x-ms-request-id" : "260a2b3f-901a-0077-640a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:11:02 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share49629d81?sharesnapshot=2019-07-23T16%3a41%3a18.0000000Z&restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share53196c07?sharesnapshot=2019-07-30T19%3a11%3a02.0000000Z&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-meta-snapshot" : "metadata", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:18 GMT", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:02 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 23 Jul 2019 16:41:17 GMT", + "Date" : "Tue, 30 Jul 2019 19:11:02 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D70F8C95D7CB00\"", + "ETag" : "\"0x8D71521A99DA700\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "3975b194-b01a-003d-2875-417ab4000000" + "x-ms-request-id" : "d2e4ba45-f01a-00c6-1b0a-474d4a000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share49629d81?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share53196c07?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -72,11 +72,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "a4781de6-001a-006b-1675-4192c4000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:a4781de6-001a-006b-1675-4192c4000000\nTime:2019-07-23T16:41:18.4480203Z", - "Date" : "Tue, 23 Jul 2019 16:41:17 GMT", + "x-ms-request-id" : "260a2b40-901a-0077-650a-47b537000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:260a2b40-901a-0077-650a-47b537000000\nTime:2019-07-30T19:11:02.8497599Z", + "Date" : "Tue, 30 Jul 2019 19:11:02 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share49629d81" ] + "variables" : [ "share53196c07" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getStats.json b/storage/client/file/src/test/resources/session-records/getStats.json index b4ecd38b1caf6..713dffd115dda 100644 --- a/storage/client/file/src/test/resources/session-records/getStats.json +++ b/storage/client/file/src/test/resources/session-records/getStats.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share67188f15?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share13839f90?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C963EAA38\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:18 GMT", + "ETag" : "\"0x8D71521AA57AC5F\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:03 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781deb-001a-006b-1a75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:17 GMT" + "x-ms-request-id" : "260a2b45-901a-0077-690a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:11:03 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share67188f15?restype=share&comp=stats", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share13839f90?restype=share&comp=stats", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -30,17 +30,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781ded-001a-006b-1b75-4192c4000000", + "x-ms-request-id" : "260a2b47-901a-0077-6a0a-47b537000000", "Body" : "0", - "Date" : "Tue, 23 Jul 2019 16:41:17 GMT", + "Date" : "Tue, 30 Jul 2019 19:11:03 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share67188f15?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share13839f90?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -48,9 +48,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781dee-001a-006b-1c75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:18 GMT" + "x-ms-request-id" : "260a2b48-901a-0077-6b0a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:11:03 GMT" } } ], - "variables" : [ "share67188f15" ] + "variables" : [ "share13839f90" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getStatsDoesNotExist.json b/storage/client/file/src/test/resources/session-records/getStatsDoesNotExist.json index 97ecc310dd26f..819bd84552195 100644 --- a/storage/client/file/src/test/resources/session-records/getStatsDoesNotExist.json +++ b/storage/client/file/src/test/resources/session-records/getStatsDoesNotExist.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share840508c1?restype=share&comp=stats", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share87413c75?restype=share&comp=stats", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781db4-001a-006b-7175-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781db4-001a-006b-7175-4192c4000000\nTime:2019-07-23T16:41:16.1013399Z", - "Date" : "Tue, 23 Jul 2019 16:41:15 GMT", + "x-ms-request-id" : "260a2b05-901a-0077-3e0a-47b537000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:260a2b05-901a-0077-3e0a-47b537000000\nTime:2019-07-30T19:10:55.9893061Z", + "Date" : "Tue, 30 Jul 2019 19:10:55 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share840508c1?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share87413c75?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781db6-001a-006b-7275-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781db6-001a-006b-7275-4192c4000000\nTime:2019-07-23T16:41:16.1493733Z", - "Date" : "Tue, 23 Jul 2019 16:41:15 GMT", + "x-ms-request-id" : "260a2b08-901a-0077-3f0a-47b537000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:260a2b08-901a-0077-3f0a-47b537000000\nTime:2019-07-30T19:10:57.6828989Z", + "Date" : "Tue, 30 Jul 2019 19:10:57 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share840508c1" ] + "variables" : [ "share87413c75" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getSubDirectoryClient.json b/storage/client/file/src/test/resources/session-records/getSubDirectoryClient.json index 786a8d1614b5d..ed36d7e22125e 100644 --- a/storage/client/file/src/test/resources/session-records/getSubDirectoryClient.json +++ b/storage/client/file/src/test/resources/session-records/getSubDirectoryClient.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "directory092514" ] + "variables" : [ "directory891026" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/listFilesAndDirectoriesFromDirClient.json b/storage/client/file/src/test/resources/session-records/listFilesAndDirectoriesFromDirClient.json index 8102f80f00dd5..b93a05fb499db 100644 --- a/storage/client/file/src/test/resources/session-records/listFilesAndDirectoriesFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/listFilesAndDirectoriesFromDirClient.json @@ -1,200 +1,200 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory601397?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory727451?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB5D8325F\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:11 GMT", + "ETag" : "\"0x8D71521CA34BEF2\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ece-001a-006b-2475-4192c4000000", + "x-ms-request-id" : "260a2c27-901a-0077-730a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:10 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:56 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory601397%2fdirectory6013970?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory727451%2fdirectory7274510?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB5E04A24\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:11 GMT", + "ETag" : "\"0x8D71521CA3ADAF2\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ecf-001a-006b-2575-4192c4000000", + "x-ms-request-id" : "260a2c28-901a-0077-740a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:10 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:56 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory601397%2fsamelayer02223a0", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory727451%2fsamelayer5122560", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB5E83ACF\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:11 GMT", + "ETag" : "\"0x8D71521CA40F6E8\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ed0-001a-006b-2675-4192c4000000", + "x-ms-request-id" : "260a2c29-901a-0077-750a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:10 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:56 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory601397%2fdirectory6013970%2fnextlayer57757b0", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory727451%2fdirectory7274510%2fnextlayer4592830", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB5F13D27\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:11 GMT", + "ETag" : "\"0x8D71521CA46C4B5\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ed1-001a-006b-2775-4192c4000000", + "x-ms-request-id" : "260a2c2a-901a-0077-760a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:11 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:56 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory601397%2fdirectory6013971?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory727451%2fdirectory7274511?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB5F92DCE\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:11 GMT", + "ETag" : "\"0x8D71521CA4CE0B5\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ed2-001a-006b-2875-4192c4000000", + "x-ms-request-id" : "260a2c2b-901a-0077-770a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:11 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:56 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory601397%2fsamelayer02223a01", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory727451%2fsamelayer51225601", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB6011E86\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:11 GMT", + "ETag" : "\"0x8D71521CA543577\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ed3-001a-006b-2975-4192c4000000", + "x-ms-request-id" : "260a2c2c-901a-0077-780a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:11 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:56 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory601397%2fdirectory6013971%2fnextlayer57757b01", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory727451%2fdirectory7274511%2fnextlayer45928301", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB608E814\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:12 GMT", + "ETag" : "\"0x8D71521CA5A7889\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ed4-001a-006b-2a75-4192c4000000", + "x-ms-request-id" : "260a2c2d-901a-0077-790a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:11 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:56 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory601397%2fdirectory6013972?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory727451%2fdirectory7274512?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB610B1B3\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:12 GMT", + "ETag" : "\"0x8D71521CA601F36\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ed5-001a-006b-2b75-4192c4000000", + "x-ms-request-id" : "260a2c2e-901a-0077-7a0a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:11 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:56 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory601397%2fsamelayer02223a012", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory727451%2fsamelayer512256012", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB618F08D\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:12 GMT", + "ETag" : "\"0x8D71521CA65C5E6\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ed6-001a-006b-2c75-4192c4000000", + "x-ms-request-id" : "260a2c2f-901a-0077-7b0a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:11 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:56 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory601397%2fdirectory6013972%2fnextlayer57757b012", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory727451%2fdirectory7274512%2fnextlayer459283012", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB620BA31\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:12 GMT", + "ETag" : "\"0x8D71521CA6C08F9\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:57 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ed7-001a-006b-2d75-4192c4000000", + "x-ms-request-id" : "260a2c30-901a-0077-7c0a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:11 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:56 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory601397?restype=directory&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory727451?restype=directory&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -202,11 +202,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781ed8-001a-006b-2e75-4192c4000000", - "Body" : "directory6013970directory6013971directory6013972samelayer02223a01024samelayer02223a011024samelayer02223a0121024", - "Date" : "Tue, 23 Jul 2019 16:42:11 GMT", + "x-ms-request-id" : "260a2c31-901a-0077-7d0a-47b537000000", + "Body" : "directory7274510directory7274511directory7274512samelayer51225601024samelayer512256011024samelayer5122560121024", + "Date" : "Tue, 30 Jul 2019 19:11:56 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "directory601397", "samelayer02223a", "nextlayer57757b" ] + "variables" : [ "directory727451", "samelayer512256", "nextlayer459283" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/listHandlesFromFileClient.json b/storage/client/file/src/test/resources/session-records/listHandlesFromFileClient.json index a8429ac169638..3660f01e88fe2 100644 --- a/storage/client/file/src/test/resources/session-records/listHandlesFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/listHandlesFromFileClient.json @@ -1,29 +1,29 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile80711456", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile9917633c", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C3E02EEBF\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:50 GMT", + "ETag" : "\"0x8D71521500DD620\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781c25-001a-006b-2b75-4192c4000000", + "x-ms-request-id" : "7f75df7b-301a-00db-7d0a-4794a0000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:38:50 GMT" + "Date" : "Tue, 30 Jul 2019 19:08:30 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile80711456?comp=listhandles", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile9917633c?comp=listhandles", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -31,11 +31,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781c27-001a-006b-2c75-4192c4000000", + "x-ms-request-id" : "7f75df7c-301a-00db-7e0a-4794a0000000", "Body" : "", - "Date" : "Tue, 23 Jul 2019 16:38:50 GMT", + "Date" : "Tue, 30 Jul 2019 19:08:30 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "file80711456" ] + "variables" : [ "file9917633c" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/listRangesFromFileClient.json b/storage/client/file/src/test/resources/session-records/listRangesFromFileClient.json index 26f25a74de99f..e9dc3d0fe023f 100644 --- a/storage/client/file/src/test/resources/session-records/listRangesFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/listRangesFromFileClient.json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile053136bd", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile62564f32", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C3E1408CE\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:50 GMT", + "ETag" : "\"0x8D71521501C3184\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781c28-001a-006b-2d75-4192c4000000", + "x-ms-request-id" : "7f75df7d-301a-00db-7f0a-4794a0000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:38:50 GMT" + "Date" : "Tue, 30 Jul 2019 19:08:30 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile053136bd?comp=range", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile62564f32?comp=range", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/octet-stream" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C3E1DCE9C\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:50 GMT", + "ETag" : "\"0x8D715215023D474\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781c29-001a-006b-2e75-4192c4000000", + "x-ms-request-id" : "7f75df7e-301a-00db-800a-4794a0000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:38:50 GMT", + "Date" : "Tue, 30 Jul 2019 19:08:31 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile053136bd?comp=rangelist", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile62564f32?comp=rangelist", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-length" : "512", - "ETag" : "\"0x8D70F8C3E1DCE9C\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:50 GMT", + "ETag" : "\"0x8D715215023D474\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:31 GMT", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781c2a-001a-006b-2f75-4192c4000000", + "x-ms-request-id" : "7f75df7f-301a-00db-010a-4794a0000000", "Body" : "0511", - "Date" : "Tue, 23 Jul 2019 16:38:50 GMT", + "Date" : "Tue, 30 Jul 2019 19:08:31 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "file053136bd" ] + "variables" : [ "file62564f32" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/listShares.json b/storage/client/file/src/test/resources/session-records/listShares.json index 9b4198a90038a..f019f2469aaee 100644 --- a/storage/client/file/src/test/resources/session-records/listShares.json +++ b/storage/client/file/src/test/resources/session-records/listShares.json @@ -1,64 +1,64 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share334220300?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share461851700?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CEDF8BA1A\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:45 GMT", + "ETag" : "\"0x8D71522033B4614\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781f99-001a-006b-0475-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:44 GMT" + "x-ms-request-id" : "9ebed1f2-b01a-000d-7c0a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share334220301?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share461851701?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CEE0083B4\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:45 GMT", + "ETag" : "\"0x8D715220340C5B4\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781f9c-001a-006b-0675-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:44 GMT" + "x-ms-request-id" : "9ebed1f4-b01a-000d-7d0a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share334220302?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share461851702?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CEE084D4E\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:45 GMT", + "ETag" : "\"0x8D7152203461E2B\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781f9f-001a-006b-0775-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:44 GMT" + "x-ms-request-id" : "9ebed1f6-b01a-000d-7e0a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share33422030&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share46185170&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -66,17 +66,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781fa2-001a-006b-0875-4192c4000000", - "Body" : "share33422030share334220300Tue, 23 Jul 2019 16:43:45 GMT\"0x8D70F8CEDF8BA1A\"2share334220301Tue, 23 Jul 2019 16:43:45 GMT\"0x8D70F8CEE0083B4\"2share334220302Tue, 23 Jul 2019 16:43:45 GMT\"0x8D70F8CEE084D4E\"2", - "Date" : "Tue, 23 Jul 2019 16:43:45 GMT", + "x-ms-request-id" : "9ebed1f8-b01a-000d-7f0a-47df7a000000", + "Body" : "share46185170share461851700Tue, 30 Jul 2019 19:13:32 GMT\"0x8D71522033B4614\"2share461851701Tue, 30 Jul 2019 19:13:32 GMT\"0x8D715220340C5B4\"2share461851702Tue, 30 Jul 2019 19:13:32 GMT\"0x8D7152203461E2B\"2", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share33422030&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share46185170&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -84,17 +84,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781fa3-001a-006b-0975-4192c4000000", - "Body" : "share33422030share334220300Tue, 23 Jul 2019 16:43:45 GMT\"0x8D70F8CEDF8BA1A\"2share334220301Tue, 23 Jul 2019 16:43:45 GMT\"0x8D70F8CEE0083B4\"2share334220302Tue, 23 Jul 2019 16:43:45 GMT\"0x8D70F8CEE084D4E\"2", - "Date" : "Tue, 23 Jul 2019 16:43:45 GMT", + "x-ms-request-id" : "9ebed1f9-b01a-000d-800a-47df7a000000", + "Body" : "share46185170share461851700Tue, 30 Jul 2019 19:13:32 GMT\"0x8D71522033B4614\"2share461851701Tue, 30 Jul 2019 19:13:32 GMT\"0x8D715220340C5B4\"2share461851702Tue, 30 Jul 2019 19:13:32 GMT\"0x8D7152203461E2B\"2", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share334220300?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share461851700?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -102,15 +102,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781fa4-001a-006b-0a75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:45 GMT" + "x-ms-request-id" : "9ebed1fa-b01a-000d-010a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share334220301?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share461851701?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -118,15 +118,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781fa5-001a-006b-0b75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:45 GMT" + "x-ms-request-id" : "9ebed1fb-b01a-000d-020a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share334220302?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share461851702?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -134,9 +134,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781fa6-001a-006b-0c75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:45 GMT" + "x-ms-request-id" : "9ebed1fc-b01a-000d-030a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT" } } ], - "variables" : [ "share33422030" ] + "variables" : [ "share46185170" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/listSharesIncludeMetadata.json b/storage/client/file/src/test/resources/session-records/listSharesIncludeMetadata.json index 74e4401568be0..e385c897d512c 100644 --- a/storage/client/file/src/test/resources/session-records/listSharesIncludeMetadata.json +++ b/storage/client/file/src/test/resources/session-records/listSharesIncludeMetadata.json @@ -1,64 +1,64 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share116742420?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share17297f100?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CEEFF5D8E\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:47 GMT", + "ETag" : "\"0x8D7152203F0B869\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781fc4-001a-006b-2375-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:46 GMT" + "x-ms-request-id" : "9ebed21c-b01a-000d-1b0a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:33 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share116742421?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share17297f101?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CEF077557\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:47 GMT", + "ETag" : "\"0x8D7152203F63803\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781fc6-001a-006b-2475-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:46 GMT" + "x-ms-request-id" : "9ebed21e-b01a-000d-1c0a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:33 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share116742422?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share17297f102?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CEF0F3EF5\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:47 GMT", + "ETag" : "\"0x8D7152203FC05C2\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781fc8-001a-006b-2575-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:46 GMT" + "x-ms-request-id" : "9ebed220-b01a-000d-1d0a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:33 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share11674242&include=metadata&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share17297f10&include=metadata&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -66,17 +66,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781fca-001a-006b-2675-4192c4000000", - "Body" : "share11674242share116742420Tue, 23 Jul 2019 16:43:47 GMT\"0x8D70F8CEEFF5D8E\"2metadatashare116742421Tue, 23 Jul 2019 16:43:47 GMT\"0x8D70F8CEF077557\"2share116742422Tue, 23 Jul 2019 16:43:47 GMT\"0x8D70F8CEF0F3EF5\"2metadata", - "Date" : "Tue, 23 Jul 2019 16:43:46 GMT", + "x-ms-request-id" : "9ebed222-b01a-000d-1e0a-47df7a000000", + "Body" : "share17297f10share17297f100Tue, 30 Jul 2019 19:13:33 GMT\"0x8D7152203F0B869\"2metadatashare17297f101Tue, 30 Jul 2019 19:13:33 GMT\"0x8D7152203F63803\"2share17297f102Tue, 30 Jul 2019 19:13:33 GMT\"0x8D7152203FC05C2\"2metadata", + "Date" : "Tue, 30 Jul 2019 19:13:33 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share11674242&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share17297f10&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -84,17 +84,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781fcb-001a-006b-2775-4192c4000000", - "Body" : "share11674242share116742420Tue, 23 Jul 2019 16:43:47 GMT\"0x8D70F8CEEFF5D8E\"2share116742421Tue, 23 Jul 2019 16:43:47 GMT\"0x8D70F8CEF077557\"2share116742422Tue, 23 Jul 2019 16:43:47 GMT\"0x8D70F8CEF0F3EF5\"2", - "Date" : "Tue, 23 Jul 2019 16:43:46 GMT", + "x-ms-request-id" : "9ebed223-b01a-000d-1f0a-47df7a000000", + "Body" : "share17297f10share17297f100Tue, 30 Jul 2019 19:13:33 GMT\"0x8D7152203F0B869\"2share17297f101Tue, 30 Jul 2019 19:13:33 GMT\"0x8D7152203F63803\"2share17297f102Tue, 30 Jul 2019 19:13:33 GMT\"0x8D7152203FC05C2\"2", + "Date" : "Tue, 30 Jul 2019 19:13:33 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share116742420?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share17297f100?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -102,15 +102,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781fcc-001a-006b-2875-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:46 GMT" + "x-ms-request-id" : "9ebed224-b01a-000d-200a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:33 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share116742421?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share17297f101?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -118,15 +118,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781fcd-001a-006b-2975-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:46 GMT" + "x-ms-request-id" : "9ebed225-b01a-000d-210a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:33 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share116742422?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share17297f102?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -134,9 +134,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781fce-001a-006b-2a75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:46 GMT" + "x-ms-request-id" : "9ebed226-b01a-000d-220a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:33 GMT" } } ], - "variables" : [ "share11674242" ] + "variables" : [ "share17297f10" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/listSharesIncludeMetadataAndSnapshots.json b/storage/client/file/src/test/resources/session-records/listSharesIncludeMetadataAndSnapshots.json index fc52365263ae3..2940b73ebac9d 100644 --- a/storage/client/file/src/test/resources/session-records/listSharesIncludeMetadataAndSnapshots.json +++ b/storage/client/file/src/test/resources/session-records/listSharesIncludeMetadataAndSnapshots.json @@ -1,102 +1,102 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share112342ce0?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share16415e080?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CED6BA295\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:44 GMT", + "ETag" : "\"0x8D71522028956ED\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781f84-001a-006b-7375-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:43 GMT" + "x-ms-request-id" : "9ebed1dd-b01a-000d-6c0a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:30 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share112342ce0?restype=share&comp=snapshot", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share16415e080?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-23T16:43:44.0000000Z", + "x-ms-snapshot" : "2019-07-30T19:13:31.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CED6BA295\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:44 GMT", + "ETag" : "\"0x8D71522028956ED\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781f86-001a-006b-7475-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:44 GMT" + "x-ms-request-id" : "9ebed1df-b01a-000d-6d0a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:31 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share112342ce1?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share16415e081?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CED7C4768\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:45 GMT", + "ETag" : "\"0x8D7152202D9D46F\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781f87-001a-006b-7575-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:44 GMT" + "x-ms-request-id" : "9ebed1e0-b01a-000d-6e0a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:31 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share112342ce2?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share16415e082?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CED8745EA\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:45 GMT", + "ETag" : "\"0x8D7152202EC2863\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781f89-001a-006b-7675-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:44 GMT" + "x-ms-request-id" : "9ebed1e2-b01a-000d-6f0a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:31 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share112342ce2?restype=share&comp=snapshot", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share16415e082?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-23T16:43:45.0000000Z", + "x-ms-snapshot" : "2019-07-30T19:13:31.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CED8745EA\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:45 GMT", + "ETag" : "\"0x8D7152202EC2863\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781f8b-001a-006b-7775-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:44 GMT" + "x-ms-request-id" : "9ebed1e4-b01a-000d-700a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:31 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share112342ce&include=metadata%2csnapshots&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share16415e08&include=metadata%2csnapshots&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -104,17 +104,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781f8c-001a-006b-7875-4192c4000000", - "Body" : "share112342ceshare112342ce02019-07-23T16:43:44.0000000ZTue, 23 Jul 2019 16:43:44 GMT\"0x8D70F8CED6BA295\"2metadatashare112342ce0Tue, 23 Jul 2019 16:43:44 GMT\"0x8D70F8CED6BA295\"2metadatashare112342ce1Tue, 23 Jul 2019 16:43:45 GMT\"0x8D70F8CED7C4768\"2share112342ce22019-07-23T16:43:45.0000000ZTue, 23 Jul 2019 16:43:45 GMT\"0x8D70F8CED8745EA\"2metadatashare112342ce2Tue, 23 Jul 2019 16:43:45 GMT\"0x8D70F8CED8745EA\"2metadata", - "Date" : "Tue, 23 Jul 2019 16:43:44 GMT", + "x-ms-request-id" : "9ebed1e5-b01a-000d-710a-47df7a000000", + "Body" : "share16415e08share16415e0802019-07-30T19:13:31.0000000ZTue, 30 Jul 2019 19:13:31 GMT\"0x8D71522028956ED\"2metadatashare16415e080Tue, 30 Jul 2019 19:13:31 GMT\"0x8D71522028956ED\"2metadatashare16415e081Tue, 30 Jul 2019 19:13:31 GMT\"0x8D7152202D9D46F\"2share16415e0822019-07-30T19:13:31.0000000ZTue, 30 Jul 2019 19:13:31 GMT\"0x8D7152202EC2863\"2metadatashare16415e082Tue, 30 Jul 2019 19:13:31 GMT\"0x8D7152202EC2863\"2metadata", + "Date" : "Tue, 30 Jul 2019 19:13:31 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share112342ce&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share16415e08&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -122,17 +122,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781f8d-001a-006b-7975-4192c4000000", - "Body" : "share112342ceshare112342ce0Tue, 23 Jul 2019 16:43:44 GMT\"0x8D70F8CED6BA295\"2share112342ce1Tue, 23 Jul 2019 16:43:45 GMT\"0x8D70F8CED7C4768\"2share112342ce2Tue, 23 Jul 2019 16:43:45 GMT\"0x8D70F8CED8745EA\"2", - "Date" : "Tue, 23 Jul 2019 16:43:44 GMT", + "x-ms-request-id" : "9ebed1e6-b01a-000d-720a-47df7a000000", + "Body" : "share16415e08share16415e080Tue, 30 Jul 2019 19:13:31 GMT\"0x8D71522028956ED\"2share16415e081Tue, 30 Jul 2019 19:13:31 GMT\"0x8D7152202D9D46F\"2share16415e082Tue, 30 Jul 2019 19:13:31 GMT\"0x8D7152202EC2863\"2", + "Date" : "Tue, 30 Jul 2019 19:13:31 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share112342ce0?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share16415e080?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -141,17 +141,17 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "a4781f8e-001a-006b-7a75-4192c4000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:a4781f8e-001a-006b-7a75-4192c4000000\nTime:2019-07-23T16:43:45.3519776Z", - "Date" : "Tue, 23 Jul 2019 16:43:44 GMT", + "x-ms-request-id" : "9ebed1e7-b01a-000d-730a-47df7a000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:9ebed1e7-b01a-000d-730a-47df7a000000\nTime:2019-07-30T19:13:31.9728507Z", + "Date" : "Tue, 30 Jul 2019 19:13:31 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share112342ce1?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share16415e081?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -159,15 +159,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781f8f-001a-006b-7b75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:44 GMT" + "x-ms-request-id" : "9ebed1e8-b01a-000d-740a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:31 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share112342ce2?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share16415e082?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -176,11 +176,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "a4781f90-001a-006b-7c75-4192c4000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:a4781f90-001a-006b-7c75-4192c4000000\nTime:2019-07-23T16:43:45.4540500Z", - "Date" : "Tue, 23 Jul 2019 16:43:44 GMT", + "x-ms-request-id" : "9ebed1e9-b01a-000d-750a-47df7a000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:9ebed1e9-b01a-000d-750a-47df7a000000\nTime:2019-07-30T19:13:32.0449189Z", + "Date" : "Tue, 30 Jul 2019 19:13:31 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share112342ce" ] + "variables" : [ "share16415e08" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/listSharesIncludeSnapshots.json b/storage/client/file/src/test/resources/session-records/listSharesIncludeSnapshots.json index 9274ad655d14a..b903937d0588e 100644 --- a/storage/client/file/src/test/resources/session-records/listSharesIncludeSnapshots.json +++ b/storage/client/file/src/test/resources/session-records/listSharesIncludeSnapshots.json @@ -1,102 +1,102 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share305309dc0?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share598295ec0?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CEE49A7FE\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:46 GMT", + "ETag" : "\"0x8D715220378850D\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781faa-001a-006b-0f75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:45 GMT" + "x-ms-request-id" : "9ebed200-b01a-000d-060a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share305309dc0?restype=share&comp=snapshot", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share598295ec0?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-23T16:43:46.0000000Z", + "x-ms-snapshot" : "2019-07-30T19:13:32.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CEE49A7FE\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:46 GMT", + "ETag" : "\"0x8D715220378850D\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781fac-001a-006b-1075-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:45 GMT" + "x-ms-request-id" : "9ebed202-b01a-000d-070a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share305309dc1?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share598295ec1?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CEE5A4CDF\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:46 GMT", + "ETag" : "\"0x8D7152203850B40\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781fad-001a-006b-1175-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:45 GMT" + "x-ms-request-id" : "9ebed203-b01a-000d-080a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share305309dc2?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share598295ec2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CEE6CC6C8\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:46 GMT", + "ETag" : "\"0x8D71522038A8AD6\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781faf-001a-006b-1275-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:45 GMT" + "x-ms-request-id" : "9ebed205-b01a-000d-090a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share305309dc2?restype=share&comp=snapshot", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share598295ec2?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-23T16:43:46.0000000Z", + "x-ms-snapshot" : "2019-07-30T19:13:32.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CEE6CC6C8\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:46 GMT", + "ETag" : "\"0x8D71522038A8AD6\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781fb1-001a-006b-1375-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:45 GMT" + "x-ms-request-id" : "9ebed207-b01a-000d-0a0a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share305309dc&include=snapshots&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share598295ec&include=snapshots&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -104,17 +104,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781fb2-001a-006b-1475-4192c4000000", - "Body" : "share305309dcshare305309dc02019-07-23T16:43:46.0000000ZTue, 23 Jul 2019 16:43:46 GMT\"0x8D70F8CEE49A7FE\"2share305309dc0Tue, 23 Jul 2019 16:43:46 GMT\"0x8D70F8CEE49A7FE\"2share305309dc1Tue, 23 Jul 2019 16:43:46 GMT\"0x8D70F8CEE5A4CDF\"2share305309dc22019-07-23T16:43:46.0000000ZTue, 23 Jul 2019 16:43:46 GMT\"0x8D70F8CEE6CC6C8\"2share305309dc2Tue, 23 Jul 2019 16:43:46 GMT\"0x8D70F8CEE6CC6C8\"2", - "Date" : "Tue, 23 Jul 2019 16:43:45 GMT", + "x-ms-request-id" : "9ebed208-b01a-000d-0b0a-47df7a000000", + "Body" : "share598295ecshare598295ec02019-07-30T19:13:32.0000000ZTue, 30 Jul 2019 19:13:32 GMT\"0x8D715220378850D\"2share598295ec0Tue, 30 Jul 2019 19:13:32 GMT\"0x8D715220378850D\"2share598295ec1Tue, 30 Jul 2019 19:13:32 GMT\"0x8D7152203850B40\"2share598295ec22019-07-30T19:13:32.0000000ZTue, 30 Jul 2019 19:13:32 GMT\"0x8D71522038A8AD6\"2share598295ec2Tue, 30 Jul 2019 19:13:32 GMT\"0x8D71522038A8AD6\"2", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share305309dc&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share598295ec&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -122,17 +122,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781fb3-001a-006b-1575-4192c4000000", - "Body" : "share305309dcshare305309dc0Tue, 23 Jul 2019 16:43:46 GMT\"0x8D70F8CEE49A7FE\"2share305309dc1Tue, 23 Jul 2019 16:43:46 GMT\"0x8D70F8CEE5A4CDF\"2share305309dc2Tue, 23 Jul 2019 16:43:46 GMT\"0x8D70F8CEE6CC6C8\"2", - "Date" : "Tue, 23 Jul 2019 16:43:45 GMT", + "x-ms-request-id" : "9ebed209-b01a-000d-0c0a-47df7a000000", + "Body" : "share598295ecshare598295ec0Tue, 30 Jul 2019 19:13:32 GMT\"0x8D715220378850D\"2share598295ec1Tue, 30 Jul 2019 19:13:32 GMT\"0x8D7152203850B40\"2share598295ec2Tue, 30 Jul 2019 19:13:32 GMT\"0x8D71522038A8AD6\"2", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share305309dc0?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share598295ec0?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -141,17 +141,17 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "a4781fb4-001a-006b-1675-4192c4000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:a4781fb4-001a-006b-1675-4192c4000000\nTime:2019-07-23T16:43:46.8250278Z", - "Date" : "Tue, 23 Jul 2019 16:43:45 GMT", + "x-ms-request-id" : "9ebed20a-b01a-000d-0d0a-47df7a000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:9ebed20a-b01a-000d-0d0a-47df7a000000\nTime:2019-07-30T19:13:33.0058344Z", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share305309dc1?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share598295ec1?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -159,15 +159,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781fb5-001a-006b-1775-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:45 GMT" + "x-ms-request-id" : "9ebed20b-b01a-000d-0e0a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share305309dc2?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share598295ec2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -176,11 +176,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "a4781fb6-001a-006b-1875-4192c4000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:a4781fb6-001a-006b-1875-4192c4000000\nTime:2019-07-23T16:43:46.9331058Z", - "Date" : "Tue, 23 Jul 2019 16:43:45 GMT", + "x-ms-request-id" : "9ebed20c-b01a-000d-0f0a-47df7a000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:9ebed20c-b01a-000d-0f0a-47df7a000000\nTime:2019-07-30T19:13:33.0829066Z", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share305309dc" ] + "variables" : [ "share598295ec" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/listSharesInvalidMaxResults.json b/storage/client/file/src/test/resources/session-records/listSharesInvalidMaxResults.json index 82d415fce89ee..2beb5fd80fa42 100644 --- a/storage/client/file/src/test/resources/session-records/listSharesInvalidMaxResults.json +++ b/storage/client/file/src/test/resources/session-records/listSharesInvalidMaxResults.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share557594ed&maxresults=-1&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share85200d7d&maxresults=-1&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "461", "StatusCode" : "400", - "x-ms-request-id" : "a4781fe0-001a-006b-3775-4192c4000000", - "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:a4781fe0-001a-006b-3775-4192c4000000\nTime:2019-07-23T16:43:48.6823538Zmaxresults-112147483647", - "Date" : "Tue, 23 Jul 2019 16:43:47 GMT", + "x-ms-request-id" : "9ebed237-b01a-000d-2f0a-47df7a000000", + "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:9ebed237-b01a-000d-2f0a-47df7a000000\nTime:2019-07-30T19:13:34.7895274Zmaxresults-112147483647", + "Date" : "Tue, 30 Jul 2019 19:13:34 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share557594ed&maxresults=0&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share85200d7d&maxresults=0&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -32,17 +32,17 @@ "retry-after" : "0", "Content-Length" : "460", "StatusCode" : "400", - "x-ms-request-id" : "a4781fe1-001a-006b-3875-4192c4000000", - "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:a4781fe1-001a-006b-3875-4192c4000000\nTime:2019-07-23T16:43:48.7303877Zmaxresults012147483647", - "Date" : "Tue, 23 Jul 2019 16:43:47 GMT", + "x-ms-request-id" : "9ebed238-b01a-000d-300a-47df7a000000", + "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:9ebed238-b01a-000d-300a-47df7a000000\nTime:2019-07-30T19:13:34.8155527Zmaxresults012147483647", + "Date" : "Tue, 30 Jul 2019 19:13:34 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share557594ed&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share85200d7d&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -50,11 +50,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781fe2-001a-006b-3975-4192c4000000", - "Body" : "share557594ed", - "Date" : "Tue, 23 Jul 2019 16:43:47 GMT", + "x-ms-request-id" : "9ebed239-b01a-000d-310a-47df7a000000", + "Body" : "share85200d7d", + "Date" : "Tue, 30 Jul 2019 19:13:34 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share557594ed" ] + "variables" : [ "share85200d7d" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/listSharesWithLimit.json b/storage/client/file/src/test/resources/session-records/listSharesWithLimit.json index ba78ebd77bdae..6be5b68ae78af 100644 --- a/storage/client/file/src/test/resources/session-records/listSharesWithLimit.json +++ b/storage/client/file/src/test/resources/session-records/listSharesWithLimit.json @@ -1,64 +1,64 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share058285ff0?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share259041ce0?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CECCDBF15\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:43 GMT", + "ETag" : "\"0x8D71522018BF475\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781f6c-001a-006b-6075-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:42 GMT" + "x-ms-request-id" : "9ebed1bf-b01a-000d-570a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:29 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share058285ff1?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share259041ce1?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CECD62507\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:43 GMT", + "ETag" : "\"0x8D7152201A10830\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781f6e-001a-006b-6175-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:42 GMT" + "x-ms-request-id" : "9ebed1c2-b01a-000d-580a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:29 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share058285ff2?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share259041ce2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CECDDC795\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:44 GMT", + "ETag" : "\"0x8D7152201A6AEE5\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781f70-001a-006b-6275-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:43 GMT" + "x-ms-request-id" : "9ebed1c4-b01a-000d-590a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:29 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share058285ff&maxresults=2&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share259041ce&maxresults=2&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -66,17 +66,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781f72-001a-006b-6375-4192c4000000", - "Body" : "share058285ff2share058285ff0Tue, 23 Jul 2019 16:43:43 GMT\"0x8D70F8CECCDBF15\"2share058285ff1Tue, 23 Jul 2019 16:43:43 GMT\"0x8D70F8CECD62507\"2/sima/share058285ff2", - "Date" : "Tue, 23 Jul 2019 16:43:43 GMT", + "x-ms-request-id" : "9ebed1c6-b01a-000d-5a0a-47df7a000000", + "Body" : "share259041ce2share259041ce0Tue, 30 Jul 2019 19:13:29 GMT\"0x8D71522018BF475\"2share259041ce1Tue, 30 Jul 2019 19:13:29 GMT\"0x8D7152201A10830\"2/azstoragesdkaccount/share259041ce2", + "Date" : "Tue, 30 Jul 2019 19:13:30 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share058285ff&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share259041ce&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -84,17 +84,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781f73-001a-006b-6475-4192c4000000", - "Body" : "share058285ffshare058285ff0Tue, 23 Jul 2019 16:43:43 GMT\"0x8D70F8CECCDBF15\"2share058285ff1Tue, 23 Jul 2019 16:43:43 GMT\"0x8D70F8CECD62507\"2share058285ff2Tue, 23 Jul 2019 16:43:44 GMT\"0x8D70F8CECDDC795\"2", - "Date" : "Tue, 23 Jul 2019 16:43:43 GMT", + "x-ms-request-id" : "9ebed1c9-b01a-000d-5c0a-47df7a000000", + "Body" : "share259041ceshare259041ce0Tue, 30 Jul 2019 19:13:29 GMT\"0x8D71522018BF475\"2share259041ce1Tue, 30 Jul 2019 19:13:29 GMT\"0x8D7152201A10830\"2share259041ce2Tue, 30 Jul 2019 19:13:29 GMT\"0x8D7152201A6AEE5\"2", + "Date" : "Tue, 30 Jul 2019 19:13:30 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share058285ff0?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share259041ce0?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -102,15 +102,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781f74-001a-006b-6575-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:43 GMT" + "x-ms-request-id" : "9ebed1ca-b01a-000d-5d0a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:30 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share058285ff1?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share259041ce1?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -118,15 +118,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781f75-001a-006b-6675-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:43 GMT" + "x-ms-request-id" : "9ebed1cb-b01a-000d-5e0a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:30 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share058285ff2?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share259041ce2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -134,9 +134,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781f76-001a-006b-6775-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:43 GMT" + "x-ms-request-id" : "9ebed1cc-b01a-000d-5f0a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:30 GMT" } } ], - "variables" : [ "share058285ff" ] + "variables" : [ "share259041ce" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/listSharesWithPrefix.json b/storage/client/file/src/test/resources/session-records/listSharesWithPrefix.json index eec9f6affa44f..c103a309d2c63 100644 --- a/storage/client/file/src/test/resources/session-records/listSharesWithPrefix.json +++ b/storage/client/file/src/test/resources/session-records/listSharesWithPrefix.json @@ -1,64 +1,64 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share98599009prefix0?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share71892b6fprefix0?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CEEA9B3D7\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:47 GMT", + "ETag" : "\"0x8D7152203B43D11\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781fb7-001a-006b-1975-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:46 GMT" + "x-ms-request-id" : "9ebed20d-b01a-000d-100a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share985990091?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share71892b6f1?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CEEB48B44\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:47 GMT", + "ETag" : "\"0x8D7152203BA0ACA\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781fb9-001a-006b-1a75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:46 GMT" + "x-ms-request-id" : "9ebed20f-b01a-000d-110a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share98599009prefix2?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share71892b6fprefix2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CEEBC7BF7\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:43:47 GMT", + "ETag" : "\"0x8D7152203BF3C3A\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:13:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781fbb-001a-006b-1b75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:46 GMT" + "x-ms-request-id" : "9ebed212-b01a-000d-130a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share98599009prefix&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share71892b6fprefix&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -66,17 +66,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781fbd-001a-006b-1c75-4192c4000000", - "Body" : "share98599009prefixshare98599009prefix0Tue, 23 Jul 2019 16:43:47 GMT\"0x8D70F8CEEA9B3D7\"2share98599009prefix2Tue, 23 Jul 2019 16:43:47 GMT\"0x8D70F8CEEBC7BF7\"2", - "Date" : "Tue, 23 Jul 2019 16:43:46 GMT", + "x-ms-request-id" : "9ebed214-b01a-000d-140a-47df7a000000", + "Body" : "share71892b6fprefixshare71892b6fprefix0Tue, 30 Jul 2019 19:13:33 GMT\"0x8D7152203B43D11\"2share71892b6fprefix2Tue, 30 Jul 2019 19:13:33 GMT\"0x8D7152203BF3C3A\"2", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share98599009&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share71892b6f&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -84,17 +84,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781fbe-001a-006b-1d75-4192c4000000", - "Body" : "share98599009share985990091Tue, 23 Jul 2019 16:43:47 GMT\"0x8D70F8CEEB48B44\"2share98599009prefix0Tue, 23 Jul 2019 16:43:47 GMT\"0x8D70F8CEEA9B3D7\"2share98599009prefix2Tue, 23 Jul 2019 16:43:47 GMT\"0x8D70F8CEEBC7BF7\"2", - "Date" : "Tue, 23 Jul 2019 16:43:46 GMT", + "x-ms-request-id" : "9ebed216-b01a-000d-150a-47df7a000000", + "Body" : "share71892b6fshare71892b6f1Tue, 30 Jul 2019 19:13:33 GMT\"0x8D7152203BA0ACA\"2share71892b6fprefix0Tue, 30 Jul 2019 19:13:33 GMT\"0x8D7152203B43D11\"2share71892b6fprefix2Tue, 30 Jul 2019 19:13:33 GMT\"0x8D7152203BF3C3A\"2", + "Date" : "Tue, 30 Jul 2019 19:13:32 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share985990091?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share71892b6f1?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -102,15 +102,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781fbf-001a-006b-1e75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:46 GMT" + "x-ms-request-id" : "9ebed217-b01a-000d-160a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:33 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share98599009prefix0?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share71892b6fprefix0?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -118,15 +118,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781fc0-001a-006b-1f75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:46 GMT" + "x-ms-request-id" : "9ebed218-b01a-000d-170a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:33 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share98599009prefix2?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share71892b6fprefix2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -134,9 +134,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781fc1-001a-006b-2075-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:46 GMT" + "x-ms-request-id" : "9ebed219-b01a-000d-180a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:33 GMT" } } ], - "variables" : [ "share98599009" ] + "variables" : [ "share71892b6f" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setFileServiceProperties.json b/storage/client/file/src/test/resources/session-records/setFileServiceProperties.json index c72087f424609..2e0fc5377a60f 100644 --- a/storage/client/file/src/test/resources/session-records/setFileServiceProperties.json +++ b/storage/client/file/src/test/resources/session-records/setFileServiceProperties.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?restype=service&comp=properties", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -12,17 +12,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781fcf-001a-006b-2b75-4192c4000000", + "x-ms-request-id" : "9ebed227-b01a-000d-230a-47df7a000000", "Body" : "1.0truetruetrue71.0falsefalse", - "Date" : "Tue, 23 Jul 2019 16:43:47 GMT", + "Date" : "Tue, 30 Jul 2019 19:13:33 GMT", "Content-Type" : "application/xml" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net?restype=service&comp=properties", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -31,15 +31,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781fd0-001a-006b-2c75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:47 GMT" + "x-ms-request-id" : "9ebed228-b01a-000d-240a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:34 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?restype=service&comp=properties", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -47,17 +47,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781fd5-001a-006b-2d75-4192c4000000", + "x-ms-request-id" : "9ebed22d-b01a-000d-250a-47df7a000000", "Body" : "1.0truefalsetrue31.0truefalsetrue3", - "Date" : "Tue, 23 Jul 2019 16:43:47 GMT", + "Date" : "Tue, 30 Jul 2019 19:13:34 GMT", "Content-Type" : "application/xml" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net?restype=service&comp=properties", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -66,15 +66,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781fd6-001a-006b-2e75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:43:47 GMT" + "x-ms-request-id" : "9ebed22e-b01a-000d-260a-47df7a000000", + "Date" : "Tue, 30 Jul 2019 19:13:34 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?restype=service&comp=properties", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -82,17 +82,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781fd7-001a-006b-2f75-4192c4000000", + "x-ms-request-id" : "9ebed22f-b01a-000d-270a-47df7a000000", "Body" : "1.0truetruetrue71.0falsefalse", - "Date" : "Tue, 23 Jul 2019 16:43:47 GMT", + "Date" : "Tue, 30 Jul 2019 19:13:34 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share6218730e&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share33310c2f&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -100,11 +100,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781fd8-001a-006b-3075-4192c4000000", - "Body" : "share6218730e", - "Date" : "Tue, 23 Jul 2019 16:43:47 GMT", + "x-ms-request-id" : "9ebed230-b01a-000d-280a-47df7a000000", + "Body" : "share33310c2f", + "Date" : "Tue, 30 Jul 2019 19:13:34 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share6218730e" ] + "variables" : [ "share33310c2f" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setHttpHeadersFromFileClient.json b/storage/client/file/src/test/resources/session-records/setHttpHeadersFromFileClient.json index 2c2ad20a05635..8d4483aa1aa1e 100644 --- a/storage/client/file/src/test/resources/session-records/setHttpHeadersFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/setHttpHeadersFromFileClient.json @@ -1,42 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile81885521", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile12606bdf", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C3EAD5747\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:51 GMT", + "ETag" : "\"0x8D715215077D535\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781c33-001a-006b-3875-4192c4000000", + "x-ms-request-id" : "7f75df88-301a-00db-0a0a-4794a0000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:38:51 GMT" + "Date" : "Tue, 30 Jul 2019 19:08:31 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile81885521?comp=properties", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile12606bdf?comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C3EB5962E\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:51 GMT", + "ETag" : "\"0x8D71521508089E4\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781c34-001a-006b-3975-4192c4000000", + "x-ms-request-id" : "7f75df89-301a-00db-0b0a-4794a0000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:38:51 GMT" + "Date" : "Tue, 30 Jul 2019 19:08:31 GMT" } } ], - "variables" : [ "file81885521" ] + "variables" : [ "file12606bdf" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setMeatadataFromFileClient.json b/storage/client/file/src/test/resources/session-records/setMeatadataFromFileClient.json index 636ea1308eec5..b234518e7cf3d 100644 --- a/storage/client/file/src/test/resources/session-records/setMeatadataFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/setMeatadataFromFileClient.json @@ -1,42 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile571383d4", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile70778cc8", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C3ECFB295\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:51 GMT", + "ETag" : "\"0x8D71521509A0B80\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781c37-001a-006b-3c75-4192c4000000", + "x-ms-request-id" : "7f75df8c-301a-00db-0e0a-4794a0000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:38:51 GMT" + "Date" : "Tue, 30 Jul 2019 19:08:31 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile571383d4?comp=metadata", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile70778cc8?comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C3ED81888\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:52 GMT", + "ETag" : "\"0x8D7152150A1AE7A\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781c38-001a-006b-3d75-4192c4000000", + "x-ms-request-id" : "7f75df8d-301a-00db-0f0a-4794a0000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:38:51 GMT" + "Date" : "Tue, 30 Jul 2019 19:08:31 GMT" } } ], - "variables" : [ "file571383d4" ] + "variables" : [ "file70778cc8" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setMetadataDoesNotExistFromShareClient.json b/storage/client/file/src/test/resources/session-records/setMetadataDoesNotExistFromShareClient.json index a5c5b574deedc..87a7fd88db4e8 100644 --- a/storage/client/file/src/test/resources/session-records/setMetadataDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/setMetadataDoesNotExistFromShareClient.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share7646218d?restype=share&comp=metadata", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share39749379?restype=share&comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781dbb-001a-006b-7675-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781dbb-001a-006b-7675-4192c4000000\nTime:2019-07-23T16:41:16.3775365Z", - "Date" : "Tue, 23 Jul 2019 16:41:15 GMT", + "x-ms-request-id" : "260a2b10-901a-0077-430a-47b537000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:260a2b10-901a-0077-430a-47b537000000\nTime:2019-07-30T19:10:58.7609132Z", + "Date" : "Tue, 30 Jul 2019 19:10:58 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share7646218d?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share39749379?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781dbc-001a-006b-7775-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781dbc-001a-006b-7775-4192c4000000\nTime:2019-07-23T16:41:16.4265718Z", - "Date" : "Tue, 23 Jul 2019 16:41:15 GMT", + "x-ms-request-id" : "260a2b11-901a-0077-440a-47b537000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:260a2b11-901a-0077-440a-47b537000000\nTime:2019-07-30T19:10:58.7909414Z", + "Date" : "Tue, 30 Jul 2019 19:10:58 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share7646218d" ] + "variables" : [ "share39749379" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setMetadataFromDirClient.json b/storage/client/file/src/test/resources/session-records/setMetadataFromDirClient.json index 6ecfa9d794603..7bc79062363c0 100644 --- a/storage/client/file/src/test/resources/session-records/setMetadataFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/setMetadataFromDirClient.json @@ -1,42 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory54792b?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory183331?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB5439FA6\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:10 GMT", + "ETag" : "\"0x8D71521C9B3AFB2\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:55 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781ebc-001a-006b-1475-4192c4000000", + "x-ms-request-id" : "260a2c14-901a-0077-630a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:09 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:55 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory54792b?restype=directory&comp=metadata", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory183331?restype=directory&comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB54B9056\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:10 GMT", + "ETag" : "\"0x8D71521C9BBEF19\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:55 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781ebd-001a-006b-1575-4192c4000000", + "x-ms-request-id" : "260a2c15-901a-0077-640a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:09 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:55 GMT" } } ], - "variables" : [ "directory54792b" ] + "variables" : [ "directory183331" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setMetadataFromShareClient.json b/storage/client/file/src/test/resources/session-records/setMetadataFromShareClient.json index 51d3bce22d346..9f443d394def5 100644 --- a/storage/client/file/src/test/resources/session-records/setMetadataFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/setMetadataFromShareClient.json @@ -1,68 +1,68 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share75460f03?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share75652b90?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C790176C5\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:29 GMT", + "ETag" : "\"0x8D715218A2F8018\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d4d-001a-006b-4c75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:28 GMT" + "x-ms-request-id" : "7f75e08e-301a-00db-190a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share75460f03?restype=share&comp=metadata", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share75652b90?restype=share&comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C79099325\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:29 GMT", + "ETag" : "\"0x8D715218A363931\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781d4f-001a-006b-4d75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:28 GMT" + "x-ms-request-id" : "7f75e090-301a-00db-1a0a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share75460f03?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share75652b90?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:29 GMT", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:09 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 23 Jul 2019 16:40:29 GMT", + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "5120", - "ETag" : "\"0x8D70F8C79099325\"", + "ETag" : "\"0x8D715218A363931\"", "x-ms-has-immutability-policy" : "false", "x-ms-meta-setting" : "metadata", "Content-Length" : "0", - "x-ms-request-id" : "a4781d50-001a-006b-4e75-4192c4000000" + "x-ms-request-id" : "7f75e091-301a-00db-1b0a-4794a0000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share75460f03?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share75652b90?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -70,9 +70,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781d51-001a-006b-4f75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:29 GMT" + "x-ms-request-id" : "7f75e092-301a-00db-1c0a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT" } } ], - "variables" : [ "share75460f03" ] + "variables" : [ "share75652b90" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setMetadataInvalidKeyFromDirClient.json b/storage/client/file/src/test/resources/session-records/setMetadataInvalidKeyFromDirClient.json index ca338623cd5ab..3e6a99736af3e 100644 --- a/storage/client/file/src/test/resources/session-records/setMetadataInvalidKeyFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/setMetadataInvalidKeyFromDirClient.json @@ -1,29 +1,29 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory04212f?restype=directory", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory858094?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8CB53321EA\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:42:10 GMT", + "ETag" : "\"0x8D71521C9A2948A\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:55 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781eba-001a-006b-1275-4192c4000000", + "x-ms-request-id" : "260a2c12-901a-0077-610a-47b537000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:42:09 GMT" + "Date" : "Tue, 30 Jul 2019 19:11:55 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory04212f?restype=directory&comp=metadata", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/dirsharename/directory858094?restype=directory&comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "260", "StatusCode" : "400", - "x-ms-request-id" : "a4781ebb-001a-006b-1375-4192c4000000", - "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:a4781ebb-001a-006b-1375-4192c4000000\nTime:2019-07-23T16:42:10.6604019Z", - "Date" : "Tue, 23 Jul 2019 16:42:09 GMT", + "x-ms-request-id" : "260a2c13-901a-0077-620a-47b537000000", + "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:260a2c13-901a-0077-620a-47b537000000\nTime:2019-07-30T19:11:55.7765485Z", + "Date" : "Tue, 30 Jul 2019 19:11:55 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "directory04212f" ] + "variables" : [ "directory858094" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setMetadataInvalidMetadataFromShareClient.json b/storage/client/file/src/test/resources/session-records/setMetadataInvalidMetadataFromShareClient.json index 993c6b5ed18c0..7d7b382328f39 100644 --- a/storage/client/file/src/test/resources/session-records/setMetadataInvalidMetadataFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/setMetadataInvalidMetadataFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share911321d2?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share52103857?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C95EA6042\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:18 GMT", + "ETag" : "\"0x8D71521A9FDB6DE\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781dde-001a-006b-1175-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:17 GMT" + "x-ms-request-id" : "260a2b39-901a-0077-600a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:11:02 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share911321d2?restype=share&comp=metadata", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share52103857?restype=share&comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "281", "StatusCode" : "400", - "x-ms-request-id" : "a4781de1-001a-006b-1275-4192c4000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:a4781de1-001a-006b-1275-4192c4000000\nTime:2019-07-23T16:41:18.1748228Zmetadata", - "Date" : "Tue, 23 Jul 2019 16:41:17 GMT", + "x-ms-request-id" : "260a2b3b-901a-0077-610a-47b537000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:260a2b3b-901a-0077-610a-47b537000000\nTime:2019-07-30T19:11:02.6625831Zmetadata", + "Date" : "Tue, 30 Jul 2019 19:11:02 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share911321d2?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share52103857?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781de2-001a-006b-1375-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:17 GMT" + "x-ms-request-id" : "260a2b3c-901a-0077-620a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:11:02 GMT" } } ], - "variables" : [ "share911321d2" ] + "variables" : [ "share52103857" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setPolicies.json b/storage/client/file/src/test/resources/session-records/setPolicies.json index a5247ae91c9ee..4c58ad1d9bd62 100644 --- a/storage/client/file/src/test/resources/session-records/setPolicies.json +++ b/storage/client/file/src/test/resources/session-records/setPolicies.json @@ -1,67 +1,67 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share62017f60?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share554792f6?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C7703C30B\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:26 GMT", + "ETag" : "\"0x8D715218881B367\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d05-001a-006b-1475-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:25 GMT" + "x-ms-request-id" : "7f75e045-301a-00db-630a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:06 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share62017f60?restype=share&comp=acl", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share554792f6?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C770BDF57\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:26 GMT", + "ETag" : "\"0x8D71521888930E8\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781d07-001a-006b-1575-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:25 GMT" + "x-ms-request-id" : "7f75e048-301a-00db-640a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:06 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share62017f60?restype=share&comp=acl", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share554792f6?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C770BDF57\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:26 GMT", + "ETag" : "\"0x8D71521888930E8\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:06 GMT", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781d08-001a-006b-1675-4192c4000000", + "x-ms-request-id" : "7f75e049-301a-00db-650a-4794a0000000", "Body" : "test2000-01-01T00:00:00.0000000Z2020-01-01T00:00:00.0000000Zr", - "Date" : "Tue, 23 Jul 2019 16:40:25 GMT", + "Date" : "Tue, 30 Jul 2019 19:10:06 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share62017f60?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share554792f6?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -69,9 +69,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781d09-001a-006b-1775-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:25 GMT" + "x-ms-request-id" : "7f75e04a-301a-00db-660a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:06 GMT" } } ], - "variables" : [ "share62017f60" ] + "variables" : [ "share554792f6" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setPoliciesDoesNotExist.json b/storage/client/file/src/test/resources/session-records/setPoliciesDoesNotExist.json index 6f5ee4c9407d8..ac5c956d274ed 100644 --- a/storage/client/file/src/test/resources/session-records/setPoliciesDoesNotExist.json +++ b/storage/client/file/src/test/resources/session-records/setPoliciesDoesNotExist.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share49743cbd?restype=share&comp=acl", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share10194f73?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -14,17 +14,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781d43-001a-006b-4475-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781d43-001a-006b-4475-4192c4000000\nTime:2019-07-23T16:40:29.1508343Z", - "Date" : "Tue, 23 Jul 2019 16:40:28 GMT", + "x-ms-request-id" : "7f75e083-301a-00db-110a-4794a0000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:7f75e083-301a-00db-110a-4794a0000000\nTime:2019-07-30T19:10:08.7081930Z", + "Date" : "Tue, 30 Jul 2019 19:10:08 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share49743cbd?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share10194f73?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -33,11 +33,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781d44-001a-006b-4575-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781d44-001a-006b-4575-4192c4000000\nTime:2019-07-23T16:40:29.2008691Z", - "Date" : "Tue, 23 Jul 2019 16:40:28 GMT", + "x-ms-request-id" : "7f75e084-301a-00db-120a-4794a0000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:7f75e084-301a-00db-120a-4794a0000000\nTime:2019-07-30T19:10:08.7382231Z", + "Date" : "Tue, 30 Jul 2019 19:10:08 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share49743cbd" ] + "variables" : [ "share10194f73" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setPoliciesInvalidPermission.json b/storage/client/file/src/test/resources/session-records/setPoliciesInvalidPermission.json index f8c215e0dc597..715ea390de82c 100644 --- a/storage/client/file/src/test/resources/session-records/setPoliciesInvalidPermission.json +++ b/storage/client/file/src/test/resources/session-records/setPoliciesInvalidPermission.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share2144443e?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share990513c2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C949D09C9\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:15 GMT", + "ETag" : "\"0x8D71521A5BA17CE\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:55 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781db0-001a-006b-6e75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:15 GMT" + "x-ms-request-id" : "7f75e0de-301a-00db-3a0a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:55 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share2144443e?restype=share&comp=acl", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share990513c2?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -32,27 +32,28 @@ "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "a4781db2-001a-006b-6f75-4192c4000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:a4781db2-001a-006b-6f75-4192c4000000\nTime:2019-07-23T16:41:15.9892600Z00", - "Date" : "Tue, 23 Jul 2019 16:41:15 GMT", + "x-ms-request-id" : "7f75e0e0-301a-00db-3b0a-4794a0000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:7f75e0e0-301a-00db-3b0a-4794a0000000\nTime:2019-07-30T19:10:55.5105372Z00", + "Date" : "Tue, 30 Jul 2019 19:10:55 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share2144443e?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share990513c2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "Connection" : "close", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781db3-001a-006b-7075-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:15 GMT" + "x-ms-request-id" : "7f75e0e1-301a-00db-3c0a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:55 GMT" } } ], - "variables" : [ "share2144443e" ] + "variables" : [ "share990513c2" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setPoliciesTooManyPermissions.json b/storage/client/file/src/test/resources/session-records/setPoliciesTooManyPermissions.json index 1e66291217bae..d573484b4abda 100644 --- a/storage/client/file/src/test/resources/session-records/setPoliciesTooManyPermissions.json +++ b/storage/client/file/src/test/resources/session-records/setPoliciesTooManyPermissions.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share28227ac8?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share16077c14?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C77EA7C99\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:27 GMT", + "ETag" : "\"0x8D715218949057A\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d26-001a-006b-2e75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:27 GMT" + "x-ms-request-id" : "7f75e067-301a-00db-7d0a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share28227ac8?restype=share&comp=acl", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share16077c14?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -32,17 +32,17 @@ "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "a4781d29-001a-006b-3075-4192c4000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:a4781d29-001a-006b-3075-4192c4000000\nTime:2019-07-23T16:40:27.8429018Z00", - "Date" : "Tue, 23 Jul 2019 16:40:27 GMT", + "x-ms-request-id" : "7f75e069-301a-00db-7e0a-4794a0000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:7f75e069-301a-00db-7e0a-4794a0000000\nTime:2019-07-30T19:10:07.8003122Z00", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share28227ac8?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share16077c14?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -50,9 +50,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781d2b-001a-006b-3275-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:27 GMT" + "x-ms-request-id" : "7f75e06a-301a-00db-7f0a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT" } } ], - "variables" : [ "share28227ac8" ] + "variables" : [ "share16077c14" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setPropertiesDoesNotExistFromShareClient.json b/storage/client/file/src/test/resources/session-records/setPropertiesDoesNotExistFromShareClient.json index 61be09fe38782..1f9aa5404995e 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesDoesNotExistFromShareClient.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share74233b07?restype=share&comp=properties", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share804506e6?restype=share&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781dd6-001a-006b-0a75-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781dd6-001a-006b-0a75-4192c4000000\nTime:2019-07-23T16:41:17.7485158Z", - "Date" : "Tue, 23 Jul 2019 16:41:16 GMT", + "x-ms-request-id" : "260a2b31-901a-0077-590a-47b537000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:260a2b31-901a-0077-590a-47b537000000\nTime:2019-07-30T19:11:02.3733121Z", + "Date" : "Tue, 30 Jul 2019 19:11:02 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share74233b07?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share804506e6?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781dd7-001a-006b-0b75-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781dd7-001a-006b-0b75-4192c4000000\nTime:2019-07-23T16:41:17.7975514Z", - "Date" : "Tue, 23 Jul 2019 16:41:17 GMT", + "x-ms-request-id" : "260a2b32-901a-0077-5a0a-47b537000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:260a2b32-901a-0077-5a0a-47b537000000\nTime:2019-07-30T19:11:02.4103463Z", + "Date" : "Tue, 30 Jul 2019 19:11:02 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share74233b07" ] + "variables" : [ "share804506e6" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setPropertiesFromShareClient.json b/storage/client/file/src/test/resources/session-records/setPropertiesFromShareClient.json index e137e0a5800e6..a57945bad8b79 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesFromShareClient.json @@ -1,88 +1,88 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share71347507?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share291723a2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C95C1E93A\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:17 GMT", + "ETag" : "\"0x8D71521A9E23903\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781dd8-001a-006b-0c75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:17 GMT" + "x-ms-request-id" : "260a2b33-901a-0077-5b0a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:11:02 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share71347507?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share291723a2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "x-ms-share-quota" : "2", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C95C1E93A\"", + "ETag" : "\"0x8D71521A9E23903\"", "x-ms-has-immutability-policy" : "false", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:17 GMT", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781dda-001a-006b-0d75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:17 GMT", + "x-ms-request-id" : "260a2b35-901a-0077-5c0a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:11:02 GMT", "x-ms-has-legal-hold" : "false" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share71347507?restype=share&comp=properties", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share291723a2?restype=share&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C95D17F11\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:17 GMT", + "ETag" : "\"0x8D71521A9EC63FB\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781ddb-001a-006b-0e75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:17 GMT" + "x-ms-request-id" : "260a2b36-901a-0077-5d0a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:11:02 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share71347507?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share291723a2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "x-ms-share-quota" : "4", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C95D17F11\"", + "ETag" : "\"0x8D71521A9EC63FB\"", "x-ms-has-immutability-policy" : "false", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:17 GMT", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781ddc-001a-006b-0f75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:17 GMT", + "x-ms-request-id" : "260a2b37-901a-0077-5e0a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:11:02 GMT", "x-ms-has-legal-hold" : "false" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share71347507?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share291723a2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -90,9 +90,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781ddd-001a-006b-1075-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:17 GMT" + "x-ms-request-id" : "260a2b38-901a-0077-5f0a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:11:02 GMT" } } ], - "variables" : [ "share71347507" ] + "variables" : [ "share291723a2" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedHeader.json b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedHeader.json index 64f1db166613b..9b0443b1009a1 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedHeader.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedHeader.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net?restype=service&comp=properties", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -14,17 +14,17 @@ "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "a4781fc2-001a-006b-2175-4192c4000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:a4781fc2-001a-006b-2175-4192c4000000\nTime:2019-07-23T16:43:47.4734913Z00", - "Date" : "Tue, 23 Jul 2019 16:43:46 GMT", + "x-ms-request-id" : "9ebed21a-b01a-000d-190a-47df7a000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:9ebed21a-b01a-000d-190a-47df7a000000\nTime:2019-07-30T19:13:33.4682715Z00", + "Date" : "Tue, 30 Jul 2019 19:13:33 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share42833eb8&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share515698b3&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -32,11 +32,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781fc3-001a-006b-2275-4192c4000000", - "Body" : "share42833eb8", - "Date" : "Tue, 23 Jul 2019 16:43:46 GMT", + "x-ms-request-id" : "9ebed21b-b01a-000d-1a0a-47df7a000000", + "Body" : "share515698b3", + "Date" : "Tue, 30 Jul 2019 19:13:33 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share42833eb8" ] + "variables" : [ "share515698b3" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedMethod.json b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedMethod.json index bde0f4c241c81..2774b86d722cb 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedMethod.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedMethod.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net?restype=service&comp=properties", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -14,17 +14,17 @@ "retry-after" : "0", "Content-Length" : "340", "StatusCode" : "400", - "x-ms-request-id" : "a4781fd9-001a-006b-3175-4192c4000000", - "Body" : "InvalidXmlNodeValueThe value for one of the XML nodes is not in the correct format.\nRequestId:a4781fd9-001a-006b-3175-4192c4000000\nTime:2019-07-23T16:43:48.3661282ZAllowedMethodsNOTAREALHTTPMETHOD", - "Date" : "Tue, 23 Jul 2019 16:43:47 GMT", + "x-ms-request-id" : "9ebed231-b01a-000d-290a-47df7a000000", + "Body" : "InvalidXmlNodeValueThe value for one of the XML nodes is not in the correct format.\nRequestId:9ebed231-b01a-000d-290a-47df7a000000\nTime:2019-07-30T19:13:34.5983455ZAllowedMethodsNOTAREALHTTPMETHOD", + "Date" : "Tue, 30 Jul 2019 19:13:34 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share26492564&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share33180966&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -32,11 +32,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781fda-001a-006b-3275-4192c4000000", - "Body" : "share26492564", - "Date" : "Tue, 23 Jul 2019 16:43:47 GMT", + "x-ms-request-id" : "9ebed232-b01a-000d-2a0a-47df7a000000", + "Body" : "share33180966", + "Date" : "Tue, 30 Jul 2019 19:13:34 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share26492564" ] + "variables" : [ "share33180966" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedOrigin.json b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedOrigin.json index fa758d47e3eff..942aba65db1b6 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedOrigin.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedOrigin.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net?restype=service&comp=properties", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -14,17 +14,17 @@ "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "a4781fdc-001a-006b-3375-4192c4000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:a4781fdc-001a-006b-3375-4192c4000000\nTime:2019-07-23T16:43:48.4682010Z00", - "Date" : "Tue, 23 Jul 2019 16:43:47 GMT", + "x-ms-request-id" : "9ebed233-b01a-000d-2b0a-47df7a000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:9ebed233-b01a-000d-2b0a-47df7a000000\nTime:2019-07-30T19:13:34.6614058Z00", + "Date" : "Tue, 30 Jul 2019 19:13:34 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share46216ea8&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share28616d87&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -32,11 +32,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781fdd-001a-006b-3475-4192c4000000", - "Body" : "share46216ea8", - "Date" : "Tue, 23 Jul 2019 16:43:47 GMT", + "x-ms-request-id" : "9ebed234-b01a-000d-2c0a-47df7a000000", + "Body" : "share28616d87", + "Date" : "Tue, 30 Jul 2019 19:13:34 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share46216ea8" ] + "variables" : [ "share28616d87" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidExposedHeader.json b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidExposedHeader.json index 9020928319556..949ad86ece866 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidExposedHeader.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidExposedHeader.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net?restype=service&comp=properties", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -14,17 +14,17 @@ "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "a4781fde-001a-006b-3575-4192c4000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:a4781fde-001a-006b-3575-4192c4000000\nTime:2019-07-23T16:43:48.5772777Z00", - "Date" : "Tue, 23 Jul 2019 16:43:47 GMT", + "x-ms-request-id" : "9ebed235-b01a-000d-2d0a-47df7a000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:9ebed235-b01a-000d-2d0a-47df7a000000\nTime:2019-07-30T19:13:34.7244657Z00", + "Date" : "Tue, 30 Jul 2019 19:13:34 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share66999f9c&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share3940172f&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -32,11 +32,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781fdf-001a-006b-3675-4192c4000000", - "Body" : "share66999f9c", - "Date" : "Tue, 23 Jul 2019 16:43:47 GMT", + "x-ms-request-id" : "9ebed236-b01a-000d-2e0a-47df7a000000", + "Body" : "share3940172f", + "Date" : "Tue, 30 Jul 2019 19:13:34 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share66999f9c" ] + "variables" : [ "share3940172f" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidQuotaFromShareClient.json b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidQuotaFromShareClient.json index 768a60b78cadd..2e6a1ceb5ca57 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidQuotaFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidQuotaFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share46729b2d?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share1339920e?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C788159EC\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:28 GMT", + "ETag" : "\"0x8D7152189B15717\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d3a-001a-006b-3d75-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:28 GMT" + "x-ms-request-id" : "7f75e07a-301a-00db-0a0a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:08 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share46729b2d?restype=share&comp=properties", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share1339920e?restype=share&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "324", "StatusCode" : "400", - "x-ms-request-id" : "a4781d3c-001a-006b-3e75-4192c4000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:a4781d3c-001a-006b-3e75-4192c4000000\nTime:2019-07-23T16:40:28.8296045Zx-ms-share-quota-1", - "Date" : "Tue, 23 Jul 2019 16:40:28 GMT", + "x-ms-request-id" : "7f75e07c-301a-00db-0b0a-4794a0000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:7f75e07c-301a-00db-0b0a-4794a0000000\nTime:2019-07-30T19:10:08.4799715Zx-ms-share-quota-1", + "Date" : "Tue, 30 Jul 2019 19:10:08 GMT", "Content-Type" : "application/xml" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share46729b2d?restype=share&comp=properties", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share1339920e?restype=share&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -50,17 +50,17 @@ "retry-after" : "0", "Content-Length" : "326", "StatusCode" : "400", - "x-ms-request-id" : "a4781d3d-001a-006b-3f75-4192c4000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:a4781d3d-001a-006b-3f75-4192c4000000\nTime:2019-07-23T16:40:28.8756373Zx-ms-share-quota9999", - "Date" : "Tue, 23 Jul 2019 16:40:28 GMT", + "x-ms-request-id" : "7f75e07d-301a-00db-0c0a-4794a0000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:7f75e07d-301a-00db-0c0a-4794a0000000\nTime:2019-07-30T19:10:08.5079992Zx-ms-share-quota9999", + "Date" : "Tue, 30 Jul 2019 19:10:08 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share46729b2d?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share1339920e?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -68,9 +68,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "a4781d3e-001a-006b-4075-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:28 GMT" + "x-ms-request-id" : "7f75e07e-301a-00db-0d0a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:08 GMT" } } ], - "variables" : [ "share46729b2d" ] + "variables" : [ "share1339920e" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setPropertiesTooManyRules.json b/storage/client/file/src/test/resources/session-records/setPropertiesTooManyRules.json index 885ff107c99ed..a5b7693f19ff0 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesTooManyRules.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesTooManyRules.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net?restype=service&comp=properties", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -14,17 +14,17 @@ "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "a4781f7e-001a-006b-6e75-4192c4000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:a4781f7e-001a-006b-6e75-4192c4000000\nTime:2019-07-23T16:43:44.6374670Z00", - "Date" : "Tue, 23 Jul 2019 16:43:43 GMT", + "x-ms-request-id" : "9ebed1d7-b01a-000d-670a-47df7a000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:9ebed1d7-b01a-000d-670a-47df7a000000\nTime:2019-07-30T19:13:30.9779017Z00", + "Date" : "Tue, 30 Jul 2019 19:13:30 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share41569da0&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net?prefix=share49855583&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -32,11 +32,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "a4781f7f-001a-006b-6f75-4192c4000000", - "Body" : "share41569da0", - "Date" : "Tue, 23 Jul 2019 16:43:43 GMT", + "x-ms-request-id" : "9ebed1d8-b01a-000d-680a-47df7a000000", + "Body" : "share49855583", + "Date" : "Tue, 30 Jul 2019 19:13:30 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share41569da0" ] + "variables" : [ "share49855583" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/snapshot.json b/storage/client/file/src/test/resources/session-records/snapshot.json index 08e6b88615e55..b9d45b1792917 100644 --- a/storage/client/file/src/test/resources/session-records/snapshot.json +++ b/storage/client/file/src/test/resources/session-records/snapshot.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share14716ca7?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share66242c38?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C793BF261\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:30 GMT", + "ETag" : "\"0x8D715218A628397\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d55-001a-006b-5275-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:29 GMT" + "x-ms-request-id" : "7f75e097-301a-00db-1f0a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share14716ca7?restype=share&comp=snapshot", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share66242c38?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-23T16:40:30.0000000Z", + "x-ms-snapshot" : "2019-07-30T19:10:09.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C793BF261\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:30 GMT", + "ETag" : "\"0x8D715218A628397\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d57-001a-006b-5375-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:29 GMT" + "x-ms-request-id" : "7f75e099-301a-00db-200a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share14716ca7?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share66242c38?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -50,11 +50,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "a4781d58-001a-006b-5475-4192c4000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:a4781d58-001a-006b-5475-4192c4000000\nTime:2019-07-23T16:40:30.1135230Z", - "Date" : "Tue, 23 Jul 2019 16:40:29 GMT", + "x-ms-request-id" : "7f75e09a-301a-00db-210a-4794a0000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:7f75e09a-301a-00db-210a-4794a0000000\nTime:2019-07-30T19:10:09.6971528Z", + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share14716ca7" ] + "variables" : [ "share66242c38" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/snapshotDifferentMetadata.json b/storage/client/file/src/test/resources/session-records/snapshotDifferentMetadata.json index ff7dd6c695507..6d1902728e915 100644 --- a/storage/client/file/src/test/resources/session-records/snapshotDifferentMetadata.json +++ b/storage/client/file/src/test/resources/session-records/snapshotDifferentMetadata.json @@ -1,91 +1,91 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share10771b10?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share80587c91?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C777A1A17\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:27 GMT", + "ETag" : "\"0x8D7152188EF5D81\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d17-001a-006b-2275-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:26 GMT" + "x-ms-request-id" : "7f75e058-301a-00db-710a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share10771b10?restype=share&comp=snapshot", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share80587c91?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-23T16:40:27.0000000Z", + "x-ms-snapshot" : "2019-07-30T19:10:07.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C7771CF80\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:27 GMT", + "ETag" : "\"0x8D7152188D55180\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781d19-001a-006b-2375-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:40:26 GMT" + "x-ms-request-id" : "7f75e05a-301a-00db-720a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share10771b10?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share80587c91?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:27 GMT", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:07 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 23 Jul 2019 16:40:26 GMT", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT", "x-ms-has-legal-hold" : "false", "x-ms-meta-create" : "metadata", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D70F8C777A1A17\"", + "ETag" : "\"0x8D7152188EF5D81\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "a4781d1a-001a-006b-2475-4192c4000000" + "x-ms-request-id" : "7f75e05b-301a-00db-730a-4794a0000000" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share10771b10?sharesnapshot=2019-07-23T16%3a40%3a27.0000000Z&restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share80587c91?sharesnapshot=2019-07-30T19%3a10%3a07.0000000Z&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-meta-update" : "metadata", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 23 Jul 2019 16:40:27 GMT", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:07 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 23 Jul 2019 16:40:26 GMT", + "Date" : "Tue, 30 Jul 2019 19:10:06 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D70F8C7771CF80\"", + "ETag" : "\"0x8D7152188D55180\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "3975b150-b01a-003d-1775-417ab4000000" + "x-ms-request-id" : "d2e4b9d1-f01a-00c6-780a-474d4a000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share10771b10?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share80587c91?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -94,11 +94,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "a4781d1b-001a-006b-2575-4192c4000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:a4781d1b-001a-006b-2575-4192c4000000\nTime:2019-07-23T16:40:27.2825020Z", - "Date" : "Tue, 23 Jul 2019 16:40:26 GMT", + "x-ms-request-id" : "7f75e05c-301a-00db-740a-4794a0000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:7f75e05c-301a-00db-740a-4794a0000000\nTime:2019-07-30T19:10:07.3318585Z", + "Date" : "Tue, 30 Jul 2019 19:10:07 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share10771b10" ] + "variables" : [ "share80587c91" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/snapshotDoesNotExist.json b/storage/client/file/src/test/resources/session-records/snapshotDoesNotExist.json index 364519a28f53c..38bd90e2f283d 100644 --- a/storage/client/file/src/test/resources/session-records/snapshotDoesNotExist.json +++ b/storage/client/file/src/test/resources/session-records/snapshotDoesNotExist.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share00244732?restype=share&comp=snapshot", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share39064b26?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781d45-001a-006b-4675-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781d45-001a-006b-4675-4192c4000000\nTime:2019-07-23T16:40:29.2589105Z", - "Date" : "Tue, 23 Jul 2019 16:40:28 GMT", + "x-ms-request-id" : "7f75e085-301a-00db-130a-4794a0000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:7f75e085-301a-00db-130a-4794a0000000\nTime:2019-07-30T19:10:09.0014779Z", + "Date" : "Tue, 30 Jul 2019 19:10:08 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share00244732?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share39064b26?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "a4781d47-001a-006b-4775-4192c4000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:a4781d47-001a-006b-4775-4192c4000000\nTime:2019-07-23T16:40:29.3079458Z", - "Date" : "Tue, 23 Jul 2019 16:40:28 GMT", + "x-ms-request-id" : "7f75e088-301a-00db-140a-4794a0000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:7f75e088-301a-00db-140a-4794a0000000\nTime:2019-07-30T19:10:09.0355109Z", + "Date" : "Tue, 30 Jul 2019 19:10:09 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share00244732" ] + "variables" : [ "share39064b26" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/snapshotSameMetadata.json b/storage/client/file/src/test/resources/session-records/snapshotSameMetadata.json index 0e5c5452621c0..e580cd8f500e6 100644 --- a/storage/client/file/src/test/resources/session-records/snapshotSameMetadata.json +++ b/storage/client/file/src/test/resources/session-records/snapshotSameMetadata.json @@ -1,69 +1,69 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share60407a93?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share77185685?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C958F1003\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:17 GMT", + "ETag" : "\"0x8D71521A8416B16\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:10:59 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781dd2-001a-006b-0775-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:16 GMT" + "x-ms-request-id" : "260a2b28-901a-0077-540a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:10:59 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share60407a93?restype=share&comp=snapshot", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share77185685?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-23T16:41:17.0000000Z", + "x-ms-snapshot" : "2019-07-30T19:11:02.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C953F3480\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:17 GMT", + "ETag" : "\"0x8D71521A99DA700\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:02 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781dd4-001a-006b-0875-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:41:16 GMT" + "x-ms-request-id" : "260a2b2a-901a-0077-550a-47b537000000", + "Date" : "Tue, 30 Jul 2019 19:11:01 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share60407a93?sharesnapshot=2019-07-23T16%3a41%3a17.0000000Z&restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share77185685?sharesnapshot=2019-07-30T19%3a11%3a02.0000000Z&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-meta-test" : "metadata", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 23 Jul 2019 16:41:17 GMT", + "Last-Modified" : "Tue, 30 Jul 2019 19:11:02 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 23 Jul 2019 16:41:16 GMT", + "Date" : "Tue, 30 Jul 2019 19:11:01 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D70F8C953F3480\"", + "ETag" : "\"0x8D71521A99DA700\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "3975b191-b01a-003d-2775-417ab4000000" + "x-ms-request-id" : "d2e4ba40-f01a-00c6-190a-474d4a000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share60407a93?restype=share", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/share77185685?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", @@ -72,11 +72,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "a4781dd5-001a-006b-0975-4192c4000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:a4781dd5-001a-006b-0975-4192c4000000\nTime:2019-07-23T16:41:17.6894731Z", - "Date" : "Tue, 23 Jul 2019 16:41:16 GMT", + "x-ms-request-id" : "260a2b30-901a-0077-580a-47b537000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:260a2b30-901a-0077-580a-47b537000000\nTime:2019-07-30T19:11:02.2862300Z", + "Date" : "Tue, 30 Jul 2019 19:11:02 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share60407a93" ] + "variables" : [ "share77185685" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/startCopy.json b/storage/client/file/src/test/resources/session-records/startCopy.json index f2a527cd8e4b9..ab7930ece5360 100644 --- a/storage/client/file/src/test/resources/session-records/startCopy.json +++ b/storage/client/file/src/test/resources/session-records/startCopy.json @@ -1,43 +1,43 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile8920181a", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile915691d2", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C3DB97C52\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:50 GMT", + "ETag" : "\"0x8D715214FD29388\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781c20-001a-006b-2775-4192c4000000", + "x-ms-request-id" : "7f75df77-301a-00db-790a-4794a0000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:38:49 GMT" + "Date" : "Tue, 30 Jul 2019 19:08:30 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile8920181a", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile915691d2", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-copy-id" : "2d272a59-d40b-4b67-8fc2-b66d8aa4a210", - "ETag" : "\"0x8D70F8C3DDF5ACE\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:50 GMT", + "x-ms-copy-id" : "018a4780-d459-45ef-9817-a418018f33fc", + "ETag" : "\"0x8D715214FF7628A\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:31 GMT", "retry-after" : "0", "Content-Length" : "0", "x-ms-copy-status" : "success", "StatusCode" : "202", - "x-ms-request-id" : "a4781c21-001a-006b-2875-4192c4000000", - "Date" : "Tue, 23 Jul 2019 16:38:49 GMT" + "x-ms-request-id" : "7f75df78-301a-00db-7a0a-4794a0000000", + "Date" : "Tue, 30 Jul 2019 19:08:30 GMT" } } ], - "variables" : [ "file8920181a" ] + "variables" : [ "file915691d2" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/upload.json b/storage/client/file/src/test/resources/session-records/upload.json index 457a29b5542cf..121bfdcd36395 100644 --- a/storage/client/file/src/test/resources/session-records/upload.json +++ b/storage/client/file/src/test/resources/session-records/upload.json @@ -1,44 +1,44 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile98350d88", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile69101ec0", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C3E2EC19B\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:50 GMT", + "ETag" : "\"0x8D7152150338FB7\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781c2b-001a-006b-3075-4192c4000000", + "x-ms-request-id" : "7f75df80-301a-00db-020a-4794a0000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:38:50 GMT" + "Date" : "Tue, 30 Jul 2019 19:08:31 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile98350d88?comp=range", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile69101ec0?comp=range", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/octet-stream" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C3E372789\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:50 GMT", + "ETag" : "\"0x8D71521503A964B\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781c2c-001a-006b-3175-4192c4000000", + "x-ms-request-id" : "7f75df81-301a-00db-030a-4794a0000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:38:50 GMT", + "Date" : "Tue, 30 Jul 2019 19:08:31 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==" } } ], - "variables" : [ "file98350d88" ] + "variables" : [ "file69101ec0" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/uploadToStorageAndDownloadToFile.json b/storage/client/file/src/test/resources/session-records/uploadToStorageAndDownloadToFile.json index dbc17e4548a1f..27a99dece1953 100644 --- a/storage/client/file/src/test/resources/session-records/uploadToStorageAndDownloadToFile.json +++ b/storage/client/file/src/test/resources/session-records/uploadToStorageAndDownloadToFile.json @@ -1,90 +1,90 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile11163511", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile72051979", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C3E4050F6\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:51 GMT", + "ETag" : "\"0x8D7152150452030\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781c2d-001a-006b-3275-4192c4000000", + "x-ms-request-id" : "7f75df82-301a-00db-040a-4794a0000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:38:50 GMT" + "Date" : "Tue, 30 Jul 2019 19:08:31 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile11163511?comp=range", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile72051979?comp=range", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/octet-stream" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D70F8C3E4ED28D\"", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:51 GMT", + "ETag" : "\"0x8D71521504E713B\"", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "a4781c2e-001a-006b-3375-4192c4000000", + "x-ms-request-id" : "7f75df83-301a-00db-050a-4794a0000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 23 Jul 2019 16:38:50 GMT", + "Date" : "Tue, 30 Jul 2019 19:08:31 GMT", "Content-MD5" : "/CTzx8jXJ1MqqUsC1dJBUQ==" } }, { "Method" : "HEAD", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile11163511", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile72051979", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:51 GMT", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:32 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 23 Jul 2019 16:38:50 GMT", + "Date" : "Tue, 30 Jul 2019 19:08:31 GMT", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "\"0x8D70F8C3E4ED28D\"", + "ETag" : "\"0x8D71521504E713B\"", "Content-Length" : "14", - "x-ms-request-id" : "a4781c2f-001a-006b-3475-4192c4000000", + "x-ms-request-id" : "7f75df84-301a-00db-060a-4794a0000000", "Body" : "", "Content-Type" : "application/octet-stream" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile11163511", + "Uri" : "https://azstoragesdkaccount.file.core.windows.net/filesharename/testdir%2ffile72051979", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.1 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-file/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 0-13/14", - "Last-Modified" : "Tue, 23 Jul 2019 16:38:51 GMT", + "Last-Modified" : "Tue, 30 Jul 2019 19:08:32 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Tue, 23 Jul 2019 16:38:51 GMT", + "Date" : "Tue, 30 Jul 2019 19:08:31 GMT", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "\"0x8D70F8C3E4ED28D\"", + "ETag" : "\"0x8D71521504E713B\"", "Content-Length" : "14", - "x-ms-request-id" : "a4781c30-001a-006b-3575-4192c4000000", + "x-ms-request-id" : "7f75df85-301a-00db-070a-4794a0000000", "Body" : "Hello world!\r\n", "Content-Type" : "application/octet-stream" } } ], - "variables" : [ "file11163511" ] + "variables" : [ "file72051979" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/urlFromDirClient.json b/storage/client/file/src/test/resources/session-records/urlFromDirClient.json index 11fc90ded8aec..28d83f0a0211b 100644 --- a/storage/client/file/src/test/resources/session-records/urlFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/urlFromDirClient.json @@ -1,4 +1,4 @@ { "networkCallRecords" : [ ], - "variables" : [ "directory100251" ] + "variables" : [ "directory16915c" ] } \ No newline at end of file diff --git a/storage/client/pom.xml b/storage/client/pom.xml deleted file mode 100644 index 645574936759e..0000000000000 --- a/storage/client/pom.xml +++ /dev/null @@ -1,123 +0,0 @@ - - - 4.0.0 - - com.azure - azure-client-sdk-parent - 1.0.0 - ../../pom.client.xml - - - com.azure - azure-storage - 12.0.0 - - Microsoft Azure client library for Storage - This package contains the Microsoft Azure Storage client library. - https://github.com/Azure/azure-sdk-for-java - - - - azure-java-build-docs - ${site.url}/site/${project.artifactId} - - - - - scm:git:https://github.com/Azure/azure-sdk-for-java - scm:git:git@github.com:Azure/azure-sdk-for-java.git - HEAD - - - - - com.azure - azure-core - 1.0.0-preview.1 - - - - - - - org.slf4j - slf4j-api - - - - com.azure - azure-core-test - 1.0.0-preview.1 - test - - - junit - junit - test - - - org.slf4j - slf4j-simple - test - - - io.projectreactor - reactor-test - test - - - com.microsoft.azure - adal4j - test - - - org.spockframework - spock-core - test - - - cglib - cglib-nodep - test - - - uk.org.lidalia - slf4j-test - test - - - - - - - - org.apache.maven.plugins - maven-checkstyle-plugin - - false - false - - - - org.apache.maven.plugins - maven-javadoc-plugin - - false - false - - - - - com.github.spotbugs - spotbugs-maven-plugin - - false - - - - - diff --git a/storage/client/queue/pom.xml b/storage/client/queue/pom.xml index c08a3e3dca04f..669a3b2458bd5 100644 --- a/storage/client/queue/pom.xml +++ b/storage/client/queue/pom.xml @@ -13,7 +13,7 @@ com.azure azure-storage-queue - 12.0.0-preview.1 + 12.0.0-preview.2 azure-storage-queue https://github.com/Azure/azure-sdk-for-java diff --git a/storage/client/queue/src/main/java/com/azure/storage/queue/QueueClientBuilder.java b/storage/client/queue/src/main/java/com/azure/storage/queue/QueueClientBuilder.java index 5058b413767f6..be206f45a4a72 100644 --- a/storage/client/queue/src/main/java/com/azure/storage/queue/QueueClientBuilder.java +++ b/storage/client/queue/src/main/java/com/azure/storage/queue/QueueClientBuilder.java @@ -278,6 +278,7 @@ private void getEndPointFromConnectionString(String connectionString) { + "Connection String: %s", connectionString)); } } + /** * Sets the HTTP client to use for sending and receiving requests to and from the service. * diff --git a/storage/client/queue/src/main/java/com/azure/storage/queue/QueueConfiguration.java b/storage/client/queue/src/main/java/com/azure/storage/queue/QueueConfiguration.java index 7a794525484f7..77eecad750220 100644 --- a/storage/client/queue/src/main/java/com/azure/storage/queue/QueueConfiguration.java +++ b/storage/client/queue/src/main/java/com/azure/storage/queue/QueueConfiguration.java @@ -8,5 +8,5 @@ class QueueConfiguration { //TODO: Eventually remove these hardcoded strings with https://github.com/Azure/azure-sdk-for-java/issues/3141 static final String NAME = "azure-storage-queue"; - static final String VERSION = "12.0.0-preview.1"; + static final String VERSION = "12.0.0-preview.2"; } diff --git a/storage/client/queue/src/main/java/com/azure/storage/queue/QueueServiceClientBuilder.java b/storage/client/queue/src/main/java/com/azure/storage/queue/QueueServiceClientBuilder.java index 66baabbe6d831..fd4c54fb86fa5 100644 --- a/storage/client/queue/src/main/java/com/azure/storage/queue/QueueServiceClientBuilder.java +++ b/storage/client/queue/src/main/java/com/azure/storage/queue/QueueServiceClientBuilder.java @@ -23,7 +23,9 @@ import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; +import java.util.HashMap; import java.util.List; +import java.util.Locale; import java.util.Objects; /** @@ -72,6 +74,7 @@ */ public final class QueueServiceClientBuilder { private static final ClientLogger LOGGER = new ClientLogger(QueueServiceClientBuilder.class); + private static final String ACCOUNT_NAME = "accountname"; private final List policies; private URL endpoint; @@ -230,11 +233,28 @@ public QueueServiceClientBuilder credential(SharedKeyCredential credential) { * @throws NullPointerException If {@code connectionString} is {@code null}. */ public QueueServiceClientBuilder connectionString(String connectionString) { - Objects.requireNonNull(connectionString); this.sharedKeyCredential = SharedKeyCredential.fromConnectionString(connectionString); + getEndPointFromConnectionString(connectionString); return this; } + private void getEndPointFromConnectionString(String connectionString) { + HashMap connectionStringPieces = new HashMap<>(); + for (String connectionStringPiece : connectionString.split(";")) { + String[] kvp = connectionStringPiece.split("=", 2); + connectionStringPieces.put(kvp[0].toLowerCase(Locale.ROOT), kvp[1]); + } + String accountName = connectionStringPieces.get(ACCOUNT_NAME); + try { + this.endpoint = new URL(String.format("https://%s.queue.core.windows.net", accountName)); + } catch (MalformedURLException e) { + LOGGER.error("There is no valid account for the connection string. " + + "Connection String: %s", connectionString); + throw new IllegalArgumentException(String.format("There is no valid account for the connection string. " + + "Connection String: %s", connectionString)); + } + } + /** * Sets the HTTP client to use for sending and receiving requests to and from the service. * diff --git a/storage/client/queue/src/main/java/com/azure/storage/queue/implementation/AzureQueueStorageBuilder.java b/storage/client/queue/src/main/java/com/azure/storage/queue/implementation/AzureQueueStorageBuilder.java index d38e8c0436292..a19ff01cb0d9a 100644 --- a/storage/client/queue/src/main/java/com/azure/storage/queue/implementation/AzureQueueStorageBuilder.java +++ b/storage/client/queue/src/main/java/com/azure/storage/queue/implementation/AzureQueueStorageBuilder.java @@ -77,9 +77,7 @@ public AzureQueueStorageImpl build() { if (this.url != null) { client.setUrl(this.url); } - if (this.version != null) { - client.setVersion(this.version); - } + client.setVersion(this.version); return client; } } diff --git a/storage/client/queue/src/test/java/com/azure/storage/queue/QueueAsyncClientTests.java b/storage/client/queue/src/test/java/com/azure/storage/queue/QueueAsyncClientTests.java index f658e2aff324b..e2b4b9529d003 100644 --- a/storage/client/queue/src/test/java/com/azure/storage/queue/QueueAsyncClientTests.java +++ b/storage/client/queue/src/test/java/com/azure/storage/queue/QueueAsyncClientTests.java @@ -37,7 +37,6 @@ protected void beforeTest() { if (interceptorManager.isPlaybackMode()) { client = helper.setupClient((connectionString, endpoint) -> new QueueClientBuilder() .connectionString(connectionString) - .endpoint(endpoint) .queueName(queueName) .httpClient(interceptorManager.getPlaybackClient()) .httpLogDetailLevel(HttpLogDetailLevel.BODY_AND_HEADERS) @@ -45,7 +44,6 @@ protected void beforeTest() { } else { client = helper.setupClient((connectionString, endpoint) -> new QueueClientBuilder() .connectionString(connectionString) - .endpoint(endpoint) .queueName(queueName) .httpClient(HttpClient.createDefault().wiretap(true)) .httpLogDetailLevel(HttpLogDetailLevel.BODY_AND_HEADERS) diff --git a/storage/client/queue/src/test/java/com/azure/storage/queue/QueueClientTests.java b/storage/client/queue/src/test/java/com/azure/storage/queue/QueueClientTests.java index c0da15213d8c7..4e3f782d7ec66 100644 --- a/storage/client/queue/src/test/java/com/azure/storage/queue/QueueClientTests.java +++ b/storage/client/queue/src/test/java/com/azure/storage/queue/QueueClientTests.java @@ -43,14 +43,13 @@ protected void beforeTest() { if (interceptorManager.isPlaybackMode()) { client = helper.setupClient((connectionString, endpoint) -> new QueueClientBuilder() .connectionString(connectionString) - .endpoint(endpoint) .queueName(queueName) .httpClient(interceptorManager.getPlaybackClient()) .httpLogDetailLevel(HttpLogDetailLevel.BODY_AND_HEADERS) .buildClient(), true, logger); } else { client = helper.setupClient((connectionString, endpoint) -> new QueueClientBuilder() - .endpoint(endpoint) + .connectionString(connectionString) .queueName(queueName) .httpClient(HttpClient.createDefault().wiretap(true)) .httpLogDetailLevel(HttpLogDetailLevel.BODY_AND_HEADERS) diff --git a/storage/client/queue/src/test/java/com/azure/storage/queue/QueueServiceAsyncClientTests.java b/storage/client/queue/src/test/java/com/azure/storage/queue/QueueServiceAsyncClientTests.java index 8d0b89aa9be07..b0608151ee301 100644 --- a/storage/client/queue/src/test/java/com/azure/storage/queue/QueueServiceAsyncClientTests.java +++ b/storage/client/queue/src/test/java/com/azure/storage/queue/QueueServiceAsyncClientTests.java @@ -34,14 +34,12 @@ protected void beforeTest() { if (interceptorManager.isPlaybackMode()) { serviceClient = helper.setupClient((connectionString, endpoint) -> new QueueServiceClientBuilder() .connectionString(connectionString) - .endpoint(endpoint) .httpClient(interceptorManager.getPlaybackClient()) .httpLogDetailLevel(HttpLogDetailLevel.BODY_AND_HEADERS) .buildAsyncClient(), true, logger); } else { serviceClient = helper.setupClient((connectionString, endpoint) -> new QueueServiceClientBuilder() .connectionString(connectionString) - .endpoint(endpoint) .httpClient(HttpClient.createDefault().wiretap(true)) .httpLogDetailLevel(HttpLogDetailLevel.BODY_AND_HEADERS) .addPolicy(interceptorManager.getRecordPolicy()) diff --git a/storage/client/queue/src/test/java/com/azure/storage/queue/QueueServiceClientTests.java b/storage/client/queue/src/test/java/com/azure/storage/queue/QueueServiceClientTests.java index c6587872c6fb7..39e1b9d2beb49 100644 --- a/storage/client/queue/src/test/java/com/azure/storage/queue/QueueServiceClientTests.java +++ b/storage/client/queue/src/test/java/com/azure/storage/queue/QueueServiceClientTests.java @@ -40,14 +40,12 @@ protected void beforeTest() { if (interceptorManager.isPlaybackMode()) { serviceClient = helper.setupClient((connectionString, endpoint) -> new QueueServiceClientBuilder() .connectionString(connectionString) - .endpoint(endpoint) .httpClient(interceptorManager.getPlaybackClient()) .httpLogDetailLevel(HttpLogDetailLevel.BODY_AND_HEADERS) .buildClient(), true, logger); } else { serviceClient = helper.setupClient((connectionString, endpoint) -> new QueueServiceClientBuilder() .connectionString(connectionString) - .endpoint(endpoint) .httpClient(HttpClient.createDefault().wiretap(true)) .httpLogDetailLevel(HttpLogDetailLevel.BODY_AND_HEADERS) .addPolicy(interceptorManager.getRecordPolicy()) diff --git a/storage/client/queue/src/test/resources/session-records/clearMessages.json b/storage/client/queue/src/test/resources/session-records/clearMessages.json index dab05b23fcfd5..cebb31166bc95 100644 --- a/storage/client/queue/src/test/resources/session-records/clearMessages.json +++ b/storage/client/queue/src/test/resources/session-records/clearMessages.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue39460410", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue78895e13", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd222863-4003-0028-6775-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:00 GMT" + "x-ms-request-id" : "8071d18f-4003-00b9-5e03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue39460410/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue78895e13/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -29,17 +29,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd2228a8-4003-0028-1b75-37b82d000000", - "Body" : "23ac390a-a15c-4036-b933-506b593e817aWed, 10 Jul 2019 23:18:01 GMTWed, 17 Jul 2019 23:18:01 GMTAgAAAAMAAAAAAAAAeGrWt3U31QE=Wed, 10 Jul 2019 23:18:01 GMT", - "Date" : "Wed, 10 Jul 2019 23:18:00 GMT", + "x-ms-request-id" : "8071d1bb-4003-00b9-0603-47d378000000", + "Body" : "1a1dabd1-b690-42c7-a22a-665c69ceffccTue, 30 Jul 2019 18:19:02 GMTTue, 06 Aug 2019 18:19:02 GMTAgAAAAMAAAAAAAAAi1HbQwNH1QE=Tue, 30 Jul 2019 18:19:02 GMT", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT", "Content-Type" : "application/xml" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue39460410/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue78895e13/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -48,17 +48,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd2228d0-4003-0028-3a75-37b82d000000", - "Body" : "0820c842-8ea6-466f-801e-8fdb0240f573Wed, 10 Jul 2019 23:18:01 GMTWed, 17 Jul 2019 23:18:01 GMTAgAAAAMAAAAAAAAARoLet3U31QE=Wed, 10 Jul 2019 23:18:01 GMT", - "Date" : "Wed, 10 Jul 2019 23:18:00 GMT", + "x-ms-request-id" : "8071d1dd-4003-00b9-2503-47d378000000", + "Body" : "c10ecce0-b3b6-4098-96ae-8aa611501ffbTue, 30 Jul 2019 18:19:02 GMTTue, 06 Aug 2019 18:19:02 GMTAgAAAAMAAAAAAAAAVabiQwNH1QE=Tue, 30 Jul 2019 18:19:02 GMT", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT", "Content-Type" : "application/xml" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue39460410/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue78895e13/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -67,17 +67,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd2228f8-4003-0028-5975-37b82d000000", - "Body" : "1a2b254b-4f28-4dba-8a56-5947173e08faWed, 10 Jul 2019 23:18:01 GMTWed, 17 Jul 2019 23:18:01 GMTAgAAAAMAAAAAAAAA5kvmt3U31QE=Wed, 10 Jul 2019 23:18:01 GMT", - "Date" : "Wed, 10 Jul 2019 23:18:00 GMT", + "x-ms-request-id" : "8071d201-4003-00b9-4603-47d378000000", + "Body" : "962a6b38-e375-4fae-a052-8d25207ff09bTue, 30 Jul 2019 18:19:02 GMTTue, 06 Aug 2019 18:19:02 GMTAgAAAAMAAAAAAAAAv9fnQwNH1QE=Tue, 30 Jul 2019 18:19:02 GMT", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue39460410?comp=metadata", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue78895e13?comp=metadata", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -87,15 +87,15 @@ "Content-Length" : "0", "x-ms-approximate-messages-count" : "3", "StatusCode" : "200", - "x-ms-request-id" : "dd222917-4003-0028-7175-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:00 GMT" + "x-ms-request-id" : "8071d225-4003-00b9-6903-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue39460410/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue78895e13/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -103,15 +103,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd22292f-4003-0028-0775-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:00 GMT" + "x-ms-request-id" : "8071d23d-4003-00b9-8003-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue39460410?comp=metadata", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue78895e13?comp=metadata", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -121,15 +121,15 @@ "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "dd222940-4003-0028-1575-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:01 GMT" + "x-ms-request-id" : "8071d257-4003-00b9-1703-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue39460410/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue78895e13/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -137,15 +137,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd22295c-4003-0028-2975-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:01 GMT" + "x-ms-request-id" : "8071d26d-4003-00b9-2d03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue39460410", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue78895e13", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -153,9 +153,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd222973-4003-0028-3e75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:01 GMT" + "x-ms-request-id" : "8071d283-4003-00b9-4303-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT" } } ], - "variables" : [ "queue39460410" ] + "variables" : [ "queue78895e13" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/clearMessagesQueueDoesNotExist.json b/storage/client/queue/src/test/resources/session-records/clearMessagesQueueDoesNotExist.json index 9fb11f03c6960..d5ff4fab7281c 100644 --- a/storage/client/queue/src/test/resources/session-records/clearMessagesQueueDoesNotExist.json +++ b/storage/client/queue/src/test/resources/session-records/clearMessagesQueueDoesNotExist.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue0499487b/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue95540dc6/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd223222-4003-0028-3175-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd223222-4003-0028-3175-37b82d000000\nTime:2019-07-10T23:18:05.7976908Z", - "Date" : "Wed, 10 Jul 2019 23:18:05 GMT", + "x-ms-request-id" : "8071dd7c-4003-00b9-4f03-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:8071dd7c-4003-00b9-4f03-47d378000000\nTime:2019-07-30T18:19:06.4682531Z", + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue0499487b/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue95540dc6/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd223243-4003-0028-4e75-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd223243-4003-0028-4e75-37b82d000000\nTime:2019-07-10T23:18:05.8547315Z", - "Date" : "Wed, 10 Jul 2019 23:18:05 GMT", + "x-ms-request-id" : "8071dd94-4003-00b9-6603-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:8071dd94-4003-00b9-6603-47d378000000\nTime:2019-07-30T18:19:06.4982809Z", + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "queue0499487b" ] + "variables" : [ "queue95540dc6" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/createQueue.json b/storage/client/queue/src/test/resources/session-records/createQueue.json index 51d4b6d64f5b5..6ace1ebfcc3d6 100644 --- a/storage/client/queue/src/test/resources/session-records/createQueue.json +++ b/storage/client/queue/src/test/resources/session-records/createQueue.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue09262a67", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue41192d54", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0d29065a-6003-009e-2f76-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:47 GMT" + "x-ms-request-id" : "1cdd818b-e003-0073-5309-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:02 GMT" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue09262a67/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue41192d54/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -29,17 +29,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0d290667-6003-009e-3b76-37b6d5000000", - "Body" : "94fd0809-1708-49c0-91ea-d4cf2141af7fWed, 10 Jul 2019 23:24:47 GMTWed, 17 Jul 2019 23:24:47 GMTAgAAAAMAAAAAAAAAREDwqXY31QE=Wed, 10 Jul 2019 23:24:47 GMT", - "Date" : "Wed, 10 Jul 2019 23:24:47 GMT", + "x-ms-request-id" : "1cdd818f-e003-0073-5609-4740b5000000", + "Body" : "0f84abde-fb8c-4049-b6de-4e353f4af767Tue, 30 Jul 2019 19:01:03 GMTTue, 06 Aug 2019 19:01:03 GMTAgAAAAMAAAAAAAAAnQ1cIglH1QE=Tue, 30 Jul 2019 19:01:03 GMT", + "Date" : "Tue, 30 Jul 2019 19:01:02 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net?prefix=queue09262a67&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queue41192d54&include=&comp=list", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -48,17 +48,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0d29067f-6003-009e-5376-37b6d5000000", - "Body" : "queue09262a67queue09262a67", - "Date" : "Wed, 10 Jul 2019 23:24:47 GMT", + "x-ms-request-id" : "1cdd8195-e003-0073-5b09-4740b5000000", + "Body" : "queue41192d54queue41192d54", + "Date" : "Tue, 30 Jul 2019 19:01:02 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue09262a67/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue41192d54/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -66,15 +66,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d290694-6003-009e-6676-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:47 GMT" + "x-ms-request-id" : "1cdd8199-e003-0073-5f09-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:03 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue09262a67", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue41192d54", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -82,9 +82,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d2906a1-6003-009e-7376-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:47 GMT" + "x-ms-request-id" : "1cdd81bb-e003-0073-7c09-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:03 GMT" } } ], - "variables" : [ "queue09262a67" ] + "variables" : [ "queue41192d54" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/createQueueTwiceDifferentMetadata.json b/storage/client/queue/src/test/resources/session-records/createQueueTwiceDifferentMetadata.json index e7297afd23b18..104f972761903 100644 --- a/storage/client/queue/src/test/resources/session-records/createQueueTwiceDifferentMetadata.json +++ b/storage/client/queue/src/test/resources/session-records/createQueueTwiceDifferentMetadata.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue2172697c", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue88691a05", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0d290a57-6003-009e-6676-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:49 GMT" + "x-ms-request-id" : "1cdd82fd-e003-0073-1609-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue2172697c", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue88691a05", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -29,17 +29,17 @@ "retry-after" : "0", "Content-Length" : "222", "StatusCode" : "409", - "x-ms-request-id" : "0d290a73-6003-009e-7e76-37b6d5000000", - "Body" : "QueueAlreadyExistsThe specified queue already exists.\nRequestId:0d290a73-6003-009e-7e76-37b6d5000000\nTime:2019-07-10T23:24:49.9481623Z", - "Date" : "Wed, 10 Jul 2019 23:24:49 GMT", + "x-ms-request-id" : "1cdd8301-e003-0073-1909-4740b5000000", + "Body" : "QueueAlreadyExistsThe specified queue already exists.\nRequestId:1cdd8301-e003-0073-1909-4740b5000000\nTime:2019-07-30T19:01:07.1007793Z", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net?prefix=queue2172697c&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queue88691a05&include=&comp=list", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -48,17 +48,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0d290a84-6003-009e-0f76-37b6d5000000", - "Body" : "queue2172697cqueue2172697c", - "Date" : "Wed, 10 Jul 2019 23:24:49 GMT", + "x-ms-request-id" : "1cdd830a-e003-0073-2009-4740b5000000", + "Body" : "queue88691a05queue88691a05", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue2172697c/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue88691a05/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -66,15 +66,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d290a9d-6003-009e-2776-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:50 GMT" + "x-ms-request-id" : "1cdd830e-e003-0073-2409-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue2172697c", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue88691a05", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -82,9 +82,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d290aa4-6003-009e-2d76-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:50 GMT" + "x-ms-request-id" : "1cdd8317-e003-0073-2d09-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT" } } ], - "variables" : [ "queue2172697c" ] + "variables" : [ "queue88691a05" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/createQueueTwiceSameMetadata.json b/storage/client/queue/src/test/resources/session-records/createQueueTwiceSameMetadata.json index 5f637cb224b88..cc245715abd6a 100644 --- a/storage/client/queue/src/test/resources/session-records/createQueueTwiceSameMetadata.json +++ b/storage/client/queue/src/test/resources/session-records/createQueueTwiceSameMetadata.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue3315117d", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue74324182", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0d29094b-6003-009e-0a76-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:49 GMT" + "x-ms-request-id" : "1cdd82b9-e003-0073-5c09-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:05 GMT" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue3315117d/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue74324182/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -29,17 +29,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0d29096a-6003-009e-2176-37b6d5000000", - "Body" : "e59cbb06-dc9a-4fd8-89c9-a62bec05127eWed, 10 Jul 2019 23:24:49 GMTWed, 17 Jul 2019 23:24:49 GMTAgAAAAMAAAAAAAAAh80Wq3Y31QE=Wed, 10 Jul 2019 23:24:49 GMT", - "Date" : "Wed, 10 Jul 2019 23:24:49 GMT", + "x-ms-request-id" : "1cdd82bd-e003-0073-5f09-4740b5000000", + "Body" : "a1a192f0-d5b6-4a03-8365-eafbc589b4b0Tue, 30 Jul 2019 19:01:06 GMTTue, 06 Aug 2019 19:01:06 GMTAgAAAAMAAAAAAAAAW6ZEJAlH1QE=Tue, 30 Jul 2019 19:01:06 GMT", + "Date" : "Tue, 30 Jul 2019 19:01:05 GMT", "Content-Type" : "application/xml" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue3315117d", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue74324182", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -47,15 +47,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d290979-6003-009e-2d76-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:49 GMT" + "x-ms-request-id" : "1cdd82c6-e003-0073-6609-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:05 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue3315117d/messages?peekonly=true", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue74324182/messages?peekonly=true", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -64,17 +64,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0d29099f-6003-009e-4b76-37b6d5000000", - "Body" : "e59cbb06-dc9a-4fd8-89c9-a62bec05127eWed, 10 Jul 2019 23:24:49 GMTWed, 17 Jul 2019 23:24:49 GMT0Testing service client creating the same queue twice does not modify the queue", - "Date" : "Wed, 10 Jul 2019 23:24:49 GMT", + "x-ms-request-id" : "1cdd82cc-e003-0073-6c09-4740b5000000", + "Body" : "a1a192f0-d5b6-4a03-8365-eafbc589b4b0Tue, 30 Jul 2019 19:01:06 GMTTue, 06 Aug 2019 19:01:06 GMT0Testing service client creating the same queue twice does not modify the queue", + "Date" : "Tue, 30 Jul 2019 19:01:05 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net?prefix=queue3315117d&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queue74324182&include=&comp=list", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -83,17 +83,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0d2909d4-6003-009e-7a76-37b6d5000000", - "Body" : "queue3315117dqueue3315117d", - "Date" : "Wed, 10 Jul 2019 23:24:49 GMT", + "x-ms-request-id" : "1cdd82d9-e003-0073-7909-4740b5000000", + "Body" : "queue74324182queue74324182", + "Date" : "Tue, 30 Jul 2019 19:01:05 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue3315117d/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue74324182/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -101,15 +101,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d2909eb-6003-009e-0e76-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:49 GMT" + "x-ms-request-id" : "1cdd82e0-e003-0073-7f09-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue3315117d", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue74324182", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -117,9 +117,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d2909f9-6003-009e-1b76-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:49 GMT" + "x-ms-request-id" : "1cdd82e9-e003-0073-0709-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT" } } ], - "variables" : [ "queue3315117d" ] + "variables" : [ "queue74324182" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/createQueueWithMetadata.json b/storage/client/queue/src/test/resources/session-records/createQueueWithMetadata.json index 3c8381cb87770..a884a0d89d21e 100644 --- a/storage/client/queue/src/test/resources/session-records/createQueueWithMetadata.json +++ b/storage/client/queue/src/test/resources/session-records/createQueueWithMetadata.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue2741227a", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue84974cab", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0d290770-6003-009e-1d76-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:48 GMT" + "x-ms-request-id" : "1cdd81fa-e003-0073-3209-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:04 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue2741227a?comp=metadata", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue84974cab?comp=metadata", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -31,16 +31,16 @@ "x-ms-approximate-messages-count" : "0", "x-ms-meta-metadata1" : "value1", "StatusCode" : "200", - "x-ms-request-id" : "0d290788-6003-009e-3176-37b6d5000000", + "x-ms-request-id" : "1cdd824c-e003-0073-7709-4740b5000000", "x-ms-meta-metadata2" : "value2", - "Date" : "Wed, 10 Jul 2019 23:24:48 GMT" + "Date" : "Tue, 30 Jul 2019 19:01:04 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net?prefix=queue2741227a&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queue84974cab&include=&comp=list", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -49,17 +49,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0d2907ab-6003-009e-4e76-37b6d5000000", - "Body" : "queue2741227aqueue2741227a", - "Date" : "Wed, 10 Jul 2019 23:24:48 GMT", + "x-ms-request-id" : "1cdd8258-e003-0073-0209-4740b5000000", + "Body" : "queue84974cabqueue84974cab", + "Date" : "Tue, 30 Jul 2019 19:01:05 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue2741227a/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue84974cab/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -67,15 +67,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d2907b9-6003-009e-5976-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:48 GMT" + "x-ms-request-id" : "1cdd8260-e003-0073-0a09-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:05 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue2741227a", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue84974cab", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -83,9 +83,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d2907c4-6003-009e-6276-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:48 GMT" + "x-ms-request-id" : "1cdd8267-e003-0073-1109-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:05 GMT" } } ], - "variables" : [ "queue2741227a" ] + "variables" : [ "queue84974cab" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/createTwiceDifferentMetadata.json b/storage/client/queue/src/test/resources/session-records/createTwiceDifferentMetadata.json index 2c1103e32db9c..70bd9c8373e7a 100644 --- a/storage/client/queue/src/test/resources/session-records/createTwiceDifferentMetadata.json +++ b/storage/client/queue/src/test/resources/session-records/createTwiceDifferentMetadata.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue0432116e", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue60199648", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd226070-4003-0028-4675-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:37 GMT" + "x-ms-request-id" : "807246c6-4003-00b9-5d03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue0432116e", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue60199648", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -29,17 +29,17 @@ "retry-after" : "0", "Content-Length" : "222", "StatusCode" : "409", - "x-ms-request-id" : "dd22608d-4003-0028-5f75-37b82d000000", - "Body" : "QueueAlreadyExistsThe specified queue already exists.\nRequestId:dd22608d-4003-0028-5f75-37b82d000000\nTime:2019-07-10T23:18:38.0176580Z", - "Date" : "Wed, 10 Jul 2019 23:18:37 GMT", + "x-ms-request-id" : "807246f2-4003-00b9-0403-47d378000000", + "Body" : "QueueAlreadyExistsThe specified queue already exists.\nRequestId:807246f2-4003-00b9-0403-47d378000000\nTime:2019-07-30T18:19:37.7522623Z", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue0432116e/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue60199648/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -47,15 +47,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd22609f-4003-0028-7175-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:37 GMT" + "x-ms-request-id" : "80724708-4003-00b9-1a03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue0432116e", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue60199648", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -63,9 +63,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd2260a4-4003-0028-7675-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:37 GMT" + "x-ms-request-id" : "80724714-4003-00b9-2503-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT" } } ], - "variables" : [ "queue0432116e" ] + "variables" : [ "queue60199648" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/createTwiceSameMetadata.json b/storage/client/queue/src/test/resources/session-records/createTwiceSameMetadata.json index 67e8f6692f9ce..49af0912970a6 100644 --- a/storage/client/queue/src/test/resources/session-records/createTwiceSameMetadata.json +++ b/storage/client/queue/src/test/resources/session-records/createTwiceSameMetadata.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue1490420b", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue8880966a", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd225ee9-4003-0028-6675-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:36 GMT" + "x-ms-request-id" : "8072446f-4003-00b9-1303-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:36 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue1490420b", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue8880966a", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -28,15 +28,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd225f04-4003-0028-7875-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:36 GMT" + "x-ms-request-id" : "80724495-4003-00b9-3803-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:36 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue1490420b/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue8880966a/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -44,15 +44,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd225f21-4003-0028-1175-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:36 GMT" + "x-ms-request-id" : "807244ad-4003-00b9-5003-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:36 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue1490420b", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue8880966a", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -60,9 +60,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd225f32-4003-0028-2175-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:36 GMT" + "x-ms-request-id" : "807244ca-4003-00b9-6d03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT" } } ], - "variables" : [ "queue1490420b" ] + "variables" : [ "queue8880966a" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/createWithMetadata.json b/storage/client/queue/src/test/resources/session-records/createWithMetadata.json index e81225ed944ad..de90dd17f28cd 100644 --- a/storage/client/queue/src/test/resources/session-records/createWithMetadata.json +++ b/storage/client/queue/src/test/resources/session-records/createWithMetadata.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue98908a15", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue23765c5d", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd2231c8-4003-0028-6375-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:05 GMT" + "x-ms-request-id" : "8071dcea-4003-00b9-4003-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue98908a15?comp=metadata", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue23765c5d?comp=metadata", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -31,16 +31,16 @@ "x-ms-approximate-messages-count" : "0", "x-ms-meta-metadata1" : "value1", "StatusCode" : "200", - "x-ms-request-id" : "dd2231df-4003-0028-7475-37b82d000000", + "x-ms-request-id" : "8071dd11-4003-00b9-6603-47d378000000", "x-ms-meta-metadata2" : "value2", - "Date" : "Wed, 10 Jul 2019 23:18:05 GMT" + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue98908a15/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue23765c5d/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -48,15 +48,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd2231f6-4003-0028-0975-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:05 GMT" + "x-ms-request-id" : "8071dd3b-4003-00b9-0f03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue98908a15", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue23765c5d", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -64,9 +64,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd223209-4003-0028-1b75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:05 GMT" + "x-ms-request-id" : "8071dd54-4003-00b9-2703-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT" } } ], - "variables" : [ "queue98908a15" ] + "variables" : [ "queue23765c5d" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/createWithSASToken.json b/storage/client/queue/src/test/resources/session-records/createWithSASToken.json index b0f0da481c199..06af19821b53a 100644 --- a/storage/client/queue/src/test/resources/session-records/createWithSASToken.json +++ b/storage/client/queue/src/test/resources/session-records/createWithSASToken.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue99626420/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue95805f24/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -13,11 +13,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd222843-4003-0028-5275-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd222843-4003-0028-5275-37b82d000000\nTime:2019-07-10T23:18:01.0102891Z", - "Date" : "Wed, 10 Jul 2019 23:18:00 GMT", + "x-ms-request-id" : "8071d154-4003-00b9-2803-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:8071d154-4003-00b9-2803-47d378000000\nTime:2019-07-30T18:19:02.4945662Z", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "queue99626420" ] + "variables" : [ "queue95805f24" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/createWithSharedKey.json b/storage/client/queue/src/test/resources/session-records/createWithSharedKey.json index 45ad59b25dadb..f7db9ce0ce359 100644 --- a/storage/client/queue/src/test/resources/session-records/createWithSharedKey.json +++ b/storage/client/queue/src/test/resources/session-records/createWithSharedKey.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue46849fbc/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue07130666/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -13,11 +13,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd226200-4003-0028-1275-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd226200-4003-0028-1275-37b82d000000\nTime:2019-07-10T23:18:39.1594759Z", - "Date" : "Wed, 10 Jul 2019 23:18:38 GMT", + "x-ms-request-id" : "807249d1-4003-00b9-4903-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:807249d1-4003-00b9-4903-47d378000000\nTime:2019-07-30T18:19:38.6260705Z", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "queue46849fbc" ] + "variables" : [ "queue07130666" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/deleteExisting.json b/storage/client/queue/src/test/resources/session-records/deleteExisting.json index ffaa890d17294..326bd01d83b80 100644 --- a/storage/client/queue/src/test/resources/session-records/deleteExisting.json +++ b/storage/client/queue/src/test/resources/session-records/deleteExisting.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue69325b7f", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue11519005", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd223362-4003-0028-4f75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:05 GMT" + "x-ms-request-id" : "8071de75-4003-00b9-4103-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue69325b7f/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue11519005/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -29,17 +29,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd223387-4003-0028-7075-37b82d000000", - "Body" : "23c03c48-1eb9-48c9-aded-b6c6adb39e9eWed, 10 Jul 2019 23:18:06 GMTWed, 17 Jul 2019 23:18:06 GMTAgAAAAMAAAAAAAAA1NHmunU31QE=Wed, 10 Jul 2019 23:18:06 GMT", - "Date" : "Wed, 10 Jul 2019 23:18:05 GMT", + "x-ms-request-id" : "8071dea3-4003-00b9-6e03-47d378000000", + "Body" : "30cc479a-af92-4451-8a41-8413a8f9c095Tue, 30 Jul 2019 18:19:06 GMTTue, 06 Aug 2019 18:19:06 GMTAgAAAAMAAAAAAAAAFWldRgNH1QE=Tue, 30 Jul 2019 18:19:06 GMT", + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue69325b7f", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue11519005", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -47,15 +47,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd223398-4003-0028-0175-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:05 GMT" + "x-ms-request-id" : "8071debe-4003-00b9-0903-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue69325b7f/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue11519005/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -65,17 +65,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd225eb4-4003-0028-3c75-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd225eb4-4003-0028-3c75-37b82d000000\nTime:2019-07-10T23:18:36.4715552Z", - "Date" : "Wed, 10 Jul 2019 23:18:35 GMT", + "x-ms-request-id" : "80724410-4003-00b9-3903-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:80724410-4003-00b9-3903-47d378000000\nTime:2019-07-30T18:19:36.9024744Z", + "Date" : "Tue, 30 Jul 2019 18:19:36 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue69325b7f/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue11519005/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -84,11 +84,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd225ecd-4003-0028-5175-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd225ecd-4003-0028-5175-37b82d000000\nTime:2019-07-10T23:18:36.5175891Z", - "Date" : "Wed, 10 Jul 2019 23:18:36 GMT", + "x-ms-request-id" : "80724439-4003-00b9-6003-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:80724439-4003-00b9-6003-47d378000000\nTime:2019-07-30T18:19:36.9335030Z", + "Date" : "Tue, 30 Jul 2019 18:19:36 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "queue69325b7f" ] + "variables" : [ "queue11519005" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/deleteExistingQueue.json b/storage/client/queue/src/test/resources/session-records/deleteExistingQueue.json index 414ed34da046c..d711d370bf2b0 100644 --- a/storage/client/queue/src/test/resources/session-records/deleteExistingQueue.json +++ b/storage/client/queue/src/test/resources/session-records/deleteExistingQueue.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue15727eac", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue520260d0", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0d290577-6003-009e-6976-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:46 GMT" + "x-ms-request-id" : "1cdd8083-e003-0073-6a09-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:01 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue15727eac", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue520260d0", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -28,15 +28,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d2905e7-6003-009e-4776-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:46 GMT" + "x-ms-request-id" : "1cdd8163-e003-0073-3009-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:02 GMT" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue15727eac/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue520260d0/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -46,17 +46,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "0d290618-6003-009e-7176-37b6d5000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:0d290618-6003-009e-7176-37b6d5000000\nTime:2019-07-10T23:24:47.1091308Z", - "Date" : "Wed, 10 Jul 2019 23:24:47 GMT", + "x-ms-request-id" : "1cdd8174-e003-0073-4009-4740b5000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:1cdd8174-e003-0073-4009-4740b5000000\nTime:2019-07-30T19:01:03.1630238Z", + "Date" : "Tue, 30 Jul 2019 19:01:02 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net?prefix=queue15727eac&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queue520260d0&include=&comp=list", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -65,11 +65,11 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0d290643-6003-009e-1b76-37b6d5000000", - "Body" : "queue15727eac", - "Date" : "Wed, 10 Jul 2019 23:24:47 GMT", + "x-ms-request-id" : "1cdd817e-e003-0073-4809-4740b5000000", + "Body" : "queue520260d0", + "Date" : "Tue, 30 Jul 2019 19:01:02 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "queue15727eac" ] + "variables" : [ "queue520260d0" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/deleteMessage.json b/storage/client/queue/src/test/resources/session-records/deleteMessage.json index 4682bf4a1a131..f3bcf1a4fbf6a 100644 --- a/storage/client/queue/src/test/resources/session-records/deleteMessage.json +++ b/storage/client/queue/src/test/resources/session-records/deleteMessage.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue1154048f", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue60865355", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd226162-4003-0028-1e75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:38 GMT" + "x-ms-request-id" : "807248e4-4003-00b9-6403-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue1154048f/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue60865355/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -29,17 +29,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd226172-4003-0028-2a75-37b82d000000", - "Body" : "5d20d094-2ec7-4544-9ad1-86fc3aa14140Wed, 10 Jul 2019 23:18:38 GMTWed, 17 Jul 2019 23:18:38 GMTAgAAAAMAAAAAAAAAskA9znU31QE=Wed, 10 Jul 2019 23:18:38 GMT", - "Date" : "Wed, 10 Jul 2019 23:18:38 GMT", + "x-ms-request-id" : "80724919-4003-00b9-1703-47d378000000", + "Body" : "70decbfa-af3b-453f-b291-f78c97eb512dTue, 30 Jul 2019 18:19:38 GMTTue, 06 Aug 2019 18:19:38 GMTAgAAAAMAAAAAAAAA9GMvWQNH1QE=Tue, 30 Jul 2019 18:19:38 GMT", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue1154048f/messages?numofmessages=1&visibilitytimeout=30", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue60865355/messages?numofmessages=1&visibilitytimeout=30", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -48,17 +48,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "dd226183-4003-0028-3675-37b82d000000", - "Body" : "5d20d094-2ec7-4544-9ad1-86fc3aa14140Wed, 10 Jul 2019 23:18:38 GMTWed, 17 Jul 2019 23:18:38 GMTAgAAAAMAAAAAAAAAOIYm4HU31QE=Wed, 10 Jul 2019 23:19:08 GMT1test message", - "Date" : "Wed, 10 Jul 2019 23:18:38 GMT", + "x-ms-request-id" : "80724936-4003-00b9-3103-47d378000000", + "Body" : "70decbfa-af3b-453f-b291-f78c97eb512dTue, 30 Jul 2019 18:19:38 GMTTue, 06 Aug 2019 18:19:38 GMTAgAAAAMAAAAAAAAA8psVawNH1QE=Tue, 30 Jul 2019 18:20:08 GMT1test message", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue1154048f/messages/5d20d094-2ec7-4544-9ad1-86fc3aa14140?popreceipt=AgAAAAMAAAAAAAAAOIYm4HU31QE%3d", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue60865355/messages/70decbfa-af3b-453f-b291-f78c97eb512d?popreceipt=AgAAAAMAAAAAAAAA8psVawNH1QE%3d", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -66,15 +66,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd226190-4003-0028-3f75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:38 GMT" + "x-ms-request-id" : "80724958-4003-00b9-5103-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue1154048f?comp=metadata", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue60865355?comp=metadata", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -84,15 +84,15 @@ "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "dd2261a5-4003-0028-4e75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:38 GMT" + "x-ms-request-id" : "80724972-4003-00b9-6a03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue1154048f/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue60865355/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -100,15 +100,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd2261ba-4003-0028-5e75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:38 GMT" + "x-ms-request-id" : "80724985-4003-00b9-7d03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue1154048f", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue60865355", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -116,9 +116,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd2261ce-4003-0028-6c75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:38 GMT" + "x-ms-request-id" : "8072499e-4003-00b9-1603-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT" } } ], - "variables" : [ "queue1154048f" ] + "variables" : [ "queue60865355" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/deleteMessageInvalidMessageId.json b/storage/client/queue/src/test/resources/session-records/deleteMessageInvalidMessageId.json index 4eccb534a46f3..02698922bb522 100644 --- a/storage/client/queue/src/test/resources/session-records/deleteMessageInvalidMessageId.json +++ b/storage/client/queue/src/test/resources/session-records/deleteMessageInvalidMessageId.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue96938aad", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue5582925f", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd221ea5-4003-0028-1075-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:17:53 GMT" + "x-ms-request-id" : "8071bd76-4003-00b9-5603-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:18:56 GMT" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue96938aad/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue5582925f/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -29,17 +29,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd221eb9-4003-0028-2375-37b82d000000", - "Body" : "17aa480c-b8aa-47ce-9fdb-753a00853819Wed, 10 Jul 2019 23:17:54 GMTWed, 17 Jul 2019 23:17:54 GMTAgAAAAMAAAAAAAAALPXXs3U31QE=Wed, 10 Jul 2019 23:17:54 GMT", - "Date" : "Wed, 10 Jul 2019 23:17:54 GMT", + "x-ms-request-id" : "8071bda8-4003-00b9-0603-47d378000000", + "Body" : "6c6a6f5b-e93c-4712-a9e6-9d882ef2725dTue, 30 Jul 2019 18:18:56 GMTTue, 06 Aug 2019 18:18:56 GMTAgAAAAMAAAAAAAAAJ00nQANH1QE=Tue, 30 Jul 2019 18:18:56 GMT", + "Date" : "Tue, 30 Jul 2019 18:18:56 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue96938aad/messages?numofmessages=1&visibilitytimeout=30", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue5582925f/messages?numofmessages=1&visibilitytimeout=30", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -48,17 +48,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "dd221ecb-4003-0028-3575-37b82d000000", - "Body" : "17aa480c-b8aa-47ce-9fdb-753a00853819Wed, 10 Jul 2019 23:17:54 GMTWed, 17 Jul 2019 23:17:54 GMTAgAAAAMAAAAAAAAA4IjBxXU31QE=Wed, 10 Jul 2019 23:18:24 GMT1test message", - "Date" : "Wed, 10 Jul 2019 23:17:54 GMT", + "x-ms-request-id" : "8071bdd6-4003-00b9-3403-47d378000000", + "Body" : "6c6a6f5b-e93c-4712-a9e6-9d882ef2725dTue, 30 Jul 2019 18:18:56 GMTTue, 06 Aug 2019 18:18:56 GMTAgAAAAMAAAAAAAAAb4EPUgNH1QE=Tue, 30 Jul 2019 18:19:26 GMT1test message", + "Date" : "Tue, 30 Jul 2019 18:18:56 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue96938aad/messages/17aa480c-b8aa-47ce-9fdb-753a00853819random?popreceipt=AgAAAAMAAAAAAAAA4IjBxXU31QE%3d", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue5582925f/messages/6c6a6f5b-e93c-4712-a9e6-9d882ef2725drandom?popreceipt=AgAAAAMAAAAAAAAAb4EPUgNH1QE%3d", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -67,17 +67,17 @@ "retry-after" : "0", "Content-Length" : "221", "StatusCode" : "404", - "x-ms-request-id" : "dd221ee5-4003-0028-4d75-37b82d000000", - "Body" : "MessageNotFoundThe specified message does not exist.\nRequestId:dd221ee5-4003-0028-4d75-37b82d000000\nTime:2019-07-10T23:17:54.6327585Z", - "Date" : "Wed, 10 Jul 2019 23:17:54 GMT", + "x-ms-request-id" : "8071be01-4003-00b9-5f03-47d378000000", + "Body" : "MessageNotFoundThe specified message does not exist.\nRequestId:8071be01-4003-00b9-5f03-47d378000000\nTime:2019-07-30T18:18:56.4930009Z", + "Date" : "Tue, 30 Jul 2019 18:18:56 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue96938aad/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue5582925f/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -85,15 +85,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd221ef8-4003-0028-5f75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:17:54 GMT" + "x-ms-request-id" : "8071be28-4003-00b9-0603-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:18:56 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue96938aad", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue5582925f", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -101,9 +101,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd221f17-4003-0028-7c75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:17:54 GMT" + "x-ms-request-id" : "8071be47-4003-00b9-2403-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:18:56 GMT" } } ], - "variables" : [ "queue96938aad" ] + "variables" : [ "queue5582925f" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/deleteMessageInvalidPopReceipt.json b/storage/client/queue/src/test/resources/session-records/deleteMessageInvalidPopReceipt.json index 01154b0b743de..875c4a238ffb7 100644 --- a/storage/client/queue/src/test/resources/session-records/deleteMessageInvalidPopReceipt.json +++ b/storage/client/queue/src/test/resources/session-records/deleteMessageInvalidPopReceipt.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue67327535", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue76680d09", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd221e11-4003-0028-0575-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:17:53 GMT" + "x-ms-request-id" : "8071bc63-4003-00b9-4d03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:18:56 GMT" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue67327535/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue76680d09/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -29,17 +29,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd221e1c-4003-0028-0f75-37b82d000000", - "Body" : "a848cec9-d421-43a6-ac39-6a941d76d21bWed, 10 Jul 2019 23:17:54 GMTWed, 17 Jul 2019 23:17:54 GMTAgAAAAMAAAAAAAAAJDmgs3U31QE=Wed, 10 Jul 2019 23:17:54 GMT", - "Date" : "Wed, 10 Jul 2019 23:17:53 GMT", + "x-ms-request-id" : "8071bc9c-4003-00b9-0403-47d378000000", + "Body" : "9a59b835-0fa6-4bcb-8094-61e61a4120c2Tue, 30 Jul 2019 18:18:56 GMTTue, 06 Aug 2019 18:18:56 GMTAgAAAAMAAAAAAAAAGXD/PwNH1QE=Tue, 30 Jul 2019 18:18:56 GMT", + "Date" : "Tue, 30 Jul 2019 18:18:56 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue67327535/messages?numofmessages=1&visibilitytimeout=30", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue76680d09/messages?numofmessages=1&visibilitytimeout=30", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -48,17 +48,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "dd221e2b-4003-0028-1e75-37b82d000000", - "Body" : "a848cec9-d421-43a6-ac39-6a941d76d21bWed, 10 Jul 2019 23:17:54 GMTWed, 17 Jul 2019 23:17:54 GMTAgAAAAMAAAAAAAAANWmKxXU31QE=Wed, 10 Jul 2019 23:18:24 GMT1test message", - "Date" : "Wed, 10 Jul 2019 23:17:53 GMT", + "x-ms-request-id" : "8071bcc5-4003-00b9-2b03-47d378000000", + "Body" : "9a59b835-0fa6-4bcb-8094-61e61a4120c2Tue, 30 Jul 2019 18:18:56 GMTTue, 06 Aug 2019 18:18:56 GMTAgAAAAMAAAAAAAAAb6TnUQNH1QE=Tue, 30 Jul 2019 18:19:26 GMT1test message", + "Date" : "Tue, 30 Jul 2019 18:18:56 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue67327535/messages/a848cec9-d421-43a6-ac39-6a941d76d21b?popreceipt=AgAAAAMAAAAAAAAANWmKxXU31QE%3drandom", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue76680d09/messages/9a59b835-0fa6-4bcb-8094-61e61a4120c2?popreceipt=AgAAAAMAAAAAAAAAb6TnUQNH1QE%3drandom", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -67,17 +67,17 @@ "retry-after" : "0", "Content-Length" : "444", "StatusCode" : "400", - "x-ms-request-id" : "dd221e4c-4003-0028-3c75-37b82d000000", - "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:dd221e4c-4003-0028-3c75-37b82d000000\nTime:2019-07-10T23:17:54.2735030ZpopreceiptAgAAAAMAAAAAAAAANWmKxXU31QE=randomInvalid pop receipt format", - "Date" : "Wed, 10 Jul 2019 23:17:53 GMT", + "x-ms-request-id" : "8071bcf4-4003-00b9-5803-47d378000000", + "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:8071bcf4-4003-00b9-5803-47d378000000\nTime:2019-07-30T18:18:56.2297573ZpopreceiptAgAAAAMAAAAAAAAAb6TnUQNH1QE=randomInvalid pop receipt format", + "Date" : "Tue, 30 Jul 2019 18:18:56 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue67327535/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue76680d09/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -85,15 +85,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd221e6a-4003-0028-5575-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:17:53 GMT" + "x-ms-request-id" : "8071bd1d-4003-00b9-7e03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:18:56 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue67327535", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue76680d09", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -101,9 +101,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd221e7b-4003-0028-6675-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:17:53 GMT" + "x-ms-request-id" : "8071bd3c-4003-00b9-1c03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:18:56 GMT" } } ], - "variables" : [ "queue67327535" ] + "variables" : [ "queue76680d09" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/deleteMessageQueueDoesNotExist.json b/storage/client/queue/src/test/resources/session-records/deleteMessageQueueDoesNotExist.json index c03dedb5c4887..287a17ccf8f14 100644 --- a/storage/client/queue/src/test/resources/session-records/deleteMessageQueueDoesNotExist.json +++ b/storage/client/queue/src/test/resources/session-records/deleteMessageQueueDoesNotExist.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue055108e6/messages/invalid?popreceipt=call", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue5543243d/messages/invalid?popreceipt=call", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd226381-4003-0028-5575-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd226381-4003-0028-5575-37b82d000000\nTime:2019-07-10T23:18:40.1101585Z", - "Date" : "Wed, 10 Jul 2019 23:18:39 GMT", + "x-ms-request-id" : "80724c3c-4003-00b9-2003-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:80724c3c-4003-00b9-2003-47d378000000\nTime:2019-07-30T18:19:39.3217165Z", + "Date" : "Tue, 30 Jul 2019 18:19:39 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue055108e6/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue5543243d/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd226390-4003-0028-6375-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd226390-4003-0028-6375-37b82d000000\nTime:2019-07-10T23:18:40.1591931Z", - "Date" : "Wed, 10 Jul 2019 23:18:39 GMT", + "x-ms-request-id" : "80724c62-4003-00b9-4503-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:80724c62-4003-00b9-4503-47d378000000\nTime:2019-07-30T18:19:39.3547455Z", + "Date" : "Tue, 30 Jul 2019 18:19:39 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "queue055108e6" ] + "variables" : [ "queue5543243d" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/deleteMetadata.json b/storage/client/queue/src/test/resources/session-records/deleteMetadata.json index 8ba83a6d8d215..705c7722d081c 100644 --- a/storage/client/queue/src/test/resources/session-records/deleteMetadata.json +++ b/storage/client/queue/src/test/resources/session-records/deleteMetadata.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue679519e2", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue743794d9", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd2263ff-4003-0028-4975-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:39 GMT" + "x-ms-request-id" : "80724d57-4003-00b9-3403-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:39 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue679519e2?comp=metadata", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue743794d9?comp=metadata", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -31,16 +31,16 @@ "x-ms-approximate-messages-count" : "0", "x-ms-meta-metadata1" : "value1", "StatusCode" : "200", - "x-ms-request-id" : "dd226409-4003-0028-5275-37b82d000000", + "x-ms-request-id" : "80724d80-4003-00b9-5a03-47d378000000", "x-ms-meta-metadata2" : "value2", - "Date" : "Wed, 10 Jul 2019 23:18:40 GMT" + "Date" : "Tue, 30 Jul 2019 18:19:39 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue679519e2?comp=metadata", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue743794d9?comp=metadata", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -48,15 +48,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd226418-4003-0028-6075-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:40 GMT" + "x-ms-request-id" : "80724d98-4003-00b9-7203-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:39 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue679519e2?comp=metadata", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue743794d9?comp=metadata", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -66,15 +66,15 @@ "Content-Length" : "0", "x-ms-approximate-messages-count" : "0", "StatusCode" : "200", - "x-ms-request-id" : "dd226420-4003-0028-6875-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:40 GMT" + "x-ms-request-id" : "80724db1-4003-00b9-0b03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:39 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue679519e2/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue743794d9/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -82,15 +82,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd226434-4003-0028-7b75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:40 GMT" + "x-ms-request-id" : "80724dd4-4003-00b9-2d03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:39 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue679519e2", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue743794d9", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -98,9 +98,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd22644c-4003-0028-1275-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:40 GMT" + "x-ms-request-id" : "80724dec-4003-00b9-4503-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:39 GMT" } } ], - "variables" : [ "queue679519e2" ] + "variables" : [ "queue743794d9" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/deleteNonExistent.json b/storage/client/queue/src/test/resources/session-records/deleteNonExistent.json index 2fa6701c17acb..525cc82bc6b9a 100644 --- a/storage/client/queue/src/test/resources/session-records/deleteNonExistent.json +++ b/storage/client/queue/src/test/resources/session-records/deleteNonExistent.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue04551c5d", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue784292a2", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd226108-4003-0028-4e75-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd226108-4003-0028-4e75-37b82d000000\nTime:2019-07-10T23:18:38.4209499Z", - "Date" : "Wed, 10 Jul 2019 23:18:37 GMT", + "x-ms-request-id" : "80724806-4003-00b9-0b03-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:80724806-4003-00b9-0b03-47d378000000\nTime:2019-07-30T18:19:38.1306132Z", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue04551c5d/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue784292a2/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd226119-4003-0028-5e75-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd226119-4003-0028-5e75-37b82d000000\nTime:2019-07-10T23:18:38.4689812Z", - "Date" : "Wed, 10 Jul 2019 23:18:37 GMT", + "x-ms-request-id" : "80724826-4003-00b9-2a03-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:80724826-4003-00b9-2a03-47d378000000\nTime:2019-07-30T18:19:38.1606401Z", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "queue04551c5d" ] + "variables" : [ "queue784292a2" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/deleteNonExistentQueue.json b/storage/client/queue/src/test/resources/session-records/deleteNonExistentQueue.json index bf9105b3ccdc4..2e67336c22047 100644 --- a/storage/client/queue/src/test/resources/session-records/deleteNonExistentQueue.json +++ b/storage/client/queue/src/test/resources/session-records/deleteNonExistentQueue.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue82016a1d", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue5883546e", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "0d290bd9-6003-009e-4476-37b6d5000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:0d290bd9-6003-009e-4476-37b6d5000000\nTime:2019-07-10T23:24:50.9128531Z", - "Date" : "Wed, 10 Jul 2019 23:24:50 GMT", + "x-ms-request-id" : "1cdd8355-e003-0073-6209-4740b5000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:1cdd8355-e003-0073-6209-4740b5000000\nTime:2019-07-30T19:01:07.7774261Z", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net?prefix=queue82016a1d&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queue5883546e&include=&comp=list", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -32,11 +32,11 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0d290bf6-6003-009e-5b76-37b6d5000000", - "Body" : "queue82016a1d", - "Date" : "Wed, 10 Jul 2019 23:24:50 GMT", + "x-ms-request-id" : "1cdd8359-e003-0073-6609-4740b5000000", + "Body" : "queue5883546e", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "queue82016a1d" ] + "variables" : [ "queue5883546e" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/dequeueMessage.json b/storage/client/queue/src/test/resources/session-records/dequeueMessage.json index 6473031c5a50f..235330aad38ce 100644 --- a/storage/client/queue/src/test/resources/session-records/dequeueMessage.json +++ b/storage/client/queue/src/test/resources/session-records/dequeueMessage.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue679346d1", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue854564d6", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd221d34-4003-0028-3d75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:17:52 GMT" + "x-ms-request-id" : "8071bb3b-4003-00b9-2f03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:18:55 GMT" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue679346d1/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue854564d6/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -29,17 +29,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd221d8c-4003-0028-0a75-37b82d000000", - "Body" : "b6c999ca-9091-4109-b579-c4bca39d216dWed, 10 Jul 2019 23:17:53 GMTWed, 17 Jul 2019 23:17:53 GMTAgAAAAMAAAAAAAAA9bc/s3U31QE=Wed, 10 Jul 2019 23:17:53 GMT", - "Date" : "Wed, 10 Jul 2019 23:17:53 GMT", + "x-ms-request-id" : "8071bb62-4003-00b9-5403-47d378000000", + "Body" : "e019e0ee-2a4a-4a02-ba68-ecd484c51b2cTue, 30 Jul 2019 18:18:55 GMTTue, 06 Aug 2019 18:18:55 GMTAgAAAAMAAAAAAAAAszfJPwNH1QE=Tue, 30 Jul 2019 18:18:55 GMT", + "Date" : "Tue, 30 Jul 2019 18:18:55 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue679346d1/messages?numofmessages=1&visibilitytimeout=30", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue854564d6/messages?numofmessages=1&visibilitytimeout=30", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -48,17 +48,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "dd221da4-4003-0028-2275-37b82d000000", - "Body" : "b6c999ca-9091-4109-b579-c4bca39d216dWed, 10 Jul 2019 23:17:53 GMTWed, 17 Jul 2019 23:17:53 GMTAgAAAAMAAAAAAAAA11EwxXU31QE=Wed, 10 Jul 2019 23:18:23 GMT1test message", - "Date" : "Wed, 10 Jul 2019 23:17:53 GMT", + "x-ms-request-id" : "8071bb7d-4003-00b9-6e03-47d378000000", + "Body" : "e019e0ee-2a4a-4a02-ba68-ecd484c51b2cTue, 30 Jul 2019 18:18:55 GMTTue, 06 Aug 2019 18:18:55 GMTAgAAAAMAAAAAAAAAGAywUQNH1QE=Tue, 30 Jul 2019 18:19:25 GMT1test message", + "Date" : "Tue, 30 Jul 2019 18:18:55 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue679346d1/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue854564d6/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -66,15 +66,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd221da9-4003-0028-2775-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:17:53 GMT" + "x-ms-request-id" : "8071bb94-4003-00b9-0403-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:18:55 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue679346d1", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue854564d6", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -82,9 +82,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd221db5-4003-0028-3275-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:17:53 GMT" + "x-ms-request-id" : "8071bbb2-4003-00b9-2103-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:18:55 GMT" } } ], - "variables" : [ "queue679346d1" ] + "variables" : [ "queue854564d6" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/dequeueMultipleMessages.json b/storage/client/queue/src/test/resources/session-records/dequeueMultipleMessages.json index 104a637b766db..aacfeda6c1d69 100644 --- a/storage/client/queue/src/test/resources/session-records/dequeueMultipleMessages.json +++ b/storage/client/queue/src/test/resources/session-records/dequeueMultipleMessages.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue6570759e", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue41164c5f", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd226228-4003-0028-2f75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:38 GMT" + "x-ms-request-id" : "80724a13-4003-00b9-0803-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue6570759e/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue41164c5f/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -29,17 +29,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd22623f-4003-0028-4475-37b82d000000", - "Body" : "3d48ff69-e261-4bea-839c-ca0edfc2af4cWed, 10 Jul 2019 23:18:39 GMTWed, 17 Jul 2019 23:18:39 GMTAgAAAAMAAAAAAAAAYwGHznU31QE=Wed, 10 Jul 2019 23:18:39 GMT", - "Date" : "Wed, 10 Jul 2019 23:18:38 GMT", + "x-ms-request-id" : "80724a33-4003-00b9-2703-47d378000000", + "Body" : "be3d48d4-b018-40ad-85a7-d426fb4d785fTue, 30 Jul 2019 18:19:38 GMTTue, 06 Aug 2019 18:19:38 GMTAgAAAAMAAAAAAAAAA2tgWQNH1QE=Tue, 30 Jul 2019 18:19:38 GMT", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT", "Content-Type" : "application/xml" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue6570759e/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue41164c5f/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -48,17 +48,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd226254-4003-0028-5375-37b82d000000", - "Body" : "fd6a25b1-b3d3-4743-b5b3-072add1a4a86Wed, 10 Jul 2019 23:18:39 GMTWed, 17 Jul 2019 23:18:39 GMTAgAAAAMAAAAAAAAAz3yOznU31QE=Wed, 10 Jul 2019 23:18:39 GMT", - "Date" : "Wed, 10 Jul 2019 23:18:38 GMT", + "x-ms-request-id" : "80724a57-4003-00b9-4a03-47d378000000", + "Body" : "f39387d0-8ac4-4739-80a3-a1e1f8d118dfTue, 30 Jul 2019 18:19:38 GMTTue, 06 Aug 2019 18:19:38 GMTAgAAAAMAAAAAAAAANU5lWQNH1QE=Tue, 30 Jul 2019 18:19:38 GMT", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue6570759e/messages?numofmessages=2&visibilitytimeout=30", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue41164c5f/messages?numofmessages=2&visibilitytimeout=30", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -67,17 +67,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "dd226269-4003-0028-6475-37b82d000000", - "Body" : "3d48ff69-e261-4bea-839c-ca0edfc2af4cWed, 10 Jul 2019 23:18:39 GMTWed, 17 Jul 2019 23:18:39 GMTAgAAAAMAAAAAAAAAWsJ34HU31QE=Wed, 10 Jul 2019 23:19:09 GMT1test messagefd6a25b1-b3d3-4743-b5b3-072add1a4a86Wed, 10 Jul 2019 23:18:39 GMTWed, 17 Jul 2019 23:18:39 GMTAgAAAAMAAAAAAAAAWsJ34HU31QE=Wed, 10 Jul 2019 23:19:09 GMT1test message 2", - "Date" : "Wed, 10 Jul 2019 23:18:38 GMT", + "x-ms-request-id" : "80724a74-4003-00b9-6603-47d378000000", + "Body" : "be3d48d4-b018-40ad-85a7-d426fb4d785fTue, 30 Jul 2019 18:19:38 GMTTue, 06 Aug 2019 18:19:38 GMTAgAAAAMAAAAAAAAAeftLawNH1QE=Tue, 30 Jul 2019 18:20:08 GMT1test messagef39387d0-8ac4-4739-80a3-a1e1f8d118dfTue, 30 Jul 2019 18:19:38 GMTTue, 06 Aug 2019 18:19:38 GMTAgAAAAMAAAAAAAAAeftLawNH1QE=Tue, 30 Jul 2019 18:20:08 GMT1test message 2", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue6570759e/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue41164c5f/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -85,15 +85,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd226296-4003-0028-0975-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:38 GMT" + "x-ms-request-id" : "80724a8f-4003-00b9-7e03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue6570759e", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue41164c5f", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -101,9 +101,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd2262a9-4003-0028-1975-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:38 GMT" + "x-ms-request-id" : "80724aa5-4003-00b9-1403-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT" } } ], - "variables" : [ "queue6570759e" ] + "variables" : [ "queue41164c5f" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/dequeueQueueDoesNotExist.json b/storage/client/queue/src/test/resources/session-records/dequeueQueueDoesNotExist.json index 3bef9c37aaf6e..c92f5ac1b9fbb 100644 --- a/storage/client/queue/src/test/resources/session-records/dequeueQueueDoesNotExist.json +++ b/storage/client/queue/src/test/resources/session-records/dequeueQueueDoesNotExist.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue39822dce/messages?numofmessages=1&visibilitytimeout=30", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue03640269/messages?numofmessages=1&visibilitytimeout=30", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd2260e6-4003-0028-3075-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd2260e6-4003-0028-3075-37b82d000000\nTime:2019-07-10T23:18:38.3148712Z", - "Date" : "Wed, 10 Jul 2019 23:18:37 GMT", + "x-ms-request-id" : "807247b8-4003-00b9-4003-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:807247b8-4003-00b9-4003-47d378000000\nTime:2019-07-30T18:19:38.0495370Z", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue39822dce/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue03640269/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd2260f8-4003-0028-4175-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd2260f8-4003-0028-4175-37b82d000000\nTime:2019-07-10T23:18:38.3619056Z", - "Date" : "Wed, 10 Jul 2019 23:18:37 GMT", + "x-ms-request-id" : "807247d2-4003-00b9-5803-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:807247d2-4003-00b9-5803-47d378000000\nTime:2019-07-30T18:19:38.0825673Z", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "queue39822dce" ] + "variables" : [ "queue03640269" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/dequeueTooManyMessages.json b/storage/client/queue/src/test/resources/session-records/dequeueTooManyMessages.json index 757caa567efa5..c1216be98ccd8 100644 --- a/storage/client/queue/src/test/resources/session-records/dequeueTooManyMessages.json +++ b/storage/client/queue/src/test/resources/session-records/dequeueTooManyMessages.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue03015bde", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue33803725", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd2226b1-4003-0028-0675-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:17:59 GMT" + "x-ms-request-id" : "8071cf82-4003-00b9-6203-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:01 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue03015bde/messages?numofmessages=64&visibilitytimeout=30", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue33803725/messages?numofmessages=64&visibilitytimeout=30", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -29,17 +29,17 @@ "retry-after" : "0", "Content-Length" : "456", "StatusCode" : "400", - "x-ms-request-id" : "dd2226cd-4003-0028-1d75-37b82d000000", - "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:dd2226cd-4003-0028-1d75-37b82d000000\nTime:2019-07-10T23:18:00.2767678Znumofmessages64132", - "Date" : "Wed, 10 Jul 2019 23:17:59 GMT", + "x-ms-request-id" : "8071cfa7-4003-00b9-0503-47d378000000", + "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:8071cfa7-4003-00b9-0503-47d378000000\nTime:2019-07-30T18:19:01.9911001Znumofmessages64132", + "Date" : "Tue, 30 Jul 2019 18:19:01 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue03015bde/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue33803725/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -47,15 +47,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd2226e0-4003-0028-2e75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:17:59 GMT" + "x-ms-request-id" : "8071cfc0-4003-00b9-1d03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:01 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue03015bde", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue33803725", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -63,9 +63,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd2226fd-4003-0028-4a75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:17:59 GMT" + "x-ms-request-id" : "8071cfe1-4003-00b9-3d03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT" } } ], - "variables" : [ "queue03015bde" ] + "variables" : [ "queue33803725" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/enqueueEmptyMessage.json b/storage/client/queue/src/test/resources/session-records/enqueueEmptyMessage.json index ed0aaef6517fc..015e74ada642d 100644 --- a/storage/client/queue/src/test/resources/session-records/enqueueEmptyMessage.json +++ b/storage/client/queue/src/test/resources/session-records/enqueueEmptyMessage.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue76420ef8", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue85000300", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd2262ce-4003-0028-3475-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:39 GMT" + "x-ms-request-id" : "80724adb-4003-00b9-4903-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue76420ef8/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue85000300/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -29,17 +29,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd2262e1-4003-0028-4275-37b82d000000", - "Body" : "e1efc34f-03c7-4037-9597-6955381e8889Wed, 10 Jul 2019 23:18:39 GMTWed, 17 Jul 2019 23:18:39 GMTAgAAAAMAAAAAAAAAl6+7znU31QE=Wed, 10 Jul 2019 23:18:39 GMT", - "Date" : "Wed, 10 Jul 2019 23:18:39 GMT", + "x-ms-request-id" : "80724b04-4003-00b9-7103-47d378000000", + "Body" : "f1339f74-d98e-4e9c-bfb7-b53cda993323Tue, 30 Jul 2019 18:19:38 GMTTue, 06 Aug 2019 18:19:38 GMTAgAAAAMAAAAAAAAApySGWQNH1QE=Tue, 30 Jul 2019 18:19:38 GMT", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue76420ef8/messages?peekonly=true", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue85000300/messages?peekonly=true", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -48,17 +48,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "dd2262ef-4003-0028-5075-37b82d000000", - "Body" : "e1efc34f-03c7-4037-9597-6955381e8889Wed, 10 Jul 2019 23:18:39 GMTWed, 17 Jul 2019 23:18:39 GMT0", - "Date" : "Wed, 10 Jul 2019 23:18:39 GMT", + "x-ms-request-id" : "80724b26-4003-00b9-1303-47d378000000", + "Body" : "f1339f74-d98e-4e9c-bfb7-b53cda993323Tue, 30 Jul 2019 18:19:38 GMTTue, 06 Aug 2019 18:19:38 GMT0", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue76420ef8/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue85000300/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -66,15 +66,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd2262fe-4003-0028-5e75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:39 GMT" + "x-ms-request-id" : "80724b3f-4003-00b9-2c03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue76420ef8", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue85000300", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -82,9 +82,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd22630f-4003-0028-6f75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:39 GMT" + "x-ms-request-id" : "80724b51-4003-00b9-3e03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT" } } ], - "variables" : [ "queue76420ef8" ] + "variables" : [ "queue85000300" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/enqueueMessage.json b/storage/client/queue/src/test/resources/session-records/enqueueMessage.json index ff3e72aedaacf..4be6f36d26c08 100644 --- a/storage/client/queue/src/test/resources/session-records/enqueueMessage.json +++ b/storage/client/queue/src/test/resources/session-records/enqueueMessage.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue17032768", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue857326bc", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd222a23-4003-0028-4b75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:01 GMT" + "x-ms-request-id" : "8071d362-4003-00b9-1a03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:03 GMT" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue17032768/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue857326bc/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -29,17 +29,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd222a4a-4003-0028-6c75-37b82d000000", - "Body" : "7422f1b3-c1b1-4385-a945-6365e2e01caaWed, 10 Jul 2019 23:18:01 GMTWed, 17 Jul 2019 23:18:01 GMTAgAAAAMAAAAAAAAAQm1FuHU31QE=Wed, 10 Jul 2019 23:18:01 GMT", - "Date" : "Wed, 10 Jul 2019 23:18:01 GMT", + "x-ms-request-id" : "8071d37c-4003-00b9-3203-47d378000000", + "Body" : "f39a6db5-cb4a-4f70-be21-c72803c0253eTue, 30 Jul 2019 18:19:03 GMTTue, 06 Aug 2019 18:19:03 GMTAgAAAAMAAAAAAAAAV6QtRANH1QE=Tue, 30 Jul 2019 18:19:03 GMT", + "Date" : "Tue, 30 Jul 2019 18:19:03 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue17032768/messages?peekonly=true", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue857326bc/messages?peekonly=true", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -48,17 +48,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "dd222a74-4003-0028-1275-37b82d000000", - "Body" : "7422f1b3-c1b1-4385-a945-6365e2e01caaWed, 10 Jul 2019 23:18:01 GMTWed, 17 Jul 2019 23:18:01 GMT0test message", - "Date" : "Wed, 10 Jul 2019 23:18:01 GMT", + "x-ms-request-id" : "8071d393-4003-00b9-4903-47d378000000", + "Body" : "f39a6db5-cb4a-4f70-be21-c72803c0253eTue, 30 Jul 2019 18:19:03 GMTTue, 06 Aug 2019 18:19:03 GMT0test message", + "Date" : "Tue, 30 Jul 2019 18:19:03 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue17032768/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue857326bc/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -66,15 +66,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd222aa3-4003-0028-3975-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:01 GMT" + "x-ms-request-id" : "8071d3a6-4003-00b9-5c03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:03 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue17032768", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue857326bc", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -82,9 +82,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd222ac4-4003-0028-5675-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:01 GMT" + "x-ms-request-id" : "8071d3b4-4003-00b9-6a03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:03 GMT" } } ], - "variables" : [ "queue17032768" ] + "variables" : [ "queue857326bc" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/enqueueQueueDoesNotExist.json b/storage/client/queue/src/test/resources/session-records/enqueueQueueDoesNotExist.json index 9433eea40c38b..9859c91ffdb1a 100644 --- a/storage/client/queue/src/test/resources/session-records/enqueueQueueDoesNotExist.json +++ b/storage/client/queue/src/test/resources/session-records/enqueueQueueDoesNotExist.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue39910e47/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue50657bc8/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -14,17 +14,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd2229a6-4003-0028-6475-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd2229a6-4003-0028-6475-37b82d000000\nTime:2019-07-10T23:18:01.6777634Z", - "Date" : "Wed, 10 Jul 2019 23:18:01 GMT", + "x-ms-request-id" : "8071d2c1-4003-00b9-8003-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:8071d2c1-4003-00b9-8003-47d378000000\nTime:2019-07-30T18:19:02.9379772Z", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue39910e47/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue50657bc8/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -33,11 +33,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd2229bd-4003-0028-7575-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd2229bd-4003-0028-7575-37b82d000000\nTime:2019-07-10T23:18:01.7277985Z", - "Date" : "Wed, 10 Jul 2019 23:18:01 GMT", + "x-ms-request-id" : "8071d2ea-4003-00b9-2703-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:8071d2ea-4003-00b9-2703-47d378000000\nTime:2019-07-30T18:19:02.9770131Z", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "queue39910e47" ] + "variables" : [ "queue50657bc8" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/enqueueShortTimeToLiveMessage.json b/storage/client/queue/src/test/resources/session-records/enqueueShortTimeToLiveMessage.json index bb6b2172664f2..5c546664731c4 100644 --- a/storage/client/queue/src/test/resources/session-records/enqueueShortTimeToLiveMessage.json +++ b/storage/client/queue/src/test/resources/session-records/enqueueShortTimeToLiveMessage.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue69359315", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue4952015f", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd221f37-4003-0028-1c75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:17:54 GMT" + "x-ms-request-id" : "8071be6d-4003-00b9-4a03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:18:56 GMT" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue69359315/messages?visibilitytimeout=0&messagettl=2", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue4952015f/messages?visibilitytimeout=0&messagettl=2", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -29,17 +29,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd221f43-4003-0028-2775-37b82d000000", - "Body" : "c96e7db1-1d4a-4743-b165-a5835968722aWed, 10 Jul 2019 23:17:54 GMTWed, 10 Jul 2019 23:17:56 GMTAgAAAAMAAAAAAAAApcYOtHU31QE=Wed, 10 Jul 2019 23:17:54 GMT", - "Date" : "Wed, 10 Jul 2019 23:17:54 GMT", + "x-ms-request-id" : "8071be9d-4003-00b9-7603-47d378000000", + "Body" : "f2a72af5-11f7-4174-9bca-0c6bbc7a1a4fTue, 30 Jul 2019 18:18:56 GMTTue, 30 Jul 2019 18:18:58 GMTAgAAAAMAAAAAAAAAl7hMQANH1QE=Tue, 30 Jul 2019 18:18:56 GMT", + "Date" : "Tue, 30 Jul 2019 18:18:56 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue69359315/messages?peekonly=true", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue4952015f/messages?peekonly=true", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -48,17 +48,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "dd222634-4003-0028-1675-37b82d000000", + "x-ms-request-id" : "8071cea8-4003-00b9-0e03-47d378000000", "Body" : "", - "Date" : "Wed, 10 Jul 2019 23:17:59 GMT", + "Date" : "Tue, 30 Jul 2019 18:19:01 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue69359315/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue4952015f/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -66,15 +66,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd22264c-4003-0028-2c75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:17:59 GMT" + "x-ms-request-id" : "8071cec0-4003-00b9-2603-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:01 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue69359315", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue4952015f", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -82,9 +82,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd222666-4003-0028-4375-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:17:59 GMT" + "x-ms-request-id" : "8071cee0-4003-00b9-4603-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:01 GMT" } } ], - "variables" : [ "queue69359315" ] + "variables" : [ "queue4952015f" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/getAccessPolicy.json b/storage/client/queue/src/test/resources/session-records/getAccessPolicy.json index 79f9317b619d1..f4583b3a1ca69 100644 --- a/storage/client/queue/src/test/resources/session-records/getAccessPolicy.json +++ b/storage/client/queue/src/test/resources/session-records/getAccessPolicy.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue276184e3", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue9583269e", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd222bac-4003-0028-2175-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:02 GMT" + "x-ms-request-id" : "8071d4c3-4003-00b9-7003-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:03 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue276184e3?comp=acl", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue9583269e?comp=acl", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -29,17 +29,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "dd222bc0-4003-0028-3175-37b82d000000", + "x-ms-request-id" : "8071d4e3-4003-00b9-0e03-47d378000000", "Body" : "", - "Date" : "Wed, 10 Jul 2019 23:18:02 GMT", + "Date" : "Tue, 30 Jul 2019 18:19:03 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue276184e3/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue9583269e/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -47,15 +47,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd222be3-4003-0028-4d75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:02 GMT" + "x-ms-request-id" : "8071d4fb-4003-00b9-2603-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:03 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue276184e3", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue9583269e", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -63,9 +63,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd222bfe-4003-0028-6375-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:02 GMT" + "x-ms-request-id" : "8071d50b-4003-00b9-3503-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:03 GMT" } } ], - "variables" : [ "queue276184e3" ] + "variables" : [ "queue9583269e" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/getAccessPolicyQueueDoesNotExist.json b/storage/client/queue/src/test/resources/session-records/getAccessPolicyQueueDoesNotExist.json index 8c772f655188e..f51ee48724c71 100644 --- a/storage/client/queue/src/test/resources/session-records/getAccessPolicyQueueDoesNotExist.json +++ b/storage/client/queue/src/test/resources/session-records/getAccessPolicyQueueDoesNotExist.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue66823709?comp=acl", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue066060ee?comp=acl", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd22604d-4003-0028-2a75-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd22604d-4003-0028-2a75-37b82d000000\nTime:2019-07-10T23:18:37.8315254Z", - "Date" : "Wed, 10 Jul 2019 23:18:37 GMT", + "x-ms-request-id" : "8072468c-4003-00b9-2603-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:8072468c-4003-00b9-2603-47d378000000\nTime:2019-07-30T18:19:37.6481654Z", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue66823709/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue066060ee/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd226056-4003-0028-3275-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd226056-4003-0028-3275-37b82d000000\nTime:2019-07-10T23:18:37.8795608Z", - "Date" : "Wed, 10 Jul 2019 23:18:37 GMT", + "x-ms-request-id" : "807246a7-4003-00b9-3f03-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:807246a7-4003-00b9-3f03-47d378000000\nTime:2019-07-30T18:19:37.6781928Z", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "queue66823709" ] + "variables" : [ "queue066060ee" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/getProperties.json b/storage/client/queue/src/test/resources/session-records/getProperties.json index a7c0a0ec5332d..c603492afe88c 100644 --- a/storage/client/queue/src/test/resources/session-records/getProperties.json +++ b/storage/client/queue/src/test/resources/session-records/getProperties.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue36601253", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue98021a59", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd2227b8-4003-0028-6075-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:00 GMT" + "x-ms-request-id" : "8071d0a9-4003-00b9-7f03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue36601253?comp=metadata", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue98021a59?comp=metadata", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -31,16 +31,16 @@ "x-ms-approximate-messages-count" : "0", "x-ms-meta-metadata1" : "value1", "StatusCode" : "200", - "x-ms-request-id" : "dd2227d1-4003-0028-7675-37b82d000000", + "x-ms-request-id" : "8071d0df-4003-00b9-3403-47d378000000", "x-ms-meta-metadata2" : "value2", - "Date" : "Wed, 10 Jul 2019 23:18:00 GMT" + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue36601253/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue98021a59/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -48,15 +48,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd2227f9-4003-0028-1775-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:00 GMT" + "x-ms-request-id" : "8071d0ff-4003-00b9-5303-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue36601253", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue98021a59", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -64,9 +64,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd222807-4003-0028-2575-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:00 GMT" + "x-ms-request-id" : "8071d123-4003-00b9-7703-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT" } } ], - "variables" : [ "queue36601253" ] + "variables" : [ "queue98021a59" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/getPropertiesQueueDoesNotExist.json b/storage/client/queue/src/test/resources/session-records/getPropertiesQueueDoesNotExist.json index fe98b22946df5..c81fadfa36f6f 100644 --- a/storage/client/queue/src/test/resources/session-records/getPropertiesQueueDoesNotExist.json +++ b/storage/client/queue/src/test/resources/session-records/getPropertiesQueueDoesNotExist.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue7527481d?comp=metadata", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue89138457?comp=metadata", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd222681-4003-0028-5b75-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd222681-4003-0028-5b75-37b82d000000\nTime:2019-07-10T23:18:00.1126512Z", - "Date" : "Wed, 10 Jul 2019 23:17:59 GMT", + "x-ms-request-id" : "8071cf1e-4003-00b9-0203-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:8071cf1e-4003-00b9-0203-47d378000000\nTime:2019-07-30T18:19:01.8439650Z", + "Date" : "Tue, 30 Jul 2019 18:19:01 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue7527481d/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue89138457/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd22269d-4003-0028-7375-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd22269d-4003-0028-7375-37b82d000000\nTime:2019-07-10T23:18:00.1626872Z", - "Date" : "Wed, 10 Jul 2019 23:17:59 GMT", + "x-ms-request-id" : "8071cf3f-4003-00b9-2103-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:8071cf3f-4003-00b9-2103-47d378000000\nTime:2019-07-30T18:19:01.8769939Z", + "Date" : "Tue, 30 Jul 2019 18:19:01 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "queue7527481d" ] + "variables" : [ "queue89138457" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/getQueueDoesNotCreateAQueue.json b/storage/client/queue/src/test/resources/session-records/getQueueDoesNotCreateAQueue.json index 7776d4fed4783..0f91979ead556 100644 --- a/storage/client/queue/src/test/resources/session-records/getQueueDoesNotCreateAQueue.json +++ b/storage/client/queue/src/test/resources/session-records/getQueueDoesNotCreateAQueue.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue48695d7f/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue881089d3/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -14,17 +14,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "0d290a18-6003-009e-3676-37b6d5000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:0d290a18-6003-009e-3676-37b6d5000000\nTime:2019-07-10T23:24:49.7390111Z", - "Date" : "Wed, 10 Jul 2019 23:24:49 GMT", + "x-ms-request-id" : "1cdd82f3-e003-0073-0f09-4740b5000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:1cdd82f3-e003-0073-0f09-4740b5000000\nTime:2019-07-30T19:01:06.9836664Z", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net?prefix=queue48695d7f&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queue881089d3&include=&comp=list", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -33,11 +33,11 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0d290a2f-6003-009e-4876-37b6d5000000", - "Body" : "queue48695d7f", - "Date" : "Wed, 10 Jul 2019 23:24:49 GMT", + "x-ms-request-id" : "1cdd82f9-e003-0073-1409-4740b5000000", + "Body" : "queue881089d3", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "queue48695d7f" ] + "variables" : [ "queue881089d3" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/listQueues.json b/storage/client/queue/src/test/resources/session-records/listQueues.json index 361f47abd400a..60f43a8300520 100644 --- a/storage/client/queue/src/test/resources/session-records/listQueues.json +++ b/storage/client/queue/src/test/resources/session-records/listQueues.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue455724b60", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue53815dd50", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0d2907f4-6003-009e-0976-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:48 GMT" + "x-ms-request-id" : "1cdd8272-e003-0073-1c09-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:05 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue455724b61", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue53815dd51", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -28,15 +28,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0d290805-6003-009e-1376-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:48 GMT" + "x-ms-request-id" : "1cdd8278-e003-0073-2109-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:05 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue455724b62", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue53815dd52", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -44,15 +44,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0d29080b-6003-009e-1876-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:48 GMT" + "x-ms-request-id" : "1cdd827e-e003-0073-2609-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:05 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net?prefix=queue455724b6&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queue53815dd5&include=&comp=list", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -61,17 +61,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0d290816-6003-009e-2276-37b6d5000000", - "Body" : "queue455724b6queue455724b60queue455724b61queue455724b62", - "Date" : "Wed, 10 Jul 2019 23:24:48 GMT", + "x-ms-request-id" : "1cdd8286-e003-0073-2d09-4740b5000000", + "Body" : "queue53815dd5queue53815dd50queue53815dd51queue53815dd52", + "Date" : "Tue, 30 Jul 2019 19:01:05 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net?prefix=queue455724b6&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queue53815dd5&include=&comp=list", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -80,17 +80,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0d29083e-6003-009e-4676-37b6d5000000", - "Body" : "queue455724b6queue455724b60queue455724b61queue455724b62", - "Date" : "Wed, 10 Jul 2019 23:24:48 GMT", + "x-ms-request-id" : "1cdd828a-e003-0073-3109-4740b5000000", + "Body" : "queue53815dd5queue53815dd50queue53815dd51queue53815dd52", + "Date" : "Tue, 30 Jul 2019 19:01:05 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue455724b60/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue53815dd50/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -98,15 +98,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d290871-6003-009e-6e76-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:48 GMT" + "x-ms-request-id" : "1cdd828e-e003-0073-3409-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:05 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue455724b60", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue53815dd50", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -114,15 +114,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d290896-6003-009e-0676-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:48 GMT" + "x-ms-request-id" : "1cdd8292-e003-0073-3809-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:05 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue455724b61/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue53815dd51/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -130,15 +130,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d2908bc-6003-009e-2476-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:48 GMT" + "x-ms-request-id" : "1cdd829b-e003-0073-3f09-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:05 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue455724b61", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue53815dd51", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -146,15 +146,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d2908df-6003-009e-3e76-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:49 GMT" + "x-ms-request-id" : "1cdd82a2-e003-0073-4509-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:05 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue455724b62/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue53815dd52/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -162,15 +162,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d2908fd-6003-009e-5676-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:49 GMT" + "x-ms-request-id" : "1cdd82a8-e003-0073-4b09-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:05 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue455724b62", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue53815dd52", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -178,9 +178,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d29091f-6003-009e-6a76-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:49 GMT" + "x-ms-request-id" : "1cdd82b1-e003-0073-5409-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:05 GMT" } } ], - "variables" : [ "queue455724b6" ] + "variables" : [ "queue53815dd5" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/listQueuesIncludeMetadata.json b/storage/client/queue/src/test/resources/session-records/listQueuesIncludeMetadata.json index a0e836cf26701..a3a8affdfea04 100644 --- a/storage/client/queue/src/test/resources/session-records/listQueuesIncludeMetadata.json +++ b/storage/client/queue/src/test/resources/session-records/listQueuesIncludeMetadata.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue58738ae80", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue3555933b0", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0d290c20-6003-009e-7b76-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:51 GMT" + "x-ms-request-id" : "1cdd8362-e003-0073-6e09-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:07 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue58738ae81", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue3555933b1", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -28,15 +28,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0d290c34-6003-009e-0a76-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:51 GMT" + "x-ms-request-id" : "1cdd8373-e003-0073-7b09-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:07 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue58738ae82", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue3555933b2", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -44,15 +44,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0d290c4e-6003-009e-1f76-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:51 GMT" + "x-ms-request-id" : "1cdd8378-e003-0073-7f09-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:07 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net?prefix=queue58738ae8&include=metadata&comp=list", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queue3555933b&include=metadata&comp=list", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -61,17 +61,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0d290c6b-6003-009e-3376-37b6d5000000", - "Body" : "queue58738ae8queue58738ae80value1value2queue58738ae81queue58738ae82value1value2", - "Date" : "Wed, 10 Jul 2019 23:24:51 GMT", + "x-ms-request-id" : "1cdd837b-e003-0073-0109-4740b5000000", + "Body" : "queue3555933bqueue3555933b0value1value2queue3555933b1queue3555933b2value1value2", + "Date" : "Tue, 30 Jul 2019 19:01:07 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net?prefix=queue58738ae8&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queue3555933b&include=&comp=list", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -80,17 +80,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0d290c8e-6003-009e-5176-37b6d5000000", - "Body" : "queue58738ae8queue58738ae80queue58738ae81queue58738ae82", - "Date" : "Wed, 10 Jul 2019 23:24:51 GMT", + "x-ms-request-id" : "1cdd8382-e003-0073-0409-4740b5000000", + "Body" : "queue3555933bqueue3555933b0queue3555933b1queue3555933b2", + "Date" : "Tue, 30 Jul 2019 19:01:07 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue58738ae80/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue3555933b0/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -98,15 +98,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d290caa-6003-009e-6876-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:51 GMT" + "x-ms-request-id" : "1cdd838a-e003-0073-0a09-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:07 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue58738ae80", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue3555933b0", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -114,15 +114,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d290cc1-6003-009e-7a76-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:51 GMT" + "x-ms-request-id" : "1cdd838d-e003-0073-0d09-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:07 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue58738ae81/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue3555933b1/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -130,15 +130,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d290cde-6003-009e-1176-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:51 GMT" + "x-ms-request-id" : "1cdd8395-e003-0073-1409-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:07 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue58738ae81", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue3555933b1", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -146,15 +146,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d290cf2-6003-009e-2376-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:51 GMT" + "x-ms-request-id" : "1cdd839b-e003-0073-1909-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:07 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue58738ae82/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue3555933b2/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -162,15 +162,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d290d14-6003-009e-4076-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:51 GMT" + "x-ms-request-id" : "1cdd83a1-e003-0073-1f09-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:07 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue58738ae82", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue3555933b2", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -178,9 +178,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d290d2b-6003-009e-5476-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:51 GMT" + "x-ms-request-id" : "1cdd83a4-e003-0073-2209-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:07 GMT" } } ], - "variables" : [ "queue58738ae8" ] + "variables" : [ "queue3555933b" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/listQueuesWithPrefix.json b/storage/client/queue/src/test/resources/session-records/listQueuesWithPrefix.json index ff107058e29fc..25ab0025e7749 100644 --- a/storage/client/queue/src/test/resources/session-records/listQueuesWithPrefix.json +++ b/storage/client/queue/src/test/resources/session-records/listQueuesWithPrefix.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue423382efprefix0", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue360442b5prefix0", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0d290acd-6003-009e-5476-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:50 GMT" + "x-ms-request-id" : "1cdd8322-e003-0073-3709-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue423382ef1", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue360442b51", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -28,15 +28,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0d290ae3-6003-009e-6876-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:50 GMT" + "x-ms-request-id" : "1cdd8329-e003-0073-3c09-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue423382efprefix2", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue360442b5prefix2", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -44,15 +44,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "0d290afd-6003-009e-8076-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:50 GMT" + "x-ms-request-id" : "1cdd8330-e003-0073-4109-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net?prefix=queue423382efprefix&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queue360442b5prefix&include=&comp=list", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -61,17 +61,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0d290b0d-6003-009e-0f76-37b6d5000000", - "Body" : "queue423382efprefixqueue423382efprefix0queue423382efprefix2", - "Date" : "Wed, 10 Jul 2019 23:24:50 GMT", + "x-ms-request-id" : "1cdd8334-e003-0073-4409-4740b5000000", + "Body" : "queue360442b5prefixqueue360442b5prefix0queue360442b5prefix2", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net?prefix=queue423382ef&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queue360442b5&include=&comp=list", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -80,17 +80,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0d290b16-6003-009e-1776-37b6d5000000", - "Body" : "queue423382efqueue423382ef1queue423382efprefix0queue423382efprefix2", - "Date" : "Wed, 10 Jul 2019 23:24:50 GMT", + "x-ms-request-id" : "1cdd8337-e003-0073-4709-4740b5000000", + "Body" : "queue360442b5queue360442b51queue360442b5prefix0queue360442b5prefix2", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue423382ef1/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue360442b51/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -98,15 +98,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d290b38-6003-009e-3576-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:50 GMT" + "x-ms-request-id" : "1cdd8339-e003-0073-4909-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue423382ef1", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue360442b51", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -114,15 +114,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d290b4c-6003-009e-4776-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:50 GMT" + "x-ms-request-id" : "1cdd833c-e003-0073-4c09-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue423382efprefix0/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue360442b5prefix0/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -130,15 +130,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d290b60-6003-009e-5976-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:50 GMT" + "x-ms-request-id" : "1cdd833f-e003-0073-4e09-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue423382efprefix0", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue360442b5prefix0", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -146,15 +146,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d290b71-6003-009e-6676-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:50 GMT" + "x-ms-request-id" : "1cdd8343-e003-0073-5209-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue423382efprefix2/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue360442b5prefix2/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -162,15 +162,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d290b81-6003-009e-7576-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:50 GMT" + "x-ms-request-id" : "1cdd8345-e003-0073-5409-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue423382efprefix2", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue360442b5prefix2", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -178,9 +178,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "0d290b9a-6003-009e-0b76-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:50 GMT" + "x-ms-request-id" : "1cdd8349-e003-0073-5709-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:06 GMT" } } ], - "variables" : [ "queue423382ef" ] + "variables" : [ "queue360442b5" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/peekMessage.json b/storage/client/queue/src/test/resources/session-records/peekMessage.json index 540c460785a11..dd793491431d7 100644 --- a/storage/client/queue/src/test/resources/session-records/peekMessage.json +++ b/storage/client/queue/src/test/resources/session-records/peekMessage.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue54577e60", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue9289930b", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd225fa8-4003-0028-0d75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:36 GMT" + "x-ms-request-id" : "80724592-4003-00b9-3103-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue54577e60/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue9289930b/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -29,17 +29,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd225fb8-4003-0028-1c75-37b82d000000", - "Body" : "53096a37-63bf-45d9-9172-4c8713ff282eWed, 10 Jul 2019 23:18:37 GMTWed, 17 Jul 2019 23:18:37 GMTAgAAAAMAAAAAAAAATsJgzXU31QE=Wed, 10 Jul 2019 23:18:37 GMT", - "Date" : "Wed, 10 Jul 2019 23:18:36 GMT", + "x-ms-request-id" : "807245b2-4003-00b9-5003-47d378000000", + "Body" : "4af8da31-fef8-48bb-9c58-e31cb39648bcTue, 30 Jul 2019 18:19:37 GMTTue, 06 Aug 2019 18:19:37 GMTAgAAAAMAAAAAAAAAY9qQWANH1QE=Tue, 30 Jul 2019 18:19:37 GMT", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue54577e60/messages?peekonly=true", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue9289930b/messages?peekonly=true", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -48,17 +48,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "dd225fd2-4003-0028-3375-37b82d000000", - "Body" : "53096a37-63bf-45d9-9172-4c8713ff282eWed, 10 Jul 2019 23:18:37 GMTWed, 17 Jul 2019 23:18:37 GMT0test message", - "Date" : "Wed, 10 Jul 2019 23:18:36 GMT", + "x-ms-request-id" : "807245d1-4003-00b9-6f03-47d378000000", + "Body" : "4af8da31-fef8-48bb-9c58-e31cb39648bcTue, 30 Jul 2019 18:19:37 GMTTue, 06 Aug 2019 18:19:37 GMT0test message", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue54577e60/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue9289930b/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -66,15 +66,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd225fe6-4003-0028-4775-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:36 GMT" + "x-ms-request-id" : "807245e5-4003-00b9-0303-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue54577e60", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue9289930b", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -82,9 +82,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd225ff7-4003-0028-5875-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:37 GMT" + "x-ms-request-id" : "807245f8-4003-00b9-1603-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT" } } ], - "variables" : [ "queue54577e60" ] + "variables" : [ "queue9289930b" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/peekMultipleMessages.json b/storage/client/queue/src/test/resources/session-records/peekMultipleMessages.json index 5ea0a89b15f98..ec67bb0d5044b 100644 --- a/storage/client/queue/src/test/resources/session-records/peekMultipleMessages.json +++ b/storage/client/queue/src/test/resources/session-records/peekMultipleMessages.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue17925938", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue17331e05", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd222afc-4003-0028-0875-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:01 GMT" + "x-ms-request-id" : "8071d3de-4003-00b9-1203-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:03 GMT" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue17925938/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue17331e05/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -29,17 +29,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd222b1e-4003-0028-2375-37b82d000000", - "Body" : "86c3b192-2c4f-4bd4-89bf-07553c141ac0Wed, 10 Jul 2019 23:18:02 GMTWed, 17 Jul 2019 23:18:02 GMTAgAAAAMAAAAAAAAAI8dyuHU31QE=Wed, 10 Jul 2019 23:18:02 GMT", - "Date" : "Wed, 10 Jul 2019 23:18:01 GMT", + "x-ms-request-id" : "8071d3fe-4003-00b9-3103-47d378000000", + "Body" : "eb154178-fd28-4e7d-9bb4-502bd3aa9472Tue, 30 Jul 2019 18:19:03 GMTTue, 06 Aug 2019 18:19:03 GMTAgAAAAMAAAAAAAAAZNBKRANH1QE=Tue, 30 Jul 2019 18:19:03 GMT", + "Date" : "Tue, 30 Jul 2019 18:19:03 GMT", "Content-Type" : "application/xml" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue17925938/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue17331e05/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -48,17 +48,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd222b4a-4003-0028-4775-37b82d000000", - "Body" : "1b2d50b7-3540-4dd4-a480-8549b5207fe7Wed, 10 Jul 2019 23:18:02 GMTWed, 17 Jul 2019 23:18:02 GMTAgAAAAMAAAAAAAAAqWl6uHU31QE=Wed, 10 Jul 2019 23:18:02 GMT", - "Date" : "Wed, 10 Jul 2019 23:18:01 GMT", + "x-ms-request-id" : "8071d435-4003-00b9-6503-47d378000000", + "Body" : "c2697011-4b18-4aae-b894-92e681fe9af3Tue, 30 Jul 2019 18:19:03 GMTTue, 06 Aug 2019 18:19:03 GMTAgAAAAMAAAAAAAAAEZNWRANH1QE=Tue, 30 Jul 2019 18:19:03 GMT", + "Date" : "Tue, 30 Jul 2019 18:19:03 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue17925938/messages?numofmessages=2&peekonly=true", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue17331e05/messages?numofmessages=2&peekonly=true", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -67,17 +67,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "dd222b67-4003-0028-6175-37b82d000000", - "Body" : "86c3b192-2c4f-4bd4-89bf-07553c141ac0Wed, 10 Jul 2019 23:18:02 GMTWed, 17 Jul 2019 23:18:02 GMT0test message1b2d50b7-3540-4dd4-a480-8549b5207fe7Wed, 10 Jul 2019 23:18:02 GMTWed, 17 Jul 2019 23:18:02 GMT0test message 2", - "Date" : "Wed, 10 Jul 2019 23:18:01 GMT", + "x-ms-request-id" : "8071d45c-4003-00b9-0b03-47d378000000", + "Body" : "eb154178-fd28-4e7d-9bb4-502bd3aa9472Tue, 30 Jul 2019 18:19:03 GMTTue, 06 Aug 2019 18:19:03 GMT0test messagec2697011-4b18-4aae-b894-92e681fe9af3Tue, 30 Jul 2019 18:19:03 GMTTue, 06 Aug 2019 18:19:03 GMT0test message 2", + "Date" : "Tue, 30 Jul 2019 18:19:03 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue17925938/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue17331e05/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -85,15 +85,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd222b7e-4003-0028-7675-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:01 GMT" + "x-ms-request-id" : "8071d478-4003-00b9-2703-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:03 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue17925938", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue17331e05", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -101,9 +101,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd222b8e-4003-0028-0675-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:01 GMT" + "x-ms-request-id" : "8071d495-4003-00b9-4303-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:03 GMT" } } ], - "variables" : [ "queue17925938" ] + "variables" : [ "queue17331e05" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/peekQueueDoesNotExist.json b/storage/client/queue/src/test/resources/session-records/peekQueueDoesNotExist.json index c9de737c16179..5efe773a0a369 100644 --- a/storage/client/queue/src/test/resources/session-records/peekQueueDoesNotExist.json +++ b/storage/client/queue/src/test/resources/session-records/peekQueueDoesNotExist.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue5442745c/messages?peekonly=true", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue163539f6/messages?peekonly=true", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd221dd8-4003-0028-5075-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd221dd8-4003-0028-5075-37b82d000000\nTime:2019-07-10T23:17:53.9252561Z", - "Date" : "Wed, 10 Jul 2019 23:17:53 GMT", + "x-ms-request-id" : "8071bbf5-4003-00b9-6403-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:8071bbf5-4003-00b9-6403-47d378000000\nTime:2019-07-30T18:18:55.9785249Z", + "Date" : "Tue, 30 Jul 2019 18:18:55 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue5442745c/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue163539f6/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd221df7-4003-0028-6d75-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd221df7-4003-0028-6d75-37b82d000000\nTime:2019-07-10T23:17:54.0093158Z", - "Date" : "Wed, 10 Jul 2019 23:17:53 GMT", + "x-ms-request-id" : "8071bc16-4003-00b9-0303-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:8071bc16-4003-00b9-0303-47d378000000\nTime:2019-07-30T18:18:56.0175608Z", + "Date" : "Tue, 30 Jul 2019 18:18:55 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "queue5442745c" ] + "variables" : [ "queue163539f6" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/peekTooManyMessages.json b/storage/client/queue/src/test/resources/session-records/peekTooManyMessages.json index f653e97e1e0ce..0e21d3f3e056d 100644 --- a/storage/client/queue/src/test/resources/session-records/peekTooManyMessages.json +++ b/storage/client/queue/src/test/resources/session-records/peekTooManyMessages.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue80227035", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue007623b2", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd22612f-4003-0028-7275-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:38 GMT" + "x-ms-request-id" : "80724850-4003-00b9-5203-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue80227035/messages?numofmessages=64&peekonly=true", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue007623b2/messages?numofmessages=64&peekonly=true", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -29,17 +29,17 @@ "retry-after" : "0", "Content-Length" : "456", "StatusCode" : "400", - "x-ms-request-id" : "dd226138-4003-0028-7a75-37b82d000000", - "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:dd226138-4003-0028-7a75-37b82d000000\nTime:2019-07-10T23:18:38.5780592Znumofmessages64132", - "Date" : "Wed, 10 Jul 2019 23:18:38 GMT", + "x-ms-request-id" : "8072486a-4003-00b9-6b03-47d378000000", + "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:8072486a-4003-00b9-6b03-47d378000000\nTime:2019-07-30T18:19:38.2327064Znumofmessages64132", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue80227035/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue007623b2/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -47,15 +47,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd22613d-4003-0028-7f75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:38 GMT" + "x-ms-request-id" : "80724884-4003-00b9-0503-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue80227035", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue007623b2", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -63,9 +63,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd226149-4003-0028-0975-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:38 GMT" + "x-ms-request-id" : "807248a6-4003-00b9-2603-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:38 GMT" } } ], - "variables" : [ "queue80227035" ] + "variables" : [ "queue007623b2" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/setAccessPolicy.json b/storage/client/queue/src/test/resources/session-records/setAccessPolicy.json index ac6e9881a669f..cc3a358651b1c 100644 --- a/storage/client/queue/src/test/resources/session-records/setAccessPolicy.json +++ b/storage/client/queue/src/test/resources/session-records/setAccessPolicy.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue656812ca", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue392406b1", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd225f53-4003-0028-4075-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:36 GMT" + "x-ms-request-id" : "807244f3-4003-00b9-1603-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue656812ca?comp=acl", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue392406b1?comp=acl", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -29,15 +29,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd225f6a-4003-0028-5575-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:36 GMT" + "x-ms-request-id" : "80724521-4003-00b9-4103-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue656812ca?comp=acl", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue392406b1?comp=acl", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -46,17 +46,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "dd225f7e-4003-0028-6675-37b82d000000", + "x-ms-request-id" : "80724540-4003-00b9-5f03-47d378000000", "Body" : "testpermission2000-01-01T00:00:00.0000000Z2020-01-01T00:00:00.0000000Zraup", - "Date" : "Wed, 10 Jul 2019 23:18:36 GMT", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue656812ca/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue392406b1/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -64,15 +64,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd225f8c-4003-0028-7475-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:36 GMT" + "x-ms-request-id" : "80724551-4003-00b9-7003-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue656812ca", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue392406b1", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -80,9 +80,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd225f98-4003-0028-7e75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:36 GMT" + "x-ms-request-id" : "80724569-4003-00b9-0803-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT" } } ], - "variables" : [ "queue656812ca" ] + "variables" : [ "queue392406b1" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/setAccessPolicyQueueDoesNotExist.json b/storage/client/queue/src/test/resources/session-records/setAccessPolicyQueueDoesNotExist.json index b2b42bce18c37..831f07e70edb5 100644 --- a/storage/client/queue/src/test/resources/session-records/setAccessPolicyQueueDoesNotExist.json +++ b/storage/client/queue/src/test/resources/session-records/setAccessPolicyQueueDoesNotExist.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue01052e33?comp=acl", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue15204045?comp=acl", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -14,17 +14,17 @@ "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "dd22645d-4003-0028-2375-37b82d000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:dd22645d-4003-0028-2375-37b82d000000\nTime:2019-07-10T23:18:40.8086534Z00", - "Date" : "Wed, 10 Jul 2019 23:18:40 GMT", + "x-ms-request-id" : "80724e15-4003-00b9-6d03-47d378000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:80724e15-4003-00b9-6d03-47d378000000\nTime:2019-07-30T18:19:39.7961551Z00", + "Date" : "Tue, 30 Jul 2019 18:19:39 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue01052e33/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue15204045/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -33,11 +33,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd22646a-4003-0028-2f75-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd22646a-4003-0028-2f75-37b82d000000\nTime:2019-07-10T23:18:40.8566884Z", - "Date" : "Wed, 10 Jul 2019 23:18:40 GMT", + "x-ms-request-id" : "80724e34-4003-00b9-0b03-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:80724e34-4003-00b9-0b03-47d378000000\nTime:2019-07-30T18:19:39.8241820Z", + "Date" : "Tue, 30 Jul 2019 18:19:39 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "queue01052e33" ] + "variables" : [ "queue15204045" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/setInvalidAccessPolicy.json b/storage/client/queue/src/test/resources/session-records/setInvalidAccessPolicy.json index fe186f2b4ac1c..c053664720a16 100644 --- a/storage/client/queue/src/test/resources/session-records/setInvalidAccessPolicy.json +++ b/storage/client/queue/src/test/resources/session-records/setInvalidAccessPolicy.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue424460ef", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue598515b0", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd226338-4003-0028-1475-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:39 GMT" + "x-ms-request-id" : "80724b93-4003-00b9-7c03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:39 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue424460ef?comp=acl", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue598515b0?comp=acl", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -30,17 +30,17 @@ "retry-after" : "0", "Content-Length" : "371", "StatusCode" : "400", - "x-ms-request-id" : "dd22634c-4003-0028-2575-37b82d000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:dd22634c-4003-0028-2575-37b82d000000\nTime:2019-07-10T23:18:39.9250246Z1304Signed identifier ID cannot be empty or over 64 characters in length", - "Date" : "Wed, 10 Jul 2019 23:18:39 GMT", + "x-ms-request-id" : "80724bb2-4003-00b9-1a03-47d378000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:80724bb2-4003-00b9-1a03-47d378000000\nTime:2019-07-30T18:19:39.1915951Z1304Signed identifier ID cannot be empty or over 64 characters in length", + "Date" : "Tue, 30 Jul 2019 18:19:39 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue424460ef/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue598515b0/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -48,15 +48,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd22635d-4003-0028-3675-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:39 GMT" + "x-ms-request-id" : "80724bde-4003-00b9-4503-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:39 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue424460ef", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue598515b0", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -64,9 +64,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd226363-4003-0028-3a75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:39 GMT" + "x-ms-request-id" : "80724bf9-4003-00b9-6003-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:39 GMT" } } ], - "variables" : [ "queue424460ef" ] + "variables" : [ "queue598515b0" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/setInvalidMetadata.json b/storage/client/queue/src/test/resources/session-records/setInvalidMetadata.json index eb9faafed36f9..5e4a36f564361 100644 --- a/storage/client/queue/src/test/resources/session-records/setInvalidMetadata.json +++ b/storage/client/queue/src/test/resources/session-records/setInvalidMetadata.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue38693e14", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue04921afb", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd22272a-4003-0028-7175-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:17:59 GMT" + "x-ms-request-id" : "8071d01e-4003-00b9-7903-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue38693e14?comp=metadata", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue04921afb?comp=metadata", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -29,17 +29,17 @@ "retry-after" : "0", "Content-Length" : "285", "StatusCode" : "400", - "x-ms-request-id" : "dd22274f-4003-0028-0b75-37b82d000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:dd22274f-4003-0028-0b75-37b82d000000\nTime:2019-07-10T23:18:00.5359517Zbad metadata", - "Date" : "Wed, 10 Jul 2019 23:18:00 GMT", + "x-ms-request-id" : "8071d048-4003-00b9-2003-47d378000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:8071d048-4003-00b9-2003-47d378000000\nTime:2019-07-30T18:19:02.1712670Zbad metadata", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue38693e14/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue04921afb/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -47,15 +47,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd222779-4003-0028-2875-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:00 GMT" + "x-ms-request-id" : "8071d05e-4003-00b9-3603-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue38693e14", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue04921afb", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -63,9 +63,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd222798-4003-0028-4375-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:00 GMT" + "x-ms-request-id" : "8071d078-4003-00b9-5003-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT" } } ], - "variables" : [ "queue38693e14" ] + "variables" : [ "queue04921afb" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/setMetadata.json b/storage/client/queue/src/test/resources/session-records/setMetadata.json index 5d60ce89a352d..4f5b33d486127 100644 --- a/storage/client/queue/src/test/resources/session-records/setMetadata.json +++ b/storage/client/queue/src/test/resources/session-records/setMetadata.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue625780b6", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue228395ba", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd2263a4-4003-0028-7675-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:39 GMT" + "x-ms-request-id" : "80724c9b-4003-00b9-7c03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:39 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue625780b6?comp=metadata", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue228395ba?comp=metadata", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -28,15 +28,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd2263c0-4003-0028-0f75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:39 GMT" + "x-ms-request-id" : "80724cc8-4003-00b9-2803-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:39 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue625780b6?comp=metadata", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue228395ba?comp=metadata", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -47,16 +47,16 @@ "x-ms-approximate-messages-count" : "0", "x-ms-meta-metadata1" : "value1", "StatusCode" : "200", - "x-ms-request-id" : "dd2263d2-4003-0028-2075-37b82d000000", + "x-ms-request-id" : "80724ce7-4003-00b9-4503-47d378000000", "x-ms-meta-metadata2" : "value2", - "Date" : "Wed, 10 Jul 2019 23:18:39 GMT" + "Date" : "Tue, 30 Jul 2019 18:19:39 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue625780b6/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue228395ba/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -64,15 +64,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd2263dd-4003-0028-2a75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:39 GMT" + "x-ms-request-id" : "80724d0c-4003-00b9-6903-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:39 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue625780b6", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue228395ba", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -80,9 +80,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd2263ea-4003-0028-3775-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:39 GMT" + "x-ms-request-id" : "80724d24-4003-00b9-0103-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:39 GMT" } } ], - "variables" : [ "queue625780b6" ] + "variables" : [ "queue228395ba" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/setMetadataQueueDoesNotExist.json b/storage/client/queue/src/test/resources/session-records/setMetadataQueueDoesNotExist.json index 4d7536d402ced..2403d75b3cd85 100644 --- a/storage/client/queue/src/test/resources/session-records/setMetadataQueueDoesNotExist.json +++ b/storage/client/queue/src/test/resources/session-records/setMetadataQueueDoesNotExist.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue570099c0?comp=metadata", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue1023979b?comp=metadata", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd2260d2-4003-0028-2175-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd2260d2-4003-0028-2175-37b82d000000\nTime:2019-07-10T23:18:38.2057923Z", - "Date" : "Wed, 10 Jul 2019 23:18:37 GMT", + "x-ms-request-id" : "80724760-4003-00b9-7003-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:80724760-4003-00b9-7003-47d378000000\nTime:2019-07-30T18:19:37.9564505Z", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue570099c0/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue1023979b/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd2260d9-4003-0028-2775-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd2260d9-4003-0028-2775-37b82d000000\nTime:2019-07-10T23:18:38.2538267Z", - "Date" : "Wed, 10 Jul 2019 23:18:37 GMT", + "x-ms-request-id" : "8072477f-4003-00b9-0d03-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:8072477f-4003-00b9-0d03-47d378000000\nTime:2019-07-30T18:19:37.9904825Z", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "queue570099c0" ] + "variables" : [ "queue1023979b" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/setProperties.json b/storage/client/queue/src/test/resources/session-records/setProperties.json index 3c832f439b708..6788bd49edd86 100644 --- a/storage/client/queue/src/test/resources/session-records/setProperties.json +++ b/storage/client/queue/src/test/resources/session-records/setProperties.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net?restype=service&comp=properties", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -13,17 +13,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0d2906b5-6003-009e-0476-37b6d5000000", + "x-ms-request-id" : "1cdd81c0-e003-0073-8009-4740b5000000", "Body" : "1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalse", - "Date" : "Wed, 10 Jul 2019 23:24:47 GMT", + "Date" : "Tue, 30 Jul 2019 19:01:03 GMT", "Content-Type" : "application/xml" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net?restype=service&comp=properties", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -32,15 +32,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "0d2906d0-6003-009e-1a76-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:47 GMT" + "x-ms-request-id" : "1cdd81d5-e003-0073-1309-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:03 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net?restype=service&comp=properties", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -49,17 +49,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0d290712-6003-009e-4e76-37b6d5000000", + "x-ms-request-id" : "1cdd81e5-e003-0073-1d09-4740b5000000", "Body" : "1.0falsetruetruetrue31.0truefalsetrue31.0truefalsetrue3", - "Date" : "Wed, 10 Jul 2019 23:24:47 GMT", + "Date" : "Tue, 30 Jul 2019 19:01:03 GMT", "Content-Type" : "application/xml" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net?restype=service&comp=properties", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -68,15 +68,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "0d290721-6003-009e-5b76-37b6d5000000", - "Date" : "Wed, 10 Jul 2019 23:24:48 GMT" + "x-ms-request-id" : "1cdd81eb-e003-0073-2309-4740b5000000", + "Date" : "Tue, 30 Jul 2019 19:01:03 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net?restype=service&comp=properties", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -85,17 +85,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0d290739-6003-009e-7076-37b6d5000000", + "x-ms-request-id" : "1cdd81ed-e003-0073-2509-4740b5000000", "Body" : "1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalse", - "Date" : "Wed, 10 Jul 2019 23:24:48 GMT", + "Date" : "Tue, 30 Jul 2019 19:01:03 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net?prefix=queue49487893&include=&comp=list", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net?prefix=queue30084080&include=&comp=list", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -104,11 +104,11 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "0d29074d-6003-009e-0176-37b6d5000000", - "Body" : "queue49487893", - "Date" : "Wed, 10 Jul 2019 23:24:48 GMT", + "x-ms-request-id" : "1cdd81f3-e003-0073-2b09-4740b5000000", + "Body" : "queue30084080", + "Date" : "Tue, 30 Jul 2019 19:01:03 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "queue49487893" ] + "variables" : [ "queue30084080" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/setTooManyAccessPolicies.json b/storage/client/queue/src/test/resources/session-records/setTooManyAccessPolicies.json index adee338b14141..52ffab91ef1e1 100644 --- a/storage/client/queue/src/test/resources/session-records/setTooManyAccessPolicies.json +++ b/storage/client/queue/src/test/resources/session-records/setTooManyAccessPolicies.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue265747a2", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue02682f2a", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd22600f-4003-0028-7075-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:37 GMT" + "x-ms-request-id" : "80724626-4003-00b9-4103-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue265747a2?comp=acl", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue02682f2a?comp=acl", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -30,17 +30,17 @@ "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "dd226022-4003-0028-0175-37b82d000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:dd226022-4003-0028-0175-37b82d000000\nTime:2019-07-10T23:18:37.6694120Z00", - "Date" : "Wed, 10 Jul 2019 23:18:37 GMT", + "x-ms-request-id" : "80724645-4003-00b9-5f03-47d378000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:80724645-4003-00b9-5f03-47d378000000\nTime:2019-07-30T18:19:37.5430678Z00", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue265747a2/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue02682f2a/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -48,15 +48,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd226034-4003-0028-1175-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:37 GMT" + "x-ms-request-id" : "8072465c-4003-00b9-7603-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue265747a2", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue02682f2a", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -64,9 +64,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd226043-4003-0028-2075-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:37 GMT" + "x-ms-request-id" : "80724670-4003-00b9-0a03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:37 GMT" } } ], - "variables" : [ "queue265747a2" ] + "variables" : [ "queue02682f2a" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/updateMessage.json b/storage/client/queue/src/test/resources/session-records/updateMessage.json index 46e184bda045c..a0d2027ab04fa 100644 --- a/storage/client/queue/src/test/resources/session-records/updateMessage.json +++ b/storage/client/queue/src/test/resources/session-records/updateMessage.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue4236461c", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue20800231", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd222c30-4003-0028-0f75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:02 GMT" + "x-ms-request-id" : "8071d53d-4003-00b9-6703-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:03 GMT" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue4236461c/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue20800231/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -29,17 +29,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd222c40-4003-0028-1c75-37b82d000000", - "Body" : "c3781181-9103-468e-b645-f6dbb100bd9cWed, 10 Jul 2019 23:18:02 GMTWed, 17 Jul 2019 23:18:02 GMTAgAAAAMAAAAAAAAAjQ/SuHU31QE=Wed, 10 Jul 2019 23:18:02 GMT", - "Date" : "Wed, 10 Jul 2019 23:18:02 GMT", + "x-ms-request-id" : "8071d56d-4003-00b9-1003-47d378000000", + "Body" : "5e400587-ca00-4a0e-a557-f8c4d2e2c6c7Tue, 30 Jul 2019 18:19:03 GMTTue, 06 Aug 2019 18:19:03 GMTAgAAAAMAAAAAAAAAzOOURANH1QE=Tue, 30 Jul 2019 18:19:03 GMT", + "Date" : "Tue, 30 Jul 2019 18:19:03 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue4236461c/messages?numofmessages=1&visibilitytimeout=30", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue20800231/messages?numofmessages=1&visibilitytimeout=30", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -48,36 +48,36 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "dd222c62-4003-0028-3b75-37b82d000000", - "Body" : "c3781181-9103-468e-b645-f6dbb100bd9cWed, 10 Jul 2019 23:18:02 GMTWed, 17 Jul 2019 23:18:02 GMTAgAAAAMAAAAAAAAAEAO9ynU31QE=Wed, 10 Jul 2019 23:18:32 GMT1test message", - "Date" : "Wed, 10 Jul 2019 23:18:02 GMT", + "x-ms-request-id" : "8071d58c-4003-00b9-2f03-47d378000000", + "Body" : "5e400587-ca00-4a0e-a557-f8c4d2e2c6c7Tue, 30 Jul 2019 18:19:03 GMTTue, 06 Aug 2019 18:19:03 GMTAgAAAAMAAAAAAAAAMD99VgNH1QE=Tue, 30 Jul 2019 18:19:33 GMT1test message", + "Date" : "Tue, 30 Jul 2019 18:19:03 GMT", "Content-Type" : "application/xml" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue4236461c/messages/c3781181-9103-468e-b645-f6dbb100bd9c?popreceipt=AgAAAAMAAAAAAAAAEAO9ynU31QE%3d&visibilitytimeout=1", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue20800231/messages/5e400587-ca00-4a0e-a557-f8c4d2e2c6c7?popreceipt=AgAAAAMAAAAAAAAAMD99VgNH1QE%3d&visibilitytimeout=1", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "x-ms-version" : "2018-03-28", "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-time-next-visible" : "Wed, 10 Jul 2019 23:18:04 GMT", + "x-ms-time-next-visible" : "Tue, 30 Jul 2019 18:19:04 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd222c7f-4003-0028-5475-37b82d000000", - "x-ms-popreceipt" : "AwAAAAMAAAAAAAAAZuN9uXU31QEBAAAA", - "Date" : "Wed, 10 Jul 2019 23:18:02 GMT" + "x-ms-request-id" : "8071d5ad-4003-00b9-5003-47d378000000", + "x-ms-popreceipt" : "AwAAAAMAAAAAAAAA+cM6RQNH1QEBAAAA", + "Date" : "Tue, 30 Jul 2019 18:19:03 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue4236461c/messages?peekonly=true", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue20800231/messages?peekonly=true", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -86,17 +86,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "dd2230d0-4003-0028-1b75-37b82d000000", - "Body" : "c3781181-9103-468e-b645-f6dbb100bd9cWed, 10 Jul 2019 23:18:02 GMTWed, 17 Jul 2019 23:18:02 GMT1updated test message", - "Date" : "Wed, 10 Jul 2019 23:18:04 GMT", + "x-ms-request-id" : "8071dba1-4003-00b9-0a03-47d378000000", + "Body" : "5e400587-ca00-4a0e-a557-f8c4d2e2c6c7Tue, 30 Jul 2019 18:19:03 GMTTue, 06 Aug 2019 18:19:03 GMT1updated test message", + "Date" : "Tue, 30 Jul 2019 18:19:05 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue4236461c/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue20800231/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -104,15 +104,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd2230e9-4003-0028-2e75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:04 GMT" + "x-ms-request-id" : "8071dbb7-4003-00b9-2003-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:05 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue4236461c", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue20800231", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -120,9 +120,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd223113-4003-0028-4f75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:04 GMT" + "x-ms-request-id" : "8071dbd1-4003-00b9-3a03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:05 GMT" } } ], - "variables" : [ "queue4236461c" ] + "variables" : [ "queue20800231" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/updateMessageInvalidMessageId.json b/storage/client/queue/src/test/resources/session-records/updateMessageInvalidMessageId.json index eae58afb9650c..849ea36b90c21 100644 --- a/storage/client/queue/src/test/resources/session-records/updateMessageInvalidMessageId.json +++ b/storage/client/queue/src/test/resources/session-records/updateMessageInvalidMessageId.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue10019121", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue70821c12", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd223139-4003-0028-6d75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:04 GMT" + "x-ms-request-id" : "8071dc01-4003-00b9-6903-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue10019121/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue70821c12/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -29,17 +29,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd223159-4003-0028-0475-37b82d000000", - "Body" : "e3dbec12-5e3c-47f4-abd9-fbdf6e44746dWed, 10 Jul 2019 23:18:05 GMTWed, 17 Jul 2019 23:18:05 GMTAgAAAAMAAAAAAAAA7UtBunU31QE=Wed, 10 Jul 2019 23:18:05 GMT", - "Date" : "Wed, 10 Jul 2019 23:18:04 GMT", + "x-ms-request-id" : "8071dc22-4003-00b9-0703-47d378000000", + "Body" : "2d1bf643-019d-41da-8a3e-635dba5df867Tue, 30 Jul 2019 18:19:06 GMTTue, 06 Aug 2019 18:19:06 GMTAgAAAAMAAAAAAAAAtDTwRQNH1QE=Tue, 30 Jul 2019 18:19:06 GMT", + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue10019121/messages?numofmessages=1&visibilitytimeout=30", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue70821c12/messages?numofmessages=1&visibilitytimeout=30", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -48,17 +48,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "dd223169-4003-0028-1475-37b82d000000", - "Body" : "e3dbec12-5e3c-47f4-abd9-fbdf6e44746dWed, 10 Jul 2019 23:18:05 GMTWed, 17 Jul 2019 23:18:05 GMTAgAAAAMAAAAAAAAAc5EqzHU31QE=Wed, 10 Jul 2019 23:18:35 GMT1test message", - "Date" : "Wed, 10 Jul 2019 23:18:04 GMT", + "x-ms-request-id" : "8071dc41-4003-00b9-2503-47d378000000", + "Body" : "2d1bf643-019d-41da-8a3e-635dba5df867Tue, 30 Jul 2019 18:19:06 GMTTue, 06 Aug 2019 18:19:06 GMTAgAAAAMAAAAAAAAA6kHYVwNH1QE=Tue, 30 Jul 2019 18:19:36 GMT1test message", + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT", "Content-Type" : "application/xml" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue10019121/messages/e3dbec12-5e3c-47f4-abd9-fbdf6e44746drandom?popreceipt=AgAAAAMAAAAAAAAAc5EqzHU31QE%3d&visibilitytimeout=1", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue70821c12/messages/2d1bf643-019d-41da-8a3e-635dba5df867random?popreceipt=AgAAAAMAAAAAAAAA6kHYVwNH1QE%3d&visibilitytimeout=1", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -68,17 +68,17 @@ "retry-after" : "0", "Content-Length" : "221", "StatusCode" : "404", - "x-ms-request-id" : "dd22317f-4003-0028-2775-37b82d000000", - "Body" : "MessageNotFoundThe specified message does not exist.\nRequestId:dd22317f-4003-0028-2775-37b82d000000\nTime:2019-07-10T23:18:05.3974051Z", - "Date" : "Wed, 10 Jul 2019 23:18:04 GMT", + "x-ms-request-id" : "8071dc6d-4003-00b9-5003-47d378000000", + "Body" : "MessageNotFoundThe specified message does not exist.\nRequestId:8071dc6d-4003-00b9-5003-47d378000000\nTime:2019-07-30T18:19:06.1889942Z", + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue10019121/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue70821c12/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -86,15 +86,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd223195-4003-0028-3975-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:04 GMT" + "x-ms-request-id" : "8071dc88-4003-00b9-6b03-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue10019121", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue70821c12", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -102,9 +102,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd2231a9-4003-0028-4975-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:05 GMT" + "x-ms-request-id" : "8071dca6-4003-00b9-0803-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT" } } ], - "variables" : [ "queue10019121" ] + "variables" : [ "queue70821c12" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/updateMessageInvalidPopReceipt.json b/storage/client/queue/src/test/resources/session-records/updateMessageInvalidPopReceipt.json index f7795c878f27f..960abdc79ba2e 100644 --- a/storage/client/queue/src/test/resources/session-records/updateMessageInvalidPopReceipt.json +++ b/storage/client/queue/src/test/resources/session-records/updateMessageInvalidPopReceipt.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue41380e30", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue12446d02", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -12,15 +12,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd22326c-4003-0028-6c75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:05 GMT" + "x-ms-request-id" : "8071ddb6-4003-00b9-0603-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT" } }, { "Method" : "POST", - "Uri" : "https://sima.queue.core.windows.net/queue41380e30/messages?visibilitytimeout=0&messagettl=604800", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue12446d02/messages?visibilitytimeout=0&messagettl=604800", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -29,17 +29,17 @@ "Server" : "Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "201", - "x-ms-request-id" : "dd22329c-4003-0028-1475-37b82d000000", - "Body" : "8900ad74-7404-4cd2-8b4b-41e70995dc1fWed, 10 Jul 2019 23:18:06 GMTWed, 17 Jul 2019 23:18:06 GMTAgAAAAMAAAAAAAAA/TyvunU31QE=Wed, 10 Jul 2019 23:18:06 GMT", - "Date" : "Wed, 10 Jul 2019 23:18:05 GMT", + "x-ms-request-id" : "8071dddf-4003-00b9-2d03-47d378000000", + "Body" : "af0f96cb-a19e-4f9a-b1ba-08e6c27944dbTue, 30 Jul 2019 18:19:06 GMTTue, 06 Aug 2019 18:19:06 GMTAgAAAAMAAAAAAAAAzks4RgNH1QE=Tue, 30 Jul 2019 18:19:06 GMT", + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.queue.core.windows.net/queue41380e30/messages?numofmessages=1&visibilitytimeout=30", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue12446d02/messages?numofmessages=1&visibilitytimeout=30", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -48,17 +48,17 @@ "Cache-Control" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "dd2232d5-4003-0028-4575-37b82d000000", - "Body" : "8900ad74-7404-4cd2-8b4b-41e70995dc1fWed, 10 Jul 2019 23:18:06 GMTWed, 17 Jul 2019 23:18:06 GMTAgAAAAMAAAAAAAAA+kWZzHU31QE=Wed, 10 Jul 2019 23:18:36 GMT1test message", - "Date" : "Wed, 10 Jul 2019 23:18:05 GMT", + "x-ms-request-id" : "8071ddf9-4003-00b9-4703-47d378000000", + "Body" : "af0f96cb-a19e-4f9a-b1ba-08e6c27944dbTue, 30 Jul 2019 18:19:06 GMTTue, 06 Aug 2019 18:19:06 GMTAgAAAAMAAAAAAAAA5KoeWANH1QE=Tue, 30 Jul 2019 18:19:36 GMT1test message", + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT", "Content-Type" : "application/xml" } }, { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue41380e30/messages/8900ad74-7404-4cd2-8b4b-41e70995dc1f?popreceipt=AgAAAAMAAAAAAAAA%2bkWZzHU31QE%3drandom&visibilitytimeout=1", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue12446d02/messages/af0f96cb-a19e-4f9a-b1ba-08e6c27944db?popreceipt=AgAAAAMAAAAAAAAA5KoeWANH1QE%3drandom&visibilitytimeout=1", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -68,17 +68,17 @@ "retry-after" : "0", "Content-Length" : "444", "StatusCode" : "400", - "x-ms-request-id" : "dd2232ff-4003-0028-6d75-37b82d000000", - "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:dd2232ff-4003-0028-6d75-37b82d000000\nTime:2019-07-10T23:18:06.1209188ZpopreceiptAgAAAAMAAAAAAAAA+kWZzHU31QE=randomInvalid pop receipt format", - "Date" : "Wed, 10 Jul 2019 23:18:05 GMT", + "x-ms-request-id" : "8071de13-4003-00b9-6103-47d378000000", + "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:8071de13-4003-00b9-6103-47d378000000\nTime:2019-07-30T18:19:06.6474193ZpopreceiptAgAAAAMAAAAAAAAA5KoeWANH1QE=randomInvalid pop receipt format", + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue41380e30/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue12446d02/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -86,15 +86,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd22331d-4003-0028-0a75-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:05 GMT" + "x-ms-request-id" : "8071de2b-4003-00b9-7803-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue41380e30", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue12446d02", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -102,9 +102,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "204", - "x-ms-request-id" : "dd223333-4003-0028-2075-37b82d000000", - "Date" : "Wed, 10 Jul 2019 23:18:05 GMT" + "x-ms-request-id" : "8071de43-4003-00b9-1003-47d378000000", + "Date" : "Tue, 30 Jul 2019 18:19:06 GMT" } } ], - "variables" : [ "queue41380e30" ] + "variables" : [ "queue12446d02" ] } \ No newline at end of file diff --git a/storage/client/queue/src/test/resources/session-records/updateMessageQueueDoesNotExist.json b/storage/client/queue/src/test/resources/session-records/updateMessageQueueDoesNotExist.json index 9341ea4a79897..b87cef21fed87 100644 --- a/storage/client/queue/src/test/resources/session-records/updateMessageQueueDoesNotExist.json +++ b/storage/client/queue/src/test/resources/session-records/updateMessageQueueDoesNotExist.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.queue.core.windows.net/queue77530b22/messages/doesn't?popreceipt=exist&visibilitytimeout=5", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue960895d5/messages/doesn't?popreceipt=exist&visibilitytimeout=5", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -14,17 +14,17 @@ "retry-after" : "0", "Content-Length" : "415", "StatusCode" : "400", - "x-ms-request-id" : "dd2229e1-4003-0028-1475-37b82d000000", - "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:dd2229e1-4003-0028-1475-37b82d000000\nTime:2019-07-10T23:18:01.7878412ZpopreceiptexistInvalid pop receipt format", - "Date" : "Wed, 10 Jul 2019 23:18:01 GMT", + "x-ms-request-id" : "8071d32f-4003-00b9-6803-47d378000000", + "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:8071d32f-4003-00b9-6803-47d378000000\nTime:2019-07-30T18:19:03.0460773ZpopreceiptexistInvalid pop receipt format", + "Date" : "Tue, 30 Jul 2019 18:19:02 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.queue.core.windows.net/queue77530b22/messages", + "Uri" : "https://azstoragesdkaccount.queue.core.windows.net/queue960895d5/messages", "Headers" : { "x-ms-version" : "2018-03-28", - "User-Agent" : "azsdk-java-storage-queue/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" + "User-Agent" : "azsdk-java-azure-storage-queue/12.0.0-preview.2 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-03-28", @@ -33,11 +33,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "dd2229fb-4003-0028-2a75-37b82d000000", - "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:dd2229fb-4003-0028-2a75-37b82d000000\nTime:2019-07-10T23:18:01.8368763Z", - "Date" : "Wed, 10 Jul 2019 23:18:01 GMT", + "x-ms-request-id" : "8071d341-4003-00b9-7a03-47d378000000", + "Body" : "QueueNotFoundThe specified queue does not exist.\nRequestId:8071d341-4003-00b9-7a03-47d378000000\nTime:2019-07-30T18:19:03.0771058Z", + "Date" : "Tue, 30 Jul 2019 18:19:03 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "queue77530b22" ] + "variables" : [ "queue960895d5" ] } \ No newline at end of file From e847724a9bc3c5d306c34a685a41e0fcbc63b71a Mon Sep 17 00:00:00 2001 From: Sima Zhu Date: Tue, 30 Jul 2019 13:51:14 -0700 Subject: [PATCH 2/6] Fixed version stuff --- eng/jacoco-test-coverage/pom.xml | 8 +++++++- storage/client/blob/README.md | 2 +- storage/client/file/README.md | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/eng/jacoco-test-coverage/pom.xml b/eng/jacoco-test-coverage/pom.xml index cee087f22d298..2feca11a26c30 100644 --- a/eng/jacoco-test-coverage/pom.xml +++ b/eng/jacoco-test-coverage/pom.xml @@ -32,7 +32,8 @@ 4.0.0-preview.1 5.0.0-preview.2 12.0.0-preview.1 - 12.0.0-preview.1 + 12.0.0-preview.2 + 12.0.0-preview.2 @@ -94,6 +95,11 @@ + + com.azure + azure-storage-file + ${azure-storage-file.version} + com.azure azure-storage-queue diff --git a/storage/client/blob/README.md b/storage/client/blob/README.md index 5a90220c5ed7b..c1ab40b1ed434 100644 --- a/storage/client/blob/README.md +++ b/storage/client/blob/README.md @@ -23,7 +23,7 @@ definition, such as text or binary data. com.azure azure-storage-blob - 12.0.0-preview.1 + 12.0.0-preview.2 ``` diff --git a/storage/client/file/README.md b/storage/client/file/README.md index db523e4d3e440..eae034c3a692d 100644 --- a/storage/client/file/README.md +++ b/storage/client/file/README.md @@ -22,7 +22,7 @@ Shares provide a way to organize sets of files and also can be mounted as an SMB com.azure azure-storage-file - 12.0.0-preview.1 + 12.0.0-preview.2 ``` From 2d1e3ebfd407f3d57b1abfd13d475be01c375bb6 Mon Sep 17 00:00:00 2001 From: Sima Zhu Date: Tue, 30 Jul 2019 13:53:27 -0700 Subject: [PATCH 3/6] Fixed typo --- eng/jacoco-test-coverage/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/jacoco-test-coverage/pom.xml b/eng/jacoco-test-coverage/pom.xml index 2feca11a26c30..022f981e87259 100644 --- a/eng/jacoco-test-coverage/pom.xml +++ b/eng/jacoco-test-coverage/pom.xml @@ -32,7 +32,7 @@ 4.0.0-preview.1 5.0.0-preview.2 12.0.0-preview.1 - 12.0.0-preview.2 + 12.0.0-preview.2 12.0.0-preview.2 From ed6ce97ebe0ee1fbda021ab4101e0064f55fc035 Mon Sep 17 00:00:00 2001 From: Sima Zhu Date: Tue, 30 Jul 2019 14:38:47 -0700 Subject: [PATCH 4/6] version tests --- eng/jacoco-test-coverage/pom.xml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/eng/jacoco-test-coverage/pom.xml b/eng/jacoco-test-coverage/pom.xml index 022f981e87259..d297a0c848ac3 100644 --- a/eng/jacoco-test-coverage/pom.xml +++ b/eng/jacoco-test-coverage/pom.xml @@ -32,8 +32,8 @@ 4.0.0-preview.1 5.0.0-preview.2 12.0.0-preview.1 - 12.0.0-preview.2 - 12.0.0-preview.2 + + @@ -95,16 +95,16 @@ - - com.azure - azure-storage-file - ${azure-storage-file.version} - - - com.azure - azure-storage-queue - ${azure-storage-queue.version} - + + + + + + + + + + From 78b648c4d81144e3d254ef028c9547ab01bfc3fc Mon Sep 17 00:00:00 2001 From: Sima Zhu Date: Tue, 30 Jul 2019 15:10:34 -0700 Subject: [PATCH 5/6] Bump the verstion --- eng/jacoco-test-coverage/pom.xml | 24 +++++++++---------- eng/spotbugs-aggregate-report/pom.xml | 4 ++-- .../storage/queue/QueueClientBuilder.java | 3 ++- .../queue/QueueServiceClientBuilder.java | 7 ++---- 4 files changed, 18 insertions(+), 20 deletions(-) diff --git a/eng/jacoco-test-coverage/pom.xml b/eng/jacoco-test-coverage/pom.xml index d297a0c848ac3..022f981e87259 100644 --- a/eng/jacoco-test-coverage/pom.xml +++ b/eng/jacoco-test-coverage/pom.xml @@ -32,8 +32,8 @@ 4.0.0-preview.1 5.0.0-preview.2 12.0.0-preview.1 - - + 12.0.0-preview.2 + 12.0.0-preview.2 @@ -95,16 +95,16 @@ - - - - - - - - - - + + com.azure + azure-storage-file + ${azure-storage-file.version} + + + com.azure + azure-storage-queue + ${azure-storage-queue.version} + diff --git a/eng/spotbugs-aggregate-report/pom.xml b/eng/spotbugs-aggregate-report/pom.xml index 7e86db80baad6..aa3e5dc764da3 100644 --- a/eng/spotbugs-aggregate-report/pom.xml +++ b/eng/spotbugs-aggregate-report/pom.xml @@ -30,8 +30,8 @@ 4.0.0-preview.1 5.0.0-preview.2 12.0.0-preview.1 - 12.0.0-preview.1 - 12.0.0-preview.1 + 12.0.0-preview.2 + 12.0.0-preview.2 diff --git a/storage/client/queue/src/main/java/com/azure/storage/queue/QueueClientBuilder.java b/storage/client/queue/src/main/java/com/azure/storage/queue/QueueClientBuilder.java index be206f45a4a72..8105465505d63 100644 --- a/storage/client/queue/src/main/java/com/azure/storage/queue/QueueClientBuilder.java +++ b/storage/client/queue/src/main/java/com/azure/storage/queue/QueueClientBuilder.java @@ -47,7 +47,8 @@ * {@codesnippet com.azure.storage.queue.queueAsyncClient.instantiation.sastoken} * *

If the {@code endpoint} doesn't contain the queue name or {@code SASTokenCredential} they may be set using - * {@link QueueClientBuilder#queueName(String) queueName} and {@link QueueClientBuilder#credential(SASTokenCredential) credential}.

+ * {@link QueueClientBuilder#queueName(String) queueName} and {@link QueueClientBuilder#credential(SASTokenCredential) credential} + * together with endpoint..

* *

Instantiating a synchronous Queue Client with credential

* {@codesnippet com.azure.storage.queue.queueClient.instantiation.credential} diff --git a/storage/client/queue/src/main/java/com/azure/storage/queue/QueueServiceClientBuilder.java b/storage/client/queue/src/main/java/com/azure/storage/queue/QueueServiceClientBuilder.java index fd4c54fb86fa5..b7254eccc549e 100644 --- a/storage/client/queue/src/main/java/com/azure/storage/queue/QueueServiceClientBuilder.java +++ b/storage/client/queue/src/main/java/com/azure/storage/queue/QueueServiceClientBuilder.java @@ -44,8 +44,8 @@ *

Instantiating an Asynchronous Queue Service Client with SAS token

* {@codesnippet com.azure.storage.queue.queueServiceAsyncClient.instantiation.sastoken} * - *

If the {@code endpoint} doesn't contain {@code SASTokenCredential} they may be set using - * {@link QueueClientBuilder#credential(SASTokenCredential) credential}.

+ *

If the {@code endpoint} doesn't contain the query parameters to construct a {@code SASTokenCredential} they may + * be set using {@link QueueServiceClientBuilder#credential(SASTokenCredential) credential} together with endpoint.

* *

Instantiating a synchronous Queue Service Client with SAS token

* {@codesnippet com.azure.storage.queue.queueServiceAsyncClient.instantiation.credential} @@ -53,9 +53,6 @@ *

Instantiating an Asynchronous Queue Service Client with SAS token

* {@codesnippet com.azure.storage.queue.queueServiceAsyncClient.instantiation.credential} * - *

If the {@code endpoint} doesn't contain the query parameters to construct a {@code SASTokenCredential} they may - * be set using {@link QueueServiceClientBuilder#credential(SASTokenCredential) credential}.

- * *

Another way to authenticate the client is using a {@link SharedKeyCredential}. To create a SharedKeyCredential * a connection string from the Storage Queue service must be used. Set the SharedKeyCredential with * {@link QueueServiceClientBuilder#connectionString(String) connectionString}. If the builder has both a SASTokenCredential and From 037a8077d543efa3d09b526bd5b7e6d4e24497a5 Mon Sep 17 00:00:00 2001 From: Sima Zhu Date: Tue, 30 Jul 2019 17:01:59 -0700 Subject: [PATCH 6/6] Uncommon blob from codesnippet --- pom.client.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.client.xml b/pom.client.xml index 4c0a49538872e..bd812a1d9f239 100644 --- a/pom.client.xml +++ b/pom.client.xml @@ -545,7 +545,7 @@ -snippetpath ${project.basedir}/sdk/eventhubs/azure-eventhubs/src/samples/java -snippetpath ${project.basedir}/sdk/keyvault/azure-keyvault-keys/src/samples/java -snippetpath ${project.basedir}/sdk/keyvault/azure-keyvault-secrets/src/samples/java - + -snippetpath ${project.basedir}/storage/client/blob/src/samples/java -snippetpath ${project.basedir}/storage/client/file/src/samples/java -snippetpath ${project.basedir}/storage/client/queue/src/samples/java