From fae3cad51ed0810604157573dec8ff3512311462 Mon Sep 17 00:00:00 2001 From: Sima Zhu Date: Thu, 11 Jul 2019 23:44:08 -0700 Subject: [PATCH] all changes ready --- .../resources/spotbugs/spotbugs-exclude.xml | 1 + storage/client/file/pom.xml | 14 --- .../credentials/SharedKeyCredential.java | 36 +++--- .../common/policy/RequestRetryOptions.java | 5 + .../common/policy/RequestRetryPolicy.java | 5 + .../storage/file/DirectoryAsyncClient.java | 17 +-- .../azure/storage/file/DirectoryClient.java | 8 +- .../storage/file/DirectoryClientBuilder.java | 19 +-- .../azure/storage/file/FileAsyncClient.java | 55 ++++----- .../azure/storage/file/FileClientBuilder.java | 17 ++- .../storage/file/FileServiceAsyncClient.java | 10 +- .../azure/storage/file/FileServiceClient.java | 6 +- .../file/FileServiceClientBuilder.java | 15 ++- .../com/azure/storage/file/ShareClient.java | 2 - .../storage/file/ShareClientBuilder.java | 11 +- .../AzureFileStorageBuilder.java | 6 +- .../file/models/DirectoryCreateHeaders.java | 2 + .../file/models/FileDownloadHeaders.java | 7 +- .../file/models/FileGetPropertiesHeaders.java | 5 +- .../storage/file/models/FileHTTPHeaders.java | 5 +- .../storage/file/models/FileProperties.java | 2 +- .../storage/file/models/FileUploadInfo.java | 4 +- .../file/models/FileUploadRangeHeaders.java | 5 +- .../{ => com/azure}/file/AsyncSample.java | 7 +- .../{ => com/azure}/file/DirectorySample.java | 8 +- .../java/{ => com/azure}/file/FileSample.java | 25 ++-- .../azure}/file/FileServiceSample.java | 6 +- .../{ => com/azure}/file/ShareSample.java | 10 +- .../file/DirectoryJavaDocCodeSamples.java | 14 +-- .../storage/file/FileJavaDocCodeSamples.java | 19 ++- .../file/FileServiceJavaDocCodeSamples.java | 2 +- .../storage/file/ShareJavaDocCodeSamples.java | 6 +- .../storage/file/DirectoryClientTests.java | 10 +- .../storage/file/FileAsyncClientTest.java | 16 ++- .../storage/file/FileClientTestBase.java | 4 +- .../file/FileServiceClientAsyncTests.java | 2 +- .../storage/file/FileServiceClientTests.java | 2 +- .../azure/storage/file/FileTestHelpers.java | 4 +- .../com/azure/storage/file/LargeFileTest.java | 6 +- .../resources/session-records/abortCopy.json | 2 +- .../clearMetadataFromDirClient.json | 26 ++-- ...DirectoryAlreadyExistsFromShareClient.json | 44 +++---- .../createDirectoryFromShareClient.json | 112 ++++++++--------- ...teDirectoryInvalidNameFromShareClient.json | 32 ++--- .../createExcessMaxSizeFromFileClient.json | 36 ++---- .../createFileFromDirClient.json | 26 ++-- ...eateFileWithoutCreateDirFromDirClient.json | 12 +- .../session-records/createFromFileClient.json | 36 ++---- .../createFromShareClient.json | 22 ++-- .../createInvalidQuotaFromShareClient.json | 32 ++--- .../createMinFromDirClient.json | 14 +-- .../session-records/createShare.json | 32 ++--- .../createShareInvalidQuota.json | 32 ++--- .../createShareTwiceDifferentMetadata.json | 42 +++---- .../createShareTwiceSameMetadata.json | 42 +++---- .../session-records/createSubDirectory.json | 26 ++-- .../createSubDirectoryTwiceSameMetadata.json | 45 ++----- .../createSubDirectoryWithMetadata.json | 26 ++-- ...TwiceDifferentMetadataFromShareClient.json | 32 ++--- .../createTwiceFromDirClient.json | 24 ++-- ...reateTwiceSameMetadataFromShareClient.json | 32 ++--- .../createWithMetadataFromDirClient.json | 14 +-- ...eDirectoryDoesNotExistFromShareClient.json | 32 ++--- .../deleteDirectoryFromShareClient.json | 42 +++---- .../deleteDoesNotExistFromShareClient.json | 22 ++-- .../deleteFileFromDirClient.json | 34 +++--- ...eteFileWithoutCreateFileFromDirClient.json | 24 ++-- .../session-records/deleteFromDirClient.json | 22 ++-- .../session-records/deleteFromFileClient.json | 39 +----- .../deleteFromShareClient.json | 37 +++--- .../deleteNotExistFromDirClient.json | 23 +--- .../session-records/deleteShare.json | 32 ++--- .../deleteShareDoesNotExist.json | 22 ++-- .../deleteSnapshotFromShareClient.json | 60 ++++----- .../session-records/deleteSubDirectory.json | 34 +++--- .../deleteThenCreateFromShareClient.json | 42 +++---- ...eThenCreateShareFromFileServiceClient.json | 52 ++++---- ...eateShareTooSoonFromFileServiceClient.json | 42 +++---- ...eleteThenCreateTooSoonFromShareClient.json | 47 ++++---- .../downloadWithProperties.json | 29 +++-- .../forceCloseHandlesFromDirClient.json | 32 ++--- .../forceCloseHandlesFromFileClient.json | 32 ++--- .../getDirectoryDoesNotCreateADirectory.json | 112 ++++++++--------- .../getFileClientFromDirClient.json | 2 +- .../getHandlesFromDirClient.json | 2 +- ...etMetadataDoesNotExistFromShareClient.json | 22 ++-- .../getMetadataFromShareClient.json | 34 +++--- .../session-records/getPolicies.json | 34 +++--- .../getPoliciesDoesNotExist.json | 22 ++-- ...PropertiesDoesNotExistFromShareClient.json | 22 ++-- .../getPropertiesFromDirClient.json | 26 ++-- .../getPropertiesFromFileClient.json | 26 ++-- .../getPropertiesFromShareClient.json | 34 +++--- ...tRootDirectoryDoesNotCreateADirectory.json | 53 +++----- .../getShareDoesNotCreateAShare.json | 22 ++-- ...otMetadataDoesNotExistFromShareClient.json | 32 ++--- .../getSnapshotMetadataFromShareClient.json | 50 ++++---- .../getSnapshotPropertiesDoesNotExist.json | 32 ++--- .../getSnapshotPropertiesFromShareClient.json | 50 ++++---- .../resources/session-records/getStats.json | 30 ++--- .../session-records/getStatsDoesNotExist.json | 22 ++-- .../getSubDirectoryClient.json | 2 +- .../listFilesAndDirectoriesFromDirClient.json | 60 ++++----- .../listHandlesFromFileClient.json | 22 ++-- .../listRangesFromFileClient.json | 40 +++--- .../resources/session-records/listShares.json | 82 ++++++------- .../listSharesIncludeMetadata.json | 82 ++++++------- ...listSharesIncludeMetadataAndSnapshots.json | 114 +++++++++--------- .../listSharesIncludeSnapshots.json | 114 +++++++++--------- .../listSharesInvalidMaxResults.json | 32 ++--- .../session-records/listSharesWithLimit.json | 82 ++++++------- .../session-records/listSharesWithPrefix.json | 82 ++++++------- .../setFileServiceProperties.json | 42 +++---- .../setHttpHeadersFromFileClient.json | 26 ++-- .../setMeatadataFromFileClient.json | 26 ++-- ...etMetadataDoesNotExistFromShareClient.json | 22 ++-- .../setMetadataFromDirClient.json | 26 ++-- .../setMetadataFromShareClient.json | 46 +++---- .../setMetadataInvalidKeyFromDirClient.json | 24 ++-- ...etadataInvalidMetadataFromShareClient.json | 32 ++--- .../session-records/setPolicies.json | 46 +++---- .../setPoliciesDoesNotExist.json | 22 ++-- .../setPoliciesInvalidPermission.json | 32 ++--- .../setPoliciesTooManyPermissions.json | 32 ++--- ...PropertiesDoesNotExistFromShareClient.json | 22 ++-- .../setPropertiesFromShareClient.json | 58 ++++----- .../setPropertiesInvalidAllowedHeader.json | 20 +-- .../setPropertiesInvalidAllowedMethod.json | 20 +-- .../setPropertiesInvalidAllowedOrigin.json | 20 +-- .../setPropertiesInvalidExposedHeader.json | 20 +-- ...PropertiesInvalidQuotaFromShareClient.json | 42 +++---- .../setPropertiesTooManyRules.json | 20 +-- .../resources/session-records/snapshot.json | 38 +++--- .../snapshotDifferentMetadata.json | 62 +++++----- .../session-records/snapshotDoesNotExist.json | 22 ++-- .../session-records/snapshotSameMetadata.json | 50 ++++---- .../resources/session-records/startCopy.json | 28 ++--- .../resources/session-records/upload.json | 26 ++-- .../uploadToStorageAndDownloadToFile.json | 90 ++++++++++++++ .../session-records/urlFromDirClient.json | 2 +- 140 files changed, 2028 insertions(+), 2065 deletions(-) rename storage/client/file/src/samples/java/{ => com/azure}/file/AsyncSample.java (93%) rename storage/client/file/src/samples/java/{ => com/azure}/file/DirectorySample.java (95%) rename storage/client/file/src/samples/java/{ => com/azure}/file/FileSample.java (91%) rename storage/client/file/src/samples/java/{ => com/azure}/file/FileServiceSample.java (93%) rename storage/client/file/src/samples/java/{ => com/azure}/file/ShareSample.java (96%) create mode 100644 storage/client/file/src/test/resources/session-records/uploadToStorageAndDownloadToFile.json diff --git a/eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml b/eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml index 8694812f938be..162fdadfc96b8 100755 --- a/eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml +++ b/eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml @@ -373,6 +373,7 @@ + diff --git a/storage/client/file/pom.xml b/storage/client/file/pom.xml index 6bd8d18b4d1c6..a64c57bfc8aad 100644 --- a/storage/client/file/pom.xml +++ b/storage/client/file/pom.xml @@ -31,20 +31,6 @@ HEAD - - - bintray - Groovy Bintray - https://dl.bintray.com/groovy/maven - - never - - - false - - - - com.azure diff --git a/storage/client/file/src/main/java/com/azure/storage/common/credentials/SharedKeyCredential.java b/storage/client/file/src/main/java/com/azure/storage/common/credentials/SharedKeyCredential.java index eadaf42ad6d36..1327014e31749 100644 --- a/storage/client/file/src/main/java/com/azure/storage/common/credentials/SharedKeyCredential.java +++ b/storage/client/file/src/main/java/com/azure/storage/common/credentials/SharedKeyCredential.java @@ -29,8 +29,8 @@ public final class SharedKeyCredential { private static final String AUTHORIZATION_HEADER_FORMAT = "SharedKey %s:%s"; // Pieces of the connection string that are needed. - private static final String ACCOUNT_NAME = "AccountName".toLowerCase(); - private static final String ACCOUNT_KEY = "AccountKey".toLowerCase(); + private static final String ACCOUNT_NAME = "accountname"; + private static final String ACCOUNT_KEY = "accountkey"; private final String accountName; private final byte[] accountKey; @@ -59,7 +59,7 @@ public static SharedKeyCredential fromConnectionString(String connectionString) HashMap connectionStringPieces = new HashMap<>(); for (String connectionStringPiece : connectionString.split(";")) { String[] kvp = connectionStringPiece.split("=", 2); - connectionStringPieces.put(kvp[0].toLowerCase(), kvp[1]); + connectionStringPieces.put(kvp[0].toLowerCase(Locale.ROOT), kvp[1]); } String accountName = connectionStringPieces.get(ACCOUNT_NAME); @@ -98,9 +98,13 @@ public String generateAuthorizationHeader(URL requestURL, String httpMethod, Map * * @param stringToSign The UTF-8-encoded string to sign. * @return A {@code String} that contains the HMAC-SHA256-encoded signature. - * @throws InvalidKeyException If the accountKey is not a valid Base64-encoded string. + * @throws RuntimeException for one of the following cases: + *
    + *
  • If the HMAC-SHA256 signature for {@code sharedKeyCredentials} fails to generate.
  • + *
  • If the an invalid key has been given to the client.
  • + *
