From b64963eadf31f29278c9f4fbf0fe22a314e3df28 Mon Sep 17 00:00:00 2001 From: Sima Zhu Date: Fri, 12 Jul 2019 10:30:27 -0700 Subject: [PATCH] Clean up linting file, Junit test and builder refactor --- .../file/DirectoryAsyncClientTests.java | 72 ++++++-- .../storage/file/DirectoryClientTests.java | 23 ++- .../storage/file/FileAsyncClientTest.java | 14 +- .../azure/storage/file/FileClientTest.java | 4 +- .../storage/file/FileClientTestBase.java | 4 + .../azure/storage/file/ShareClientTests.java | 6 +- .../resources/session-records/abortCopy.json | 2 +- .../clearMetadataFromDirClient.json | 22 +-- .../resources/session-records/create.json | 38 ---- .../session-records/createDirectory.json | 23 --- .../createDirectoryAlreadyExists.json | 23 --- ...DirectoryAlreadyExistsFromShareClient.json | 36 ++-- .../createDirectoryFromShareClient.json | 28 +-- .../createDirectoryInvalidName.json | 23 --- ...teDirectoryInvalidNameFromShareClient.json | 26 +-- .../session-records/createExcessMaxSize.json | 45 ----- .../createExcessMaxSizeFromFileClient.json | 34 +++- .../resources/session-records/createFile.json | 4 - .../createFileFromDirClient.json | 22 +-- ...eateFileWithoutCreateDirFromDirClient.json | 10 +- .../session-records/createFromFileClient.json | 34 +++- .../createFromShareClient.json | 18 +- .../session-records/createInvalidQuota.json | 61 ------- .../createInvalidQuotaFromShareClient.json | 26 +-- .../createMTwiceFromDirClient.json | 23 --- .../resources/session-records/createMin.json | 23 --- .../createMinFromDirClient.json | 12 +- .../session-records/createShare.json | 26 +-- .../createShareInvalidQuota.json | 26 +-- .../createShareTwiceDifferentMetadata.json | 34 ++-- .../createShareTwiceSameMetadata.json | 34 ++-- .../session-records/createSubDirectory.json | 22 +-- .../createSubDirectoryTwiceSameMetadata.json | 41 +++-- .../createSubDirectoryWithMetadata.json | 22 +-- .../createTwiceDifferentMetadata.json | 57 ------ ...TwiceDifferentMetadataFromShareClient.json | 26 +-- .../createTwiceFromDirClient.json | 20 +-- .../createTwiceSameMetadata.json | 57 ------ ...reateTwiceSameMetadataFromShareClient.json | 26 +-- .../session-records/createWithMetadata.json | 23 --- .../createWithMetadataFromDirClient.json | 12 +- .../resources/session-records/delete.json | 54 ------ .../session-records/deleteDirectory.json | 23 --- .../deleteDirectoryDoesNotExist.json | 23 --- ...eDirectoryDoesNotExistFromShareClient.json | 26 +-- .../deleteDirectoryFromShareClient.json | 34 ++-- .../session-records/deleteDoesNotExist.json | 42 ----- .../deleteDoesNotExistFromShareClient.json | 18 +- .../resources/session-records/deleteFile.json | 4 - .../deleteFileFromDirClient.json | 28 +-- ...eteFileWithoutCreateFileFromDirClient.json | 20 +-- .../session-records/deleteFromDirClient.json | 18 +- .../session-records/deleteFromFileClient.json | 39 ++++- .../deleteFromShareClient.json | 26 +-- .../session-records/deleteNotExist.json | 23 --- .../deleteNotExistFromDirClient.json | 23 ++- .../session-records/deleteShare.json | 26 +-- .../deleteShareDoesNotExist.json | 18 +- .../session-records/deleteSnapshot.json | 95 ---------- .../deleteSnapshotFromShareClient.json | 50 +++--- .../session-records/deleteSubDirectory.json | 28 +-- .../session-records/deleteThenCreate.json | 72 -------- .../deleteThenCreateFromShareClient.json | 34 ++-- .../deleteThenCreateShare.json | 90 ---------- ...eThenCreateShareFromFileServiceClient.json | 42 ++--- .../deleteThenCreateShareTooSoon.json | 75 -------- ...eateShareTooSoonFromFileServiceClient.json | 34 ++-- .../deleteThenCreateTooSoon.json | 73 -------- ...eleteThenCreateTooSoonFromShareClient.json | 34 ++-- .../downloadWithProperties.json | 22 +-- .../session-records/forceCloseHandles.json | 41 ----- .../forceCloseHandlesFromDirClient.json | 30 +++- .../forceCloseHandlesFromFileClient.json | 30 +++- .../getDirectoryDoesNotCreateADirectory.json | 26 +-- .../session-records/getFileClient.json | 4 - .../getFileClientFromDirClient.json | 2 +- .../resources/session-records/getHandles.json | 4 - .../getHandlesFromDirClient.json | 2 +- .../session-records/getMetadata.json | 60 ------- .../getMetadataDoesNotExist.json | 42 ----- ...etMetadataDoesNotExistFromShareClient.json | 18 +- .../getMetadataFromShareClient.json | 28 +-- .../session-records/getPolicies.json | 28 +-- .../getPoliciesDoesNotExist.json | 18 +- .../session-records/getProperties.json | 60 ------- .../getPropertiesDoesNotExist.json | 42 ----- ...PropertiesDoesNotExistFromShareClient.json | 18 +- .../getPropertiesFromDirClient.json | 22 +-- .../getPropertiesFromFileClient.json | 22 +-- .../getPropertiesFromShareClient.json | 28 +-- .../getPropertiesInvalidSnapshot.json | 42 ----- ...ropertiesInvalidSnapshotFromDirClient.json | 42 ----- .../session-records/getPropertiesNull.json | 42 ----- .../getPropertiesNullFromDirClient.json | 42 ----- .../getPropertiesValidSnapshot.json | 4 - ...tPropertiesValidSnapshotFromDirClient.json | 4 - ...tRootDirectoryDoesNotCreateADirectory.json | 28 +-- .../getShareDoesNotCreateAShare.json | 18 +- .../session-records/getSnapshotMetadata.json | 82 --------- .../getSnapshotMetadataDoesNotExist.json | 57 ------ ...otMetadataDoesNotExistFromShareClient.json | 26 +-- .../getSnapshotMetadataFromShareClient.json | 42 ++--- .../getSnapshotProperties.json | 82 --------- .../getSnapshotPropertiesDoesNotExist.json | 26 +-- .../getSnapshotPropertiesFromShareClient.json | 42 ++--- .../resources/session-records/getStats.json | 24 +-- .../session-records/getStatsDoesNotExist.json | 18 +- .../getSubDirectoryClient.json | 2 +- .../listFilesAndDirectories.json | 98 ----------- .../listFilesAndDirectoriesFromDirClient.json | 164 +++++++++++++++--- .../session-records/listHandles.json | 41 ----- .../listHandlesFromFileClient.json | 18 +- .../resources/session-records/listRanges.json | 65 ------- .../listRangesFromFileClient.json | 32 ++-- .../resources/session-records/listShares.json | 66 +++---- .../listSharesIncludeMetadata.json | 66 +++---- ...listSharesIncludeMetadataAndSnapshots.json | 94 +++++----- .../listSharesIncludeSnapshots.json | 94 +++++----- .../listSharesInvalidMaxResults.json | 26 +-- .../session-records/listSharesWithLimit.json | 66 +++---- .../session-records/listSharesWithPrefix.json | 66 +++---- .../setFileServiceProperties.json | 30 ++-- .../session-records/setHttpHeaders.json | 42 ----- .../setHttpHeadersFromFileClient.json | 22 +-- .../session-records/setMeatadata.json | 42 ----- .../setMeatadataFromFileClient.json | 22 +-- .../session-records/setMetadata.json | 78 --------- .../setMetadataDoesNotExist.json | 42 ----- ...etMetadataDoesNotExistFromShareClient.json | 18 +- .../setMetadataFromDirClient.json | 22 +-- .../setMetadataFromShareClient.json | 38 ++-- .../setMetadataInvalidKeyFromDirClient.json | 20 +-- .../setMetadataInvalidMetadata.json | 57 ------ ...etadataInvalidMetadataFromShareClient.json | 26 +-- .../session-records/setMetadataNull.json | 42 ----- .../setMetadataNullFromDirClient.json | 42 ----- .../session-records/setPolicies.json | 38 ++-- .../setPoliciesDoesNotExist.json | 18 +- .../setPoliciesInvalidPermission.json | 26 +-- .../setPoliciesTooManyPermissions.json | 26 +-- .../session-records/setProperties.json | 98 ----------- .../setPropertiesDoesNotExist.json | 42 ----- ...PropertiesDoesNotExistFromShareClient.json | 18 +- .../setPropertiesFromShareClient.json | 48 ++--- .../setPropertiesInvalidAllowedHeader.json | 16 +- .../setPropertiesInvalidAllowedMethod.json | 16 +- .../setPropertiesInvalidAllowedOrigin.json | 16 +- .../setPropertiesInvalidExposedHeader.json | 16 +- .../setPropertiesInvalidQuota.json | 76 -------- ...PropertiesInvalidQuotaFromShareClient.json | 34 ++-- .../setPropertiesTooManyRules.json | 16 +- .../resources/session-records/snapshot.json | 32 ++-- .../snapshotDifferentMetadata.json | 52 +++--- .../session-records/snapshotDoesNotExist.json | 18 +- .../session-records/snapshotSameMetadata.json | 42 ++--- .../resources/session-records/startCopy.json | 24 +-- .../resources/session-records/upload.json | 22 +-- .../uploadAndDownloadLargeFile.json | 4 - .../session-records/uploadLargeFile.json | 4 - .../uploadToStorageAndDownloadToFile.json | 55 ++---- .../test/resources/session-records/url.json | 4 - .../session-records/urlFromDirClient.json | 2 +- .../src/test/resources/testfiles/helloworld | 1 - .../test/resources/testfiles/uploadSample.txt | 0 164 files changed, 1717 insertions(+), 3810 deletions(-) delete mode 100644 storage/client/file/src/test/resources/session-records/create.json delete mode 100644 storage/client/file/src/test/resources/session-records/createDirectory.json delete mode 100644 storage/client/file/src/test/resources/session-records/createDirectoryAlreadyExists.json delete mode 100644 storage/client/file/src/test/resources/session-records/createDirectoryInvalidName.json delete mode 100644 storage/client/file/src/test/resources/session-records/createExcessMaxSize.json delete mode 100644 storage/client/file/src/test/resources/session-records/createFile.json delete mode 100644 storage/client/file/src/test/resources/session-records/createInvalidQuota.json delete mode 100644 storage/client/file/src/test/resources/session-records/createMTwiceFromDirClient.json delete mode 100644 storage/client/file/src/test/resources/session-records/createMin.json delete mode 100644 storage/client/file/src/test/resources/session-records/createTwiceDifferentMetadata.json delete mode 100644 storage/client/file/src/test/resources/session-records/createTwiceSameMetadata.json delete mode 100644 storage/client/file/src/test/resources/session-records/createWithMetadata.json delete mode 100644 storage/client/file/src/test/resources/session-records/delete.json delete mode 100644 storage/client/file/src/test/resources/session-records/deleteDirectory.json delete mode 100644 storage/client/file/src/test/resources/session-records/deleteDirectoryDoesNotExist.json delete mode 100644 storage/client/file/src/test/resources/session-records/deleteDoesNotExist.json delete mode 100644 storage/client/file/src/test/resources/session-records/deleteFile.json delete mode 100644 storage/client/file/src/test/resources/session-records/deleteNotExist.json delete mode 100644 storage/client/file/src/test/resources/session-records/deleteSnapshot.json delete mode 100644 storage/client/file/src/test/resources/session-records/deleteThenCreate.json delete mode 100644 storage/client/file/src/test/resources/session-records/deleteThenCreateShare.json delete mode 100644 storage/client/file/src/test/resources/session-records/deleteThenCreateShareTooSoon.json delete mode 100644 storage/client/file/src/test/resources/session-records/deleteThenCreateTooSoon.json delete mode 100644 storage/client/file/src/test/resources/session-records/forceCloseHandles.json delete mode 100644 storage/client/file/src/test/resources/session-records/getFileClient.json delete mode 100644 storage/client/file/src/test/resources/session-records/getHandles.json delete mode 100644 storage/client/file/src/test/resources/session-records/getMetadata.json delete mode 100644 storage/client/file/src/test/resources/session-records/getMetadataDoesNotExist.json delete mode 100644 storage/client/file/src/test/resources/session-records/getProperties.json delete mode 100644 storage/client/file/src/test/resources/session-records/getPropertiesDoesNotExist.json delete mode 100644 storage/client/file/src/test/resources/session-records/getPropertiesInvalidSnapshot.json delete mode 100644 storage/client/file/src/test/resources/session-records/getPropertiesInvalidSnapshotFromDirClient.json delete mode 100644 storage/client/file/src/test/resources/session-records/getPropertiesNull.json delete mode 100644 storage/client/file/src/test/resources/session-records/getPropertiesNullFromDirClient.json delete mode 100644 storage/client/file/src/test/resources/session-records/getPropertiesValidSnapshot.json delete mode 100644 storage/client/file/src/test/resources/session-records/getPropertiesValidSnapshotFromDirClient.json delete mode 100644 storage/client/file/src/test/resources/session-records/getSnapshotMetadata.json delete mode 100644 storage/client/file/src/test/resources/session-records/getSnapshotMetadataDoesNotExist.json delete mode 100644 storage/client/file/src/test/resources/session-records/getSnapshotProperties.json delete mode 100644 storage/client/file/src/test/resources/session-records/listFilesAndDirectories.json delete mode 100644 storage/client/file/src/test/resources/session-records/listHandles.json delete mode 100644 storage/client/file/src/test/resources/session-records/listRanges.json delete mode 100644 storage/client/file/src/test/resources/session-records/setHttpHeaders.json delete mode 100644 storage/client/file/src/test/resources/session-records/setMeatadata.json delete mode 100644 storage/client/file/src/test/resources/session-records/setMetadata.json delete mode 100644 storage/client/file/src/test/resources/session-records/setMetadataDoesNotExist.json delete mode 100644 storage/client/file/src/test/resources/session-records/setMetadataInvalidMetadata.json delete mode 100644 storage/client/file/src/test/resources/session-records/setMetadataNull.json delete mode 100644 storage/client/file/src/test/resources/session-records/setMetadataNullFromDirClient.json delete mode 100644 storage/client/file/src/test/resources/session-records/setProperties.json delete mode 100644 storage/client/file/src/test/resources/session-records/setPropertiesDoesNotExist.json delete mode 100644 storage/client/file/src/test/resources/session-records/setPropertiesInvalidQuota.json delete mode 100644 storage/client/file/src/test/resources/session-records/uploadAndDownloadLargeFile.json delete mode 100644 storage/client/file/src/test/resources/session-records/uploadLargeFile.json delete mode 100644 storage/client/file/src/test/resources/session-records/url.json delete mode 100644 storage/client/file/src/test/resources/testfiles/uploadSample.txt 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 2068cb7556e03..c05d5d42a4798 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 @@ -8,9 +8,14 @@ import com.azure.core.test.TestMode; import com.azure.core.util.configuration.ConfigurationManager; import com.azure.core.util.logging.ClientLogger; +import com.azure.storage.file.models.FileProperty; import com.azure.storage.file.models.FileRef; import java.time.Duration; -import java.util.LinkedList; +import java.util.ArrayList; +import java.util.Collections; +import java.util.Comparator; +import java.util.List; +import java.util.concurrent.CountDownLatch; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; @@ -169,24 +174,51 @@ public void listFilesAndDirectoriesFromDirClient() { StepVerifier.create(client.create()) .assertNext(response -> FileTestHelpers.assertResponseStatusCode(response, 201)) .verifyComplete(); - LinkedList fileRefs = new LinkedList<>(); + List fileRefs = new ArrayList<>(); int repeatTimes = 3; // generate some subdirectories + String fileNameSameLayer = testResourceNamer.randomName("sameLayer", 16); + String fileNameNextLayer = testResourceNamer.randomName("nextLayer", 16); + for (int i = 0; i < repeatTimes; i++) { String directoryName = dirName + i; - StepVerifier.create(client.createSubDirectory(directoryName)) + DirectoryAsyncClient subDirectoryClient = client.getSubDirectoryClient(directoryName); + StepVerifier.create(subDirectoryClient.create()) .assertNext(response -> FileTestHelpers.assertResponseStatusCode(response, 201)) .verifyComplete(); fileRefs.add(new FileRef(directoryName, true, null)); + + fileNameSameLayer = fileNameSameLayer + i; + fileNameNextLayer = fileNameNextLayer + i; + + StepVerifier.create(client.createFile(fileNameSameLayer, 1024)) + .assertNext(response -> FileTestHelpers.assertResponseStatusCode(response, 201)) + .verifyComplete(); + fileRefs.add(new FileRef(fileNameSameLayer, false, new FileProperty().contentLength(1024))); + StepVerifier.create(subDirectoryClient.createFile(fileNameNextLayer, 1024)) + .assertNext(response -> FileTestHelpers.assertResponseStatusCode(response, 201)) + .verifyComplete(); + } - StepVerifier.create(client.listFilesAndDirectories(dirName, null)) - .assertNext(fileRef -> FileTestHelpers.assertFileRefsAreEqual(fileRefs.pop(), fileRef)) - .assertNext(fileRef -> FileTestHelpers.assertFileRefsAreEqual(fileRefs.pop(), fileRef)) - .assertNext(fileRef -> FileTestHelpers.assertFileRefsAreEqual(fileRefs.pop(), fileRef)) + Collections.sort(fileRefs, new LexicographicComparator()); + StepVerifier.create(client.listFilesAndDirectories(null, null)) + .assertNext(fileRef -> FileTestHelpers.assertFileRefsAreEqual(fileRefs.get(0), fileRef)) + .assertNext(fileRef -> FileTestHelpers.assertFileRefsAreEqual(fileRefs.get(1), fileRef)) + .assertNext(fileRef -> FileTestHelpers.assertFileRefsAreEqual(fileRefs.get(2), fileRef)) + .assertNext(fileRef -> FileTestHelpers.assertFileRefsAreEqual(fileRefs.get(3), fileRef)) + .assertNext(fileRef -> FileTestHelpers.assertFileRefsAreEqual(fileRefs.get(4), fileRef)) + .assertNext(fileRef -> FileTestHelpers.assertFileRefsAreEqual(fileRefs.get(5), fileRef)) .verifyComplete(); } + class LexicographicComparator implements Comparator { + @Override + public int compare(FileRef a, FileRef b) { + return a.name().compareToIgnoreCase(b.name()); + } + } + @Override public void getHandlesFromDirClient() { // TODO: Need to open channel and create handlers first. @@ -200,14 +232,24 @@ public void getHandlesFromDirClient() { @Override public void forceCloseHandlesFromDirClient() { - StepVerifier.create(client.create()) - .assertNext(response -> FileTestHelpers.assertResponseStatusCode(response, 201)) - .verifyComplete(); - client.getHandles(null, true).doOnEach( - handleItem -> { - client.forceCloseHandles(handleItem.get().handleId(), true).doOnEach( - numOfClosedHandles -> Assert.assertTrue(numOfClosedHandles.get() > 0) - ); +// StepVerifier.create(client.create()) +// .assertNext(response -> FileTestHelpers.assertResponseStatusCode(response, 201)) +// .verifyComplete(); +// StepVerifier.create(client.getHandles(null, true)) +// .assertNext(handleItem -> { +// StepVerifier.create(client.forceCloseHandles(handleItem.handleId(), true)) +// .assertNext(numOfClosedHandles -> Assert.assertTrue(numOfClosedHandles.longValue() > 0)) +// .verifyComplete(); +// }) +// .verifyComplete(); + client.create().block(); + CountDownLatch latch = new CountDownLatch(1); + client.getHandles(null, true).subscribe( + response -> { + StepVerifier.create(client.forceCloseHandles(response.handleId(), true)) + .assertNext(forceCloseHandles -> Assert.assertTrue(forceCloseHandles > 0)) + .verifyComplete(); + latch.countDown(); } ); } 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 78a446ef54573..2a8bb59791461 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 @@ -6,7 +6,6 @@ import com.azure.core.http.policy.HttpLogDetailLevel; import com.azure.core.implementation.http.UrlBuilder; import com.azure.core.test.TestMode; -import com.azure.core.test.utils.TestResourceNamer; import com.azure.core.util.configuration.ConfigurationManager; import com.azure.core.util.logging.ClientLogger; import com.azure.storage.file.models.FileRef; @@ -18,6 +17,7 @@ import org.junit.BeforeClass; import static com.azure.storage.file.FileTestHelpers.setupClient; +import static org.junit.Assert.assertTrue; public class DirectoryClientTests extends DirectoryClientTestBase { private final ClientLogger directoryLogger = new ClientLogger(DirectoryClientTests.class); @@ -152,20 +152,29 @@ public void setMetadataInvalidKeyFromDirClient() { public void listFilesAndDirectoriesFromDirClient() { FileTestHelpers.assertResponseStatusCode(directoryClient.create(), 201); int repeatTimes = 3; + String fileNameSameLayer = testResourceNamer.randomName("sameLayer", 16); + String fileNameNextLayer = testResourceNamer.randomName("nextLayer", 16); for (int i = 0; i < repeatTimes; i++) { DirectoryClient subDirClient = directoryClient.getSubDirectoryClient(dirName + i); FileTestHelpers.assertResponseStatusCode(subDirClient.create(), 201); - String fileName = testResourceNamer.randomName("file", 16); - FileTestHelpers.assertResponseStatusCode(subDirClient.createFile(fileName, 1024), 201); + fileNameSameLayer = fileNameSameLayer + i; + fileNameNextLayer = fileNameNextLayer + i; + FileTestHelpers.assertResponseStatusCode(directoryClient.createFile(fileNameSameLayer, 1024), 201); + FileTestHelpers.assertResponseStatusCode(subDirClient.createFile(fileNameNextLayer, 1024), 201); } - Iterable fileRefs = directoryClient.listFilesAndDirectories(dirName, null); + + Iterable fileRefs = directoryClient.listFilesAndDirectories(); + int count = 0; Iterator it = fileRefs.iterator(); while (it.hasNext()) { count++; - Assert.assertNotNull(it.next()); + FileRef ref = it.next(); + Assert.assertNotNull(ref); + if (!ref.isDirectory()) { + assertTrue("It is supposed to list the files in same layer.", ref.name().contains("samelayer")); + } } - System.out.println(count); Assert.assertEquals(repeatTimes * 2, count); } @@ -182,7 +191,7 @@ public void forceCloseHandlesFromDirClient() { directoryClient.getHandles(null, true).forEach( handleItem -> { directoryClient.forceCloseHandles(handleItem.handleId(), true).forEach( - numberOfClosedHandles -> Assert.assertTrue(numberOfClosedHandles > 0) + numberOfClosedHandles -> assertTrue(numberOfClosedHandles > 0) ); } ); 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 2000145fec549..d09e656a26dfe 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 @@ -78,9 +78,11 @@ public static void tearDown() { @Override public void createFromFileClient() { - StepVerifier.create(fileAsyncClient.create(1024, null, null)) + StepVerifier.create(fileAsyncClient.create(1024)) .assertNext(response -> FileTestHelpers.assertResponseStatusCode(response, 201)) .verifyComplete(); + StepVerifier.create(fileAsyncClient.getProperties()) + .assertNext(filePropertiesResponse -> Assert.assertTrue(filePropertiesResponse.value().contentLength() == 1024)); } @Override @@ -88,6 +90,8 @@ public void createExcessMaxSizeFromFileClient() { StepVerifier.create(fileAsyncClient.create(1024 * 1024 * 1024 * 1024, null, null)) .assertNext(response -> FileTestHelpers.assertResponseStatusCode(response, 201)) .verifyComplete(); + StepVerifier.create(fileAsyncClient.getProperties()) + .assertNext(filePropertiesResponse -> Assert.assertTrue(filePropertiesResponse.value().contentLength() == 0)); } @Override @@ -137,8 +141,10 @@ public void uploadToStorageAndDownloadToFile() throws Exception { @Override public void deleteFromFileClient() { - fileAsyncClient.create(1024, null, null).subscribe(); - fileAsyncClient.delete().subscribe(); + fileAsyncClient.create(1024, null, null).block(); + StepVerifier.create(fileAsyncClient.delete()) + .assertNext(response -> FileTestHelpers.assertResponseStatusCode(response, 202)) + .verifyComplete(); } @Override @@ -197,7 +203,7 @@ public void forceCloseHandlesFromFileClient() { //TODO: need to create a handle first fileAsyncClient.create(1024).block(); CountDownLatch latch = new CountDownLatch(1); - fileAsyncClient.listHandles().subscribe( + fileAsyncClient.listHandles(10).subscribe( response -> { StepVerifier.create(fileAsyncClient.forceCloseHandles(response.handleId())) .assertNext(forceCloseHandles -> Assert.assertTrue(forceCloseHandles > 0)) 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 95eed5db9b2a2..83856f6d02f2a 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 @@ -109,7 +109,7 @@ public void abortCopy() { public void downloadWithProperties() { fileClient.create(1024, null, null); FileRange range = new FileRange(0, 1024); - FileTestHelpers.assertResponseStatusCode(fileClient.downloadWithProperties(range, null), 206); + FileTestHelpers.assertResponseListStatusCode(fileClient.downloadWithProperties(range, null), Arrays.asList(200, 206)); } @Override @@ -135,7 +135,7 @@ public void uploadToStorageAndDownloadToFile() throws Exception { @Override public void deleteFromFileClient() { fileClient.create(1024, null, null); - fileClient.delete(); + FileTestHelpers.assertResponseStatusCode(fileClient.delete(), 202); } @Override diff --git a/storage/client/file/src/test/java/com/azure/storage/file/FileClientTestBase.java b/storage/client/file/src/test/java/com/azure/storage/file/FileClientTestBase.java index d5e9350b7abf4..9aba9e055bbc3 100644 --- a/storage/client/file/src/test/java/com/azure/storage/file/FileClientTestBase.java +++ b/storage/client/file/src/test/java/com/azure/storage/file/FileClientTestBase.java @@ -10,6 +10,7 @@ import java.util.Map; import org.junit.Rule; import org.junit.Test; +import org.junit.rules.ExpectedException; import org.junit.rules.TestName; public abstract class FileClientTestBase extends TestBase { @@ -20,6 +21,9 @@ public abstract class FileClientTestBase extends TestBase { @Rule public TestName testName = new TestName(); + @Rule + public ExpectedException thrown = ExpectedException.none(); + /** * Gets the name of the current test being run. *

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 442b59fd2d1e0..7177638e9735c 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 @@ -8,6 +8,7 @@ import com.azure.core.http.rest.Response; import com.azure.core.util.logging.ClientLogger; import com.azure.storage.file.models.AccessPolicy; +import com.azure.storage.file.models.DirectoryProperties; import com.azure.storage.file.models.ShareProperties; import com.azure.storage.file.models.ShareSnapshotInfo; import com.azure.storage.file.models.ShareStatistics; @@ -70,8 +71,9 @@ public void afterTest() { public void getRootDirectoryDoesNotCreateADirectory() { shareClient.create(); DirectoryClient directoryClient = shareClient.getRootDirectoryClient(); - Assert.assertEquals(directoryClient.getProperties().statusCode(), 200); - Assert.assertNotNull(directoryClient.getProperties().value().eTag()); + Response response = directoryClient.getProperties(); + Assert.assertEquals(response.statusCode(), 200); + Assert.assertNotNull(response.value().eTag()); } @Override 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 89c17aec39703..3c6a52b121c95 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" : [ "file31195601" ] + "variables" : [ "file43189fe6" ] } \ 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 54abcfb5aec12..6beb9d6bd9f28 100644 --- a/storage/client/file/src/test/resources/session-records/clearMetadataFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/clearMetadataFromDirClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory23379f?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory228250?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADDBDEDB0\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:19 GMT", + "ETag" : "\"0x8D706A8842A398B\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf19d-b01a-0014-6d73-380cf6000000", + "x-ms-request-id" : "9e60669a-501a-0051-6e91-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:18 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:33 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory23379f?restype=directory&comp=metadata", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory228250?restype=directory&comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -28,15 +28,15 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADDC9AFB0\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:19 GMT", + "ETag" : "\"0x8D706A8843F9A3E\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf19f-b01a-0014-6e73-380cf6000000", + "x-ms-request-id" : "9e60669b-501a-0051-6f91-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:18 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:33 GMT" } } ], - "variables" : [ "directory23379f" ] + "variables" : [ "directory228250" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/create.json b/storage/client/file/src/test/resources/session-records/create.json deleted file mode 100644 index 10f42ff4abd9b..0000000000000 --- a/storage/client/file/src/test/resources/session-records/create.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share8239019f?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:56 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:14:56 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F3713B2DAFFA\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b3867e-601a-0035-175a-25617e000000" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share8239019f?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:56 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "b1b38680-601a-0035-185a-25617e000000" - } - } ], - "variables" : [ "share8239019f" ] -} diff --git a/storage/client/file/src/test/resources/session-records/createDirectory.json b/storage/client/file/src/test/resources/session-records/createDirectory.json deleted file mode 100644 index 3b52338e90f49..0000000000000 --- a/storage/client/file/src/test/resources/session-records/createDirectory.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share426777a9?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:44 GMT", - "content-length" : "217", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareNotFound", - "retry-after" : "0", - "StatusCode" : "404", - "x-ms-request-id" : "b1b38754-601a-0035-1f5a-25617e000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:b1b38754-601a-0035-1f5a-25617e000000\nTime:2019-06-17T22:15:45.4123653Z" - } - } ], - "variables" : [ "share426777a9" ] -} \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createDirectoryAlreadyExists.json b/storage/client/file/src/test/resources/session-records/createDirectoryAlreadyExists.json deleted file mode 100644 index 732800887cd9e..0000000000000 --- a/storage/client/file/src/test/resources/session-records/createDirectoryAlreadyExists.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share86099fbf?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:42 GMT", - "content-length" : "217", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareNotFound", - "retry-after" : "0", - "StatusCode" : "404", - "x-ms-request-id" : "b1b3870d-601a-0035-6b5a-25617e000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:b1b3870d-601a-0035-6b5a-25617e000000\nTime:2019-06-17T22:15:43.3073392Z" - } - } ], - "variables" : [ "share86099fbf" ] -} \ 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 60ac2b06c9ae5..ba69b2a98f5a2 100644 --- a/storage/client/file/src/test/resources/session-records/createDirectoryAlreadyExistsFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createDirectoryAlreadyExistsFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share805734cf?restype=share", + "Uri" : "https://sima.file.core.windows.net/share11832a0f?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9CCA0DDC\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:30 GMT", + "ETag" : "\"0x8D706A83C59172A\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250beffd-b01a-0014-7d73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:29 GMT" + "x-ms-request-id" : "9e6064dc-501a-0051-6d91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:33 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share805734cf/testshare?restype=directory", + "Uri" : "https://sima.file.core.windows.net/share11832a0f/testshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -27,18 +27,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9CD6BF94\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:30 GMT", + "ETag" : "\"0x8D706A83C657F17\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250befff-b01a-0014-7e73-380cf6000000", + "x-ms-request-id" : "9e6064de-501a-0051-6e91-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:34:29 GMT" + "Date" : "Fri, 12 Jul 2019 09:06:33 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share805734cf/testshare?restype=directory", + "Uri" : "https://sima.file.core.windows.net/share11832a0f/testshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -50,14 +50,14 @@ "retry-after" : "0", "Content-Length" : "228", "StatusCode" : "409", - "x-ms-request-id" : "250bf000-b01a-0014-7f73-380cf6000000", - "Body" : "ResourceAlreadyExistsThe specified resource already exists.\nRequestId:250bf000-b01a-0014-7f73-380cf6000000\nTime:2019-07-12T05:34:30.3646742Z", - "Date" : "Fri, 12 Jul 2019 05:34:29 GMT", + "x-ms-request-id" : "9e6064df-501a-0051-6f91-38d167000000", + "Body" : "ResourceAlreadyExistsThe specified resource already exists.\nRequestId:9e6064df-501a-0051-6f91-38d167000000\nTime:2019-07-12T09:06:33.4599680Z", + "Date" : "Fri, 12 Jul 2019 09:06:33 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share805734cf?restype=share", + "Uri" : "https://sima.file.core.windows.net/share11832a0f?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -68,9 +68,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf001-b01a-0014-8073-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:29 GMT" + "x-ms-request-id" : "9e6064e0-501a-0051-7091-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:33 GMT" } } ], - "variables" : [ "share805734cf" ] + "variables" : [ "share11832a0f" ] } \ 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 9b1bce631c919..df5bac30a9bde 100644 --- a/storage/client/file/src/test/resources/session-records/createDirectoryFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createDirectoryFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share66071d66?restype=share", + "Uri" : "https://sima.file.core.windows.net/share86460d44?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068AB9A0008D\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:18 GMT", + "ETag" : "\"0x8D706A8593B01CC\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:21 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf078-b01a-0014-3373-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:17 GMT" + "x-ms-request-id" : "9e60654f-501a-0051-2691-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:21 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share66071d66/testshare?restype=directory", + "Uri" : "https://sima.file.core.windows.net/share86460d44/testshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -27,18 +27,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068AB9AC74C2\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:18 GMT", + "ETag" : "\"0x8D706A859485619\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:21 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf07a-b01a-0014-3473-380cf6000000", + "x-ms-request-id" : "9e606552-501a-0051-2791-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:35:17 GMT" + "Date" : "Fri, 12 Jul 2019 09:07:21 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share66071d66?restype=share", + "Uri" : "https://sima.file.core.windows.net/share86460d44?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf07b-b01a-0014-3573-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:18 GMT" + "x-ms-request-id" : "9e606553-501a-0051-2891-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:21 GMT" } } ], - "variables" : [ "share66071d66" ] + "variables" : [ "share86460d44" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createDirectoryInvalidName.json b/storage/client/file/src/test/resources/session-records/createDirectoryInvalidName.json deleted file mode 100644 index aca01b558df2c..0000000000000 --- a/storage/client/file/src/test/resources/session-records/createDirectoryInvalidName.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share25376aec?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:43 GMT", - "content-length" : "217", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareNotFound", - "retry-after" : "0", - "StatusCode" : "404", - "x-ms-request-id" : "b1b38721-601a-0035-7a5a-25617e000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:b1b38721-601a-0035-7a5a-25617e000000\nTime:2019-06-17T22:15:44.0020064Z" - } - } ], - "variables" : [ "share25376aec" ] -} \ 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 42d86c36ac894..4514017782714 100644 --- a/storage/client/file/src/test/resources/session-records/createDirectoryInvalidNameFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createDirectoryInvalidNameFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share04110500?restype=share", + "Uri" : "https://sima.file.core.windows.net/share12282b00?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A99D1EE78\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:25 GMT", + "ETag" : "\"0x8D706A8396144B0\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250befb4-b01a-0014-4873-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:24 GMT" + "x-ms-request-id" : "9e606486-501a-0051-3891-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:28 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share04110500/test%2fshare?restype=directory", + "Uri" : "https://sima.file.core.windows.net/share12282b00/test%2fshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -31,14 +31,14 @@ "retry-after" : "0", "Content-Length" : "224", "StatusCode" : "404", - "x-ms-request-id" : "250befb6-b01a-0014-4973-380cf6000000", - "Body" : "ParentNotFoundThe specified parent path does not exist.\nRequestId:250befb6-b01a-0014-4973-380cf6000000\nTime:2019-07-12T05:34:25.3110858Z", - "Date" : "Fri, 12 Jul 2019 05:34:24 GMT", + "x-ms-request-id" : "9e606488-501a-0051-3991-38d167000000", + "Body" : "ParentNotFoundThe specified parent path does not exist.\nRequestId:9e606488-501a-0051-3991-38d167000000\nTime:2019-07-12T09:06:28.4653864Z", + "Date" : "Fri, 12 Jul 2019 09:06:28 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share04110500?restype=share", + "Uri" : "https://sima.file.core.windows.net/share12282b00?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250befb7-b01a-0014-4a73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:24 GMT" + "x-ms-request-id" : "9e606489-501a-0051-3a91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:28 GMT" } } ], - "variables" : [ "share04110500" ] + "variables" : [ "share12282b00" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createExcessMaxSize.json b/storage/client/file/src/test/resources/session-records/createExcessMaxSize.json deleted file mode 100644 index 7a4eb09413ddd..0000000000000 --- a/storage/client/file/src/test/resources/session-records/createExcessMaxSize.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagefiletests/testdir%2ffile79708b5a", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D6F5A65FF05C0E\"", - "Last-Modified" : "Thu, 20 Jun 2019 17:40:24 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "a329ad5e-401a-0067-4d8f-277c35000000", - "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 20 Jun 2019 17:40:23 GMT" - } - }, { - "Method" : "HEAD", - "Uri" : "https://sima.file.core.windows.net/storagefiletests/testdir%2ffile79708b5a", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "Thu, 20 Jun 2019 17:40:24 GMT", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 20 Jun 2019 17:40:24 GMT", - "x-ms-server-encrypted" : "true", - "x-ms-type" : "File", - "ETag" : "\"0x8D6F5A65FF05C0E\"", - "Content-Length" : "0", - "x-ms-request-id" : "f925c4cb-801a-0058-1c8f-27cbe9000000", - "Body" : "", - "Content-Type" : "application/octet-stream" - } - } ], - "variables" : [ "file79708b5a" ] -} \ 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 3ebe9d5b6cf79..a6e37f3a31b48 100644 --- a/storage/client/file/src/test/resources/session-records/createExcessMaxSizeFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/createExcessMaxSizeFromFileClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile8303378f", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile83109097", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,15 +9,37 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A613A4D58\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:50 GMT", + "ETag" : "\"0x8D706E2284DAB9C\"", + "Last-Modified" : "Fri, 12 Jul 2019 16:01:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bef06-b01a-0014-0473-380cf6000000", + "x-ms-request-id" : "dfdb8b71-e01a-0084-12cb-3899ba000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:32:49 GMT" + "Date" : "Fri, 12 Jul 2019 16:01:09 GMT" + } + }, { + "Method" : "HEAD", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile83109097", + "Headers" : { + "x-ms-version" : "2018-11-09", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "Fri, 12 Jul 2019 16:01:10 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Fri, 12 Jul 2019 16:01:09 GMT", + "x-ms-server-encrypted" : "true", + "x-ms-type" : "File", + "ETag" : "\"0x8D706E2284DAB9C\"", + "Content-Length" : "0", + "x-ms-request-id" : "dfdb8b74-e01a-0084-13cb-3899ba000000", + "Body" : "", + "Content-Type" : "application/octet-stream" } } ], - "variables" : [ "file8303378f" ] + "variables" : [ "file83109097" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createFile.json b/storage/client/file/src/test/resources/session-records/createFile.json deleted file mode 100644 index f06e32ff3e5bc..0000000000000 --- a/storage/client/file/src/test/resources/session-records/createFile.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "networkCallRecords" : [ ], - "variables" : [ "directory86720a" ] -} \ 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 e4ec27b928af5..574e0a3728b3d 100644 --- a/storage/client/file/src/test/resources/session-records/createFileFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/createFileFromDirClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory892147?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory28933d?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADCA87A20\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:17 GMT", + "ETag" : "\"0x8D706A881FDCB76\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf178-b01a-0014-5773-380cf6000000", + "x-ms-request-id" : "9e60666f-501a-0051-5391-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:16 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:29 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory892147%2ftestfile", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory28933d%2ftestfile", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -28,15 +28,15 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADCB48A41\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:17 GMT", + "ETag" : "\"0x8D706A8820A7806\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf179-b01a-0014-5873-380cf6000000", + "x-ms-request-id" : "9e606670-501a-0051-5491-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:16 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:29 GMT" } } ], - "variables" : [ "directory892147" ] + "variables" : [ "directory28933d" ] } \ 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 fafc0cdbde4b3..d2aa16b188d05 100644 --- a/storage/client/file/src/test/resources/session-records/createFileWithoutCreateDirFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/createFileWithoutCreateDirFromDirClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory84870d%2ftestfile", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory461887%2ftestfile", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -13,11 +13,11 @@ "retry-after" : "0", "Content-Length" : "224", "StatusCode" : "404", - "x-ms-request-id" : "250bf19c-b01a-0014-6c73-380cf6000000", - "Body" : "ParentNotFoundThe specified parent path does not exist.\nRequestId:250bf19c-b01a-0014-6c73-380cf6000000\nTime:2019-07-12T05:36:19.0808346Z", - "Date" : "Fri, 12 Jul 2019 05:36:18 GMT", + "x-ms-request-id" : "9e606699-501a-0051-6d91-38d167000000", + "Body" : "ParentNotFoundThe specified parent path does not exist.\nRequestId:9e606699-501a-0051-6d91-38d167000000\nTime:2019-07-12T09:08:33.6872456Z", + "Date" : "Fri, 12 Jul 2019 09:08:33 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "directory84870d" ] + "variables" : [ "directory461887" ] } \ 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 3a292709876be..857a9cf36edeb 100644 --- a/storage/client/file/src/test/resources/session-records/createFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/createFromFileClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile07028d6a", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile12345297", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,15 +9,37 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A61479640\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:50 GMT", + "ETag" : "\"0x8D706E17BF81C1A\"", + "Last-Modified" : "Fri, 12 Jul 2019 15:56:21 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bef07-b01a-0014-0573-380cf6000000", + "x-ms-request-id" : "ca3831f5-d01a-004b-71ca-38fe08000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:32:49 GMT" + "Date" : "Fri, 12 Jul 2019 15:56:20 GMT" + } + }, { + "Method" : "HEAD", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile12345297", + "Headers" : { + "x-ms-version" : "2018-11-09", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "Fri, 12 Jul 2019 15:56:21 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Fri, 12 Jul 2019 15:56:21 GMT", + "x-ms-server-encrypted" : "true", + "x-ms-type" : "File", + "ETag" : "\"0x8D706E17BF81C1A\"", + "Content-Length" : "1024", + "x-ms-request-id" : "ca3831f8-d01a-004b-72ca-38fe08000000", + "Body" : "", + "Content-Type" : "application/octet-stream" } } ], - "variables" : [ "file07028d6a" ] + "variables" : [ "file12345297" ] } \ 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 1510cd233fbab..a331e7c51aa85 100644 --- a/storage/client/file/src/test/resources/session-records/createFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share4015849c?restype=share", + "Uri" : "https://sima.file.core.windows.net/share46235f3d?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ABA22DCE6\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:19 GMT", + "ETag" : "\"0x8D706A859B74D7A\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:22 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf087-b01a-0014-3c73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:18 GMT" + "x-ms-request-id" : "9e60655c-501a-0051-2f91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:22 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share4015849c?restype=share", + "Uri" : "https://sima.file.core.windows.net/share46235f3d?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -30,9 +30,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf089-b01a-0014-3d73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:18 GMT" + "x-ms-request-id" : "9e60655e-501a-0051-3091-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:22 GMT" } } ], - "variables" : [ "share4015849c" ] + "variables" : [ "share46235f3d" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createInvalidQuota.json b/storage/client/file/src/test/resources/session-records/createInvalidQuota.json deleted file mode 100644 index 48afa3a303e87..0000000000000 --- a/storage/client/file/src/test/resources/session-records/createInvalidQuota.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share13267b2c?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:55 GMT", - "content-length" : "324", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "InvalidHeaderValue", - "retry-after" : "0", - "StatusCode" : "400", - "x-ms-request-id" : "b1b3866a-601a-0035-065a-25617e000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:b1b3866a-601a-0035-065a-25617e000000\nTime:2019-06-17T22:14:56.3462289Zx-ms-share-quota-1" - } - }, { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share13267b2c?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:55 GMT", - "content-length" : "323", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "InvalidHeaderValue", - "retry-after" : "0", - "StatusCode" : "400", - "x-ms-request-id" : "b1b3866b-601a-0035-075a-25617e000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:b1b3866b-601a-0035-075a-25617e000000\nTime:2019-06-17T22:14:56.3702520Zx-ms-share-quota0" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share13267b2c?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:56 GMT", - "content-length" : "217", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareNotFound", - "retry-after" : "0", - "StatusCode" : "404", - "x-ms-request-id" : "b1b3866c-601a-0035-085a-25617e000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:b1b3866c-601a-0035-085a-25617e000000\nTime:2019-06-17T22:14:56.3972788Z" - } - } ], - "variables" : [ "share13267b2c" ] -} \ 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 94e8cb42bc383..c44b1c68ffc4e 100644 --- a/storage/client/file/src/test/resources/session-records/createInvalidQuotaFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createInvalidQuotaFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share00482019?restype=share", + "Uri" : "https://sima.file.core.windows.net/share4901090a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -13,14 +13,14 @@ "retry-after" : "0", "Content-Length" : "324", "StatusCode" : "400", - "x-ms-request-id" : "250bf054-b01a-0014-2273-380cf6000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:250bf054-b01a-0014-2273-380cf6000000\nTime:2019-07-12T05:35:17.2449486Zx-ms-share-quota-1", - "Date" : "Fri, 12 Jul 2019 05:35:16 GMT", + "x-ms-request-id" : "9e60653a-501a-0051-1791-38d167000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9e60653a-501a-0051-1791-38d167000000\nTime:2019-07-12T09:07:20.4596989Zx-ms-share-quota-1", + "Date" : "Fri, 12 Jul 2019 09:07:20 GMT", "Content-Type" : "application/xml" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share00482019?restype=share", + "Uri" : "https://sima.file.core.windows.net/share4901090a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -32,14 +32,14 @@ "retry-after" : "0", "Content-Length" : "323", "StatusCode" : "400", - "x-ms-request-id" : "250bf055-b01a-0014-2373-380cf6000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:250bf055-b01a-0014-2373-380cf6000000\nTime:2019-07-12T05:35:17.3260046Zx-ms-share-quota0", - "Date" : "Fri, 12 Jul 2019 05:35:16 GMT", + "x-ms-request-id" : "9e60653b-501a-0051-1891-38d167000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9e60653b-501a-0051-1891-38d167000000\nTime:2019-07-12T09:07:20.5357531Zx-ms-share-quota0", + "Date" : "Fri, 12 Jul 2019 09:07:20 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share00482019?restype=share", + "Uri" : "https://sima.file.core.windows.net/share4901090a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -51,11 +51,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250bf057-b01a-0014-2473-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250bf057-b01a-0014-2473-380cf6000000\nTime:2019-07-12T05:35:17.4120652Z", - "Date" : "Fri, 12 Jul 2019 05:35:16 GMT", + "x-ms-request-id" : "9e60653c-501a-0051-1991-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e60653c-501a-0051-1991-38d167000000\nTime:2019-07-12T09:07:20.6068039Z", + "Date" : "Fri, 12 Jul 2019 09:07:20 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share00482019" ] + "variables" : [ "share4901090a" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createMTwiceFromDirClient.json b/storage/client/file/src/test/resources/session-records/createMTwiceFromDirClient.json deleted file mode 100644 index 371b28dc41214..0000000000000 --- a/storage/client/file/src/test/resources/session-records/createMTwiceFromDirClient.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory403825?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D6F7A5CDFE0A70\"", - "Last-Modified" : "Sun, 23 Jun 2019 06:41:21 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "50f6a8cf-c01a-0098-3d8e-2941ad000000", - "x-ms-request-server-encrypted" : "true", - "Date" : "Sun, 23 Jun 2019 06:41:21 GMT" - } - } ], - "variables" : [ "directory403825" ] -} \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createMin.json b/storage/client/file/src/test/resources/session-records/createMin.json deleted file mode 100644 index 3db2e20cc54b7..0000000000000 --- a/storage/client/file/src/test/resources/session-records/createMin.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory67807a?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:16:12 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:16:12 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F371681EC3AB\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "d5c3247e-901a-004c-0d5a-25088d000000", - "x-ms-request-server-encrypted" : "true" - } - } ], - "variables" : [ "directory67807a" ] -} \ 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 4ee94c4621113..e97553aa05315 100644 --- a/storage/client/file/src/test/resources/session-records/createMinFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/createMinFromDirClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory450829?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory49495a?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,15 +9,15 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADC7EF174\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:17 GMT", + "ETag" : "\"0x8D706A881B17234\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf175-b01a-0014-5473-380cf6000000", + "x-ms-request-id" : "9e60666c-501a-0051-5091-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:16 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:29 GMT" } } ], - "variables" : [ "directory450829" ] + "variables" : [ "directory49495a" ] } \ 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 247eadfc0fdb8..006e2739389d1 100644 --- a/storage/client/file/src/test/resources/session-records/createShare.json +++ b/storage/client/file/src/test/resources/session-records/createShare.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share359545bb?restype=share", + "Uri" : "https://sima.file.core.windows.net/share42328759?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B151A8907\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:52 GMT", + "ETag" : "\"0x8D706A8BC9B525F\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf23e-b01a-0014-2673-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:51 GMT" + "x-ms-request-id" : "9e60675b-501a-0051-3f91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:07 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share359545bb&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share42328759&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -30,14 +30,14 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf240-b01a-0014-2773-380cf6000000", - "Body" : "share359545bbshare359545bbFri, 12 Jul 2019 05:37:52 GMT\"0x8D7068B151A8907\"5120", - "Date" : "Fri, 12 Jul 2019 05:37:51 GMT", + "x-ms-request-id" : "9e60675d-501a-0051-4091-38d167000000", + "Body" : "share42328759share42328759Fri, 12 Jul 2019 09:10:08 GMT\"0x8D706A8BC9B525F\"5120", + "Date" : "Fri, 12 Jul 2019 09:10:07 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share359545bb?restype=share", + "Uri" : "https://sima.file.core.windows.net/share42328759?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -48,9 +48,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf241-b01a-0014-2873-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:51 GMT" + "x-ms-request-id" : "9e60675e-501a-0051-4191-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:08 GMT" } } ], - "variables" : [ "share359545bb" ] + "variables" : [ "share42328759" ] } \ 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 61454a72ed878..3ce72cb653ed7 100644 --- a/storage/client/file/src/test/resources/session-records/createShareInvalidQuota.json +++ b/storage/client/file/src/test/resources/session-records/createShareInvalidQuota.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share78241f0d?restype=share", + "Uri" : "https://sima.file.core.windows.net/share24206082?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -13,14 +13,14 @@ "retry-after" : "0", "Content-Length" : "324", "StatusCode" : "400", - "x-ms-request-id" : "250bf239-b01a-0014-2173-380cf6000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:250bf239-b01a-0014-2173-380cf6000000\nTime:2019-07-12T05:37:51.6473040Zx-ms-share-quota-1", - "Date" : "Fri, 12 Jul 2019 05:37:50 GMT", + "x-ms-request-id" : "9e606755-501a-0051-3991-38d167000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9e606755-501a-0051-3991-38d167000000\nTime:2019-07-12T09:10:07.5766212Zx-ms-share-quota-1", + "Date" : "Fri, 12 Jul 2019 09:10:07 GMT", "Content-Type" : "application/xml" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share78241f0d?restype=share", + "Uri" : "https://sima.file.core.windows.net/share24206082?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -32,14 +32,14 @@ "retry-after" : "0", "Content-Length" : "329", "StatusCode" : "400", - "x-ms-request-id" : "250bf23a-b01a-0014-2273-380cf6000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:250bf23a-b01a-0014-2273-380cf6000000\nTime:2019-07-12T05:37:51.7193547Zx-ms-share-quota9999999", - "Date" : "Fri, 12 Jul 2019 05:37:50 GMT", + "x-ms-request-id" : "9e606756-501a-0051-3a91-38d167000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9e606756-501a-0051-3a91-38d167000000\nTime:2019-07-12T09:10:07.6526754Zx-ms-share-quota9999999", + "Date" : "Fri, 12 Jul 2019 09:10:07 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share78241f0d&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share24206082&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -50,11 +50,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf23b-b01a-0014-2373-380cf6000000", - "Body" : "share78241f0d", - "Date" : "Fri, 12 Jul 2019 05:37:50 GMT", + "x-ms-request-id" : "9e606757-501a-0051-3b91-38d167000000", + "Body" : "share24206082", + "Date" : "Fri, 12 Jul 2019 09:10:07 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share78241f0d" ] + "variables" : [ "share24206082" ] } \ 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 3450ad2a06957..2ca28c0aa1741 100644 --- a/storage/client/file/src/test/resources/session-records/createShareTwiceDifferentMetadata.json +++ b/storage/client/file/src/test/resources/session-records/createShareTwiceDifferentMetadata.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share31555353?restype=share", + "Uri" : "https://sima.file.core.windows.net/share034087c4?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B142A0A2F\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:50 GMT", + "ETag" : "\"0x8D706A8BAF25D60\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:05 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf223-b01a-0014-1073-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:49 GMT" + "x-ms-request-id" : "9e60673d-501a-0051-2891-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:05 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share31555353?restype=share", + "Uri" : "https://sima.file.core.windows.net/share034087c4?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -31,14 +31,14 @@ "retry-after" : "0", "Content-Length" : "222", "StatusCode" : "409", - "x-ms-request-id" : "250bf225-b01a-0014-1173-380cf6000000", - "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:250bf225-b01a-0014-1173-380cf6000000\nTime:2019-07-12T05:37:50.5505312Z", - "Date" : "Fri, 12 Jul 2019 05:37:49 GMT", + "x-ms-request-id" : "9e60673f-501a-0051-2991-38d167000000", + "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:9e60673f-501a-0051-2991-38d167000000\nTime:2019-07-12T09:10:05.8503829Z", + "Date" : "Fri, 12 Jul 2019 09:10:05 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share31555353&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share034087c4&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -49,14 +49,14 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf226-b01a-0014-1273-380cf6000000", - "Body" : "share31555353share31555353Fri, 12 Jul 2019 05:37:50 GMT\"0x8D7068B142A0A2F\"5120", - "Date" : "Fri, 12 Jul 2019 05:37:49 GMT", + "x-ms-request-id" : "9e606740-501a-0051-2a91-38d167000000", + "Body" : "share034087c4share034087c4Fri, 12 Jul 2019 09:10:05 GMT\"0x8D706A8BAF25D60\"5120", + "Date" : "Fri, 12 Jul 2019 09:10:05 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share31555353?restype=share", + "Uri" : "https://sima.file.core.windows.net/share034087c4?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -67,9 +67,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf227-b01a-0014-1373-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:49 GMT" + "x-ms-request-id" : "9e606741-501a-0051-2b91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:05 GMT" } } ], - "variables" : [ "share31555353" ] + "variables" : [ "share034087c4" ] } \ 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 cd7b78f6a5451..030a45dac3567 100644 --- a/storage/client/file/src/test/resources/session-records/createShareTwiceSameMetadata.json +++ b/storage/client/file/src/test/resources/session-records/createShareTwiceSameMetadata.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share7779697a?restype=share", + "Uri" : "https://sima.file.core.windows.net/share49400a7c?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068AF8DFC305\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:04 GMT", + "ETag" : "\"0x8D706A89F590DA0\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:09:19 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf1d4-b01a-0014-7d73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:03 GMT" + "x-ms-request-id" : "9e6066de-501a-0051-0891-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:09:18 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share7779697a?restype=share", + "Uri" : "https://sima.file.core.windows.net/share49400a7c?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -31,14 +31,14 @@ "retry-after" : "0", "Content-Length" : "222", "StatusCode" : "409", - "x-ms-request-id" : "250bf1d7-b01a-0014-7e73-380cf6000000", - "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:250bf1d7-b01a-0014-7e73-380cf6000000\nTime:2019-07-12T05:37:04.7932787Z", - "Date" : "Fri, 12 Jul 2019 05:37:03 GMT", + "x-ms-request-id" : "9e6066e1-501a-0051-0991-38d167000000", + "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:9e6066e1-501a-0051-0991-38d167000000\nTime:2019-07-12T09:09:19.7052701Z", + "Date" : "Fri, 12 Jul 2019 09:09:19 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share7779697a&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share49400a7c&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -49,14 +49,14 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf1d8-b01a-0014-7f73-380cf6000000", - "Body" : "share7779697ashare7779697aFri, 12 Jul 2019 05:37:04 GMT\"0x8D7068AF8DFC305\"5120", - "Date" : "Fri, 12 Jul 2019 05:37:04 GMT", + "x-ms-request-id" : "9e6066e2-501a-0051-0a91-38d167000000", + "Body" : "share49400a7cshare49400a7cFri, 12 Jul 2019 09:09:19 GMT\"0x8D706A89F590DA0\"5120", + "Date" : "Fri, 12 Jul 2019 09:09:19 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share7779697a?restype=share", + "Uri" : "https://sima.file.core.windows.net/share49400a7c?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -67,9 +67,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf1d9-b01a-0014-8073-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:04 GMT" + "x-ms-request-id" : "9e6066e3-501a-0051-0b91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:09:19 GMT" } } ], - "variables" : [ "share7779697a" ] + "variables" : [ "share49400a7c" ] } \ 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 c9664f05e8353..2958f3cfeee49 100644 --- a/storage/client/file/src/test/resources/session-records/createSubDirectory.json +++ b/storage/client/file/src/test/resources/session-records/createSubDirectory.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory44667f?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory10744e?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADC2EEDF8\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:16 GMT", + "ETag" : "\"0x8D706A8811CDF0F\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf16f-b01a-0014-4e73-380cf6000000", + "x-ms-request-id" : "9e606665-501a-0051-4a91-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:15 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:28 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory44667f%2fdir66279ebb4?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory10744e%2fdir047156c15?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -28,15 +28,15 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADC3CFA52\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:16 GMT", + "ETag" : "\"0x8D706A88131CA76\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf170-b01a-0014-4f73-380cf6000000", + "x-ms-request-id" : "9e606666-501a-0051-4b91-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:15 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:28 GMT" } } ], - "variables" : [ "directory44667f", "dir66279ebb4" ] + "variables" : [ "directory10744e", "dir047156c15" ] } \ 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 d652d15d60896..48ffc5280cbd3 100644 --- a/storage/client/file/src/test/resources/session-records/createSubDirectoryTwiceSameMetadata.json +++ b/storage/client/file/src/test/resources/session-records/createSubDirectoryTwiceSameMetadata.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory338325?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory08750a?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADD974BBF\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:18 GMT", + "ETag" : "\"0x8D706EC775E76ED\"", + "Last-Modified" : "Fri, 12 Jul 2019 17:14:58 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf19a-b01a-0014-6a73-380cf6000000", + "x-ms-request-id" : "fa21a6a6-d01a-0062-64d5-38884a000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:18 GMT" + "Date" : "Fri, 12 Jul 2019 17:14:58 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory338325%2fdir92813486a?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory08750a%2fdir83472cc0e?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -28,15 +28,34 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADDA2E6AA\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:18 GMT", + "ETag" : "\"0x8D706EC7773FEB5\"", + "Last-Modified" : "Fri, 12 Jul 2019 17:14:58 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf19b-b01a-0014-6b73-380cf6000000", + "x-ms-request-id" : "fa21a6a8-d01a-0062-65d5-38884a000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:18 GMT" + "Date" : "Fri, 12 Jul 2019 17:14:58 GMT" + } + }, { + "Method" : "PUT", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory08750a%2fdir83472cc0e?restype=directory", + "Headers" : { + "x-ms-version" : "2018-11-09", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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-error-code" : "ResourceAlreadyExists", + "retry-after" : "0", + "Content-Length" : "228", + "StatusCode" : "409", + "x-ms-request-id" : "fa21a6a9-d01a-0062-66d5-38884a000000", + "Body" : "ResourceAlreadyExistsThe specified resource already exists.\nRequestId:fa21a6a9-d01a-0062-66d5-38884a000000\nTime:2019-07-12T17:14:58.3915589Z", + "Date" : "Fri, 12 Jul 2019 17:14:58 GMT", + "Content-Type" : "application/xml" } } ], - "variables" : [ "directory338325", "dir92813486a" ] + "variables" : [ "directory08750a", "dir83472cc0e" ] } \ 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 4fccb69c7051d..42c3b258c52f1 100644 --- a/storage/client/file/src/test/resources/session-records/createSubDirectoryWithMetadata.json +++ b/storage/client/file/src/test/resources/session-records/createSubDirectoryWithMetadata.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory66462f?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory113437?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADD7F2B73\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:18 GMT", + "ETag" : "\"0x8D706A883A895AA\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf198-b01a-0014-6873-380cf6000000", + "x-ms-request-id" : "9e606694-501a-0051-6991-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:17 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:32 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory66462f%2fdir88930aa4d?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory113437%2fdir340825422?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -28,15 +28,15 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADD8A9F38\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:18 GMT", + "ETag" : "\"0x8D706A883C1EEAB\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf199-b01a-0014-6973-380cf6000000", + "x-ms-request-id" : "9e606696-501a-0051-6a91-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:18 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:32 GMT" } } ], - "variables" : [ "directory66462f", "dir88930aa4d" ] + "variables" : [ "directory113437", "dir340825422" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createTwiceDifferentMetadata.json b/storage/client/file/src/test/resources/session-records/createTwiceDifferentMetadata.json deleted file mode 100644 index 3c69e6aa88eb2..0000000000000 --- a/storage/client/file/src/test/resources/session-records/createTwiceDifferentMetadata.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share10804912?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:43 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:15:43 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F3715720D872\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b3871c-601a-0035-765a-25617e000000" - } - }, { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share10804912?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:43 GMT", - "content-length" : "222", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareAlreadyExists", - "retry-after" : "0", - "StatusCode" : "409", - "x-ms-request-id" : "b1b3871e-601a-0035-775a-25617e000000", - "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:b1b3871e-601a-0035-775a-25617e000000\nTime:2019-06-17T22:15:43.8578674Z" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share10804912?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:43 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "b1b3871f-601a-0035-785a-25617e000000" - } - } ], - "variables" : [ "share10804912" ] -} \ 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 69fd5f7e27008..155239d95031c 100644 --- a/storage/client/file/src/test/resources/session-records/createTwiceDifferentMetadataFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createTwiceDifferentMetadataFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share0602441f?restype=share", + "Uri" : "https://sima.file.core.windows.net/share69609f7f?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ABB496A0D\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:21 GMT", + "ETag" : "\"0x8D706A85AEA87BF\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf0a9-b01a-0014-5373-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:20 GMT" + "x-ms-request-id" : "9e60657c-501a-0051-4691-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:24 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share0602441f?restype=share", + "Uri" : "https://sima.file.core.windows.net/share69609f7f?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -31,14 +31,14 @@ "retry-after" : "0", "Content-Length" : "222", "StatusCode" : "409", - "x-ms-request-id" : "250bf0ab-b01a-0014-5473-380cf6000000", - "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:250bf0ab-b01a-0014-5473-380cf6000000\nTime:2019-07-12T05:35:21.4349227Z", - "Date" : "Fri, 12 Jul 2019 05:35:20 GMT", + "x-ms-request-id" : "9e60657e-501a-0051-4791-38d167000000", + "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:9e60657e-501a-0051-4791-38d167000000\nTime:2019-07-12T09:07:24.6537054Z", + "Date" : "Fri, 12 Jul 2019 09:07:24 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share0602441f?restype=share", + "Uri" : "https://sima.file.core.windows.net/share69609f7f?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf0ac-b01a-0014-5573-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:20 GMT" + "x-ms-request-id" : "9e60657f-501a-0051-4891-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:24 GMT" } } ], - "variables" : [ "share0602441f" ] + "variables" : [ "share69609f7f" ] } \ 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 69c4d8e40f36c..3f55975aea33e 100644 --- a/storage/client/file/src/test/resources/session-records/createTwiceFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/createTwiceFromDirClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory88042e?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory788901?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADD1A3C91\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:18 GMT", + "ETag" : "\"0x8D706A882CA1AB2\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf182-b01a-0014-6073-380cf6000000", + "x-ms-request-id" : "9e60667e-501a-0051-6091-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:17 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:31 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory88042e?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory788901?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "228", "StatusCode" : "409", - "x-ms-request-id" : "250bf183-b01a-0014-6173-380cf6000000", - "Body" : "ResourceAlreadyExistsThe specified resource already exists.\nRequestId:250bf183-b01a-0014-6173-380cf6000000\nTime:2019-07-12T05:36:18.1721897Z", - "Date" : "Fri, 12 Jul 2019 05:36:17 GMT", + "x-ms-request-id" : "9e60667f-501a-0051-6191-38d167000000", + "Body" : "ResourceAlreadyExistsThe specified resource already exists.\nRequestId:9e60667f-501a-0051-6191-38d167000000\nTime:2019-07-12T09:08:31.6707972Z", + "Date" : "Fri, 12 Jul 2019 09:08:31 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "directory88042e" ] + "variables" : [ "directory788901" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createTwiceSameMetadata.json b/storage/client/file/src/test/resources/session-records/createTwiceSameMetadata.json deleted file mode 100644 index 1e38edf251ce6..0000000000000 --- a/storage/client/file/src/test/resources/session-records/createTwiceSameMetadata.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share463924f2?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:43 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:15:43 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F37156EA038A\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b38711-601a-0035-6e5a-25617e000000" - } - }, { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share463924f2?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:43 GMT", - "content-length" : "222", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareAlreadyExists", - "retry-after" : "0", - "StatusCode" : "409", - "x-ms-request-id" : "b1b38713-601a-0035-6f5a-25617e000000", - "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:b1b38713-601a-0035-6f5a-25617e000000\nTime:2019-06-17T22:15:43.4885130Z" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share463924f2?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:43 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "b1b38714-601a-0035-705a-25617e000000" - } - } ], - "variables" : [ "share463924f2" ] -} \ 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 d922cdadf145c..ca03ad56ae334 100644 --- a/storage/client/file/src/test/resources/session-records/createTwiceSameMetadataFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createTwiceSameMetadataFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share638529c8?restype=share", + "Uri" : "https://sima.file.core.windows.net/share15462439?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9D834636\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:31 GMT", + "ETag" : "\"0x8D706A83D242DA3\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf00f-b01a-0014-0b73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:30 GMT" + "x-ms-request-id" : "9e6064f3-501a-0051-7d91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:34 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share638529c8?restype=share", + "Uri" : "https://sima.file.core.windows.net/share15462439?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -31,14 +31,14 @@ "retry-after" : "0", "Content-Length" : "222", "StatusCode" : "409", - "x-ms-request-id" : "250bf011-b01a-0014-0c73-380cf6000000", - "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:250bf011-b01a-0014-0c73-380cf6000000\nTime:2019-07-12T05:34:31.4844661Z", - "Date" : "Fri, 12 Jul 2019 05:34:30 GMT", + "x-ms-request-id" : "9e6064f5-501a-0051-7e91-38d167000000", + "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:9e6064f5-501a-0051-7e91-38d167000000\nTime:2019-07-12T09:06:34.7028609Z", + "Date" : "Fri, 12 Jul 2019 09:06:34 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share638529c8?restype=share", + "Uri" : "https://sima.file.core.windows.net/share15462439?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf012-b01a-0014-0d73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:30 GMT" + "x-ms-request-id" : "9e6064f6-501a-0051-7f91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:34 GMT" } } ], - "variables" : [ "share638529c8" ] + "variables" : [ "share15462439" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/createWithMetadata.json b/storage/client/file/src/test/resources/session-records/createWithMetadata.json deleted file mode 100644 index b4ab00ce55542..0000000000000 --- a/storage/client/file/src/test/resources/session-records/createWithMetadata.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory23524a?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:16:11 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:16:11 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F371679640D0\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "6aa45195-701a-004d-5c5a-250970000000", - "x-ms-request-server-encrypted" : "true" - } - } ], - "variables" : [ "directory23524a" ] -} \ 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 134a8a3d4013b..78b5344dbb0ff 100644 --- a/storage/client/file/src/test/resources/session-records/createWithMetadataFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/createWithMetadataFromDirClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory784537?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory36152d?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,15 +9,15 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADC198D4E\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:16 GMT", + "ETag" : "\"0x8D706A881095377\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf16e-b01a-0014-4d73-380cf6000000", + "x-ms-request-id" : "9e606664-501a-0051-4991-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:15 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:28 GMT" } } ], - "variables" : [ "directory784537" ] + "variables" : [ "directory36152d" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/delete.json b/storage/client/file/src/test/resources/session-records/delete.json deleted file mode 100644 index 72a8953e27e5e..0000000000000 --- a/storage/client/file/src/test/resources/session-records/delete.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share98671521?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:56 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:14:56 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F3713B38D643\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b38681-601a-0035-195a-25617e000000" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share98671521?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:56 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "b1b38683-601a-0035-1a5a-25617e000000" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share98671521?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:56 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "b1b38684-601a-0035-1b5a-25617e000000" - } - } ], - "variables" : [ "share98671521" ] -} diff --git a/storage/client/file/src/test/resources/session-records/deleteDirectory.json b/storage/client/file/src/test/resources/session-records/deleteDirectory.json deleted file mode 100644 index 491f582506feb..0000000000000 --- a/storage/client/file/src/test/resources/session-records/deleteDirectory.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share7436583a?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:42 GMT", - "content-length" : "217", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareNotFound", - "retry-after" : "0", - "StatusCode" : "404", - "x-ms-request-id" : "b1b3870a-601a-0035-685a-25617e000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:b1b3870a-601a-0035-685a-25617e000000\nTime:2019-06-17T22:15:43.1611985Z" - } - } ], - "variables" : [ "share7436583a" ] -} \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteDirectoryDoesNotExist.json b/storage/client/file/src/test/resources/session-records/deleteDirectoryDoesNotExist.json deleted file mode 100644 index 47b32f5748133..0000000000000 --- a/storage/client/file/src/test/resources/session-records/deleteDirectoryDoesNotExist.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share28281756?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:43 GMT", - "content-length" : "217", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareNotFound", - "retry-after" : "0", - "StatusCode" : "404", - "x-ms-request-id" : "b1b38720-601a-0035-795a-25617e000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:b1b38720-601a-0035-795a-25617e000000\nTime:2019-06-17T22:15:43.9449513Z" - } - } ], - "variables" : [ "share28281756" ] -} \ 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 28914e8df77da..e2cacee01b0ad 100644 --- a/storage/client/file/src/test/resources/session-records/deleteDirectoryDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteDirectoryDoesNotExistFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share9128062c?restype=share", + "Uri" : "https://sima.file.core.windows.net/share16628111?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9C6C7394\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:29 GMT", + "ETag" : "\"0x8D706A83BFA1CD2\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250beff3-b01a-0014-7673-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:28 GMT" + "x-ms-request-id" : "9e6064d1-501a-0051-6691-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:32 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share9128062c/testshare?restype=directory", + "Uri" : "https://sima.file.core.windows.net/share16628111/testshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -31,14 +31,14 @@ "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "250beff5-b01a-0014-7773-380cf6000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:250beff5-b01a-0014-7773-380cf6000000\nTime:2019-07-12T05:34:29.6661806Z", - "Date" : "Fri, 12 Jul 2019 05:34:29 GMT", + "x-ms-request-id" : "9e6064d4-501a-0051-6791-38d167000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:9e6064d4-501a-0051-6791-38d167000000\nTime:2019-07-12T09:06:32.7564633Z", + "Date" : "Fri, 12 Jul 2019 09:06:32 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share9128062c?restype=share", + "Uri" : "https://sima.file.core.windows.net/share16628111?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250beff6-b01a-0014-7873-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:29 GMT" + "x-ms-request-id" : "9e6064d5-501a-0051-6891-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:32 GMT" } } ], - "variables" : [ "share9128062c" ] + "variables" : [ "share16628111" ] } \ 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 1fdf4d02df4dd..de5871ef4138c 100644 --- a/storage/client/file/src/test/resources/session-records/deleteDirectoryFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteDirectoryFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share39982bbf?restype=share", + "Uri" : "https://sima.file.core.windows.net/share634128da?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9A66A869\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:26 GMT", + "ETag" : "\"0x8D706A839FE3DA9\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250befc1-b01a-0014-5273-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:25 GMT" + "x-ms-request-id" : "9e606494-501a-0051-4291-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:29 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share39982bbf/testshare?restype=directory", + "Uri" : "https://sima.file.core.windows.net/share634128da/testshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -27,18 +27,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9A77030B\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:26 GMT", + "ETag" : "\"0x8D706A83A0A3035\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250befc3-b01a-0014-5373-380cf6000000", + "x-ms-request-id" : "9e606496-501a-0051-4391-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:34:25 GMT" + "Date" : "Fri, 12 Jul 2019 09:06:29 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share39982bbf/testshare?restype=directory", + "Uri" : "https://sima.file.core.windows.net/share634128da/testshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -49,12 +49,12 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250befc4-b01a-0014-5473-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:25 GMT" + "x-ms-request-id" : "9e606497-501a-0051-4491-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:29 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share39982bbf?restype=share", + "Uri" : "https://sima.file.core.windows.net/share634128da?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -65,9 +65,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250befc5-b01a-0014-5573-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:25 GMT" + "x-ms-request-id" : "9e606498-501a-0051-4591-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:29 GMT" } } ], - "variables" : [ "share39982bbf" ] + "variables" : [ "share634128da" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteDoesNotExist.json b/storage/client/file/src/test/resources/session-records/deleteDoesNotExist.json deleted file mode 100644 index 084cee1fa1ad1..0000000000000 --- a/storage/client/file/src/test/resources/session-records/deleteDoesNotExist.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share21833f2a?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:56 GMT", - "content-length" : "217", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareNotFound", - "retry-after" : "0", - "StatusCode" : "404", - "x-ms-request-id" : "b1b3867c-601a-0035-155a-25617e000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:b1b3867c-601a-0035-155a-25617e000000\nTime:2019-06-17T22:14:56.8517131Z" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share21833f2a?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:56 GMT", - "content-length" : "217", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareNotFound", - "retry-after" : "0", - "StatusCode" : "404", - "x-ms-request-id" : "b1b3867d-601a-0035-165a-25617e000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:b1b3867d-601a-0035-165a-25617e000000\nTime:2019-06-17T22:14:56.8797413Z" - } - } ], - "variables" : [ "share21833f2a" ] -} \ 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 be5eee6eccac3..893fc80141bca 100644 --- a/storage/client/file/src/test/resources/session-records/deleteDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteDoesNotExistFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share09324ad6?restype=share", + "Uri" : "https://sima.file.core.windows.net/share52935b63?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -13,14 +13,14 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250befd7-b01a-0014-6173-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250befd7-b01a-0014-6173-380cf6000000\nTime:2019-07-12T05:34:27.7217982Z", - "Date" : "Fri, 12 Jul 2019 05:34:27 GMT", + "x-ms-request-id" : "9e6064a8-501a-0051-5191-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e6064a8-501a-0051-5191-38d167000000\nTime:2019-07-12T09:06:30.8831166Z", + "Date" : "Fri, 12 Jul 2019 09:06:30 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share09324ad6?restype=share", + "Uri" : "https://sima.file.core.windows.net/share52935b63?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250befd8-b01a-0014-6273-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250befd8-b01a-0014-6273-380cf6000000\nTime:2019-07-12T05:34:27.7968514Z", - "Date" : "Fri, 12 Jul 2019 05:34:27 GMT", + "x-ms-request-id" : "9e6064a9-501a-0051-5291-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e6064a9-501a-0051-5291-38d167000000\nTime:2019-07-12T09:06:30.9561698Z", + "Date" : "Fri, 12 Jul 2019 09:06:30 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share09324ad6" ] + "variables" : [ "share52935b63" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteFile.json b/storage/client/file/src/test/resources/session-records/deleteFile.json deleted file mode 100644 index 27ea43a4244af..0000000000000 --- a/storage/client/file/src/test/resources/session-records/deleteFile.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "networkCallRecords" : [ ], - "variables" : [ "directory312736" ] -} \ 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 9064096b4feb3..1d759f4fea09e 100644 --- a/storage/client/file/src/test/resources/session-records/deleteFileFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteFileFromDirClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory880763?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory90950f?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADDD5E6E7\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:19 GMT", + "ETag" : "\"0x8D706A8844D5865\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf1a0-b01a-0014-6f73-380cf6000000", + "x-ms-request-id" : "9e60669d-501a-0051-7091-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:18 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:33 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory880763%2ftestfile", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory90950f%2ftestfile", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -28,18 +28,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADDE13392\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:19 GMT", + "ETag" : "\"0x8D706A88458F343\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf1a3-b01a-0014-7073-380cf6000000", + "x-ms-request-id" : "9e60669e-501a-0051-7191-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:18 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:33 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory880763%2ftestfile", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory90950f%2ftestfile", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -50,9 +50,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf1a4-b01a-0014-7173-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:36:18 GMT" + "x-ms-request-id" : "9e60669f-501a-0051-7291-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:08:33 GMT" } } ], - "variables" : [ "directory880763" ] + "variables" : [ "directory90950f" ] } \ 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 a6b78a66b3652..bd814824b6581 100644 --- a/storage/client/file/src/test/resources/session-records/deleteFileWithoutCreateFileFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteFileWithoutCreateFileFromDirClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory814540?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory939724?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADD024363\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:17 GMT", + "ETag" : "\"0x8D706A8828E6645\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf180-b01a-0014-5e73-380cf6000000", + "x-ms-request-id" : "9e606677-501a-0051-5b91-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:17 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:30 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory814540%2ftestfile", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory939724%2ftestfile", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "250bf181-b01a-0014-5f73-380cf6000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:250bf181-b01a-0014-5f73-380cf6000000\nTime:2019-07-12T05:36:18.0160782Z", - "Date" : "Fri, 12 Jul 2019 05:36:17 GMT", + "x-ms-request-id" : "9e60667b-501a-0051-5e91-38d167000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:9e60667b-501a-0051-5e91-38d167000000\nTime:2019-07-12T09:08:31.2595011Z", + "Date" : "Fri, 12 Jul 2019 09:08:30 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "directory814540" ] + "variables" : [ "directory939724" ] } \ 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 43313cf33bfe4..f484363368f91 100644 --- a/storage/client/file/src/test/resources/session-records/deleteFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteFromDirClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory526195?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory98503d?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADCE8C338\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:17 GMT", + "ETag" : "\"0x8D706A882666489\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf17e-b01a-0014-5c73-380cf6000000", + "x-ms-request-id" : "9e606675-501a-0051-5991-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:17 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:30 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory526195?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory98503d?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -31,9 +31,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf17f-b01a-0014-5d73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:36:17 GMT" + "x-ms-request-id" : "9e606676-501a-0051-5a91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:08:30 GMT" } } ], - "variables" : [ "directory526195" ] + "variables" : [ "directory98503d" ] } \ 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 a5c891016c0d6..d92d04af66274 100644 --- a/storage/client/file/src/test/resources/session-records/deleteFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteFromFileClient.json @@ -1,4 +1,39 @@ { - "networkCallRecords" : [ ], - "variables" : [ "file89238745" ] + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile12665a84", + "Headers" : { + "x-ms-version" : "2018-11-09", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D706A7FF2B66EA\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:04:50 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "15d5b030-801a-0094-0f90-38af5c000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Fri, 12 Jul 2019 09:04:50 GMT" + } + }, { + "Method" : "DELETE", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile12665a84", + "Headers" : { + "x-ms-version" : "2018-11-09", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "202", + "x-ms-request-id" : "15d5b031-801a-0094-1090-38af5c000000", + "Date" : "Fri, 12 Jul 2019 09:04:50 GMT" + } + } ], + "variables" : [ "file12665a84" ] } \ 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 8f943ee3d28b2..f6cf4f01a974f 100644 --- a/storage/client/file/src/test/resources/session-records/deleteFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share53745cd7?restype=share", + "Uri" : "https://sima.file.core.windows.net/share34412133?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068AB9F3ADF9\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:19 GMT", + "ETag" : "\"0x8D706A8598FC106\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:22 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf080-b01a-0014-3973-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:18 GMT" + "x-ms-request-id" : "9e606558-501a-0051-2c91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:21 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share53745cd7?restype=share", + "Uri" : "https://sima.file.core.windows.net/share34412133?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -30,12 +30,12 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf083-b01a-0014-3a73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:18 GMT" + "x-ms-request-id" : "9e60655a-501a-0051-2d91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:22 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share53745cd7?restype=share", + "Uri" : "https://sima.file.core.windows.net/share34412133?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -47,11 +47,11 @@ "retry-after" : "0", "Content-Length" : "244", "StatusCode" : "409", - "x-ms-request-id" : "250bf084-b01a-0014-3b73-380cf6000000", - "Body" : "ShareBeingDeletedThe specified share is being deleted. Try operation later.\nRequestId:250bf084-b01a-0014-3b73-380cf6000000\nTime:2019-07-12T05:35:19.3194181Z", - "Date" : "Fri, 12 Jul 2019 05:35:18 GMT", + "x-ms-request-id" : "9e60655b-501a-0051-2e91-38d167000000", + "Body" : "ShareBeingDeletedThe specified share is being deleted. Try operation later.\nRequestId:9e60655b-501a-0051-2e91-38d167000000\nTime:2019-07-12T09:07:22.4581277Z", + "Date" : "Fri, 12 Jul 2019 09:07:22 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share53745cd7" ] + "variables" : [ "share34412133" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteNotExist.json b/storage/client/file/src/test/resources/session-records/deleteNotExist.json deleted file mode 100644 index 802e079de1291..0000000000000 --- a/storage/client/file/src/test/resources/session-records/deleteNotExist.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory39859d?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:16:10 GMT", - "content-length" : "223", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ResourceNotFound", - "retry-after" : "0", - "StatusCode" : "404", - "x-ms-request-id" : "11fa2e32-301a-00a4-155a-25f576000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:11fa2e32-301a-00a4-155a-25f576000000\nTime:2019-06-17T22:16:10.7379883Z" - } - } ], - "variables" : [ "directory39859d" ] -} \ 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 099af63dd8a24..81bcbc4432a2f 100644 --- a/storage/client/file/src/test/resources/session-records/deleteNotExistFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteNotExistFromDirClient.json @@ -1,4 +1,23 @@ { - "networkCallRecords" : [ ], - "variables" : [ "directory664986" ] + "networkCallRecords" : [ { + "Method" : "DELETE", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory411001?restype=directory", + "Headers" : { + "x-ms-version" : "2018-11-09", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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-error-code" : "ResourceNotFound", + "retry-after" : "0", + "Content-Length" : "223", + "StatusCode" : "404", + "x-ms-request-id" : "84fdcdc1-d01a-002d-71d6-384c52000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:84fdcdc1-d01a-002d-71d6-384c52000000\nTime:2019-07-12T17:19:59.7736157Z", + "Date" : "Fri, 12 Jul 2019 17:19:58 GMT", + "Content-Type" : "application/xml" + } + } ], + "variables" : [ "directory411001" ] } \ 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 e24ba2ab1f435..87e6afb8c2afe 100644 --- a/storage/client/file/src/test/resources/session-records/deleteShare.json +++ b/storage/client/file/src/test/resources/session-records/deleteShare.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share77342182?restype=share", + "Uri" : "https://sima.file.core.windows.net/share3465874a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B14B8A84D\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:51 GMT", + "ETag" : "\"0x8D706A8BBCF032C\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:07 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf235-b01a-0014-1e73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:50 GMT" + "x-ms-request-id" : "9e606750-501a-0051-3591-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:06 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share77342182?restype=share", + "Uri" : "https://sima.file.core.windows.net/share3465874a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -30,12 +30,12 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf237-b01a-0014-1f73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:50 GMT" + "x-ms-request-id" : "9e606752-501a-0051-3691-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:06 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share77342182&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share3465874a&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -46,11 +46,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf238-b01a-0014-2073-380cf6000000", - "Body" : "share77342182", - "Date" : "Fri, 12 Jul 2019 05:37:50 GMT", + "x-ms-request-id" : "9e606754-501a-0051-3891-38d167000000", + "Body" : "share3465874a", + "Date" : "Fri, 12 Jul 2019 09:10:06 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share77342182" ] + "variables" : [ "share3465874a" ] } \ 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 1c309ef98b8db..5a15724d6d465 100644 --- a/storage/client/file/src/test/resources/session-records/deleteShareDoesNotExist.json +++ b/storage/client/file/src/test/resources/session-records/deleteShareDoesNotExist.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share63764eb2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share16381198?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -13,14 +13,14 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250bf250-b01a-0014-3373-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250bf250-b01a-0014-3373-380cf6000000\nTime:2019-07-12T05:37:53.1273470Z", - "Date" : "Fri, 12 Jul 2019 05:37:52 GMT", + "x-ms-request-id" : "9e606771-501a-0051-4f91-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e606771-501a-0051-4f91-38d167000000\nTime:2019-07-12T09:10:10.6578354Z", + "Date" : "Fri, 12 Jul 2019 09:10:10 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share63764eb2&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share16381198&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -31,11 +31,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf251-b01a-0014-3473-380cf6000000", - "Body" : "share63764eb2", - "Date" : "Fri, 12 Jul 2019 05:37:52 GMT", + "x-ms-request-id" : "9e606772-501a-0051-5091-38d167000000", + "Body" : "share16381198", + "Date" : "Fri, 12 Jul 2019 09:10:10 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share63764eb2" ] + "variables" : [ "share16381198" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteSnapshot.json b/storage/client/file/src/test/resources/session-records/deleteSnapshot.json deleted file mode 100644 index 0a49689cf0ad4..0000000000000 --- a/storage/client/file/src/test/resources/session-records/deleteSnapshot.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share02030b48?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:56 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:14:56 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F3713AE6352B\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b3866d-601a-0035-095a-25617e000000" - } - }, { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share02030b48?restype=share&comp=snapshot", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:56 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:14:56 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-06-17T22:14:56.0000000Z", - "etag" : "\"0x8D6F3713AE6352B\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b3866f-601a-0035-0a5a-25617e000000" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share02030b48?sharesnapshot=2019-06-17T22%3a14%3a56.0000000Z&restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:56 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "b1b38670-601a-0035-0b5a-25617e000000" - } - }, { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share02030b48?restype=share&comp=snapshot", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:56 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:14:56 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-06-17T22:14:56.0000000Z", - "etag" : "\"0x8D6F3713AE6352B\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b38671-601a-0035-0c5a-25617e000000" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share02030b48?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:56 GMT", - "content-length" : "250", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareHasSnapshots", - "retry-after" : "0", - "StatusCode" : "409", - "x-ms-request-id" : "b1b38672-601a-0035-0d5a-25617e000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:b1b38672-601a-0035-0d5a-25617e000000\nTime:2019-06-17T22:14:56.5784518Z" - } - } ], - "variables" : [ "share02030b48" ] -} \ 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 b75caa027dc75..c35539d699ee3 100644 --- a/storage/client/file/src/test/resources/session-records/deleteSnapshotFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteSnapshotFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share891073b6?restype=share", + "Uri" : "https://sima.file.core.windows.net/share44989ff7?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,36 +9,36 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9BC78A11\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:28 GMT", + "ETag" : "\"0x8D706A83B5DE721\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250befe3-b01a-0014-6a73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:27 GMT" + "x-ms-request-id" : "9e6064b6-501a-0051-5a91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:31 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share891073b6?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share44989ff7?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-12T05:34:28.0000000Z", + "x-ms-snapshot" : "2019-07-12T09:06:31.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9BC78A11\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:28 GMT", + "ETag" : "\"0x8D706A83B5DE721\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250befe5-b01a-0014-6b73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:27 GMT" + "x-ms-request-id" : "9e6064c4-501a-0051-5b91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:31 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share891073b6?sharesnapshot=2019-07-12T05%3a34%3a28.0000000Z&restype=share", + "Uri" : "https://sima.file.core.windows.net/share44989ff7?sharesnapshot=2019-07-12T09%3a06%3a31.0000000Z&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -49,31 +49,31 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250befe6-b01a-0014-6c73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:28 GMT" + "x-ms-request-id" : "9e6064c5-501a-0051-5c91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:31 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share891073b6?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share44989ff7?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-12T05:34:28.0000000Z", + "x-ms-snapshot" : "2019-07-12T09:06:31.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9BC78A11\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:28 GMT", + "ETag" : "\"0x8D706A83B5DE721\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250befe7-b01a-0014-6d73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:28 GMT" + "x-ms-request-id" : "9e6064c6-501a-0051-5d91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:31 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share891073b6?restype=share", + "Uri" : "https://sima.file.core.windows.net/share44989ff7?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -85,11 +85,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "250befe8-b01a-0014-6e73-380cf6000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:250befe8-b01a-0014-6e73-380cf6000000\nTime:2019-07-12T05:34:28.8596068Z", - "Date" : "Fri, 12 Jul 2019 05:34:28 GMT", + "x-ms-request-id" : "9e6064c7-501a-0051-5e91-38d167000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:9e6064c7-501a-0051-5e91-38d167000000\nTime:2019-07-12T09:06:31.9648940Z", + "Date" : "Fri, 12 Jul 2019 09:06:31 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share891073b6" ] + "variables" : [ "share44989ff7" ] } \ 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 bac0a6013903f..4f0079c91279b 100644 --- a/storage/client/file/src/test/resources/session-records/deleteSubDirectory.json +++ b/storage/client/file/src/test/resources/session-records/deleteSubDirectory.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory266542?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory485018?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068CB7B57229\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:49:34 GMT", + "ETag" : "\"0x8D706A8821D191C\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "d0c1b97f-701a-006f-5975-386746000000", + "x-ms-request-id" : "9e606671-501a-0051-5591-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:49:33 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:29 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory266542%2fdir37249c7be?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory485018%2fdir15408bfac?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -28,18 +28,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068CB7C79DF3\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:49:34 GMT", + "ETag" : "\"0x8D706A88231DD60\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "d0c1b981-701a-006f-5a75-386746000000", + "x-ms-request-id" : "9e606673-501a-0051-5791-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:49:33 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:30 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory266542%2fdir37249c7be?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory485018%2fdir15408bfac?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -50,9 +50,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "d0c1b986-701a-006f-5b75-386746000000", - "Date" : "Fri, 12 Jul 2019 05:49:36 GMT" + "x-ms-request-id" : "9e606674-501a-0051-5891-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:08:30 GMT" } } ], - "variables" : [ "directory266542", "dir37249c7be" ] + "variables" : [ "directory485018", "dir15408bfac" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteThenCreate.json b/storage/client/file/src/test/resources/session-records/deleteThenCreate.json deleted file mode 100644 index e54617118fced..0000000000000 --- a/storage/client/file/src/test/resources/session-records/deleteThenCreate.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share12147164?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:56 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:14:57 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F3713B72B92F\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b38690-601a-0035-245a-25617e000000" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share12147164?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:57 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "b1b38692-601a-0035-255a-25617e000000" - } - }, { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share12147164?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:42 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:15:42 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F37156514781\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b386f6-601a-0035-5b5a-25617e000000" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share12147164?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:42 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "b1b386f9-601a-0035-5c5a-25617e000000" - } - } ], - "variables" : [ "share12147164" ] -} \ 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 1a6ebb0cb6aa6..60afd208c35b0 100644 --- a/storage/client/file/src/test/resources/session-records/deleteThenCreateFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteThenCreateFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share57892acd?restype=share", + "Uri" : "https://sima.file.core.windows.net/share62556d3e?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9DD1C29E\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:31 GMT", + "ETag" : "\"0x8D706A83D6F271B\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:35 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf017-b01a-0014-1173-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:31 GMT" + "x-ms-request-id" : "9e6064fb-501a-0051-0391-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:34 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share57892acd?restype=share", + "Uri" : "https://sima.file.core.windows.net/share62556d3e?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -30,12 +30,12 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf019-b01a-0014-1273-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:31 GMT" + "x-ms-request-id" : "9e6064fd-501a-0051-0491-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:34 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share57892acd?restype=share", + "Uri" : "https://sima.file.core.windows.net/share62556d3e?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -43,17 +43,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068AB8BC2E09\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:17 GMT", + "ETag" : "\"0x8D706A85858B5D0\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:20 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf050-b01a-0014-2073-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:16 GMT" + "x-ms-request-id" : "9e606536-501a-0051-1591-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:19 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share57892acd?restype=share", + "Uri" : "https://sima.file.core.windows.net/share62556d3e?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -64,9 +64,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf053-b01a-0014-2173-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:16 GMT" + "x-ms-request-id" : "9e606539-501a-0051-1691-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:20 GMT" } } ], - "variables" : [ "share57892acd" ] + "variables" : [ "share62556d3e" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteThenCreateShare.json b/storage/client/file/src/test/resources/session-records/deleteThenCreateShare.json deleted file mode 100644 index ca4d62bfa7c68..0000000000000 --- a/storage/client/file/src/test/resources/session-records/deleteThenCreateShare.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share582285a3?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:13:18 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:13:18 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F371007BA811\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b38482-601a-0035-4159-25617e000000" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share582285a3?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:13:18 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "b1b38484-601a-0035-4259-25617e000000" - } - }, { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share582285a3?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:03 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:14:03 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F3711B5C0BA3\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b384e8-601a-0035-7959-25617e000000" - } - }, { - "Method" : "GET", - "Uri" : "https://alzimmerstorage.file.core.windows.net?prefix=share582285a3&include=&comp=list", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:03 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "transfer-encoding" : "chunked", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-request-id" : "b1b384eb-601a-0035-7a59-25617e000000", - "Body" : "share582285a3share582285a3Mon, 17 Jun 2019 22:14:03 GMT\"0x8D6F3711B5C0BA3\"5120" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share582285a3?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:03 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "b1b384ec-601a-0035-7b59-25617e000000" - } - } ], - "variables" : [ "share582285a3" ] -} \ 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 7c311685ce49e..20a864eb4d013 100644 --- a/storage/client/file/src/test/resources/session-records/deleteThenCreateShareFromFileServiceClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteThenCreateShareFromFileServiceClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share21437309?restype=share", + "Uri" : "https://sima.file.core.windows.net/share56812c75?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068AF91C13A1\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:05 GMT", + "ETag" : "\"0x8D706A89FBB3CE5\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:09:20 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf1da-b01a-0014-0173-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:04 GMT" + "x-ms-request-id" : "9e6066e4-501a-0051-0c91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:09:19 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share21437309?restype=share", + "Uri" : "https://sima.file.core.windows.net/share56812c75?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -30,12 +30,12 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf1dd-b01a-0014-0273-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:04 GMT" + "x-ms-request-id" : "9e6066e6-501a-0051-0d91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:09:19 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share21437309?restype=share", + "Uri" : "https://sima.file.core.windows.net/share56812c75?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -43,17 +43,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B14060101\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:50 GMT", + "ETag" : "\"0x8D706A8BAA89CC7\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:05 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf21d-b01a-0014-0d73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:49 GMT" + "x-ms-request-id" : "9e606737-501a-0051-2591-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:04 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share21437309&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share56812c75&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -64,14 +64,14 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf221-b01a-0014-0e73-380cf6000000", - "Body" : "share21437309share21437309Fri, 12 Jul 2019 05:37:50 GMT\"0x8D7068B14060101\"5120", - "Date" : "Fri, 12 Jul 2019 05:37:49 GMT", + "x-ms-request-id" : "9e60673a-501a-0051-2691-38d167000000", + "Body" : "share56812c75share56812c75Fri, 12 Jul 2019 09:10:05 GMT\"0x8D706A8BAA89CC7\"5120", + "Date" : "Fri, 12 Jul 2019 09:10:04 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share21437309?restype=share", + "Uri" : "https://sima.file.core.windows.net/share56812c75?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -82,9 +82,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf222-b01a-0014-0f73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:49 GMT" + "x-ms-request-id" : "9e60673b-501a-0051-2791-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:04 GMT" } } ], - "variables" : [ "share21437309" ] + "variables" : [ "share56812c75" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteThenCreateShareTooSoon.json b/storage/client/file/src/test/resources/session-records/deleteThenCreateShareTooSoon.json deleted file mode 100644 index 3204fc7813b71..0000000000000 --- a/storage/client/file/src/test/resources/session-records/deleteThenCreateShareTooSoon.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share070634f6?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:13:16 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:13:16 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F370FF32F8D9\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b3844a-601a-0035-1659-25617e000000" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share070634f6?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:13:16 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "b1b3844c-601a-0035-1759-25617e000000" - } - }, { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share070634f6?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:13:16 GMT", - "content-length" : "244", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareBeingDeleted", - "retry-after" : "0", - "StatusCode" : "409", - "x-ms-request-id" : "b1b3844d-601a-0035-1859-25617e000000", - "Body" : "ShareBeingDeletedThe specified share is being deleted. Try operation later.\nRequestId:b1b3844d-601a-0035-1859-25617e000000\nTime:2019-06-17T22:13:16.3711927Z" - } - }, { - "Method" : "GET", - "Uri" : "https://alzimmerstorage.file.core.windows.net?prefix=share070634f6&include=&comp=list", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:13:16 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "transfer-encoding" : "chunked", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-request-id" : "b1b3844e-601a-0035-1959-25617e000000", - "Body" : "share070634f6" - } - } ], - "variables" : [ "share070634f6" ] -} \ 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 63a3307e77cd9..45a4f0380cceb 100644 --- a/storage/client/file/src/test/resources/session-records/deleteThenCreateShareTooSoonFromFileServiceClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteThenCreateShareTooSoonFromFileServiceClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share77936454?restype=share", + "Uri" : "https://sima.file.core.windows.net/share46499a78?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B15D680DC\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:53 GMT", + "ETag" : "\"0x8D706A8BE120AA4\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:10 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf252-b01a-0014-3573-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:52 GMT" + "x-ms-request-id" : "9e606773-501a-0051-5191-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:10 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share77936454?restype=share", + "Uri" : "https://sima.file.core.windows.net/share46499a78?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -30,12 +30,12 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf254-b01a-0014-3673-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:52 GMT" + "x-ms-request-id" : "9e606775-501a-0051-5291-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:10 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share77936454?restype=share", + "Uri" : "https://sima.file.core.windows.net/share46499a78?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -47,14 +47,14 @@ "retry-after" : "0", "Content-Length" : "244", "StatusCode" : "409", - "x-ms-request-id" : "250bf255-b01a-0014-3773-380cf6000000", - "Body" : "ShareBeingDeletedThe specified share is being deleted. Try operation later.\nRequestId:250bf255-b01a-0014-3773-380cf6000000\nTime:2019-07-12T05:37:53.4395670Z", - "Date" : "Fri, 12 Jul 2019 05:37:52 GMT", + "x-ms-request-id" : "9e606776-501a-0051-5391-38d167000000", + "Body" : "ShareBeingDeletedThe specified share is being deleted. Try operation later.\nRequestId:9e606776-501a-0051-5391-38d167000000\nTime:2019-07-12T09:10:11.0971507Z", + "Date" : "Fri, 12 Jul 2019 09:10:10 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share77936454&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share46499a78&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -65,11 +65,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf256-b01a-0014-3873-380cf6000000", - "Body" : "share77936454", - "Date" : "Fri, 12 Jul 2019 05:37:52 GMT", + "x-ms-request-id" : "9e606777-501a-0051-5491-38d167000000", + "Body" : "share46499a78", + "Date" : "Fri, 12 Jul 2019 09:10:10 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share77936454" ] + "variables" : [ "share46499a78" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/deleteThenCreateTooSoon.json b/storage/client/file/src/test/resources/session-records/deleteThenCreateTooSoon.json deleted file mode 100644 index c923475e3ab96..0000000000000 --- a/storage/client/file/src/test/resources/session-records/deleteThenCreateTooSoon.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share42436564?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:55 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:14:56 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F3713AC1B43B\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b38665-601a-0035-025a-25617e000000" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share42436564?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:55 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "b1b38667-601a-0035-035a-25617e000000" - } - }, { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share42436564?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:55 GMT", - "content-length" : "244", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareBeingDeleted", - "retry-after" : "0", - "StatusCode" : "409", - "x-ms-request-id" : "b1b38668-601a-0035-045a-25617e000000", - "Body" : "ShareBeingDeletedThe specified share is being deleted. Try operation later.\nRequestId:b1b38668-601a-0035-045a-25617e000000\nTime:2019-06-17T22:14:56.2791642Z" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share42436564?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:55 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "b1b38669-601a-0035-055a-25617e000000" - } - } ], - "variables" : [ "share42436564" ] -} \ 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 a4bd468038f83..84a88e026ac12 100644 --- a/storage/client/file/src/test/resources/session-records/deleteThenCreateTooSoonFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteThenCreateTooSoonFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share77419f12?restype=share", + "Uri" : "https://sima.file.core.windows.net/share65493e6a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9B1382A1\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:27 GMT", + "ETag" : "\"0x8D706A83AB68BDA\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250befd1-b01a-0014-5d73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:26 GMT" + "x-ms-request-id" : "9e6064a3-501a-0051-4d91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:30 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share77419f12?restype=share", + "Uri" : "https://sima.file.core.windows.net/share65493e6a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -30,12 +30,12 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250befd4-b01a-0014-5e73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:26 GMT" + "x-ms-request-id" : "9e6064a5-501a-0051-4e91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:30 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share77419f12?restype=share", + "Uri" : "https://sima.file.core.windows.net/share65493e6a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -47,14 +47,14 @@ "retry-after" : "0", "Content-Length" : "244", "StatusCode" : "409", - "x-ms-request-id" : "250befd5-b01a-0014-5f73-380cf6000000", - "Body" : "ShareBeingDeletedThe specified share is being deleted. Try operation later.\nRequestId:250befd5-b01a-0014-5f73-380cf6000000\nTime:2019-07-12T05:34:27.5306622Z", - "Date" : "Fri, 12 Jul 2019 05:34:26 GMT", + "x-ms-request-id" : "9e6064a6-501a-0051-4f91-38d167000000", + "Body" : "ShareBeingDeletedThe specified share is being deleted. Try operation later.\nRequestId:9e6064a6-501a-0051-4f91-38d167000000\nTime:2019-07-12T09:06:30.7260062Z", + "Date" : "Fri, 12 Jul 2019 09:06:30 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share77419f12?restype=share", + "Uri" : "https://sima.file.core.windows.net/share65493e6a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -66,11 +66,11 @@ "retry-after" : "0", "Content-Length" : "244", "StatusCode" : "409", - "x-ms-request-id" : "250befd6-b01a-0014-6073-380cf6000000", - "Body" : "ShareBeingDeletedThe specified share is being deleted. Try operation later.\nRequestId:250befd6-b01a-0014-6073-380cf6000000\nTime:2019-07-12T05:34:27.6037152Z", - "Date" : "Fri, 12 Jul 2019 05:34:26 GMT", + "x-ms-request-id" : "9e6064a7-501a-0051-5091-38d167000000", + "Body" : "ShareBeingDeletedThe specified share is being deleted. Try operation later.\nRequestId:9e6064a7-501a-0051-5091-38d167000000\nTime:2019-07-12T09:06:30.7970566Z", + "Date" : "Fri, 12 Jul 2019 09:06:30 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share77419f12" ] + "variables" : [ "share65493e6a" ] } \ 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 9b4a41a69e566..00bacd18511f8 100644 --- a/storage/client/file/src/test/resources/session-records/downloadWithProperties.json +++ b/storage/client/file/src/test/resources/session-records/downloadWithProperties.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile32838635", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile51588cc1", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A610F64EA\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:49 GMT", + "ETag" : "\"0x8D706A80040B39B\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:04:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bef04-b01a-0014-0273-380cf6000000", + "x-ms-request-id" : "9e6063d1-501a-0051-6890-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:32:49 GMT" + "Date" : "Fri, 12 Jul 2019 09:04:52 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile32838635", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile51588cc1", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -28,19 +28,19 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:49 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 09:04:52 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 12 Jul 2019 05:32:49 GMT", + "Date" : "Fri, 12 Jul 2019 09:04:52 GMT", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "\"0x8D7068A610F64EA\"", + "ETag" : "\"0x8D706A80040B39B\"", "Content-Length" : "1024", - "x-ms-request-id" : "250bef05-b01a-0014-0373-380cf6000000", + "x-ms-request-id" : "9e6063d2-501a-0051-6990-38d167000000", "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" : [ "file32838635" ] + "variables" : [ "file51588cc1" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/forceCloseHandles.json b/storage/client/file/src/test/resources/session-records/forceCloseHandles.json deleted file mode 100644 index 8d8d887b78078..0000000000000 --- a/storage/client/file/src/test/resources/session-records/forceCloseHandles.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagefiletests/testdir%2ffile86765afb", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D6F5A661239564\"", - "Last-Modified" : "Thu, 20 Jun 2019 17:40:26 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "bffe8ad9-001a-0060-6d8f-278ab0000000", - "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 20 Jun 2019 17:40:25 GMT" - } - }, { - "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/storagefiletests/testdir%2ffile86765afb?maxresults=10&comp=listhandles", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-request-id" : "e1371b29-201a-0038-3f8f-278ecb000000", - "Body" : "10", - "Date" : "Thu, 20 Jun 2019 17:40:26 GMT", - "Content-Type" : "application/xml" - } - } ], - "variables" : [ "file86765afb" ] -} 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 25837515975e2..b87adcb4a5115 100644 --- a/storage/client/file/src/test/resources/session-records/forceCloseHandlesFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/forceCloseHandlesFromDirClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory50504c?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory294623?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,15 +9,33 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADD7257D7\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:18 GMT", + "ETag" : "\"0x8D706E65D290B17\"", + "Last-Modified" : "Fri, 12 Jul 2019 16:31:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf197-b01a-0014-6773-380cf6000000", + "x-ms-request-id" : "1d178ba3-901a-0080-4ecf-386c38000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:17 GMT" + "Date" : "Fri, 12 Jul 2019 16:31:16 GMT" + } + }, { + "Method" : "GET", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory294623?comp=listhandles", + "Headers" : { + "x-ms-version" : "2018-11-09", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "1d178ba5-901a-0080-4fcf-386c38000000", + "Body" : "", + "Date" : "Fri, 12 Jul 2019 16:31:16 GMT", + "Content-Type" : "application/xml" } } ], - "variables" : [ "directory50504c" ] + "variables" : [ "directory294623" ] } \ 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 c85bb8c9dc528..fe9c1bdf1330e 100644 --- a/storage/client/file/src/test/resources/session-records/forceCloseHandlesFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/forceCloseHandlesFromFileClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile41381754", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile023655d9", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,15 +9,33 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A608ADA4A\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:49 GMT", + "ETag" : "\"0x8D706E30A685048\"", + "Last-Modified" : "Fri, 12 Jul 2019 16:07:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "e6cd142c-d01a-000f-2873-382264000000", + "x-ms-request-id" : "69a08f53-e01a-0043-7fcb-38e57b000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:32:48 GMT" + "Date" : "Fri, 12 Jul 2019 16:07:28 GMT" + } + }, { + "Method" : "GET", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile023655d9?maxresults=10&comp=listhandles", + "Headers" : { + "x-ms-version" : "2018-11-09", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-request-id" : "69a08f55-e01a-0043-80cb-38e57b000000", + "Body" : "10", + "Date" : "Fri, 12 Jul 2019 16:07:29 GMT", + "Content-Type" : "application/xml" } } ], - "variables" : [ "file41381754" ] + "variables" : [ "file023655d9" ] } \ 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 b23336bd3fade..024bf85ba044a 100644 --- a/storage/client/file/src/test/resources/session-records/getDirectoryDoesNotCreateADirectory.json +++ b/storage/client/file/src/test/resources/session-records/getDirectoryDoesNotCreateADirectory.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share50633274?restype=share", + "Uri" : "https://sima.file.core.windows.net/share2449155d?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068AB944B08B\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:17 GMT", + "ETag" : "\"0x8D706A858DF639B\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:21 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf061-b01a-0014-2c73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:17 GMT" + "x-ms-request-id" : "9e606545-501a-0051-1f91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:20 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share50633274/testshare?restype=directory", + "Uri" : "https://sima.file.core.windows.net/share2449155d/testshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -31,14 +31,14 @@ "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "250bf063-b01a-0014-2d73-380cf6000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:250bf063-b01a-0014-2d73-380cf6000000\nTime:2019-07-12T05:35:18.0555195Z", - "Date" : "Fri, 12 Jul 2019 05:35:17 GMT", + "x-ms-request-id" : "9e606547-501a-0051-2091-38d167000000", + "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:9e606547-501a-0051-2091-38d167000000\nTime:2019-07-12T09:07:21.2342540Z", + "Date" : "Fri, 12 Jul 2019 09:07:20 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share50633274?restype=share", + "Uri" : "https://sima.file.core.windows.net/share2449155d?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf064-b01a-0014-2e73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:17 GMT" + "x-ms-request-id" : "9e606548-501a-0051-2191-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:20 GMT" } } ], - "variables" : [ "share50633274" ] + "variables" : [ "share2449155d" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getFileClient.json b/storage/client/file/src/test/resources/session-records/getFileClient.json deleted file mode 100644 index 1a49b7f213d0d..0000000000000 --- a/storage/client/file/src/test/resources/session-records/getFileClient.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "networkCallRecords" : [ ], - "variables" : [ "directory297610", "getfilesync47381" ] -} \ 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 ac2c2ad5d2ce0..753641c6e48d7 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" : [ "directory883207", "f207cc5e62af470a" ] + "variables" : [ "directory94019d", "f6b83bc461a74a91" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getHandles.json b/storage/client/file/src/test/resources/session-records/getHandles.json deleted file mode 100644 index a4d97f9eb4bfa..0000000000000 --- a/storage/client/file/src/test/resources/session-records/getHandles.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "networkCallRecords" : [ ], - "variables" : [ "directory308695" ] -} \ 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 7ec6405dda1e9..0527167ba0502 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" : [ "directory31271d" ] + "variables" : [ "directory482839" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getMetadata.json b/storage/client/file/src/test/resources/session-records/getMetadata.json deleted file mode 100644 index afd674ff88d6e..0000000000000 --- a/storage/client/file/src/test/resources/session-records/getMetadata.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share34771840?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:44 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:15:45 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F37157F5E933\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b3874d-601a-0035-1a5a-25617e000000" - } - }, { - "Method" : "GET", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share34771840?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:44 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-meta-test" : "metadata", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-has-legal-hold" : "false", - "last-modified" : "Mon, 17 Jun 2019 22:15:45 GMT", - "x-ms-share-quota" : "2", - "x-ms-has-immutability-policy" : "false", - "etag" : "\"0x8D6F37157F5E933\"", - "x-ms-request-id" : "b1b3874f-601a-0035-1b5a-25617e000000" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share34771840?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:44 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "b1b38750-601a-0035-1c5a-25617e000000" - } - } ], - "variables" : [ "share34771840" ] -} \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getMetadataDoesNotExist.json b/storage/client/file/src/test/resources/session-records/getMetadataDoesNotExist.json deleted file mode 100644 index f886dcbce4135..0000000000000 --- a/storage/client/file/src/test/resources/session-records/getMetadataDoesNotExist.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share72773b93?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:42 GMT", - "content-length" : "217", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareNotFound", - "retry-after" : "0", - "StatusCode" : "404", - "x-ms-request-id" : "b1b38707-601a-0035-665a-25617e000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:b1b38707-601a-0035-665a-25617e000000\nTime:2019-06-17T22:15:42.9339809Z" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share72773b93?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:42 GMT", - "content-length" : "217", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareNotFound", - "retry-after" : "0", - "StatusCode" : "404", - "x-ms-request-id" : "b1b38709-601a-0035-675a-25617e000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:b1b38709-601a-0035-675a-25617e000000\nTime:2019-06-17T22:15:43.1031432Z" - } - } ], - "variables" : [ "share72773b93" ] -} \ 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 e76092a4ccb8c..a044a4826d240 100644 --- a/storage/client/file/src/test/resources/session-records/getMetadataDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getMetadataDoesNotExistFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share69309654?restype=share", + "Uri" : "https://sima.file.core.windows.net/share79755af8?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -13,14 +13,14 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250befce-b01a-0014-5b73-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250befce-b01a-0014-5b73-380cf6000000\nTime:2019-07-12T05:34:27.1213715Z", - "Date" : "Fri, 12 Jul 2019 05:34:26 GMT", + "x-ms-request-id" : "9e6064a0-501a-0051-4b91-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e6064a0-501a-0051-4b91-38d167000000\nTime:2019-07-12T09:06:30.3137082Z", + "Date" : "Fri, 12 Jul 2019 09:06:30 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share69309654?restype=share", + "Uri" : "https://sima.file.core.windows.net/share79755af8?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250befd0-b01a-0014-5c73-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250befd0-b01a-0014-5c73-380cf6000000\nTime:2019-07-12T05:34:27.2164401Z", - "Date" : "Fri, 12 Jul 2019 05:34:26 GMT", + "x-ms-request-id" : "9e6064a2-501a-0051-4c91-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e6064a2-501a-0051-4c91-38d167000000\nTime:2019-07-12T09:06:30.3897624Z", + "Date" : "Fri, 12 Jul 2019 09:06:30 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share69309654" ] + "variables" : [ "share79755af8" ] } \ 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 7624d8be51fd9..3dca470fd85fc 100644 --- a/storage/client/file/src/test/resources/session-records/getMetadataFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getMetadataFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share988456ad?restype=share", + "Uri" : "https://sima.file.core.windows.net/share258655d5?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9C0FEAE6\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:28 GMT", + "ETag" : "\"0x8D706A83B9AFB5D\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250befe9-b01a-0014-6f73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:28 GMT" + "x-ms-request-id" : "9e6064c8-501a-0051-5f91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:31 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share988456ad?restype=share", + "Uri" : "https://sima.file.core.windows.net/share258655d5?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -28,20 +28,20 @@ "x-ms-meta-test" : "metadata", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:28 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:32 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 12 Jul 2019 05:34:28 GMT", + "Date" : "Fri, 12 Jul 2019 09:06:31 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D7068A9C0FEAE6\"", + "ETag" : "\"0x8D706A83B9AFB5D\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "250befeb-b01a-0014-7073-380cf6000000" + "x-ms-request-id" : "9e6064ca-501a-0051-6091-38d167000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share988456ad?restype=share", + "Uri" : "https://sima.file.core.windows.net/share258655d5?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -52,9 +52,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250befed-b01a-0014-7173-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:28 GMT" + "x-ms-request-id" : "9e6064cb-501a-0051-6191-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:31 GMT" } } ], - "variables" : [ "share988456ad" ] + "variables" : [ "share258655d5" ] } \ 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 7952628b0eb0a..deedd119607c6 100644 --- a/storage/client/file/src/test/resources/session-records/getPolicies.json +++ b/storage/client/file/src/test/resources/session-records/getPolicies.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share39491001?restype=share", + "Uri" : "https://sima.file.core.windows.net/share9469042b?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9A3F1C08\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:25 GMT", + "ETag" : "\"0x8D706A839D37C5A\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250befbd-b01a-0014-4f73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:25 GMT" + "x-ms-request-id" : "9e606490-501a-0051-3f91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:28 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share39491001?restype=share&comp=acl", + "Uri" : "https://sima.file.core.windows.net/share9469042b?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -28,18 +28,18 @@ "Transfer-Encoding" : "chunked", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9A3F1C08\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:25 GMT", + "ETag" : "\"0x8D706A839D37C5A\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:29 GMT", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250befbf-b01a-0014-5073-380cf6000000", + "x-ms-request-id" : "9e606492-501a-0051-4091-38d167000000", "Body" : "", - "Date" : "Fri, 12 Jul 2019 05:34:25 GMT", + "Date" : "Fri, 12 Jul 2019 09:06:28 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share39491001?restype=share", + "Uri" : "https://sima.file.core.windows.net/share9469042b?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -50,9 +50,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250befc0-b01a-0014-5173-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:25 GMT" + "x-ms-request-id" : "9e606493-501a-0051-4191-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:29 GMT" } } ], - "variables" : [ "share39491001" ] + "variables" : [ "share9469042b" ] } \ 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 3e171ada09ef8..a81c508e7220d 100644 --- a/storage/client/file/src/test/resources/session-records/getPoliciesDoesNotExist.json +++ b/storage/client/file/src/test/resources/session-records/getPoliciesDoesNotExist.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share2706094e?restype=share&comp=acl", + "Uri" : "https://sima.file.core.windows.net/share17389891?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -13,14 +13,14 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250befb1-b01a-0014-4673-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250befb1-b01a-0014-4673-380cf6000000\nTime:2019-07-12T05:34:24.9598354Z", - "Date" : "Fri, 12 Jul 2019 05:34:24 GMT", + "x-ms-request-id" : "9e606483-501a-0051-3691-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e606483-501a-0051-3691-38d167000000\nTime:2019-07-12T09:06:28.0821113Z", + "Date" : "Fri, 12 Jul 2019 09:06:27 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share2706094e?restype=share", + "Uri" : "https://sima.file.core.windows.net/share17389891?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250befb3-b01a-0014-4773-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250befb3-b01a-0014-4773-380cf6000000\nTime:2019-07-12T05:34:25.0819222Z", - "Date" : "Fri, 12 Jul 2019 05:34:24 GMT", + "x-ms-request-id" : "9e606485-501a-0051-3791-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e606485-501a-0051-3791-38d167000000\nTime:2019-07-12T09:06:28.1971942Z", + "Date" : "Fri, 12 Jul 2019 09:06:27 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share2706094e" ] + "variables" : [ "share17389891" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getProperties.json b/storage/client/file/src/test/resources/session-records/getProperties.json deleted file mode 100644 index 6f7eae0b9dc01..0000000000000 --- a/storage/client/file/src/test/resources/session-records/getProperties.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share23809870?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:56 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:14:57 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F3713B62FDDE\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b3868c-601a-0035-215a-25617e000000" - } - }, { - "Method" : "GET", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share23809870?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:56 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-meta-test" : "metadata", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-has-legal-hold" : "false", - "last-modified" : "Mon, 17 Jun 2019 22:14:57 GMT", - "x-ms-share-quota" : "2", - "x-ms-has-immutability-policy" : "false", - "etag" : "\"0x8D6F3713B62FDDE\"", - "x-ms-request-id" : "b1b3868e-601a-0035-225a-25617e000000" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share23809870?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:14:56 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "b1b3868f-601a-0035-235a-25617e000000" - } - } ], - "variables" : [ "share23809870" ] -} diff --git a/storage/client/file/src/test/resources/session-records/getPropertiesDoesNotExist.json b/storage/client/file/src/test/resources/session-records/getPropertiesDoesNotExist.json deleted file mode 100644 index dab2e24b8999d..0000000000000 --- a/storage/client/file/src/test/resources/session-records/getPropertiesDoesNotExist.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "GET", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share42902028?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:43 GMT", - "content-length" : "217", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareNotFound", - "retry-after" : "0", - "StatusCode" : "404", - "x-ms-request-id" : "b1b38715-601a-0035-715a-25617e000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:b1b38715-601a-0035-715a-25617e000000\nTime:2019-06-17T22:15:43.5916119Z" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share42902028?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:43 GMT", - "content-length" : "217", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareNotFound", - "retry-after" : "0", - "StatusCode" : "404", - "x-ms-request-id" : "b1b38717-601a-0035-725a-25617e000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:b1b38717-601a-0035-725a-25617e000000\nTime:2019-06-17T22:15:43.6246436Z" - } - } ], - "variables" : [ "share42902028" ] -} \ 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 c7902e1c9ad51..bb3a3329fdaa6 100644 --- a/storage/client/file/src/test/resources/session-records/getPropertiesDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getPropertiesDoesNotExistFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share70165c32?restype=share", + "Uri" : "https://sima.file.core.windows.net/share49251902?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -13,14 +13,14 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250bf074-b01a-0014-3173-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250bf074-b01a-0014-3173-380cf6000000\nTime:2019-07-12T05:35:18.4057689Z", - "Date" : "Fri, 12 Jul 2019 05:35:17 GMT", + "x-ms-request-id" : "9e60654c-501a-0051-2491-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e60654c-501a-0051-2491-38d167000000\nTime:2019-07-12T09:07:21.5955100Z", + "Date" : "Fri, 12 Jul 2019 09:07:21 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share70165c32?restype=share", + "Uri" : "https://sima.file.core.windows.net/share49251902?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250bf076-b01a-0014-3273-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250bf076-b01a-0014-3273-380cf6000000\nTime:2019-07-12T05:35:18.4818225Z", - "Date" : "Fri, 12 Jul 2019 05:35:17 GMT", + "x-ms-request-id" : "9e60654e-501a-0051-2591-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e60654e-501a-0051-2591-38d167000000\nTime:2019-07-12T09:07:21.6705640Z", + "Date" : "Fri, 12 Jul 2019 09:07:21 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share70165c32" ] + "variables" : [ "share49251902" ] } \ 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 b692153dc91c7..5d95f0272429e 100644 --- a/storage/client/file/src/test/resources/session-records/getPropertiesFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/getPropertiesFromDirClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory208383?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory489946?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADC9032AE\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:17 GMT", + "ETag" : "\"0x8D706A881D617ED\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf176-b01a-0014-5573-380cf6000000", + "x-ms-request-id" : "9e60666d-501a-0051-5191-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:16 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:29 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory208383?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory489946?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -29,14 +29,14 @@ "x-ms-server-encrypted" : "true", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADC9032AE\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:17 GMT", + "ETag" : "\"0x8D706A881D617ED\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf177-b01a-0014-5673-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:36:16 GMT" + "x-ms-request-id" : "9e60666e-501a-0051-5291-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:08:29 GMT" } } ], - "variables" : [ "directory208383" ] + "variables" : [ "directory489946" ] } \ 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 5938e1db61e5b..d4cfaa37eae33 100644 --- a/storage/client/file/src/test/resources/session-records/getPropertiesFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/getPropertiesFromFileClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile94269abe", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile43684d9f", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A60CF1BCA\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:49 GMT", + "ETag" : "\"0x8D706A8000E76CC\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:04:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250beefd-b01a-0014-7e73-380cf6000000", + "x-ms-request-id" : "9e6063cd-501a-0051-6490-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:32:49 GMT" + "Date" : "Fri, 12 Jul 2019 09:04:52 GMT" } }, { "Method" : "HEAD", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile94269abe", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile43684d9f", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -28,18 +28,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:49 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 09:04:52 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 12 Jul 2019 05:32:49 GMT", + "Date" : "Fri, 12 Jul 2019 09:04:52 GMT", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "\"0x8D7068A60CF1BCA\"", + "ETag" : "\"0x8D706A8000E76CC\"", "Content-Length" : "1024", - "x-ms-request-id" : "250beeff-b01a-0014-7f73-380cf6000000", + "x-ms-request-id" : "9e6063ce-501a-0051-6590-38d167000000", "Body" : "", "Content-Type" : "application/octet-stream" } } ], - "variables" : [ "file94269abe" ] + "variables" : [ "file43684d9f" ] } \ 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 00e50fec2ada5..54b5007717824 100644 --- a/storage/client/file/src/test/resources/session-records/getPropertiesFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getPropertiesFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share28854b6f?restype=share", + "Uri" : "https://sima.file.core.windows.net/share54093af3?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9DAA0F21\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:31 GMT", + "ETag" : "\"0x8D706A83D47C1C1\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf013-b01a-0014-0e73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:31 GMT" + "x-ms-request-id" : "9e6064f7-501a-0051-8091-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:34 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share28854b6f?restype=share", + "Uri" : "https://sima.file.core.windows.net/share54093af3?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -28,20 +28,20 @@ "x-ms-meta-test" : "metadata", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:31 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:34 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 12 Jul 2019 05:34:31 GMT", + "Date" : "Fri, 12 Jul 2019 09:06:34 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D7068A9DAA0F21\"", + "ETag" : "\"0x8D706A83D47C1C1\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "250bf015-b01a-0014-0f73-380cf6000000" + "x-ms-request-id" : "9e6064f9-501a-0051-0191-38d167000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share28854b6f?restype=share", + "Uri" : "https://sima.file.core.windows.net/share54093af3?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -52,9 +52,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf016-b01a-0014-1073-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:31 GMT" + "x-ms-request-id" : "9e6064fa-501a-0051-0291-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:34 GMT" } } ], - "variables" : [ "share28854b6f" ] + "variables" : [ "share54093af3" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getPropertiesInvalidSnapshot.json b/storage/client/file/src/test/resources/session-records/getPropertiesInvalidSnapshot.json deleted file mode 100644 index 0a9d0cfc1aca6..0000000000000 --- a/storage/client/file/src/test/resources/session-records/getPropertiesInvalidSnapshot.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory11288e?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:16:08 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:16:09 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F371663FE81B\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "83e1f09d-001a-0085-4a5a-259847000000", - "x-ms-request-server-encrypted" : "true" - } - }, { - "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory11288e?sharesnapshot=&restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:16:09 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:16:09 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-server-encrypted" : "true", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F371663FE81B\"", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-request-id" : "6aa4518f-701a-004d-5b5a-250970000000" - } - } ], - "variables" : [ "directory11288e" ] -} \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getPropertiesInvalidSnapshotFromDirClient.json b/storage/client/file/src/test/resources/session-records/getPropertiesInvalidSnapshotFromDirClient.json deleted file mode 100644 index 9ec2ab04d64b4..0000000000000 --- a/storage/client/file/src/test/resources/session-records/getPropertiesInvalidSnapshotFromDirClient.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory280437?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D6F6DD54713C36\"", - "Last-Modified" : "Sat, 22 Jun 2019 06:46:18 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "c7278e14-801a-009f-36c6-28b728000000", - "x-ms-request-server-encrypted" : "true", - "Date" : "Sat, 22 Jun 2019 06:46:18 GMT" - } - }, { - "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory280437?sharesnapshot=&restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D6F6DD54713C36\"", - "Last-Modified" : "Sat, 22 Jun 2019 06:46:18 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "200", - "x-ms-request-id" : "c7278e15-801a-009f-37c6-28b728000000", - "Date" : "Sat, 22 Jun 2019 06:46:18 GMT" - } - } ], - "variables" : [ "directory280437" ] -} \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getPropertiesNull.json b/storage/client/file/src/test/resources/session-records/getPropertiesNull.json deleted file mode 100644 index 37b75e8381cb4..0000000000000 --- a/storage/client/file/src/test/resources/session-records/getPropertiesNull.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory246426?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:16:14 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:16:15 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F37169BA6F34\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "d65184f4-a01a-0000-615a-25cf92000000", - "x-ms-request-server-encrypted" : "true" - } - }, { - "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory246426?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:16:14 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:16:15 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-server-encrypted" : "true", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F37169BA6F34\"", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-request-id" : "eef9846e-801a-0053-415a-25d39d000000" - } - } ], - "variables" : [ "directory246426" ] -} \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getPropertiesNullFromDirClient.json b/storage/client/file/src/test/resources/session-records/getPropertiesNullFromDirClient.json deleted file mode 100644 index 82eb430d50619..0000000000000 --- a/storage/client/file/src/test/resources/session-records/getPropertiesNullFromDirClient.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory018513?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D6F6DD548D7C02\"", - "Last-Modified" : "Sat, 22 Jun 2019 06:46:18 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "c7278e16-801a-009f-38c6-28b728000000", - "x-ms-request-server-encrypted" : "true", - "Date" : "Sat, 22 Jun 2019 06:46:18 GMT" - } - }, { - "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory018513?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D6F6DD548D7C02\"", - "Last-Modified" : "Sat, 22 Jun 2019 06:46:18 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "200", - "x-ms-request-id" : "c7278e17-801a-009f-39c6-28b728000000", - "Date" : "Sat, 22 Jun 2019 06:46:18 GMT" - } - } ], - "variables" : [ "directory018513" ] -} \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getPropertiesValidSnapshot.json b/storage/client/file/src/test/resources/session-records/getPropertiesValidSnapshot.json deleted file mode 100644 index 8ab685765fb5f..0000000000000 --- a/storage/client/file/src/test/resources/session-records/getPropertiesValidSnapshot.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "networkCallRecords" : [ ], - "variables" : [ "directory808416" ] -} \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getPropertiesValidSnapshotFromDirClient.json b/storage/client/file/src/test/resources/session-records/getPropertiesValidSnapshotFromDirClient.json deleted file mode 100644 index ae6be8716e1a1..0000000000000 --- a/storage/client/file/src/test/resources/session-records/getPropertiesValidSnapshotFromDirClient.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "networkCallRecords" : [ ], - "variables" : [ "directory351686" ] -} \ 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 8cde53da4819a..bb42ced3c9838 100644 --- a/storage/client/file/src/test/resources/session-records/getRootDirectoryDoesNotCreateADirectory.json +++ b/storage/client/file/src/test/resources/session-records/getRootDirectoryDoesNotCreateADirectory.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share65097e7a?restype=share", + "Uri" : "https://sima.file.core.windows.net/share35279588?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068AB9CC96DC\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:18 GMT", + "ETag" : "\"0x8D706A859630387\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:22 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf07c-b01a-0014-3673-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:18 GMT" + "x-ms-request-id" : "9e606554-501a-0051-2991-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:21 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share65097e7a/?restype=directory", + "Uri" : "https://sima.file.core.windows.net/share35279588/?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -28,17 +28,17 @@ "x-ms-server-encrypted" : "false", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068AB9D847BF\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:18 GMT", + "ETag" : "\"0x8D706A859716975\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:22 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf07e-b01a-0014-3773-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:18 GMT" + "x-ms-request-id" : "9e606556-501a-0051-2a91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:21 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share65097e7a?restype=share", + "Uri" : "https://sima.file.core.windows.net/share35279588?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf07f-b01a-0014-3873-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:18 GMT" + "x-ms-request-id" : "9e606557-501a-0051-2b91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:21 GMT" } } ], - "variables" : [ "share65097e7a" ] + "variables" : [ "share35279588" ] } \ 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 253b5665142e6..e6f855cff7228 100644 --- a/storage/client/file/src/test/resources/session-records/getShareDoesNotCreateAShare.json +++ b/storage/client/file/src/test/resources/session-records/getShareDoesNotCreateAShare.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share618402f1?restype=share&comp=stats", + "Uri" : "https://sima.file.core.windows.net/share58876d4d?restype=share&comp=stats", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -13,14 +13,14 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250bf262-b01a-0014-4173-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250bf262-b01a-0014-4173-380cf6000000\nTime:2019-07-12T05:37:54.2741550Z", - "Date" : "Fri, 12 Jul 2019 05:37:53 GMT", + "x-ms-request-id" : "9e606785-501a-0051-5d91-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e606785-501a-0051-5d91-38d167000000\nTime:2019-07-12T09:10:12.7353265Z", + "Date" : "Fri, 12 Jul 2019 09:10:12 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share618402f1&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share58876d4d&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -31,11 +31,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf265-b01a-0014-4273-380cf6000000", - "Body" : "share618402f1", - "Date" : "Fri, 12 Jul 2019 05:37:53 GMT", + "x-ms-request-id" : "9e606787-501a-0051-5e91-38d167000000", + "Body" : "share58876d4d", + "Date" : "Fri, 12 Jul 2019 09:10:12 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share618402f1" ] + "variables" : [ "share58876d4d" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getSnapshotMetadata.json b/storage/client/file/src/test/resources/session-records/getSnapshotMetadata.json deleted file mode 100644 index 5910da61863ae..0000000000000 --- a/storage/client/file/src/test/resources/session-records/getSnapshotMetadata.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share019435a6?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:45 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:15:45 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F37158488A58\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b38761-601a-0035-285a-25617e000000" - } - }, { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share019435a6?restype=share&comp=snapshot", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:45 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:15:45 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-06-17T22:15:45.0000000Z", - "etag" : "\"0x8D6F37158488A58\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b3876e-601a-0035-345a-25617e000000" - } - }, { - "Method" : "GET", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share019435a6?sharesnapshot=2019-06-17T22%3a15%3a45.0000000Z&restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:45 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-meta-test" : "metadata", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-has-legal-hold" : "false", - "last-modified" : "Mon, 17 Jun 2019 22:15:45 GMT", - "x-ms-share-quota" : "2", - "x-ms-has-immutability-policy" : "false", - "etag" : "\"0x8D6F37158488A58\"", - "x-ms-request-id" : "b1b38772-601a-0035-385a-25617e000000" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share019435a6?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:45 GMT", - "content-length" : "250", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareHasSnapshots", - "retry-after" : "0", - "StatusCode" : "409", - "x-ms-request-id" : "b1b38774-601a-0035-395a-25617e000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:b1b38774-601a-0035-395a-25617e000000\nTime:2019-06-17T22:15:45.8467826Z" - } - } ], - "variables" : [ "share019435a6" ] -} \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getSnapshotMetadataDoesNotExist.json b/storage/client/file/src/test/resources/session-records/getSnapshotMetadataDoesNotExist.json deleted file mode 100644 index 8a55f245ea001..0000000000000 --- a/storage/client/file/src/test/resources/session-records/getSnapshotMetadataDoesNotExist.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share3149474e?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:44 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:15:44 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F37157AA9CDE\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b3873a-601a-0035-0c5a-25617e000000" - } - }, { - "Method" : "GET", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share3149474e?sharesnapshot=snapshot&restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:44 GMT", - "content-length" : "445", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "InvalidQueryParameterValue", - "retry-after" : "0", - "StatusCode" : "400", - "x-ms-request-id" : "b1b3873c-601a-0035-0d5a-25617e000000", - "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:b1b3873c-601a-0035-0d5a-25617e000000\nTime:2019-06-17T22:15:44.7497287ZsharesnapshotsnapshotMust be in the specific snapshot date time format." - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share3149474e?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:44 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "b1b3873d-601a-0035-0e5a-25617e000000" - } - } ], - "variables" : [ "share3149474e" ] -} \ 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 ebf869b683dc1..57b828a433c3d 100644 --- a/storage/client/file/src/test/resources/session-records/getSnapshotMetadataDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getSnapshotMetadataDoesNotExistFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share309781ab?restype=share", + "Uri" : "https://sima.file.core.windows.net/share410698cf?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9D34A2B9\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:30 GMT", + "ETag" : "\"0x8D706A83CDAE224\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf007-b01a-0014-0573-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:30 GMT" + "x-ms-request-id" : "9e6064e7-501a-0051-7591-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:33 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share309781ab?sharesnapshot=snapshot&restype=share", + "Uri" : "https://sima.file.core.windows.net/share410698cf?sharesnapshot=snapshot&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -31,14 +31,14 @@ "retry-after" : "0", "Content-Length" : "445", "StatusCode" : "400", - "x-ms-request-id" : "250bf009-b01a-0014-0673-380cf6000000", - "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:250bf009-b01a-0014-0673-380cf6000000\nTime:2019-07-12T05:34:30.9680995ZsharesnapshotsnapshotMust be in the specific snapshot date time format.", - "Date" : "Fri, 12 Jul 2019 05:34:30 GMT", + "x-ms-request-id" : "9e6064eb-501a-0051-7891-38d167000000", + "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:9e6064eb-501a-0051-7891-38d167000000\nTime:2019-07-12T09:06:34.2195144ZsharesnapshotsnapshotMust be in the specific snapshot date time format.", + "Date" : "Fri, 12 Jul 2019 09:06:33 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share309781ab?restype=share", + "Uri" : "https://sima.file.core.windows.net/share410698cf?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf00a-b01a-0014-0773-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:30 GMT" + "x-ms-request-id" : "9e6064ec-501a-0051-7991-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:34 GMT" } } ], - "variables" : [ "share309781ab" ] + "variables" : [ "share410698cf" ] } \ 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 13b9135a7c425..08336dfd75a14 100644 --- a/storage/client/file/src/test/resources/session-records/getSnapshotMetadataFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getSnapshotMetadataFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share46976dcb?restype=share", + "Uri" : "https://sima.file.core.windows.net/share89183b92?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,36 +9,36 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9B943BC4\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:28 GMT", + "ETag" : "\"0x8D706A83B2715A3\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250befdd-b01a-0014-6673-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:27 GMT" + "x-ms-request-id" : "9e6064b0-501a-0051-5691-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:31 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share46976dcb?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share89183b92?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-12T05:34:28.0000000Z", + "x-ms-snapshot" : "2019-07-12T09:06:31.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9B943BC4\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:28 GMT", + "ETag" : "\"0x8D706A83B2715A3\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250befdf-b01a-0014-6773-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:27 GMT" + "x-ms-request-id" : "9e6064b2-501a-0051-5791-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:31 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share46976dcb?sharesnapshot=2019-07-12T05%3a34%3a28.0000000Z&restype=share", + "Uri" : "https://sima.file.core.windows.net/share89183b92?sharesnapshot=2019-07-12T09%3a06%3a31.0000000Z&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -47,20 +47,20 @@ "x-ms-meta-test" : "metadata", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:28 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:31 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 12 Jul 2019 05:34:27 GMT", + "Date" : "Fri, 12 Jul 2019 09:06:31 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D7068A9B943BC4\"", + "ETag" : "\"0x8D706A83B2715A3\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "250befe0-b01a-0014-6873-380cf6000000" + "x-ms-request-id" : "9e6064b3-501a-0051-5891-38d167000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share46976dcb?restype=share", + "Uri" : "https://sima.file.core.windows.net/share89183b92?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -72,11 +72,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "250befe2-b01a-0014-6973-380cf6000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:250befe2-b01a-0014-6973-380cf6000000\nTime:2019-07-12T05:34:28.4142918Z", - "Date" : "Fri, 12 Jul 2019 05:34:27 GMT", + "x-ms-request-id" : "9e6064b5-501a-0051-5991-38d167000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:9e6064b5-501a-0051-5991-38d167000000\nTime:2019-07-12T09:06:31.5355849Z", + "Date" : "Fri, 12 Jul 2019 09:06:31 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share46976dcb" ] + "variables" : [ "share89183b92" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/getSnapshotProperties.json b/storage/client/file/src/test/resources/session-records/getSnapshotProperties.json deleted file mode 100644 index 774bae3b490ef..0000000000000 --- a/storage/client/file/src/test/resources/session-records/getSnapshotProperties.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share94111fc6?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:43 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:15:44 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F3715759346D\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b38726-601a-0035-7e5a-25617e000000" - } - }, { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share94111fc6?restype=share&comp=snapshot", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:43 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:15:44 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-06-17T22:15:44.0000000Z", - "etag" : "\"0x8D6F371573D6800\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b38728-601a-0035-7f5a-25617e000000" - } - }, { - "Method" : "GET", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share94111fc6?sharesnapshot=2019-06-17T22%3a15%3a44.0000000Z&restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:43 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "x-ms-meta-snapshot" : "metadata", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-has-legal-hold" : "false", - "last-modified" : "Mon, 17 Jun 2019 22:15:44 GMT", - "x-ms-share-quota" : "2", - "x-ms-has-immutability-policy" : "false", - "etag" : "\"0x8D6F371573D6800\"", - "x-ms-request-id" : "b1b3872a-601a-0035-805a-25617e000000" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share94111fc6?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:43 GMT", - "content-length" : "250", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareHasSnapshots", - "retry-after" : "0", - "StatusCode" : "409", - "x-ms-request-id" : "b1b3872c-601a-0035-015a-25617e000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:b1b3872c-601a-0035-015a-25617e000000\nTime:2019-06-17T22:15:44.2892844Z" - } - } ], - "variables" : [ "share94111fc6" ] -} \ 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 f321939ca0e07..0000f361e88b8 100644 --- a/storage/client/file/src/test/resources/session-records/getSnapshotPropertiesDoesNotExist.json +++ b/storage/client/file/src/test/resources/session-records/getSnapshotPropertiesDoesNotExist.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share2470384c?restype=share", + "Uri" : "https://sima.file.core.windows.net/share62366edb?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ABA3B726D\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:19 GMT", + "ETag" : "\"0x8D706A859D84914\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:22 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf08a-b01a-0014-3e73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:18 GMT" + "x-ms-request-id" : "9e60655f-501a-0051-3191-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:22 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share2470384c?sharesnapshot=snapshot&restype=share", + "Uri" : "https://sima.file.core.windows.net/share62366edb?sharesnapshot=snapshot&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -31,14 +31,14 @@ "retry-after" : "0", "Content-Length" : "445", "StatusCode" : "400", - "x-ms-request-id" : "250bf08c-b01a-0014-3f73-380cf6000000", - "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:250bf08c-b01a-0014-3f73-380cf6000000\nTime:2019-07-12T05:35:19.6786737ZsharesnapshotsnapshotMust be in the specific snapshot date time format.", - "Date" : "Fri, 12 Jul 2019 05:35:18 GMT", + "x-ms-request-id" : "9e606561-501a-0051-3291-38d167000000", + "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:9e606561-501a-0051-3291-38d167000000\nTime:2019-07-12T09:07:22.8584166ZsharesnapshotsnapshotMust be in the specific snapshot date time format.", + "Date" : "Fri, 12 Jul 2019 09:07:22 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share2470384c?restype=share", + "Uri" : "https://sima.file.core.windows.net/share62366edb?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf08d-b01a-0014-4073-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:19 GMT" + "x-ms-request-id" : "9e606562-501a-0051-3391-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:22 GMT" } } ], - "variables" : [ "share2470384c" ] + "variables" : [ "share62366edb" ] } \ 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 00d93780c3b4a..fdd0cf18bd8a6 100644 --- a/storage/client/file/src/test/resources/session-records/getSnapshotPropertiesFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getSnapshotPropertiesFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share12797cda?restype=share", + "Uri" : "https://sima.file.core.windows.net/share5157366a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,36 +9,36 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ABB12718C\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:21 GMT", + "ETag" : "\"0x8D706A85ABA200A\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf0a3-b01a-0014-4f73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:20 GMT" + "x-ms-request-id" : "9e606576-501a-0051-4291-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:23 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share12797cda?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share5157366a?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-12T05:35:21.0000000Z", + "x-ms-snapshot" : "2019-07-12T09:07:24.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ABB123280\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:21 GMT", + "ETag" : "\"0x8D706A85A91EE00\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf0a5-b01a-0014-5073-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:20 GMT" + "x-ms-request-id" : "9e606578-501a-0051-4391-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:24 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share12797cda?sharesnapshot=2019-07-12T05%3a35%3a21.0000000Z&restype=share", + "Uri" : "https://sima.file.core.windows.net/share5157366a?sharesnapshot=2019-07-12T09%3a07%3a24.0000000Z&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -47,20 +47,20 @@ "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-meta-snapshot" : "metadata", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:21 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:24 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 12 Jul 2019 05:35:20 GMT", + "Date" : "Fri, 12 Jul 2019 09:07:24 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D7068ABB123280\"", + "ETag" : "\"0x8D706A85A91EE00\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "250bf0a6-b01a-0014-5173-380cf6000000" + "x-ms-request-id" : "9e606579-501a-0051-4491-38d167000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share12797cda?restype=share", + "Uri" : "https://sima.file.core.windows.net/share5157366a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -72,11 +72,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "250bf0a8-b01a-0014-5273-380cf6000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:250bf0a8-b01a-0014-5273-380cf6000000\nTime:2019-07-12T05:35:21.2698047Z", - "Date" : "Fri, 12 Jul 2019 05:35:20 GMT", + "x-ms-request-id" : "9e60657b-501a-0051-4591-38d167000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:9e60657b-501a-0051-4591-38d167000000\nTime:2019-07-12T09:07:24.4935904Z", + "Date" : "Fri, 12 Jul 2019 09:07:24 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share12797cda" ] + "variables" : [ "share5157366a" ] } \ 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 88422adefb0b9..7acfad7569bc6 100644 --- a/storage/client/file/src/test/resources/session-records/getStats.json +++ b/storage/client/file/src/test/resources/session-records/getStats.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share2489374f?restype=share", + "Uri" : "https://sima.file.core.windows.net/share8275209c?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ABB6D4C43\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:21 GMT", + "ETag" : "\"0x8D706A85B10B469\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf0ad-b01a-0014-5673-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:20 GMT" + "x-ms-request-id" : "9e606580-501a-0051-4991-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:24 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share2489374f?restype=share&comp=stats", + "Uri" : "https://sima.file.core.windows.net/share8275209c?restype=share&comp=stats", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -30,14 +30,14 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf0af-b01a-0014-5773-380cf6000000", + "x-ms-request-id" : "9e606582-501a-0051-4a91-38d167000000", "Body" : "0", - "Date" : "Fri, 12 Jul 2019 05:35:20 GMT", + "Date" : "Fri, 12 Jul 2019 09:07:24 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share2489374f?restype=share", + "Uri" : "https://sima.file.core.windows.net/share8275209c?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -48,9 +48,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf0b0-b01a-0014-5873-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:21 GMT" + "x-ms-request-id" : "9e606583-501a-0051-4b91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:24 GMT" } } ], - "variables" : [ "share2489374f" ] + "variables" : [ "share8275209c" ] } \ 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 e0596f4599349..9b9631f9e4e34 100644 --- a/storage/client/file/src/test/resources/session-records/getStatsDoesNotExist.json +++ b/storage/client/file/src/test/resources/session-records/getStatsDoesNotExist.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share75132001?restype=share&comp=stats", + "Uri" : "https://sima.file.core.windows.net/share15361d71?restype=share&comp=stats", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -13,14 +13,14 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250bf05c-b01a-0014-2873-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250bf05c-b01a-0014-2873-380cf6000000\nTime:2019-07-12T05:35:17.7953359Z", - "Date" : "Fri, 12 Jul 2019 05:35:17 GMT", + "x-ms-request-id" : "9e606541-501a-0051-1d91-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e606541-501a-0051-1d91-38d167000000\nTime:2019-07-12T09:07:20.9460489Z", + "Date" : "Fri, 12 Jul 2019 09:07:20 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share75132001?restype=share", + "Uri" : "https://sima.file.core.windows.net/share15361d71?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250bf060-b01a-0014-2b73-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250bf060-b01a-0014-2b73-380cf6000000\nTime:2019-07-12T05:35:17.8763933Z", - "Date" : "Fri, 12 Jul 2019 05:35:17 GMT", + "x-ms-request-id" : "9e606544-501a-0051-1e91-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e606544-501a-0051-1e91-38d167000000\nTime:2019-07-12T09:07:21.0321092Z", + "Date" : "Fri, 12 Jul 2019 09:07:20 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share75132001" ] + "variables" : [ "share15361d71" ] } \ 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 e856051283572..23d66046314f3 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" : [ "directory284774" ] + "variables" : [ "directory48897d" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/listFilesAndDirectories.json b/storage/client/file/src/test/resources/session-records/listFilesAndDirectories.json deleted file mode 100644 index 5e987d5c896d9..0000000000000 --- a/storage/client/file/src/test/resources/session-records/listFilesAndDirectories.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory765102?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:16:12 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:16:12 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F371687C5E0E\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "ee6928fe-401a-00a0-3b5a-2500f4000000", - "x-ms-request-server-encrypted" : "true" - } - }, { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory765102%2fdirectory7651020?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:16:12 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:16:13 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F371689A24A5\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "59a0e398-a01a-006d-7a5a-2565bc000000", - "x-ms-request-server-encrypted" : "true" - } - }, { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory765102%2fdirectory7651021?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:16:12 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:16:13 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F37168B8125E\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "8a16ec85-701a-008a-5c5a-2575b1000000", - "x-ms-request-server-encrypted" : "true" - } - }, { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory765102%2fdirectory7651022?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:16:13 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:16:13 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F37168D53C94\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "6aa45198-701a-004d-5d5a-250970000000", - "x-ms-request-server-encrypted" : "true" - } - }, { - "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory765102?prefix=directory765102&maxresults=5000&restype=directory&comp=list", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:16:13 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "transfer-encoding" : "chunked", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-request-id" : "f41cef5d-301a-004a-475a-25fff5000000", - "Body" : "directory7651025000directory7651020directory7651021directory7651022" - } - } ], - "variables" : [ "directory765102" ] -} \ 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 87717a10719a4..1554be6864cff 100644 --- a/storage/client/file/src/test/resources/session-records/listFilesAndDirectoriesFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/listFilesAndDirectoriesFromDirClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory553586?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory53721c?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADD33E3C9\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:18 GMT", + "ETag" : "\"0x8D706EB93C5EB7F\"", + "Last-Modified" : "Fri, 12 Jul 2019 17:08:36 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf190-b01a-0014-6273-380cf6000000", + "x-ms-request-id" : "ca385465-d01a-004b-01d4-38fe08000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:17 GMT" + "Date" : "Fri, 12 Jul 2019 17:08:35 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory553586%2fdirectory5535860?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory53721c%2fdirectory53721c0?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -28,18 +28,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADD423E48\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:18 GMT", + "ETag" : "\"0x8D706EB93D4E264\"", + "Last-Modified" : "Fri, 12 Jul 2019 17:08:36 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf191-b01a-0014-6373-380cf6000000", + "x-ms-request-id" : "ca385467-d01a-004b-02d4-38fe08000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:17 GMT" + "Date" : "Fri, 12 Jul 2019 17:08:35 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory553586%2fdirectory5535861?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory53721c%2fsamelayer5040570", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -47,18 +47,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADD4D8AFC\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:18 GMT", + "ETag" : "\"0x8D706EB93E4276E\"", + "Last-Modified" : "Fri, 12 Jul 2019 17:08:36 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf193-b01a-0014-6473-380cf6000000", + "x-ms-request-id" : "ca385468-d01a-004b-03d4-38fe08000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:17 GMT" + "Date" : "Fri, 12 Jul 2019 17:08:35 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory553586%2fdirectory5535862?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory53721c%2fdirectory53721c0%2fnextlayer0349160", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -66,18 +66,132 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADD58D7B4\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:18 GMT", + "ETag" : "\"0x8D706EB93F31E46\"", + "Last-Modified" : "Fri, 12 Jul 2019 17:08:36 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf194-b01a-0014-6573-380cf6000000", + "x-ms-request-id" : "ca38546a-d01a-004b-04d4-38fe08000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:17 GMT" + "Date" : "Fri, 12 Jul 2019 17:08:35 GMT" + } + }, { + "Method" : "PUT", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory53721c%2fdirectory53721c1?restype=directory", + "Headers" : { + "x-ms-version" : "2018-11-09", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D706EB93FF075B\"", + "Last-Modified" : "Fri, 12 Jul 2019 17:08:36 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "ca38546b-d01a-004b-05d4-38fe08000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Fri, 12 Jul 2019 17:08:35 GMT" + } + }, { + "Method" : "PUT", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory53721c%2fsamelayer50405701", + "Headers" : { + "x-ms-version" : "2018-11-09", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D706EB940B3E9F\"", + "Last-Modified" : "Fri, 12 Jul 2019 17:08:36 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "ca38546c-d01a-004b-06d4-38fe08000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Fri, 12 Jul 2019 17:08:36 GMT" + } + }, { + "Method" : "PUT", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory53721c%2fdirectory53721c1%2fnextlayer03491601", + "Headers" : { + "x-ms-version" : "2018-11-09", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D706EB94183950\"", + "Last-Modified" : "Fri, 12 Jul 2019 17:08:36 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "ca38546d-d01a-004b-07d4-38fe08000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Fri, 12 Jul 2019 17:08:36 GMT" + } + }, { + "Method" : "PUT", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory53721c%2fdirectory53721c2?restype=directory", + "Headers" : { + "x-ms-version" : "2018-11-09", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D706EB9424225C\"", + "Last-Modified" : "Fri, 12 Jul 2019 17:08:36 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "ca38546e-d01a-004b-08d4-38fe08000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Fri, 12 Jul 2019 17:08:36 GMT" + } + }, { + "Method" : "PUT", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory53721c%2fsamelayer504057012", + "Headers" : { + "x-ms-version" : "2018-11-09", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D706EB9430599F\"", + "Last-Modified" : "Fri, 12 Jul 2019 17:08:36 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "ca38546f-d01a-004b-09d4-38fe08000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Fri, 12 Jul 2019 17:08:36 GMT" + } + }, { + "Method" : "PUT", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory53721c%2fdirectory53721c2%2fnextlayer034916012", + "Headers" : { + "x-ms-version" : "2018-11-09", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D706EB943DA283\"", + "Last-Modified" : "Fri, 12 Jul 2019 17:08:37 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "ca385470-d01a-004b-0ad4-38fe08000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Fri, 12 Jul 2019 17:08:36 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory553586?prefix=directory553586&restype=directory&comp=list", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory53721c?restype=directory&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -88,11 +202,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf196-b01a-0014-6673-380cf6000000", - "Body" : "directory553586directory5535860directory5535861directory5535862", - "Date" : "Fri, 12 Jul 2019 05:36:17 GMT", + "x-ms-request-id" : "ca385471-d01a-004b-0bd4-38fe08000000", + "Body" : "directory53721c0directory53721c1directory53721c2samelayer50405701024samelayer504057011024samelayer5040570121024", + "Date" : "Fri, 12 Jul 2019 17:08:36 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "directory553586" ] + "variables" : [ "directory53721c", "samelayer504057", "nextlayer034916" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/listHandles.json b/storage/client/file/src/test/resources/session-records/listHandles.json deleted file mode 100644 index 6dedd020b7672..0000000000000 --- a/storage/client/file/src/test/resources/session-records/listHandles.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagefiletests/testdir%2ffile71592b2e", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D6F5A660BAD598\"", - "Last-Modified" : "Thu, 20 Jun 2019 17:40:25 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "5e300d34-101a-007f-7e8f-2751a0000000", - "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 20 Jun 2019 17:40:24 GMT" - } - }, { - "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/storagefiletests/testdir%2ffile71592b2e?comp=listhandles", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-request-id" : "cedbbf84-901a-0008-798f-27d4e1000000", - "Body" : "", - "Date" : "Thu, 20 Jun 2019 17:40:25 GMT", - "Content-Type" : "application/xml" - } - } ], - "variables" : [ "file71592b2e" ] -} \ 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 ca0f88b5590c0..7f2737897a0e1 100644 --- a/storage/client/file/src/test/resources/session-records/listHandlesFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/listHandlesFromFileClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile02979f48", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile38454f13", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A5FE8D72C\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:48 GMT", + "ETag" : "\"0x8D706A7FF48B851\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:04:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "e6cd1420-d01a-000f-1d73-382264000000", + "x-ms-request-id" : "15d5b033-801a-0094-1190-38af5c000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:32:47 GMT" + "Date" : "Fri, 12 Jul 2019 09:04:50 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile02979f48?comp=listhandles", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile38454f13?comp=listhandles", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -31,11 +31,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "e6cd1422-d01a-000f-1e73-382264000000", + "x-ms-request-id" : "15d5b034-801a-0094-1290-38af5c000000", "Body" : "", - "Date" : "Fri, 12 Jul 2019 05:32:47 GMT", + "Date" : "Fri, 12 Jul 2019 09:04:50 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "file02979f48" ] + "variables" : [ "file38454f13" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/listRanges.json b/storage/client/file/src/test/resources/session-records/listRanges.json deleted file mode 100644 index fd3f85e886cce..0000000000000 --- a/storage/client/file/src/test/resources/session-records/listRanges.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagefiletests/testdir%2ffile4154410f", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D6F5A6603D9FB4\"", - "Last-Modified" : "Thu, 20 Jun 2019 17:40:24 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "26f10eb3-d01a-0040-4e8f-27e67c000000", - "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 20 Jun 2019 17:40:24 GMT" - } - }, { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagefiletests/testdir%2ffile4154410f?comp=range", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D6F5A6605CED2A\"", - "Last-Modified" : "Thu, 20 Jun 2019 17:40:24 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "74b34cab-a01a-0022-3f8f-27a1a4000000", - "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 20 Jun 2019 17:40:24 GMT", - "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==" - } - }, { - "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/storagefiletests/testdir%2ffile4154410f?comp=rangelist", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "1024", - "ETag" : "\"0x8D6F5A6605CED2A\"", - "Last-Modified" : "Thu, 20 Jun 2019 17:40:24 GMT", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-request-id" : "c664ae4f-301a-002c-538f-274daf000000", - "Body" : "0511", - "Date" : "Thu, 20 Jun 2019 17:40:24 GMT", - "Content-Type" : "application/xml" - } - } ], - "variables" : [ "file4154410f" ] -} \ 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 7e6f9749d7ffe..d65e97fb657d5 100644 --- a/storage/client/file/src/test/resources/session-records/listRangesFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/listRangesFromFileClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile60740604", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile91405875", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A6007131C\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:48 GMT", + "ETag" : "\"0x8D706A7FF65464F\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:04:51 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "e6cd1423-d01a-000f-1f73-382264000000", + "x-ms-request-id" : "15d5b035-801a-0094-1390-38af5c000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:32:47 GMT" + "Date" : "Fri, 12 Jul 2019 09:04:50 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile60740604?comp=range", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile91405875?comp=range", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", @@ -29,19 +29,19 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A601594B4\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:48 GMT", + "ETag" : "\"0x8D706A7FF7352AF\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:04:51 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "e6cd1424-d01a-000f-2073-382264000000", + "x-ms-request-id" : "15d5b036-801a-0094-1490-38af5c000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:32:47 GMT", + "Date" : "Fri, 12 Jul 2019 09:04:50 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile60740604?comp=rangelist", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile91405875?comp=rangelist", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -51,15 +51,15 @@ "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-content-length" : "512", - "ETag" : "\"0x8D7068A601594B4\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:48 GMT", + "ETag" : "\"0x8D706A7FF7352AF\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:04:51 GMT", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "e6cd1425-d01a-000f-2173-382264000000", + "x-ms-request-id" : "15d5b037-801a-0094-1590-38af5c000000", "Body" : "0511", - "Date" : "Fri, 12 Jul 2019 05:32:47 GMT", + "Date" : "Fri, 12 Jul 2019 09:04:50 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "file60740604" ] + "variables" : [ "file91405875" ] } \ 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 caf8310fc38b2..2c3c36e99a11c 100644 --- a/storage/client/file/src/test/resources/session-records/listShares.json +++ b/storage/client/file/src/test/resources/session-records/listShares.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share653541670?restype=share", + "Uri" : "https://sima.file.core.windows.net/share005573170?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B160AE0C0\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:53 GMT", + "ETag" : "\"0x8D706A8BE503085\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:11 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf257-b01a-0014-3973-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:52 GMT" + "x-ms-request-id" : "9e606779-501a-0051-5591-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:10 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share653541671?restype=share", + "Uri" : "https://sima.file.core.windows.net/share005573171?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -27,17 +27,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B1618C5F0\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:53 GMT", + "ETag" : "\"0x8D706A8BE5CDD0C\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:11 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf259-b01a-0014-3a73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:52 GMT" + "x-ms-request-id" : "9e60677b-501a-0051-5691-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:10 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share653541672?restype=share", + "Uri" : "https://sima.file.core.windows.net/share005573172?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -45,17 +45,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B1623EB80\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:53 GMT", + "ETag" : "\"0x8D706A8BE796AFA\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:11 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf25b-b01a-0014-3b73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:52 GMT" + "x-ms-request-id" : "9e60677e-501a-0051-5791-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:11 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share65354167&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share00557317&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -66,14 +66,14 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf25d-b01a-0014-3c73-380cf6000000", - "Body" : "share65354167share653541670Fri, 12 Jul 2019 05:37:53 GMT\"0x8D7068B160AE0C0\"2share653541671Fri, 12 Jul 2019 05:37:53 GMT\"0x8D7068B1618C5F0\"2share653541672Fri, 12 Jul 2019 05:37:53 GMT\"0x8D7068B1623EB80\"2", - "Date" : "Fri, 12 Jul 2019 05:37:53 GMT", + "x-ms-request-id" : "9e606780-501a-0051-5891-38d167000000", + "Body" : "share00557317share005573170Fri, 12 Jul 2019 09:10:11 GMT\"0x8D706A8BE503085\"2share005573171Fri, 12 Jul 2019 09:10:11 GMT\"0x8D706A8BE5CDD0C\"2share005573172Fri, 12 Jul 2019 09:10:11 GMT\"0x8D706A8BE796AFA\"2", + "Date" : "Fri, 12 Jul 2019 09:10:11 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share65354167&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share00557317&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -84,14 +84,14 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf25e-b01a-0014-3d73-380cf6000000", - "Body" : "share65354167share653541670Fri, 12 Jul 2019 05:37:53 GMT\"0x8D7068B160AE0C0\"2share653541671Fri, 12 Jul 2019 05:37:53 GMT\"0x8D7068B1618C5F0\"2share653541672Fri, 12 Jul 2019 05:37:53 GMT\"0x8D7068B1623EB80\"2", - "Date" : "Fri, 12 Jul 2019 05:37:53 GMT", + "x-ms-request-id" : "9e606781-501a-0051-5991-38d167000000", + "Body" : "share00557317share005573170Fri, 12 Jul 2019 09:10:11 GMT\"0x8D706A8BE503085\"2share005573171Fri, 12 Jul 2019 09:10:11 GMT\"0x8D706A8BE5CDD0C\"2share005573172Fri, 12 Jul 2019 09:10:11 GMT\"0x8D706A8BE796AFA\"2", + "Date" : "Fri, 12 Jul 2019 09:10:11 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share653541670?restype=share", + "Uri" : "https://sima.file.core.windows.net/share005573170?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -102,12 +102,12 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf25f-b01a-0014-3e73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:53 GMT" + "x-ms-request-id" : "9e606782-501a-0051-5a91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:11 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share653541671?restype=share", + "Uri" : "https://sima.file.core.windows.net/share005573171?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -118,12 +118,12 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf260-b01a-0014-3f73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:53 GMT" + "x-ms-request-id" : "9e606783-501a-0051-5b91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:11 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share653541672?restype=share", + "Uri" : "https://sima.file.core.windows.net/share005573172?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -134,9 +134,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf261-b01a-0014-4073-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:53 GMT" + "x-ms-request-id" : "9e606784-501a-0051-5c91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:11 GMT" } } ], - "variables" : [ "share65354167" ] + "variables" : [ "share00557317" ] } \ 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 31cc9b10c156b..0120f5679af36 100644 --- a/storage/client/file/src/test/resources/session-records/listSharesIncludeMetadata.json +++ b/storage/client/file/src/test/resources/session-records/listSharesIncludeMetadata.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share05769c840?restype=share", + "Uri" : "https://sima.file.core.windows.net/share01416aa60?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B177EB0F6\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:56 GMT", + "ETag" : "\"0x8D706A8C18A4858\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:16 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf281-b01a-0014-5773-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:55 GMT" + "x-ms-request-id" : "9e6067a8-501a-0051-7591-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:16 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share05769c841?restype=share", + "Uri" : "https://sima.file.core.windows.net/share01416aa61?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -27,17 +27,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B178AE82E\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:56 GMT", + "ETag" : "\"0x8D706A8C1A639E0\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:16 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf283-b01a-0014-5873-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:55 GMT" + "x-ms-request-id" : "9e6067aa-501a-0051-7691-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:16 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share05769c842?restype=share", + "Uri" : "https://sima.file.core.windows.net/share01416aa62?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -45,17 +45,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B1796830A\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:56 GMT", + "ETag" : "\"0x8D706A8C1DFF21E\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf285-b01a-0014-5973-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:55 GMT" + "x-ms-request-id" : "9e6067ac-501a-0051-7791-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:16 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share05769c84&include=metadata&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share01416aa6&include=metadata&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -66,14 +66,14 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf287-b01a-0014-5a73-380cf6000000", - "Body" : "share05769c84share05769c840Fri, 12 Jul 2019 05:37:56 GMT\"0x8D7068B177EB0F6\"2metadatashare05769c841Fri, 12 Jul 2019 05:37:56 GMT\"0x8D7068B178AE82E\"2share05769c842Fri, 12 Jul 2019 05:37:56 GMT\"0x8D7068B1796830A\"2metadata", - "Date" : "Fri, 12 Jul 2019 05:37:55 GMT", + "x-ms-request-id" : "9e6067ae-501a-0051-7891-38d167000000", + "Body" : "share01416aa6share01416aa60Fri, 12 Jul 2019 09:10:16 GMT\"0x8D706A8C18A4858\"2metadatashare01416aa61Fri, 12 Jul 2019 09:10:16 GMT\"0x8D706A8C1A639E0\"2share01416aa62Fri, 12 Jul 2019 09:10:17 GMT\"0x8D706A8C1DFF21E\"2metadata", + "Date" : "Fri, 12 Jul 2019 09:10:17 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share05769c84&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share01416aa6&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -84,14 +84,14 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf288-b01a-0014-5b73-380cf6000000", - "Body" : "share05769c84share05769c840Fri, 12 Jul 2019 05:37:56 GMT\"0x8D7068B177EB0F6\"2share05769c841Fri, 12 Jul 2019 05:37:56 GMT\"0x8D7068B178AE82E\"2share05769c842Fri, 12 Jul 2019 05:37:56 GMT\"0x8D7068B1796830A\"2", - "Date" : "Fri, 12 Jul 2019 05:37:55 GMT", + "x-ms-request-id" : "9e6067af-501a-0051-7991-38d167000000", + "Body" : "share01416aa6share01416aa60Fri, 12 Jul 2019 09:10:16 GMT\"0x8D706A8C18A4858\"2share01416aa61Fri, 12 Jul 2019 09:10:16 GMT\"0x8D706A8C1A639E0\"2share01416aa62Fri, 12 Jul 2019 09:10:17 GMT\"0x8D706A8C1DFF21E\"2", + "Date" : "Fri, 12 Jul 2019 09:10:17 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share05769c840?restype=share", + "Uri" : "https://sima.file.core.windows.net/share01416aa60?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -102,12 +102,12 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf289-b01a-0014-5c73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:55 GMT" + "x-ms-request-id" : "9e6067b0-501a-0051-7a91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:17 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share05769c841?restype=share", + "Uri" : "https://sima.file.core.windows.net/share01416aa61?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -118,12 +118,12 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf28a-b01a-0014-5d73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:55 GMT" + "x-ms-request-id" : "9e6067b1-501a-0051-7b91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:17 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share05769c842?restype=share", + "Uri" : "https://sima.file.core.windows.net/share01416aa62?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -134,9 +134,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf28b-b01a-0014-5e73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:55 GMT" + "x-ms-request-id" : "9e6067b2-501a-0051-7c91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:18 GMT" } } ], - "variables" : [ "share05769c84" ] + "variables" : [ "share01416aa6" ] } \ 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 d296675308a51..aec71b84a1089 100644 --- a/storage/client/file/src/test/resources/session-records/listSharesIncludeMetadataAndSnapshots.json +++ b/storage/client/file/src/test/resources/session-records/listSharesIncludeMetadataAndSnapshots.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share526462030?restype=share", + "Uri" : "https://sima.file.core.windows.net/share64715b0b0?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,36 +9,36 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B1540403D\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:52 GMT", + "ETag" : "\"0x8D706A8BCC7C1B9\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf242-b01a-0014-2973-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:51 GMT" + "x-ms-request-id" : "9e60675f-501a-0051-4291-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:08 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share526462030?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share64715b0b0?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-12T05:37:52.0000000Z", + "x-ms-snapshot" : "2019-07-12T09:10:08.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B1540403D\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:52 GMT", + "ETag" : "\"0x8D706A8BCC7C1B9\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf244-b01a-0014-2a73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:51 GMT" + "x-ms-request-id" : "9e606761-501a-0051-4391-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:08 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share526462031?restype=share", + "Uri" : "https://sima.file.core.windows.net/share64715b0b1?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -46,17 +46,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B1558FCE5\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:52 GMT", + "ETag" : "\"0x8D706A8BCE316FB\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:08 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf245-b01a-0014-2b73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:51 GMT" + "x-ms-request-id" : "9e606762-501a-0051-4491-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:08 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share526462032?restype=share", + "Uri" : "https://sima.file.core.windows.net/share64715b0b2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -64,36 +64,36 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B1564BEC5\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:52 GMT", + "ETag" : "\"0x8D706A8BD13095F\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf247-b01a-0014-2c73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:51 GMT" + "x-ms-request-id" : "9e606765-501a-0051-4591-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:08 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share526462032?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share64715b0b2?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-12T05:37:52.0000000Z", + "x-ms-snapshot" : "2019-07-12T09:10:09.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B1564BEC5\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:52 GMT", + "ETag" : "\"0x8D706A8BD13095F\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:09 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf249-b01a-0014-2d73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:51 GMT" + "x-ms-request-id" : "9e606768-501a-0051-4791-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:09 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share52646203&include=metadata%2csnapshots&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share64715b0b&include=metadata%2csnapshots&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -104,14 +104,14 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf24a-b01a-0014-2e73-380cf6000000", - "Body" : "share52646203share5264620302019-07-12T05:37:52.0000000ZFri, 12 Jul 2019 05:37:52 GMT\"0x8D7068B1540403D\"2metadatashare526462030Fri, 12 Jul 2019 05:37:52 GMT\"0x8D7068B1540403D\"2metadatashare526462031Fri, 12 Jul 2019 05:37:52 GMT\"0x8D7068B1558FCE5\"2share5264620322019-07-12T05:37:52.0000000ZFri, 12 Jul 2019 05:37:52 GMT\"0x8D7068B1564BEC5\"2metadatashare526462032Fri, 12 Jul 2019 05:37:52 GMT\"0x8D7068B1564BEC5\"2metadata", - "Date" : "Fri, 12 Jul 2019 05:37:51 GMT", + "x-ms-request-id" : "9e60676a-501a-0051-4891-38d167000000", + "Body" : "share64715b0bshare64715b0b02019-07-12T09:10:08.0000000ZFri, 12 Jul 2019 09:10:08 GMT\"0x8D706A8BCC7C1B9\"2metadatashare64715b0b0Fri, 12 Jul 2019 09:10:08 GMT\"0x8D706A8BCC7C1B9\"2metadatashare64715b0b1Fri, 12 Jul 2019 09:10:08 GMT\"0x8D706A8BCE316FB\"2share64715b0b22019-07-12T09:10:09.0000000ZFri, 12 Jul 2019 09:10:09 GMT\"0x8D706A8BD13095F\"2metadatashare64715b0b2Fri, 12 Jul 2019 09:10:09 GMT\"0x8D706A8BD13095F\"2metadata", + "Date" : "Fri, 12 Jul 2019 09:10:09 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share52646203&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share64715b0b&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -122,14 +122,14 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf24c-b01a-0014-2f73-380cf6000000", - "Body" : "share52646203share526462030Fri, 12 Jul 2019 05:37:52 GMT\"0x8D7068B1540403D\"2share526462031Fri, 12 Jul 2019 05:37:52 GMT\"0x8D7068B1558FCE5\"2share526462032Fri, 12 Jul 2019 05:37:52 GMT\"0x8D7068B1564BEC5\"2", - "Date" : "Fri, 12 Jul 2019 05:37:51 GMT", + "x-ms-request-id" : "9e60676b-501a-0051-4991-38d167000000", + "Body" : "share64715b0bshare64715b0b0Fri, 12 Jul 2019 09:10:08 GMT\"0x8D706A8BCC7C1B9\"2share64715b0b1Fri, 12 Jul 2019 09:10:08 GMT\"0x8D706A8BCE316FB\"2share64715b0b2Fri, 12 Jul 2019 09:10:09 GMT\"0x8D706A8BD13095F\"2", + "Date" : "Fri, 12 Jul 2019 09:10:09 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share526462030?restype=share", + "Uri" : "https://sima.file.core.windows.net/share64715b0b0?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -141,14 +141,14 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "250bf24d-b01a-0014-3073-380cf6000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:250bf24d-b01a-0014-3073-380cf6000000\nTime:2019-07-12T05:37:52.8551552Z", - "Date" : "Fri, 12 Jul 2019 05:37:51 GMT", + "x-ms-request-id" : "9e60676e-501a-0051-4c91-38d167000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:9e60676e-501a-0051-4c91-38d167000000\nTime:2019-07-12T09:10:10.2985757Z", + "Date" : "Fri, 12 Jul 2019 09:10:09 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share526462031?restype=share", + "Uri" : "https://sima.file.core.windows.net/share64715b0b1?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -159,12 +159,12 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf24e-b01a-0014-3173-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:52 GMT" + "x-ms-request-id" : "9e60676f-501a-0051-4d91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:09 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share526462032?restype=share", + "Uri" : "https://sima.file.core.windows.net/share64715b0b2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -176,11 +176,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "250bf24f-b01a-0014-3273-380cf6000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:250bf24f-b01a-0014-3273-380cf6000000\nTime:2019-07-12T05:37:53.0402859Z", - "Date" : "Fri, 12 Jul 2019 05:37:52 GMT", + "x-ms-request-id" : "9e606770-501a-0051-4e91-38d167000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:9e606770-501a-0051-4e91-38d167000000\nTime:2019-07-12T09:10:10.5397492Z", + "Date" : "Fri, 12 Jul 2019 09:10:09 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share52646203" ] + "variables" : [ "share64715b0b" ] } \ 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 17f53570277b2..f5c515033bc95 100644 --- a/storage/client/file/src/test/resources/session-records/listSharesIncludeSnapshots.json +++ b/storage/client/file/src/test/resources/session-records/listSharesIncludeSnapshots.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share4285165d0?restype=share", + "Uri" : "https://sima.file.core.windows.net/share87821ce90?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,36 +9,36 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B168AAF1B\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:54 GMT", + "ETag" : "\"0x8D706A8BF613674\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf266-b01a-0014-4373-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:53 GMT" + "x-ms-request-id" : "9e606788-501a-0051-5f91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:12 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share4285165d0?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share87821ce90?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-12T05:37:54.0000000Z", + "x-ms-snapshot" : "2019-07-12T09:10:13.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B168AAF1B\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:54 GMT", + "ETag" : "\"0x8D706A8BF613674\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf268-b01a-0014-4473-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:53 GMT" + "x-ms-request-id" : "9e60678a-501a-0051-6091-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:12 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share4285165d1?restype=share", + "Uri" : "https://sima.file.core.windows.net/share87821ce91?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -46,17 +46,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B16A2A845\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:54 GMT", + "ETag" : "\"0x8D706A8BF889BCB\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf269-b01a-0014-4573-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:53 GMT" + "x-ms-request-id" : "9e60678b-501a-0051-6191-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:12 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share4285165d2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share87821ce92?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -64,36 +64,36 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B16ADF4F8\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:54 GMT", + "ETag" : "\"0x8D706A8BF982EF8\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf26b-b01a-0014-4673-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:53 GMT" + "x-ms-request-id" : "9e60678d-501a-0051-6291-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:12 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share4285165d2?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share87821ce92?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-12T05:37:54.0000000Z", + "x-ms-snapshot" : "2019-07-12T09:10:13.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B16ADF4F8\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:54 GMT", + "ETag" : "\"0x8D706A8BF982EF8\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:13 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf26d-b01a-0014-4773-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:53 GMT" + "x-ms-request-id" : "9e606790-501a-0051-6491-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:13 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share4285165d&include=snapshots&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share87821ce9&include=snapshots&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -104,14 +104,14 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf26e-b01a-0014-4873-380cf6000000", - "Body" : "share4285165dshare4285165d02019-07-12T05:37:54.0000000ZFri, 12 Jul 2019 05:37:54 GMT\"0x8D7068B168AAF1B\"2share4285165d0Fri, 12 Jul 2019 05:37:54 GMT\"0x8D7068B168AAF1B\"2share4285165d1Fri, 12 Jul 2019 05:37:54 GMT\"0x8D7068B16A2A845\"2share4285165d22019-07-12T05:37:54.0000000ZFri, 12 Jul 2019 05:37:54 GMT\"0x8D7068B16ADF4F8\"2share4285165d2Fri, 12 Jul 2019 05:37:54 GMT\"0x8D7068B16ADF4F8\"2", - "Date" : "Fri, 12 Jul 2019 05:37:53 GMT", + "x-ms-request-id" : "9e606791-501a-0051-6591-38d167000000", + "Body" : "share87821ce9share87821ce902019-07-12T09:10:13.0000000ZFri, 12 Jul 2019 09:10:13 GMT\"0x8D706A8BF613674\"2share87821ce90Fri, 12 Jul 2019 09:10:13 GMT\"0x8D706A8BF613674\"2share87821ce91Fri, 12 Jul 2019 09:10:13 GMT\"0x8D706A8BF889BCB\"2share87821ce922019-07-12T09:10:13.0000000ZFri, 12 Jul 2019 09:10:13 GMT\"0x8D706A8BF982EF8\"2share87821ce92Fri, 12 Jul 2019 09:10:13 GMT\"0x8D706A8BF982EF8\"2", + "Date" : "Fri, 12 Jul 2019 09:10:13 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share4285165d&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share87821ce9&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -122,14 +122,14 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf26f-b01a-0014-4973-380cf6000000", - "Body" : "share4285165dshare4285165d0Fri, 12 Jul 2019 05:37:54 GMT\"0x8D7068B168AAF1B\"2share4285165d1Fri, 12 Jul 2019 05:37:54 GMT\"0x8D7068B16A2A845\"2share4285165d2Fri, 12 Jul 2019 05:37:54 GMT\"0x8D7068B16ADF4F8\"2", - "Date" : "Fri, 12 Jul 2019 05:37:54 GMT", + "x-ms-request-id" : "9e606792-501a-0051-6691-38d167000000", + "Body" : "share87821ce9share87821ce90Fri, 12 Jul 2019 09:10:13 GMT\"0x8D706A8BF613674\"2share87821ce91Fri, 12 Jul 2019 09:10:13 GMT\"0x8D706A8BF889BCB\"2share87821ce92Fri, 12 Jul 2019 09:10:13 GMT\"0x8D706A8BF982EF8\"2", + "Date" : "Fri, 12 Jul 2019 09:10:13 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share4285165d0?restype=share", + "Uri" : "https://sima.file.core.windows.net/share87821ce90?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -141,14 +141,14 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "250bf270-b01a-0014-4a73-380cf6000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:250bf270-b01a-0014-4a73-380cf6000000\nTime:2019-07-12T05:37:55.0016678Z", - "Date" : "Fri, 12 Jul 2019 05:37:54 GMT", + "x-ms-request-id" : "9e606795-501a-0051-6891-38d167000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:9e606795-501a-0051-6891-38d167000000\nTime:2019-07-12T09:10:14.1873631Z", + "Date" : "Fri, 12 Jul 2019 09:10:13 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share4285165d1?restype=share", + "Uri" : "https://sima.file.core.windows.net/share87821ce91?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -159,12 +159,12 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf271-b01a-0014-4b73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:54 GMT" + "x-ms-request-id" : "9e606796-501a-0051-6991-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:13 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share4285165d2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share87821ce92?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -176,11 +176,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "250bf272-b01a-0014-4c73-380cf6000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:250bf272-b01a-0014-4c73-380cf6000000\nTime:2019-07-12T05:37:55.1497721Z", - "Date" : "Fri, 12 Jul 2019 05:37:54 GMT", + "x-ms-request-id" : "9e606797-501a-0051-6a91-38d167000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:9e606797-501a-0051-6a91-38d167000000\nTime:2019-07-12T09:10:14.5025894Z", + "Date" : "Fri, 12 Jul 2019 09:10:13 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share4285165d" ] + "variables" : [ "share87821ce9" ] } \ 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 157b54d532364..fea7913ea7d72 100644 --- a/storage/client/file/src/test/resources/session-records/listSharesInvalidMaxResults.json +++ b/storage/client/file/src/test/resources/session-records/listSharesInvalidMaxResults.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share58375b42&maxresults=-1&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share32007623&maxresults=-1&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -13,14 +13,14 @@ "retry-after" : "0", "Content-Length" : "461", "StatusCode" : "400", - "x-ms-request-id" : "250bf29c-b01a-0014-6b73-380cf6000000", - "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:250bf29c-b01a-0014-6b73-380cf6000000\nTime:2019-07-12T05:37:57.6415278Zmaxresults-112147483647", - "Date" : "Fri, 12 Jul 2019 05:37:56 GMT", + "x-ms-request-id" : "9e6067ca-501a-0051-0c91-38d167000000", + "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:9e6067ca-501a-0051-0c91-38d167000000\nTime:2019-07-12T09:10:21.6307113Zmaxresults-112147483647", + "Date" : "Fri, 12 Jul 2019 09:10:21 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share58375b42&maxresults=0&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share32007623&maxresults=0&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -32,14 +32,14 @@ "retry-after" : "0", "Content-Length" : "460", "StatusCode" : "400", - "x-ms-request-id" : "250bf29d-b01a-0014-6c73-380cf6000000", - "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:250bf29d-b01a-0014-6c73-380cf6000000\nTime:2019-07-12T05:37:57.7155791Zmaxresults012147483647", - "Date" : "Fri, 12 Jul 2019 05:37:56 GMT", + "x-ms-request-id" : "9e6067cb-501a-0051-0d91-38d167000000", + "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:9e6067cb-501a-0051-0d91-38d167000000\nTime:2019-07-12T09:10:21.7247780Zmaxresults012147483647", + "Date" : "Fri, 12 Jul 2019 09:10:21 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share58375b42&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share32007623&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -50,11 +50,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf29f-b01a-0014-6d73-380cf6000000", - "Body" : "share58375b42", - "Date" : "Fri, 12 Jul 2019 05:37:56 GMT", + "x-ms-request-id" : "9e6067cc-501a-0051-0e91-38d167000000", + "Body" : "share32007623", + "Date" : "Fri, 12 Jul 2019 09:10:21 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share58375b42" ] + "variables" : [ "share32007623" ] } \ 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 e60b4d0d12e0c..5b9ac520077c3 100644 --- a/storage/client/file/src/test/resources/session-records/listSharesWithLimit.json +++ b/storage/client/file/src/test/resources/session-records/listSharesWithLimit.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share326206fc0?restype=share", + "Uri" : "https://sima.file.core.windows.net/share94669ed30?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B145B352D\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:50 GMT", + "ETag" : "\"0x8D706A8BB3FEF52\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf228-b01a-0014-1473-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:49 GMT" + "x-ms-request-id" : "9e606742-501a-0051-2c91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:05 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share326206fc1?restype=share", + "Uri" : "https://sima.file.core.windows.net/share94669ed31?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -27,17 +27,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B14674551\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:50 GMT", + "ETag" : "\"0x8D706A8BB6EF730\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf22c-b01a-0014-1773-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:50 GMT" + "x-ms-request-id" : "9e606745-501a-0051-2d91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:05 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share326206fc2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share94669ed32?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -45,17 +45,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B147291F6\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:50 GMT", + "ETag" : "\"0x8D706A8BB7C8E46\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:06 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf22e-b01a-0014-1873-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:50 GMT" + "x-ms-request-id" : "9e606747-501a-0051-2e91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:06 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share326206fc&maxresults=2&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share94669ed3&maxresults=2&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -66,14 +66,14 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf230-b01a-0014-1973-380cf6000000", - "Body" : "share326206fc2share326206fc0Fri, 12 Jul 2019 05:37:50 GMT\"0x8D7068B145B352D\"2share326206fc1Fri, 12 Jul 2019 05:37:50 GMT\"0x8D7068B14674551\"2/sima/share326206fc2", - "Date" : "Fri, 12 Jul 2019 05:37:50 GMT", + "x-ms-request-id" : "9e60674a-501a-0051-2f91-38d167000000", + "Body" : "share94669ed32share94669ed30Fri, 12 Jul 2019 09:10:06 GMT\"0x8D706A8BB3FEF52\"2share94669ed31Fri, 12 Jul 2019 09:10:06 GMT\"0x8D706A8BB6EF730\"2/sima/share94669ed32", + "Date" : "Fri, 12 Jul 2019 09:10:06 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share326206fc&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share94669ed3&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -84,14 +84,14 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf231-b01a-0014-1a73-380cf6000000", - "Body" : "share326206fcshare326206fc0Fri, 12 Jul 2019 05:37:50 GMT\"0x8D7068B145B352D\"2share326206fc1Fri, 12 Jul 2019 05:37:50 GMT\"0x8D7068B14674551\"2share326206fc2Fri, 12 Jul 2019 05:37:50 GMT\"0x8D7068B147291F6\"2", - "Date" : "Fri, 12 Jul 2019 05:37:50 GMT", + "x-ms-request-id" : "9e60674b-501a-0051-3091-38d167000000", + "Body" : "share94669ed3share94669ed30Fri, 12 Jul 2019 09:10:06 GMT\"0x8D706A8BB3FEF52\"2share94669ed31Fri, 12 Jul 2019 09:10:06 GMT\"0x8D706A8BB6EF730\"2share94669ed32Fri, 12 Jul 2019 09:10:06 GMT\"0x8D706A8BB7C8E46\"2", + "Date" : "Fri, 12 Jul 2019 09:10:06 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share326206fc0?restype=share", + "Uri" : "https://sima.file.core.windows.net/share94669ed30?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -102,12 +102,12 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf232-b01a-0014-1b73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:50 GMT" + "x-ms-request-id" : "9e60674c-501a-0051-3191-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:06 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share326206fc1?restype=share", + "Uri" : "https://sima.file.core.windows.net/share94669ed31?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -118,12 +118,12 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf233-b01a-0014-1c73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:50 GMT" + "x-ms-request-id" : "9e60674e-501a-0051-3391-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:06 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share326206fc2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share94669ed32?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -134,9 +134,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf234-b01a-0014-1d73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:50 GMT" + "x-ms-request-id" : "9e60674f-501a-0051-3491-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:06 GMT" } } ], - "variables" : [ "share326206fc" ] + "variables" : [ "share94669ed3" ] } \ 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 76dd543ccb507..14a0946c6a6ac 100644 --- a/storage/client/file/src/test/resources/session-records/listSharesWithPrefix.json +++ b/storage/client/file/src/test/resources/session-records/listSharesWithPrefix.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share149211dfprefix0?restype=share", + "Uri" : "https://sima.file.core.windows.net/share582053eaprefix0?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B17012CFB\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:55 GMT", + "ETag" : "\"0x8D706A8C0547582\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:14 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf274-b01a-0014-4d73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:54 GMT" + "x-ms-request-id" : "9e606798-501a-0051-6b91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:14 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share149211df1?restype=share", + "Uri" : "https://sima.file.core.windows.net/share582053ea1?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -27,17 +27,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B170CC7D3\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:55 GMT", + "ETag" : "\"0x8D706A8C06E1CC3\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:14 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf276-b01a-0014-4e73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:54 GMT" + "x-ms-request-id" : "9e60679a-501a-0051-6c91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:14 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share149211dfprefix2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share582053eaprefix2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -45,17 +45,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068B17192624\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:37:55 GMT", + "ETag" : "\"0x8D706A8C09DC10A\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:10:15 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf278-b01a-0014-4f73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:54 GMT" + "x-ms-request-id" : "9e60679c-501a-0051-6d91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:14 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share149211dfprefix&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share582053eaprefix&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -66,14 +66,14 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf27a-b01a-0014-5073-380cf6000000", - "Body" : "share149211dfprefixshare149211dfprefix0Fri, 12 Jul 2019 05:37:55 GMT\"0x8D7068B17012CFB\"2share149211dfprefix2Fri, 12 Jul 2019 05:37:55 GMT\"0x8D7068B17192624\"2", - "Date" : "Fri, 12 Jul 2019 05:37:54 GMT", + "x-ms-request-id" : "9e60679f-501a-0051-6e91-38d167000000", + "Body" : "share582053eaprefixshare582053eaprefix0Fri, 12 Jul 2019 09:10:14 GMT\"0x8D706A8C0547582\"2share582053eaprefix2Fri, 12 Jul 2019 09:10:15 GMT\"0x8D706A8C09DC10A\"2", + "Date" : "Fri, 12 Jul 2019 09:10:14 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share149211df&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share582053ea&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -84,14 +84,14 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf27b-b01a-0014-5173-380cf6000000", - "Body" : "share149211dfshare149211df1Fri, 12 Jul 2019 05:37:55 GMT\"0x8D7068B170CC7D3\"2share149211dfprefix0Fri, 12 Jul 2019 05:37:55 GMT\"0x8D7068B17012CFB\"2share149211dfprefix2Fri, 12 Jul 2019 05:37:55 GMT\"0x8D7068B17192624\"2", - "Date" : "Fri, 12 Jul 2019 05:37:54 GMT", + "x-ms-request-id" : "9e6067a0-501a-0051-6f91-38d167000000", + "Body" : "share582053eashare582053ea1Fri, 12 Jul 2019 09:10:14 GMT\"0x8D706A8C06E1CC3\"2share582053eaprefix0Fri, 12 Jul 2019 09:10:14 GMT\"0x8D706A8C0547582\"2share582053eaprefix2Fri, 12 Jul 2019 09:10:15 GMT\"0x8D706A8C09DC10A\"2", + "Date" : "Fri, 12 Jul 2019 09:10:15 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share149211df1?restype=share", + "Uri" : "https://sima.file.core.windows.net/share582053ea1?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -102,12 +102,12 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf27c-b01a-0014-5273-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:54 GMT" + "x-ms-request-id" : "9e6067a1-501a-0051-7091-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:15 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share149211dfprefix0?restype=share", + "Uri" : "https://sima.file.core.windows.net/share582053eaprefix0?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -118,12 +118,12 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf27d-b01a-0014-5373-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:54 GMT" + "x-ms-request-id" : "9e6067a2-501a-0051-7191-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:15 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share149211dfprefix2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share582053eaprefix2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -134,9 +134,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf27e-b01a-0014-5473-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:54 GMT" + "x-ms-request-id" : "9e6067a3-501a-0051-7291-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:15 GMT" } } ], - "variables" : [ "share149211df" ] + "variables" : [ "share582053ea" ] } \ 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 303f078f2f792..1d6108f7ae235 100644 --- a/storage/client/file/src/test/resources/session-records/setFileServiceProperties.json +++ b/storage/client/file/src/test/resources/session-records/setFileServiceProperties.json @@ -12,9 +12,9 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf28c-b01a-0014-5f73-380cf6000000", + "x-ms-request-id" : "9e6067b6-501a-0051-7f91-38d167000000", "Body" : "1.0truetruetrue71.0falsefalse", - "Date" : "Fri, 12 Jul 2019 05:37:55 GMT", + "Date" : "Fri, 12 Jul 2019 09:10:18 GMT", "Content-Type" : "application/xml" } }, { @@ -31,8 +31,8 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf28d-b01a-0014-6073-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:55 GMT" + "x-ms-request-id" : "9e6067b7-501a-0051-8091-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:19 GMT" } }, { "Method" : "GET", @@ -47,9 +47,9 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf292-b01a-0014-6173-380cf6000000", + "x-ms-request-id" : "9e6067bc-501a-0051-0191-38d167000000", "Body" : "1.0truefalsetrue31.0truefalsetrue3", - "Date" : "Fri, 12 Jul 2019 05:37:55 GMT", + "Date" : "Fri, 12 Jul 2019 09:10:19 GMT", "Content-Type" : "application/xml" } }, { @@ -66,8 +66,8 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf293-b01a-0014-6273-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:37:56 GMT" + "x-ms-request-id" : "9e6067bd-501a-0051-0291-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:10:19 GMT" } }, { "Method" : "GET", @@ -82,14 +82,14 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf294-b01a-0014-6373-380cf6000000", + "x-ms-request-id" : "9e6067be-501a-0051-0391-38d167000000", "Body" : "1.0truetruetrue71.0falsefalse", - "Date" : "Fri, 12 Jul 2019 05:37:56 GMT", + "Date" : "Fri, 12 Jul 2019 09:10:19 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share571099ca&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share35516f66&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -100,11 +100,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf295-b01a-0014-6473-380cf6000000", - "Body" : "share571099ca", - "Date" : "Fri, 12 Jul 2019 05:37:56 GMT", + "x-ms-request-id" : "9e6067bf-501a-0051-0491-38d167000000", + "Body" : "share35516f66", + "Date" : "Fri, 12 Jul 2019 09:10:20 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share571099ca" ] + "variables" : [ "share35516f66" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setHttpHeaders.json b/storage/client/file/src/test/resources/session-records/setHttpHeaders.json deleted file mode 100644 index d4bfc00533e5e..0000000000000 --- a/storage/client/file/src/test/resources/session-records/setHttpHeaders.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagefiletests/testdir%2ffile94869df7", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D6F5A65F955A5D\"", - "Last-Modified" : "Thu, 20 Jun 2019 17:40:23 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "71f96543-601a-0016-058f-270e0c000000", - "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 20 Jun 2019 17:40:22 GMT" - } - }, { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagefiletests/testdir%2ffile94869df7?comp=properties", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D6F5A65FC217BE\"", - "Last-Modified" : "Thu, 20 Jun 2019 17:40:23 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "200", - "x-ms-request-id" : "bcd6ee09-d01a-000f-248f-272264000000", - "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 20 Jun 2019 17:40:23 GMT" - } - } ], - "variables" : [ "file94869df7" ] -} \ 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 ae146d0d4b4f9..b05531ac80c8b 100644 --- a/storage/client/file/src/test/resources/session-records/setHttpHeadersFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/setHttpHeadersFromFileClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile57853b77", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile40907d4d", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A60ADD206\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:49 GMT", + "ETag" : "\"0x8D706A7FFF48161\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:04:51 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250beef9-b01a-0014-7c73-380cf6000000", + "x-ms-request-id" : "9e6063ca-501a-0051-6290-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:32:48 GMT" + "Date" : "Fri, 12 Jul 2019 09:04:51 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile57853b77?comp=properties", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile40907d4d?comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -28,15 +28,15 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A60C13685\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:49 GMT", + "ETag" : "\"0x8D706A8000106D3\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:04:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250beefc-b01a-0014-7d73-380cf6000000", + "x-ms-request-id" : "9e6063cc-501a-0051-6390-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:32:48 GMT" + "Date" : "Fri, 12 Jul 2019 09:04:52 GMT" } } ], - "variables" : [ "file57853b77" ] + "variables" : [ "file40907d4d" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setMeatadata.json b/storage/client/file/src/test/resources/session-records/setMeatadata.json deleted file mode 100644 index 97e22b15c5580..0000000000000 --- a/storage/client/file/src/test/resources/session-records/setMeatadata.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagefiletests/testdir%2ffile2292528c", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D6F5A6617BFE98\"", - "Last-Modified" : "Thu, 20 Jun 2019 17:40:26 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "6d665809-f01a-009b-598f-2742aa000000", - "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 20 Jun 2019 17:40:26 GMT" - } - }, { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagefiletests/testdir%2ffile2292528c?comp=metadata", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D6F5A661A73511\"", - "Last-Modified" : "Thu, 20 Jun 2019 17:40:27 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "200", - "x-ms-request-id" : "4aae3050-701a-004d-798f-270970000000", - "x-ms-request-server-encrypted" : "true", - "Date" : "Thu, 20 Jun 2019 17:40:26 GMT" - } - } ], - "variables" : [ "file2292528c" ] -} \ 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 5022c943062e8..c74a9d4df1c02 100644 --- a/storage/client/file/src/test/resources/session-records/setMeatadataFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/setMeatadataFromFileClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile72926176", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile60753c7f", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A60F261B4\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:49 GMT", + "ETag" : "\"0x8D706A800267007\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:04:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bef01-b01a-0014-8073-380cf6000000", + "x-ms-request-id" : "9e6063cf-501a-0051-6690-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:32:49 GMT" + "Date" : "Fri, 12 Jul 2019 09:04:52 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile72926176?comp=metadata", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile60753c7f?comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -28,15 +28,15 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A61026A39\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:49 GMT", + "ETag" : "\"0x8D706A80032F570\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:04:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bef03-b01a-0014-0173-380cf6000000", + "x-ms-request-id" : "9e6063d0-501a-0051-6790-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:32:49 GMT" + "Date" : "Fri, 12 Jul 2019 09:04:52 GMT" } } ], - "variables" : [ "file72926176" ] + "variables" : [ "file60753c7f" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setMetadata.json b/storage/client/file/src/test/resources/session-records/setMetadata.json deleted file mode 100644 index dd60d1f821d5d..0000000000000 --- a/storage/client/file/src/test/resources/session-records/setMetadata.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share29589a46?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:44 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:15:44 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F37157BD6637\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b3873e-601a-0035-0f5a-25617e000000" - } - }, { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share29589a46?restype=share&comp=metadata", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:44 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:15:44 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F37157C28750\"", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-request-id" : "b1b38740-601a-0035-105a-25617e000000" - } - }, { - "Method" : "GET", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share29589a46?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:44 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-has-legal-hold" : "false", - "last-modified" : "Mon, 17 Jun 2019 22:15:44 GMT", - "x-ms-share-quota" : "5120", - "x-ms-has-immutability-policy" : "false", - "etag" : "\"0x8D6F37157C28750\"", - "x-ms-meta-setting" : "metadata", - "x-ms-request-id" : "b1b38741-601a-0035-115a-25617e000000" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share29589a46?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:44 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "b1b38742-601a-0035-125a-25617e000000" - } - } ], - "variables" : [ "share29589a46" ] -} diff --git a/storage/client/file/src/test/resources/session-records/setMetadataDoesNotExist.json b/storage/client/file/src/test/resources/session-records/setMetadataDoesNotExist.json deleted file mode 100644 index e0de33573d2d1..0000000000000 --- a/storage/client/file/src/test/resources/session-records/setMetadataDoesNotExist.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share93320145?restype=share&comp=metadata", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:44 GMT", - "content-length" : "217", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareNotFound", - "retry-after" : "0", - "StatusCode" : "404", - "x-ms-request-id" : "b1b38751-601a-0035-1d5a-25617e000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:b1b38751-601a-0035-1d5a-25617e000000\nTime:2019-06-17T22:15:45.3262827Z" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share93320145?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:44 GMT", - "content-length" : "217", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareNotFound", - "retry-after" : "0", - "StatusCode" : "404", - "x-ms-request-id" : "b1b38752-601a-0035-1e5a-25617e000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:b1b38752-601a-0035-1e5a-25617e000000\nTime:2019-06-17T22:15:45.3563116Z" - } - } ], - "variables" : [ "share93320145" ] -} \ 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 8b90acc9d54c2..0aebb34282bc2 100644 --- a/storage/client/file/src/test/resources/session-records/setMetadataDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/setMetadataDoesNotExistFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share4744046f?restype=share&comp=metadata", + "Uri" : "https://sima.file.core.windows.net/share30259dea?restype=share&comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -13,14 +13,14 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250bf071-b01a-0014-2f73-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250bf071-b01a-0014-2f73-380cf6000000\nTime:2019-07-12T05:35:18.2416522Z", - "Date" : "Fri, 12 Jul 2019 05:35:17 GMT", + "x-ms-request-id" : "9e60654a-501a-0051-2291-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e60654a-501a-0051-2291-38d167000000\nTime:2019-07-12T09:07:21.4113794Z", + "Date" : "Fri, 12 Jul 2019 09:07:21 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share4744046f?restype=share", + "Uri" : "https://sima.file.core.windows.net/share30259dea?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250bf072-b01a-0014-3073-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250bf072-b01a-0014-3073-380cf6000000\nTime:2019-07-12T05:35:18.3177063Z", - "Date" : "Fri, 12 Jul 2019 05:35:17 GMT", + "x-ms-request-id" : "9e60654b-501a-0051-2391-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e60654b-501a-0051-2391-38d167000000\nTime:2019-07-12T09:07:21.4844316Z", + "Date" : "Fri, 12 Jul 2019 09:07:21 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share4744046f" ] + "variables" : [ "share30259dea" ] } \ 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 1dc99e63a2611..0606201e3f94c 100644 --- a/storage/client/file/src/test/resources/session-records/setMetadataFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/setMetadataFromDirClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory167061?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory546723?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADC6682ED\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:16 GMT", + "ETag" : "\"0x8D706A88190EBE2\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf173-b01a-0014-5273-380cf6000000", + "x-ms-request-id" : "9e60666a-501a-0051-4e91-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:16 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:28 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory167061?restype=directory&comp=metadata", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory546723?restype=directory&comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -28,15 +28,15 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADC71CFA1\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:16 GMT", + "ETag" : "\"0x8D706A8819F6D80\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf174-b01a-0014-5373-380cf6000000", + "x-ms-request-id" : "9e60666b-501a-0051-4f91-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:16 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:29 GMT" } } ], - "variables" : [ "directory167061" ] + "variables" : [ "directory546723" ] } \ 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 328c8b96aa51a..6620aaabefcb2 100644 --- a/storage/client/file/src/test/resources/session-records/setMetadataFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/setMetadataFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share3678572d?restype=share", + "Uri" : "https://sima.file.core.windows.net/share435859e2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9D001BB8\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:30 GMT", + "ETag" : "\"0x8D706A83CA60CC8\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf002-b01a-0014-0173-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:29 GMT" + "x-ms-request-id" : "9e6064e2-501a-0051-7191-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:33 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share3678572d?restype=share&comp=metadata", + "Uri" : "https://sima.file.core.windows.net/share435859e2?restype=share&comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -27,17 +27,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9D0E077F\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:30 GMT", + "ETag" : "\"0x8D706A83CB36735\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:33 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf004-b01a-0014-0273-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:29 GMT" + "x-ms-request-id" : "9e6064e4-501a-0051-7291-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:33 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share3678572d?restype=share", + "Uri" : "https://sima.file.core.windows.net/share435859e2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -45,21 +45,21 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:30 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:33 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 12 Jul 2019 05:34:30 GMT", + "Date" : "Fri, 12 Jul 2019 09:06:33 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "5120", - "ETag" : "\"0x8D7068A9D0E077F\"", + "ETag" : "\"0x8D706A83CB36735\"", "x-ms-has-immutability-policy" : "false", "x-ms-meta-setting" : "metadata", "Content-Length" : "0", - "x-ms-request-id" : "250bf005-b01a-0014-0373-380cf6000000" + "x-ms-request-id" : "9e6064e5-501a-0051-7391-38d167000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share3678572d?restype=share", + "Uri" : "https://sima.file.core.windows.net/share435859e2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -70,9 +70,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf006-b01a-0014-0473-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:30 GMT" + "x-ms-request-id" : "9e6064e6-501a-0051-7491-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:33 GMT" } } ], - "variables" : [ "share3678572d" ] + "variables" : [ "share435859e2" ] } \ 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 794b395d65f37..9edaa07b3f875 100644 --- a/storage/client/file/src/test/resources/session-records/setMetadataInvalidKeyFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/setMetadataInvalidKeyFromDirClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory36059d?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory05393b?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ADC4A1C1C\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:36:16 GMT", + "ETag" : "\"0x8D706A881472B24\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:08:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf171-b01a-0014-5073-380cf6000000", + "x-ms-request-id" : "9e606667-501a-0051-4c91-38d167000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:36:15 GMT" + "Date" : "Fri, 12 Jul 2019 09:08:28 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory36059d?restype=directory&comp=metadata", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory05393b?restype=directory&comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "260", "StatusCode" : "400", - "x-ms-request-id" : "250bf172-b01a-0014-5173-380cf6000000", - "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:250bf172-b01a-0014-5173-380cf6000000\nTime:2019-07-12T05:36:16.8312370Z", - "Date" : "Fri, 12 Jul 2019 05:36:16 GMT", + "x-ms-request-id" : "9e606669-501a-0051-4d91-38d167000000", + "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:9e606669-501a-0051-4d91-38d167000000\nTime:2019-07-12T09:08:29.2080331Z", + "Date" : "Fri, 12 Jul 2019 09:08:28 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "directory36059d" ] + "variables" : [ "directory05393b" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setMetadataInvalidMetadata.json b/storage/client/file/src/test/resources/session-records/setMetadataInvalidMetadata.json deleted file mode 100644 index 37ee6483dab0e..0000000000000 --- a/storage/client/file/src/test/resources/session-records/setMetadataInvalidMetadata.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share522035a2?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:44 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:15:44 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F37157804E18\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b38730-601a-0035-055a-25617e000000" - } - }, { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share522035a2?restype=share&comp=metadata", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:44 GMT", - "content-length" : "281", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "EmptyMetadataKey", - "retry-after" : "0", - "StatusCode" : "400", - "x-ms-request-id" : "b1b38732-601a-0035-065a-25617e000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:b1b38732-601a-0035-065a-25617e000000\nTime:2019-06-17T22:15:44.4734618Zmetadata" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share522035a2?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:44 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "b1b38733-601a-0035-075a-25617e000000" - } - } ], - "variables" : [ "share522035a2" ] -} \ 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 dae5facef09c7..5834f8075b34e 100644 --- a/storage/client/file/src/test/resources/session-records/setMetadataInvalidMetadataFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/setMetadataInvalidMetadataFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share30913c3f?restype=share", + "Uri" : "https://sima.file.core.windows.net/share24512bd9?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ABAEAE531\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:20 GMT", + "ETag" : "\"0x8D706A85A93F35C\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:24 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf09f-b01a-0014-4c73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:20 GMT" + "x-ms-request-id" : "9e606572-501a-0051-3f91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:23 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share30913c3f?restype=share&comp=metadata", + "Uri" : "https://sima.file.core.windows.net/share24512bd9?restype=share&comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -31,14 +31,14 @@ "retry-after" : "0", "Content-Length" : "281", "StatusCode" : "400", - "x-ms-request-id" : "250bf0a1-b01a-0014-4d73-380cf6000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:250bf0a1-b01a-0014-4d73-380cf6000000\nTime:2019-07-12T05:35:20.8194855Zmetadata", - "Date" : "Fri, 12 Jul 2019 05:35:20 GMT", + "x-ms-request-id" : "9e606574-501a-0051-4091-38d167000000", + "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:9e606574-501a-0051-4091-38d167000000\nTime:2019-07-12T09:07:24.0872980Zmetadata", + "Date" : "Fri, 12 Jul 2019 09:07:23 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share30913c3f?restype=share", + "Uri" : "https://sima.file.core.windows.net/share24512bd9?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf0a2-b01a-0014-4e73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:20 GMT" + "x-ms-request-id" : "9e606575-501a-0051-4191-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:23 GMT" } } ], - "variables" : [ "share30913c3f" ] + "variables" : [ "share24512bd9" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setMetadataNull.json b/storage/client/file/src/test/resources/session-records/setMetadataNull.json deleted file mode 100644 index 6d56f4442f4dd..0000000000000 --- a/storage/client/file/src/test/resources/session-records/setMetadataNull.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory559290?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:16:10 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:16:11 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F37167575785\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b0f49fc6-801a-001c-065a-251785000000", - "x-ms-request-server-encrypted" : "true" - } - }, { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory559290?restype=directory&comp=metadata", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:16:10 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:16:11 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F3716776A516\"", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-request-id" : "092319c7-401a-0023-445a-25a059000000", - "x-ms-request-server-encrypted" : "true" - } - } ], - "variables" : [ "directory559290" ] -} \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setMetadataNullFromDirClient.json b/storage/client/file/src/test/resources/session-records/setMetadataNullFromDirClient.json deleted file mode 100644 index 61c4d9ccf120b..0000000000000 --- a/storage/client/file/src/test/resources/session-records/setMetadataNullFromDirClient.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory346100?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D6F6DD523AE1A5\"", - "Last-Modified" : "Sat, 22 Jun 2019 06:46:14 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "c7278df9-801a-009f-21c6-28b728000000", - "x-ms-request-server-encrypted" : "true", - "Date" : "Sat, 22 Jun 2019 06:46:14 GMT" - } - }, { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/storagetests/directory346100?restype=directory&comp=metadata", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D6F6DD5255C18C\"", - "Last-Modified" : "Sat, 22 Jun 2019 06:46:14 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "200", - "x-ms-request-id" : "c7278dfc-801a-009f-24c6-28b728000000", - "x-ms-request-server-encrypted" : "true", - "Date" : "Sat, 22 Jun 2019 06:46:14 GMT" - } - } ], - "variables" : [ "directory346100" ] -} \ 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 fcc7732662fbb..3e51ccb38d331 100644 --- a/storage/client/file/src/test/resources/session-records/setPolicies.json +++ b/storage/client/file/src/test/resources/session-records/setPolicies.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share687289af?restype=share", + "Uri" : "https://sima.file.core.windows.net/share754464b7?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A99FD733A\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:25 GMT", + "ETag" : "\"0x8D706A83990E8EE\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250befb8-b01a-0014-4b73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:24 GMT" + "x-ms-request-id" : "9e60648a-501a-0051-3b91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:28 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share687289af?restype=share&comp=acl", + "Uri" : "https://sima.file.core.windows.net/share754464b7?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", @@ -28,17 +28,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9A1599E4\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:25 GMT", + "ETag" : "\"0x8D706A839A65C99\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250befba-b01a-0014-4c73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:25 GMT" + "x-ms-request-id" : "9e60648c-501a-0051-3c91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:28 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share687289af?restype=share&comp=acl", + "Uri" : "https://sima.file.core.windows.net/share754464b7?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -47,18 +47,18 @@ "Transfer-Encoding" : "chunked", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9A1599E4\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:25 GMT", + "ETag" : "\"0x8D706A839A65C99\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:28 GMT", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250befbb-b01a-0014-4d73-380cf6000000", + "x-ms-request-id" : "9e60648e-501a-0051-3d91-38d167000000", "Body" : "test2000-01-01T00:00:00.0000000Z2020-01-01T00:00:00.0000000Zr", - "Date" : "Fri, 12 Jul 2019 05:34:25 GMT", + "Date" : "Fri, 12 Jul 2019 09:06:28 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share687289af?restype=share", + "Uri" : "https://sima.file.core.windows.net/share754464b7?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -69,9 +69,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250befbc-b01a-0014-4e73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:25 GMT" + "x-ms-request-id" : "9e60648f-501a-0051-3e91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:28 GMT" } } ], - "variables" : [ "share687289af" ] + "variables" : [ "share754464b7" ] } \ 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 a5124ffb86e54..d4fb277f691e2 100644 --- a/storage/client/file/src/test/resources/session-records/setPoliciesDoesNotExist.json +++ b/storage/client/file/src/test/resources/session-records/setPoliciesDoesNotExist.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share819541b8?restype=share&comp=acl", + "Uri" : "https://sima.file.core.windows.net/share56264675?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", @@ -14,14 +14,14 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250beff7-b01a-0014-7973-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250beff7-b01a-0014-7973-380cf6000000\nTime:2019-07-12T05:34:29.8302972Z", - "Date" : "Fri, 12 Jul 2019 05:34:29 GMT", + "x-ms-request-id" : "9e6064d6-501a-0051-6991-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e6064d6-501a-0051-6991-38d167000000\nTime:2019-07-12T09:06:32.9305884Z", + "Date" : "Fri, 12 Jul 2019 09:06:32 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share819541b8?restype=share", + "Uri" : "https://sima.file.core.windows.net/share56264675?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -33,11 +33,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250beff9-b01a-0014-7a73-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250beff9-b01a-0014-7a73-380cf6000000\nTime:2019-07-12T05:34:29.9053499Z", - "Date" : "Fri, 12 Jul 2019 05:34:29 GMT", + "x-ms-request-id" : "9e6064d8-501a-0051-6a91-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e6064d8-501a-0051-6a91-38d167000000\nTime:2019-07-12T09:06:33.0166498Z", + "Date" : "Fri, 12 Jul 2019 09:06:32 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share819541b8" ] + "variables" : [ "share56264675" ] } \ 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 51af79679147f..c888277b7accd 100644 --- a/storage/client/file/src/test/resources/session-records/setPoliciesInvalidPermission.json +++ b/storage/client/file/src/test/resources/session-records/setPoliciesInvalidPermission.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share414484c6?restype=share", + "Uri" : "https://sima.file.core.windows.net/share1364683e?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068AB900E481\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:17 GMT", + "ETag" : "\"0x8D706A85898B0B9\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:20 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf058-b01a-0014-2573-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:16 GMT" + "x-ms-request-id" : "9e60653d-501a-0051-1a91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:20 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share414484c6?restype=share&comp=acl", + "Uri" : "https://sima.file.core.windows.net/share1364683e?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", @@ -32,14 +32,14 @@ "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "250bf05a-b01a-0014-2673-380cf6000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:250bf05a-b01a-0014-2673-380cf6000000\nTime:2019-07-12T05:35:17.6132067Z00", - "Date" : "Fri, 12 Jul 2019 05:35:16 GMT", + "x-ms-request-id" : "9e60653f-501a-0051-1b91-38d167000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:9e60653f-501a-0051-1b91-38d167000000\nTime:2019-07-12T09:07:20.7659189Z00", + "Date" : "Fri, 12 Jul 2019 09:07:20 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share414484c6?restype=share", + "Uri" : "https://sima.file.core.windows.net/share1364683e?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -50,9 +50,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf05b-b01a-0014-2773-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:16 GMT" + "x-ms-request-id" : "9e606540-501a-0051-1c91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:20 GMT" } } ], - "variables" : [ "share414484c6" ] + "variables" : [ "share1364683e" ] } \ 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 24c664ae2134d..ef59c80f001be 100644 --- a/storage/client/file/src/test/resources/session-records/setPoliciesTooManyPermissions.json +++ b/storage/client/file/src/test/resources/session-records/setPoliciesTooManyPermissions.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share951265fc?restype=share", + "Uri" : "https://sima.file.core.windows.net/share77987bd3?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9B6D4BC1\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:27 GMT", + "ETag" : "\"0x8D706A83B01D38D\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250befd9-b01a-0014-6373-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:27 GMT" + "x-ms-request-id" : "9e6064ab-501a-0051-5391-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:30 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share951265fc?restype=share&comp=acl", + "Uri" : "https://sima.file.core.windows.net/share77987bd3?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", @@ -32,14 +32,14 @@ "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "250befdb-b01a-0014-6473-380cf6000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:250befdb-b01a-0014-6473-380cf6000000\nTime:2019-07-12T05:34:27.9949931Z00", - "Date" : "Fri, 12 Jul 2019 05:34:27 GMT", + "x-ms-request-id" : "9e6064ad-501a-0051-5491-38d167000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:9e6064ad-501a-0051-5491-38d167000000\nTime:2019-07-12T09:06:31.1252915Z00", + "Date" : "Fri, 12 Jul 2019 09:06:30 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share951265fc?restype=share", + "Uri" : "https://sima.file.core.windows.net/share77987bd3?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -50,9 +50,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250befdc-b01a-0014-6573-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:27 GMT" + "x-ms-request-id" : "9e6064ae-501a-0051-5591-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:30 GMT" } } ], - "variables" : [ "share951265fc" ] + "variables" : [ "share77987bd3" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setProperties.json b/storage/client/file/src/test/resources/session-records/setProperties.json deleted file mode 100644 index 56c6b3ec050cc..0000000000000 --- a/storage/client/file/src/test/resources/session-records/setProperties.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share99036ab0?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:42 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:15:42 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F371567C32A0\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b386ff-601a-0035-615a-25617e000000" - } - }, { - "Method" : "GET", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share99036ab0?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:42 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:15:42 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "x-ms-share-quota" : "2", - "x-ms-has-immutability-policy" : "false", - "etag" : "\"0x8D6F371567C32A0\"", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-request-id" : "b1b38702-601a-0035-625a-25617e000000", - "x-ms-has-legal-hold" : "false" - } - }, { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share99036ab0?restype=share&comp=properties", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:42 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:15:42 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F37156859B32\"", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-request-id" : "b1b38703-601a-0035-635a-25617e000000" - } - }, { - "Method" : "GET", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share99036ab0?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:42 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:15:42 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "x-ms-share-quota" : "4", - "x-ms-has-immutability-policy" : "false", - "etag" : "\"0x8D6F37156859B32\"", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-request-id" : "b1b38704-601a-0035-645a-25617e000000", - "x-ms-has-legal-hold" : "false" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share99036ab0?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:42 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "b1b38706-601a-0035-655a-25617e000000" - } - } ], - "variables" : [ "share99036ab0" ] -} \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setPropertiesDoesNotExist.json b/storage/client/file/src/test/resources/session-records/setPropertiesDoesNotExist.json deleted file mode 100644 index 9ee800177d342..0000000000000 --- a/storage/client/file/src/test/resources/session-records/setPropertiesDoesNotExist.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share60759824?restype=share&comp=properties", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:43 GMT", - "content-length" : "217", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareNotFound", - "retry-after" : "0", - "StatusCode" : "404", - "x-ms-request-id" : "b1b3872d-601a-0035-025a-25617e000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:b1b3872d-601a-0035-025a-25617e000000\nTime:2019-06-17T22:15:44.3483410Z" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share60759824?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:43 GMT", - "content-length" : "217", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "ShareNotFound", - "retry-after" : "0", - "StatusCode" : "404", - "x-ms-request-id" : "b1b3872f-601a-0035-045a-25617e000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:b1b3872f-601a-0035-045a-25617e000000\nTime:2019-06-17T22:15:44.3813729Z" - } - } ], - "variables" : [ "share60759824" ] -} \ 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 d9ac0830cbe10..a6d46881ceb70 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesDoesNotExistFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share20839ad3?restype=share&comp=properties", + "Uri" : "https://sima.file.core.windows.net/share75837868?restype=share&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -13,14 +13,14 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250bf097-b01a-0014-4573-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250bf097-b01a-0014-4573-380cf6000000\nTime:2019-07-12T05:35:20.1840327Z", - "Date" : "Fri, 12 Jul 2019 05:35:19 GMT", + "x-ms-request-id" : "9e606569-501a-0051-3891-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e606569-501a-0051-3891-38d167000000\nTime:2019-07-12T09:07:23.4128135Z", + "Date" : "Fri, 12 Jul 2019 09:07:23 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share20839ad3?restype=share", + "Uri" : "https://sima.file.core.windows.net/share75837868?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250bf098-b01a-0014-4673-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250bf098-b01a-0014-4673-380cf6000000\nTime:2019-07-12T05:35:20.2580849Z", - "Date" : "Fri, 12 Jul 2019 05:35:19 GMT", + "x-ms-request-id" : "9e60656a-501a-0051-3991-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e60656a-501a-0051-3991-38d167000000\nTime:2019-07-12T09:07:23.4878685Z", + "Date" : "Fri, 12 Jul 2019 09:07:23 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share20839ad3" ] + "variables" : [ "share75837868" ] } \ 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 e6e253c00a61e..9b638ab13b46f 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share95952a12?restype=share", + "Uri" : "https://sima.file.core.windows.net/share29614e7a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ABAAF30E6\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:20 GMT", + "ETag" : "\"0x8D706A85A524A72\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:23 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf099-b01a-0014-4773-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:19 GMT" + "x-ms-request-id" : "9e60656b-501a-0051-3a91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:23 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share95952a12?restype=share", + "Uri" : "https://sima.file.core.windows.net/share29614e7a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -28,19 +28,19 @@ "x-ms-version" : "2018-11-09", "x-ms-share-quota" : "2", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ABAAF30E6\"", + "ETag" : "\"0x8D706A85A524A72\"", "x-ms-has-immutability-policy" : "false", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:20 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:23 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf09b-b01a-0014-4873-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:19 GMT", + "x-ms-request-id" : "9e60656d-501a-0051-3b91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:23 GMT", "x-ms-has-legal-hold" : "false" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share95952a12?restype=share&comp=properties", + "Uri" : "https://sima.file.core.windows.net/share29614e7a?restype=share&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -48,17 +48,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ABAC78094\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:20 GMT", + "ETag" : "\"0x8D706A85A712654\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:23 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf09c-b01a-0014-4973-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:19 GMT" + "x-ms-request-id" : "9e60656e-501a-0051-3c91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:23 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share95952a12?restype=share", + "Uri" : "https://sima.file.core.windows.net/share29614e7a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -67,19 +67,19 @@ "x-ms-version" : "2018-11-09", "x-ms-share-quota" : "4", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ABAC78094\"", + "ETag" : "\"0x8D706A85A712654\"", "x-ms-has-immutability-policy" : "false", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:20 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:23 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf09d-b01a-0014-4a73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:19 GMT", + "x-ms-request-id" : "9e606570-501a-0051-3d91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:23 GMT", "x-ms-has-legal-hold" : "false" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share95952a12?restype=share", + "Uri" : "https://sima.file.core.windows.net/share29614e7a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -90,9 +90,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250bf09e-b01a-0014-4b73-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:19 GMT" + "x-ms-request-id" : "9e606571-501a-0051-3e91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:23 GMT" } } ], - "variables" : [ "share95952a12" ] + "variables" : [ "share29614e7a" ] } \ 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 241e0726a545d..a6e981a4ddc41 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedHeader.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedHeader.json @@ -14,14 +14,14 @@ "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "250bf27f-b01a-0014-5573-380cf6000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:250bf27f-b01a-0014-5573-380cf6000000\nTime:2019-07-12T05:37:55.9023024Z00", - "Date" : "Fri, 12 Jul 2019 05:37:55 GMT", + "x-ms-request-id" : "9e6067a4-501a-0051-7391-38d167000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:9e6067a4-501a-0051-7391-38d167000000\nTime:2019-07-12T09:10:16.1797938Z00", + "Date" : "Fri, 12 Jul 2019 09:10:15 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share75249c9d&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share744119c3&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -32,11 +32,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf280-b01a-0014-5673-380cf6000000", - "Body" : "share75249c9d", - "Date" : "Fri, 12 Jul 2019 05:37:55 GMT", + "x-ms-request-id" : "9e6067a6-501a-0051-7491-38d167000000", + "Body" : "share744119c3", + "Date" : "Fri, 12 Jul 2019 09:10:15 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share75249c9d" ] + "variables" : [ "share744119c3" ] } \ 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 2e7fb67a8574d..5fe78787c4f90 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedMethod.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedMethod.json @@ -14,14 +14,14 @@ "retry-after" : "0", "Content-Length" : "340", "StatusCode" : "400", - "x-ms-request-id" : "250bf296-b01a-0014-6573-380cf6000000", - "Body" : "InvalidXmlNodeValueThe value for one of the XML nodes is not in the correct format.\nRequestId:250bf296-b01a-0014-6573-380cf6000000\nTime:2019-07-12T05:37:57.1651917ZAllowedMethodsNOTAREALHTTPMETHOD", - "Date" : "Fri, 12 Jul 2019 05:37:56 GMT", + "x-ms-request-id" : "9e6067c0-501a-0051-0591-38d167000000", + "Body" : "InvalidXmlNodeValueThe value for one of the XML nodes is not in the correct format.\nRequestId:9e6067c0-501a-0051-0591-38d167000000\nTime:2019-07-12T09:10:20.7480768ZAllowedMethodsNOTAREALHTTPMETHOD", + "Date" : "Fri, 12 Jul 2019 09:10:20 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share735237df&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share50838901&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -32,11 +32,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf297-b01a-0014-6673-380cf6000000", - "Body" : "share735237df", - "Date" : "Fri, 12 Jul 2019 05:37:56 GMT", + "x-ms-request-id" : "9e6067c1-501a-0051-0691-38d167000000", + "Body" : "share50838901", + "Date" : "Fri, 12 Jul 2019 09:10:20 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share735237df" ] + "variables" : [ "share50838901" ] } \ 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 14fa7f61ebd82..ccb7df260175d 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedOrigin.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedOrigin.json @@ -14,14 +14,14 @@ "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "250bf298-b01a-0014-6773-380cf6000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:250bf298-b01a-0014-6773-380cf6000000\nTime:2019-07-12T05:37:57.3182998Z00", - "Date" : "Fri, 12 Jul 2019 05:37:56 GMT", + "x-ms-request-id" : "9e6067c4-501a-0051-0891-38d167000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:9e6067c4-501a-0051-0891-38d167000000\nTime:2019-07-12T09:10:21.1683783Z00", + "Date" : "Fri, 12 Jul 2019 09:10:20 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share86231545&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share8940872f&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -32,11 +32,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf299-b01a-0014-6873-380cf6000000", - "Body" : "share86231545", - "Date" : "Fri, 12 Jul 2019 05:37:56 GMT", + "x-ms-request-id" : "9e6067c6-501a-0051-0991-38d167000000", + "Body" : "share8940872f", + "Date" : "Fri, 12 Jul 2019 09:10:20 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share86231545" ] + "variables" : [ "share8940872f" ] } \ 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 6c68a0d1116a6..01b01b5127fbe 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidExposedHeader.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidExposedHeader.json @@ -14,14 +14,14 @@ "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "250bf29a-b01a-0014-6973-380cf6000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:250bf29a-b01a-0014-6973-380cf6000000\nTime:2019-07-12T05:37:57.4804140Z00", - "Date" : "Fri, 12 Jul 2019 05:37:56 GMT", + "x-ms-request-id" : "9e6067c7-501a-0051-0a91-38d167000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:9e6067c7-501a-0051-0a91-38d167000000\nTime:2019-07-12T09:10:21.4095522Z00", + "Date" : "Fri, 12 Jul 2019 09:10:20 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share59431047&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share31251388&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -32,11 +32,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf29b-b01a-0014-6a73-380cf6000000", - "Body" : "share59431047", - "Date" : "Fri, 12 Jul 2019 05:37:56 GMT", + "x-ms-request-id" : "9e6067c8-501a-0051-0b91-38d167000000", + "Body" : "share31251388", + "Date" : "Fri, 12 Jul 2019 09:10:20 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share59431047" ] + "variables" : [ "share31251388" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidQuota.json b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidQuota.json deleted file mode 100644 index 3cf76abec77f1..0000000000000 --- a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidQuota.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share19138cb7?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:45 GMT", - "content-length" : "0", - "last-modified" : "Mon, 17 Jun 2019 22:15:45 GMT", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "etag" : "\"0x8D6F371581D9F3D\"", - "retry-after" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "b1b38755-601a-0035-205a-25617e000000" - } - }, { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share19138cb7?restype=share&comp=properties", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:45 GMT", - "content-length" : "324", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "InvalidHeaderValue", - "retry-after" : "0", - "StatusCode" : "400", - "x-ms-request-id" : "b1b38757-601a-0035-215a-25617e000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:b1b38757-601a-0035-215a-25617e000000\nTime:2019-06-17T22:15:45.5034527Zx-ms-share-quota-1" - } - }, { - "Method" : "PUT", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share19138cb7?restype=share&comp=properties", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:45 GMT", - "content-length" : "326", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "content-type" : "application/xml", - "x-ms-error-code" : "InvalidHeaderValue", - "retry-after" : "0", - "StatusCode" : "400", - "x-ms-request-id" : "b1b38758-601a-0035-225a-25617e000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:b1b38758-601a-0035-225a-25617e000000\nTime:2019-06-17T22:15:45.5354835Zx-ms-share-quota9999" - } - }, { - "Method" : "DELETE", - "Uri" : "https://alzimmerstorage.file.core.windows.net/share19138cb7?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 11.0.2; Windows 10 10.0" - }, - "Response" : { - "date" : "Mon, 17 Jun 2019 22:15:45 GMT", - "content-length" : "0", - "server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-version" : "2018-11-09", - "retry-after" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "b1b38759-601a-0035-235a-25617e000000" - } - } ], - "variables" : [ "share19138cb7" ] -} \ 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 d0106c494d133..ebfe7f88e30e6 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidQuotaFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidQuotaFromShareClient.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share07833773?restype=share", + "Uri" : "https://sima.file.core.windows.net/share568594f8?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,17 +9,17 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9C375028\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:29 GMT", + "ETag" : "\"0x8D706A83BC39970\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:32 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250befee-b01a-0014-7273-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:28 GMT" + "x-ms-request-id" : "9e6064cc-501a-0051-6291-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:32 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share07833773?restype=share&comp=properties", + "Uri" : "https://sima.file.core.windows.net/share568594f8?restype=share&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -31,14 +31,14 @@ "retry-after" : "0", "Content-Length" : "324", "StatusCode" : "400", - "x-ms-request-id" : "250beff0-b01a-0014-7373-380cf6000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:250beff0-b01a-0014-7373-380cf6000000\nTime:2019-07-12T05:34:29.3239373Zx-ms-share-quota-1", - "Date" : "Fri, 12 Jul 2019 05:34:28 GMT", + "x-ms-request-id" : "9e6064ce-501a-0051-6391-38d167000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9e6064ce-501a-0051-6391-38d167000000\nTime:2019-07-12T09:06:32.3952040Zx-ms-share-quota-1", + "Date" : "Fri, 12 Jul 2019 09:06:32 GMT", "Content-Type" : "application/xml" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share07833773?restype=share&comp=properties", + "Uri" : "https://sima.file.core.windows.net/share568594f8?restype=share&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -50,14 +50,14 @@ "retry-after" : "0", "Content-Length" : "326", "StatusCode" : "400", - "x-ms-request-id" : "250beff1-b01a-0014-7473-380cf6000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:250beff1-b01a-0014-7473-380cf6000000\nTime:2019-07-12T05:34:29.3929866Zx-ms-share-quota9999", - "Date" : "Fri, 12 Jul 2019 05:34:28 GMT", + "x-ms-request-id" : "9e6064cf-501a-0051-6491-38d167000000", + "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:9e6064cf-501a-0051-6491-38d167000000\nTime:2019-07-12T09:06:32.4672544Zx-ms-share-quota9999", + "Date" : "Fri, 12 Jul 2019 09:06:32 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share07833773?restype=share", + "Uri" : "https://sima.file.core.windows.net/share568594f8?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -68,9 +68,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "250beff2-b01a-0014-7573-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:28 GMT" + "x-ms-request-id" : "9e6064d0-501a-0051-6591-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:32 GMT" } } ], - "variables" : [ "share07833773" ] + "variables" : [ "share568594f8" ] } \ 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 28d0f7ed79017..8eab1362ab252 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesTooManyRules.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesTooManyRules.json @@ -14,14 +14,14 @@ "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "250bf23c-b01a-0014-2473-380cf6000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:250bf23c-b01a-0014-2473-380cf6000000\nTime:2019-07-12T05:37:51.8904755Z00", - "Date" : "Fri, 12 Jul 2019 05:37:51 GMT", + "x-ms-request-id" : "9e606758-501a-0051-3c91-38d167000000", + "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:9e606758-501a-0051-3c91-38d167000000\nTime:2019-07-12T09:10:07.9558943Z00", + "Date" : "Fri, 12 Jul 2019 09:10:07 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share38216043&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share31629ba5&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -32,11 +32,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "250bf23d-b01a-0014-2573-380cf6000000", - "Body" : "share38216043", - "Date" : "Fri, 12 Jul 2019 05:37:51 GMT", + "x-ms-request-id" : "9e606759-501a-0051-3d91-38d167000000", + "Body" : "share31629ba5", + "Date" : "Fri, 12 Jul 2019 09:10:07 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share38216043" ] + "variables" : [ "share31629ba5" ] } \ 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 5182c15f76440..ee508f8c2955f 100644 --- a/storage/client/file/src/test/resources/session-records/snapshot.json +++ b/storage/client/file/src/test/resources/session-records/snapshot.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share296049ed?restype=share", + "Uri" : "https://sima.file.core.windows.net/share69702f4b?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,36 +9,36 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9D5B6BA3\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:31 GMT", + "ETag" : "\"0x8D706A83CFEC479\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf00b-b01a-0014-0873-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:30 GMT" + "x-ms-request-id" : "9e6064ed-501a-0051-7a91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:34 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share296049ed?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share69702f4b?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-12T05:34:31.0000000Z", + "x-ms-snapshot" : "2019-07-12T09:06:34.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9D5B6BA3\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:31 GMT", + "ETag" : "\"0x8D706A83CFEC479\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf00d-b01a-0014-0973-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:30 GMT" + "x-ms-request-id" : "9e6064f1-501a-0051-7b91-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:34 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share296049ed?restype=share", + "Uri" : "https://sima.file.core.windows.net/share69702f4b?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -50,11 +50,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "250bf00e-b01a-0014-0a73-380cf6000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:250bf00e-b01a-0014-0a73-380cf6000000\nTime:2019-07-12T05:34:31.3023371Z", - "Date" : "Fri, 12 Jul 2019 05:34:30 GMT", + "x-ms-request-id" : "9e6064f2-501a-0051-7c91-38d167000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:9e6064f2-501a-0051-7c91-38d167000000\nTime:2019-07-12T09:06:34.5437464Z", + "Date" : "Fri, 12 Jul 2019 09:06:34 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share296049ed" ] + "variables" : [ "share69702f4b" ] } \ 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 dede4ce347edd..0222b3f513a77 100644 --- a/storage/client/file/src/test/resources/session-records/snapshotDifferentMetadata.json +++ b/storage/client/file/src/test/resources/session-records/snapshotDifferentMetadata.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share619004d3?restype=share", + "Uri" : "https://sima.file.core.windows.net/share78932703?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,36 +9,36 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9AA34743\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:26 GMT", + "ETag" : "\"0x8D706A83A4C6BEC\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250befc7-b01a-0014-5673-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:25 GMT" + "x-ms-request-id" : "9e606499-501a-0051-4691-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:29 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share619004d3?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share78932703?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-12T05:34:26.0000000Z", + "x-ms-snapshot" : "2019-07-12T09:06:29.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A9A49DD00\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:26 GMT", + "ETag" : "\"0x8D706A839C99880\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250befc9-b01a-0014-5773-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:34:26 GMT" + "x-ms-request-id" : "9e60649b-501a-0051-4791-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:06:29 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share619004d3?restype=share", + "Uri" : "https://sima.file.core.windows.net/share78932703?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -46,21 +46,21 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:26 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:29 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 12 Jul 2019 05:34:26 GMT", + "Date" : "Fri, 12 Jul 2019 09:06:29 GMT", "x-ms-has-legal-hold" : "false", "x-ms-meta-create" : "metadata", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D7068A9AA34743\"", + "ETag" : "\"0x8D706A83A4C6BEC\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "250befca-b01a-0014-5873-380cf6000000" + "x-ms-request-id" : "9e60649c-501a-0051-4891-38d167000000" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share619004d3?sharesnapshot=2019-07-12T05%3a34%3a26.0000000Z&restype=share", + "Uri" : "https://sima.file.core.windows.net/share78932703?sharesnapshot=2019-07-12T09%3a06%3a29.0000000Z&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -69,20 +69,20 @@ "x-ms-meta-update" : "metadata", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Fri, 12 Jul 2019 05:34:26 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 09:06:29 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 12 Jul 2019 05:34:26 GMT", + "Date" : "Fri, 12 Jul 2019 09:06:29 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D7068A9A49DD00\"", + "ETag" : "\"0x8D706A839C99880\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "250befcb-b01a-0014-5973-380cf6000000" + "x-ms-request-id" : "9e60649d-501a-0051-4991-38d167000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share619004d3?restype=share", + "Uri" : "https://sima.file.core.windows.net/share78932703?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -94,11 +94,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "250befcd-b01a-0014-5a73-380cf6000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:250befcd-b01a-0014-5a73-380cf6000000\nTime:2019-07-12T05:34:27.0152961Z", - "Date" : "Fri, 12 Jul 2019 05:34:26 GMT", + "x-ms-request-id" : "9e60649f-501a-0051-4a91-38d167000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:9e60649f-501a-0051-4a91-38d167000000\nTime:2019-07-12T09:06:30.2256441Z", + "Date" : "Fri, 12 Jul 2019 09:06:29 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share619004d3" ] + "variables" : [ "share78932703" ] } \ 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 7bf25fe37a760..b350c6d7d9494 100644 --- a/storage/client/file/src/test/resources/session-records/snapshotDoesNotExist.json +++ b/storage/client/file/src/test/resources/session-records/snapshotDoesNotExist.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share062297a2?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share42544a0a?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -13,14 +13,14 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250beffa-b01a-0014-7b73-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250beffa-b01a-0014-7b73-380cf6000000\nTime:2019-07-12T05:34:30.0184303Z", - "Date" : "Fri, 12 Jul 2019 05:34:29 GMT", + "x-ms-request-id" : "9e6064d9-501a-0051-6b91-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e6064d9-501a-0051-6b91-38d167000000\nTime:2019-07-12T09:06:33.1217264Z", + "Date" : "Fri, 12 Jul 2019 09:06:32 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share062297a2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share42544a0a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "250beffc-b01a-0014-7c73-380cf6000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:250beffc-b01a-0014-7c73-380cf6000000\nTime:2019-07-12T05:34:30.0894796Z", - "Date" : "Fri, 12 Jul 2019 05:34:29 GMT", + "x-ms-request-id" : "9e6064db-501a-0051-6c91-38d167000000", + "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:9e6064db-501a-0051-6c91-38d167000000\nTime:2019-07-12T09:06:33.1947795Z", + "Date" : "Fri, 12 Jul 2019 09:06:32 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share062297a2" ] + "variables" : [ "share42544a0a" ] } \ 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 cdcf4201ee13d..cf4fa415d72f6 100644 --- a/storage/client/file/src/test/resources/session-records/snapshotSameMetadata.json +++ b/storage/client/file/src/test/resources/session-records/snapshotSameMetadata.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share04823686?restype=share", + "Uri" : "https://sima.file.core.windows.net/share39001835?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,36 +9,36 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068ABA60DB8E\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:19 GMT", + "ETag" : "\"0x8D706A859FF8759\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:23 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf08f-b01a-0014-4173-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:19 GMT" + "x-ms-request-id" : "9e606563-501a-0051-3491-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:22 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share04823686?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share39001835?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-version" : "2018-11-09", - "x-ms-snapshot" : "2019-07-12T05:35:19.0000000Z", + "x-ms-snapshot" : "2019-07-12T09:07:23.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068AB9E10580\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:19 GMT", + "ETag" : "\"0x8D706A859F95780\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:23 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "250bf092-b01a-0014-4273-380cf6000000", - "Date" : "Fri, 12 Jul 2019 05:35:19 GMT" + "x-ms-request-id" : "9e606565-501a-0051-3591-38d167000000", + "Date" : "Fri, 12 Jul 2019 09:07:22 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share04823686?sharesnapshot=2019-07-12T05%3a35%3a19.0000000Z&restype=share", + "Uri" : "https://sima.file.core.windows.net/share39001835?sharesnapshot=2019-07-12T09%3a07%3a23.0000000Z&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -47,20 +47,20 @@ "x-ms-meta-test" : "metadata", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Fri, 12 Jul 2019 05:35:19 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 09:07:23 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 12 Jul 2019 05:35:19 GMT", + "Date" : "Fri, 12 Jul 2019 09:07:22 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D7068AB9E10580\"", + "ETag" : "\"0x8D706A859F95780\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "250bf093-b01a-0014-4373-380cf6000000" + "x-ms-request-id" : "9e606566-501a-0051-3691-38d167000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share04823686?restype=share", + "Uri" : "https://sima.file.core.windows.net/share39001835?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -72,11 +72,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "250bf096-b01a-0014-4473-380cf6000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:250bf096-b01a-0014-4473-380cf6000000\nTime:2019-07-12T05:35:20.0879644Z", - "Date" : "Fri, 12 Jul 2019 05:35:19 GMT", + "x-ms-request-id" : "9e606568-501a-0051-3791-38d167000000", + "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:9e606568-501a-0051-3791-38d167000000\nTime:2019-07-12T09:07:23.2847210Z", + "Date" : "Fri, 12 Jul 2019 09:07:22 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share04823686" ] + "variables" : [ "share39001835" ] } \ 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 4dbb14edf5557..e4cf995355cd6 100644 --- a/storage/client/file/src/test/resources/session-records/startCopy.json +++ b/storage/client/file/src/test/resources/session-records/startCopy.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile80405118", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile333707ba", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A5F89B5C0\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:47 GMT", + "ETag" : "\"0x8D706A7FED6324E\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:04:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "4131d5d4-401a-00a0-4073-3800f4000000", + "x-ms-request-id" : "15d5b02d-801a-0094-0d90-38af5c000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:32:46 GMT" + "Date" : "Fri, 12 Jul 2019 09:04:49 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile80405118", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile333707ba", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -28,16 +28,16 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-copy-id" : "fc51ad41-3dcd-42b5-beb4-a7f54f2d14f6", - "ETag" : "\"0x8D7068A5FA187E1\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:47 GMT", + "x-ms-copy-id" : "b48d6805-5010-42a1-b82f-6bf4a8c84256", + "ETag" : "\"0x8D706A7FF1DCFD2\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:04:50 GMT", "retry-after" : "0", "Content-Length" : "0", "x-ms-copy-status" : "success", "StatusCode" : "202", - "x-ms-request-id" : "4131d5d5-401a-00a0-4173-3800f4000000", - "Date" : "Fri, 12 Jul 2019 05:32:47 GMT" + "x-ms-request-id" : "15d5b02e-801a-0094-0e90-38af5c000000", + "Date" : "Fri, 12 Jul 2019 09:04:50 GMT" } } ], - "variables" : [ "file80405118" ] + "variables" : [ "file333707ba" ] } \ 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 ceb8ddbf0273d..7d633abf2adc5 100644 --- a/storage/client/file/src/test/resources/session-records/upload.json +++ b/storage/client/file/src/test/resources/session-records/upload.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile81434c4a", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile97490941", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,18 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A603AD6CE\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:48 GMT", + "ETag" : "\"0x8D706A7FF9007BE\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:04:51 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "e6cd1426-d01a-000f-2273-382264000000", + "x-ms-request-id" : "15d5b038-801a-0094-1690-38af5c000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:32:47 GMT" + "Date" : "Fri, 12 Jul 2019 09:04:50 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile81434c4a?comp=range", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile97490941?comp=range", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", @@ -29,16 +29,16 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A604846D9\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:48 GMT", + "ETag" : "\"0x8D706A7FF9CDB5F\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:04:51 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "e6cd1427-d01a-000f-2373-382264000000", + "x-ms-request-id" : "15d5b039-801a-0094-1790-38af5c000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:32:47 GMT", + "Date" : "Fri, 12 Jul 2019 09:04:50 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==" } } ], - "variables" : [ "file81434c4a" ] + "variables" : [ "file97490941" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/uploadAndDownloadLargeFile.json b/storage/client/file/src/test/resources/session-records/uploadAndDownloadLargeFile.json deleted file mode 100644 index 56a71fb2a4cec..0000000000000 --- a/storage/client/file/src/test/resources/session-records/uploadAndDownloadLargeFile.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "networkCallRecords" : [ ], - "variables" : [ "largefile856254" ] -} \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/uploadLargeFile.json b/storage/client/file/src/test/resources/session-records/uploadLargeFile.json deleted file mode 100644 index 80e96fa85383d..0000000000000 --- a/storage/client/file/src/test/resources/session-records/uploadLargeFile.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "networkCallRecords" : [ ], - "variables" : [ "cb0a70eb4cd14c82" ] -} \ 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 aa3e457a8aae8..0a933ae595f52 100644 --- a/storage/client/file/src/test/resources/session-records/uploadToStorageAndDownloadToFile.json +++ b/storage/client/file/src/test/resources/session-records/uploadToStorageAndDownloadToFile.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile20413c46", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile42353c9c", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -9,39 +9,18 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D7068A605764BD\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:48 GMT", + "ETag" : "\"0x8D706A8E234FC90\"", + "Last-Modified" : "Fri, 12 Jul 2019 09:11:11 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "e6cd1428-d01a-000f-2473-382264000000", + "x-ms-request-id" : "212b1cc0-901a-0008-1691-38d4e1000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:32:47 GMT" - } - }, { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile20413c46?comp=range", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 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" : "\"0x8D7068A60645F72\"", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:48 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "e6cd1429-d01a-000f-2573-382264000000", - "x-ms-request-server-encrypted" : "true", - "Date" : "Fri, 12 Jul 2019 05:32:47 GMT", - "Content-MD5" : "kmGuE/BvqVBXMDTAIbiSUQ==" + "Date" : "Fri, 12 Jul 2019 09:11:10 GMT" } }, { "Method" : "HEAD", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile20413c46", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile42353c9c", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -49,21 +28,21 @@ "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:48 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 09:11:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Fri, 12 Jul 2019 05:32:48 GMT", + "Date" : "Fri, 12 Jul 2019 09:11:10 GMT", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "\"0x8D7068A60645F72\"", + "ETag" : "\"0x8D706A8E234FC90\"", "Content-Length" : "1024", - "x-ms-request-id" : "e6cd142a-d01a-000f-2673-382264000000", + "x-ms-request-id" : "212b1cc2-901a-0008-1791-38d4e1000000", "Body" : "", "Content-Type" : "application/octet-stream" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile20413c46", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile42353c9c", "Headers" : { "x-ms-version" : "2018-11-09", "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" @@ -72,19 +51,19 @@ "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "Content-Range" : "bytes 0-1023/1024", - "Last-Modified" : "Fri, 12 Jul 2019 05:32:48 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 09:11:11 GMT", "retry-after" : "0", "StatusCode" : "206", - "Date" : "Fri, 12 Jul 2019 05:32:48 GMT", + "Date" : "Fri, 12 Jul 2019 09:11:11 GMT", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "\"0x8D7068A60645F72\"", + "ETag" : "\"0x8D706A8E234FC90\"", "Content-Length" : "1024", - "x-ms-request-id" : "e6cd142b-d01a-000f-2773-382264000000", - "Body" : "Hello world, A!\r\n\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000", + "x-ms-request-id" : "212b1cc3-901a-0008-1891-38d4e1000000", + "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" : [ "file20413c46" ] + "variables" : [ "file42353c9c" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/url.json b/storage/client/file/src/test/resources/session-records/url.json deleted file mode 100644 index c37522bada634..0000000000000 --- a/storage/client/file/src/test/resources/session-records/url.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "networkCallRecords" : [ ], - "variables" : [ "directory377362" ] -} \ 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 800358addfd24..a6a00e8b14493 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" : [ "directory453112" ] + "variables" : [ "directory856002" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/testfiles/helloworld b/storage/client/file/src/test/resources/testfiles/helloworld index 5414acc999a43..e69de29bb2d1d 100644 --- a/storage/client/file/src/test/resources/testfiles/helloworld +++ b/storage/client/file/src/test/resources/testfiles/helloworld @@ -1 +0,0 @@ -Hello world, A! diff --git a/storage/client/file/src/test/resources/testfiles/uploadSample.txt b/storage/client/file/src/test/resources/testfiles/uploadSample.txt deleted file mode 100644 index e69de29bb2d1d..0000000000000