-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[STG78][FileShare]List Files v2 (#19017)
* [STG78][FileShare]List Files v2 * fix pylint
- Loading branch information
1 parent
2e97f30
commit 21dc3d1
Showing
12 changed files
with
1,787 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
203 changes: 203 additions & 0 deletions
203
...s/recordings/test_directory.test_list_subdirectories_and_files_include_extended_info.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,203 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/xml | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- '0' | ||
User-Agent: | ||
- azsdk-python-storage-file-share/12.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) | ||
x-ms-date: | ||
- Tue, 01 Jun 2021 06:07:31 GMT | ||
x-ms-version: | ||
- '2020-10-02' | ||
method: PUT | ||
uri: https://storagename.file.core.windows.net/utshare228d1d46?restype=share | ||
response: | ||
body: | ||
string: '' | ||
headers: | ||
content-length: | ||
- '0' | ||
date: | ||
- Tue, 01 Jun 2021 06:07:31 GMT | ||
etag: | ||
- '"0x8D924C38B034DA7"' | ||
last-modified: | ||
- Tue, 01 Jun 2021 06:07:31 GMT | ||
server: | ||
- Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 | ||
x-ms-version: | ||
- '2020-10-02' | ||
status: | ||
code: 201 | ||
message: Created | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/xml | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- '0' | ||
User-Agent: | ||
- azsdk-python-storage-file-share/12.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) | ||
x-ms-date: | ||
- Tue, 01 Jun 2021 06:07:31 GMT | ||
x-ms-file-attributes: | ||
- none | ||
x-ms-file-creation-time: | ||
- now | ||
x-ms-file-last-write-time: | ||
- now | ||
x-ms-file-permission: | ||
- inherit | ||
x-ms-version: | ||
- '2020-10-02' | ||
method: PUT | ||
uri: https://storagename.file.core.windows.net/utshare228d1d46/dir1?restype=directory | ||
response: | ||
body: | ||
string: '' | ||
headers: | ||
content-length: | ||
- '0' | ||
date: | ||
- Tue, 01 Jun 2021 06:07:31 GMT | ||
etag: | ||
- '"0x8D924C38B172120"' | ||
last-modified: | ||
- Tue, 01 Jun 2021 06:07:32 GMT | ||
server: | ||
- Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 | ||
x-ms-file-attributes: | ||
- Directory | ||
x-ms-file-change-time: | ||
- '2021-06-01T06:07:32.0407328Z' | ||
x-ms-file-creation-time: | ||
- '2021-06-01T06:07:32.0407328Z' | ||
x-ms-file-id: | ||
- '13835128424026341376' | ||
x-ms-file-last-write-time: | ||
- '2021-06-01T06:07:32.0407328Z' | ||
x-ms-file-parent-id: | ||
- '0' | ||
x-ms-file-permission-key: | ||
- 17860367565182308406*11459378189709739967 | ||
x-ms-request-server-encrypted: | ||
- 'true' | ||
x-ms-version: | ||
- '2020-10-02' | ||
status: | ||
code: 201 | ||
message: Created | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/xml | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
Content-Length: | ||
- '0' | ||
User-Agent: | ||
- azsdk-python-storage-file-share/12.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) | ||
x-ms-date: | ||
- Tue, 01 Jun 2021 06:07:32 GMT | ||
x-ms-file-attributes: | ||
- none | ||
x-ms-file-creation-time: | ||
- now | ||
x-ms-file-last-write-time: | ||
- now | ||
x-ms-file-permission: | ||
- inherit | ||
x-ms-version: | ||
- '2020-10-02' | ||
method: PUT | ||
uri: https://storagename.file.core.windows.net/utshare228d1d46/dir1%2Fsubdir1?restype=directory | ||
response: | ||
body: | ||
string: '' | ||
headers: | ||
content-length: | ||
- '0' | ||
date: | ||
- Tue, 01 Jun 2021 06:07:31 GMT | ||
etag: | ||
- '"0x8D924C38B2B4909"' | ||
last-modified: | ||
- Tue, 01 Jun 2021 06:07:32 GMT | ||
server: | ||
- Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 | ||
x-ms-file-attributes: | ||
- Directory | ||
x-ms-file-change-time: | ||
- '2021-06-01T06:07:32.1728265Z' | ||
x-ms-file-creation-time: | ||
- '2021-06-01T06:07:32.1728265Z' | ||
x-ms-file-id: | ||
- '11529285414812647424' | ||
x-ms-file-last-write-time: | ||
- '2021-06-01T06:07:32.1728265Z' | ||
x-ms-file-parent-id: | ||
- '13835128424026341376' | ||
x-ms-file-permission-key: | ||
- 17860367565182308406*11459378189709739967 | ||
x-ms-request-server-encrypted: | ||
- 'true' | ||
x-ms-version: | ||
- '2020-10-02' | ||
status: | ||
code: 201 | ||
message: Created | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- application/xml | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
User-Agent: | ||
- azsdk-python-storage-file-share/12.5.0b1 Python/3.7.3 (Windows-10-10.0.19041-SP0) | ||
x-ms-date: | ||
- Tue, 01 Jun 2021 06:07:32 GMT | ||
x-ms-file-extended-info: | ||
- 'true' | ||
x-ms-version: | ||
- '2020-10-02' | ||
method: GET | ||
uri: https://storagename.file.core.windows.net/utshare228d1d46/dir1?restype=directory&comp=list | ||
response: | ||
body: | ||
string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><EnumerationResults | ||
ServiceEndpoint=\"https://storagename.file.core.windows.net/\" ShareName=\"utshare228d1d46\" | ||
DirectoryPath=\"dir1\"><DirectoryId>13835128424026341376</DirectoryId><Entries><Directory><Name>subdir1</Name><FileId>11529285414812647424</FileId><Properties | ||
/></Directory></Entries><NextMarker /></EnumerationResults>" | ||
headers: | ||
content-type: | ||
- application/xml | ||
date: | ||
- Tue, 01 Jun 2021 06:07:31 GMT | ||
server: | ||
- Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0 | ||
transfer-encoding: | ||
- chunked | ||
x-ms-version: | ||
- '2020-10-02' | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
Oops, something went wrong.