*/ - public String computeHmac256(final String stringToSign) throws InvalidKeyException { + public String computeHmac256(final String stringToSign) { try { /* We must get a new instance of the Mac calculator for each signature calculated because the instances are @@ -111,8 +115,10 @@ public String computeHmac256(final String stringToSign) throws InvalidKeyExcepti hmacSha256.init(new SecretKeySpec(this.accountKey, "HmacSHA256")); byte[] utf8Bytes = stringToSign.getBytes(StandardCharsets.UTF_8); return Base64.getEncoder().encodeToString(hmacSha256.doFinal(utf8Bytes)); - } catch (final NoSuchAlgorithmException e) { - throw new RuntimeException(e); + } catch (final NoSuchAlgorithmException e) { + throw new RuntimeException("There is no such algorithm. Error Details: " + e.getMessage()); + } catch (InvalidKeyException e) { + throw new RuntimeException("Please double check the account key. Error details: " + e.getMessage()); } } @@ -121,20 +127,20 @@ private String buildStringToSign(URL requestURL, String httpMethod, MapSample Code

* *

For more samples, please see the samples file

+ * @throws IllegalArgumentException If one of the following case exists: + *
    + *
  • There is only one null value for retryDelay and maxRetryDelay.
  • + *
  • Unrecognized retry policy type.
  • + *
*/ public RequestRetryOptions(RetryPolicyType retryPolicyType, Integer maxTries, Integer tryTimeout, Long retryDelayInMs, Long maxRetryDelayInMs, String secondaryHost) { diff --git a/storage/client/file/src/main/java/com/azure/storage/common/policy/RequestRetryPolicy.java b/storage/client/file/src/main/java/com/azure/storage/common/policy/RequestRetryPolicy.java index b862b76928af0..774a44999ce76 100644 --- a/storage/client/file/src/main/java/com/azure/storage/common/policy/RequestRetryPolicy.java +++ b/storage/client/file/src/main/java/com/azure/storage/common/policy/RequestRetryPolicy.java @@ -30,6 +30,11 @@ public final class RequestRetryPolicy implements HttpPipelinePolicy { private final RequestRetryOptions requestRetryOptions; + /** + * Constructs the policy using the retry options. + * + * @param requestRetryOptions Retry options for the policy. + */ public RequestRetryPolicy(RequestRetryOptions requestRetryOptions) { this.requestRetryOptions = requestRetryOptions; } diff --git a/storage/client/file/src/main/java/com/azure/storage/file/DirectoryAsyncClient.java b/storage/client/file/src/main/java/com/azure/storage/file/DirectoryAsyncClient.java index f81e78c5f9ca6..014079be7aed5 100644 --- a/storage/client/file/src/main/java/com/azure/storage/file/DirectoryAsyncClient.java +++ b/storage/client/file/src/main/java/com/azure/storage/file/DirectoryAsyncClient.java @@ -125,11 +125,12 @@ public FileAsyncClient getFileClient(String fileName) { *

If the file doesn't exist in the storage account {@link DirectoryAsyncClient#create()} create} in the client will * need to be called before interaction with the directory can happen.

* - * @param directoryName Name of the directory + * @param subDirectoryName Name of the directory * @return a DirectoryAsyncClient that interacts with the specified directory */ - public DirectoryAsyncClient getSubDirectoryClient(String directoryName) { - return new DirectoryAsyncClient(azureFileStorageClient, shareName, directoryName, shareSnapshot); + public DirectoryAsyncClient getSubDirectoryClient(String subDirectoryName) { + String directoryPath = directoryName + "/" + subDirectoryName; + return new DirectoryAsyncClient(azureFileStorageClient, shareName, directoryPath, shareSnapshot); } /** @@ -165,7 +166,7 @@ public Mono> create() { * @throws StorageErrorException If the directory has already existed, the parent directory does not exist or directory name is an invalid resource name. */ public Mono> create(Map metadata) { - return azureFileStorageClient.directorys().createWithRestResponseAsync(shareName, directoryName,null, metadata, Context.NONE) + return azureFileStorageClient.directorys().createWithRestResponseAsync(shareName, directoryName, null, metadata, Context.NONE) .map(this::createWithRestResponse); } @@ -182,7 +183,7 @@ public Mono> create(Map metadata) { * @throws StorageErrorException If the share doesn't exist */ public Mono delete() { - return azureFileStorageClient.directorys().deleteWithRestResponseAsync(shareName, directoryName, Context.NONE).map(VoidResponse::new) + return azureFileStorageClient.directorys().deleteWithRestResponseAsync(shareName, directoryName, Context.NONE).map(VoidResponse::new) .map(VoidResponse::new); } @@ -480,11 +481,11 @@ private Flux nextPageForFileAndDirecotries(final DirectorysListFilesAnd return Flux.fromIterable(fileRefs); } Mono listResponse = azureFileStorageClient.directorys().listFilesAndDirectoriesSegmentWithRestResponseAsync(shareName, directoryName, prefix, shareSnapshot, response.value().nextMarker(), maxResult, null, Context.NONE); - Flux fileRefPublisher = listResponse.flatMapMany(newResponse ->nextPageForFileAndDirecotries(newResponse, prefix, maxResult)); + Flux fileRefPublisher = listResponse.flatMapMany(newResponse -> nextPageForFileAndDirecotries(newResponse, prefix, maxResult)); return Flux.fromIterable(fileRefs).concatWith(fileRefPublisher); } - private Flux nextPageForHandles (DirectorysListHandlesResponse response, Integer maxResult, boolean recursive) { + private Flux nextPageForHandles(DirectorysListHandlesResponse response, Integer maxResult, boolean recursive) { List handleItems = response.value().handleList(); if (response.value().nextMarker() == null) { @@ -506,7 +507,7 @@ private Flux nextPageForForceCloseHandles(DirectorysForceCloseHandlesRe return Flux.fromIterable(handleCount).concatWith(fileRefPublisher); } - private List convertResponseAndGetNumOfResults(DirectorysListFilesAndDirectoriesSegmentResponse response){ + private List convertResponseAndGetNumOfResults(DirectorysListFilesAndDirectoriesSegmentResponse response) { List fileRefs = new ArrayList<>(); response.value().segment().directoryItems().forEach(directoryItem -> fileRefs.add(new FileRef(directoryItem.name(), true, null))); response.value().segment().fileItems().forEach(fileItem -> fileRefs.add(new FileRef(fileItem.name(), false, fileItem.properties()))); diff --git a/storage/client/file/src/main/java/com/azure/storage/file/DirectoryClient.java b/storage/client/file/src/main/java/com/azure/storage/file/DirectoryClient.java index f7ebcab6c59ca..814acc8f22a60 100644 --- a/storage/client/file/src/main/java/com/azure/storage/file/DirectoryClient.java +++ b/storage/client/file/src/main/java/com/azure/storage/file/DirectoryClient.java @@ -40,7 +40,7 @@ */ public class DirectoryClient { - public final DirectoryAsyncClient directoryAsyncClient; + private final DirectoryAsyncClient directoryAsyncClient; /** * Creates a DirectoryClient that wraps a DirectoryAsyncClient and blocks requests. @@ -78,11 +78,11 @@ public FileClient getFileClient(String fileName) { *

If the file doesn't exist in the storage account {@link DirectoryClient#create()} create} in the client will * need to be called before interaction with the directory can happen.

* - * @param directoryName Name of the directory + * @param subDirectoryName Name of the directory * @return a DirectoryClient that interacts with the specified directory */ - public DirectoryClient getSubDirectoryClient(String directoryName) { - return new DirectoryClient(directoryAsyncClient.getSubDirectoryClient(directoryName)); + public DirectoryClient getSubDirectoryClient(String subDirectoryName) { + return new DirectoryClient(directoryAsyncClient.getSubDirectoryClient(subDirectoryName)); } /** diff --git a/storage/client/file/src/main/java/com/azure/storage/file/DirectoryClientBuilder.java b/storage/client/file/src/main/java/com/azure/storage/file/DirectoryClientBuilder.java index 86f108e0df804..37c8c01b4d2ad 100644 --- a/storage/client/file/src/main/java/com/azure/storage/file/DirectoryClientBuilder.java +++ b/storage/client/file/src/main/java/com/azure/storage/file/DirectoryClientBuilder.java @@ -24,6 +24,7 @@ import java.util.ArrayList; import java.util.HashMap; import java.util.List; +import java.util.Locale; import java.util.Map; import java.util.Objects; @@ -76,7 +77,7 @@ * @see SharedKeyCredential */ public class DirectoryClientBuilder { - private static final String ACCOUNT_NAME = "AccountName".toLowerCase(); + private static final String ACCOUNT_NAME = "accountname"; private final List policies; private final RetryPolicy retryPolicy; @@ -115,11 +116,15 @@ public DirectoryClientBuilder() { * * @return A ShareAsyncClient with the options set from the builder. * @throws NullPointerException If {@code endpoint} or {@code shareName} is {@code null}. - * @throws IllegalStateException If neither a {@link SharedKeyCredential} or {@link SASTokenCredential} has been set. + * @throws IllegalArgumentException If neither a {@link SharedKeyCredential} or {@link SASTokenCredential} has been set. */ public DirectoryAsyncClient buildAsyncClient() { Objects.requireNonNull(endpoint); + if (pipeline != null) { + return new DirectoryAsyncClient(endpoint, pipeline, shareName, directoryName, shareSnapshot); + } + if (sasTokenCredential == null && sharedKeyCredential == null) { throw new IllegalArgumentException("Credentials are required for authorization"); } @@ -165,7 +170,7 @@ public DirectoryAsyncClient buildAsyncClient() { * * @return A DirectoryClient with the options set from the builder. * @throws NullPointerException If {@code endpoint}, {@code shareName} or {@code directoryName} is {@code null}. - * @throws IllegalStateException If neither a {@link SharedKeyCredential} or {@link SASTokenCredential} has been set. + * @throws IllegalArgumentException If neither a {@link SharedKeyCredential} or {@link SASTokenCredential} has been set. */ public DirectoryClient buildClient() { return new DirectoryClient(this.buildAsyncClient()); @@ -237,14 +242,14 @@ private void getEndPointFromConnectionString(String connectionString) { Map connectionStringPieces = new HashMap<>(); for (String connectionStringPiece : connectionString.split(";")) { String[] kvp = connectionStringPiece.split("=", 2); - connectionStringPieces.put(kvp[0].toLowerCase(), kvp[1]); + connectionStringPieces.put(kvp[0].toLowerCase(Locale.ROOT), kvp[1]); } String accountName = connectionStringPieces.get(ACCOUNT_NAME); try { this.endpoint = new URL(String.format("https://%s.file.core.windows.net", accountName)); } catch (MalformedURLException e) { - throw new IllegalArgumentException(String.format("There is no valid endpoint for the connection string. " + - "Connection String: %s", connectionString)); + throw new IllegalArgumentException(String.format("There is no valid endpoint for the connection string. " + + "Connection String: %s", connectionString)); } } @@ -255,7 +260,7 @@ private void getEndPointFromConnectionString(String connectionString) { * @return the updated DirectoryClientBuilder object * @throws NullPointerException If {@code shareName} is {@code null}. */ - public DirectoryClientBuilder shareName (String shareName) { + public DirectoryClientBuilder shareName(String shareName) { this.shareName = shareName; return this; } diff --git a/storage/client/file/src/main/java/com/azure/storage/file/FileAsyncClient.java b/storage/client/file/src/main/java/com/azure/storage/file/FileAsyncClient.java index 7e4bce01eecd5..02b2f809675b7 100644 --- a/storage/client/file/src/main/java/com/azure/storage/file/FileAsyncClient.java +++ b/storage/client/file/src/main/java/com/azure/storage/file/FileAsyncClient.java @@ -230,6 +230,7 @@ public Mono abortCopy(String copyId) { * * * @param downloadFilePath The path where store the downloaded file + * @return An empty response. */ public Mono downloadToFile(String downloadFilePath) { return downloadToFile(downloadFilePath, null); @@ -246,14 +247,11 @@ public Mono downloadToFile(String downloadFilePath) { * * @param downloadFilePath The path where store the downloaded file * @param range Optional. Return file data only from the specified byte range. + * @return An empty response. + * @throws UncheckedIOException If an I/O error occurs. */ public Mono downloadToFile(String downloadFilePath, FileRange range) { - AsynchronousFileChannel channel; - try { - channel = AsynchronousFileChannel.open(Paths.get(downloadFilePath), StandardOpenOption.READ, StandardOpenOption.WRITE); - } catch (IOException e) { - return Mono.error(e); - } + AsynchronousFileChannel channel = channelSetup(downloadFilePath); return sliceFileRange(range) .flatMap(chunk -> downloadWithProperties(chunk, false) .map(dar -> dar.value().body()) @@ -265,13 +263,23 @@ public Mono downloadToFile(String downloadFilePath, FileRange range) { .doOnTerminate(() -> LOGGER.asInfo().log("Saved " + chunk.toString() + " on thread " + Thread.currentThread().getName()))) .then() - .doOnTerminate(() -> { - try { - channel.close(); - } catch (IOException e) { - throw new UncheckedIOException(e); - } - }); + .doOnTerminate(() -> channelCleanUp(channel)); + } + + private AsynchronousFileChannel channelSetup(String filePath) { + try { + return AsynchronousFileChannel.open(Paths.get(filePath), StandardOpenOption.READ, StandardOpenOption.WRITE); + } catch (IOException e) { + throw new UncheckedIOException(e); + } + } + + private void channelCleanUp(AsynchronousFileChannel channel) { + try { + channel.close(); + } catch (IOException e) { + throw new UncheckedIOException(e); + } } private Flux sliceFileRange(FileRange fileRange) { @@ -495,6 +503,7 @@ public Mono> upload(Flux data, long length, lo * {@codesnippet com.azure.storage.file.fileAsyncClient.uploadFromFile} * * @param uploadFilePath The path where store the source file to upload + * @return An empty response. */ public Mono uploadFromFile(String uploadFilePath) { return uploadFromFile(uploadFilePath, FileRangeWriteType.UPDATE); @@ -518,14 +527,11 @@ public Mono uploadFromFile(String uploadFilePath) { * @param type You may specify one of the following options: * - Update: Writes the bytes specified by the request body into the specified range. * - Clear: Clears the specified range and releases the space used in storage for that range. To clear a range, set the Content-Length header to zero. + * @return An empty response. + * @throws UncheckedIOException If an I/O error occurs. */ public Mono uploadFromFile(String uploadFilePath, FileRangeWriteType type) { - AsynchronousFileChannel channel; - try { - channel = AsynchronousFileChannel.open(Paths.get(uploadFilePath), StandardOpenOption.READ); - } catch (IOException e) { - return Mono.error(e); - } + AsynchronousFileChannel channel = channelSetup(uploadFilePath); return Flux.fromIterable(sliceFile(uploadFilePath)) .flatMap(chunk -> { return upload(FluxUtil.byteBufStreamFromFile(channel, chunk.start(), chunk.end() - chunk.start() + 1), chunk.end() - chunk.start() + 1, chunk.start(), type) @@ -533,13 +539,7 @@ public Mono uploadFromFile(String uploadFilePath, FileRangeWriteType type) .retry(3, throwable -> throwable instanceof IOException || throwable instanceof TimeoutException); }) .then() - .doOnTerminate(() -> { - try { - channel.close(); - } catch (IOException e) { - throw new UncheckedIOException(e); - } - }); + .doOnTerminate(() -> channelCleanUp(channel)); } private List sliceFile(String path) { @@ -591,7 +591,8 @@ public Flux listRanges() { * @return {@link FileRange ranges} in the files that satisfy the requirements */ public Flux listRanges(FileRange range) { - return azureFileStorageClient.files().getRangeListWithRestResponseAsync(shareName, filePath, shareSnapshot, null, range.toString(), Context.NONE) + String rangeString = range == null ? null : range.toString(); + return azureFileStorageClient.files().getRangeListWithRestResponseAsync(shareName, filePath, shareSnapshot, null, rangeString, Context.NONE) .flatMapMany(this::convertListRangesResponseToFileRangeInfo); } diff --git a/storage/client/file/src/main/java/com/azure/storage/file/FileClientBuilder.java b/storage/client/file/src/main/java/com/azure/storage/file/FileClientBuilder.java index f0c01d03ff4b4..cc80c4dc43a95 100644 --- a/storage/client/file/src/main/java/com/azure/storage/file/FileClientBuilder.java +++ b/storage/client/file/src/main/java/com/azure/storage/file/FileClientBuilder.java @@ -25,6 +25,7 @@ import java.util.Arrays; import java.util.HashMap; import java.util.List; +import java.util.Locale; import java.util.Map; import java.util.Objects; @@ -82,7 +83,7 @@ * @see SharedKeyCredential */ public class FileClientBuilder { - private static final String ACCOUNT_NAME = "AccountName".toLowerCase(); + private static final String ACCOUNT_NAME = "accountname"; private final List policies; private final RetryPolicy retryPolicy; @@ -121,11 +122,15 @@ public FileClientBuilder() { * * @return A ShareAsyncClient with the options set from the builder. * @throws NullPointerException If {@code endpoint} or {@code shareName} is {@code null}. - * @throws IllegalStateException If neither a {@link SharedKeyCredential} or {@link SASTokenCredential} has been set. + * @throws IllegalArgumentException If neither a {@link SharedKeyCredential} or {@link SASTokenCredential} has been set. */ public FileAsyncClient buildAsyncClient() { Objects.requireNonNull(endpoint); + if (pipeline != null) { + return new FileAsyncClient(endpoint, pipeline, shareName, filePath, shareSnapshot); + } + if (sasTokenCredential == null && sharedKeyCredential == null) { throw new IllegalArgumentException("Credentials are required for authorization"); } @@ -247,14 +252,14 @@ private void getEndPointFromConnectionString(String connectionString) { Map connectionStringPieces = new HashMap<>(); for (String connectionStringPiece : connectionString.split(";")) { String[] kvp = connectionStringPiece.split("=", 2); - connectionStringPieces.put(kvp[0].toLowerCase(), kvp[1]); + connectionStringPieces.put(kvp[0].toLowerCase(Locale.ROOT), kvp[1]); } String accountName = connectionStringPieces.get(ACCOUNT_NAME); try { this.endpoint = new URL(String.format("https://%s.file.core.windows.net", accountName)); } catch (MalformedURLException e) { - throw new IllegalArgumentException(String.format("There is no valid endpoint for the connection string. " + - "Connection String: %s", connectionString)); + throw new IllegalArgumentException(String.format("There is no valid endpoint for the connection string. " + + "Connection String: %s", connectionString)); } } @@ -265,7 +270,7 @@ private void getEndPointFromConnectionString(String connectionString) { * @return the updated FileClientBuilder object * @throws NullPointerException If {@code shareName} is {@code null}. */ - public FileClientBuilder shareName (String shareName) { + public FileClientBuilder shareName(String shareName) { this.shareName = shareName; return this; } diff --git a/storage/client/file/src/main/java/com/azure/storage/file/FileServiceAsyncClient.java b/storage/client/file/src/main/java/com/azure/storage/file/FileServiceAsyncClient.java index 6bc2e7049274a..976be54d82381 100644 --- a/storage/client/file/src/main/java/com/azure/storage/file/FileServiceAsyncClient.java +++ b/storage/client/file/src/main/java/com/azure/storage/file/FileServiceAsyncClient.java @@ -209,7 +209,7 @@ private Publisher extractAndFetchShares(ServicesListSharesSegmentResp */ public Mono> getProperties() { return client.services().getPropertiesWithRestResponseAsync(Context.NONE) - .map(response -> mapToResponse(response, response.value())); + .map(response -> new SimpleResponse<>(response, response.value())); } /** @@ -310,7 +310,7 @@ public Mono> createShare(String shareName, Map mapToResponse(response, shareAsyncClient)); + .map(response -> new SimpleResponse<>(response, shareAsyncClient)); } /** @@ -358,7 +358,7 @@ public Mono deleteShare(String shareName, String shareSnapshot) { .map(VoidResponse::new); } - static Response mapToResponse(Response response, T value) { - return new SimpleResponse<>(response.request(), response.statusCode(), response.headers(), value); - } +// static Response mapToResponse(Response response, T value) { +// return new SimpleResponse<>(response.request(), response.statusCode(), response.headers(), value); +// } } diff --git a/storage/client/file/src/main/java/com/azure/storage/file/FileServiceClient.java b/storage/client/file/src/main/java/com/azure/storage/file/FileServiceClient.java index 34b49ab05dadc..ecab93cc76507 100644 --- a/storage/client/file/src/main/java/com/azure/storage/file/FileServiceClient.java +++ b/storage/client/file/src/main/java/com/azure/storage/file/FileServiceClient.java @@ -4,6 +4,7 @@ package com.azure.storage.file; import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.SimpleResponse; import com.azure.core.http.rest.VoidResponse; import com.azure.storage.common.credentials.SASTokenCredential; import com.azure.storage.common.credentials.SharedKeyCredential; @@ -183,7 +184,6 @@ public Response getProperties() { * */ public VoidResponse setProperties(FileServiceProperties properties) { - properties = new FileServiceProperties(); return client.setProperties(properties).block(); } @@ -232,8 +232,8 @@ public Response createShare(String shareName) { * allowed range. */ public Response createShare(String shareName, Map metadata, Integer quotaInGB) { - Response response = client.createShare(shareName, metadata, quotaInGB).block(); - return FileServiceAsyncClient.mapToResponse(response, new ShareClient(response.value())); + ShareClient shareClient = getShareClient(shareName); + return new SimpleResponse<>(shareClient.create(metadata, quotaInGB), shareClient); } /** diff --git a/storage/client/file/src/main/java/com/azure/storage/file/FileServiceClientBuilder.java b/storage/client/file/src/main/java/com/azure/storage/file/FileServiceClientBuilder.java index ee0eea1d60be8..d909c95295002 100644 --- a/storage/client/file/src/main/java/com/azure/storage/file/FileServiceClientBuilder.java +++ b/storage/client/file/src/main/java/com/azure/storage/file/FileServiceClientBuilder.java @@ -24,6 +24,7 @@ import java.util.ArrayList; import java.util.HashMap; import java.util.List; +import java.util.Locale; import java.util.Map; import java.util.Objects; @@ -77,7 +78,7 @@ * @see SharedKeyCredential */ public final class FileServiceClientBuilder { - private static final String ACCOUNT_NAME = "AccountName".toLowerCase(); + private static final String ACCOUNT_NAME = "accountname"; private final List policies; private URL endpoint; @@ -112,11 +113,15 @@ public FileServiceClientBuilder() { * * @return A FileServiceAsyncClient with the options set from the builder. * @throws NullPointerException If {@code endpoint} is {@code null}. - * @throws IllegalStateException If neither a {@link SharedKeyCredential} or {@link SASTokenCredential} has been set. + * @throws IllegalArgumentException If neither a {@link SharedKeyCredential} or {@link SASTokenCredential} has been set. */ public FileServiceAsyncClient buildAsyncClient() { Objects.requireNonNull(endpoint); + if (pipeline != null) { + return new FileServiceAsyncClient(endpoint, pipeline); + } + if (sasTokenCredential == null && sharedKeyCredential == null) { throw new IllegalArgumentException("Credentials are required for authorization"); } @@ -227,14 +232,14 @@ private void getEndPointFromConnectionString(String connectionString) { Map connectionStringPieces = new HashMap<>(); for (String connectionStringPiece : connectionString.split(";")) { String[] kvp = connectionStringPiece.split("=", 2); - connectionStringPieces.put(kvp[0].toLowerCase(), kvp[1]); + connectionStringPieces.put(kvp[0].toLowerCase(Locale.ROOT), kvp[1]); } String accountName = connectionStringPieces.get(ACCOUNT_NAME); try { this.endpoint = new URL(String.format("https://%s.file.core.windows.net", accountName)); } catch (MalformedURLException e) { - throw new IllegalArgumentException(String.format("There is no valid endpoint for the connection string. " + - "Connection String: %s", connectionString)); + throw new IllegalArgumentException(String.format("There is no valid endpoint for the connection string. " + + "Connection String: %s", connectionString)); } } diff --git a/storage/client/file/src/main/java/com/azure/storage/file/ShareClient.java b/storage/client/file/src/main/java/com/azure/storage/file/ShareClient.java index 077b740318888..8ca702d3e3fb6 100644 --- a/storage/client/file/src/main/java/com/azure/storage/file/ShareClient.java +++ b/storage/client/file/src/main/java/com/azure/storage/file/ShareClient.java @@ -14,7 +14,6 @@ import com.azure.storage.file.models.ShareStatistics; import com.azure.storage.file.models.SignedIdentifier; import com.azure.storage.file.models.StorageErrorException; -import java.util.Arrays; import java.util.List; import java.util.Map; @@ -333,7 +332,6 @@ public Iterable getAccessPolicy() { * or the share will have more than five policies. */ public Response setAccessPolicy(List permissions) { - List p = Arrays.asList(new SignedIdentifier()); return client.setAccessPolicy(permissions).block(); } diff --git a/storage/client/file/src/main/java/com/azure/storage/file/ShareClientBuilder.java b/storage/client/file/src/main/java/com/azure/storage/file/ShareClientBuilder.java index 99a652fb5c4d9..1df5fe8056279 100644 --- a/storage/client/file/src/main/java/com/azure/storage/file/ShareClientBuilder.java +++ b/storage/client/file/src/main/java/com/azure/storage/file/ShareClientBuilder.java @@ -24,6 +24,7 @@ import java.util.ArrayList; import java.util.HashMap; import java.util.List; +import java.util.Locale; import java.util.Map; import java.util.Objects; @@ -79,7 +80,7 @@ * @see SharedKeyCredential */ public class ShareClientBuilder { - private static final String ACCOUNT_NAME = "AccountName".toLowerCase(); + private static final String ACCOUNT_NAME = "accountname"; private final List policies; private URL endpoint; @@ -116,7 +117,7 @@ public ShareClientBuilder() { * * @return A ShareAsyncClient with the options set from the builder. * @throws NullPointerException If {@code endpoint} or {@code shareName} is {@code null}. - * @throws IllegalStateException If neither a {@link SharedKeyCredential} or {@link SASTokenCredential} has been set. + * @throws IllegalArgumentException If neither a {@link SharedKeyCredential} or {@link SASTokenCredential} has been set. */ public ShareAsyncClient buildAsyncClient() { Objects.requireNonNull(endpoint); @@ -239,14 +240,14 @@ private void getEndPointFromConnectionString(String connectionString) { Map connectionStringPieces = new HashMap<>(); for (String connectionStringPiece : connectionString.split(";")) { String[] kvp = connectionStringPiece.split("=", 2); - connectionStringPieces.put(kvp[0].toLowerCase(), kvp[1]); + connectionStringPieces.put(kvp[0].toLowerCase(Locale.ROOT), kvp[1]); } String accountName = connectionStringPieces.get(ACCOUNT_NAME); try { this.endpoint = new URL(String.format("https://%s.file.core.windows.net", accountName)); } catch (MalformedURLException e) { - throw new IllegalArgumentException(String.format("There is no valid endpoint for the connection string. " + - "Connection String: %s", connectionString)); + throw new IllegalArgumentException(String.format("There is no valid endpoint for the connection string. " + + "Connection String: %s", connectionString)); } } diff --git a/storage/client/file/src/main/java/com/azure/storage/file/implementation/AzureFileStorageBuilder.java b/storage/client/file/src/main/java/com/azure/storage/file/implementation/AzureFileStorageBuilder.java index 6dced97e93c08..53903ed5f4c8d 100644 --- a/storage/client/file/src/main/java/com/azure/storage/file/implementation/AzureFileStorageBuilder.java +++ b/storage/client/file/src/main/java/com/azure/storage/file/implementation/AzureFileStorageBuilder.java @@ -72,9 +72,9 @@ public AzureFileStorageImpl build() { this.pipeline = RestProxy.createDefaultPipeline(); } AzureFileStorageImpl client = new AzureFileStorageImpl(pipeline); - if (this.version != null) { - client.version(this.version); - } + + client.version(this.version); + if (this.url != null) { client.url(this.url); } diff --git a/storage/client/file/src/main/java/com/azure/storage/file/models/DirectoryCreateHeaders.java b/storage/client/file/src/main/java/com/azure/storage/file/models/DirectoryCreateHeaders.java index f4f14ebd7c7b4..953e4cfceeee3 100644 --- a/storage/client/file/src/main/java/com/azure/storage/file/models/DirectoryCreateHeaders.java +++ b/storage/client/file/src/main/java/com/azure/storage/file/models/DirectoryCreateHeaders.java @@ -5,7 +5,9 @@ package com.azure.storage.file.models; import com.azure.core.implementation.DateTimeRfc1123; +import com.azure.core.implementation.util.ImplUtils; import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.databind.cfg.ContextAttributes; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import java.time.OffsetDateTime; diff --git a/storage/client/file/src/main/java/com/azure/storage/file/models/FileDownloadHeaders.java b/storage/client/file/src/main/java/com/azure/storage/file/models/FileDownloadHeaders.java index df05458677164..76e60103ac0b2 100644 --- a/storage/client/file/src/main/java/com/azure/storage/file/models/FileDownloadHeaders.java +++ b/storage/client/file/src/main/java/com/azure/storage/file/models/FileDownloadHeaders.java @@ -6,6 +6,7 @@ import com.azure.core.annotations.HeaderCollection; import com.azure.core.implementation.DateTimeRfc1123; +import com.azure.core.implementation.util.ImplUtils; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import java.time.OffsetDateTime; @@ -345,7 +346,7 @@ public FileDownloadHeaders eTag(String eTag) { * @return the contentMD5 value. */ public byte[] contentMD5() { - return Arrays.copyOf(this.contentMD5, this.contentMD5.length); + return ImplUtils.clone(this.contentMD5); } /** @@ -362,7 +363,7 @@ public byte[] contentMD5() { * @return the FileDownloadHeaders object itself. */ public FileDownloadHeaders contentMD5(byte[] contentMD5) { - this.contentMD5 = Arrays.copyOf(contentMD5, contentMD5.length); + this.contentMD5 = ImplUtils.clone(contentMD5); return this; } @@ -714,7 +715,7 @@ public FileDownloadHeaders copyStatus(CopyStatusType copyStatus) { * @return the fileContentMD5 value. */ public byte[] fileContentMD5() { - return Arrays.copyOf(this.fileContentMD5, this.fileContentMD5.length); + return ImplUtils.clone(this.fileContentMD5); } /** diff --git a/storage/client/file/src/main/java/com/azure/storage/file/models/FileGetPropertiesHeaders.java b/storage/client/file/src/main/java/com/azure/storage/file/models/FileGetPropertiesHeaders.java index ff397f6cd7ce1..727b476b60394 100644 --- a/storage/client/file/src/main/java/com/azure/storage/file/models/FileGetPropertiesHeaders.java +++ b/storage/client/file/src/main/java/com/azure/storage/file/models/FileGetPropertiesHeaders.java @@ -6,6 +6,7 @@ import com.azure.core.annotations.HeaderCollection; import com.azure.core.implementation.DateTimeRfc1123; +import com.azure.core.implementation.util.ImplUtils; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import java.time.OffsetDateTime; @@ -323,7 +324,7 @@ public FileGetPropertiesHeaders eTag(String eTag) { * @return the contentMD5 value. */ public byte[] contentMD5() { - return Arrays.copyOf(this.contentMD5, this.contentMD5.length); + return ImplUtils.clone(this.contentMD5); } /** @@ -335,7 +336,7 @@ public byte[] contentMD5() { * @return the FileGetPropertiesHeaders object itself. */ public FileGetPropertiesHeaders contentMD5(byte[] contentMD5) { - this.contentMD5 = Arrays.copyOf(contentMD5, contentMD5.length); + this.contentMD5 = ImplUtils.clone(contentMD5); return this; } diff --git a/storage/client/file/src/main/java/com/azure/storage/file/models/FileHTTPHeaders.java b/storage/client/file/src/main/java/com/azure/storage/file/models/FileHTTPHeaders.java index 01c69b3a9f299..7555663560b59 100644 --- a/storage/client/file/src/main/java/com/azure/storage/file/models/FileHTTPHeaders.java +++ b/storage/client/file/src/main/java/com/azure/storage/file/models/FileHTTPHeaders.java @@ -4,6 +4,7 @@ package com.azure.storage.file.models; +import com.azure.core.implementation.util.ImplUtils; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import java.util.Arrays; @@ -146,7 +147,7 @@ public FileHTTPHeaders fileCacheControl(String fileCacheControl) { * @return the fileContentMD5 value. */ public byte[] fileContentMD5() { - return Arrays.copyOf(this.fileContentMD5, this.fileContentMD5.length); + return ImplUtils.clone(this.fileContentMD5); } /** @@ -156,7 +157,7 @@ public byte[] fileContentMD5() { * @return the FileHTTPHeaders object itself. */ public FileHTTPHeaders fileContentMD5(byte[] fileContentMD5) { - this.fileContentMD5 = Arrays.copyOf(fileContentMD5, fileContentMD5.length); + this.fileContentMD5 = ImplUtils.clone(fileContentMD5); return this; } diff --git a/storage/client/file/src/main/java/com/azure/storage/file/models/FileProperties.java b/storage/client/file/src/main/java/com/azure/storage/file/models/FileProperties.java index f49180dfa0da9..62ec156b520cd 100644 --- a/storage/client/file/src/main/java/com/azure/storage/file/models/FileProperties.java +++ b/storage/client/file/src/main/java/com/azure/storage/file/models/FileProperties.java @@ -65,7 +65,7 @@ public FileProperties(final String eTag, final OffsetDateTime lastModified, fina this.fileType = fileType; this.contentLength = contentLength; this.contentType = contentType; - this.contentMD5 = contentMD5; + this.contentMD5 = ImplUtils.clone(contentMD5); this.contentEncoding = contentEncoding; this.cacheControl = cacheControl; this.contentDisposition = contentDisposition; diff --git a/storage/client/file/src/main/java/com/azure/storage/file/models/FileUploadInfo.java b/storage/client/file/src/main/java/com/azure/storage/file/models/FileUploadInfo.java index 6d48aac73be1e..26ffc82c314bd 100644 --- a/storage/client/file/src/main/java/com/azure/storage/file/models/FileUploadInfo.java +++ b/storage/client/file/src/main/java/com/azure/storage/file/models/FileUploadInfo.java @@ -15,7 +15,7 @@ public final class FileUploadInfo { public FileUploadInfo(final String eTag, final OffsetDateTime lastModified, final byte[] contentMD5, final Boolean isServerEncrypted) { this.eTag = eTag; this.lastModified = lastModified; - this.contentMD5 = contentMD5; + this.contentMD5 = ImplUtils.clone(contentMD5); this.isServerEncrypted = isServerEncrypted; } @@ -28,7 +28,7 @@ public OffsetDateTime lastModified() { } public byte[] contentMD5() { - return contentMD5; + return ImplUtils.clone(contentMD5); } public Boolean isServerEncrypted() { diff --git a/storage/client/file/src/main/java/com/azure/storage/file/models/FileUploadRangeHeaders.java b/storage/client/file/src/main/java/com/azure/storage/file/models/FileUploadRangeHeaders.java index 686014ab74e59..68b8ed554de37 100644 --- a/storage/client/file/src/main/java/com/azure/storage/file/models/FileUploadRangeHeaders.java +++ b/storage/client/file/src/main/java/com/azure/storage/file/models/FileUploadRangeHeaders.java @@ -5,6 +5,7 @@ package com.azure.storage.file.models; import com.azure.core.implementation.DateTimeRfc1123; +import com.azure.core.implementation.util.ImplUtils; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement; import java.time.OffsetDateTime; @@ -138,7 +139,7 @@ public FileUploadRangeHeaders lastModified(OffsetDateTime lastModified) { * @return the contentMD5 value. */ public byte[] contentMD5() { - return Arrays.copyOf(this.contentMD5, this.contentMD5.length); + return ImplUtils.clone(this.contentMD5); } /** @@ -151,7 +152,7 @@ public byte[] contentMD5() { * @return the FileUploadRangeHeaders object itself. */ public FileUploadRangeHeaders contentMD5(byte[] contentMD5) { - this.contentMD5 = Arrays.copyOf(contentMD5, contentMD5.length); + this.contentMD5 = ImplUtils.clone(contentMD5); return this; } diff --git a/storage/client/file/src/samples/java/file/AsyncSample.java b/storage/client/file/src/samples/java/com/azure/file/AsyncSample.java similarity index 93% rename from storage/client/file/src/samples/java/file/AsyncSample.java rename to storage/client/file/src/samples/java/com/azure/file/AsyncSample.java index df01912691fd8..12a0ae4e36c88 100644 --- a/storage/client/file/src/samples/java/file/AsyncSample.java +++ b/storage/client/file/src/samples/java/com/azure/file/AsyncSample.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package file; +package com.azure.file; import com.azure.core.util.configuration.ConfigurationManager; import com.azure.storage.file.FileServiceAsyncClient; @@ -18,7 +18,10 @@ private static String generateRandomName() { return UUID.randomUUID().toString().substring(0, 8); } - + /** + * The main method show how to make async cal for creating and listing shares. + * @param args No args needed for the main method + */ public static void main(String[] args) { // Create a file service client FileServiceAsyncClient fileServiceAsyncClient = new FileServiceClientBuilder().endpoint(ENDPOINT) diff --git a/storage/client/file/src/samples/java/file/DirectorySample.java b/storage/client/file/src/samples/java/com/azure/file/DirectorySample.java similarity index 95% rename from storage/client/file/src/samples/java/file/DirectorySample.java rename to storage/client/file/src/samples/java/com/azure/file/DirectorySample.java index 134a839dab800..1b4dfdd9171c9 100644 --- a/storage/client/file/src/samples/java/file/DirectorySample.java +++ b/storage/client/file/src/samples/java/com/azure/file/DirectorySample.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package file; +package com.azure.file; import com.azure.core.http.rest.Response; import com.azure.core.util.configuration.ConfigurationManager; @@ -24,6 +24,10 @@ private static String generateRandomName() { return UUID.randomUUID().toString().substring(0, 8); } + /** + * The main method shows how to do the basic operation using directory sync client. + * @param args No args needed for the main method. + */ public static void main(String[] args) { String shareName = generateRandomName(); ShareClient shareClient = new ShareClientBuilder().endpoint(ENDPOINT).shareName(shareName).buildClient(); @@ -58,7 +62,7 @@ public static void main(String[] args) { } // Delete the child directory. The operation will fail because storage service only allowed to delete the empty directory. - try{ + try { childDirClient.delete(); } catch (StorageErrorException e) { System.out.println("This is expected as the child directory is not empty."); diff --git a/storage/client/file/src/samples/java/file/FileSample.java b/storage/client/file/src/samples/java/com/azure/file/FileSample.java similarity index 91% rename from storage/client/file/src/samples/java/file/FileSample.java rename to storage/client/file/src/samples/java/com/azure/file/FileSample.java index c27886d584f1e..bff249f71e43c 100644 --- a/storage/client/file/src/samples/java/file/FileSample.java +++ b/storage/client/file/src/samples/java/com/azure/file/FileSample.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package file; +package com.azure.file; import com.azure.core.http.rest.Response; import com.azure.core.util.configuration.ConfigurationManager; @@ -16,7 +16,6 @@ import io.netty.buffer.Unpooled; import java.io.File; import java.io.IOException; -import java.net.MalformedURLException; import java.net.URL; import java.nio.charset.StandardCharsets; import java.nio.file.Files; @@ -33,8 +32,13 @@ private static String generateRandomName() { return UUID.randomUUID().toString().substring(0, 8); } - - public static void main(String[] args) { + /** + * The main method shows how to do the base operation using file sync client. + * @param args No args needed for the main method. + * @throws RuntimeException If error occurs when make storage API call. + * @throws Exception If there are any IO exception occurs. + */ + public static void main(String[] args) throws Exception { String shareName = generateRandomName(); ShareClient shareClient = new ShareClientBuilder().endpoint(ENDPOINT).shareName(shareName).buildClient(); shareClient.create(); @@ -66,13 +70,10 @@ public static void main(String[] args) { FileClient destFileClient = new FileClientBuilder().endpoint(ENDPOINT).shareName(shareName) .filePath(parentDirName + "/" + destFileName).buildClient(); destFileClient.create(1024); + // Copy the file from source file to destination file. URL clientURL = null; - try { - clientURL = srcFileClient.getFileUrl(); - } catch (MalformedURLException e) { - throw new RuntimeException("This is not the URL format. URL given: " + clientURL.toString()); - } + clientURL = srcFileClient.getFileUrl(); String sourceURL = clientURL.toString() + "/" + shareName + "/" + parentDirName + "/" + srcFileName; @@ -99,7 +100,7 @@ public static void main(String[] args) { try { srcFileClient.uploadFromFile(uploadPath); } catch (StorageErrorException e) { - System.out.println("Failed to upload file to storage. Reasons: "+ e.getMessage()); + System.out.println("Failed to upload file to storage. Reasons: " + e.getMessage()); } // Download storage file to local file. @@ -118,7 +119,7 @@ public static void main(String[] args) { System.out.println("Failed to download file from storage. Reasons: " + e.getMessage()); } - if(!Files.exists(downloadFile.toPath())) { + if (!Files.exists(downloadFile.toPath())) { downloadFile.delete(); } @@ -131,7 +132,7 @@ public static void main(String[] args) { } // Delete the source file. - try{ + try { srcFileClient.delete(); } catch (StorageErrorException e) { System.out.println("Failed to delete the src file. Reasons: " + e.getMessage()); diff --git a/storage/client/file/src/samples/java/file/FileServiceSample.java b/storage/client/file/src/samples/java/com/azure/file/FileServiceSample.java similarity index 93% rename from storage/client/file/src/samples/java/file/FileServiceSample.java rename to storage/client/file/src/samples/java/com/azure/file/FileServiceSample.java index a68b764908d4e..f5fad2f7035aa 100644 --- a/storage/client/file/src/samples/java/file/FileServiceSample.java +++ b/storage/client/file/src/samples/java/com/azure/file/FileServiceSample.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package file; +package com.azure.file; import com.azure.core.http.rest.Response; import com.azure.core.util.configuration.ConfigurationManager; @@ -21,6 +21,10 @@ private static String generateRandomName() { return UUID.randomUUID().toString().substring(0, 8); } + /** + * The main method shows how to do the base operation using file service sync client. + * @param args No args needed for the main method + */ public static void main(String[] args) { // Create a file service client. FileServiceClient fileServiceClient = new FileServiceClientBuilder() diff --git a/storage/client/file/src/samples/java/file/ShareSample.java b/storage/client/file/src/samples/java/com/azure/file/ShareSample.java similarity index 96% rename from storage/client/file/src/samples/java/file/ShareSample.java rename to storage/client/file/src/samples/java/com/azure/file/ShareSample.java index 2df4819b5b3c0..00a5c2c5e767e 100644 --- a/storage/client/file/src/samples/java/file/ShareSample.java +++ b/storage/client/file/src/samples/java/com/azure/file/ShareSample.java @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package file; +package com.azure.file; import com.azure.core.http.rest.Response; import com.azure.core.util.configuration.ConfigurationManager; @@ -21,6 +21,10 @@ private static String generateRandomName() { return UUID.randomUUID().toString().substring(0, 8); } + /** + * The main method shows how to do the base operation using share sync client. + * @param args No args needed for the main method + */ public static void main(String[] args) { // Build a share client String shareName = generateRandomName(); @@ -100,14 +104,14 @@ public static void main(String[] args) { } // Check the delete share snapshot properties. - try{ + try { shareClient.getProperties(shareSnapshot1); } catch (StorageErrorException e) { System.out.println("This is expected. The snapshot has been delete. Reasons: " + e.getMessage()); } // Check the one not deleted. - try{ + try { shareClient.getProperties(shareSnapshot2); } catch (StorageErrorException e) { System.out.println("Failed to get the properties of share snapshot 2. Reasons: " + e.getMessage()); diff --git a/storage/client/file/src/samples/java/com/azure/storage/file/DirectoryJavaDocCodeSamples.java b/storage/client/file/src/samples/java/com/azure/storage/file/DirectoryJavaDocCodeSamples.java index e978d17eb7c70..9ab7d5b3c631e 100644 --- a/storage/client/file/src/samples/java/com/azure/storage/file/DirectoryJavaDocCodeSamples.java +++ b/storage/client/file/src/samples/java/com/azure/storage/file/DirectoryJavaDocCodeSamples.java @@ -91,7 +91,7 @@ public void createDirectoryAsync() { DirectoryAsyncClient directoryAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.directoryAsyncClient.create directoryAsyncClient.create().subscribe( - response -> {}, + response -> { }, error -> System.err.print(error.toString()), () -> System.out.println("Complete creating the directory!") ); @@ -142,7 +142,7 @@ public void createFileAsync() { DirectoryAsyncClient directoryAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.directoryAsyncClient.createFile#string-long directoryAsyncClient.createFile("myfile", 1024).subscribe( - response -> {}, + response -> { }, error -> System.err.println(error.toString()), () -> System.out.println("Complete creating the file.") ); @@ -157,7 +157,7 @@ public void listDirectoriesAndFiles() { // BEGIN: com.azure.storage.file.directoryClient.listFilesAndDirectories directoryClient.listFilesAndDirectories().forEach( fileRef -> System.out.printf("Is the resource a directory? %b. The resource name is: %s.", - fileRef.isDirectory(),fileRef.name()) + fileRef.isDirectory(), fileRef.name()) ); // END: com.azure.storage.file.directoryClient.listFilesAndDirectories } @@ -171,7 +171,7 @@ public void listDirectoriesAndFilesAsync() { // BEGIN: com.azure.storage.file.directoryAsyncClient.listFilesAndDirectories directoryAsyncClient.listFilesAndDirectories().subscribe( fileRef -> System.out.printf("Is the resource a directory? %b. The resource name is: %s.", - fileRef.isDirectory(),fileRef.name()), + fileRef.isDirectory(), fileRef.name()), error -> System.err.println(error.toString()), () -> System.out.println("Complete listing the directories and files.") ); @@ -196,7 +196,7 @@ public void deleteFileAsync() { DirectoryAsyncClient directoryAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.directoryAsyncClient.deleteFile#string directoryAsyncClient.deleteFile("myfile").subscribe( - response -> {}, + response -> { }, error -> System.err.println(error.toString()), () -> System.out.println("Complete deleting the file.") ); @@ -221,7 +221,7 @@ public void deleteSubDirectoryAsync() { DirectoryAsyncClient directoryAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.directoryAsyncClient.deleteSubDirectory#string directoryAsyncClient.deleteSubDirectory("mysubdirectory").subscribe( - response -> {}, + response -> { }, error -> System.err.println(error.toString()), () -> System.out.println("Complete deleting the subdirectory.") ); @@ -246,7 +246,7 @@ public void deleteDirectoryAsync() { DirectoryAsyncClient directoryAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.directoryAsyncClient.delete directoryAsyncClient.delete().subscribe( - response -> {}, + response -> { }, error -> System.err.println(error.toString()), () -> System.out.println("Complete deleting the file.") ); diff --git a/storage/client/file/src/samples/java/com/azure/storage/file/FileJavaDocCodeSamples.java b/storage/client/file/src/samples/java/com/azure/storage/file/FileJavaDocCodeSamples.java index 6eb33071e1c49..6b80e5075a84d 100644 --- a/storage/client/file/src/samples/java/com/azure/storage/file/FileJavaDocCodeSamples.java +++ b/storage/client/file/src/samples/java/com/azure/storage/file/FileJavaDocCodeSamples.java @@ -102,7 +102,7 @@ public void createFileAsync() { FileAsyncClient fileAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.fileAsyncClient.create fileAsyncClient.create(1024).subscribe( - response -> {}, + response -> { }, error -> System.err.print(error.toString()), () -> System.out.println("Complete creating the file!") ); @@ -130,9 +130,9 @@ public void copyFileAsync() { // BEGIN: com.azure.storage.file.fileAsyncClient.startCopy#string-map fileAsyncClient.startCopy("https://{accountName}.file.core.windows.net?{SASToken}", Collections.singletonMap("file", "metadata")).subscribe( - response -> System.out.println("Successfully copying the file with status code: " + response.statusCode()), - error -> System.err.println(error.toString()), - () -> System.out.println("Complete copying the file.") + response -> System.out.println("Successfully copying the file with status code: " + response.statusCode()), + error -> System.err.println(error.toString()), + () -> System.out.println("Complete copying the file.") ); // END: com.azure.storage.file.fileAsyncClient.startCopy#string-map } @@ -157,7 +157,7 @@ public void uploadDataAsync() { // BEGIN: com.azure.storage.file.fileAsyncClient.upload ByteBuf defaultData = Unpooled.wrappedBuffer("default".getBytes(StandardCharsets.UTF_8)); fileAsyncClient.upload(Flux.just(defaultData), defaultData.readableBytes()).subscribe( - response -> {}, + response -> { }, error -> System.err.print(error.toString()), () -> System.out.println("Complete deleting the file!") ); @@ -181,7 +181,7 @@ public void uploadFileAsync() { FileAsyncClient fileAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.fileAsyncClient.uploadFromFile fileAsyncClient.uploadFromFile("someFilePath").subscribe( - response -> {}, + response -> { }, error -> System.err.print(error.toString()), () -> System.out.println("Complete deleting the file!") ); @@ -202,7 +202,6 @@ public void downloadData() { error -> System.err.print(error.toString()), () -> System.out.println("Complete downloading the data!") ); - ; // END: com.azure.storage.file.fileClient.downloadWithProperties } @@ -213,7 +212,7 @@ public void downloadDataAsync() { FileAsyncClient fileAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.fileAsyncClient.downloadWithProperties fileAsyncClient.downloadWithProperties().subscribe( - response -> {}, + response -> { }, error -> System.err.print(error.toString()), () -> System.out.println("Complete downloading the data!") ); @@ -227,7 +226,7 @@ public void downloadFile() { // BEGIN: com.azure.storage.file.fileClient.downloadToFile fileClient.downloadToFile("somelocalfilepath"); if (Files.exists(Paths.get("somelocalfilepath"))) { - System.out.println("Complete downloading the file."); + System.out.println("Complete downloading the file."); } // END: com.azure.storage.file.fileClient.downloadToFile } @@ -268,7 +267,7 @@ public void deleteFileAsync() { FileAsyncClient fileAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.fileAsyncClient.delete fileAsyncClient.delete().subscribe( - response -> {}, + response -> { }, error -> System.err.print(error.toString()), () -> System.out.println("Complete deleting the file!") ); diff --git a/storage/client/file/src/samples/java/com/azure/storage/file/FileServiceJavaDocCodeSamples.java b/storage/client/file/src/samples/java/com/azure/storage/file/FileServiceJavaDocCodeSamples.java index c48170224c7b7..c996b24c1a962 100644 --- a/storage/client/file/src/samples/java/com/azure/storage/file/FileServiceJavaDocCodeSamples.java +++ b/storage/client/file/src/samples/java/com/azure/storage/file/FileServiceJavaDocCodeSamples.java @@ -83,7 +83,7 @@ public void createShareAsync() { FileServiceAsyncClient fileServiceAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.fileServiceAsyncClient.createShare#string fileServiceAsyncClient.createShare("myshare").subscribe( - response -> {}, + response -> { }, error -> System.err.print(error.toString()), () -> System.out.println("Complete creating the share!") ); diff --git a/storage/client/file/src/samples/java/com/azure/storage/file/ShareJavaDocCodeSamples.java b/storage/client/file/src/samples/java/com/azure/storage/file/ShareJavaDocCodeSamples.java index 9180fbebf5f93..28fffa70d43f5 100644 --- a/storage/client/file/src/samples/java/com/azure/storage/file/ShareJavaDocCodeSamples.java +++ b/storage/client/file/src/samples/java/com/azure/storage/file/ShareJavaDocCodeSamples.java @@ -93,7 +93,7 @@ public void createShareAsync() { ShareAsyncClient shareAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.shareAsyncClient.create shareAsyncClient.create().subscribe( - response -> {}, + response -> { }, error -> System.err.print(error.toString()), () -> System.out.println("Complete creating the share!") ); @@ -118,7 +118,7 @@ public void createDirectoryAsync() { ShareAsyncClient shareAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.shareAsyncClient.createDirectory#string shareAsyncClient.createDirectory("mydirectory").subscribe( - response -> {}, + response -> { }, error -> System.err.print(error.toString()), () -> System.out.println("Complete creating the directory!") ); @@ -196,7 +196,7 @@ public void deleteDirectoryAsync() { ShareAsyncClient shareAsyncClient = createAsyncClientWithSASToken(); // BEGIN: com.azure.storage.file.shareAsyncClient.deleteDirectory#string shareAsyncClient.deleteDirectory("mydirectory").subscribe( - response -> {}, + response -> { }, error -> System.err.println(error.toString()), () -> System.out.println("Complete creating the directory.") ); 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 731cbe85984a8..78a446ef54573 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,6 +6,7 @@ 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; @@ -151,10 +152,11 @@ public void setMetadataInvalidKeyFromDirClient() { public void listFilesAndDirectoriesFromDirClient() { FileTestHelpers.assertResponseStatusCode(directoryClient.create(), 201); int repeatTimes = 3; - // generate 100 directories for (int i = 0; i < repeatTimes; i++) { - FileTestHelpers.assertResponseStatusCode(directoryClient.createSubDirectory(dirName + i), 201); - //TODO: create files + DirectoryClient subDirClient = directoryClient.getSubDirectoryClient(dirName + i); + FileTestHelpers.assertResponseStatusCode(subDirClient.create(), 201); + String fileName = testResourceNamer.randomName("file", 16); + FileTestHelpers.assertResponseStatusCode(subDirClient.createFile(fileName, 1024), 201); } Iterable fileRefs = directoryClient.listFilesAndDirectories(dirName, null); int count = 0; @@ -164,7 +166,7 @@ public void listFilesAndDirectoriesFromDirClient() { Assert.assertNotNull(it.next()); } System.out.println(count); - Assert.assertEquals(count, repeatTimes); + Assert.assertEquals(repeatTimes * 2, count); } @Override 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 a6b606599f3fc..2000145fec549 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 @@ -95,8 +95,7 @@ public void startCopy() throws Exception { fileAsyncClient.create(1024).block(); String sourceURL = fileAsyncClient.getFileUrl().toString() + "/" + shareName + "/" + filePath; StepVerifier.create(fileAsyncClient.startCopy(sourceURL, null)) - .assertNext(response -> - { + .assertNext(response -> { FileTestHelpers.assertResponseStatusCode(response, 202); Assert.assertTrue(response.value().copyId() != null); }) @@ -199,13 +198,12 @@ public void forceCloseHandlesFromFileClient() { fileAsyncClient.create(1024).block(); CountDownLatch latch = new CountDownLatch(1); fileAsyncClient.listHandles().subscribe( - response -> { - StepVerifier.create(fileAsyncClient.forceCloseHandles(response.handleId())) - .assertNext(forceCloseHandles -> Assert.assertTrue(forceCloseHandles > 0)) - .verifyComplete(); - - latch.countDown(); - } + response -> { + StepVerifier.create(fileAsyncClient.forceCloseHandles(response.handleId())) + .assertNext(forceCloseHandles -> Assert.assertTrue(forceCloseHandles > 0)) + .verifyComplete(); + latch.countDown(); + } ); } } 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 b7e3b36293a99..d5e9350b7abf4 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 @@ -14,8 +14,8 @@ public abstract class FileClientTestBase extends TestBase { final Map basicMetadata = Collections.singletonMap("test", "metadata"); - static final String defaultText = "default"; - final ByteBuf defaultData = Unpooled.wrappedBuffer(defaultText.getBytes(StandardCharsets.UTF_8)); + static final String DEFAULT_TEXT = "default"; + final ByteBuf defaultData = Unpooled.wrappedBuffer(DEFAULT_TEXT.getBytes(StandardCharsets.UTF_8)); @Rule public TestName testName = new TestName(); diff --git a/storage/client/file/src/test/java/com/azure/storage/file/FileServiceClientAsyncTests.java b/storage/client/file/src/test/java/com/azure/storage/file/FileServiceClientAsyncTests.java index f89386ca40779..4322a7a1642f0 100644 --- a/storage/client/file/src/test/java/com/azure/storage/file/FileServiceClientAsyncTests.java +++ b/storage/client/file/src/test/java/com/azure/storage/file/FileServiceClientAsyncTests.java @@ -386,7 +386,7 @@ public void setPropertiesTooManyRules() { .version("1.0"); List cors = new ArrayList<>(); - for (int i = 0; i < 6; i ++) { + for (int i = 0; i < 6; i++) { cors.add(new CorsRule()); } diff --git a/storage/client/file/src/test/java/com/azure/storage/file/FileServiceClientTests.java b/storage/client/file/src/test/java/com/azure/storage/file/FileServiceClientTests.java index 06af49a7c3481..b75cc20867e2f 100644 --- a/storage/client/file/src/test/java/com/azure/storage/file/FileServiceClientTests.java +++ b/storage/client/file/src/test/java/com/azure/storage/file/FileServiceClientTests.java @@ -373,7 +373,7 @@ public void setPropertiesTooManyRules() { .version("1.0"); List cors = new ArrayList<>(); - for (int i = 0; i < 6; i ++) { + for (int i = 0; i < 6; i++) { cors.add(new CorsRule()); } diff --git a/storage/client/file/src/test/java/com/azure/storage/file/FileTestHelpers.java b/storage/client/file/src/test/java/com/azure/storage/file/FileTestHelpers.java index 8621b5ccc2f26..207598f11a45a 100644 --- a/storage/client/file/src/test/java/com/azure/storage/file/FileTestHelpers.java +++ b/storage/client/file/src/test/java/com/azure/storage/file/FileTestHelpers.java @@ -56,7 +56,7 @@ static void assertResponseStatusCode(Response response, int expectedStatusCod static void assertResponseListStatusCode(Response response, List expectedStatusCodeList) { for (Integer expectedStatusCode: expectedStatusCodeList) { - if (expectedStatusCode == response.statusCode()){ + if (expectedStatusCode == response.statusCode()) { return; } } @@ -81,7 +81,7 @@ static void assertExceptionStatusCode(Runnable thrower, int expectedStatusCode) } static void sleepInRecordMode(Duration duration) { - if(getTestMode() == TestMode.RECORD) { + if (getTestMode() == TestMode.RECORD) { sleep(duration); } } diff --git a/storage/client/file/src/test/java/com/azure/storage/file/LargeFileTest.java b/storage/client/file/src/test/java/com/azure/storage/file/LargeFileTest.java index d85b40a0e3127..aecce061802c8 100644 --- a/storage/client/file/src/test/java/com/azure/storage/file/LargeFileTest.java +++ b/storage/client/file/src/test/java/com/azure/storage/file/LargeFileTest.java @@ -72,7 +72,7 @@ public void uploadAndDownloadLargeFile() throws Exception { fail("Did not find the upload file."); } OffsetDateTime start = OffsetDateTime.now(); - File downloadFile = new File(dirPath + "/" +testResourceNamer.randomName("download", 16)); + File downloadFile = new File(dirPath + "/" + testResourceNamer.randomName("download", 16)); downloadFile.createNewFile(); largeFileClient.downloadToFile(downloadFile.getPath()); System.out.println("Download " + downloadFile.length() + " bytes took " + Duration.between(start, OffsetDateTime.now()).getSeconds() + " seconds"); @@ -108,8 +108,8 @@ private String getFileChecksum(File file) throws Exception { fis.close(); byte[] digestByte = md.digest(); String result = ""; - for (int i=0; i < digestByte.length; i++) { - result += Integer.toString( ( digestByte[i] & 0xff ) + 0x100, 16).substring( 1 ); + for (int i = 0; i < digestByte.length; i++) { + result += Integer.toString((digestByte[i] & 0xff) + 0x100, 16).substring(1); } return result; } 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 e7524d678fc6d..89c17aec39703 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" : [ "file48024a7f" ] + "variables" : [ "file31195601" ] } \ 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 dcce8e926cd93..54abcfb5aec12 100644 --- a/storage/client/file/src/test/resources/session-records/clearMetadataFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/clearMetadataFromDirClient.json @@ -1,42 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory33546a?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory23379f?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F41DD938A\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:48 GMT", + "ETag" : "\"0x8D7068ADDBDEDB0\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:19 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d333-d01a-008c-7118-2b82c9000000", + "x-ms-request-id" : "250bf19d-b01a-0014-6d73-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:47 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:18 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory33546a?restype=directory&comp=metadata", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory23379f?restype=directory&comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F41F7AFB5\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:48 GMT", + "ETag" : "\"0x8D7068ADDC9AFB0\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:19 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "fb84d334-d01a-008c-7218-2b82c9000000", + "x-ms-request-id" : "250bf19f-b01a-0014-6e73-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:47 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:18 GMT" } } ], - "variables" : [ "directory33546a" ] + "variables" : [ "directory23379f" ] } \ 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 4ccfa33ae062a..60ac2b06c9ae5 100644 --- a/storage/client/file/src/test/resources/session-records/createDirectoryAlreadyExistsFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createDirectoryAlreadyExistsFromShareClient.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share437652b2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share805734cf?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9300ED3C485\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:32 GMT", + "ETag" : "\"0x8D7068A9CCA0DDC\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f074-901a-004c-1118-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:31 GMT" + "x-ms-request-id" : "250beffd-b01a-0014-7d73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:29 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share437652b2/testshare?restype=directory", + "Uri" : "https://sima.file.core.windows.net/share805734cf/testshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9300EE09D17\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:32 GMT", + "ETag" : "\"0x8D7068A9CD6BF94\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f076-901a-004c-1218-2b088d000000", + "x-ms-request-id" : "250befff-b01a-0014-7e73-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:43:31 GMT" + "Date" : "Fri, 12 Jul 2019 05:34:29 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share437652b2/testshare?restype=directory", + "Uri" : "https://sima.file.core.windows.net/share805734cf/testshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -50,17 +50,17 @@ "retry-after" : "0", "Content-Length" : "228", "StatusCode" : "409", - "x-ms-request-id" : "cf06f077-901a-004c-1318-2b088d000000", - "Body" : "ResourceAlreadyExistsThe specified resource already exists.\nRequestId:cf06f077-901a-004c-1318-2b088d000000\nTime:2019-06-25T05:43:32.6482919Z", - "Date" : "Tue, 25 Jun 2019 05:43:31 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share437652b2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share805734cf?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -68,9 +68,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f078-901a-004c-1418-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:31 GMT" + "x-ms-request-id" : "250bf001-b01a-0014-8073-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:29 GMT" } } ], - "variables" : [ "share437652b2" ] + "variables" : [ "share805734cf" ] } \ 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 bd204bc85d265..9b1bce631c919 100644 --- a/storage/client/file/src/test/resources/session-records/createDirectoryFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createDirectoryFromShareClient.json @@ -1,57 +1,57 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share58605570?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" - }, - "Response" : { - "x-ms-version" : "2018-11-09", - "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D6F93160692826\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:52:58 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "d7e8d62b-101a-0030-3e1a-2b95b8000000", - "Date" : "Tue, 25 Jun 2019 05:52:57 GMT" - } - }, { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share58605570/testshare?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" - }, - "Response" : { - "x-ms-version" : "2018-11-09", - "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D6F93160A14068\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:52:58 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "d7e8d639-101a-0030-3f1a-2b95b8000000", - "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:52:58 GMT" - } - }, { - "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share58605570?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; 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" : "d7e8d63a-101a-0030-401a-2b95b8000000", - "Date" : "Tue, 25 Jun 2019 05:52:58 GMT" - } - } ], - "variables" : [ "share58605570" ] -} + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://sima.file.core.windows.net/share66071d66?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" + }, + "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", + "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" + } + }, { + "Method" : "PUT", + "Uri" : "https://sima.file.core.windows.net/share66071d66/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" + }, + "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", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "250bf07a-b01a-0014-3473-380cf6000000", + "x-ms-request-server-encrypted" : "true", + "Date" : "Fri, 12 Jul 2019 05:35:17 GMT" + } + }, { + "Method" : "DELETE", + "Uri" : "https://sima.file.core.windows.net/share66071d66?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" + }, + "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" : "250bf07b-b01a-0014-3573-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:18 GMT" + } + } ], + "variables" : [ "share66071d66" ] +} \ 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 5bef21219eea6..42d86c36ac894 100644 --- a/storage/client/file/src/test/resources/session-records/createDirectoryInvalidNameFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createDirectoryInvalidNameFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share14815a50?restype=share", + "Uri" : "https://sima.file.core.windows.net/share04110500?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F93009BB208A\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:23 GMT", + "ETag" : "\"0x8D7068A99D1EE78\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f024-901a-004c-5918-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:22 GMT" + "x-ms-request-id" : "250befb4-b01a-0014-4873-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:24 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share14815a50/test%2fshare?restype=directory", + "Uri" : "https://sima.file.core.windows.net/share04110500/test%2fshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "224", "StatusCode" : "404", - "x-ms-request-id" : "cf06f026-901a-004c-5a18-2b088d000000", - "Body" : "ParentNotFoundThe specified parent path does not exist.\nRequestId:cf06f026-901a-004c-5a18-2b088d000000\nTime:2019-06-25T05:43:23.7369418Z", - "Date" : "Tue, 25 Jun 2019 05:43:22 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share14815a50?restype=share", + "Uri" : "https://sima.file.core.windows.net/share04110500?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f027-901a-004c-5b18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:22 GMT" + "x-ms-request-id" : "250befb7-b01a-0014-4a73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:24 GMT" } } ], - "variables" : [ "share14815a50" ] + "variables" : [ "share04110500" ] } \ 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 2bfc98be85639..3ebe9d5b6cf79 100644 --- a/storage/client/file/src/test/resources/session-records/createExcessMaxSizeFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/createExcessMaxSizeFromFileClient.json @@ -1,45 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile644010fc", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile8303378f", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F7D41518E\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:27 GMT", + "ETag" : "\"0x8D7068A613A4D58\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ebfb-901a-004c-3d18-2b088d000000", + "x-ms-request-id" : "250bef06-b01a-0014-0473-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:39:27 GMT" - } - }, { - "Method" : "HEAD", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile644010fc", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" - }, - "Response" : { - "x-ms-version" : "2018-11-09", - "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:27 GMT", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Tue, 25 Jun 2019 05:39:27 GMT", - "x-ms-server-encrypted" : "true", - "x-ms-type" : "File", - "ETag" : "\"0x8D6F92F7D41518E\"", - "Content-Length" : "0", - "x-ms-request-id" : "cf06ebfd-901a-004c-3e18-2b088d000000", - "Body" : "", - "Content-Type" : "application/octet-stream" + "Date" : "Fri, 12 Jul 2019 05:32:49 GMT" } } ], - "variables" : [ "file644010fc" ] + "variables" : [ "file8303378f" ] } \ 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 38aa4b2f0baa2..e4ec27b928af5 100644 --- a/storage/client/file/src/test/resources/session-records/createFileFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/createFileFromDirClient.json @@ -1,42 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory885256?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory892147?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F3F861DE0\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:44 GMT", + "ETag" : "\"0x8D7068ADCA87A20\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d2f5-d01a-008c-3a18-2b82c9000000", + "x-ms-request-id" : "250bf178-b01a-0014-5773-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:43 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:16 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory885256%2ftestfile", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory892147%2ftestfile", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F3F9AE1EB\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:44 GMT", + "ETag" : "\"0x8D7068ADCB48A41\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d2f7-d01a-008c-3c18-2b82c9000000", + "x-ms-request-id" : "250bf179-b01a-0014-5873-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:43 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:16 GMT" } } ], - "variables" : [ "directory885256" ] + "variables" : [ "directory892147" ] } \ 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 160f2607d2511..fafc0cdbde4b3 100644 --- a/storage/client/file/src/test/resources/session-records/createFileWithoutCreateDirFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/createFileWithoutCreateDirFromDirClient.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory694789%2ftestfile", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory84870d%2ftestfile", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -13,11 +13,11 @@ "retry-after" : "0", "Content-Length" : "224", "StatusCode" : "404", - "x-ms-request-id" : "fb84d331-d01a-008c-6f18-2b82c9000000", - "Body" : "ParentNotFoundThe specified parent path does not exist.\nRequestId:fb84d331-d01a-008c-6f18-2b82c9000000\nTime:2019-06-25T05:37:48.1923794Z", - "Date" : "Tue, 25 Jun 2019 05:37:47 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "directory694789" ] + "variables" : [ "directory84870d" ] } \ 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 6e187010bd13f..3a292709876be 100644 --- a/storage/client/file/src/test/resources/session-records/createFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/createFromFileClient.json @@ -1,45 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile4264876b", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile07028d6a", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F7D840B3F\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:28 GMT", + "ETag" : "\"0x8D7068A61479640\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ebfe-901a-004c-3f18-2b088d000000", + "x-ms-request-id" : "250bef07-b01a-0014-0573-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:39:27 GMT" - } - }, { - "Method" : "HEAD", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile4264876b", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" - }, - "Response" : { - "x-ms-version" : "2018-11-09", - "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:28 GMT", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Tue, 25 Jun 2019 05:39:28 GMT", - "x-ms-server-encrypted" : "true", - "x-ms-type" : "File", - "ETag" : "\"0x8D6F92F7D840B3F\"", - "Content-Length" : "1024", - "x-ms-request-id" : "cf06ebff-901a-004c-4018-2b088d000000", - "Body" : "", - "Content-Type" : "application/octet-stream" + "Date" : "Fri, 12 Jul 2019 05:32:49 GMT" } } ], - "variables" : [ "file4264876b" ] + "variables" : [ "file07028d6a" ] } \ 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 c211a01604bbb..1510cd233fbab 100644 --- a/storage/client/file/src/test/resources/session-records/createFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share7125735d?restype=share", + "Uri" : "https://sima.file.core.windows.net/share4015849c?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9302E70B003\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:25 GMT", + "ETag" : "\"0x8D7068ABA22DCE6\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:35:19 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f144-901a-004c-0d19-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:24 GMT" + "x-ms-request-id" : "250bf087-b01a-0014-3c73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:18 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share7125735d?restype=share", + "Uri" : "https://sima.file.core.windows.net/share4015849c?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -30,9 +30,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f146-901a-004c-0e19-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:24 GMT" + "x-ms-request-id" : "250bf089-b01a-0014-3d73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:18 GMT" } } ], - "variables" : [ "share7125735d" ] + "variables" : [ "share4015849c" ] } \ 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 17e56b94cefe4..94e8cb42bc383 100644 --- a/storage/client/file/src/test/resources/session-records/createInvalidQuotaFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createInvalidQuotaFromShareClient.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share250475f7?restype=share", + "Uri" : "https://sima.file.core.windows.net/share00482019?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "324", "StatusCode" : "400", - "x-ms-request-id" : "cf06f120-901a-004c-7419-2b088d000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:cf06f120-901a-004c-7419-2b088d000000\nTime:2019-06-25T05:44:21.0777722Zx-ms-share-quota-1", - "Date" : "Tue, 25 Jun 2019 05:44:20 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share250475f7?restype=share", + "Uri" : "https://sima.file.core.windows.net/share00482019?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -32,17 +32,17 @@ "retry-after" : "0", "Content-Length" : "323", "StatusCode" : "400", - "x-ms-request-id" : "cf06f121-901a-004c-7519-2b088d000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:cf06f121-901a-004c-7519-2b088d000000\nTime:2019-06-25T05:44:21.1638325Zx-ms-share-quota0", - "Date" : "Tue, 25 Jun 2019 05:44:20 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share250475f7?restype=share", + "Uri" : "https://sima.file.core.windows.net/share00482019?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -51,11 +51,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06f123-901a-004c-7619-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06f123-901a-004c-7619-2b088d000000\nTime:2019-06-25T05:44:21.2468923Z", - "Date" : "Tue, 25 Jun 2019 05:44:20 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "share250475f7" ] + "variables" : [ "share00482019" ] } \ 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 5850a23e17504..4ee94c4621113 100644 --- a/storage/client/file/src/test/resources/session-records/createMinFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/createMinFromDirClient.json @@ -1,23 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory61418e?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory450829?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F3F2EEE48\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:43 GMT", + "ETag" : "\"0x8D7068ADC7EF174\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d2ef-d01a-008c-3418-2b82c9000000", + "x-ms-request-id" : "250bf175-b01a-0014-5473-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:43 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:16 GMT" } } ], - "variables" : [ "directory61418e" ] + "variables" : [ "directory450829" ] } \ 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 0f0c641941a3e..247eadfc0fdb8 100644 --- a/storage/client/file/src/test/resources/session-records/createShare.json +++ b/storage/client/file/src/test/resources/session-records/createShare.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share621603bc?restype=share", + "Uri" : "https://sima.file.core.windows.net/share359545bb?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FDABCEC90\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:04 GMT", + "ETag" : "\"0x8D7068B151A8907\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee51-901a-004c-2218-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:04 GMT" + "x-ms-request-id" : "250bf23e-b01a-0014-2673-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:51 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share621603bc&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share359545bb&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -30,17 +30,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ee53-901a-004c-2318-2b088d000000", - "Body" : "share621603bcshare621603bcTue, 25 Jun 2019 05:42:04 GMT\"0x8D6F92FDABCEC90\"5120", - "Date" : "Tue, 25 Jun 2019 05:42:04 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share621603bc?restype=share", + "Uri" : "https://sima.file.core.windows.net/share359545bb?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -48,9 +48,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06ee54-901a-004c-2418-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:04 GMT" + "x-ms-request-id" : "250bf241-b01a-0014-2873-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:51 GMT" } } ], - "variables" : [ "share621603bc" ] + "variables" : [ "share359545bb" ] } \ 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 d9a07c90b5598..61454a72ed878 100644 --- a/storage/client/file/src/test/resources/session-records/createShareInvalidQuota.json +++ b/storage/client/file/src/test/resources/session-records/createShareInvalidQuota.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share979199c2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share78241f0d?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "324", "StatusCode" : "400", - "x-ms-request-id" : "cf06ee4c-901a-004c-1d18-2b088d000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:cf06ee4c-901a-004c-1d18-2b088d000000\nTime:2019-06-25T05:42:03.9681432Zx-ms-share-quota-1", - "Date" : "Tue, 25 Jun 2019 05:42:03 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share979199c2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share78241f0d?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -32,17 +32,17 @@ "retry-after" : "0", "Content-Length" : "329", "StatusCode" : "400", - "x-ms-request-id" : "cf06ee4d-901a-004c-1e18-2b088d000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:cf06ee4d-901a-004c-1e18-2b088d000000\nTime:2019-06-25T05:42:04.1842970Zx-ms-share-quota9999999", - "Date" : "Tue, 25 Jun 2019 05:42:03 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share979199c2&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share78241f0d&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -50,11 +50,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ee4e-901a-004c-1f18-2b088d000000", - "Body" : "share979199c2", - "Date" : "Tue, 25 Jun 2019 05:42:03 GMT", + "x-ms-request-id" : "250bf23b-b01a-0014-2373-380cf6000000", + "Body" : "share78241f0d", + "Date" : "Fri, 12 Jul 2019 05:37:50 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share979199c2" ] + "variables" : [ "share78241f0d" ] } \ 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 138ff226cf29f..3450ad2a06957 100644 --- a/storage/client/file/src/test/resources/session-records/createShareTwiceDifferentMetadata.json +++ b/storage/client/file/src/test/resources/session-records/createShareTwiceDifferentMetadata.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share6864888d?restype=share", + "Uri" : "https://sima.file.core.windows.net/share31555353?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FD8D1DA12\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:01 GMT", + "ETag" : "\"0x8D7068B142A0A2F\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee24-901a-004c-7e18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:00 GMT" + "x-ms-request-id" : "250bf223-b01a-0014-1073-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:49 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share6864888d?restype=share", + "Uri" : "https://sima.file.core.windows.net/share31555353?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "222", "StatusCode" : "409", - "x-ms-request-id" : "cf06ee26-901a-004c-7f18-2b088d000000", - "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:cf06ee26-901a-004c-7f18-2b088d000000\nTime:2019-06-25T05:42:01.6755113Z", - "Date" : "Tue, 25 Jun 2019 05:42:00 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share6864888d&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share31555353&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -49,17 +49,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ee27-901a-004c-8018-2b088d000000", - "Body" : "share6864888dshare6864888dTue, 25 Jun 2019 05:42:01 GMT\"0x8D6F92FD8D1DA12\"5120", - "Date" : "Tue, 25 Jun 2019 05:42:01 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share6864888d?restype=share", + "Uri" : "https://sima.file.core.windows.net/share31555353?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -67,9 +67,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06ee2d-901a-004c-0418-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:01 GMT" + "x-ms-request-id" : "250bf227-b01a-0014-1373-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:49 GMT" } } ], - "variables" : [ "share6864888d" ] + "variables" : [ "share31555353" ] } \ 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 2060e264dc16b..cd7b78f6a5451 100644 --- a/storage/client/file/src/test/resources/session-records/createShareTwiceSameMetadata.json +++ b/storage/client/file/src/test/resources/session-records/createShareTwiceSameMetadata.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share66314b70?restype=share", + "Uri" : "https://sima.file.core.windows.net/share7779697a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FBD7113D7\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:41:15 GMT", + "ETag" : "\"0x8D7068AF8DFC305\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:04 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06edaa-901a-004c-4218-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:41:14 GMT" + "x-ms-request-id" : "250bf1d4-b01a-0014-7d73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:03 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share66314b70?restype=share", + "Uri" : "https://sima.file.core.windows.net/share7779697a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "222", "StatusCode" : "409", - "x-ms-request-id" : "cf06edac-901a-004c-4318-2b088d000000", - "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:cf06edac-901a-004c-4318-2b088d000000\nTime:2019-06-25T05:41:15.7448092Z", - "Date" : "Tue, 25 Jun 2019 05:41:15 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share66314b70&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share7779697a&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -49,17 +49,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06edae-901a-004c-4418-2b088d000000", - "Body" : "share66314b70share66314b70Tue, 25 Jun 2019 05:41:15 GMT\"0x8D6F92FBD7113D7\"5120", - "Date" : "Tue, 25 Jun 2019 05:41:15 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share66314b70?restype=share", + "Uri" : "https://sima.file.core.windows.net/share7779697a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -67,9 +67,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06edaf-901a-004c-4518-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:41:15 GMT" + "x-ms-request-id" : "250bf1d9-b01a-0014-8073-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:04 GMT" } } ], - "variables" : [ "share66314b70" ] + "variables" : [ "share7779697a" ] } \ 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 59876aae939f3..c9664f05e8353 100644 --- a/storage/client/file/src/test/resources/session-records/createSubDirectory.json +++ b/storage/client/file/src/test/resources/session-records/createSubDirectory.json @@ -1,42 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory67447d?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory44667f?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F3E902232\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:42 GMT", + "ETag" : "\"0x8D7068ADC2EEDF8\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:16 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d2e2-d01a-008c-2918-2b82c9000000", + "x-ms-request-id" : "250bf16f-b01a-0014-4e73-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:42 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:15 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory67447d%2fdirectory373371?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory44667f%2fdir66279ebb4?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F3EBB7F59\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:43 GMT", + "ETag" : "\"0x8D7068ADC3CFA52\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:16 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d2e7-d01a-008c-2c18-2b82c9000000", + "x-ms-request-id" : "250bf170-b01a-0014-4f73-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:42 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:15 GMT" } } ], - "variables" : [ "directory67447d", "directory373371" ] + "variables" : [ "directory44667f", "dir66279ebb4" ] } \ 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 0ed9dcc8e028a..d652d15d60896 100644 --- a/storage/client/file/src/test/resources/session-records/createSubDirectoryTwiceSameMetadata.json +++ b/storage/client/file/src/test/resources/session-records/createSubDirectoryTwiceSameMetadata.json @@ -1,61 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory855419?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory338325?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F416CE42F\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:47 GMT", + "ETag" : "\"0x8D7068ADD974BBF\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d32b-d01a-008c-6918-2b82c9000000", + "x-ms-request-id" : "250bf19a-b01a-0014-6a73-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:46 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:18 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory855419%2fdir96959f30c?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory338325%2fdir92813486a?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F4185042D\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:47 GMT", + "ETag" : "\"0x8D7068ADDA2E6AA\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d32d-d01a-008c-6b18-2b82c9000000", + "x-ms-request-id" : "250bf19b-b01a-0014-6b73-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:47 GMT" - } - }, { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory855419%2fdir96959f30c?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; 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" : "fb84d32e-d01a-008c-6c18-2b82c9000000", - "Body" : "ResourceAlreadyExistsThe specified resource already exists.\nRequestId:fb84d32e-d01a-008c-6c18-2b82c9000000\nTime:2019-06-25T05:37:47.8401355Z", - "Date" : "Tue, 25 Jun 2019 05:37:47 GMT", - "Content-Type" : "application/xml" + "Date" : "Fri, 12 Jul 2019 05:36:18 GMT" } } ], - "variables" : [ "directory855419", "dir96959f30c" ] + "variables" : [ "directory338325", "dir92813486a" ] } \ 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 0b6c80560f1c4..4fccb69c7051d 100644 --- a/storage/client/file/src/test/resources/session-records/createSubDirectoryWithMetadata.json +++ b/storage/client/file/src/test/resources/session-records/createSubDirectoryWithMetadata.json @@ -1,42 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory280816?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory66462f?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F41404E53\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:47 GMT", + "ETag" : "\"0x8D7068ADD7F2B73\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d328-d01a-008c-6618-2b82c9000000", + "x-ms-request-id" : "250bf198-b01a-0014-6873-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:46 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:17 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory280816%2fdirectory53335b?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory66462f%2fdir88930aa4d?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F415BCA44\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:47 GMT", + "ETag" : "\"0x8D7068ADD8A9F38\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d329-d01a-008c-6718-2b82c9000000", + "x-ms-request-id" : "250bf199-b01a-0014-6973-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:46 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:18 GMT" } } ], - "variables" : [ "directory280816", "directory53335b" ] + "variables" : [ "directory66462f", "dir88930aa4d" ] } \ 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 0d0b6dbf1c41e..69fd5f7e27008 100644 --- a/storage/client/file/src/test/resources/session-records/createTwiceDifferentMetadataFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createTwiceDifferentMetadataFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share8080011b?restype=share", + "Uri" : "https://sima.file.core.windows.net/share0602441f?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9303078ECF8\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:28 GMT", + "ETag" : "\"0x8D7068ABB496A0D\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:35:21 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f168-901a-004c-2619-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:27 GMT" + "x-ms-request-id" : "250bf0a9-b01a-0014-5373-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:20 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share8080011b?restype=share", + "Uri" : "https://sima.file.core.windows.net/share0602441f?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "222", "StatusCode" : "409", - "x-ms-request-id" : "cf06f16b-901a-004c-2719-2b088d000000", - "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:cf06f16b-901a-004c-2719-2b088d000000\nTime:2019-06-25T05:44:28.9743983Z", - "Date" : "Tue, 25 Jun 2019 05:44:28 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share8080011b?restype=share", + "Uri" : "https://sima.file.core.windows.net/share0602441f?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f16c-901a-004c-2819-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:28 GMT" + "x-ms-request-id" : "250bf0ac-b01a-0014-5573-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:20 GMT" } } ], - "variables" : [ "share8080011b" ] + "variables" : [ "share0602441f" ] } \ 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 668e83962593f..69c4d8e40f36c 100644 --- a/storage/client/file/src/test/resources/session-records/createTwiceFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/createTwiceFromDirClient.json @@ -1,29 +1,29 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory51196f?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory88042e?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F407B5619\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:46 GMT", + "ETag" : "\"0x8D7068ADD1A3C91\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d30a-d01a-008c-4d18-2b82c9000000", + "x-ms-request-id" : "250bf182-b01a-0014-6073-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:45 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:17 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory51196f?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory88042e?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "228", "StatusCode" : "409", - "x-ms-request-id" : "fb84d30b-d01a-008c-4e18-2b82c9000000", - "Body" : "ResourceAlreadyExistsThe specified resource already exists.\nRequestId:fb84d30b-d01a-008c-4e18-2b82c9000000\nTime:2019-06-25T05:37:46.0979287Z", - "Date" : "Tue, 25 Jun 2019 05:37:45 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "directory51196f" ] + "variables" : [ "directory88042e" ] } \ 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 4a13ea31224fc..d922cdadf145c 100644 --- a/storage/client/file/src/test/resources/session-records/createTwiceSameMetadataFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/createTwiceSameMetadataFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share9408328f?restype=share", + "Uri" : "https://sima.file.core.windows.net/share638529c8?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9301048F536\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:34 GMT", + "ETag" : "\"0x8D7068A9D834636\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f098-901a-004c-2d18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:33 GMT" + "x-ms-request-id" : "250bf00f-b01a-0014-0b73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:30 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share9408328f?restype=share", + "Uri" : "https://sima.file.core.windows.net/share638529c8?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "222", "StatusCode" : "409", - "x-ms-request-id" : "cf06f09a-901a-004c-2e18-2b088d000000", - "Body" : "ShareAlreadyExistsThe specified share already exists.\nRequestId:cf06f09a-901a-004c-2e18-2b088d000000\nTime:2019-06-25T05:43:34.7287715Z", - "Date" : "Tue, 25 Jun 2019 05:43:33 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share9408328f?restype=share", + "Uri" : "https://sima.file.core.windows.net/share638529c8?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f09b-901a-004c-2f18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:33 GMT" + "x-ms-request-id" : "250bf012-b01a-0014-0d73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:30 GMT" } } ], - "variables" : [ "share9408328f" ] + "variables" : [ "share638529c8" ] } \ 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 098bdbff3b835..134a8a3d4013b 100644 --- a/storage/client/file/src/test/resources/session-records/createWithMetadataFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/createWithMetadataFromDirClient.json @@ -1,23 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory13826d?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory784537?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F3E58B50A\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:42 GMT", + "ETag" : "\"0x8D7068ADC198D4E\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:16 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d2de-d01a-008c-2618-2b82c9000000", + "x-ms-request-id" : "250bf16e-b01a-0014-4d73-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:41 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:15 GMT" } } ], - "variables" : [ "directory13826d" ] + "variables" : [ "directory784537" ] } \ 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 71d80d0b39ede..28914e8df77da 100644 --- a/storage/client/file/src/test/resources/session-records/deleteDirectoryDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteDirectoryDoesNotExistFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share884118a5?restype=share", + "Uri" : "https://sima.file.core.windows.net/share9128062c?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9300DEAE7C1\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:30 GMT", + "ETag" : "\"0x8D7068A9C6C7394\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f069-901a-004c-0a18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:29 GMT" + "x-ms-request-id" : "250beff3-b01a-0014-7673-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:28 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share884118a5/testshare?restype=directory", + "Uri" : "https://sima.file.core.windows.net/share9128062c/testshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "cf06f06c-901a-004c-0b18-2b088d000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:cf06f06c-901a-004c-0b18-2b088d000000\nTime:2019-06-25T05:43:30.9921121Z", - "Date" : "Tue, 25 Jun 2019 05:43:30 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share884118a5?restype=share", + "Uri" : "https://sima.file.core.windows.net/share9128062c?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f06e-901a-004c-0c18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:30 GMT" + "x-ms-request-id" : "250beff6-b01a-0014-7873-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:29 GMT" } } ], - "variables" : [ "share884118a5" ] + "variables" : [ "share9128062c" ] } \ 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 31808f813e04d..1fdf4d02df4dd 100644 --- a/storage/client/file/src/test/resources/session-records/deleteDirectoryFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteDirectoryFromShareClient.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share131726cb?restype=share", + "Uri" : "https://sima.file.core.windows.net/share39982bbf?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9300A69CFDE\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:24 GMT", + "ETag" : "\"0x8D7068A9A66A869\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:26 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f035-901a-004c-6518-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:23 GMT" + "x-ms-request-id" : "250befc1-b01a-0014-5273-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:25 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share131726cb/testshare?restype=directory", + "Uri" : "https://sima.file.core.windows.net/share39982bbf/testshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9300A8A1A03\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:25 GMT", + "ETag" : "\"0x8D7068A9A77030B\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:26 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f037-901a-004c-6618-2b088d000000", + "x-ms-request-id" : "250befc3-b01a-0014-5373-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:43:24 GMT" + "Date" : "Fri, 12 Jul 2019 05:34:25 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share131726cb/testshare?restype=directory", + "Uri" : "https://sima.file.core.windows.net/share39982bbf/testshare?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -49,15 +49,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f038-901a-004c-6718-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:24 GMT" + "x-ms-request-id" : "250befc4-b01a-0014-5473-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:25 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share131726cb?restype=share", + "Uri" : "https://sima.file.core.windows.net/share39982bbf?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -65,9 +65,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f039-901a-004c-6818-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:24 GMT" + "x-ms-request-id" : "250befc5-b01a-0014-5573-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:25 GMT" } } ], - "variables" : [ "share131726cb" ] + "variables" : [ "share39982bbf" ] } \ 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 78472f88098af..be5eee6eccac3 100644 --- a/storage/client/file/src/test/resources/session-records/deleteDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteDoesNotExistFromShareClient.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share884933be?restype=share", + "Uri" : "https://sima.file.core.windows.net/share09324ad6?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06f04d-901a-004c-7518-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06f04d-901a-004c-7518-2b088d000000\nTime:2019-06-25T05:43:26.9662404Z", - "Date" : "Tue, 25 Jun 2019 05:43:26 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share884933be?restype=share", + "Uri" : "https://sima.file.core.windows.net/share09324ad6?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06f04e-901a-004c-7618-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06f04e-901a-004c-7618-2b088d000000\nTime:2019-06-25T05:43:27.2604498Z", - "Date" : "Tue, 25 Jun 2019 05:43:26 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "share884933be" ] + "variables" : [ "share09324ad6" ] } \ 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 7c7d56cc5d514..9064096b4feb3 100644 --- a/storage/client/file/src/test/resources/session-records/deleteFileFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteFileFromDirClient.json @@ -1,48 +1,48 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory52870f?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory880763?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F42080629\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:48 GMT", + "ETag" : "\"0x8D7068ADDD5E6E7\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:19 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d336-d01a-008c-7418-2b82c9000000", + "x-ms-request-id" : "250bf1a0-b01a-0014-6f73-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:47 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:18 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory52870f%2ftestfile", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory880763%2ftestfile", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F421527CB\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:48 GMT", + "ETag" : "\"0x8D7068ADDE13392\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:19 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d337-d01a-008c-7518-2b82c9000000", + "x-ms-request-id" : "250bf1a3-b01a-0014-7073-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:48 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:18 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory52870f%2ftestfile", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory880763%2ftestfile", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -50,9 +50,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "fb84d339-d01a-008c-7718-2b82c9000000", - "Date" : "Tue, 25 Jun 2019 05:37:48 GMT" + "x-ms-request-id" : "250bf1a4-b01a-0014-7173-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:36:18 GMT" } } ], - "variables" : [ "directory52870f" ] + "variables" : [ "directory880763" ] } \ 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 509d01ee8dfc8..a6b78a66b3652 100644 --- a/storage/client/file/src/test/resources/session-records/deleteFileWithoutCreateFileFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteFileWithoutCreateFileFromDirClient.json @@ -1,29 +1,29 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory757527?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory814540?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F4042D751\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:45 GMT", + "ETag" : "\"0x8D7068ADD024363\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d305-d01a-008c-4818-2b82c9000000", + "x-ms-request-id" : "250bf180-b01a-0014-5e73-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:44 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:17 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory757527%2ftestfile", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory814540%2ftestfile", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "223", "StatusCode" : "404", - "x-ms-request-id" : "fb84d307-d01a-008c-4a18-2b82c9000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:fb84d307-d01a-008c-4a18-2b82c9000000\nTime:2019-06-25T05:37:45.7376802Z", - "Date" : "Tue, 25 Jun 2019 05:37:45 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "directory757527" ] + "variables" : [ "directory814540" ] } \ 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 ad89fa83ecc75..43313cf33bfe4 100644 --- a/storage/client/file/src/test/resources/session-records/deleteFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteFromDirClient.json @@ -1,29 +1,29 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory62615b?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory526195?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F401C0ED2\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:45 GMT", + "ETag" : "\"0x8D7068ADCE8C338\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d302-d01a-008c-4518-2b82c9000000", + "x-ms-request-id" : "250bf17e-b01a-0014-5c73-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:44 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:17 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory62615b?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory526195?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -31,9 +31,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "fb84d304-d01a-008c-4718-2b82c9000000", - "Date" : "Tue, 25 Jun 2019 05:37:44 GMT" + "x-ms-request-id" : "250bf17f-b01a-0014-5d73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:36:17 GMT" } } ], - "variables" : [ "directory62615b" ] + "variables" : [ "directory526195" ] } \ 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 61e538fcb2132..a5c891016c0d6 100644 --- a/storage/client/file/src/test/resources/session-records/deleteFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteFromFileClient.json @@ -1,39 +1,4 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile71383a98", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" - }, - "Response" : { - "x-ms-version" : "2018-11-09", - "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D6F92F7B20FAD5\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:24 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "cf06ebe5-901a-004c-2a18-2b088d000000", - "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:39:23 GMT" - } - }, { - "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile71383a98", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; 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" : "cf06ebe6-901a-004c-2b18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:39:24 GMT" - } - } ], - "variables" : [ "file71383a98" ] + "networkCallRecords" : [ ], + "variables" : [ "file89238745" ] } \ 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 ca05fd656a9b4..8f943ee3d28b2 100644 --- a/storage/client/file/src/test/resources/session-records/deleteFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share87921501?restype=share", + "Uri" : "https://sima.file.core.windows.net/share53745cd7?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9302DF9E3BA\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:24 GMT", + "ETag" : "\"0x8D7068AB9F3ADF9\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:35:19 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f140-901a-004c-0a19-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:23 GMT" + "x-ms-request-id" : "250bf080-b01a-0014-3973-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:18 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share87921501?restype=share", + "Uri" : "https://sima.file.core.windows.net/share53745cd7?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -30,25 +30,28 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f142-901a-004c-0b19-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:23 GMT" + "x-ms-request-id" : "250bf083-b01a-0014-3a73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:18 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share87921501?restype=share", + "Uri" : "https://sima.file.core.windows.net/share53745cd7?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "ShareBeingDeleted", "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "cf06f143-901a-004c-0c19-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:24 GMT" + "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", + "Content-Type" : "application/xml" } } ], - "variables" : [ "share87921501" ] + "variables" : [ "share53745cd7" ] } \ 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 3d7221096422d..099af63dd8a24 100644 --- a/storage/client/file/src/test/resources/session-records/deleteNotExistFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteNotExistFromDirClient.json @@ -1,23 +1,4 @@ { - "networkCallRecords" : [ { - "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory710914?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; 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" : "fb84d2e0-d01a-008c-2718-2b82c9000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:fb84d2e0-d01a-008c-2718-2b82c9000000\nTime:2019-06-25T05:37:42.6145166Z", - "Date" : "Tue, 25 Jun 2019 05:37:41 GMT", - "Content-Type" : "application/xml" - } - } ], - "variables" : [ "directory710914" ] + "networkCallRecords" : [ ], + "variables" : [ "directory664986" ] } \ 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 0ef39c5d92329..e24ba2ab1f435 100644 --- a/storage/client/file/src/test/resources/session-records/deleteShare.json +++ b/storage/client/file/src/test/resources/session-records/deleteShare.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share60425873?restype=share", + "Uri" : "https://sima.file.core.windows.net/share77342182?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FDA114B0A\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:03 GMT", + "ETag" : "\"0x8D7068B14B8A84D\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:51 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee46-901a-004c-1818-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:02 GMT" + "x-ms-request-id" : "250bf235-b01a-0014-1e73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:50 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share60425873?restype=share", + "Uri" : "https://sima.file.core.windows.net/share77342182?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -30,15 +30,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06ee49-901a-004c-1a18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:03 GMT" + "x-ms-request-id" : "250bf237-b01a-0014-1f73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:50 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share60425873&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share77342182&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -46,11 +46,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ee4b-901a-004c-1c18-2b088d000000", - "Body" : "share60425873", - "Date" : "Tue, 25 Jun 2019 05:42:03 GMT", + "x-ms-request-id" : "250bf238-b01a-0014-2073-380cf6000000", + "Body" : "share77342182", + "Date" : "Fri, 12 Jul 2019 05:37:50 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share60425873" ] + "variables" : [ "share77342182" ] } \ 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 1124b33fcb46f..1c309ef98b8db 100644 --- a/storage/client/file/src/test/resources/session-records/deleteShareDoesNotExist.json +++ b/storage/client/file/src/test/resources/session-records/deleteShareDoesNotExist.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share043630d9?restype=share", + "Uri" : "https://sima.file.core.windows.net/share63764eb2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06ee65-901a-004c-2f18-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06ee65-901a-004c-2f18-2b088d000000\nTime:2019-06-25T05:42:07.0233178Z", - "Date" : "Tue, 25 Jun 2019 05:42:06 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share043630d9&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share63764eb2&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -31,11 +31,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ee66-901a-004c-3018-2b088d000000", - "Body" : "share043630d9", - "Date" : "Tue, 25 Jun 2019 05:42:06 GMT", + "x-ms-request-id" : "250bf251-b01a-0014-3473-380cf6000000", + "Body" : "share63764eb2", + "Date" : "Fri, 12 Jul 2019 05:37:52 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share043630d9" ] + "variables" : [ "share63764eb2" ] } \ 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 8fba975dede0d..b75caa027dc75 100644 --- a/storage/client/file/src/test/resources/session-records/deleteSnapshotFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteSnapshotFromShareClient.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share72333d9d?restype=share", + "Uri" : "https://sima.file.core.windows.net/share891073b6?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9300CBF0247\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:28 GMT", + "ETag" : "\"0x8D7068A9BC78A11\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f05a-901a-004c-7e18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:27 GMT" + "x-ms-request-id" : "250befe3-b01a-0014-6a73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:27 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share72333d9d?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share891073b6?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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-06-25T05:43:28.0000000Z", + "x-ms-snapshot" : "2019-07-12T05:34:28.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D6F9300CBF0247\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:28 GMT", + "ETag" : "\"0x8D7068A9BC78A11\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f05c-901a-004c-7f18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:28 GMT" + "x-ms-request-id" : "250befe5-b01a-0014-6b73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:27 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share72333d9d?sharesnapshot=2019-06-25T05%3a43%3a28.0000000Z&restype=share", + "Uri" : "https://sima.file.core.windows.net/share891073b6?sharesnapshot=2019-07-12T05%3a34%3a28.0000000Z&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -49,34 +49,34 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f05d-901a-004c-8018-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:28 GMT" + "x-ms-request-id" : "250befe6-b01a-0014-6c73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:28 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share72333d9d?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share891073b6?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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-06-25T05:43:29.0000000Z", + "x-ms-snapshot" : "2019-07-12T05:34:28.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D6F9300CBF0247\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:28 GMT", + "ETag" : "\"0x8D7068A9BC78A11\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f05e-901a-004c-0118-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:28 GMT" + "x-ms-request-id" : "250befe7-b01a-0014-6d73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:28 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share72333d9d?restype=share", + "Uri" : "https://sima.file.core.windows.net/share891073b6?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -85,11 +85,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "cf06f05f-901a-004c-0218-2b088d000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:cf06f05f-901a-004c-0218-2b088d000000\nTime:2019-06-25T05:43:29.2999080Z", - "Date" : "Tue, 25 Jun 2019 05:43:28 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "share72333d9d" ] + "variables" : [ "share891073b6" ] } \ 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 f22b80bf2e932..bac0a6013903f 100644 --- a/storage/client/file/src/test/resources/session-records/deleteSubDirectory.json +++ b/storage/client/file/src/test/resources/session-records/deleteSubDirectory.json @@ -1,48 +1,48 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory88952d?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory266542?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F3FCC0C6B\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:44 GMT", + "ETag" : "\"0x8D7068CB7B57229\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:49:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d2fb-d01a-008c-3e18-2b82c9000000", + "x-ms-request-id" : "d0c1b97f-701a-006f-5975-386746000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:44 GMT" + "Date" : "Fri, 12 Jul 2019 05:49:33 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory88952d%2fdir48344fccd?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory266542%2fdir37249c7be?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F3FDD2656\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:44 GMT", + "ETag" : "\"0x8D7068CB7C79DF3\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:49:34 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d2fd-d01a-008c-4018-2b82c9000000", + "x-ms-request-id" : "d0c1b981-701a-006f-5a75-386746000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:44 GMT" + "Date" : "Fri, 12 Jul 2019 05:49:33 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory88952d%2fdir48344fccd?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory266542%2fdir37249c7be?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -50,9 +50,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "fb84d301-d01a-008c-4418-2b82c9000000", - "Date" : "Tue, 25 Jun 2019 05:37:44 GMT" + "x-ms-request-id" : "d0c1b986-701a-006f-5b75-386746000000", + "Date" : "Fri, 12 Jul 2019 05:49:36 GMT" } } ], - "variables" : [ "directory88952d", "dir48344fccd" ] + "variables" : [ "directory266542", "dir37249c7be" ] } \ 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 c73c84c73f8ee..1a6ebb0cb6aa6 100644 --- a/storage/client/file/src/test/resources/session-records/deleteThenCreateFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteThenCreateFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share99215aaf?restype=share", + "Uri" : "https://sima.file.core.windows.net/share57892acd?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F93010B426A7\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:35 GMT", + "ETag" : "\"0x8D7068A9DD1C29E\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f0a0-901a-004c-3318-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:34 GMT" + "x-ms-request-id" : "250bf017-b01a-0014-1173-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:31 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share99215aaf?restype=share", + "Uri" : "https://sima.file.core.windows.net/share57892acd?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -30,33 +30,33 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f0a2-901a-004c-3418-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:34 GMT" + "x-ms-request-id" : "250bf019-b01a-0014-1273-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:31 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share99215aaf?restype=share", + "Uri" : "https://sima.file.core.windows.net/share57892acd?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9302BA54DE7\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:20 GMT", + "ETag" : "\"0x8D7068AB8BC2E09\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:35:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f11b-901a-004c-7219-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:19 GMT" + "x-ms-request-id" : "250bf050-b01a-0014-2073-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:16 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share99215aaf?restype=share", + "Uri" : "https://sima.file.core.windows.net/share57892acd?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -64,9 +64,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f11e-901a-004c-7319-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:19 GMT" + "x-ms-request-id" : "250bf053-b01a-0014-2173-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:16 GMT" } } ], - "variables" : [ "share99215aaf" ] + "variables" : [ "share57892acd" ] } \ 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 5c78079bc5a9c..7c311685ce49e 100644 --- a/storage/client/file/src/test/resources/session-records/deleteThenCreateShareFromFileServiceClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteThenCreateShareFromFileServiceClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share12552ade?restype=share", + "Uri" : "https://sima.file.core.windows.net/share21437309?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FBDA8F6E2\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:41:16 GMT", + "ETag" : "\"0x8D7068AF91C13A1\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:05 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06edb0-901a-004c-4618-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:41:15 GMT" + "x-ms-request-id" : "250bf1da-b01a-0014-0173-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:04 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share12552ade?restype=share", + "Uri" : "https://sima.file.core.windows.net/share21437309?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -30,33 +30,33 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06edb2-901a-004c-4718-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:41:15 GMT" + "x-ms-request-id" : "250bf1dd-b01a-0014-0273-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:04 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share12552ade?restype=share", + "Uri" : "https://sima.file.core.windows.net/share21437309?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FD8A060CA\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:01 GMT", + "ETag" : "\"0x8D7068B14060101\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee1f-901a-004c-7b18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:00 GMT" + "x-ms-request-id" : "250bf21d-b01a-0014-0d73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:49 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share12552ade&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share21437309&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -64,17 +64,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ee22-901a-004c-7c18-2b088d000000", - "Body" : "share12552adeshare12552adeTue, 25 Jun 2019 05:42:01 GMT\"0x8D6F92FD8A060CA\"5120", - "Date" : "Tue, 25 Jun 2019 05:42:00 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share12552ade?restype=share", + "Uri" : "https://sima.file.core.windows.net/share21437309?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -82,9 +82,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06ee23-901a-004c-7d18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:00 GMT" + "x-ms-request-id" : "250bf222-b01a-0014-0f73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:49 GMT" } } ], - "variables" : [ "share12552ade" ] + "variables" : [ "share21437309" ] } \ 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 8e7dce95618de..63a3307e77cd9 100644 --- a/storage/client/file/src/test/resources/session-records/deleteThenCreateShareTooSoonFromFileServiceClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteThenCreateShareTooSoonFromFileServiceClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share05019e98?restype=share", + "Uri" : "https://sima.file.core.windows.net/share77936454?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FDC34DCEE\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:07 GMT", + "ETag" : "\"0x8D7068B15D680DC\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:53 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee67-901a-004c-3118-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:06 GMT" + "x-ms-request-id" : "250bf252-b01a-0014-3573-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:52 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share05019e98?restype=share", + "Uri" : "https://sima.file.core.windows.net/share77936454?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -30,15 +30,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06ee69-901a-004c-3218-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:06 GMT" + "x-ms-request-id" : "250bf254-b01a-0014-3673-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:52 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share05019e98?restype=share", + "Uri" : "https://sima.file.core.windows.net/share77936454?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -47,17 +47,17 @@ "retry-after" : "0", "Content-Length" : "244", "StatusCode" : "409", - "x-ms-request-id" : "cf06ee6a-901a-004c-3318-2b088d000000", - "Body" : "ShareBeingDeletedThe specified share is being deleted. Try operation later.\nRequestId:cf06ee6a-901a-004c-3318-2b088d000000\nTime:2019-06-25T05:42:07.5006591Z", - "Date" : "Tue, 25 Jun 2019 05:42:06 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share05019e98&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share77936454&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -65,11 +65,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ee75-901a-004c-3e18-2b088d000000", - "Body" : "share05019e98", - "Date" : "Tue, 25 Jun 2019 05:42:06 GMT", + "x-ms-request-id" : "250bf256-b01a-0014-3873-380cf6000000", + "Body" : "share77936454", + "Date" : "Fri, 12 Jul 2019 05:37:52 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share05019e98" ] + "variables" : [ "share77936454" ] } \ 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 4ffb44787ae4b..a4bd468038f83 100644 --- a/storage/client/file/src/test/resources/session-records/deleteThenCreateTooSoonFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/deleteThenCreateTooSoonFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share1908826e?restype=share", + "Uri" : "https://sima.file.core.windows.net/share77419f12?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9300B571A35\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:26 GMT", + "ETag" : "\"0x8D7068A9B1382A1\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:27 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f046-901a-004c-7018-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:25 GMT" + "x-ms-request-id" : "250befd1-b01a-0014-5d73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:26 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share1908826e?restype=share", + "Uri" : "https://sima.file.core.windows.net/share77419f12?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -30,15 +30,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f048-901a-004c-7118-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:25 GMT" + "x-ms-request-id" : "250befd4-b01a-0014-5e73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:26 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share1908826e?restype=share", + "Uri" : "https://sima.file.core.windows.net/share77419f12?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -47,27 +47,30 @@ "retry-after" : "0", "Content-Length" : "244", "StatusCode" : "409", - "x-ms-request-id" : "cf06f04a-901a-004c-7218-2b088d000000", - "Body" : "ShareBeingDeletedThe specified share is being deleted. Try operation later.\nRequestId:cf06f04a-901a-004c-7218-2b088d000000\nTime:2019-06-25T05:43:26.7570913Z", - "Date" : "Tue, 25 Jun 2019 05:43:25 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share1908826e?restype=share", + "Uri" : "https://sima.file.core.windows.net/share77419f12?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "ShareBeingDeleted", "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "202", - "x-ms-request-id" : "cf06f04c-901a-004c-7418-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:26 GMT" + "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", + "Content-Type" : "application/xml" } } ], - "variables" : [ "share1908826e" ] + "variables" : [ "share77419f12" ] } \ 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 1b16190f0bb6a..9b4a41a69e566 100644 --- a/storage/client/file/src/test/resources/session-records/downloadWithProperties.json +++ b/storage/client/file/src/test/resources/session-records/downloadWithProperties.json @@ -1,47 +1,46 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile46788ed8", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile32838635", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F7D0528A5\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:27 GMT", + "ETag" : "\"0x8D7068A610F64EA\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:49 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ebf9-901a-004c-3b18-2b088d000000", + "x-ms-request-id" : "250bef04-b01a-0014-0273-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:39:27 GMT" + "Date" : "Fri, 12 Jul 2019 05:32:49 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile46788ed8", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile32838635", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", - "Content-Range" : "bytes 0-1023/1024", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:27 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:49 GMT", "retry-after" : "0", - "StatusCode" : "206", - "Date" : "Tue, 25 Jun 2019 05:39:27 GMT", + "StatusCode" : "200", + "Date" : "Fri, 12 Jul 2019 05:32:49 GMT", "Accept-Ranges" : "bytes", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "\"0x8D6F92F7D0528A5\"", + "ETag" : "\"0x8D7068A610F64EA\"", "Content-Length" : "1024", - "x-ms-request-id" : "cf06ebfa-901a-004c-3c18-2b088d000000", + "x-ms-request-id" : "250bef05-b01a-0014-0373-380cf6000000", "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" : [ "file46788ed8" ] + "variables" : [ "file32838635" ] } \ No newline at end of file diff --git a/storage/client/file/src/test/resources/session-records/forceCloseHandlesFromDirClient.json b/storage/client/file/src/test/resources/session-records/forceCloseHandlesFromDirClient.json index c6ba2047377a5..25837515975e2 100644 --- a/storage/client/file/src/test/resources/session-records/forceCloseHandlesFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/forceCloseHandlesFromDirClient.json @@ -1,41 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory95618c?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory50504c?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F411629DD\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:47 GMT", + "ETag" : "\"0x8D7068ADD7257D7\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d323-d01a-008c-6218-2b82c9000000", + "x-ms-request-id" : "250bf197-b01a-0014-6773-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:46 GMT" - } - }, { - "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory95618c?comp=listhandles", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; 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" : "fb84d325-d01a-008c-6418-2b82c9000000", - "Body" : "", - "Date" : "Tue, 25 Jun 2019 05:37:46 GMT", - "Content-Type" : "application/xml" + "Date" : "Fri, 12 Jul 2019 05:36:17 GMT" } } ], - "variables" : [ "directory95618c" ] + "variables" : [ "directory50504c" ] } \ 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 48fbf5a62cd41..c85bb8c9dc528 100644 --- a/storage/client/file/src/test/resources/session-records/forceCloseHandlesFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/forceCloseHandlesFromFileClient.json @@ -1,41 +1,23 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile95566e6a", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile41381754", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F7C263B59\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:26 GMT", + "ETag" : "\"0x8D7068A608ADA4A\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:49 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ebf0-901a-004c-3318-2b088d000000", + "x-ms-request-id" : "e6cd142c-d01a-000f-2873-382264000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:39:25 GMT" - } - }, { - "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile95566e6a?maxresults=10&comp=listhandles", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; 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" : "cf06ebf1-901a-004c-3418-2b088d000000", - "Body" : "10", - "Date" : "Tue, 25 Jun 2019 05:39:25 GMT", - "Content-Type" : "application/xml" + "Date" : "Fri, 12 Jul 2019 05:32:48 GMT" } } ], - "variables" : [ "file95566e6a" ] + "variables" : [ "file41381754" ] } \ 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 88e3bff75f81c..b23336bd3fade 100644 --- a/storage/client/file/src/test/resources/session-records/getDirectoryDoesNotCreateADirectory.json +++ b/storage/client/file/src/test/resources/session-records/getDirectoryDoesNotCreateADirectory.json @@ -1,57 +1,57 @@ { - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share78149400?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" - }, - "Response" : { - "x-ms-version" : "2018-11-09", - "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D6F9315FCA8101\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:52:57 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "201", - "x-ms-request-id" : "d7e8d621-101a-0030-371a-2b95b8000000", - "Date" : "Tue, 25 Jun 2019 05:52:56 GMT" - } - }, { - "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share78149400/testshare?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; 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" : "d7e8d623-101a-0030-381a-2b95b8000000", - "Body" : "ResourceNotFoundThe specified resource does not exist.\nRequestId:d7e8d623-101a-0030-381a-2b95b8000000\nTime:2019-06-25T05:52:57.6605339Z", - "Date" : "Tue, 25 Jun 2019 05:52:56 GMT", - "Content-Type" : "application/xml" - } - }, { - "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share78149400?restype=share", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; 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" : "d7e8d624-101a-0030-391a-2b95b8000000", - "Date" : "Tue, 25 Jun 2019 05:52:57 GMT" - } - } ], - "variables" : [ "share78149400" ] -} + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://sima.file.core.windows.net/share50633274?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" + }, + "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", + "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" + } + }, { + "Method" : "GET", + "Uri" : "https://sima.file.core.windows.net/share50633274/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" + }, + "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" : "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", + "Content-Type" : "application/xml" + } + }, { + "Method" : "DELETE", + "Uri" : "https://sima.file.core.windows.net/share50633274?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" + }, + "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" : "250bf064-b01a-0014-2e73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:17 GMT" + } + } ], + "variables" : [ "share50633274" ] +} \ 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 98bd51443ff73..ac2c2ad5d2ce0 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" : [ "directory10723d", "getfilesync91772" ] + "variables" : [ "directory883207", "f207cc5e62af470a" ] } \ 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 4a910d9c3fc8e..7ec6405dda1e9 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" : [ "directory029653" ] + "variables" : [ "directory31271d" ] } \ 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 6603987ea59ad..e76092a4ccb8c 100644 --- a/storage/client/file/src/test/resources/session-records/getMetadataDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getMetadataDoesNotExistFromShareClient.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share810071f6?restype=share", + "Uri" : "https://sima.file.core.windows.net/share69309654?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06f043-901a-004c-6e18-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06f043-901a-004c-6e18-2b088d000000\nTime:2019-06-25T05:43:26.1186369Z", - "Date" : "Tue, 25 Jun 2019 05:43:25 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share810071f6?restype=share", + "Uri" : "https://sima.file.core.windows.net/share69309654?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06f045-901a-004c-6f18-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06f045-901a-004c-6f18-2b088d000000\nTime:2019-06-25T05:43:26.2387228Z", - "Date" : "Tue, 25 Jun 2019 05:43:25 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "share810071f6" ] + "variables" : [ "share69309654" ] } \ 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 96734ff75d68f..7624d8be51fd9 100644 --- a/storage/client/file/src/test/resources/session-records/getMetadataFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getMetadataFromShareClient.json @@ -1,50 +1,50 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share758824c2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share988456ad?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9300D59B0E3\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:29 GMT", + "ETag" : "\"0x8D7068A9C0FEAE6\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f060-901a-004c-0318-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:28 GMT" + "x-ms-request-id" : "250befe9-b01a-0014-6f73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:28 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share758824c2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share988456ad?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-meta-test" : "metadata", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:29 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:28 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 25 Jun 2019 05:43:28 GMT", + "Date" : "Fri, 12 Jul 2019 05:34:28 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D6F9300D59B0E3\"", + "ETag" : "\"0x8D7068A9C0FEAE6\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "cf06f062-901a-004c-0418-2b088d000000" + "x-ms-request-id" : "250befeb-b01a-0014-7073-380cf6000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share758824c2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share988456ad?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -52,9 +52,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f063-901a-004c-0518-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:29 GMT" + "x-ms-request-id" : "250befed-b01a-0014-7173-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:28 GMT" } } ], - "variables" : [ "share758824c2" ] + "variables" : [ "share988456ad" ] } \ 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 2e13078181771..7952628b0eb0a 100644 --- a/storage/client/file/src/test/resources/session-records/getPolicies.json +++ b/storage/client/file/src/test/resources/session-records/getPolicies.json @@ -1,48 +1,48 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share032298c0?restype=share", + "Uri" : "https://sima.file.core.windows.net/share39491001?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9300A3BB297\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:24 GMT", + "ETag" : "\"0x8D7068A9A3F1C08\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f02f-901a-004c-6018-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:23 GMT" + "x-ms-request-id" : "250befbd-b01a-0014-4f73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:25 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share032298c0?restype=share&comp=acl", + "Uri" : "https://sima.file.core.windows.net/share39491001?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", - "ETag" : "\"0x8D6F9300A3BB297\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:24 GMT", + "ETag" : "\"0x8D7068A9A3F1C08\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:25 GMT", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06f031-901a-004c-6118-2b088d000000", + "x-ms-request-id" : "250befbf-b01a-0014-5073-380cf6000000", "Body" : "", - "Date" : "Tue, 25 Jun 2019 05:43:23 GMT", + "Date" : "Fri, 12 Jul 2019 05:34:25 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share032298c0?restype=share", + "Uri" : "https://sima.file.core.windows.net/share39491001?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -50,9 +50,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f032-901a-004c-6218-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:23 GMT" + "x-ms-request-id" : "250befc0-b01a-0014-5173-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:25 GMT" } } ], - "variables" : [ "share032298c0" ] + "variables" : [ "share39491001" ] } \ 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 69e6280ba5404..3e171ada09ef8 100644 --- a/storage/client/file/src/test/resources/session-records/getPoliciesDoesNotExist.json +++ b/storage/client/file/src/test/resources/session-records/getPoliciesDoesNotExist.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share28232a64?restype=share&comp=acl", + "Uri" : "https://sima.file.core.windows.net/share2706094e?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06f021-901a-004c-5718-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06f021-901a-004c-5718-2b088d000000\nTime:2019-06-25T05:43:23.4647481Z", - "Date" : "Tue, 25 Jun 2019 05:43:22 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share28232a64?restype=share", + "Uri" : "https://sima.file.core.windows.net/share2706094e?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06f022-901a-004c-5818-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06f022-901a-004c-5818-2b088d000000\nTime:2019-06-25T05:43:23.5458060Z", - "Date" : "Tue, 25 Jun 2019 05:43:22 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "share28232a64" ] + "variables" : [ "share2706094e" ] } \ 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 8e8608950406c..c7902e1c9ad51 100644 --- a/storage/client/file/src/test/resources/session-records/getPropertiesDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getPropertiesDoesNotExistFromShareClient.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share62864c10?restype=share", + "Uri" : "https://sima.file.core.windows.net/share70165c32?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06f131-901a-004c-0119-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06f131-901a-004c-0119-2b088d000000\nTime:2019-06-25T05:44:22.8690466Z", - "Date" : "Tue, 25 Jun 2019 05:44:21 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share62864c10?restype=share", + "Uri" : "https://sima.file.core.windows.net/share70165c32?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06f133-901a-004c-0219-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06f133-901a-004c-0219-2b088d000000\nTime:2019-06-25T05:44:23.1632560Z", - "Date" : "Tue, 25 Jun 2019 05:44:22 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "share62864c10" ] + "variables" : [ "share70165c32" ] } \ 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 efbe201630bb9..b692153dc91c7 100644 --- a/storage/client/file/src/test/resources/session-records/getPropertiesFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/getPropertiesFromDirClient.json @@ -1,42 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory901308?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory208383?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F3F449CDB\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:43 GMT", + "ETag" : "\"0x8D7068ADC9032AE\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d2f1-d01a-008c-3618-2b82c9000000", + "x-ms-request-id" : "250bf176-b01a-0014-5573-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:43 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:16 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory901308?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory208383?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F3F449CDB\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:43 GMT", + "ETag" : "\"0x8D7068ADC9032AE\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "fb84d2f4-d01a-008c-3918-2b82c9000000", - "Date" : "Tue, 25 Jun 2019 05:37:43 GMT" + "x-ms-request-id" : "250bf177-b01a-0014-5673-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:36:16 GMT" } } ], - "variables" : [ "directory901308" ] + "variables" : [ "directory208383" ] } \ 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 ec06c51a65756..5938e1db61e5b 100644 --- a/storage/client/file/src/test/resources/session-records/getPropertiesFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/getPropertiesFromFileClient.json @@ -1,45 +1,45 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile3824309c", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile94269abe", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F7C87CCF3\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:26 GMT", + "ETag" : "\"0x8D7068A60CF1BCA\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:49 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ebf5-901a-004c-3718-2b088d000000", + "x-ms-request-id" : "250beefd-b01a-0014-7e73-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:39:26 GMT" + "Date" : "Fri, 12 Jul 2019 05:32:49 GMT" } }, { "Method" : "HEAD", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile3824309c", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile94269abe", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "Tue, 25 Jun 2019 05:39:26 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:49 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 25 Jun 2019 05:39:26 GMT", + "Date" : "Fri, 12 Jul 2019 05:32:49 GMT", "x-ms-server-encrypted" : "true", "x-ms-type" : "File", - "ETag" : "\"0x8D6F92F7C87CCF3\"", + "ETag" : "\"0x8D7068A60CF1BCA\"", "Content-Length" : "1024", - "x-ms-request-id" : "cf06ebf6-901a-004c-3818-2b088d000000", + "x-ms-request-id" : "250beeff-b01a-0014-7f73-380cf6000000", "Body" : "", "Content-Type" : "application/octet-stream" } } ], - "variables" : [ "file3824309c" ] + "variables" : [ "file94269abe" ] } \ 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 f2ff91bd03147..00e50fec2ada5 100644 --- a/storage/client/file/src/test/resources/session-records/getPropertiesFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getPropertiesFromShareClient.json @@ -1,50 +1,50 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share92541005?restype=share", + "Uri" : "https://sima.file.core.windows.net/share28854b6f?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9301077AEDE\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:34 GMT", + "ETag" : "\"0x8D7068A9DAA0F21\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f09c-901a-004c-3018-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:34 GMT" + "x-ms-request-id" : "250bf013-b01a-0014-0e73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:31 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share92541005?restype=share", + "Uri" : "https://sima.file.core.windows.net/share28854b6f?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-meta-test" : "metadata", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:34 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:31 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 25 Jun 2019 05:43:34 GMT", + "Date" : "Fri, 12 Jul 2019 05:34:31 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D6F9301077AEDE\"", + "ETag" : "\"0x8D7068A9DAA0F21\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "cf06f09e-901a-004c-3118-2b088d000000" + "x-ms-request-id" : "250bf015-b01a-0014-0f73-380cf6000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share92541005?restype=share", + "Uri" : "https://sima.file.core.windows.net/share28854b6f?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -52,9 +52,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f09f-901a-004c-3218-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:34 GMT" + "x-ms-request-id" : "250bf016-b01a-0014-1073-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:31 GMT" } } ], - "variables" : [ "share92541005" ] + "variables" : [ "share28854b6f" ] } \ 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 7a41e5d4e82f0..8cde53da4819a 100644 --- a/storage/client/file/src/test/resources/session-records/getRootDirectoryDoesNotCreateADirectory.json +++ b/storage/client/file/src/test/resources/session-records/getRootDirectoryDoesNotCreateADirectory.json @@ -1,66 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share92635190?restype=share", + "Uri" : "https://sima.file.core.windows.net/share65097e7a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9302D9BD41B\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:23 GMT", + "ETag" : "\"0x8D7068AB9CC96DC\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:35:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f139-901a-004c-0619-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:22 GMT" + "x-ms-request-id" : "250bf07c-b01a-0014-3673-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:18 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share92635190/?restype=directory", + "Uri" : "https://sima.file.core.windows.net/share65097e7a/?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-server-encrypted" : "false", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D6F9302DA8ED27\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:23 GMT", + "ETag" : "\"0x8D7068AB9D847BF\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:35:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06f13b-901a-004c-0719-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:23 GMT" - } - }, { - "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share92635190/?restype=directory", - "Headers" : { - "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" - }, - "Response" : { - "x-ms-server-encrypted" : "false", - "x-ms-version" : "2018-11-09", - "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D6F9302DA8ED27\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:23 GMT", - "retry-after" : "0", - "Content-Length" : "0", - "StatusCode" : "200", - "x-ms-request-id" : "cf06f13e-901a-004c-0819-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:23 GMT" + "x-ms-request-id" : "250bf07e-b01a-0014-3773-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:18 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share92635190?restype=share", + "Uri" : "https://sima.file.core.windows.net/share65097e7a?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -68,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f13f-901a-004c-0919-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:23 GMT" + "x-ms-request-id" : "250bf07f-b01a-0014-3873-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:18 GMT" } } ], - "variables" : [ "share92635190" ] + "variables" : [ "share65097e7a" ] } \ 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 ecb609cf07cd5..253b5665142e6 100644 --- a/storage/client/file/src/test/resources/session-records/getShareDoesNotCreateAShare.json +++ b/storage/client/file/src/test/resources/session-records/getShareDoesNotCreateAShare.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share20032078?restype=share&comp=stats", + "Uri" : "https://sima.file.core.windows.net/share618402f1?restype=share&comp=stats", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06ee82-901a-004c-4718-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06ee82-901a-004c-4718-2b088d000000\nTime:2019-06-25T05:42:09.0547636Z", - "Date" : "Tue, 25 Jun 2019 05:42:08 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share20032078&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share618402f1&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -31,11 +31,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ee84-901a-004c-4818-2b088d000000", - "Body" : "share20032078", - "Date" : "Tue, 25 Jun 2019 05:42:08 GMT", + "x-ms-request-id" : "250bf265-b01a-0014-4273-380cf6000000", + "Body" : "share618402f1", + "Date" : "Fri, 12 Jul 2019 05:37:53 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share20032078" ] + "variables" : [ "share618402f1" ] } \ 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 d74f5f8946c67..ebf869b683dc1 100644 --- a/storage/client/file/src/test/resources/session-records/getSnapshotMetadataDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getSnapshotMetadataDoesNotExistFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share002553ba?restype=share", + "Uri" : "https://sima.file.core.windows.net/share309781ab?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9300F7F8D17\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:33 GMT", + "ETag" : "\"0x8D7068A9D34A2B9\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f07e-901a-004c-1918-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:32 GMT" + "x-ms-request-id" : "250bf007-b01a-0014-0573-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:30 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share002553ba?sharesnapshot=snapshot&restype=share", + "Uri" : "https://sima.file.core.windows.net/share309781ab?sharesnapshot=snapshot&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "445", "StatusCode" : "400", - "x-ms-request-id" : "cf06f080-901a-004c-1a18-2b088d000000", - "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:cf06f080-901a-004c-1a18-2b088d000000\nTime:2019-06-25T05:43:33.5729487ZsharesnapshotsnapshotMust be in the specific snapshot date time format.", - "Date" : "Tue, 25 Jun 2019 05:43:32 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share002553ba?restype=share", + "Uri" : "https://sima.file.core.windows.net/share309781ab?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f089-901a-004c-2018-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:32 GMT" + "x-ms-request-id" : "250bf00a-b01a-0014-0773-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:30 GMT" } } ], - "variables" : [ "share002553ba" ] + "variables" : [ "share309781ab" ] } \ 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 323e79442b874..13b9135a7c425 100644 --- a/storage/client/file/src/test/resources/session-records/getSnapshotMetadataFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getSnapshotMetadataFromShareClient.json @@ -1,69 +1,69 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share10382bdc?restype=share", + "Uri" : "https://sima.file.core.windows.net/share46976dcb?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9300C670E1A\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:28 GMT", + "ETag" : "\"0x8D7068A9B943BC4\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f053-901a-004c-7a18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:27 GMT" + "x-ms-request-id" : "250befdd-b01a-0014-6673-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:27 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share10382bdc?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share46976dcb?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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-06-25T05:43:28.0000000Z", + "x-ms-snapshot" : "2019-07-12T05:34:28.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D6F9300C670E1A\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:28 GMT", + "ETag" : "\"0x8D7068A9B943BC4\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:28 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f055-901a-004c-7b18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:27 GMT" + "x-ms-request-id" : "250befdf-b01a-0014-6773-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:27 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share10382bdc?sharesnapshot=2019-06-25T05%3a43%3a28.0000000Z&restype=share", + "Uri" : "https://sima.file.core.windows.net/share46976dcb?sharesnapshot=2019-07-12T05%3a34%3a28.0000000Z&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-meta-test" : "metadata", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:28 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:28 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 25 Jun 2019 05:43:27 GMT", + "Date" : "Fri, 12 Jul 2019 05:34:27 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D6F9300C670E1A\"", + "ETag" : "\"0x8D7068A9B943BC4\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "cf06f056-901a-004c-7c18-2b088d000000" + "x-ms-request-id" : "250befe0-b01a-0014-6873-380cf6000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share10382bdc?restype=share", + "Uri" : "https://sima.file.core.windows.net/share46976dcb?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -72,11 +72,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "cf06f058-901a-004c-7d18-2b088d000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:cf06f058-901a-004c-7d18-2b088d000000\nTime:2019-06-25T05:43:28.5393628Z", - "Date" : "Tue, 25 Jun 2019 05:43:27 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "share10382bdc" ] + "variables" : [ "share46976dcb" ] } \ 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 8c6e134723d15..f321939ca0e07 100644 --- a/storage/client/file/src/test/resources/session-records/getSnapshotPropertiesDoesNotExist.json +++ b/storage/client/file/src/test/resources/session-records/getSnapshotPropertiesDoesNotExist.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share64310160?restype=share", + "Uri" : "https://sima.file.core.windows.net/share2470384c?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9302E9778F0\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:25 GMT", + "ETag" : "\"0x8D7068ABA3B726D\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:35:19 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f147-901a-004c-0f19-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:24 GMT" + "x-ms-request-id" : "250bf08a-b01a-0014-3e73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:18 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share64310160?sharesnapshot=snapshot&restype=share", + "Uri" : "https://sima.file.core.windows.net/share2470384c?sharesnapshot=snapshot&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "445", "StatusCode" : "400", - "x-ms-request-id" : "cf06f149-901a-004c-1019-2b088d000000", - "Body" : "InvalidQueryParameterValueValue for one of the query parameters specified in the request URI is invalid.\nRequestId:cf06f149-901a-004c-1019-2b088d000000\nTime:2019-06-25T05:44:25.6320132ZsharesnapshotsnapshotMust be in the specific snapshot date time format.", - "Date" : "Tue, 25 Jun 2019 05:44:24 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share64310160?restype=share", + "Uri" : "https://sima.file.core.windows.net/share2470384c?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f14a-901a-004c-1119-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:24 GMT" + "x-ms-request-id" : "250bf08d-b01a-0014-4073-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:19 GMT" } } ], - "variables" : [ "share64310160" ] + "variables" : [ "share2470384c" ] } \ 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 828c8b18d85bf..00d93780c3b4a 100644 --- a/storage/client/file/src/test/resources/session-records/getSnapshotPropertiesFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/getSnapshotPropertiesFromShareClient.json @@ -1,69 +1,69 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share679608bc?restype=share", + "Uri" : "https://sima.file.core.windows.net/share12797cda?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9303027FF23\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:28 GMT", + "ETag" : "\"0x8D7068ABB12718C\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:35:21 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f162-901a-004c-2219-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:27 GMT" + "x-ms-request-id" : "250bf0a3-b01a-0014-4f73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:20 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share679608bc?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share12797cda?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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-06-25T05:44:28.0000000Z", + "x-ms-snapshot" : "2019-07-12T05:35:21.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D6F93030160600\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:28 GMT", + "ETag" : "\"0x8D7068ABB123280\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:35:21 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f164-901a-004c-2319-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:27 GMT" + "x-ms-request-id" : "250bf0a5-b01a-0014-5073-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:20 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share679608bc?sharesnapshot=2019-06-25T05%3a44%3a28.0000000Z&restype=share", + "Uri" : "https://sima.file.core.windows.net/share12797cda?sharesnapshot=2019-07-12T05%3a35%3a21.0000000Z&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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-meta-snapshot" : "metadata", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:28 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 05:35:21 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 25 Jun 2019 05:44:27 GMT", + "Date" : "Fri, 12 Jul 2019 05:35:20 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D6F93030160600\"", + "ETag" : "\"0x8D7068ABB123280\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "cf06f165-901a-004c-2419-2b088d000000" + "x-ms-request-id" : "250bf0a6-b01a-0014-5173-380cf6000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share679608bc?restype=share", + "Uri" : "https://sima.file.core.windows.net/share12797cda?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -72,11 +72,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "cf06f167-901a-004c-2519-2b088d000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:cf06f167-901a-004c-2519-2b088d000000\nTime:2019-06-25T05:44:28.4960578Z", - "Date" : "Tue, 25 Jun 2019 05:44:27 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "share679608bc" ] + "variables" : [ "share12797cda" ] } \ 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 705160fd4c6a4..88422adefb0b9 100644 --- a/storage/client/file/src/test/resources/session-records/getStats.json +++ b/storage/client/file/src/test/resources/session-records/getStats.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share64149b94?restype=share", + "Uri" : "https://sima.file.core.windows.net/share2489374f?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F93030E04D20\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:29 GMT", + "ETag" : "\"0x8D7068ABB6D4C43\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:35:21 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f16d-901a-004c-2919-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:28 GMT" + "x-ms-request-id" : "250bf0ad-b01a-0014-5673-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:20 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share64149b94?restype=share&comp=stats", + "Uri" : "https://sima.file.core.windows.net/share2489374f?restype=share&comp=stats", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -30,17 +30,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06f16f-901a-004c-2a19-2b088d000000", + "x-ms-request-id" : "250bf0af-b01a-0014-5773-380cf6000000", "Body" : "0", - "Date" : "Tue, 25 Jun 2019 05:44:28 GMT", + "Date" : "Fri, 12 Jul 2019 05:35:20 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share64149b94?restype=share", + "Uri" : "https://sima.file.core.windows.net/share2489374f?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -48,9 +48,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f170-901a-004c-2b19-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:28 GMT" + "x-ms-request-id" : "250bf0b0-b01a-0014-5873-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:21 GMT" } } ], - "variables" : [ "share64149b94" ] + "variables" : [ "share2489374f" ] } \ 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 b3baaccbf6477..e0596f4599349 100644 --- a/storage/client/file/src/test/resources/session-records/getStatsDoesNotExist.json +++ b/storage/client/file/src/test/resources/session-records/getStatsDoesNotExist.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share97572250?restype=share&comp=stats", + "Uri" : "https://sima.file.core.windows.net/share75132001?restype=share&comp=stats", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06f128-901a-004c-7a19-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06f128-901a-004c-7a19-2b088d000000\nTime:2019-06-25T05:44:21.9604003Z", - "Date" : "Tue, 25 Jun 2019 05:44:21 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share97572250?restype=share", + "Uri" : "https://sima.file.core.windows.net/share75132001?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06f12a-901a-004c-7b19-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06f12a-901a-004c-7b19-2b088d000000\nTime:2019-06-25T05:44:22.1405281Z", - "Date" : "Tue, 25 Jun 2019 05:44:21 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "share97572250" ] + "variables" : [ "share75132001" ] } \ 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 c35ac654e9c78..e856051283572 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" : [ "directory827236" ] + "variables" : [ "directory284774" ] } \ 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 82df6e79fc95c..87717a10719a4 100644 --- a/storage/client/file/src/test/resources/session-records/listFilesAndDirectoriesFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/listFilesAndDirectoriesFromDirClient.json @@ -1,86 +1,86 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory673774?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory553586?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F40A50540\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:46 GMT", + "ETag" : "\"0x8D7068ADD33E3C9\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d30d-d01a-008c-5018-2b82c9000000", + "x-ms-request-id" : "250bf190-b01a-0014-6273-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:45 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:17 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory673774%2fdirectory6737740?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory553586%2fdirectory5535860?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F40BE850C\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:46 GMT", + "ETag" : "\"0x8D7068ADD423E48\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d30f-d01a-008c-5218-2b82c9000000", + "x-ms-request-id" : "250bf191-b01a-0014-6373-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:45 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:17 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory673774%2fdirectory6737741?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory553586%2fdirectory5535861?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F40D3702C\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:46 GMT", + "ETag" : "\"0x8D7068ADD4D8AFC\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d311-d01a-008c-5418-2b82c9000000", + "x-ms-request-id" : "250bf193-b01a-0014-6473-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:45 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:17 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory673774%2fdirectory6737742?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory553586%2fdirectory5535862?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F40E06ABA\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:46 GMT", + "ETag" : "\"0x8D7068ADD58D7B4\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:18 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d314-d01a-008c-5518-2b82c9000000", + "x-ms-request-id" : "250bf194-b01a-0014-6573-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:46 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:17 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory673774?prefix=directory673774&restype=directory&comp=list", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory553586?prefix=directory553586&restype=directory&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -88,11 +88,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "fb84d316-d01a-008c-5718-2b82c9000000", - "Body" : "directory673774directory6737740directory6737741directory6737742", - "Date" : "Tue, 25 Jun 2019 05:37:46 GMT", + "x-ms-request-id" : "250bf196-b01a-0014-6673-380cf6000000", + "Body" : "directory553586directory5535860directory5535861directory5535862", + "Date" : "Fri, 12 Jul 2019 05:36:17 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "directory673774" ] + "variables" : [ "directory553586" ] } \ 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 d73489bc194d6..ca0f88b5590c0 100644 --- a/storage/client/file/src/test/resources/session-records/listHandlesFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/listHandlesFromFileClient.json @@ -1,29 +1,29 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile854089ad", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile02979f48", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F7B789FAB\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:24 GMT", + "ETag" : "\"0x8D7068A5FE8D72C\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:48 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ebe7-901a-004c-2c18-2b088d000000", + "x-ms-request-id" : "e6cd1420-d01a-000f-1d73-382264000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:39:24 GMT" + "Date" : "Fri, 12 Jul 2019 05:32:47 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile854089ad?comp=listhandles", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile02979f48?comp=listhandles", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -31,11 +31,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ebe8-901a-004c-2d18-2b088d000000", + "x-ms-request-id" : "e6cd1422-d01a-000f-1e73-382264000000", "Body" : "", - "Date" : "Tue, 25 Jun 2019 05:39:24 GMT", + "Date" : "Fri, 12 Jul 2019 05:32:47 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "file854089ad" ] + "variables" : [ "file02979f48" ] } \ 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 40a27e6d99f95..7e6f9749d7ffe 100644 --- a/storage/client/file/src/test/resources/session-records/listRangesFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/listRangesFromFileClient.json @@ -1,65 +1,65 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile40077a49", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile60740604", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F7BABC653\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:25 GMT", + "ETag" : "\"0x8D7068A6007131C\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:48 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ebe9-901a-004c-2e18-2b088d000000", + "x-ms-request-id" : "e6cd1423-d01a-000f-1f73-382264000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:39:24 GMT" + "Date" : "Fri, 12 Jul 2019 05:32:47 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile40077a49?comp=range", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile60740604?comp=range", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0", + "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" : "\"0x8D6F92F7BD9E312\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:25 GMT", + "ETag" : "\"0x8D7068A601594B4\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:48 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ebec-901a-004c-2f18-2b088d000000", + "x-ms-request-id" : "e6cd1424-d01a-000f-2073-382264000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:39:25 GMT", + "Date" : "Fri, 12 Jul 2019 05:32:47 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile40077a49?comp=rangelist", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile60740604?comp=rangelist", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F7BD9E312\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:25 GMT", + "x-ms-content-length" : "512", + "ETag" : "\"0x8D7068A601594B4\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:48 GMT", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ebed-901a-004c-3018-2b088d000000", + "x-ms-request-id" : "e6cd1425-d01a-000f-2173-382264000000", "Body" : "0511", - "Date" : "Tue, 25 Jun 2019 05:39:25 GMT", + "Date" : "Fri, 12 Jul 2019 05:32:47 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "file40077a49" ] + "variables" : [ "file60740604" ] } \ 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 9d6d0afdef96e..caf8310fc38b2 100644 --- a/storage/client/file/src/test/resources/session-records/listShares.json +++ b/storage/client/file/src/test/resources/session-records/listShares.json @@ -1,64 +1,64 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share50435af20?restype=share", + "Uri" : "https://sima.file.core.windows.net/share653541670?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FDC74D7C4\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:07 GMT", + "ETag" : "\"0x8D7068B160AE0C0\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:53 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee76-901a-004c-3f18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:06 GMT" + "x-ms-request-id" : "250bf257-b01a-0014-3973-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:52 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share50435af21?restype=share", + "Uri" : "https://sima.file.core.windows.net/share653541671?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FDC8220A7\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:07 GMT", + "ETag" : "\"0x8D7068B1618C5F0\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:53 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee78-901a-004c-4018-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:07 GMT" + "x-ms-request-id" : "250bf259-b01a-0014-3a73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:52 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share50435af22?restype=share", + "Uri" : "https://sima.file.core.windows.net/share653541672?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FDC8E57E5\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:07 GMT", + "ETag" : "\"0x8D7068B1623EB80\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:53 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee7a-901a-004c-4118-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:07 GMT" + "x-ms-request-id" : "250bf25b-b01a-0014-3b73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:52 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share50435af2&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share65354167&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -66,17 +66,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ee7c-901a-004c-4218-2b088d000000", - "Body" : "share50435af2share50435af20Tue, 25 Jun 2019 05:42:07 GMT\"0x8D6F92FDC74D7C4\"2share50435af21Tue, 25 Jun 2019 05:42:07 GMT\"0x8D6F92FDC8220A7\"2share50435af22Tue, 25 Jun 2019 05:42:07 GMT\"0x8D6F92FDC8E57E5\"2", - "Date" : "Tue, 25 Jun 2019 05:42:07 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share50435af2&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share65354167&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -84,17 +84,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ee7d-901a-004c-4318-2b088d000000", - "Body" : "share50435af2share50435af20Tue, 25 Jun 2019 05:42:07 GMT\"0x8D6F92FDC74D7C4\"2share50435af21Tue, 25 Jun 2019 05:42:07 GMT\"0x8D6F92FDC8220A7\"2share50435af22Tue, 25 Jun 2019 05:42:07 GMT\"0x8D6F92FDC8E57E5\"2", - "Date" : "Tue, 25 Jun 2019 05:42:07 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share50435af20?restype=share", + "Uri" : "https://sima.file.core.windows.net/share653541670?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -102,15 +102,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06ee7e-901a-004c-4418-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:07 GMT" + "x-ms-request-id" : "250bf25f-b01a-0014-3e73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:53 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share50435af21?restype=share", + "Uri" : "https://sima.file.core.windows.net/share653541671?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -118,15 +118,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06ee80-901a-004c-4518-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:08 GMT" + "x-ms-request-id" : "250bf260-b01a-0014-3f73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:53 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share50435af22?restype=share", + "Uri" : "https://sima.file.core.windows.net/share653541672?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -134,9 +134,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06ee81-901a-004c-4618-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:08 GMT" + "x-ms-request-id" : "250bf261-b01a-0014-4073-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:53 GMT" } } ], - "variables" : [ "share50435af2" ] + "variables" : [ "share65354167" ] } \ 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 a109517b18d44..31cc9b10c156b 100644 --- a/storage/client/file/src/test/resources/session-records/listSharesIncludeMetadata.json +++ b/storage/client/file/src/test/resources/session-records/listSharesIncludeMetadata.json @@ -1,64 +1,64 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share05197cfa0?restype=share", + "Uri" : "https://sima.file.core.windows.net/share05769c840?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FDF50DF02\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:12 GMT", + "ETag" : "\"0x8D7068B177EB0F6\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06eeae-901a-004c-6718-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:11 GMT" + "x-ms-request-id" : "250bf281-b01a-0014-5773-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:55 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share05197cfa1?restype=share", + "Uri" : "https://sima.file.core.windows.net/share05769c841?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FDF5D8B88\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:12 GMT", + "ETag" : "\"0x8D7068B178AE82E\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06eeb0-901a-004c-6818-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:11 GMT" + "x-ms-request-id" : "250bf283-b01a-0014-5873-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:55 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share05197cfa2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share05769c842?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FDF718C5B\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:12 GMT", + "ETag" : "\"0x8D7068B1796830A\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:56 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06eeb2-901a-004c-6918-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:11 GMT" + "x-ms-request-id" : "250bf285-b01a-0014-5973-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:55 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share05197cfa&include=metadata&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share05769c84&include=metadata&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -66,17 +66,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06eeb6-901a-004c-6c18-2b088d000000", - "Body" : "share05197cfashare05197cfa0Tue, 25 Jun 2019 05:42:12 GMT\"0x8D6F92FDF50DF02\"2metadatashare05197cfa1Tue, 25 Jun 2019 05:42:12 GMT\"0x8D6F92FDF5D8B88\"2share05197cfa2Tue, 25 Jun 2019 05:42:12 GMT\"0x8D6F92FDF718C5B\"2metadata", - "Date" : "Tue, 25 Jun 2019 05:42:12 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share05197cfa&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share05769c84&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -84,17 +84,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06eeb7-901a-004c-6d18-2b088d000000", - "Body" : "share05197cfashare05197cfa0Tue, 25 Jun 2019 05:42:12 GMT\"0x8D6F92FDF50DF02\"2share05197cfa1Tue, 25 Jun 2019 05:42:12 GMT\"0x8D6F92FDF5D8B88\"2share05197cfa2Tue, 25 Jun 2019 05:42:12 GMT\"0x8D6F92FDF718C5B\"2", - "Date" : "Tue, 25 Jun 2019 05:42:12 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share05197cfa0?restype=share", + "Uri" : "https://sima.file.core.windows.net/share05769c840?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -102,15 +102,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06eeb8-901a-004c-6e18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:12 GMT" + "x-ms-request-id" : "250bf289-b01a-0014-5c73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:55 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share05197cfa1?restype=share", + "Uri" : "https://sima.file.core.windows.net/share05769c841?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -118,15 +118,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06eeb9-901a-004c-6f18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:12 GMT" + "x-ms-request-id" : "250bf28a-b01a-0014-5d73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:55 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share05197cfa2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share05769c842?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -134,9 +134,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06eeba-901a-004c-7018-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:12 GMT" + "x-ms-request-id" : "250bf28b-b01a-0014-5e73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:55 GMT" } } ], - "variables" : [ "share05197cfa" ] + "variables" : [ "share05769c84" ] } \ 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 978a8b4435088..d296675308a51 100644 --- a/storage/client/file/src/test/resources/session-records/listSharesIncludeMetadataAndSnapshots.json +++ b/storage/client/file/src/test/resources/session-records/listSharesIncludeMetadataAndSnapshots.json @@ -1,102 +1,102 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share0398740d0?restype=share", + "Uri" : "https://sima.file.core.windows.net/share526462030?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FDAF173A2\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:05 GMT", + "ETag" : "\"0x8D7068B1540403D\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee55-901a-004c-2518-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:04 GMT" + "x-ms-request-id" : "250bf242-b01a-0014-2973-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:51 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share0398740d0?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share526462030?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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-06-25T05:42:05.0000000Z", + "x-ms-snapshot" : "2019-07-12T05:37:52.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D6F92FDAF173A2\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:05 GMT", + "ETag" : "\"0x8D7068B1540403D\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee57-901a-004c-2618-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:04 GMT" + "x-ms-request-id" : "250bf244-b01a-0014-2a73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:51 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share0398740d1?restype=share", + "Uri" : "https://sima.file.core.windows.net/share526462031?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FDB4324FF\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:05 GMT", + "ETag" : "\"0x8D7068B1558FCE5\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee59-901a-004c-2718-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:04 GMT" + "x-ms-request-id" : "250bf245-b01a-0014-2b73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:51 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share0398740d2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share526462032?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FDB563B3E\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:05 GMT", + "ETag" : "\"0x8D7068B1564BEC5\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee5b-901a-004c-2818-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:05 GMT" + "x-ms-request-id" : "250bf247-b01a-0014-2c73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:51 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share0398740d2?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share526462032?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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-06-25T05:42:05.0000000Z", + "x-ms-snapshot" : "2019-07-12T05:37:52.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D6F92FDB563B3E\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:05 GMT", + "ETag" : "\"0x8D7068B1564BEC5\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:52 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee5d-901a-004c-2918-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:05 GMT" + "x-ms-request-id" : "250bf249-b01a-0014-2d73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:51 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share0398740d&include=metadata%2csnapshots&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share52646203&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_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -104,17 +104,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ee5f-901a-004c-2a18-2b088d000000", - "Body" : "share0398740dshare0398740d02019-06-25T05:42:05.0000000ZTue, 25 Jun 2019 05:42:05 GMT\"0x8D6F92FDAF173A2\"2metadatashare0398740d0Tue, 25 Jun 2019 05:42:05 GMT\"0x8D6F92FDAF173A2\"2metadatashare0398740d1Tue, 25 Jun 2019 05:42:05 GMT\"0x8D6F92FDB4324FF\"2share0398740d22019-06-25T05:42:05.0000000ZTue, 25 Jun 2019 05:42:05 GMT\"0x8D6F92FDB563B3E\"2metadatashare0398740d2Tue, 25 Jun 2019 05:42:05 GMT\"0x8D6F92FDB563B3E\"2metadata", - "Date" : "Tue, 25 Jun 2019 05:42:05 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share0398740d&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share52646203&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -122,17 +122,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ee60-901a-004c-2b18-2b088d000000", - "Body" : "share0398740dshare0398740d0Tue, 25 Jun 2019 05:42:05 GMT\"0x8D6F92FDAF173A2\"2share0398740d1Tue, 25 Jun 2019 05:42:05 GMT\"0x8D6F92FDB4324FF\"2share0398740d2Tue, 25 Jun 2019 05:42:05 GMT\"0x8D6F92FDB563B3E\"2", - "Date" : "Tue, 25 Jun 2019 05:42:05 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share0398740d0?restype=share", + "Uri" : "https://sima.file.core.windows.net/share526462030?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -141,17 +141,17 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "cf06ee61-901a-004c-2c18-2b088d000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:cf06ee61-901a-004c-2c18-2b088d000000\nTime:2019-06-25T05:42:06.4368995Z", - "Date" : "Tue, 25 Jun 2019 05:42:05 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share0398740d1?restype=share", + "Uri" : "https://sima.file.core.windows.net/share526462031?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -159,15 +159,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06ee63-901a-004c-2d18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:05 GMT" + "x-ms-request-id" : "250bf24e-b01a-0014-3173-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:52 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share0398740d2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share526462032?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -176,11 +176,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "cf06ee64-901a-004c-2e18-2b088d000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:cf06ee64-901a-004c-2e18-2b088d000000\nTime:2019-06-25T05:42:06.9192450Z", - "Date" : "Tue, 25 Jun 2019 05:42:06 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "share0398740d" ] + "variables" : [ "share52646203" ] } \ 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 5860f316d600b..17f53570277b2 100644 --- a/storage/client/file/src/test/resources/session-records/listSharesIncludeSnapshots.json +++ b/storage/client/file/src/test/resources/session-records/listSharesIncludeSnapshots.json @@ -1,102 +1,102 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share086752720?restype=share", + "Uri" : "https://sima.file.core.windows.net/share4285165d0?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FDD6FE045\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:09 GMT", + "ETag" : "\"0x8D7068B168AAF1B\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:54 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee85-901a-004c-4918-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:08 GMT" + "x-ms-request-id" : "250bf266-b01a-0014-4373-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:53 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share086752720?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share4285165d0?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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-06-25T05:42:09.0000000Z", + "x-ms-snapshot" : "2019-07-12T05:37:54.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D6F92FDD6FE045\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:09 GMT", + "ETag" : "\"0x8D7068B168AAF1B\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:54 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee87-901a-004c-4a18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:08 GMT" + "x-ms-request-id" : "250bf268-b01a-0014-4473-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:53 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share086752721?restype=share", + "Uri" : "https://sima.file.core.windows.net/share4285165d1?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FDDAB9494\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:09 GMT", + "ETag" : "\"0x8D7068B16A2A845\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:54 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee88-901a-004c-4b18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:08 GMT" + "x-ms-request-id" : "250bf269-b01a-0014-4573-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:53 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share086752722?restype=share", + "Uri" : "https://sima.file.core.windows.net/share4285165d2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FDDB7CBCE\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:09 GMT", + "ETag" : "\"0x8D7068B16ADF4F8\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:54 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee8a-901a-004c-4c18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:09 GMT" + "x-ms-request-id" : "250bf26b-b01a-0014-4673-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:53 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share086752722?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share4285165d2?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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-06-25T05:42:09.0000000Z", + "x-ms-snapshot" : "2019-07-12T05:37:54.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D6F92FDDB7CBCE\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:09 GMT", + "ETag" : "\"0x8D7068B16ADF4F8\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:54 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee8c-901a-004c-4d18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:09 GMT" + "x-ms-request-id" : "250bf26d-b01a-0014-4773-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:53 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share08675272&include=snapshots&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share4285165d&include=snapshots&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -104,17 +104,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ee8d-901a-004c-4e18-2b088d000000", - "Body" : "share08675272share0867527202019-06-25T05:42:09.0000000ZTue, 25 Jun 2019 05:42:09 GMT\"0x8D6F92FDD6FE045\"2share086752720Tue, 25 Jun 2019 05:42:09 GMT\"0x8D6F92FDD6FE045\"2share086752721Tue, 25 Jun 2019 05:42:09 GMT\"0x8D6F92FDDAB9494\"2share0867527222019-06-25T05:42:09.0000000ZTue, 25 Jun 2019 05:42:09 GMT\"0x8D6F92FDDB7CBCE\"2share086752722Tue, 25 Jun 2019 05:42:09 GMT\"0x8D6F92FDDB7CBCE\"2", - "Date" : "Tue, 25 Jun 2019 05:42:09 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share08675272&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share4285165d&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -122,17 +122,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ee8e-901a-004c-4f18-2b088d000000", - "Body" : "share08675272share086752720Tue, 25 Jun 2019 05:42:09 GMT\"0x8D6F92FDD6FE045\"2share086752721Tue, 25 Jun 2019 05:42:09 GMT\"0x8D6F92FDDAB9494\"2share086752722Tue, 25 Jun 2019 05:42:09 GMT\"0x8D6F92FDDB7CBCE\"2", - "Date" : "Tue, 25 Jun 2019 05:42:09 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share086752720?restype=share", + "Uri" : "https://sima.file.core.windows.net/share4285165d0?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -141,17 +141,17 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "cf06ee8f-901a-004c-5018-2b088d000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:cf06ee8f-901a-004c-5018-2b088d000000\nTime:2019-06-25T05:42:10.2506157Z", - "Date" : "Tue, 25 Jun 2019 05:42:09 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share086752721?restype=share", + "Uri" : "https://sima.file.core.windows.net/share4285165d1?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -159,15 +159,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06ee90-901a-004c-5118-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:09 GMT" + "x-ms-request-id" : "250bf271-b01a-0014-4b73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:54 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share086752722?restype=share", + "Uri" : "https://sima.file.core.windows.net/share4285165d2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -176,11 +176,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "cf06ee91-901a-004c-5218-2b088d000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:cf06ee91-901a-004c-5218-2b088d000000\nTime:2019-06-25T05:42:10.4227403Z", - "Date" : "Tue, 25 Jun 2019 05:42:09 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "share08675272" ] + "variables" : [ "share4285165d" ] } \ 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 71cdd55c1528f..157b54d532364 100644 --- a/storage/client/file/src/test/resources/session-records/listSharesInvalidMaxResults.json +++ b/storage/client/file/src/test/resources/session-records/listSharesInvalidMaxResults.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share11697d07&maxresults=-1&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share58375b42&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_211; Windows 10 10.0" + "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", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "461", "StatusCode" : "400", - "x-ms-request-id" : "cf06eecc-901a-004c-7d18-2b088d000000", - "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:cf06eecc-901a-004c-7d18-2b088d000000\nTime:2019-06-25T05:42:15.3862758Zmaxresults-112147483647", - "Date" : "Tue, 25 Jun 2019 05:42:14 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share11697d07&maxresults=0&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share58375b42&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_211; Windows 10 10.0" + "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", @@ -32,17 +32,17 @@ "retry-after" : "0", "Content-Length" : "460", "StatusCode" : "400", - "x-ms-request-id" : "cf06eecd-901a-004c-7e18-2b088d000000", - "Body" : "OutOfRangeQueryParameterValueOne of the query parameters specified in the request URI is outside the permissible range.\nRequestId:cf06eecd-901a-004c-7e18-2b088d000000\nTime:2019-06-25T05:42:15.5684058Zmaxresults012147483647", - "Date" : "Tue, 25 Jun 2019 05:42:14 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share11697d07&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share58375b42&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -50,11 +50,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06eecf-901a-004c-7f18-2b088d000000", - "Body" : "share11697d07", - "Date" : "Tue, 25 Jun 2019 05:42:14 GMT", + "x-ms-request-id" : "250bf29f-b01a-0014-6d73-380cf6000000", + "Body" : "share58375b42", + "Date" : "Fri, 12 Jul 2019 05:37:56 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share11697d07" ] + "variables" : [ "share58375b42" ] } \ 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 790dc1b40e124..e60b4d0d12e0c 100644 --- a/storage/client/file/src/test/resources/session-records/listSharesWithLimit.json +++ b/storage/client/file/src/test/resources/session-records/listSharesWithLimit.json @@ -1,64 +1,64 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share126989540?restype=share", + "Uri" : "https://sima.file.core.windows.net/share326206fc0?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FD9351AD5\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:02 GMT", + "ETag" : "\"0x8D7068B145B352D\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee2e-901a-004c-0518-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:01 GMT" + "x-ms-request-id" : "250bf228-b01a-0014-1473-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:49 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share126989541?restype=share", + "Uri" : "https://sima.file.core.windows.net/share326206fc1?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FD968DE64\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:02 GMT", + "ETag" : "\"0x8D7068B14674551\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee30-901a-004c-0618-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:01 GMT" + "x-ms-request-id" : "250bf22c-b01a-0014-1773-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:50 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share126989542?restype=share", + "Uri" : "https://sima.file.core.windows.net/share326206fc2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FD9764E57\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:02 GMT", + "ETag" : "\"0x8D7068B147291F6\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:50 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee32-901a-004c-0718-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:01 GMT" + "x-ms-request-id" : "250bf22e-b01a-0014-1873-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:50 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share12698954&maxresults=2&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share326206fc&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_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -66,17 +66,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ee34-901a-004c-0818-2b088d000000", - "Body" : "share126989542share126989540Tue, 25 Jun 2019 05:42:02 GMT\"0x8D6F92FD9351AD5\"2share126989541Tue, 25 Jun 2019 05:42:02 GMT\"0x8D6F92FD968DE64\"2/sima/share126989542", - "Date" : "Tue, 25 Jun 2019 05:42:02 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share12698954&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share326206fc&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -84,17 +84,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ee35-901a-004c-0918-2b088d000000", - "Body" : "share12698954share126989540Tue, 25 Jun 2019 05:42:02 GMT\"0x8D6F92FD9351AD5\"2share126989541Tue, 25 Jun 2019 05:42:02 GMT\"0x8D6F92FD968DE64\"2share126989542Tue, 25 Jun 2019 05:42:02 GMT\"0x8D6F92FD9764E57\"2", - "Date" : "Tue, 25 Jun 2019 05:42:02 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share126989540?restype=share", + "Uri" : "https://sima.file.core.windows.net/share326206fc0?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -102,15 +102,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06ee36-901a-004c-0a18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:02 GMT" + "x-ms-request-id" : "250bf232-b01a-0014-1b73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:50 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share126989541?restype=share", + "Uri" : "https://sima.file.core.windows.net/share326206fc1?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -118,15 +118,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06ee37-901a-004c-0b18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:02 GMT" + "x-ms-request-id" : "250bf233-b01a-0014-1c73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:50 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share126989542?restype=share", + "Uri" : "https://sima.file.core.windows.net/share326206fc2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -134,9 +134,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06ee39-901a-004c-0c18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:02 GMT" + "x-ms-request-id" : "250bf234-b01a-0014-1d73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:50 GMT" } } ], - "variables" : [ "share12698954" ] + "variables" : [ "share326206fc" ] } \ 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 b1ff4c85adad7..76dd543ccb507 100644 --- a/storage/client/file/src/test/resources/session-records/listSharesWithPrefix.json +++ b/storage/client/file/src/test/resources/session-records/listSharesWithPrefix.json @@ -1,64 +1,64 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share187962e6prefix0?restype=share", + "Uri" : "https://sima.file.core.windows.net/share149211dfprefix0?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FDE24F988\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:10 GMT", + "ETag" : "\"0x8D7068B17012CFB\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:55 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee92-901a-004c-5318-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:09 GMT" + "x-ms-request-id" : "250bf274-b01a-0014-4d73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:54 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share187962e61?restype=share", + "Uri" : "https://sima.file.core.windows.net/share149211df1?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FDE38FA5A\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:10 GMT", + "ETag" : "\"0x8D7068B170CC7D3\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:55 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee95-901a-004c-5418-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:09 GMT" + "x-ms-request-id" : "250bf276-b01a-0014-4e73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:54 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share187962e6prefix2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share149211dfprefix2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92FDE57D2A7\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:42:10 GMT", + "ETag" : "\"0x8D7068B17192624\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:37:55 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ee9a-901a-004c-5618-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:10 GMT" + "x-ms-request-id" : "250bf278-b01a-0014-4f73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:54 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share187962e6prefix&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share149211dfprefix&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -66,17 +66,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06eea6-901a-004c-6018-2b088d000000", - "Body" : "share187962e6prefixshare187962e6prefix0Tue, 25 Jun 2019 05:42:10 GMT\"0x8D6F92FDE24F988\"2share187962e6prefix2Tue, 25 Jun 2019 05:42:10 GMT\"0x8D6F92FDE57D2A7\"2", - "Date" : "Tue, 25 Jun 2019 05:42:10 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share187962e6&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share149211df&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -84,17 +84,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06eea7-901a-004c-6118-2b088d000000", - "Body" : "share187962e6share187962e61Tue, 25 Jun 2019 05:42:10 GMT\"0x8D6F92FDE38FA5A\"2share187962e6prefix0Tue, 25 Jun 2019 05:42:10 GMT\"0x8D6F92FDE24F988\"2share187962e6prefix2Tue, 25 Jun 2019 05:42:10 GMT\"0x8D6F92FDE57D2A7\"2", - "Date" : "Tue, 25 Jun 2019 05:42:10 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share187962e61?restype=share", + "Uri" : "https://sima.file.core.windows.net/share149211df1?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -102,15 +102,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06eea8-901a-004c-6218-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:10 GMT" + "x-ms-request-id" : "250bf27c-b01a-0014-5273-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:54 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share187962e6prefix0?restype=share", + "Uri" : "https://sima.file.core.windows.net/share149211dfprefix0?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -118,15 +118,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06eea9-901a-004c-6318-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:10 GMT" + "x-ms-request-id" : "250bf27d-b01a-0014-5373-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:54 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share187962e6prefix2?restype=share", + "Uri" : "https://sima.file.core.windows.net/share149211dfprefix2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -134,9 +134,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06eeaa-901a-004c-6418-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:11 GMT" + "x-ms-request-id" : "250bf27e-b01a-0014-5473-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:54 GMT" } } ], - "variables" : [ "share187962e6" ] + "variables" : [ "share149211df" ] } \ 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 95891006bbcbf..303f078f2f792 100644 --- a/storage/client/file/src/test/resources/session-records/setFileServiceProperties.json +++ b/storage/client/file/src/test/resources/session-records/setFileServiceProperties.json @@ -4,7 +4,7 @@ "Uri" : "https://sima.file.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -12,9 +12,9 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06eebc-901a-004c-7118-2b088d000000", + "x-ms-request-id" : "250bf28c-b01a-0014-5f73-380cf6000000", "Body" : "1.0truetruetrue71.0falsefalse", - "Date" : "Tue, 25 Jun 2019 05:42:12 GMT", + "Date" : "Fri, 12 Jul 2019 05:37:55 GMT", "Content-Type" : "application/xml" } }, { @@ -22,7 +22,7 @@ "Uri" : "https://sima.file.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -31,15 +31,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06eebd-901a-004c-7218-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:12 GMT" + "x-ms-request-id" : "250bf28d-b01a-0014-6073-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:55 GMT" } }, { "Method" : "GET", "Uri" : "https://sima.file.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -47,9 +47,9 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06eec2-901a-004c-7318-2b088d000000", + "x-ms-request-id" : "250bf292-b01a-0014-6173-380cf6000000", "Body" : "1.0truefalsetrue31.0truefalsetrue3", - "Date" : "Tue, 25 Jun 2019 05:42:12 GMT", + "Date" : "Fri, 12 Jul 2019 05:37:55 GMT", "Content-Type" : "application/xml" } }, { @@ -57,7 +57,7 @@ "Uri" : "https://sima.file.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -66,15 +66,15 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06eec3-901a-004c-7418-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:42:13 GMT" + "x-ms-request-id" : "250bf293-b01a-0014-6273-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:37:56 GMT" } }, { "Method" : "GET", "Uri" : "https://sima.file.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -82,17 +82,17 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06eec4-901a-004c-7518-2b088d000000", + "x-ms-request-id" : "250bf294-b01a-0014-6373-380cf6000000", "Body" : "1.0truetruetrue71.0falsefalse", - "Date" : "Tue, 25 Jun 2019 05:42:13 GMT", + "Date" : "Fri, 12 Jul 2019 05:37:56 GMT", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share99978852&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share571099ca&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -100,11 +100,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06eec5-901a-004c-7618-2b088d000000", - "Body" : "share99978852", - "Date" : "Tue, 25 Jun 2019 05:42:13 GMT", + "x-ms-request-id" : "250bf295-b01a-0014-6473-380cf6000000", + "Body" : "share571099ca", + "Date" : "Fri, 12 Jul 2019 05:37:56 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share99978852" ] + "variables" : [ "share571099ca" ] } \ 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 2c6ba423f468c..ae146d0d4b4f9 100644 --- a/storage/client/file/src/test/resources/session-records/setHttpHeadersFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/setHttpHeadersFromFileClient.json @@ -1,42 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile00943e3e", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile57853b77", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F7C4B55E5\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:26 GMT", + "ETag" : "\"0x8D7068A60ADD206\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:49 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ebf2-901a-004c-3518-2b088d000000", + "x-ms-request-id" : "250beef9-b01a-0014-7c73-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:39:25 GMT" + "Date" : "Fri, 12 Jul 2019 05:32:48 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile00943e3e?comp=properties", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile57853b77?comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F7C76B303\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:26 GMT", + "ETag" : "\"0x8D7068A60C13685\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:49 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ebf4-901a-004c-3618-2b088d000000", + "x-ms-request-id" : "250beefc-b01a-0014-7d73-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:39:26 GMT" + "Date" : "Fri, 12 Jul 2019 05:32:48 GMT" } } ], - "variables" : [ "file00943e3e" ] + "variables" : [ "file57853b77" ] } \ 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 767c67445c0c2..5022c943062e8 100644 --- a/storage/client/file/src/test/resources/session-records/setMeatadataFromFileClient.json +++ b/storage/client/file/src/test/resources/session-records/setMeatadataFromFileClient.json @@ -1,42 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile95640783", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile72926176", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F7CDB5261\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:27 GMT", + "ETag" : "\"0x8D7068A60F261B4\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:49 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ebf7-901a-004c-3918-2b088d000000", + "x-ms-request-id" : "250bef01-b01a-0014-8073-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:39:26 GMT" + "Date" : "Fri, 12 Jul 2019 05:32:49 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile95640783?comp=metadata", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile72926176?comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F7CE9D3CD\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:27 GMT", + "ETag" : "\"0x8D7068A61026A39\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:49 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ebf8-901a-004c-3a18-2b088d000000", + "x-ms-request-id" : "250bef03-b01a-0014-0173-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:39:26 GMT" + "Date" : "Fri, 12 Jul 2019 05:32:49 GMT" } } ], - "variables" : [ "file95640783" ] + "variables" : [ "file72926176" ] } \ 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 afc595beeeda7..8b90acc9d54c2 100644 --- a/storage/client/file/src/test/resources/session-records/setMetadataDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/setMetadataDoesNotExistFromShareClient.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share29536bd3?restype=share&comp=metadata", + "Uri" : "https://sima.file.core.windows.net/share4744046f?restype=share&comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06f12f-901a-004c-7f19-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06f12f-901a-004c-7f19-2b088d000000\nTime:2019-06-25T05:44:22.6528927Z", - "Date" : "Tue, 25 Jun 2019 05:44:21 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share29536bd3?restype=share", + "Uri" : "https://sima.file.core.windows.net/share4744046f?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06f130-901a-004c-8019-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06f130-901a-004c-8019-2b088d000000\nTime:2019-06-25T05:44:22.7539640Z", - "Date" : "Tue, 25 Jun 2019 05:44:21 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "share29536bd3" ] + "variables" : [ "share4744046f" ] } \ 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 504c1c4116421..1dc99e63a2611 100644 --- a/storage/client/file/src/test/resources/session-records/setMetadataFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/setMetadataFromDirClient.json @@ -1,42 +1,42 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory98925e?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory167061?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F3F04066C\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:43 GMT", + "ETag" : "\"0x8D7068ADC6682ED\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:16 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d2ec-d01a-008c-3118-2b82c9000000", + "x-ms-request-id" : "250bf173-b01a-0014-5273-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:42 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:16 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory98925e?restype=directory&comp=metadata", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory167061?restype=directory&comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F3F1A2A3C\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:43 GMT", + "ETag" : "\"0x8D7068ADC71CFA1\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:16 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "fb84d2ee-d01a-008c-3318-2b82c9000000", + "x-ms-request-id" : "250bf174-b01a-0014-5373-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:43 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:16 GMT" } } ], - "variables" : [ "directory98925e" ] + "variables" : [ "directory167061" ] } \ 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 42876e2fa4e05..328c8b96aa51a 100644 --- a/storage/client/file/src/test/resources/session-records/setMetadataFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/setMetadataFromShareClient.json @@ -1,68 +1,68 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share41964f94?restype=share", + "Uri" : "https://sima.file.core.windows.net/share3678572d?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9300F33D04E\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:32 GMT", + "ETag" : "\"0x8D7068A9D001BB8\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f079-901a-004c-1518-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:31 GMT" + "x-ms-request-id" : "250bf002-b01a-0014-0173-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:29 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share41964f94?restype=share&comp=metadata", + "Uri" : "https://sima.file.core.windows.net/share3678572d?restype=share&comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9300F4B7A7E\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:32 GMT", + "ETag" : "\"0x8D7068A9D0E077F\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:30 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06f07b-901a-004c-1618-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:32 GMT" + "x-ms-request-id" : "250bf004-b01a-0014-0273-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:29 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share41964f94?restype=share", + "Uri" : "https://sima.file.core.windows.net/share3678572d?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "Tue, 25 Jun 2019 05:43:32 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:30 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 25 Jun 2019 05:43:32 GMT", + "Date" : "Fri, 12 Jul 2019 05:34:30 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "5120", - "ETag" : "\"0x8D6F9300F4B7A7E\"", + "ETag" : "\"0x8D7068A9D0E077F\"", "x-ms-has-immutability-policy" : "false", "x-ms-meta-setting" : "metadata", "Content-Length" : "0", - "x-ms-request-id" : "cf06f07c-901a-004c-1718-2b088d000000" + "x-ms-request-id" : "250bf005-b01a-0014-0373-380cf6000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share41964f94?restype=share", + "Uri" : "https://sima.file.core.windows.net/share3678572d?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -70,9 +70,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f07d-901a-004c-1818-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:32 GMT" + "x-ms-request-id" : "250bf006-b01a-0014-0473-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:30 GMT" } } ], - "variables" : [ "share41964f94" ] + "variables" : [ "share3678572d" ] } \ 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 6c4eb91a6998f..794b395d65f37 100644 --- a/storage/client/file/src/test/resources/session-records/setMetadataInvalidKeyFromDirClient.json +++ b/storage/client/file/src/test/resources/session-records/setMetadataInvalidKeyFromDirClient.json @@ -1,29 +1,29 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory58426c?restype=directory", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory36059d?restype=directory", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F3ED6D431\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:37:43 GMT", + "ETag" : "\"0x8D7068ADC4A1C1C\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:36:16 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "fb84d2e8-d01a-008c-2d18-2b82c9000000", + "x-ms-request-id" : "250bf171-b01a-0014-5073-380cf6000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:37:42 GMT" + "Date" : "Fri, 12 Jul 2019 05:36:15 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/dirsharename/directory58426c?restype=directory&comp=metadata", + "Uri" : "https://sima.file.core.windows.net/dirsharename/directory36059d?restype=directory&comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "260", "StatusCode" : "400", - "x-ms-request-id" : "fb84d2ea-d01a-008c-2f18-2b82c9000000", - "Body" : "InvalidMetadataThe metadata specified is invalid. It has characters that are not permitted.\nRequestId:fb84d2ea-d01a-008c-2f18-2b82c9000000\nTime:2019-06-25T05:37:43.4290803Z", - "Date" : "Tue, 25 Jun 2019 05:37:42 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "directory58426c" ] + "variables" : [ "directory36059d" ] } \ 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 ccc1f42014d24..dae5facef09c7 100644 --- a/storage/client/file/src/test/resources/session-records/setMetadataInvalidMetadataFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/setMetadataInvalidMetadataFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share531576ba?restype=share", + "Uri" : "https://sima.file.core.windows.net/share30913c3f?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9302FE01374\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:27 GMT", + "ETag" : "\"0x8D7068ABAEAE531\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:35:20 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f15c-901a-004c-1d19-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:26 GMT" + "x-ms-request-id" : "250bf09f-b01a-0014-4c73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:20 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share531576ba?restype=share&comp=metadata", + "Uri" : "https://sima.file.core.windows.net/share30913c3f?restype=share&comp=metadata", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "281", "StatusCode" : "400", - "x-ms-request-id" : "cf06f160-901a-004c-2019-2b088d000000", - "Body" : "EmptyMetadataKeyThe key for one of the metadata key-value pairs is empty.\nRequestId:cf06f160-901a-004c-2019-2b088d000000\nTime:2019-06-25T05:44:27.8505975Zmetadata", - "Date" : "Tue, 25 Jun 2019 05:44:26 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share531576ba?restype=share", + "Uri" : "https://sima.file.core.windows.net/share30913c3f?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -49,9 +49,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f161-901a-004c-2119-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:27 GMT" + "x-ms-request-id" : "250bf0a2-b01a-0014-4e73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:20 GMT" } } ], - "variables" : [ "share531576ba" ] + "variables" : [ "share30913c3f" ] } \ 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 ce6e58a19d655..fcc7732662fbb 100644 --- a/storage/client/file/src/test/resources/session-records/setPolicies.json +++ b/storage/client/file/src/test/resources/session-records/setPolicies.json @@ -1,67 +1,67 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share92091261?restype=share", + "Uri" : "https://sima.file.core.windows.net/share687289af?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F93009EFA794\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:23 GMT", + "ETag" : "\"0x8D7068A99FD733A\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f028-901a-004c-5c18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:23 GMT" + "x-ms-request-id" : "250befb8-b01a-0014-4b73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:24 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share92091261?restype=share&comp=acl", + "Uri" : "https://sima.file.core.windows.net/share687289af?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D6F9300A0A846B\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:24 GMT", + "ETag" : "\"0x8D7068A9A1599E4\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:25 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06f02c-901a-004c-5d18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:23 GMT" + "x-ms-request-id" : "250befba-b01a-0014-4c73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:25 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share92091261?restype=share&comp=acl", + "Uri" : "https://sima.file.core.windows.net/share687289af?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", - "ETag" : "\"0x8D6F9300A0A846B\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:24 GMT", + "ETag" : "\"0x8D7068A9A1599E4\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:25 GMT", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06f02d-901a-004c-5e18-2b088d000000", + "x-ms-request-id" : "250befbb-b01a-0014-4d73-380cf6000000", "Body" : "test2000-01-01T00:00:00.0000000Z2020-01-01T00:00:00.0000000Zr", - "Date" : "Tue, 25 Jun 2019 05:43:23 GMT", + "Date" : "Fri, 12 Jul 2019 05:34:25 GMT", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share92091261?restype=share", + "Uri" : "https://sima.file.core.windows.net/share687289af?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -69,9 +69,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f02e-901a-004c-5f18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:23 GMT" + "x-ms-request-id" : "250befbc-b01a-0014-4e73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:25 GMT" } } ], - "variables" : [ "share92091261" ] + "variables" : [ "share687289af" ] } \ 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 72ec80d233d4f..a5124ffb86e54 100644 --- a/storage/client/file/src/test/resources/session-records/setPoliciesDoesNotExist.json +++ b/storage/client/file/src/test/resources/session-records/setPoliciesDoesNotExist.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share70845d7c?restype=share&comp=acl", + "Uri" : "https://sima.file.core.windows.net/share819541b8?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -14,17 +14,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06f06f-901a-004c-0d18-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06f06f-901a-004c-0d18-2b088d000000\nTime:2019-06-25T05:43:31.2693105Z", - "Date" : "Tue, 25 Jun 2019 05:43:30 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share70845d7c?restype=share", + "Uri" : "https://sima.file.core.windows.net/share819541b8?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -33,11 +33,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06f070-901a-004c-0e18-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06f070-901a-004c-0e18-2b088d000000\nTime:2019-06-25T05:43:31.5685219Z", - "Date" : "Tue, 25 Jun 2019 05:43:30 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "share70845d7c" ] + "variables" : [ "share819541b8" ] } \ 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 c370228d1d346..51af79679147f 100644 --- a/storage/client/file/src/test/resources/session-records/setPoliciesInvalidPermission.json +++ b/storage/client/file/src/test/resources/session-records/setPoliciesInvalidPermission.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share75970e21?restype=share", + "Uri" : "https://sima.file.core.windows.net/share414484c6?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9302C3F11D0\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:21 GMT", + "ETag" : "\"0x8D7068AB900E481\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:35:17 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f124-901a-004c-7719-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:20 GMT" + "x-ms-request-id" : "250bf058-b01a-0014-2573-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:16 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share75970e21?restype=share&comp=acl", + "Uri" : "https://sima.file.core.windows.net/share414484c6?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -32,17 +32,17 @@ "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "cf06f126-901a-004c-7819-2b088d000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:cf06f126-901a-004c-7819-2b088d000000\nTime:2019-06-25T05:44:21.7262337Z00", - "Date" : "Tue, 25 Jun 2019 05:44:20 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share75970e21?restype=share", + "Uri" : "https://sima.file.core.windows.net/share414484c6?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -50,9 +50,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f127-901a-004c-7919-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:20 GMT" + "x-ms-request-id" : "250bf05b-b01a-0014-2773-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:16 GMT" } } ], - "variables" : [ "share75970e21" ] + "variables" : [ "share414484c6" ] } \ 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 802fd3308ff04..24c664ae2134d 100644 --- a/storage/client/file/src/test/resources/session-records/setPoliciesTooManyPermissions.json +++ b/storage/client/file/src/test/resources/session-records/setPoliciesTooManyPermissions.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share85422c10?restype=share", + "Uri" : "https://sima.file.core.windows.net/share951265fc?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9300C1CFF4D\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:27 GMT", + "ETag" : "\"0x8D7068A9B6D4BC1\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:27 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f04f-901a-004c-7718-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:26 GMT" + "x-ms-request-id" : "250befd9-b01a-0014-6373-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:27 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share85422c10?restype=share&comp=acl", + "Uri" : "https://sima.file.core.windows.net/share951265fc?restype=share&comp=acl", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -32,17 +32,17 @@ "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "cf06f051-901a-004c-7818-2b088d000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:cf06f051-901a-004c-7818-2b088d000000\nTime:2019-06-25T05:43:27.8828919Z00", - "Date" : "Tue, 25 Jun 2019 05:43:27 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share85422c10?restype=share", + "Uri" : "https://sima.file.core.windows.net/share951265fc?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -50,9 +50,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f052-901a-004c-7918-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:27 GMT" + "x-ms-request-id" : "250befdc-b01a-0014-6573-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:27 GMT" } } ], - "variables" : [ "share85422c10" ] + "variables" : [ "share951265fc" ] } \ 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 d51d2ca71532d..d9ac0830cbe10 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesDoesNotExistFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesDoesNotExistFromShareClient.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share626967e9?restype=share&comp=properties", + "Uri" : "https://sima.file.core.windows.net/share20839ad3?restype=share&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06f153-901a-004c-1619-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06f153-901a-004c-1619-2b088d000000\nTime:2019-06-25T05:44:26.4986300Z", - "Date" : "Tue, 25 Jun 2019 05:44:25 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share626967e9?restype=share", + "Uri" : "https://sima.file.core.windows.net/share20839ad3?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06f155-901a-004c-1719-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06f155-901a-004c-1719-2b088d000000\nTime:2019-06-25T05:44:26.5766856Z", - "Date" : "Tue, 25 Jun 2019 05:44:25 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "share626967e9" ] + "variables" : [ "share20839ad3" ] } \ 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 0b0d2ac7c8b7b..e6e253c00a61e 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesFromShareClient.json @@ -1,88 +1,88 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share5665356b?restype=share", + "Uri" : "https://sima.file.core.windows.net/share95952a12?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9302F75CC76\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:26 GMT", + "ETag" : "\"0x8D7068ABAAF30E6\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:35:20 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f156-901a-004c-1819-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:26 GMT" + "x-ms-request-id" : "250bf099-b01a-0014-4773-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:19 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share5665356b?restype=share", + "Uri" : "https://sima.file.core.windows.net/share95952a12?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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-share-quota" : "2", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D6F9302F75CC76\"", + "ETag" : "\"0x8D7068ABAAF30E6\"", "x-ms-has-immutability-policy" : "false", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:26 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 05:35:20 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06f158-901a-004c-1919-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:26 GMT", + "x-ms-request-id" : "250bf09b-b01a-0014-4873-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:19 GMT", "x-ms-has-legal-hold" : "false" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share5665356b?restype=share&comp=properties", + "Uri" : "https://sima.file.core.windows.net/share95952a12?restype=share&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9302FB315C8\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:27 GMT", + "ETag" : "\"0x8D7068ABAC78094\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:35:20 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06f159-901a-004c-1a19-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:26 GMT" + "x-ms-request-id" : "250bf09c-b01a-0014-4973-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:19 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share5665356b?restype=share", + "Uri" : "https://sima.file.core.windows.net/share95952a12?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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-share-quota" : "4", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D6F9302FB315C8\"", + "ETag" : "\"0x8D7068ABAC78094\"", "x-ms-has-immutability-policy" : "false", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:27 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 05:35:20 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06f15a-901a-004c-1b19-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:26 GMT", + "x-ms-request-id" : "250bf09d-b01a-0014-4a73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:19 GMT", "x-ms-has-legal-hold" : "false" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share5665356b?restype=share", + "Uri" : "https://sima.file.core.windows.net/share95952a12?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -90,9 +90,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f15b-901a-004c-1c19-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:26 GMT" + "x-ms-request-id" : "250bf09e-b01a-0014-4b73-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:19 GMT" } } ], - "variables" : [ "share5665356b" ] + "variables" : [ "share95952a12" ] } \ 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 c6fc870e0d220..241e0726a545d 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedHeader.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedHeader.json @@ -4,7 +4,7 @@ "Uri" : "https://sima.file.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -14,17 +14,17 @@ "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "cf06eeab-901a-004c-6518-2b088d000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:cf06eeab-901a-004c-6518-2b088d000000\nTime:2019-06-25T05:42:12.2750626Z00", - "Date" : "Tue, 25 Jun 2019 05:42:11 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share33415a7a&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share75249c9d&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -32,11 +32,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06eead-901a-004c-6618-2b088d000000", - "Body" : "share33415a7a", - "Date" : "Tue, 25 Jun 2019 05:42:11 GMT", + "x-ms-request-id" : "250bf280-b01a-0014-5673-380cf6000000", + "Body" : "share75249c9d", + "Date" : "Fri, 12 Jul 2019 05:37:55 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share33415a7a" ] + "variables" : [ "share75249c9d" ] } \ 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 01a6231df0092..2e7fb67a8574d 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedMethod.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedMethod.json @@ -4,7 +4,7 @@ "Uri" : "https://sima.file.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -14,17 +14,17 @@ "retry-after" : "0", "Content-Length" : "340", "StatusCode" : "400", - "x-ms-request-id" : "cf06eec6-901a-004c-7718-2b088d000000", - "Body" : "InvalidXmlNodeValueThe value for one of the XML nodes is not in the correct format.\nRequestId:cf06eec6-901a-004c-7718-2b088d000000\nTime:2019-06-25T05:42:14.6137268ZAllowedMethodsNOTAREALHTTPMETHOD", - "Date" : "Tue, 25 Jun 2019 05:42:13 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share23978a38&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share735237df&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -32,11 +32,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06eec7-901a-004c-7818-2b088d000000", - "Body" : "share23978a38", - "Date" : "Tue, 25 Jun 2019 05:42:13 GMT", + "x-ms-request-id" : "250bf297-b01a-0014-6673-380cf6000000", + "Body" : "share735237df", + "Date" : "Fri, 12 Jul 2019 05:37:56 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share23978a38" ] + "variables" : [ "share735237df" ] } \ 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 c03a23d3b6ef0..14fa7f61ebd82 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedOrigin.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidAllowedOrigin.json @@ -4,7 +4,7 @@ "Uri" : "https://sima.file.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -14,17 +14,17 @@ "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "cf06eec8-901a-004c-7918-2b088d000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:cf06eec8-901a-004c-7918-2b088d000000\nTime:2019-06-25T05:42:14.9309524Z00", - "Date" : "Tue, 25 Jun 2019 05:42:14 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share28840654&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share86231545&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -32,11 +32,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06eec9-901a-004c-7a18-2b088d000000", - "Body" : "share28840654", - "Date" : "Tue, 25 Jun 2019 05:42:14 GMT", + "x-ms-request-id" : "250bf299-b01a-0014-6873-380cf6000000", + "Body" : "share86231545", + "Date" : "Fri, 12 Jul 2019 05:37:56 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share28840654" ] + "variables" : [ "share86231545" ] } \ 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 97f94211bcf57..6c68a0d1116a6 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidExposedHeader.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidExposedHeader.json @@ -4,7 +4,7 @@ "Uri" : "https://sima.file.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -14,17 +14,17 @@ "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "cf06eeca-901a-004c-7b18-2b088d000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:cf06eeca-901a-004c-7b18-2b088d000000\nTime:2019-06-25T05:42:15.1891375Z00", - "Date" : "Tue, 25 Jun 2019 05:42:14 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share2714517a&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share59431047&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -32,11 +32,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06eecb-901a-004c-7c18-2b088d000000", - "Body" : "share2714517a", - "Date" : "Tue, 25 Jun 2019 05:42:14 GMT", + "x-ms-request-id" : "250bf29b-b01a-0014-6a73-380cf6000000", + "Body" : "share59431047", + "Date" : "Fri, 12 Jul 2019 05:37:56 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share2714517a" ] + "variables" : [ "share59431047" ] } \ 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 72fc161f9e4ac..d0106c494d133 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesInvalidQuotaFromShareClient.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesInvalidQuotaFromShareClient.json @@ -1,28 +1,28 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share91708c6e?restype=share", + "Uri" : "https://sima.file.core.windows.net/share07833773?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9300D8EAD3D\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:30 GMT", + "ETag" : "\"0x8D7068A9C375028\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:29 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f064-901a-004c-0618-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:29 GMT" + "x-ms-request-id" : "250befee-b01a-0014-7273-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:28 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share91708c6e?restype=share&comp=properties", + "Uri" : "https://sima.file.core.windows.net/share07833773?restype=share&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -31,17 +31,17 @@ "retry-after" : "0", "Content-Length" : "324", "StatusCode" : "400", - "x-ms-request-id" : "cf06f066-901a-004c-0718-2b088d000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:cf06f066-901a-004c-0718-2b088d000000\nTime:2019-06-25T05:43:30.1585199Zx-ms-share-quota-1", - "Date" : "Tue, 25 Jun 2019 05:43:29 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share91708c6e?restype=share&comp=properties", + "Uri" : "https://sima.file.core.windows.net/share07833773?restype=share&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -50,17 +50,17 @@ "retry-after" : "0", "Content-Length" : "326", "StatusCode" : "400", - "x-ms-request-id" : "cf06f067-901a-004c-0818-2b088d000000", - "Body" : "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:cf06f067-901a-004c-0818-2b088d000000\nTime:2019-06-25T05:43:30.2395774Zx-ms-share-quota9999", - "Date" : "Tue, 25 Jun 2019 05:43:29 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share91708c6e?restype=share", + "Uri" : "https://sima.file.core.windows.net/share07833773?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -68,9 +68,9 @@ "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "202", - "x-ms-request-id" : "cf06f068-901a-004c-0918-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:29 GMT" + "x-ms-request-id" : "250beff2-b01a-0014-7573-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:28 GMT" } } ], - "variables" : [ "share91708c6e" ] + "variables" : [ "share07833773" ] } \ 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 0e010ddd63b47..28d0f7ed79017 100644 --- a/storage/client/file/src/test/resources/session-records/setPropertiesTooManyRules.json +++ b/storage/client/file/src/test/resources/session-records/setPropertiesTooManyRules.json @@ -4,7 +4,7 @@ "Uri" : "https://sima.file.core.windows.net?restype=service&comp=properties", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0", + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0", "Content-Type" : "application/xml; charset=utf-8" }, "Response" : { @@ -14,17 +14,17 @@ "retry-after" : "0", "Content-Length" : "294", "StatusCode" : "400", - "x-ms-request-id" : "cf06ee4f-901a-004c-2018-2b088d000000", - "Body" : "InvalidXmlDocumentXML specified is not syntactically valid.\nRequestId:cf06ee4f-901a-004c-2018-2b088d000000\nTime:2019-06-25T05:42:04.3784356Z00", - "Date" : "Tue, 25 Jun 2019 05:42:03 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net?prefix=share33390f74&include=&comp=list", + "Uri" : "https://sima.file.core.windows.net?prefix=share38216043&include=&comp=list", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "Transfer-Encoding" : "chunked", @@ -32,11 +32,11 @@ "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "retry-after" : "0", "StatusCode" : "200", - "x-ms-request-id" : "cf06ee50-901a-004c-2118-2b088d000000", - "Body" : "share33390f74", - "Date" : "Tue, 25 Jun 2019 05:42:03 GMT", + "x-ms-request-id" : "250bf23d-b01a-0014-2573-380cf6000000", + "Body" : "share38216043", + "Date" : "Fri, 12 Jul 2019 05:37:51 GMT", "Content-Type" : "application/xml" } } ], - "variables" : [ "share33390f74" ] + "variables" : [ "share38216043" ] } \ 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 5d5099332e6a3..5182c15f76440 100644 --- a/storage/client/file/src/test/resources/session-records/snapshot.json +++ b/storage/client/file/src/test/resources/session-records/snapshot.json @@ -1,47 +1,47 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share86314d43?restype=share", + "Uri" : "https://sima.file.core.windows.net/share296049ed?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F930100AA866\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:34 GMT", + "ETag" : "\"0x8D7068A9D5B6BA3\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f094-901a-004c-2a18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:33 GMT" + "x-ms-request-id" : "250bf00b-b01a-0014-0873-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:30 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share86314d43?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share296049ed?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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-06-25T05:43:34.0000000Z", + "x-ms-snapshot" : "2019-07-12T05:34:31.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D6F930100AA866\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:34 GMT", + "ETag" : "\"0x8D7068A9D5B6BA3\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:31 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f096-901a-004c-2b18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:33 GMT" + "x-ms-request-id" : "250bf00d-b01a-0014-0973-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:30 GMT" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share86314d43?restype=share", + "Uri" : "https://sima.file.core.windows.net/share296049ed?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -50,11 +50,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "cf06f097-901a-004c-2c18-2b088d000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:cf06f097-901a-004c-2c18-2b088d000000\nTime:2019-06-25T05:43:34.4675863Z", - "Date" : "Tue, 25 Jun 2019 05:43:33 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "share86314d43" ] + "variables" : [ "share296049ed" ] } \ 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 c28bffcfbec07..dede4ce347edd 100644 --- a/storage/client/file/src/test/resources/session-records/snapshotDifferentMetadata.json +++ b/storage/client/file/src/test/resources/session-records/snapshotDifferentMetadata.json @@ -1,91 +1,91 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share6958227c?restype=share", + "Uri" : "https://sima.file.core.windows.net/share619004d3?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9300AC9B48E\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:25 GMT", + "ETag" : "\"0x8D7068A9AA34743\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:26 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f03a-901a-004c-6918-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:24 GMT" + "x-ms-request-id" : "250befc7-b01a-0014-5673-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:25 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share6958227c?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share619004d3?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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-06-25T05:43:25.0000000Z", + "x-ms-snapshot" : "2019-07-12T05:34:26.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D6F9300A88FC80\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:25 GMT", + "ETag" : "\"0x8D7068A9A49DD00\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:26 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f03c-901a-004c-6a18-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:43:24 GMT" + "x-ms-request-id" : "250befc9-b01a-0014-5773-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:34:26 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share6958227c?restype=share", + "Uri" : "https://sima.file.core.windows.net/share619004d3?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "Tue, 25 Jun 2019 05:43:25 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:26 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 25 Jun 2019 05:43:24 GMT", + "Date" : "Fri, 12 Jul 2019 05:34:26 GMT", "x-ms-has-legal-hold" : "false", "x-ms-meta-create" : "metadata", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D6F9300AC9B48E\"", + "ETag" : "\"0x8D7068A9AA34743\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "cf06f03d-901a-004c-6b18-2b088d000000" + "x-ms-request-id" : "250befca-b01a-0014-5873-380cf6000000" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share6958227c?sharesnapshot=2019-06-25T05%3a43%3a25.0000000Z&restype=share", + "Uri" : "https://sima.file.core.windows.net/share619004d3?sharesnapshot=2019-07-12T05%3a34%3a26.0000000Z&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-meta-update" : "metadata", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 25 Jun 2019 05:43:25 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 05:34:26 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 25 Jun 2019 05:43:24 GMT", + "Date" : "Fri, 12 Jul 2019 05:34:26 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D6F9300A88FC80\"", + "ETag" : "\"0x8D7068A9A49DD00\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "cf06f03f-901a-004c-6c18-2b088d000000" + "x-ms-request-id" : "250befcb-b01a-0014-5973-380cf6000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share6958227c?restype=share", + "Uri" : "https://sima.file.core.windows.net/share619004d3?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -94,11 +94,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "cf06f041-901a-004c-6d18-2b088d000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:cf06f041-901a-004c-6d18-2b088d000000\nTime:2019-06-25T05:43:25.8204260Z", - "Date" : "Tue, 25 Jun 2019 05:43:24 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "share6958227c" ] + "variables" : [ "share619004d3" ] } \ 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 3f2d28a85189e..7bf25fe37a760 100644 --- a/storage/client/file/src/test/resources/session-records/snapshotDoesNotExist.json +++ b/storage/client/file/src/test/resources/session-records/snapshotDoesNotExist.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share77297c70?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share062297a2?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -13,17 +13,17 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06f071-901a-004c-0f18-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06f071-901a-004c-0f18-2b088d000000\nTime:2019-06-25T05:43:31.6685935Z", - "Date" : "Tue, 25 Jun 2019 05:43:30 GMT", + "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", "Content-Type" : "application/xml" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share77297c70?restype=share", + "Uri" : "https://sima.file.core.windows.net/share062297a2?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -32,11 +32,11 @@ "retry-after" : "0", "Content-Length" : "217", "StatusCode" : "404", - "x-ms-request-id" : "cf06f073-901a-004c-1018-2b088d000000", - "Body" : "ShareNotFoundThe specified share does not exist.\nRequestId:cf06f073-901a-004c-1018-2b088d000000\nTime:2019-06-25T05:43:32.0728822Z", - "Date" : "Tue, 25 Jun 2019 05:43:31 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "share77297c70" ] + "variables" : [ "share062297a2" ] } \ 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 e6c4089e53d17..cdcf4201ee13d 100644 --- a/storage/client/file/src/test/resources/session-records/snapshotSameMetadata.json +++ b/storage/client/file/src/test/resources/session-records/snapshotSameMetadata.json @@ -1,69 +1,69 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share36539c27?restype=share", + "Uri" : "https://sima.file.core.windows.net/share04823686?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F9302ECDAE0B\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:25 GMT", + "ETag" : "\"0x8D7068ABA60DB8E\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:35:19 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f14c-901a-004c-1219-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:24 GMT" + "x-ms-request-id" : "250bf08f-b01a-0014-4173-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:19 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/share36539c27?restype=share&comp=snapshot", + "Uri" : "https://sima.file.core.windows.net/share04823686?restype=share&comp=snapshot", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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-06-25T05:44:25.0000000Z", + "x-ms-snapshot" : "2019-07-12T05:35:19.0000000Z", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "ETag" : "\"0x8D6F9302E4C4280\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:25 GMT", + "ETag" : "\"0x8D7068AB9E10580\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:35:19 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06f14e-901a-004c-1319-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:44:25 GMT" + "x-ms-request-id" : "250bf092-b01a-0014-4273-380cf6000000", + "Date" : "Fri, 12 Jul 2019 05:35:19 GMT" } }, { "Method" : "GET", - "Uri" : "https://sima.file.core.windows.net/share36539c27?sharesnapshot=2019-06-25T05%3a44%3a25.0000000Z&restype=share", + "Uri" : "https://sima.file.core.windows.net/share04823686?sharesnapshot=2019-07-12T05%3a35%3a19.0000000Z&restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_201; Windows 10 10.0" }, "Response" : { "x-ms-meta-test" : "metadata", "x-ms-version" : "2018-11-09", "Server" : "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "Last-Modified" : "Tue, 25 Jun 2019 05:44:25 GMT", + "Last-Modified" : "Fri, 12 Jul 2019 05:35:19 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Tue, 25 Jun 2019 05:44:25 GMT", + "Date" : "Fri, 12 Jul 2019 05:35:19 GMT", "x-ms-has-legal-hold" : "false", "x-ms-share-quota" : "2", - "ETag" : "\"0x8D6F9302E4C4280\"", + "ETag" : "\"0x8D7068AB9E10580\"", "x-ms-has-immutability-policy" : "false", "Content-Length" : "0", - "x-ms-request-id" : "cf06f14f-901a-004c-1419-2b088d000000" + "x-ms-request-id" : "250bf093-b01a-0014-4373-380cf6000000" } }, { "Method" : "DELETE", - "Uri" : "https://sima.file.core.windows.net/share36539c27?restype=share", + "Uri" : "https://sima.file.core.windows.net/share04823686?restype=share", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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", @@ -72,11 +72,11 @@ "retry-after" : "0", "Content-Length" : "250", "StatusCode" : "409", - "x-ms-request-id" : "cf06f152-901a-004c-1519-2b088d000000", - "Body" : "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:cf06f152-901a-004c-1519-2b088d000000\nTime:2019-06-25T05:44:26.3925550Z", - "Date" : "Tue, 25 Jun 2019 05:44:25 GMT", + "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", "Content-Type" : "application/xml" } } ], - "variables" : [ "share36539c27" ] + "variables" : [ "share04823686" ] } \ 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 b465bbf71978e..4dbb14edf5557 100644 --- a/storage/client/file/src/test/resources/session-records/startCopy.json +++ b/storage/client/file/src/test/resources/session-records/startCopy.json @@ -1,43 +1,43 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile05982574", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile80405118", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F7AEA7836\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:24 GMT", + "ETag" : "\"0x8D7068A5F89B5C0\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:47 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ebe2-901a-004c-2818-2b088d000000", + "x-ms-request-id" : "4131d5d4-401a-00a0-4073-3800f4000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:39:23 GMT" + "Date" : "Fri, 12 Jul 2019 05:32:46 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile05982574", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile80405118", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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-copy-id" : "9f2e81a4-33c5-438b-bb85-51e772426f6f", - "ETag" : "\"0x8D6F92F7B0E8125\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:24 GMT", + "x-ms-copy-id" : "fc51ad41-3dcd-42b5-beb4-a7f54f2d14f6", + "ETag" : "\"0x8D7068A5FA187E1\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:47 GMT", "retry-after" : "0", "Content-Length" : "0", "x-ms-copy-status" : "success", "StatusCode" : "202", - "x-ms-request-id" : "cf06ebe4-901a-004c-2918-2b088d000000", - "Date" : "Tue, 25 Jun 2019 05:39:23 GMT" + "x-ms-request-id" : "4131d5d5-401a-00a0-4173-3800f4000000", + "Date" : "Fri, 12 Jul 2019 05:32:47 GMT" } } ], - "variables" : [ "file05982574" ] + "variables" : [ "file80405118" ] } \ 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 6e55288b09c63..ceb8ddbf0273d 100644 --- a/storage/client/file/src/test/resources/session-records/upload.json +++ b/storage/client/file/src/test/resources/session-records/upload.json @@ -1,44 +1,44 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile611704ce", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile81434c4a", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0" + "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" : "\"0x8D6F92F7BFA68FA\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:25 GMT", + "ETag" : "\"0x8D7068A603AD6CE\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:48 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ebee-901a-004c-3118-2b088d000000", + "x-ms-request-id" : "e6cd1426-d01a-000f-2273-382264000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:39:25 GMT" + "Date" : "Fri, 12 Jul 2019 05:32:47 GMT" } }, { "Method" : "PUT", - "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile611704ce?comp=range", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile81434c4a?comp=range", "Headers" : { "x-ms-version" : "2018-11-09", - "User-Agent" : "azsdk-java-storage-file/1.0.0-SNAPSHOT 1.8.0_211; Windows 10 10.0", + "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" : "\"0x8D6F92F7C171D97\"", - "Last-Modified" : "Tue, 25 Jun 2019 05:39:26 GMT", + "ETag" : "\"0x8D7068A604846D9\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:48 GMT", "retry-after" : "0", "Content-Length" : "0", "StatusCode" : "201", - "x-ms-request-id" : "cf06ebef-901a-004c-3218-2b088d000000", + "x-ms-request-id" : "e6cd1427-d01a-000f-2373-382264000000", "x-ms-request-server-encrypted" : "true", - "Date" : "Tue, 25 Jun 2019 05:39:25 GMT", + "Date" : "Fri, 12 Jul 2019 05:32:47 GMT", "Content-MD5" : "wh+Wm18D0z1D4E+PE252gg==" } } ], - "variables" : [ "file611704ce" ] + "variables" : [ "file81434c4a" ] } \ 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 new file mode 100644 index 0000000000000..aa3e457a8aae8 --- /dev/null +++ b/storage/client/file/src/test/resources/session-records/uploadToStorageAndDownloadToFile.json @@ -0,0 +1,90 @@ +{ + "networkCallRecords" : [ { + "Method" : "PUT", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile20413c46", + "Headers" : { + "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" : "\"0x8D7068A605764BD\"", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:48 GMT", + "retry-after" : "0", + "Content-Length" : "0", + "StatusCode" : "201", + "x-ms-request-id" : "e6cd1428-d01a-000f-2473-382264000000", + "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==" + } + }, { + "Method" : "HEAD", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile20413c46", + "Headers" : { + "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 05:32:48 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "Date" : "Fri, 12 Jul 2019 05:32:48 GMT", + "x-ms-server-encrypted" : "true", + "x-ms-type" : "File", + "ETag" : "\"0x8D7068A60645F72\"", + "Content-Length" : "1024", + "x-ms-request-id" : "e6cd142a-d01a-000f-2673-382264000000", + "Body" : "", + "Content-Type" : "application/octet-stream" + } + }, { + "Method" : "GET", + "Uri" : "https://sima.file.core.windows.net/filesharename/testdir%2ffile20413c46", + "Headers" : { + "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", + "Content-Range" : "bytes 0-1023/1024", + "Last-Modified" : "Fri, 12 Jul 2019 05:32:48 GMT", + "retry-after" : "0", + "StatusCode" : "206", + "Date" : "Fri, 12 Jul 2019 05:32:48 GMT", + "Accept-Ranges" : "bytes", + "x-ms-server-encrypted" : "true", + "x-ms-type" : "File", + "ETag" : "\"0x8D7068A60645F72\"", + "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", + "Content-Type" : "application/octet-stream" + } + } ], + "variables" : [ "file20413c46" ] +} \ 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 d3f87ccbdad3e..800358addfd24 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" : [ "directory483426" ] + "variables" : [ "directory453112" ] } \ No newline at end of file