diff --git a/sdk/storage/Azure.Storage.Files.DataLake/CHANGELOG.md b/sdk/storage/Azure.Storage.Files.DataLake/CHANGELOG.md index 929b610fc42cb..29b949503b95b 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/CHANGELOG.md +++ b/sdk/storage/Azure.Storage.Files.DataLake/CHANGELOG.md @@ -5,6 +5,7 @@ - Fixed bug where DataLakeFileClient.Upload() could not upload read-only files. - Fixed bug where DataLakeBlobAccessPolicy.StartsOn and .ExpiresOn would cause the process to crash. - Added Close and RetainUncommitedData to DataLakeFileUploadOptions. +- Fixed bug where DataLakeDirectoryClient.Rename(), DataLakeFileClient.Rename(), and DataLakeFileClient.Rename() couldn't handle source paths with special characters. ## 12.4.0 (2020-08-31) - Fixed bug where DataLakeFileClient.Upload() would deadlock if the content stream's position was not 0. diff --git a/sdk/storage/Azure.Storage.Files.DataLake/src/DataLakeFileSystemClient.cs b/sdk/storage/Azure.Storage.Files.DataLake/src/DataLakeFileSystemClient.cs index 52d700c6409f2..0175d9587243d 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/src/DataLakeFileSystemClient.cs +++ b/sdk/storage/Azure.Storage.Files.DataLake/src/DataLakeFileSystemClient.cs @@ -13,6 +13,7 @@ using Metadata = System.Collections.Generic.IDictionary; using System.Text.Json; using System.Collections.Generic; +using Azure.Storage.Shared; namespace Azure.Storage.Files.DataLake { @@ -1574,7 +1575,7 @@ public virtual async Task> CreateDirectoryAsyn DataLakeDirectoryClient directoryClient = GetDirectoryClient(path); - Response response = await GetDirectoryClient(path).CreateAsync( + Response response = await directoryClient.CreateAsync( httpHeaders, metadata, permissions, diff --git a/sdk/storage/Azure.Storage.Files.DataLake/src/DataLakePathClient.cs b/sdk/storage/Azure.Storage.Files.DataLake/src/DataLakePathClient.cs index e714b0b428800..55b997d6102f7 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/src/DataLakePathClient.cs +++ b/sdk/storage/Azure.Storage.Files.DataLake/src/DataLakePathClient.cs @@ -1604,7 +1604,7 @@ private async Task> RenameInternal( { // Build renameSource DataLakeUriBuilder sourceUriBuilder = new DataLakeUriBuilder(_dfsUri); - string renameSource = "/" + sourceUriBuilder.FileSystemName + "/" + sourceUriBuilder.DirectoryOrFilePath; + string renameSource = "/" + sourceUriBuilder.FileSystemName + "/" + sourceUriBuilder.DirectoryOrFilePath.EscapePath(); if (sourceUriBuilder.Sas != null) { diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/DirectoryClientTests.cs b/sdk/storage/Azure.Storage.Files.DataLake/tests/DirectoryClientTests.cs index b4683d7d62c48..203446c6cff03 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/tests/DirectoryClientTests.cs +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/DirectoryClientTests.cs @@ -700,6 +700,53 @@ await TestHelper.AssertExpectedExceptionAsync( } } + [Test] + [TestCase("!'();[]@&%=+$,#äÄöÖüÜß;")] + [TestCase("%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23äÄöÖüÜß%3B")] + [TestCase(" my cool directory ")] + [TestCase("directory")] + public async Task RenameAsync_DestinationSpecialCharacters(string destDirectoryName) + { + await using DisposingFileSystem test = await GetNewFileSystem(); + + // Arrange + DataLakeDirectoryClient sourceDirectory = await test.FileSystem.CreateDirectoryAsync(GetNewDirectoryName()); + Uri expectedDestDirectoryUri = new Uri($"https://{test.FileSystem.AccountName}.dfs.core.windows.net/{test.FileSystem.Name}/{Uri.EscapeDataString(destDirectoryName)}"); + + // Act + DataLakeDirectoryClient destDirectory = await sourceDirectory.RenameAsync(destinationPath: destDirectoryName); + + // Assert + Response response = await destDirectory.GetPropertiesAsync(); + Assert.AreEqual(destDirectoryName, destDirectory.Name); + Assert.AreEqual(destDirectoryName, destDirectory.Path); + Assert.AreEqual(expectedDestDirectoryUri, destDirectory.Uri); + } + + [Test] + [TestCase("!'();[]@&%=+$,#äÄöÖüÜß;")] + [TestCase("%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23äÄöÖüÜß%3B")] + [TestCase(" my cool directory ")] + [TestCase("directory")] + public async Task RenameAsync_SourceSpecialCharacters(string sourceDirectoryName) + { + await using DisposingFileSystem test = await GetNewFileSystem(); + + // Arrange + string destDirectoryName = GetNewDirectoryName(); + DataLakeDirectoryClient sourceDirectory = await test.FileSystem.CreateDirectoryAsync(sourceDirectoryName); + Uri expectedDestDirectoryUri = new Uri($"https://{test.FileSystem.AccountName}.dfs.core.windows.net/{test.FileSystem.Name}/{destDirectoryName}"); + + // Act + DataLakeDirectoryClient destDirectory = await sourceDirectory.RenameAsync(destinationPath: destDirectoryName); + + // Assert + Response response = await destDirectory.GetPropertiesAsync(); + Assert.AreEqual(destDirectoryName, destDirectory.Name); + Assert.AreEqual(destDirectoryName, destDirectory.Path); + Assert.AreEqual(expectedDestDirectoryUri, destDirectory.Uri); + } + [Test] public async Task GetAccessControlAsync() { diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/FileClientTests.cs b/sdk/storage/Azure.Storage.Files.DataLake/tests/FileClientTests.cs index 72c34b6da35d8..6725275bbcef0 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/tests/FileClientTests.cs +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/FileClientTests.cs @@ -681,6 +681,59 @@ await TestHelper.AssertExpectedExceptionAsync( } } + [Test] + [TestCase("!'();[]@&%=+$,#äÄöÖüÜß;")] + [TestCase("%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23äÄöÖüÜß%3B")] + [TestCase(" my cool file ")] + [TestCase("file")] + public async Task RenameAsync_DestinationSpecialCharacters(string destFileName) + { + // Arrange + await using DisposingFileSystem test = await GetNewFileSystem(); + string directoryName = GetNewDirectoryName(); + DataLakeDirectoryClient directory = InstrumentClient(test.FileSystem.GetDirectoryClient(directoryName)); + await directory.CreateAsync(); + DataLakeFileClient sourceFile = await test.FileSystem.CreateFileAsync(GetNewFileName()); + Uri expectedDestFileUri = new Uri($"https://{test.FileSystem.AccountName}.dfs.core.windows.net/{test.FileSystem.Name}/{directoryName}/{Uri.EscapeDataString(destFileName)}"); + string destFilePath = $"{directoryName}/{destFileName}"; + + // Act + DataLakeFileClient destFile = await sourceFile.RenameAsync(destinationPath: destFilePath); + + // Assert + Response response = await destFile.GetPropertiesAsync(); + Assert.AreEqual(destFileName, destFile.Name); + Assert.AreEqual(destFilePath, destFile.Path); + Assert.AreEqual(expectedDestFileUri, destFile.Uri); + } + + [Test] + [TestCase("!'();[]@&%=+$,#äÄöÖüÜß;")] + [TestCase("%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23äÄöÖüÜß%3B")] + [TestCase(" my cool file ")] + [TestCase("file")] + public async Task RenameAsync_SourceSpecialCharacters(string sourceFileName) + { + // Arrange + await using DisposingFileSystem test = await GetNewFileSystem(); + string directoryName = GetNewDirectoryName(); + DataLakeDirectoryClient directory = InstrumentClient(test.FileSystem.GetDirectoryClient(directoryName)); + await directory.CreateAsync(); + DataLakeFileClient sourceFile = await test.FileSystem.CreateFileAsync(sourceFileName); + string destFileName = GetNewFileName(); + Uri expectedDestFileUri = new Uri($"https://{test.FileSystem.AccountName}.dfs.core.windows.net/{test.FileSystem.Name}/{directoryName}/{destFileName}"); + string destFilePath = $"{directoryName}/{destFileName}"; + + // Act + DataLakeFileClient destFile = await sourceFile.RenameAsync(destinationPath: destFilePath); + + // Assert + Response response = await destFile.GetPropertiesAsync(); + Assert.AreEqual(destFileName, destFile.Name); + Assert.AreEqual(destFilePath, destFile.Path); + Assert.AreEqual(expectedDestFileUri, destFile.Uri); + } + [Test] public async Task GetAccessControlAsync() { diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(% my cool directory %).json b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(% my cool directory %).json new file mode 100644 index 0000000000000..431b0a64423eb --- /dev/null +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(% my cool directory %).json @@ -0,0 +1,174 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-6a5b6039-01ab-a7dc-fb3f-34a5ee1eea5f?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-40c45129ce33a6469655eaf8adc84186-b89b5ac8289c2241-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "e8b15326-6db2-fd18-90dd-819d94c26a77", + "x-ms-date": "Fri, 11 Sep 2020 17:21:15 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:15 GMT", + "ETag": "\u00220x8D8567717173C77\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:16 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "e8b15326-6db2-fd18-90dd-819d94c26a77", + "x-ms-request-id": "47052a3f-801e-006a-7f5f-889588000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-6a5b6039-01ab-a7dc-fb3f-34a5ee1eea5f/test-directory-cf7af523-281f-d52f-294b-8d8fd3752d4b?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b94392742f6b8b4f8a6069c3f6bc8cd4-53d957925ce6a349-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "8343b5b1-8934-fd49-23dc-bf67df882a1b", + "x-ms-date": "Fri, 11 Sep 2020 17:21:16 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:15 GMT", + "ETag": "\u00220x8D856771757B36A\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:16 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "8343b5b1-8934-fd49-23dc-bf67df882a1b", + "x-ms-request-id": "320336af-a01f-0020-7f5f-883607000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-6a5b6039-01ab-a7dc-fb3f-34a5ee1eea5f/ my cool directory ?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "1ddd72d0-aa31-5c16-8181-77904245d980", + "x-ms-date": "Fri, 11 Sep 2020 17:21:16 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-6a5b6039-01ab-a7dc-fb3f-34a5ee1eea5f%2Ftest-directory-cf7af523-281f-d52f-294b-8d8fd3752d4b=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:15 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "1ddd72d0-aa31-5c16-8181-77904245d980", + "x-ms-request-id": "320336b0-a01f-0020-805f-883607000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-6a5b6039-01ab-a7dc-fb3f-34a5ee1eea5f/ my cool directory ", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "6c9630e8-0cab-05ea-1f5b-48c2567adf02", + "x-ms-date": "Fri, 11 Sep 2020 17:21:16 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:21:15 GMT", + "ETag": "\u00220x8D856771757B36A\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:16 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "6c9630e8-0cab-05ea-1f5b-48c2567adf02", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:21:16 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-meta-hdi_isfolder": "true", + "x-ms-request-id": "47052a69-801e-006a-155f-889588000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-6a5b6039-01ab-a7dc-fb3f-34a5ee1eea5f?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-0fcedc2a5b049940a4ab8413d31a32f4-dbb9c728d5a3eb4e-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "12a79ffd-6cae-cdd5-a82f-8c8668158b30", + "x-ms-date": "Fri, 11 Sep 2020 17:21:16 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:16 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "12a79ffd-6cae-cdd5-a82f-8c8668158b30", + "x-ms-request-id": "47052a6b-801e-006a-175f-889588000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "2008287452", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(% my cool directory %)Async.json b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(% my cool directory %)Async.json new file mode 100644 index 0000000000000..3d9c2e8d8ee9d --- /dev/null +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(% my cool directory %)Async.json @@ -0,0 +1,174 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-9cdf72a4-c444-e220-c19a-be978f52cd00?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-59936a75ba684a469021357cdfb43014-73aa586fc6546141-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "5817eabb-7615-13f6-ca4a-cbb0b9380463", + "x-ms-date": "Fri, 11 Sep 2020 17:21:26 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:26 GMT", + "ETag": "\u00220x8D856771DB80084\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:27 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "5817eabb-7615-13f6-ca4a-cbb0b9380463", + "x-ms-request-id": "40457f25-401e-0081-7f5f-88ed7a000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-9cdf72a4-c444-e220-c19a-be978f52cd00/test-directory-428a9d0a-3ad0-6cc7-cc8e-c6bdf11c81d8?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-8feb294f9235a54687b92385dcf9df19-e99d97b4cee91f4c-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "c4f97081-c15e-81d0-22ab-8b87b03821ae", + "x-ms-date": "Fri, 11 Sep 2020 17:21:27 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:27 GMT", + "ETag": "\u00220x8D856771E531ED1\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:28 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "c4f97081-c15e-81d0-22ab-8b87b03821ae", + "x-ms-request-id": "fab4019c-e01f-001e-675f-88a178000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-9cdf72a4-c444-e220-c19a-be978f52cd00/ my cool directory ?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "813c28f6-bd23-d57a-4d5a-828fe963caf5", + "x-ms-date": "Fri, 11 Sep 2020 17:21:28 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-9cdf72a4-c444-e220-c19a-be978f52cd00%2Ftest-directory-428a9d0a-3ad0-6cc7-cc8e-c6bdf11c81d8=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:27 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "813c28f6-bd23-d57a-4d5a-828fe963caf5", + "x-ms-request-id": "fab4019e-e01f-001e-695f-88a178000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-9cdf72a4-c444-e220-c19a-be978f52cd00/ my cool directory ", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "8891b4aa-a0fc-0c8b-7843-4e01dc99ac4e", + "x-ms-date": "Fri, 11 Sep 2020 17:21:28 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:21:27 GMT", + "ETag": "\u00220x8D856771E531ED1\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:28 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "8891b4aa-a0fc-0c8b-7843-4e01dc99ac4e", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:21:28 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-meta-hdi_isfolder": "true", + "x-ms-request-id": "40457fd9-401e-0081-0e5f-88ed7a000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-9cdf72a4-c444-e220-c19a-be978f52cd00?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-dcb1c8ad542fc0409a4d6d8d43c1117d-975641ea95bf3e43-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "34e45d9c-41d2-43f8-3cf5-ff97ad4046ad", + "x-ms-date": "Fri, 11 Sep 2020 17:21:28 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:27 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "34e45d9c-41d2-43f8-3cf5-ff97ad4046ad", + "x-ms-request-id": "40457fee-401e-0081-1a5f-88ed7a000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "1097050313", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git "a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%).json" "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%).json" new file mode 100644 index 0000000000000..b29a8fa34b060 --- /dev/null +++ "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%).json" @@ -0,0 +1,174 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-11232502-2fca-5c19-adf1-0ae87b0ef5ca?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c67b414068a047448a7132350e577854-4364c717191eb64f-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "f69de29d-6263-0553-0323-3993c8464d69", + "x-ms-date": "Fri, 11 Sep 2020 17:21:12 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:13 GMT", + "ETag": "\u00220x8D8567715947FC4\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:13 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "f69de29d-6263-0553-0323-3993c8464d69", + "x-ms-request-id": "2923cb52-201e-003e-6d5f-88dadf000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-11232502-2fca-5c19-adf1-0ae87b0ef5ca/test-directory-883f6ad9-de61-9ddc-07b8-67e35feb7a2c?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-dafc3dd52a84fc46ac8cd12eb2af210c-2ef73e1eb7a0e147-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "7854679a-1640-bf9d-0600-eeabfb70a618", + "x-ms-date": "Fri, 11 Sep 2020 17:21:13 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:13 GMT", + "ETag": "\u00220x8D8567715F9DD0A\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:14 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "7854679a-1640-bf9d-0600-eeabfb70a618", + "x-ms-request-id": "52d61cf7-501f-0069-2b5f-8874ec000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-11232502-2fca-5c19-adf1-0ae87b0ef5ca/%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%3B?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "f8490415-0296-3ceb-6c8b-927010bc2ae0", + "x-ms-date": "Fri, 11 Sep 2020 17:21:14 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-11232502-2fca-5c19-adf1-0ae87b0ef5ca%2Ftest-directory-883f6ad9-de61-9ddc-07b8-67e35feb7a2c=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:13 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "f8490415-0296-3ceb-6c8b-927010bc2ae0", + "x-ms-request-id": "52d61cf8-501f-0069-2c5f-8874ec000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-11232502-2fca-5c19-adf1-0ae87b0ef5ca/%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%3B", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "f696728e-ae26-a781-2004-51702288c945", + "x-ms-date": "Fri, 11 Sep 2020 17:21:14 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:21:14 GMT", + "ETag": "\u00220x8D8567715F9DD0A\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:14 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "f696728e-ae26-a781-2004-51702288c945", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:21:14 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-meta-hdi_isfolder": "true", + "x-ms-request-id": "2923cbca-201e-003e-3d5f-88dadf000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-11232502-2fca-5c19-adf1-0ae87b0ef5ca?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ac1035387efbd44bcb1955b092931ad-bf3aa1bb18f87b48-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "9ee1d219-3326-ffb9-f844-fd4693f6c2e6", + "x-ms-date": "Fri, 11 Sep 2020 17:21:14 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:14 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "9ee1d219-3326-ffb9-f844-fd4693f6c2e6", + "x-ms-request-id": "2923cbd9-201e-003e-495f-88dadf000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "900988912", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git "a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%)Async.json" "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%)Async.json" new file mode 100644 index 0000000000000..61bb28d73fd32 --- /dev/null +++ "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%)Async.json" @@ -0,0 +1,174 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-4fd0a9b1-20a0-eeff-f59d-076742a3b6cd?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-587a19e03958814c86b9645b849b8389-439b0d73f856b443-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "dce0828e-eab9-c89c-d3f0-df5629934bcf", + "x-ms-date": "Fri, 11 Sep 2020 17:21:24 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:24 GMT", + "ETag": "\u00220x8D856771C1FFA47\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:24 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "dce0828e-eab9-c89c-d3f0-df5629934bcf", + "x-ms-request-id": "478976c0-901e-0066-025f-880280000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-4fd0a9b1-20a0-eeff-f59d-076742a3b6cd/test-directory-f9b40080-9f1b-9f45-20ce-7e73963723e9?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-2b1946a2a66c2044b248a76db25abb61-e23bcbed00520a4b-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "c947bae2-8957-effc-3c40-bcea6c29319c", + "x-ms-date": "Fri, 11 Sep 2020 17:21:24 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:25 GMT", + "ETag": "\u00220x8D856771C78798B\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:25 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "c947bae2-8957-effc-3c40-bcea6c29319c", + "x-ms-request-id": "2fd9159b-c01f-008f-0a5f-88c4ca000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-4fd0a9b1-20a0-eeff-f59d-076742a3b6cd/%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%3B?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "db9040f6-5aef-9192-f3e9-82811d28c7d9", + "x-ms-date": "Fri, 11 Sep 2020 17:21:25 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-4fd0a9b1-20a0-eeff-f59d-076742a3b6cd%2Ftest-directory-f9b40080-9f1b-9f45-20ce-7e73963723e9=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:25 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "db9040f6-5aef-9192-f3e9-82811d28c7d9", + "x-ms-request-id": "2fd9159c-c01f-008f-0b5f-88c4ca000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-4fd0a9b1-20a0-eeff-f59d-076742a3b6cd/%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%3B", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "2cf4cfd3-5698-73ac-63aa-45d1088b8ac5", + "x-ms-date": "Fri, 11 Sep 2020 17:21:25 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:21:24 GMT", + "ETag": "\u00220x8D856771C78798B\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:25 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "2cf4cfd3-5698-73ac-63aa-45d1088b8ac5", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:21:25 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-meta-hdi_isfolder": "true", + "x-ms-request-id": "4789771f-901e-0066-4b5f-880280000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-4fd0a9b1-20a0-eeff-f59d-076742a3b6cd?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-d16977ecf54bb5498d895a753c888ac2-c0902ced7064e04a-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "4dae3ebe-9b34-9840-900c-d94c58b24d21", + "x-ms-date": "Fri, 11 Sep 2020 17:21:25 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:24 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "4dae3ebe-9b34-9840-900c-d94c58b24d21", + "x-ms-request-id": "47897732-901e-0066-575f-880280000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "1623570771", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git "a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%).json" "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%).json" new file mode 100644 index 0000000000000..c69a21e27d59a --- /dev/null +++ "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%).json" @@ -0,0 +1,174 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-9898bd6d-c59e-e52b-199b-f93fea3d931c?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ad8e3e503f0a441bba43c3b7b9d35e4-667624e67b98b64b-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "49169265-3fba-048e-f638-47dfd2de8281", + "x-ms-date": "Fri, 11 Sep 2020 17:21:14 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:14 GMT", + "ETag": "\u00220x8D8567716735F3C\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:15 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "49169265-3fba-048e-f638-47dfd2de8281", + "x-ms-request-id": "c3d43816-a01e-0099-415f-88321d000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-9898bd6d-c59e-e52b-199b-f93fea3d931c/test-directory-0067fa30-de1d-ce87-bd68-2d7abb9f3dfb?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-557adebf45020f4ca95bfbd3482cd4ed-9bce666a6d36c846-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "ad5b88a2-26b6-8775-0a48-8b5111144856", + "x-ms-date": "Fri, 11 Sep 2020 17:21:14 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:15 GMT", + "ETag": "\u00220x8D8567716B5DA59\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:15 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "ad5b88a2-26b6-8775-0a48-8b5111144856", + "x-ms-request-id": "e409c43f-a01f-006d-4f5f-88f9eb000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-9898bd6d-c59e-e52b-199b-f93fea3d931c/%2521%2527%2528%2529%253B%255B%255D%2540%2526%2525%253D%252B%2524%252C%2523\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%253B?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "32d7a00b-9044-4d44-f152-4ddebe1139e0", + "x-ms-date": "Fri, 11 Sep 2020 17:21:15 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-9898bd6d-c59e-e52b-199b-f93fea3d931c%2Ftest-directory-0067fa30-de1d-ce87-bd68-2d7abb9f3dfb=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:15 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "32d7a00b-9044-4d44-f152-4ddebe1139e0", + "x-ms-request-id": "e409c440-a01f-006d-505f-88f9eb000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-9898bd6d-c59e-e52b-199b-f93fea3d931c/%2521%2527%2528%2529%253B%255B%255D%2540%2526%2525%253D%252B%2524%252C%2523\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%253B", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "7145edd2-153d-6912-071c-7ab2dc7c2886", + "x-ms-date": "Fri, 11 Sep 2020 17:21:15 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:21:15 GMT", + "ETag": "\u00220x8D8567716B5DA59\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:15 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "7145edd2-153d-6912-071c-7ab2dc7c2886", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:21:15 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-meta-hdi_isfolder": "true", + "x-ms-request-id": "c3d4383c-a01e-0099-5d5f-88321d000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-9898bd6d-c59e-e52b-199b-f93fea3d931c?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-25f882360085024d973fad5955f97618-1776ba4534c87246-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "d10bdced-c7cb-c2a3-5389-039876d69cb1", + "x-ms-date": "Fri, 11 Sep 2020 17:21:15 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:15 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "d10bdced-c7cb-c2a3-5389-039876d69cb1", + "x-ms-request-id": "c3d43847-a01e-0099-655f-88321d000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "758896139", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git "a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%)Async.json" "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%)Async.json" new file mode 100644 index 0000000000000..b384dfa9862af --- /dev/null +++ "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%)Async.json" @@ -0,0 +1,174 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-40b51048-a585-97b7-8d39-99002a993f97?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-8d58fabfa5dda74f966e0d7659bb8be9-dc96ebc42e73c049-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "a2520af1-9b02-2c2a-36d7-d7487ce8eae7", + "x-ms-date": "Fri, 11 Sep 2020 17:21:25 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:26 GMT", + "ETag": "\u00220x8D856771CEF6DDE\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:25 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "a2520af1-9b02-2c2a-36d7-d7487ce8eae7", + "x-ms-request-id": "f628316e-001e-0039-4c5f-88b6bc000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-40b51048-a585-97b7-8d39-99002a993f97/test-directory-a4687973-c03e-00ea-0612-641167c41855?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-d4581d0e6cbb8044b1fd1bc21e9c8fc3-0856f61c487a7b4d-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "057f5689-7bce-3109-1f51-9bf03718c571", + "x-ms-date": "Fri, 11 Sep 2020 17:21:26 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:25 GMT", + "ETag": "\u00220x8D856771D42320F\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:26 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "057f5689-7bce-3109-1f51-9bf03718c571", + "x-ms-request-id": "32f1a892-501f-0056-0e5f-88bc4f000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-40b51048-a585-97b7-8d39-99002a993f97/%2521%2527%2528%2529%253B%255B%255D%2540%2526%2525%253D%252B%2524%252C%2523\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%253B?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "118870eb-1245-9f86-48dc-fff501a4b4ac", + "x-ms-date": "Fri, 11 Sep 2020 17:21:26 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-40b51048-a585-97b7-8d39-99002a993f97%2Ftest-directory-a4687973-c03e-00ea-0612-641167c41855=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:25 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "118870eb-1245-9f86-48dc-fff501a4b4ac", + "x-ms-request-id": "32f1a893-501f-0056-0f5f-88bc4f000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-40b51048-a585-97b7-8d39-99002a993f97/%2521%2527%2528%2529%253B%255B%255D%2540%2526%2525%253D%252B%2524%252C%2523\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%253B", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "c60456c2-b490-ac2b-fa8f-e2fdcbabd540", + "x-ms-date": "Fri, 11 Sep 2020 17:21:26 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:21:26 GMT", + "ETag": "\u00220x8D856771D42320F\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:26 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "c60456c2-b490-ac2b-fa8f-e2fdcbabd540", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:21:26 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-meta-hdi_isfolder": "true", + "x-ms-request-id": "f628321f-001e-0039-4d5f-88b6bc000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-40b51048-a585-97b7-8d39-99002a993f97?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7550d9b254420d489cd86ab3ae9aef6d-e5ae7648c1042a4c-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "ab324b9b-ee9f-951b-3214-f403191bf20b", + "x-ms-date": "Fri, 11 Sep 2020 17:21:26 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:26 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "ab324b9b-ee9f-951b-3214-f403191bf20b", + "x-ms-request-id": "f6283237-001e-0039-605f-88b6bc000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "919452667", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(%directory%).json b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(%directory%).json new file mode 100644 index 0000000000000..650b3dbdb4358 --- /dev/null +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(%directory%).json @@ -0,0 +1,174 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-e64356b9-41c8-48c2-df75-efb1c450ef1f?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-30b76494810ce649bbf323bfb779250b-057df96ce6350543-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "54db6772-4794-03f7-7464-37fddef98c39", + "x-ms-date": "Fri, 11 Sep 2020 17:21:16 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:16 GMT", + "ETag": "\u00220x8D8567717B9727A\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:17 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "54db6772-4794-03f7-7464-37fddef98c39", + "x-ms-request-id": "75047cc5-701e-008a-785f-881611000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-e64356b9-41c8-48c2-df75-efb1c450ef1f/test-directory-c099dfac-ecc1-0ac6-985e-c39d535c2dd9?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-e7145f230f049244b6d2c3da6b66ef0a-90b76e57426b334f-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "3bb9b59e-596c-850f-a0d0-bb368359b018", + "x-ms-date": "Fri, 11 Sep 2020 17:21:17 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:17 GMT", + "ETag": "\u00220x8D8567717EFBEFE\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:17 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "3bb9b59e-596c-850f-a0d0-bb368359b018", + "x-ms-request-id": "1fceb415-501f-0079-085f-88b184000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-e64356b9-41c8-48c2-df75-efb1c450ef1f/directory?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "9eff9a57-f1a2-016d-0eb9-bda4de54f9c0", + "x-ms-date": "Fri, 11 Sep 2020 17:21:17 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-e64356b9-41c8-48c2-df75-efb1c450ef1f%2Ftest-directory-c099dfac-ecc1-0ac6-985e-c39d535c2dd9=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:17 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "9eff9a57-f1a2-016d-0eb9-bda4de54f9c0", + "x-ms-request-id": "1fceb416-501f-0079-095f-88b184000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-e64356b9-41c8-48c2-df75-efb1c450ef1f/directory", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "e9dfe33c-115a-4575-f0a1-b100711f33ff", + "x-ms-date": "Fri, 11 Sep 2020 17:21:17 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:21:17 GMT", + "ETag": "\u00220x8D8567717EFBEFE\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:17 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "e9dfe33c-115a-4575-f0a1-b100711f33ff", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:21:17 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-meta-hdi_isfolder": "true", + "x-ms-request-id": "75047d47-701e-008a-635f-881611000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-e64356b9-41c8-48c2-df75-efb1c450ef1f?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-72d0f2fcee2a5248a1414f2b2262a6b3-57a870fc75c2fa4d-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "fb67b488-0f75-0c65-09b1-297c946efdd1", + "x-ms-date": "Fri, 11 Sep 2020 17:21:17 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:17 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "fb67b488-0f75-0c65-09b1-297c946efdd1", + "x-ms-request-id": "75047d4e-701e-008a-685f-881611000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "1927558048", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(%directory%)Async.json b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(%directory%)Async.json new file mode 100644 index 0000000000000..9b9b06db0a9a7 --- /dev/null +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_DestinationSpecialCharacters(%directory%)Async.json @@ -0,0 +1,174 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-7e7bc2ac-0f93-0963-eb45-2997363a484c?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-d245174e9731b643954631299ecb1a54-73d88521a427e94e-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "ec741d9a-32f2-2251-c0d4-82a641277d5c", + "x-ms-date": "Fri, 11 Sep 2020 17:21:28 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:30 GMT", + "ETag": "\u00220x8D856771F0D95C1\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:29 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "ec741d9a-32f2-2251-c0d4-82a641277d5c", + "x-ms-request-id": "a923d39c-001e-0029-6e5f-8873d4000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-7e7bc2ac-0f93-0963-eb45-2997363a484c/test-directory-ea25948f-1348-5abd-1cec-e1529aaebdb0?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-37f944d9065d604bbe4a803b454c3f50-3d29c35540178849-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "b72418c2-6515-8708-6019-cf0650fe8812", + "x-ms-date": "Fri, 11 Sep 2020 17:21:30 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:30 GMT", + "ETag": "\u00220x8D8567720174E5A\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:31 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "b72418c2-6515-8708-6019-cf0650fe8812", + "x-ms-request-id": "c11248b8-601f-005d-3d5f-884724000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-7e7bc2ac-0f93-0963-eb45-2997363a484c/directory?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "828f6c9e-058a-8f9a-d175-b8ac8d522c48", + "x-ms-date": "Fri, 11 Sep 2020 17:21:31 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-7e7bc2ac-0f93-0963-eb45-2997363a484c%2Ftest-directory-ea25948f-1348-5abd-1cec-e1529aaebdb0=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:30 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "828f6c9e-058a-8f9a-d175-b8ac8d522c48", + "x-ms-request-id": "c11248b9-601f-005d-3e5f-884724000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-7e7bc2ac-0f93-0963-eb45-2997363a484c/directory", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "e467b18e-066e-1188-3722-96b4ace9a5e8", + "x-ms-date": "Fri, 11 Sep 2020 17:21:31 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:21:31 GMT", + "ETag": "\u00220x8D8567720174E5A\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:31 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "e467b18e-066e-1188-3722-96b4ace9a5e8", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:21:31 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-meta-hdi_isfolder": "true", + "x-ms-request-id": "a923d6c9-001e-0029-585f-8873d4000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-7e7bc2ac-0f93-0963-eb45-2997363a484c?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-49f86d5017f4ae438d395abfd110761d-db46cccbffeb024e-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "db1d761c-47eb-50d9-4b77-c52a4f96b098", + "x-ms-date": "Fri, 11 Sep 2020 17:21:31 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:31 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "db1d761c-47eb-50d9-4b77-c52a4f96b098", + "x-ms-request-id": "a923d740-001e-0029-495f-8873d4000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "782033951", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(% my cool directory %).json b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(% my cool directory %).json new file mode 100644 index 0000000000000..ce85d01d0d915 --- /dev/null +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(% my cool directory %).json @@ -0,0 +1,174 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-b3575c6b-a8d4-5791-fd13-25d280009106?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-0e18da608fa92d499bbb2f4500b31503-f845790bea2f414e-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "15cd8a8c-6d8b-608c-5aa2-bbd08c6d4dd0", + "x-ms-date": "Fri, 11 Sep 2020 17:21:20 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:21 GMT", + "ETag": "\u00220x8D856771A473A1F\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:21 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "15cd8a8c-6d8b-608c-5aa2-bbd08c6d4dd0", + "x-ms-request-id": "60367181-f01e-0012-585f-883670000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-b3575c6b-a8d4-5791-fd13-25d280009106/ my cool directory ?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-adfeb0c61a3e4e4daf8ef40dd3314922-fbe44847072c4147-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "32013065-2deb-7064-3837-a1f56e6bba7e", + "x-ms-date": "Fri, 11 Sep 2020 17:21:21 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:20 GMT", + "ETag": "\u00220x8D856771A7CEFB3\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:21 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "32013065-2deb-7064-3837-a1f56e6bba7e", + "x-ms-request-id": "82464d28-701f-0033-535f-88120b000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-b3575c6b-a8d4-5791-fd13-25d280009106/test-directory-2889e0b3-1bd9-9651-7496-ff21a6db4489?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "75bcb861-12da-8e9e-83d5-bdfada85e8e2", + "x-ms-date": "Fri, 11 Sep 2020 17:21:21 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-b3575c6b-a8d4-5791-fd13-25d280009106%2F\u002Bmy\u002Bcool\u002Bdirectory\u002B=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:21 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "75bcb861-12da-8e9e-83d5-bdfada85e8e2", + "x-ms-request-id": "82464d2a-701f-0033-545f-88120b000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-b3575c6b-a8d4-5791-fd13-25d280009106/test-directory-2889e0b3-1bd9-9651-7496-ff21a6db4489", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "b59344ba-44ae-4ba4-9384-215199a35ee0", + "x-ms-date": "Fri, 11 Sep 2020 17:21:21 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:21:21 GMT", + "ETag": "\u00220x8D856771A7CEFB3\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:21 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "b59344ba-44ae-4ba4-9384-215199a35ee0", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:21:21 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-meta-hdi_isfolder": "true", + "x-ms-request-id": "603671a7-f01e-0012-745f-883670000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-b3575c6b-a8d4-5791-fd13-25d280009106?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f22e3454c05bfa468c2bad96d10b9678-41d366ec309e6048-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "963fc16d-33f2-fc33-ef69-537e6ecd74ee", + "x-ms-date": "Fri, 11 Sep 2020 17:21:21 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:21 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "963fc16d-33f2-fc33-ef69-537e6ecd74ee", + "x-ms-request-id": "603671af-f01e-0012-7a5f-883670000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "1140832460", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(% my cool directory %)Async.json b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(% my cool directory %)Async.json new file mode 100644 index 0000000000000..841d0c1fc7f88 --- /dev/null +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(% my cool directory %)Async.json @@ -0,0 +1,174 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-215fa91a-a268-0ab5-a7b0-cbf27f6deb6e?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f7c6d9892604424ab90ec63438506026-674d1017d5f02f4f-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "e77c7688-841c-ab08-e6e4-a4ec7b08a913", + "x-ms-date": "Fri, 11 Sep 2020 17:21:34 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:34 GMT", + "ETag": "\u00220x8D8567722338A50\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:34 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "e77c7688-841c-ab08-e6e4-a4ec7b08a913", + "x-ms-request-id": "d8ab78bb-d01e-0015-755f-885a13000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-215fa91a-a268-0ab5-a7b0-cbf27f6deb6e/ my cool directory ?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-9fdc50bd07cb5447a7beb0fd3b19479b-9093779aa4b78f4b-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "09866f11-2970-6128-c0f4-2bda655b8cee", + "x-ms-date": "Fri, 11 Sep 2020 17:21:34 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:34 GMT", + "ETag": "\u00220x8D856772277CC90\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:35 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "09866f11-2970-6128-c0f4-2bda655b8cee", + "x-ms-request-id": "e47e9ab1-901f-0059-4b5f-88ca23000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-215fa91a-a268-0ab5-a7b0-cbf27f6deb6e/test-directory-d7736836-2622-88b5-bb41-1ead1ef898c3?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "af9b24a0-8e71-8553-5708-47fcd77766b5", + "x-ms-date": "Fri, 11 Sep 2020 17:21:35 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-215fa91a-a268-0ab5-a7b0-cbf27f6deb6e%2F\u002Bmy\u002Bcool\u002Bdirectory\u002B=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:34 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "af9b24a0-8e71-8553-5708-47fcd77766b5", + "x-ms-request-id": "e47e9ab8-901f-0059-5260-88ca23000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-215fa91a-a268-0ab5-a7b0-cbf27f6deb6e/test-directory-d7736836-2622-88b5-bb41-1ead1ef898c3", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "413a7159-dcbf-bd7d-8cb8-a39558275c9e", + "x-ms-date": "Fri, 11 Sep 2020 17:21:35 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:21:34 GMT", + "ETag": "\u00220x8D856772277CC90\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:35 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "413a7159-dcbf-bd7d-8cb8-a39558275c9e", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:21:35 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-meta-hdi_isfolder": "true", + "x-ms-request-id": "d8ab792a-d01e-0015-4160-885a13000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-215fa91a-a268-0ab5-a7b0-cbf27f6deb6e?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-6f9f2441c6f35946a6600d20f0fb16b6-88e962145c416142-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "65a2663d-253d-e5f5-23cc-810b02c61825", + "x-ms-date": "Fri, 11 Sep 2020 17:21:35 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:34 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "65a2663d-253d-e5f5-23cc-810b02c61825", + "x-ms-request-id": "d8ab7958-d01e-0015-6160-885a13000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "359548204", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git "a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%).json" "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%).json" new file mode 100644 index 0000000000000..3a3268216f078 --- /dev/null +++ "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%).json" @@ -0,0 +1,174 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-abe29042-1960-4c36-dd29-b8bdd48b26f4?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-154a9f2eefe0f24387c5a57a3c2db9f4-5697bc88b220a040-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "d08b8b1f-5d2f-b363-e20b-ecf315800586", + "x-ms-date": "Fri, 11 Sep 2020 17:21:18 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:19 GMT", + "ETag": "\u00220x8D8567718ADECC7\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:18 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "d08b8b1f-5d2f-b363-e20b-ecf315800586", + "x-ms-request-id": "3a60daa8-b01e-0085-0c5f-88607d000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-abe29042-1960-4c36-dd29-b8bdd48b26f4/%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%3B?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-9457a2cb9ce7e24c90cb71baa32ab4b2-9b4bddc52db16c4d-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "0582cac5-185d-55ff-10d9-3d8119cdeb55", + "x-ms-date": "Fri, 11 Sep 2020 17:21:19 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:19 GMT", + "ETag": "\u00220x8D856771946F31A\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:19 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "0582cac5-185d-55ff-10d9-3d8119cdeb55", + "x-ms-request-id": "e11ca944-e01f-007c-775f-88635f000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-abe29042-1960-4c36-dd29-b8bdd48b26f4/test-directory-6b65e426-c9a1-b27b-92ae-4395c78c611b?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "fdcf5c90-5c0a-8bbd-1948-382618441bed", + "x-ms-date": "Fri, 11 Sep 2020 17:21:19 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-abe29042-1960-4c36-dd29-b8bdd48b26f4%2F!%27()%3B%5B%5D%40%26%25%3D%2B%24%2C%23%C3%A4%C3%84%C3%B6%C3%96%C3%BC%C3%9C%C3%9F%3B=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:19 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "fdcf5c90-5c0a-8bbd-1948-382618441bed", + "x-ms-request-id": "e11ca945-e01f-007c-785f-88635f000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-abe29042-1960-4c36-dd29-b8bdd48b26f4/test-directory-6b65e426-c9a1-b27b-92ae-4395c78c611b", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "bdf1b5c9-edfd-4d4b-14c3-e3998360b8db", + "x-ms-date": "Fri, 11 Sep 2020 17:21:19 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:21:19 GMT", + "ETag": "\u00220x8D856771946F31A\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:19 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "bdf1b5c9-edfd-4d4b-14c3-e3998360b8db", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:21:19 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-meta-hdi_isfolder": "true", + "x-ms-request-id": "3a60dbce-b01e-0085-7a5f-88607d000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-abe29042-1960-4c36-dd29-b8bdd48b26f4?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-81746466c14f054fa362d5ee159c96ad-189b98c9641c534f-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "625d5e6f-5d53-51ef-ac4d-bdf73d6c85e3", + "x-ms-date": "Fri, 11 Sep 2020 17:21:19 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:19 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "625d5e6f-5d53-51ef-ac4d-bdf73d6c85e3", + "x-ms-request-id": "3a60dbd8-b01e-0085-045f-88607d000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "1778929934", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git "a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%)Async.json" "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%)Async.json" new file mode 100644 index 0000000000000..9cf3166223450 --- /dev/null +++ "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%)Async.json" @@ -0,0 +1,174 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-c35ce0ea-aec9-df4e-00a2-b2ce1849cf86?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-ee06989a441f204f90a21131bcf4edb5-348c9d614bee3b48-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "fc55b41f-62e9-f5d9-fc1c-885dc5e4d58e", + "x-ms-date": "Fri, 11 Sep 2020 17:21:31 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:31 GMT", + "ETag": "\u00220x8D8567720AD15A4\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:32 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "fc55b41f-62e9-f5d9-fc1c-885dc5e4d58e", + "x-ms-request-id": "26acec30-601e-005d-2c5f-884724000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-c35ce0ea-aec9-df4e-00a2-b2ce1849cf86/%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%3B?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-dd334886adbcf347bb35e57d65a207ec-73bd79bef82fd348-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "1d738114-6861-efa1-ba56-20a5fafa560e", + "x-ms-date": "Fri, 11 Sep 2020 17:21:32 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:32 GMT", + "ETag": "\u00220x8D8567720EFC071\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:32 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "1d738114-6861-efa1-ba56-20a5fafa560e", + "x-ms-request-id": "1e2b228e-201f-0011-135f-88d714000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-c35ce0ea-aec9-df4e-00a2-b2ce1849cf86/test-directory-afbad1ec-3023-fffa-dc44-68df9eeef0e3?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "1ccaf0f2-d37b-2181-4cbf-a89db1f795ef", + "x-ms-date": "Fri, 11 Sep 2020 17:21:32 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-c35ce0ea-aec9-df4e-00a2-b2ce1849cf86%2F!%27()%3B%5B%5D%40%26%25%3D%2B%24%2C%23%C3%A4%C3%84%C3%B6%C3%96%C3%BC%C3%9C%C3%9F%3B=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:32 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "1ccaf0f2-d37b-2181-4cbf-a89db1f795ef", + "x-ms-request-id": "1e2b228f-201f-0011-145f-88d714000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-c35ce0ea-aec9-df4e-00a2-b2ce1849cf86/test-directory-afbad1ec-3023-fffa-dc44-68df9eeef0e3", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "09b2ebba-3a2f-5893-22b1-8c76c8fd683c", + "x-ms-date": "Fri, 11 Sep 2020 17:21:32 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:21:32 GMT", + "ETag": "\u00220x8D8567720EFC071\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:32 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "09b2ebba-3a2f-5893-22b1-8c76c8fd683c", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:21:32 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-meta-hdi_isfolder": "true", + "x-ms-request-id": "26aced37-601e-005d-0b5f-884724000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-c35ce0ea-aec9-df4e-00a2-b2ce1849cf86?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-2ac03fd4c0a8ae49982bdc4909eb3509-b9877167ea914f48-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "c6e3b56c-8b45-0abf-f3ae-9c22edcadaea", + "x-ms-date": "Fri, 11 Sep 2020 17:21:32 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:32 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "c6e3b56c-8b45-0abf-f3ae-9c22edcadaea", + "x-ms-request-id": "26aced79-601e-005d-455f-884724000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "2007021956", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git "a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%).json" "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%).json" new file mode 100644 index 0000000000000..ba1c999cfd9e6 --- /dev/null +++ "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%).json" @@ -0,0 +1,174 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-75614ce2-dd18-11fd-163f-81ea643a8e3d?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-fed23899fb96ae40919ae5b4fe94602d-68abe5de6d8f004b-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "a1bc8c47-4abe-37f1-9733-c628b16362a8", + "x-ms-date": "Fri, 11 Sep 2020 17:21:19 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:20 GMT", + "ETag": "\u00220x8D8567719A92478\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:20 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "a1bc8c47-4abe-37f1-9733-c628b16362a8", + "x-ms-request-id": "d42e1d4d-701e-0041-455f-881544000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-75614ce2-dd18-11fd-163f-81ea643a8e3d/%2521%2527%2528%2529%253B%255B%255D%2540%2526%2525%253D%252B%2524%252C%2523\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%253B?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7738c08f31f5014bb2bb7528973c9d19-4b8a1190f096864d-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "96ce09c6-554d-4ae8-2928-448f2b010c84", + "x-ms-date": "Fri, 11 Sep 2020 17:21:20 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:19 GMT", + "ETag": "\u00220x8D8567719DE04F9\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:20 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "96ce09c6-554d-4ae8-2928-448f2b010c84", + "x-ms-request-id": "48777a39-501f-001b-105f-8873a3000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-75614ce2-dd18-11fd-163f-81ea643a8e3d/test-directory-d70a801c-fdd7-9362-5c2e-1fef2b13fabe?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "21292cac-6444-bc70-d958-ae54a7efd3ca", + "x-ms-date": "Fri, 11 Sep 2020 17:21:20 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-75614ce2-dd18-11fd-163f-81ea643a8e3d%2F%2521%2527%2528%2529%253B%255B%255D%2540%2526%2525%253D%252B%2524%252C%2523%C3%A4%C3%84%C3%B6%C3%96%C3%BC%C3%9C%C3%9F%253B=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:19 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "21292cac-6444-bc70-d958-ae54a7efd3ca", + "x-ms-request-id": "48777a3a-501f-001b-115f-8873a3000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-75614ce2-dd18-11fd-163f-81ea643a8e3d/test-directory-d70a801c-fdd7-9362-5c2e-1fef2b13fabe", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "ffe3b01d-ead7-d53f-9859-1668dcd68710", + "x-ms-date": "Fri, 11 Sep 2020 17:21:20 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:21:20 GMT", + "ETag": "\u00220x8D8567719DE04F9\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:20 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "ffe3b01d-ead7-d53f-9859-1668dcd68710", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:21:20 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-meta-hdi_isfolder": "true", + "x-ms-request-id": "d42e1d96-701e-0041-735f-881544000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-75614ce2-dd18-11fd-163f-81ea643a8e3d?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-805561c05c02de45a4a2684269334446-d36f7297df76d64b-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "f736f56e-d40c-1cf2-d9e4-e7587bca5f07", + "x-ms-date": "Fri, 11 Sep 2020 17:21:20 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:20 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "f736f56e-d40c-1cf2-d9e4-e7587bca5f07", + "x-ms-request-id": "d42e1dad-701e-0041-035f-881544000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "1238657964", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git "a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%)Async.json" "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%)Async.json" new file mode 100644 index 0000000000000..9d899aaaa30e8 --- /dev/null +++ "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%)Async.json" @@ -0,0 +1,174 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-3266cd33-40ff-be26-046e-7a3d11cbb990?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-ac8b5cd6b88a154b9aac0f8929a41443-29dbcdd6ac75cf4d-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "f07614ee-71ef-3cdf-f6a4-1fc42098a5b6", + "x-ms-date": "Fri, 11 Sep 2020 17:21:32 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:33 GMT", + "ETag": "\u00220x8D856772160BA50\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:33 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "f07614ee-71ef-3cdf-f6a4-1fc42098a5b6", + "x-ms-request-id": "3780c82d-c01e-0019-7b5f-88cd1b000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-3266cd33-40ff-be26-046e-7a3d11cbb990/%2521%2527%2528%2529%253B%255B%255D%2540%2526%2525%253D%252B%2524%252C%2523\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%253B?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-09b99a596d279d499cfbfcaef2c38c0d-b11821d1c13d6445-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "ec7c181b-1437-7fbf-6ca7-ec8837a0ca44", + "x-ms-date": "Fri, 11 Sep 2020 17:21:33 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:33 GMT", + "ETag": "\u00220x8D8567721B73E7D\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:33 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "ec7c181b-1437-7fbf-6ca7-ec8837a0ca44", + "x-ms-request-id": "f77b63f9-601f-0000-605f-884da0000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-3266cd33-40ff-be26-046e-7a3d11cbb990/test-directory-45c90af8-6e09-cfa7-0466-393e71b1c703?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "5923d986-db35-ffcb-f0ce-90addc181983", + "x-ms-date": "Fri, 11 Sep 2020 17:21:33 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-3266cd33-40ff-be26-046e-7a3d11cbb990%2F%2521%2527%2528%2529%253B%255B%255D%2540%2526%2525%253D%252B%2524%252C%2523%C3%A4%C3%84%C3%B6%C3%96%C3%BC%C3%9C%C3%9F%253B=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:33 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "5923d986-db35-ffcb-f0ce-90addc181983", + "x-ms-request-id": "f77b63fb-601f-0000-615f-884da0000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-3266cd33-40ff-be26-046e-7a3d11cbb990/test-directory-45c90af8-6e09-cfa7-0466-393e71b1c703", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "5e01eb1b-717d-010f-50af-7f7a18b45451", + "x-ms-date": "Fri, 11 Sep 2020 17:21:33 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:21:33 GMT", + "ETag": "\u00220x8D8567721B73E7D\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:33 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "5e01eb1b-717d-010f-50af-7f7a18b45451", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:21:33 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-meta-hdi_isfolder": "true", + "x-ms-request-id": "3780c8b3-c01e-0019-575f-88cd1b000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-3266cd33-40ff-be26-046e-7a3d11cbb990?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a7abefda9e7f4542b6d8af71ba2be58b-2cf3b103466ef040-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "f09232ec-bb16-e605-7db9-d7a5f09b5902", + "x-ms-date": "Fri, 11 Sep 2020 17:21:34 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:33 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "f09232ec-bb16-e605-7db9-d7a5f09b5902", + "x-ms-request-id": "3780c8bc-c01e-0019-5d5f-88cd1b000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "536943148", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(%directory%).json b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(%directory%).json new file mode 100644 index 0000000000000..513bad490d511 --- /dev/null +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(%directory%).json @@ -0,0 +1,174 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-4fb9d40f-893e-4910-2dea-0875ad08fbe4?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b799644d5b526c4fbde2aa8813b5b224-dabbdf895e343642-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "a01b14a1-c9af-a0e2-fac4-0bc6445d8736", + "x-ms-date": "Fri, 11 Sep 2020 17:21:22 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:22 GMT", + "ETag": "\u00220x8D856771AF016BA\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "a01b14a1-c9af-a0e2-fac4-0bc6445d8736", + "x-ms-request-id": "1ed96f7e-e01e-001e-275f-88a178000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-4fb9d40f-893e-4910-2dea-0875ad08fbe4/directory?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-5ffece3df42291458a124cc319b4a63f-9fcef89d82d3e541-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "fe318e8c-d3a6-7e46-1ddb-db1689b8dbd5", + "x-ms-date": "Fri, 11 Sep 2020 17:21:22 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:22 GMT", + "ETag": "\u00220x8D856771B7BF306\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:23 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "fe318e8c-d3a6-7e46-1ddb-db1689b8dbd5", + "x-ms-request-id": "dd65bf05-601f-0072-205f-884aef000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-4fb9d40f-893e-4910-2dea-0875ad08fbe4/test-directory-3ceb13b9-224c-3ff7-c599-3f2ac525379a?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "369d8dbd-38f3-07f3-2e55-7b127e1ee74f", + "x-ms-date": "Fri, 11 Sep 2020 17:21:23 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-4fb9d40f-893e-4910-2dea-0875ad08fbe4%2Fdirectory=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:22 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "369d8dbd-38f3-07f3-2e55-7b127e1ee74f", + "x-ms-request-id": "dd65bf06-601f-0072-215f-884aef000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-4fb9d40f-893e-4910-2dea-0875ad08fbe4/test-directory-3ceb13b9-224c-3ff7-c599-3f2ac525379a", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "fc585f60-a51b-55e2-7ce4-a1347336e0c1", + "x-ms-date": "Fri, 11 Sep 2020 17:21:23 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:21:23 GMT", + "ETag": "\u00220x8D856771B7BF306\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:23 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "fc585f60-a51b-55e2-7ce4-a1347336e0c1", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:21:23 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-meta-hdi_isfolder": "true", + "x-ms-request-id": "1ed96fe6-e01e-001e-6c5f-88a178000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-4fb9d40f-893e-4910-2dea-0875ad08fbe4?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-4c5202af4cd9174da3807f050e07dcb0-d02421567c106d46-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "1fb123d9-eac5-7e34-674f-d67769f52a0f", + "x-ms-date": "Fri, 11 Sep 2020 17:21:23 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:23 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "1fb123d9-eac5-7e34-674f-d67769f52a0f", + "x-ms-request-id": "1ed97037-e01e-001e-315f-88a178000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "1868483548", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(%directory%)Async.json b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(%directory%)Async.json new file mode 100644 index 0000000000000..0bfffc97600d8 --- /dev/null +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/DirectoryClientTests/RenameAsync_SourceSpecialCharacters(%directory%)Async.json @@ -0,0 +1,174 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-cfec9adc-3d29-a221-f771-1f21bdeb0729?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-ff2fb2fb51dffe46800102d3dca533e9-0ad97ab9b1bdda47-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "2024ec39-830a-d493-beab-875a246f66e7", + "x-ms-date": "Fri, 11 Sep 2020 17:21:35 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:35 GMT", + "ETag": "\u00220x8D8567722D9FD1F\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:35 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "2024ec39-830a-d493-beab-875a246f66e7", + "x-ms-request-id": "5c208082-d01e-0048-0360-885097000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-cfec9adc-3d29-a221-f771-1f21bdeb0729/directory?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-3ee533a1f322ed40be5fb3d684e8c88c-bc1a6749bfc1964c-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "dade03a5-f852-9dfa-56af-b50ce6778187", + "x-ms-date": "Fri, 11 Sep 2020 17:21:35 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:35 GMT", + "ETag": "\u00220x8D85677231DA289\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:36 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "dade03a5-f852-9dfa-56af-b50ce6778187", + "x-ms-request-id": "be4dd165-201f-005c-0760-8818f8000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-cfec9adc-3d29-a221-f771-1f21bdeb0729/test-directory-28e48a0b-9b2e-7496-6afe-9c1c52373ec0?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "4f76d934-6359-576e-fc4a-79173012c8f0", + "x-ms-date": "Fri, 11 Sep 2020 17:21:36 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-cfec9adc-3d29-a221-f771-1f21bdeb0729%2Fdirectory=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:35 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "4f76d934-6359-576e-fc4a-79173012c8f0", + "x-ms-request-id": "be4dd166-201f-005c-0860-8818f8000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-cfec9adc-3d29-a221-f771-1f21bdeb0729/test-directory-28e48a0b-9b2e-7496-6afe-9c1c52373ec0", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "0dd7201b-3100-092d-58b3-2f3d1d08f459", + "x-ms-date": "Fri, 11 Sep 2020 17:21:36 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:21:35 GMT", + "ETag": "\u00220x8D85677231DA289\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:36 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "0dd7201b-3100-092d-58b3-2f3d1d08f459", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:21:36 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-meta-hdi_isfolder": "true", + "x-ms-request-id": "5c2080d3-d01e-0048-3d60-885097000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-cfec9adc-3d29-a221-f771-1f21bdeb0729?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-21c0d657b35e104dbcec62baf7129581-b95bca49c4cb7c45-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "10fb6f12-bb3a-18f0-80d1-c2166dfef1da", + "x-ms-date": "Fri, 11 Sep 2020 17:21:36 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:35 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "10fb6f12-bb3a-18f0-80d1-c2166dfef1da", + "x-ms-request-id": "5c2080dc-d01e-0048-4260-885097000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "1768950976", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(% my cool file %).json b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(% my cool file %).json new file mode 100644 index 0000000000000..4e4ea08c54f3f --- /dev/null +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(% my cool file %).json @@ -0,0 +1,205 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-ab64be3c-1339-8b9e-59b8-a97dce8f2caf?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-292b9553c1dc694897b7bc25e20fb4ba-9dc33f484fa8f04a-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "1c328437-6dda-d9a1-edd1-0ff27a18f745", + "x-ms-date": "Fri, 11 Sep 2020 17:22:00 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:00 GMT", + "ETag": "\u00220x8D8567731B95BEF\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:00 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "1c328437-6dda-d9a1-edd1-0ff27a18f745", + "x-ms-request-id": "20e4870c-901e-0082-4d60-880c1e000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-ab64be3c-1339-8b9e-59b8-a97dce8f2caf/test-directory-408862e9-5aed-9fa9-4395-ce0b73eeefca?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-fd44f0501ab0c141831c9696cc74eda4-cd2c5355602a0a42-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "39c65a35-8c07-dd2c-db92-d9449f9566fe", + "x-ms-date": "Fri, 11 Sep 2020 17:22:00 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:00 GMT", + "ETag": "\u00220x8D85677322FCC5D\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:01 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "39c65a35-8c07-dd2c-db92-d9449f9566fe", + "x-ms-request-id": "e6e97c3a-801f-0027-1c60-885a64000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-ab64be3c-1339-8b9e-59b8-a97dce8f2caf/test-file-eb0645e1-aed2-d9e8-8c54-844b781411ba?resource=file", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-2d8c31f4d7ca7c4f81d8d4ef13cdab34-b3679d849aa2d34c-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "49b3e23c-6982-86f2-72ec-adb208e064c7", + "x-ms-date": "Fri, 11 Sep 2020 17:22:01 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:00 GMT", + "ETag": "\u00220x8D85677323BAB6B\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:01 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "49b3e23c-6982-86f2-72ec-adb208e064c7", + "x-ms-request-id": "e6e97c3b-801f-0027-1d60-885a64000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-ab64be3c-1339-8b9e-59b8-a97dce8f2caf/test-directory-408862e9-5aed-9fa9-4395-ce0b73eeefca/ my cool file ?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "950f5dbf-c860-d737-164f-a53c08105582", + "x-ms-date": "Fri, 11 Sep 2020 17:22:01 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-ab64be3c-1339-8b9e-59b8-a97dce8f2caf%2Ftest-file-eb0645e1-aed2-d9e8-8c54-844b781411ba=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:01 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "950f5dbf-c860-d737-164f-a53c08105582", + "x-ms-request-id": "e6e97c3c-801f-0027-1e60-885a64000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-ab64be3c-1339-8b9e-59b8-a97dce8f2caf/test-directory-408862e9-5aed-9fa9-4395-ce0b73eeefca/ my cool file ", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "abf2b048-ced1-b966-e72b-7e6fa7992371", + "x-ms-date": "Fri, 11 Sep 2020 17:22:01 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:22:02 GMT", + "ETag": "\u00220x8D85677323BAB6B\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:01 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "abf2b048-ced1-b966-e72b-7e6fa7992371", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:22:01 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "20e4882f-901e-0082-5760-880c1e000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-ab64be3c-1339-8b9e-59b8-a97dce8f2caf?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-ad88629433b2f74fbf9ac267cce2d0be-d577536171664446-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "57f35109-aa1d-36b1-408e-2e607ff74673", + "x-ms-date": "Fri, 11 Sep 2020 17:22:02 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:02 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "57f35109-aa1d-36b1-408e-2e607ff74673", + "x-ms-request-id": "20e488b1-901e-0082-4e60-880c1e000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "275395371", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(% my cool file %)Async.json b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(% my cool file %)Async.json new file mode 100644 index 0000000000000..8619ba5ff20f5 --- /dev/null +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(% my cool file %)Async.json @@ -0,0 +1,205 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-05f99d14-9a03-57c5-5d5a-c705914f80e7?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b1f9ce0422395343ab95a3454749ade3-96b37bb533366040-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "4aeee492-3215-7fb7-7324-20e3da4dacba", + "x-ms-date": "Fri, 11 Sep 2020 17:22:13 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:13 GMT", + "ETag": "\u00220x8D8567739B3735F\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:14 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "4aeee492-3215-7fb7-7324-20e3da4dacba", + "x-ms-request-id": "7f50fac1-201e-0001-7460-88127c000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-05f99d14-9a03-57c5-5d5a-c705914f80e7/test-directory-cfc60e9a-e07f-a1d2-cc76-3c50807699fa?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-bf08e3fa1c0b1c41a920fb96c99b280e-14a08eb3e9dcad45-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "afb45f07-9b9b-b122-114c-7e9ff567fefc", + "x-ms-date": "Fri, 11 Sep 2020 17:22:14 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:14 GMT", + "ETag": "\u00220x8D8567739F5573D\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:14 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "afb45f07-9b9b-b122-114c-7e9ff567fefc", + "x-ms-request-id": "88eda3fa-801f-008e-2460-889b16000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-05f99d14-9a03-57c5-5d5a-c705914f80e7/test-file-b4f4268a-ffda-6559-3c30-7990f0c34ede?resource=file", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-2c37f1971e42fc459fdfb5e0a30a0249-4461cf034bbd4e49-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "2c84f2f0-f3f9-08a0-054f-726b2192c04e", + "x-ms-date": "Fri, 11 Sep 2020 17:22:14 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:14 GMT", + "ETag": "\u00220x8D856773A00BD0C\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:14 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "2c84f2f0-f3f9-08a0-054f-726b2192c04e", + "x-ms-request-id": "88eda3fb-801f-008e-2560-889b16000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-05f99d14-9a03-57c5-5d5a-c705914f80e7/test-directory-cfc60e9a-e07f-a1d2-cc76-3c50807699fa/ my cool file ?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "fe9f8a90-213f-d9e5-2240-1c7377f33170", + "x-ms-date": "Fri, 11 Sep 2020 17:22:14 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-05f99d14-9a03-57c5-5d5a-c705914f80e7%2Ftest-file-b4f4268a-ffda-6559-3c30-7990f0c34ede=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:14 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "fe9f8a90-213f-d9e5-2240-1c7377f33170", + "x-ms-request-id": "88eda3fc-801f-008e-2660-889b16000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-05f99d14-9a03-57c5-5d5a-c705914f80e7/test-directory-cfc60e9a-e07f-a1d2-cc76-3c50807699fa/ my cool file ", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "97da67a0-c2f2-dc0f-bbf8-11dec0c627d3", + "x-ms-date": "Fri, 11 Sep 2020 17:22:14 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:22:14 GMT", + "ETag": "\u00220x8D856773A00BD0C\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:14 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "97da67a0-c2f2-dc0f-bbf8-11dec0c627d3", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:22:14 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "7f50fb84-201e-0001-2660-88127c000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-05f99d14-9a03-57c5-5d5a-c705914f80e7?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1959f9bea852b046a069d1411e038590-b0777c149798944b-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "10d25d9b-9a19-3e7e-3d39-5b665af153f1", + "x-ms-date": "Fri, 11 Sep 2020 17:22:14 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:14 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "10d25d9b-9a19-3e7e-3d39-5b665af153f1", + "x-ms-request-id": "7f50fb8f-201e-0001-2e60-88127c000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "1982121327", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git "a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%).json" "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%).json" new file mode 100644 index 0000000000000..cf4d890142288 --- /dev/null +++ "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%).json" @@ -0,0 +1,205 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-958c1c3b-3cd6-1278-9da9-76d33f6d75e5?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a13c3dd7f6e58c4a962d88a441648d41-706f55fb72c2c242-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "b6d30a8c-0ba9-ea68-d31e-494e2cf16015", + "x-ms-date": "Fri, 11 Sep 2020 17:21:56 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:56 GMT", + "ETag": "\u00220x8D856772F81DAE3\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:57 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "b6d30a8c-0ba9-ea68-d31e-494e2cf16015", + "x-ms-request-id": "80760c8c-d01e-0005-3760-889f7b000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-958c1c3b-3cd6-1278-9da9-76d33f6d75e5/test-directory-27d4e82c-ce54-b03d-ffdc-4944ee9221b5?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b1ba2c3e30cd5244975eaeab2fe11459-82e5c7a7bc440b4d-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "09b93830-9114-bddb-cd22-b7ccc224fb40", + "x-ms-date": "Fri, 11 Sep 2020 17:21:57 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:57 GMT", + "ETag": "\u00220x8D856772FC2C9B5\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:57 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "09b93830-9114-bddb-cd22-b7ccc224fb40", + "x-ms-request-id": "89fd8f77-501f-000b-5760-88b6cb000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-958c1c3b-3cd6-1278-9da9-76d33f6d75e5/test-file-e55e94fd-2baa-6d7b-ab26-172ad2696f2f?resource=file", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-eb607cebd93f0d44958b7b739ea9872f-19afc6e1a0f8bd4c-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "acd6ba2d-9d71-05b1-bd4b-5dee7ab0eb63", + "x-ms-date": "Fri, 11 Sep 2020 17:21:57 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:57 GMT", + "ETag": "\u00220x8D856772FD581FC\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:57 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "acd6ba2d-9d71-05b1-bd4b-5dee7ab0eb63", + "x-ms-request-id": "89fd8f78-501f-000b-5860-88b6cb000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-958c1c3b-3cd6-1278-9da9-76d33f6d75e5/test-directory-27d4e82c-ce54-b03d-ffdc-4944ee9221b5/%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%3B?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "18fd2b3a-c392-bbbe-3d0e-f88cbbb2e4bb", + "x-ms-date": "Fri, 11 Sep 2020 17:21:57 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-958c1c3b-3cd6-1278-9da9-76d33f6d75e5%2Ftest-file-e55e94fd-2baa-6d7b-ab26-172ad2696f2f=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:57 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "18fd2b3a-c392-bbbe-3d0e-f88cbbb2e4bb", + "x-ms-request-id": "89fd8f79-501f-000b-5960-88b6cb000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-958c1c3b-3cd6-1278-9da9-76d33f6d75e5/test-directory-27d4e82c-ce54-b03d-ffdc-4944ee9221b5/%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%3B", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "4eb321e5-d2b2-efd0-c9b7-96014ddb2940", + "x-ms-date": "Fri, 11 Sep 2020 17:21:57 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:21:57 GMT", + "ETag": "\u00220x8D856772FD581FC\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:57 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "4eb321e5-d2b2-efd0-c9b7-96014ddb2940", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:21:57 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "80760cfd-d01e-0005-1060-889f7b000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-958c1c3b-3cd6-1278-9da9-76d33f6d75e5?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-82ee24c84997dc45b8b0ecda6023c12d-ccf7a39a2b36a64e-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "99a740cc-95ff-cb08-33d4-b54580da9a76", + "x-ms-date": "Fri, 11 Sep 2020 17:21:57 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:57 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "99a740cc-95ff-cb08-33d4-b54580da9a76", + "x-ms-request-id": "80760d04-d01e-0005-1660-889f7b000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "810886964", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git "a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%)Async.json" "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%)Async.json" new file mode 100644 index 0000000000000..ec37dc298823e --- /dev/null +++ "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%)Async.json" @@ -0,0 +1,205 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-7d3ae3e5-2730-13a7-884f-18c9ced1ccfb?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-74c27dc0395f214eb321b836ee0dcf5e-f36c497f6e288345-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "aff68cbe-08ca-e4a0-5a32-df1e05ad7ebb", + "x-ms-date": "Fri, 11 Sep 2020 17:22:11 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:11 GMT", + "ETag": "\u00220x8D85677382A66E2\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:11 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "aff68cbe-08ca-e4a0-5a32-df1e05ad7ebb", + "x-ms-request-id": "42ce858f-d01e-0093-4560-8896aa000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-7d3ae3e5-2730-13a7-884f-18c9ced1ccfb/test-directory-52dd46cd-3691-a073-f3e6-fc9abdeafd67?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-df93a3fdc2b928478cb586252f7cd394-0d3cc74d92ccb742-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "cfeeae17-6943-8886-1955-bbe30b06276f", + "x-ms-date": "Fri, 11 Sep 2020 17:22:11 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:12 GMT", + "ETag": "\u00220x8D8567738A0F6DD\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:12 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "cfeeae17-6943-8886-1955-bbe30b06276f", + "x-ms-request-id": "5a682156-a01f-007d-5a60-883c83000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-7d3ae3e5-2730-13a7-884f-18c9ced1ccfb/test-file-048a7834-3ca2-afe0-15c5-103fe0de3a22?resource=file", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-d7475793d843f24c90239707fd98a5a2-9897eb8959ebb543-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "ed5fe62a-4946-db30-ce3e-b97d5946a83a", + "x-ms-date": "Fri, 11 Sep 2020 17:22:12 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:12 GMT", + "ETag": "\u00220x8D8567738C79A7D\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:12 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "ed5fe62a-4946-db30-ce3e-b97d5946a83a", + "x-ms-request-id": "5a682157-a01f-007d-5b60-883c83000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-7d3ae3e5-2730-13a7-884f-18c9ced1ccfb/test-directory-52dd46cd-3691-a073-f3e6-fc9abdeafd67/%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%3B?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "f915d3b9-4d7f-4fdc-f8a6-3fbc74a6d033", + "x-ms-date": "Fri, 11 Sep 2020 17:22:12 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-7d3ae3e5-2730-13a7-884f-18c9ced1ccfb%2Ftest-file-048a7834-3ca2-afe0-15c5-103fe0de3a22=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:12 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "f915d3b9-4d7f-4fdc-f8a6-3fbc74a6d033", + "x-ms-request-id": "5a682158-a01f-007d-5c60-883c83000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-7d3ae3e5-2730-13a7-884f-18c9ced1ccfb/test-directory-52dd46cd-3691-a073-f3e6-fc9abdeafd67/%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%3B", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "85c4f1f1-ae31-cdbb-bcfb-e9ddd8b791ae", + "x-ms-date": "Fri, 11 Sep 2020 17:22:12 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:22:12 GMT", + "ETag": "\u00220x8D8567738C79A7D\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:12 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "85c4f1f1-ae31-cdbb-bcfb-e9ddd8b791ae", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:22:12 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "42ce860a-d01e-0093-2160-8896aa000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-7d3ae3e5-2730-13a7-884f-18c9ced1ccfb?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-126fe38c23cb6348b282fc0d28b7d70f-4246261f4986e042-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "83cbccdd-4be1-2c02-349c-0d0740db38ba", + "x-ms-date": "Fri, 11 Sep 2020 17:22:12 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:12 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "83cbccdd-4be1-2c02-349c-0d0740db38ba", + "x-ms-request-id": "42ce860d-d01e-0093-2360-8896aa000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "1987344876", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git "a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%).json" "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%).json" new file mode 100644 index 0000000000000..8ab5f16aacac3 --- /dev/null +++ "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%).json" @@ -0,0 +1,205 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-a567abf1-02f3-f0b7-b642-daf1fbad0c36?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-4572017ea6fc9c4990d269fdc63ca9a4-6d490cbb9503224a-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "03f9629f-622a-a557-dbc5-f504829e5dbf", + "x-ms-date": "Fri, 11 Sep 2020 17:21:57 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:58 GMT", + "ETag": "\u00220x8D85677306E2885\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:58 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "03f9629f-622a-a557-dbc5-f504829e5dbf", + "x-ms-request-id": "ae33507f-d01e-003a-0460-8857d8000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-a567abf1-02f3-f0b7-b642-daf1fbad0c36/test-directory-248bdec7-3c87-2c9a-5729-167656ce3e68?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-5ea30d5e79572d40b3f7d3df1728e351-c0c7327caf08fd48-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "d321ec1f-9fc1-63c9-c7cc-ab004ce04e0d", + "x-ms-date": "Fri, 11 Sep 2020 17:21:59 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:58 GMT", + "ETag": "\u00220x8D85677310A8E73\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:59 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "d321ec1f-9fc1-63c9-c7cc-ab004ce04e0d", + "x-ms-request-id": "c79ad63d-e01f-0088-7d60-88a8a9000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-a567abf1-02f3-f0b7-b642-daf1fbad0c36/test-file-f9858c87-c34c-be0a-d2ea-520e52165c08?resource=file", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-04c4a0e20f0d594a818a9bc1c1e420d1-121a7472d8e3ef4e-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "42fddc2a-c1ca-5ca4-e263-01d74cbb10b0", + "x-ms-date": "Fri, 11 Sep 2020 17:21:59 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:58 GMT", + "ETag": "\u00220x8D856773115C8DB\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:59 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "42fddc2a-c1ca-5ca4-e263-01d74cbb10b0", + "x-ms-request-id": "c79ad63e-e01f-0088-7e60-88a8a9000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-a567abf1-02f3-f0b7-b642-daf1fbad0c36/test-directory-248bdec7-3c87-2c9a-5729-167656ce3e68/%2521%2527%2528%2529%253B%255B%255D%2540%2526%2525%253D%252B%2524%252C%2523\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%253B?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "75e36195-1918-ad3e-80fa-874868cf9305", + "x-ms-date": "Fri, 11 Sep 2020 17:21:59 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-a567abf1-02f3-f0b7-b642-daf1fbad0c36%2Ftest-file-f9858c87-c34c-be0a-d2ea-520e52165c08=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:59 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "75e36195-1918-ad3e-80fa-874868cf9305", + "x-ms-request-id": "c79ad640-e01f-0088-7f60-88a8a9000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-a567abf1-02f3-f0b7-b642-daf1fbad0c36/test-directory-248bdec7-3c87-2c9a-5729-167656ce3e68/%2521%2527%2528%2529%253B%255B%255D%2540%2526%2525%253D%252B%2524%252C%2523\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%253B", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "ea423b03-9bd7-5698-64e2-a68e5c18b416", + "x-ms-date": "Fri, 11 Sep 2020 17:21:59 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:21:59 GMT", + "ETag": "\u00220x8D856773115C8DB\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:21:59 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "ea423b03-9bd7-5698-64e2-a68e5c18b416", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:21:59 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "ae335151-d01e-003a-3360-8857d8000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-a567abf1-02f3-f0b7-b642-daf1fbad0c36?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-4ad4a00376207f43bba45a563f574577-1af4776dbad14143-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "2c45c78f-a88c-432d-8921-559886d9e963", + "x-ms-date": "Fri, 11 Sep 2020 17:22:00 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:21:59 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "2c45c78f-a88c-432d-8921-559886d9e963", + "x-ms-request-id": "ae33516f-d01e-003a-4b60-8857d8000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "2072024616", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git "a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%)Async.json" "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%)Async.json" new file mode 100644 index 0000000000000..f765488d3f7b9 --- /dev/null +++ "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%)Async.json" @@ -0,0 +1,205 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-40d854c3-eda1-f350-f6b0-edd985880da5?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-66343df86063324385975ef3c329077f-f80192253ca8b442-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "7ca16296-6c43-e245-83e4-658ff1561d73", + "x-ms-date": "Fri, 11 Sep 2020 17:22:12 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:13 GMT", + "ETag": "\u00220x8D856773926EF47\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:13 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "7ca16296-6c43-e245-83e4-658ff1561d73", + "x-ms-request-id": "d01d23ff-001e-0016-0b60-88bb77000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-40d854c3-eda1-f350-f6b0-edd985880da5/test-directory-a5593a6a-7fb7-127e-cfcc-02691a4692b9?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-ca5f47efbabc18468245406fad11fd9f-410304d94b573a4f-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "269e601b-a5e3-17ce-e38e-ad776adbc83c", + "x-ms-date": "Fri, 11 Sep 2020 17:22:13 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:13 GMT", + "ETag": "\u00220x8D856773955B7FF\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:13 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "269e601b-a5e3-17ce-e38e-ad776adbc83c", + "x-ms-request-id": "26588605-b01f-0085-6e60-88607d000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-40d854c3-eda1-f350-f6b0-edd985880da5/test-file-8a29ab52-f913-d98c-d86b-b1fe0c21c6da?resource=file", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f7ff81df6ee3cd4794b7c5a1472073c8-f85de33179f69a4f-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "a00a36f0-8fcc-21d5-d4c4-4d77f3cf0bc1", + "x-ms-date": "Fri, 11 Sep 2020 17:22:13 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:13 GMT", + "ETag": "\u00220x8D85677396125E3\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:13 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "a00a36f0-8fcc-21d5-d4c4-4d77f3cf0bc1", + "x-ms-request-id": "26588606-b01f-0085-6f60-88607d000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-40d854c3-eda1-f350-f6b0-edd985880da5/test-directory-a5593a6a-7fb7-127e-cfcc-02691a4692b9/%2521%2527%2528%2529%253B%255B%255D%2540%2526%2525%253D%252B%2524%252C%2523\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%253B?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "d50d99e7-2516-230d-452c-e5e31e5ecdc9", + "x-ms-date": "Fri, 11 Sep 2020 17:22:13 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-40d854c3-eda1-f350-f6b0-edd985880da5%2Ftest-file-8a29ab52-f913-d98c-d86b-b1fe0c21c6da=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:13 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "d50d99e7-2516-230d-452c-e5e31e5ecdc9", + "x-ms-request-id": "26588607-b01f-0085-7060-88607d000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-40d854c3-eda1-f350-f6b0-edd985880da5/test-directory-a5593a6a-7fb7-127e-cfcc-02691a4692b9/%2521%2527%2528%2529%253B%255B%255D%2540%2526%2525%253D%252B%2524%252C%2523\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%253B", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "598f60ce-35c2-a2ab-c5a1-0a6128b1c777", + "x-ms-date": "Fri, 11 Sep 2020 17:22:13 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:22:13 GMT", + "ETag": "\u00220x8D85677396125E3\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:13 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "598f60ce-35c2-a2ab-c5a1-0a6128b1c777", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:22:13 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "d01d2473-001e-0016-6960-88bb77000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-40d854c3-eda1-f350-f6b0-edd985880da5?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c80ee739dfb8f34a8cf40655bc74eb01-469c64200f2a7240-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "be1445c5-74ce-ea07-d2ed-4b862827b9f0", + "x-ms-date": "Fri, 11 Sep 2020 17:22:13 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:13 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "be1445c5-74ce-ea07-d2ed-4b862827b9f0", + "x-ms-request-id": "d01d2476-001e-0016-6b60-88bb77000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "146010861", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(%file%).json b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(%file%).json new file mode 100644 index 0000000000000..a787bca28f745 --- /dev/null +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(%file%).json @@ -0,0 +1,205 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-f69d6298-a7fb-8544-0d99-c9230e9fc2e3?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-dd10b7b051187b419d315225d6d25f6e-834ec7c1792d7049-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "9ccc28a3-0e4d-ed20-f6ec-87bbafa8f399", + "x-ms-date": "Fri, 11 Sep 2020 17:22:02 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:02 GMT", + "ETag": "\u00220x8D856773300EEDA\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:02 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "9ccc28a3-0e4d-ed20-f6ec-87bbafa8f399", + "x-ms-request-id": "b2986eb9-901e-0076-0660-88c7e8000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-f69d6298-a7fb-8544-0d99-c9230e9fc2e3/test-directory-62baea62-4f1b-5d73-ed28-451bb8b80d25?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-08e824503ea3704a970d58f842e749f0-bb56d06b6458c043-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "8d2955ed-632d-53ec-b56e-ae25c905353d", + "x-ms-date": "Fri, 11 Sep 2020 17:22:02 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:03 GMT", + "ETag": "\u00220x8D8567733458836\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:03 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "8d2955ed-632d-53ec-b56e-ae25c905353d", + "x-ms-request-id": "d59b7e29-001f-005b-7660-88749b000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-f69d6298-a7fb-8544-0d99-c9230e9fc2e3/test-file-ede761de-0d29-3cc5-5483-8154e527aa35?resource=file", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b9a751c8db8b494e8270d0a408357d95-8230c04d4d5dff46-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "516c2c91-d7d0-dfdf-8fec-38aae1976e8d", + "x-ms-date": "Fri, 11 Sep 2020 17:22:03 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:03 GMT", + "ETag": "\u00220x8D856773356AB85\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:03 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "516c2c91-d7d0-dfdf-8fec-38aae1976e8d", + "x-ms-request-id": "d59b7e2a-001f-005b-7760-88749b000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-f69d6298-a7fb-8544-0d99-c9230e9fc2e3/test-directory-62baea62-4f1b-5d73-ed28-451bb8b80d25/file?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "b8c2a515-59ba-8b64-5e4e-d2a2474d8e3d", + "x-ms-date": "Fri, 11 Sep 2020 17:22:03 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-f69d6298-a7fb-8544-0d99-c9230e9fc2e3%2Ftest-file-ede761de-0d29-3cc5-5483-8154e527aa35=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:03 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "b8c2a515-59ba-8b64-5e4e-d2a2474d8e3d", + "x-ms-request-id": "d59b7e2b-001f-005b-7860-88749b000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-f69d6298-a7fb-8544-0d99-c9230e9fc2e3/test-directory-62baea62-4f1b-5d73-ed28-451bb8b80d25/file", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "3c945527-b5d5-6ad2-1536-2d88ff0b171c", + "x-ms-date": "Fri, 11 Sep 2020 17:22:03 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:22:03 GMT", + "ETag": "\u00220x8D856773356AB85\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:03 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "3c945527-b5d5-6ad2-1536-2d88ff0b171c", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:22:03 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "b2986eeb-901e-0076-2d60-88c7e8000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-f69d6298-a7fb-8544-0d99-c9230e9fc2e3?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-10ca97aa2a42224990eff8de3851aed4-63488cbe2ee1c544-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "f27aa34b-52b8-0868-d036-e878b37bbf73", + "x-ms-date": "Fri, 11 Sep 2020 17:22:03 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:03 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "f27aa34b-52b8-0868-d036-e878b37bbf73", + "x-ms-request-id": "b2986ef6-901e-0076-3760-88c7e8000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "20253733", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(%file%)Async.json b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(%file%)Async.json new file mode 100644 index 0000000000000..3b91ccf1bce7a --- /dev/null +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_DestinationSpecialCharacters(%file%)Async.json @@ -0,0 +1,205 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-9cd004fb-1519-b809-ac22-d7dbe637b8ca?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-211e2abf835f5148b3ab4d4788ef7387-a67701dbe0118c46-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "ba4920c4-2eac-1c4e-d774-a16a76f52379", + "x-ms-date": "Fri, 11 Sep 2020 17:22:15 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:15 GMT", + "ETag": "\u00220x8D856773A96B015\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:15 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "ba4920c4-2eac-1c4e-d774-a16a76f52379", + "x-ms-request-id": "a218c322-f01e-0060-0560-88313f000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-9cd004fb-1519-b809-ac22-d7dbe637b8ca/test-directory-6fc733c5-6e38-b941-bd32-44f711ec9b40?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f822be42f5de704181444fa5569a3206-92429cace4450a45-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "ea578bfd-bfa4-5642-df90-fc79e9560bea", + "x-ms-date": "Fri, 11 Sep 2020 17:22:16 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:16 GMT", + "ETag": "\u00220x8D856773B442ADC\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:16 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "ea578bfd-bfa4-5642-df90-fc79e9560bea", + "x-ms-request-id": "dee1ac7b-001f-0039-3160-88b6bc000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-9cd004fb-1519-b809-ac22-d7dbe637b8ca/test-file-1b7761d9-5dde-c78a-141f-d11ad0a218e0?resource=file", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-3753ecac8c0d8e4ba53ab533f6364250-744beadb9bba3443-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "3fc6b313-0b65-9f84-0090-d585ed28863d", + "x-ms-date": "Fri, 11 Sep 2020 17:22:16 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:16 GMT", + "ETag": "\u00220x8D856773B59D5E6\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:16 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "3fc6b313-0b65-9f84-0090-d585ed28863d", + "x-ms-request-id": "dee1ac7c-001f-0039-3260-88b6bc000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-9cd004fb-1519-b809-ac22-d7dbe637b8ca/test-directory-6fc733c5-6e38-b941-bd32-44f711ec9b40/file?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "1d068a61-d8db-ff7b-5d5a-8604db1646f0", + "x-ms-date": "Fri, 11 Sep 2020 17:22:16 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-9cd004fb-1519-b809-ac22-d7dbe637b8ca%2Ftest-file-1b7761d9-5dde-c78a-141f-d11ad0a218e0=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:16 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "1d068a61-d8db-ff7b-5d5a-8604db1646f0", + "x-ms-request-id": "dee1ac7d-001f-0039-3360-88b6bc000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-9cd004fb-1519-b809-ac22-d7dbe637b8ca/test-directory-6fc733c5-6e38-b941-bd32-44f711ec9b40/file", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "622466c9-6922-9f61-a06e-a902fe514caf", + "x-ms-date": "Fri, 11 Sep 2020 17:22:16 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:22:16 GMT", + "ETag": "\u00220x8D856773B59D5E6\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:16 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "622466c9-6922-9f61-a06e-a902fe514caf", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:22:16 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "a218c3cc-f01e-0060-1060-88313f000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-9cd004fb-1519-b809-ac22-d7dbe637b8ca?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b5e8ef0c0933cc4296646031799ac493-2ee2b212b36be94c-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "753bb131-e3f2-d0ce-4747-44c70ce8900b", + "x-ms-date": "Fri, 11 Sep 2020 17:22:17 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:16 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "753bb131-e3f2-d0ce-4747-44c70ce8900b", + "x-ms-request-id": "a218c3df-f01e-0060-1f60-88313f000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "913482745", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(% my cool file %).json b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(% my cool file %).json new file mode 100644 index 0000000000000..a4d52ae9b7813 --- /dev/null +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(% my cool file %).json @@ -0,0 +1,205 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-05ff10be-1d1d-bf1f-4014-b909bd4ce067?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-e20ef21350c4744ab17990613910b6ae-9ebe9cab629ca340-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "56b4012d-a5da-edf4-014b-c8e2b4c28d85", + "x-ms-date": "Fri, 11 Sep 2020 17:22:06 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:06 GMT", + "ETag": "\u00220x8D856773557FAD1\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:06 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "56b4012d-a5da-edf4-014b-c8e2b4c28d85", + "x-ms-request-id": "cf192c18-101e-0035-7060-8821b4000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-05ff10be-1d1d-bf1f-4014-b909bd4ce067/test-directory-0c77c88d-9fe1-e5df-a2b1-96f5ab4f1312?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-efc2e921d1633346a9f38a7671389019-168980a17ccfcb4e-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "e341ec9a-e6b7-8d1f-22cf-b3290efe41b2", + "x-ms-date": "Fri, 11 Sep 2020 17:22:06 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:06 GMT", + "ETag": "\u00220x8D8567735B03865\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:07 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "e341ec9a-e6b7-8d1f-22cf-b3290efe41b2", + "x-ms-request-id": "d3d66870-401f-0065-3a60-88e3e4000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-05ff10be-1d1d-bf1f-4014-b909bd4ce067/ my cool file ?resource=file", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-e9091c152e84664f919e5da771ee9772-7be651c6d2b48244-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "bf5bea17-300d-3a5a-984e-98c8d663f475", + "x-ms-date": "Fri, 11 Sep 2020 17:22:07 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:06 GMT", + "ETag": "\u00220x8D8567735BF678B\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:07 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "bf5bea17-300d-3a5a-984e-98c8d663f475", + "x-ms-request-id": "d3d66872-401f-0065-3c60-88e3e4000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-05ff10be-1d1d-bf1f-4014-b909bd4ce067/test-directory-0c77c88d-9fe1-e5df-a2b1-96f5ab4f1312/test-file-5a5d11a1-9dca-c8c5-ff3e-a7424e21b1d7?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "ca5c2380-79ed-7a4b-2592-bfcf8918ec76", + "x-ms-date": "Fri, 11 Sep 2020 17:22:07 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-05ff10be-1d1d-bf1f-4014-b909bd4ce067%2F\u002Bmy\u002Bcool\u002Bfile\u002B=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:06 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "ca5c2380-79ed-7a4b-2592-bfcf8918ec76", + "x-ms-request-id": "d3d66873-401f-0065-3d60-88e3e4000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-05ff10be-1d1d-bf1f-4014-b909bd4ce067/test-directory-0c77c88d-9fe1-e5df-a2b1-96f5ab4f1312/test-file-5a5d11a1-9dca-c8c5-ff3e-a7424e21b1d7", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "2ac2ce10-e7c5-81e9-5196-fe11c3d57d43", + "x-ms-date": "Fri, 11 Sep 2020 17:22:07 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:22:07 GMT", + "ETag": "\u00220x8D8567735BF678B\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:07 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "2ac2ce10-e7c5-81e9-5196-fe11c3d57d43", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:22:07 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "cf192ccd-101e-0035-6760-8821b4000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-05ff10be-1d1d-bf1f-4014-b909bd4ce067?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-8a5d554864b78c42a0abe27d7fc7638e-f7576f0087b19949-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "babee402-c155-b5b1-d74b-e7bbd2c05b97", + "x-ms-date": "Fri, 11 Sep 2020 17:22:07 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:07 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "babee402-c155-b5b1-d74b-e7bbd2c05b97", + "x-ms-request-id": "cf192cd4-101e-0035-6d60-8821b4000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "664996662", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(% my cool file %)Async.json b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(% my cool file %)Async.json new file mode 100644 index 0000000000000..49d3c4915bdb8 --- /dev/null +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(% my cool file %)Async.json @@ -0,0 +1,205 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-5fbc6072-6b1c-ebcb-d717-52d35b41319b?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1a33a14b4371354b9efc632f3974b760-eb75165ae9127848-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "fb0de4c4-fc9f-8d5f-ee0d-f5630e327e3e", + "x-ms-date": "Fri, 11 Sep 2020 17:22:21 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:21 GMT", + "ETag": "\u00220x8D856773E46A48A\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:21 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "fb0de4c4-fc9f-8d5f-ee0d-f5630e327e3e", + "x-ms-request-id": "821aa765-301e-001d-2b60-88401c000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-5fbc6072-6b1c-ebcb-d717-52d35b41319b/test-directory-1d6e1c06-bcef-54da-548b-8d98821d242e?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-28d7aef98b77db4ba8a2536f7f44638c-a63cc83537b9a142-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "aaa7aa04-e43b-085a-09b8-a7146fc70bd0", + "x-ms-date": "Fri, 11 Sep 2020 17:22:21 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:22 GMT", + "ETag": "\u00220x8D856773E847CC1\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:22 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "aaa7aa04-e43b-085a-09b8-a7146fc70bd0", + "x-ms-request-id": "822e2635-001f-0016-0c60-88bb77000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-5fbc6072-6b1c-ebcb-d717-52d35b41319b/ my cool file ?resource=file", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f921bd3c9370ef4e83753b72117c506e-9bd831c691a9e645-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "d894ee67-7a76-30f3-ac06-6c7b8ee6e9e6", + "x-ms-date": "Fri, 11 Sep 2020 17:22:22 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:22 GMT", + "ETag": "\u00220x8D856773E90DBD3\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:22 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "d894ee67-7a76-30f3-ac06-6c7b8ee6e9e6", + "x-ms-request-id": "822e2636-001f-0016-0d60-88bb77000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-5fbc6072-6b1c-ebcb-d717-52d35b41319b/test-directory-1d6e1c06-bcef-54da-548b-8d98821d242e/test-file-605d50ff-1c5b-fc7b-9ed6-892675756c75?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "4be6892b-cb36-4b4e-7397-399ff1ccbb37", + "x-ms-date": "Fri, 11 Sep 2020 17:22:22 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-5fbc6072-6b1c-ebcb-d717-52d35b41319b%2F\u002Bmy\u002Bcool\u002Bfile\u002B=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:22 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "4be6892b-cb36-4b4e-7397-399ff1ccbb37", + "x-ms-request-id": "822e2638-001f-0016-0f60-88bb77000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-5fbc6072-6b1c-ebcb-d717-52d35b41319b/test-directory-1d6e1c06-bcef-54da-548b-8d98821d242e/test-file-605d50ff-1c5b-fc7b-9ed6-892675756c75", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "ebfa4f94-208e-bf3e-ae61-0d9bf9b97d06", + "x-ms-date": "Fri, 11 Sep 2020 17:22:22 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:22:22 GMT", + "ETag": "\u00220x8D856773E90DBD3\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "ebfa4f94-208e-bf3e-ae61-0d9bf9b97d06", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:22:22 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "821aa844-301e-001d-6b60-88401c000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-5fbc6072-6b1c-ebcb-d717-52d35b41319b?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-3cef07c99aa5aa4295708df16e405e07-34506b19d2fe3b44-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "a10b2a36-cfd2-79a9-b830-e3d95b18d23c", + "x-ms-date": "Fri, 11 Sep 2020 17:22:22 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "a10b2a36-cfd2-79a9-b830-e3d95b18d23c", + "x-ms-request-id": "821aa85a-301e-001d-0160-88401c000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "174599313", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git "a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%).json" "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%).json" new file mode 100644 index 0000000000000..a9077be2808a2 --- /dev/null +++ "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%).json" @@ -0,0 +1,205 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-aec96e9c-605a-0493-85ff-0eccd49928c1?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-6fe63d53ff8d8f4f8508d63c3686868c-ce1da1ae7b24c94c-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "f92e0265-b2d8-60e5-8941-4e9be0acff38", + "x-ms-date": "Fri, 11 Sep 2020 17:22:03 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:04 GMT", + "ETag": "\u00220x8D8567733CB6717\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:04 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "f92e0265-b2d8-60e5-8941-4e9be0acff38", + "x-ms-request-id": "e531a20f-e01e-0031-8060-88acb3000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-aec96e9c-605a-0493-85ff-0eccd49928c1/test-directory-f741abcf-d838-ca4f-7999-bc2a839b4cc2?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-561d4ca190a6dd43b4112bca6bd121a8-d5e787ef43f2ef4e-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "0d28a530-c280-8c25-b364-7f3ff6baddee", + "x-ms-date": "Fri, 11 Sep 2020 17:22:04 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:03 GMT", + "ETag": "\u00220x8D85677340B7717\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:04 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "0d28a530-c280-8c25-b364-7f3ff6baddee", + "x-ms-request-id": "f651a9d2-601f-0086-1060-888119000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-aec96e9c-605a-0493-85ff-0eccd49928c1/%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%3B?resource=file", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-15f7fcb629fdd943a30bfc2121bcdd4c-ebe26e3576ed6a43-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "ddfa764a-3f73-8342-8ada-1e05afa9b606", + "x-ms-date": "Fri, 11 Sep 2020 17:22:04 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:03 GMT", + "ETag": "\u00220x8D8567734164696\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:04 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "ddfa764a-3f73-8342-8ada-1e05afa9b606", + "x-ms-request-id": "f651a9d3-601f-0086-1160-888119000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-aec96e9c-605a-0493-85ff-0eccd49928c1/test-directory-f741abcf-d838-ca4f-7999-bc2a839b4cc2/test-file-f88d0ec8-1e04-0301-d788-4aeb8c92b0e7?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "ceca2fde-4e3e-2c1b-75f7-05eaf457f6f7", + "x-ms-date": "Fri, 11 Sep 2020 17:22:04 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-aec96e9c-605a-0493-85ff-0eccd49928c1%2F!%27()%3B%5B%5D%40%26%25%3D%2B%24%2C%23%C3%A4%C3%84%C3%B6%C3%96%C3%BC%C3%9C%C3%9F%3B=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:03 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "ceca2fde-4e3e-2c1b-75f7-05eaf457f6f7", + "x-ms-request-id": "f651a9d4-601f-0086-1260-888119000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-aec96e9c-605a-0493-85ff-0eccd49928c1/test-directory-f741abcf-d838-ca4f-7999-bc2a839b4cc2/test-file-f88d0ec8-1e04-0301-d788-4aeb8c92b0e7", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "5c0c3197-e2c8-d0a8-43c7-0ac9f98fc1f1", + "x-ms-date": "Fri, 11 Sep 2020 17:22:04 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:22:04 GMT", + "ETag": "\u00220x8D8567734164696\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:04 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "5c0c3197-e2c8-d0a8-43c7-0ac9f98fc1f1", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:22:04 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "e531a2a2-e01e-0031-6660-88acb3000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-aec96e9c-605a-0493-85ff-0eccd49928c1?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-76f58fdc0d23ec4e97da3b91e2183db9-6052170d4f4f594b-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "c253f603-9a4a-462f-8e16-0bec2c7ccf03", + "x-ms-date": "Fri, 11 Sep 2020 17:22:04 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:04 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "c253f603-9a4a-462f-8e16-0bec2c7ccf03", + "x-ms-request-id": "e531a2b7-e01e-0031-7260-88acb3000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "1717193106", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git "a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%)Async.json" "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%)Async.json" new file mode 100644 index 0000000000000..0bd35de76a2a5 --- /dev/null +++ "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(%!'();[]@&%=+$,#\303\244\303\204\303\266\303\226\303\274\303\234\303\237;%)Async.json" @@ -0,0 +1,205 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-5ab43b45-26c2-7ed5-7e97-191301edc610?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-cf3b997f72945442957ea7e1286d1a0e-77fc6fa01999d942-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "7b260744-fd5f-f40b-f636-9df2b323eb81", + "x-ms-date": "Fri, 11 Sep 2020 17:22:17 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:18 GMT", + "ETag": "\u00220x8D856773C015D0F\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:18 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "7b260744-fd5f-f40b-f636-9df2b323eb81", + "x-ms-request-id": "51a57690-e01e-0088-1f60-88a8a9000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-5ab43b45-26c2-7ed5-7e97-191301edc610/test-directory-24eabc6b-8b18-6d7f-eb5c-40dfac949b5e?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-8ea6968fb8a0e44db12cf7cd9d23ea3d-a13ffb4475e0bf44-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "27d5f8f6-4334-b9cf-88b9-8f02bd2c4861", + "x-ms-date": "Fri, 11 Sep 2020 17:22:19 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:19 GMT", + "ETag": "\u00220x8D856773D06E8A0\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:19 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "27d5f8f6-4334-b9cf-88b9-8f02bd2c4861", + "x-ms-request-id": "df2589ca-c01f-0009-2360-880873000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-5ab43b45-26c2-7ed5-7e97-191301edc610/%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%3B?resource=file", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-e3820d5501758d45919feeb5fd796da8-b788347890527942-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "b3e849b8-74be-ea29-6215-700dbcaf5ad0", + "x-ms-date": "Fri, 11 Sep 2020 17:22:19 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:19 GMT", + "ETag": "\u00220x8D856773D1532E9\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:19 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "b3e849b8-74be-ea29-6215-700dbcaf5ad0", + "x-ms-request-id": "df2589cb-c01f-0009-2460-880873000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-5ab43b45-26c2-7ed5-7e97-191301edc610/test-directory-24eabc6b-8b18-6d7f-eb5c-40dfac949b5e/test-file-fb313345-229a-04a2-3db6-1c621c45c2d6?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "c3445678-3780-96f2-a6e3-760757c7ce1c", + "x-ms-date": "Fri, 11 Sep 2020 17:22:19 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-5ab43b45-26c2-7ed5-7e97-191301edc610%2F!%27()%3B%5B%5D%40%26%25%3D%2B%24%2C%23%C3%A4%C3%84%C3%B6%C3%96%C3%BC%C3%9C%C3%9F%3B=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:19 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "c3445678-3780-96f2-a6e3-760757c7ce1c", + "x-ms-request-id": "df2589cc-c01f-0009-2560-880873000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-5ab43b45-26c2-7ed5-7e97-191301edc610/test-directory-24eabc6b-8b18-6d7f-eb5c-40dfac949b5e/test-file-fb313345-229a-04a2-3db6-1c621c45c2d6", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "c5e9c253-fe01-4f56-0fb2-cc601e9bce4e", + "x-ms-date": "Fri, 11 Sep 2020 17:22:19 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:22:19 GMT", + "ETag": "\u00220x8D856773D1532E9\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:19 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "c5e9c253-fe01-4f56-0fb2-cc601e9bce4e", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:22:19 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "51a57748-e01e-0088-2660-88a8a9000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-5ab43b45-26c2-7ed5-7e97-191301edc610?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1bcc97758012a444aec4d3133bea3538-e3787ea8cee06c4b-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "95b4e560-08dd-541b-4336-aab31a2c91f3", + "x-ms-date": "Fri, 11 Sep 2020 17:22:20 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:19 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "95b4e560-08dd-541b-4336-aab31a2c91f3", + "x-ms-request-id": "51a57767-e01e-0088-3e60-88a8a9000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "1589028170", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git "a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%).json" "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%).json" new file mode 100644 index 0000000000000..a8ddf0e8275bc --- /dev/null +++ "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%).json" @@ -0,0 +1,205 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-f0287307-22f2-d8c6-63c3-ac4590cd9502?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f7808ce0a5288e449ac769197584fd26-0bd4d17b83440a4e-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "37cc810b-be7d-d228-9d53-4926c126d826", + "x-ms-date": "Fri, 11 Sep 2020 17:22:04 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:05 GMT", + "ETag": "\u00220x8D856773477E5F0\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:05 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "37cc810b-be7d-d228-9d53-4926c126d826", + "x-ms-request-id": "96edba93-801e-007a-7a60-8850e0000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-f0287307-22f2-d8c6-63c3-ac4590cd9502/test-directory-b2436e6f-4548-a9bd-11f8-17e6817f6dce?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c57a9a5b59c4a04ea51897fb666750fa-e2aeb4626a571645-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "fcd77b33-9c51-c5a4-c422-2684a742511e", + "x-ms-date": "Fri, 11 Sep 2020 17:22:05 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:05 GMT", + "ETag": "\u00220x8D8567734CBC2BA\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:05 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "fcd77b33-9c51-c5a4-c422-2684a742511e", + "x-ms-request-id": "abb7383d-f01f-0012-6e60-883670000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-f0287307-22f2-d8c6-63c3-ac4590cd9502/%2521%2527%2528%2529%253B%255B%255D%2540%2526%2525%253D%252B%2524%252C%2523\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%253B?resource=file", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-fb837f0bb609704ea0dfbb42401e0c53-9d5d69451dbe7349-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "06b26689-71a7-d77c-1b73-4ade36019afd", + "x-ms-date": "Fri, 11 Sep 2020 17:22:05 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:05 GMT", + "ETag": "\u00220x8D8567734DA4B2D\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:06 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "06b26689-71a7-d77c-1b73-4ade36019afd", + "x-ms-request-id": "abb7383e-f01f-0012-6f60-883670000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-f0287307-22f2-d8c6-63c3-ac4590cd9502/test-directory-b2436e6f-4548-a9bd-11f8-17e6817f6dce/test-file-997a8448-6c89-6ac4-56c5-125028f52266?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "1e657667-fae3-1c4b-a148-afe25e2caf25", + "x-ms-date": "Fri, 11 Sep 2020 17:22:05 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-f0287307-22f2-d8c6-63c3-ac4590cd9502%2F%2521%2527%2528%2529%253B%255B%255D%2540%2526%2525%253D%252B%2524%252C%2523%C3%A4%C3%84%C3%B6%C3%96%C3%BC%C3%9C%C3%9F%253B=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:05 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "1e657667-fae3-1c4b-a148-afe25e2caf25", + "x-ms-request-id": "abb7383f-f01f-0012-7060-883670000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-f0287307-22f2-d8c6-63c3-ac4590cd9502/test-directory-b2436e6f-4548-a9bd-11f8-17e6817f6dce/test-file-997a8448-6c89-6ac4-56c5-125028f52266", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "b2e82aea-038f-9382-05dd-9f479b9415d1", + "x-ms-date": "Fri, 11 Sep 2020 17:22:06 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:22:06 GMT", + "ETag": "\u00220x8D8567734DA4B2D\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:06 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "b2e82aea-038f-9382-05dd-9f479b9415d1", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:22:06 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "96edbaff-801e-007a-3f60-8850e0000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-f0287307-22f2-d8c6-63c3-ac4590cd9502?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c2be2037d0282e4bb40b0f9d77449b4f-a0583474f3531647-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "33f79f5c-fc43-4d96-61bd-df28b926617a", + "x-ms-date": "Fri, 11 Sep 2020 17:22:06 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:06 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "33f79f5c-fc43-4d96-61bd-df28b926617a", + "x-ms-request-id": "96edbb07-801e-007a-4660-8850e0000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "1482959562", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git "a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%)Async.json" "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%)Async.json" new file mode 100644 index 0000000000000..549c290cddb89 --- /dev/null +++ "b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(%%21%27%28%29%3B%5B%5D%40%26%25%3D%2B%24%2C%23\303\244\303\204\303\266\303\226\303\274\303\234\303\237%3B%)Async.json" @@ -0,0 +1,205 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-5d56116a-6cee-2357-4c52-4e24bed213b4?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-8868f1615e7e9b428baf81816bd435b7-83f5d09b910fa24c-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "a0710bf4-b94f-761e-c1d0-226ad6e66248", + "x-ms-date": "Fri, 11 Sep 2020 17:22:20 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:20 GMT", + "ETag": "\u00220x8D856773DA9E405\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:20 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "a0710bf4-b94f-761e-c1d0-226ad6e66248", + "x-ms-request-id": "9dcdf085-a01e-0089-6960-88f775000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-5d56116a-6cee-2357-4c52-4e24bed213b4/test-directory-ab912587-ea90-4358-0ca4-d1a8fa4b521a?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-13e163ea7299734a9dec8321e89a5a76-604df1b179048d4d-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "ab8328e3-2ba0-0a01-b22e-93aae8767b75", + "x-ms-date": "Fri, 11 Sep 2020 17:22:20 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:20 GMT", + "ETag": "\u00220x8D856773DD5AFDE\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:21 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "ab8328e3-2ba0-0a01-b22e-93aae8767b75", + "x-ms-request-id": "306ef34f-701f-008a-5c60-881611000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-5d56116a-6cee-2357-4c52-4e24bed213b4/%2521%2527%2528%2529%253B%255B%255D%2540%2526%2525%253D%252B%2524%252C%2523\u00E4\u00C4\u00F6\u00D6\u00FC\u00DC\u00DF%253B?resource=file", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-0e8cd23ac5348c49afda4fdc28fb44d2-b24cf6537a0ac64a-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "d2c52cc9-a6c7-4e79-bb25-0032dfba7437", + "x-ms-date": "Fri, 11 Sep 2020 17:22:21 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:20 GMT", + "ETag": "\u00220x8D856773DE0F77D\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:21 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "d2c52cc9-a6c7-4e79-bb25-0032dfba7437", + "x-ms-request-id": "306ef350-701f-008a-5d60-881611000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-5d56116a-6cee-2357-4c52-4e24bed213b4/test-directory-ab912587-ea90-4358-0ca4-d1a8fa4b521a/test-file-fc8c3c50-c2aa-34ee-406f-ea6b2d3dd265?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "fb73c6c0-41c1-06c7-3e91-9158bc0d217e", + "x-ms-date": "Fri, 11 Sep 2020 17:22:21 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-5d56116a-6cee-2357-4c52-4e24bed213b4%2F%2521%2527%2528%2529%253B%255B%255D%2540%2526%2525%253D%252B%2524%252C%2523%C3%A4%C3%84%C3%B6%C3%96%C3%BC%C3%9C%C3%9F%253B=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:20 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "fb73c6c0-41c1-06c7-3e91-9158bc0d217e", + "x-ms-request-id": "306ef351-701f-008a-5e60-881611000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-5d56116a-6cee-2357-4c52-4e24bed213b4/test-directory-ab912587-ea90-4358-0ca4-d1a8fa4b521a/test-file-fc8c3c50-c2aa-34ee-406f-ea6b2d3dd265", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "66abe53b-d7ca-ada3-59da-7d1f17551b81", + "x-ms-date": "Fri, 11 Sep 2020 17:22:21 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:22:21 GMT", + "ETag": "\u00220x8D856773DE0F77D\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:21 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "66abe53b-d7ca-ada3-59da-7d1f17551b81", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:22:21 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "9dcdf10d-a01e-0089-5560-88f775000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-5d56116a-6cee-2357-4c52-4e24bed213b4?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-42023380a1b26146928628cbe71763a0-e0438aa807c97a43-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "d61c050b-ba61-7bb4-f894-64ff3b678f39", + "x-ms-date": "Fri, 11 Sep 2020 17:22:21 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:21 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "d61c050b-ba61-7bb4-f894-64ff3b678f39", + "x-ms-request-id": "9dcdf116-a01e-0089-5d60-88f775000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "1664916077", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(%file%).json b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(%file%).json new file mode 100644 index 0000000000000..322236be49153 --- /dev/null +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(%file%).json @@ -0,0 +1,205 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-179a7fe3-d7ed-9c38-c6d7-546bed823c8e?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-381e2e99ac730347adf19b55d539a2d4-bf477f61e6a45945-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "6e7d55f6-94db-e824-afb9-212aa39919a8", + "x-ms-date": "Fri, 11 Sep 2020 17:22:07 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:09 GMT", + "ETag": "\u00220x8D856773660EBDA\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:08 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "6e7d55f6-94db-e824-afb9-212aa39919a8", + "x-ms-request-id": "05fbf6f0-901e-0092-2f60-88c976000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-179a7fe3-d7ed-9c38-c6d7-546bed823c8e/test-directory-2bd4a543-3449-0ae1-a520-3fecb5a8d687?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-08b9427f049d984286a9b3356c5263d6-64b081ec73775943-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "204d79e7-7b6a-c299-7373-c8bb54383207", + "x-ms-date": "Fri, 11 Sep 2020 17:22:10 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:10 GMT", + "ETag": "\u00220x8D85677379FC35C\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:10 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "204d79e7-7b6a-c299-7373-c8bb54383207", + "x-ms-request-id": "822e260c-001f-0016-6560-88bb77000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-179a7fe3-d7ed-9c38-c6d7-546bed823c8e/file?resource=file", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-99b93e28e4b02243848e029a1cc9ea4f-642fd662ab0a324b-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "3c050149-b65b-b51c-d7b2-259105f738e4", + "x-ms-date": "Fri, 11 Sep 2020 17:22:10 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:10 GMT", + "ETag": "\u00220x8D8567737ABACA9\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:10 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "3c050149-b65b-b51c-d7b2-259105f738e4", + "x-ms-request-id": "822e260d-001f-0016-6660-88bb77000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-179a7fe3-d7ed-9c38-c6d7-546bed823c8e/test-directory-2bd4a543-3449-0ae1-a520-3fecb5a8d687/test-file-1c4dbbc7-a4b5-6519-d6d8-2d236c4950c1?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "b6882a0e-3664-a440-e89f-658288f8488e", + "x-ms-date": "Fri, 11 Sep 2020 17:22:10 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-179a7fe3-d7ed-9c38-c6d7-546bed823c8e%2Ffile=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:10 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "b6882a0e-3664-a440-e89f-658288f8488e", + "x-ms-request-id": "822e260e-001f-0016-6760-88bb77000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-179a7fe3-d7ed-9c38-c6d7-546bed823c8e/test-directory-2bd4a543-3449-0ae1-a520-3fecb5a8d687/test-file-1c4dbbc7-a4b5-6519-d6d8-2d236c4950c1", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "41143269-9ac0-ea5d-92cd-6a939028a485", + "x-ms-date": "Fri, 11 Sep 2020 17:22:10 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:22:10 GMT", + "ETag": "\u00220x8D8567737ABACA9\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:10 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "41143269-9ac0-ea5d-92cd-6a939028a485", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:22:10 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "05fbf94c-901e-0092-2f60-88c976000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-179a7fe3-d7ed-9c38-c6d7-546bed823c8e?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-3c08f04751f63a46ad9698901645b77a-7c4b90c5e6d3d44b-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "55199f95-06e4-c7ce-0587-a1b87b1e40e6", + "x-ms-date": "Fri, 11 Sep 2020 17:22:11 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:10 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "55199f95-06e4-c7ce-0587-a1b87b1e40e6", + "x-ms-request-id": "05fbf998-901e-0092-7460-88c976000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "601495137", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(%file%)Async.json b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(%file%)Async.json new file mode 100644 index 0000000000000..301708419a470 --- /dev/null +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/SessionRecords/FileClientTests/RenameAsync_SourceSpecialCharacters(%file%)Async.json @@ -0,0 +1,205 @@ +{ + "Entries": [ + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-744d03f9-c819-cccc-1d9a-7f7b4de7b8df?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-3b4a36d4cec7a74698850ee457a4c0e7-a5937376a1d63f4f-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "e0ea8c00-6eed-ce24-d140-90a0cf5bc4ae", + "x-ms-date": "Fri, 11 Sep 2020 17:22:22 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:22 GMT", + "ETag": "\u00220x8D856773EF998FC\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:23 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "e0ea8c00-6eed-ce24-d140-90a0cf5bc4ae", + "x-ms-request-id": "660a729d-501e-0079-5a60-88b184000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-744d03f9-c819-cccc-1d9a-7f7b4de7b8df/test-directory-1356a24c-b3bc-0d77-2e4c-b5ddeeeb0705?resource=directory", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-fe690882035e9d47af2c3309647e414d-a818584c1881f44e-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "22932b77-5fc1-4cd9-15dd-b2a1b846dfe5", + "x-ms-date": "Fri, 11 Sep 2020 17:22:23 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:23 GMT", + "ETag": "\u00220x8D856773F4CF3A0\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:23 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "22932b77-5fc1-4cd9-15dd-b2a1b846dfe5", + "x-ms-request-id": "5a682164-a01f-007d-6360-883c83000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-744d03f9-c819-cccc-1d9a-7f7b4de7b8df/file?resource=file", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-2fbd6b199574cf4b99d950090ad7d582-7e8c766b190df249-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "c266531b-e457-c744-102f-ab202650542e", + "x-ms-date": "Fri, 11 Sep 2020 17:22:23 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:23 GMT", + "ETag": "\u00220x8D856773F582EB9\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:23 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "c266531b-e457-c744-102f-ab202650542e", + "x-ms-request-id": "5a682165-a01f-007d-6460-883c83000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.dfs.core.windows.net/test-filesystem-744d03f9-c819-cccc-1d9a-7f7b4de7b8df/test-directory-1356a24c-b3bc-0d77-2e4c-b5ddeeeb0705/test-file-d18dc2c0-4cbb-7482-7a1e-7077c1bd4165?mode=legacy", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "485b6ff4-e122-ce3e-d1f2-483873cc0653", + "x-ms-date": "Fri, 11 Sep 2020 17:22:23 GMT", + "x-ms-rename-source": "%2Ftest-filesystem-744d03f9-c819-cccc-1d9a-7f7b4de7b8df%2Ffile=", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:23 GMT", + "Server": [ + "Windows-Azure-HDFS/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "485b6ff4-e122-ce3e-d1f2-483873cc0653", + "x-ms-request-id": "5a682166-a01f-007d-6560-883c83000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-744d03f9-c819-cccc-1d9a-7f7b4de7b8df/test-directory-1356a24c-b3bc-0d77-2e4c-b5ddeeeb0705/test-file-d18dc2c0-4cbb-7482-7a1e-7077c1bd4165", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "51830fd0-f961-4942-79b7-93edd455e079", + "x-ms-date": "Fri, 11 Sep 2020 17:22:23 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Fri, 11 Sep 2020 17:22:23 GMT", + "ETag": "\u00220x8D856773F582EB9\u0022", + "Last-Modified": "Fri, 11 Sep 2020 17:22:23 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-access-tier": "Hot", + "x-ms-access-tier-inferred": "true", + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "51830fd0-f961-4942-79b7-93edd455e079", + "x-ms-creation-time": "Fri, 11 Sep 2020 17:22:23 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "660a72ca-501e-0079-7660-88b184000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seannsecanary.blob.core.windows.net/test-filesystem-744d03f9-c819-cccc-1d9a-7f7b4de7b8df?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-124c9f52f3ae5446862f17b629c3f89f-4714eaac6d53e645-00", + "User-Agent": [ + "azsdk-net-Storage.Files.DataLake/12.5.0-alpha.20200911.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19041 )" + ], + "x-ms-client-request-id": "64685fd5-b549-f4f1-04ab-f4125b61cfdf", + "x-ms-date": "Fri, 11 Sep 2020 17:22:23 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 11 Sep 2020 17:22:23 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "64685fd5-b549-f4f1-04ab-f4125b61cfdf", + "x-ms-request-id": "660a72d4-501e-0079-8060-88b184000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "1747315053", + "Storage_TestConfigHierarchicalNamespace": "NamespaceTenant\nseannsecanary\nU2FuaXRpemVk\nhttps://seannsecanary.blob.core.windows.net\nhttps://seannsecanary.file.core.windows.net\nhttps://seannsecanary.queue.core.windows.net\nhttps://seannsecanary.table.core.windows.net\n\n\n\n\nhttps://seannsecanary-secondary.blob.core.windows.net\nhttps://seannsecanary-secondary.file.core.windows.net\nhttps://seannsecanary-secondary.queue.core.windows.net\nhttps://seannsecanary-secondary.table.core.windows.net\n68390a19-a643-458b-b726-408abf67b4fc\nSanitized\n72f988bf-86f1-41af-91ab-2d7cd011db47\nhttps://login.microsoftonline.com/\nCloud\nBlobEndpoint=https://seannsecanary.blob.core.windows.net/;QueueEndpoint=https://seannsecanary.queue.core.windows.net/;FileEndpoint=https://seannsecanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seannsecanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seannsecanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seannsecanary-secondary.file.core.windows.net/;AccountName=seannsecanary;AccountKey=Sanitized\n" + } +} \ No newline at end of file