-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added recording of perCallPolicy test
- Loading branch information
1 parent
827b77e
commit c91250d
Showing
1 changed file
with
30 additions
and
72 deletions.
There are no files selected for viewing
102 changes: 30 additions & 72 deletions
102
...ge/azure-storage-blob/src/test/resources/session-records/ServiceAPITestPerCallPolicy.json
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 |
---|---|---|
@@ -1,127 +1,85 @@ | ||
{ | ||
"networkCallRecords" : [ { | ||
"Method" : "PUT", | ||
"Uri" : "https://REDACTED.blob.core.windows.net/7088d51707088d517298194801f5325f4b3fb493180e?restype=container", | ||
"Uri" : "https://REDACTED.blob.core.windows.net/7088d51707088d517af3017969b9662abcd314d8a876?restype=container", | ||
"Headers" : { | ||
"x-ms-version" : "2020-06-12", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.12.0-beta.1 (11.0.8; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "36e45868-9dec-44ce-bb23-ec3ca1dcf4e3" | ||
"x-ms-version" : "2020-08-04", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.12.0 (11.0.4; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "7295d60c-c95b-4447-b996-0908f81ed883" | ||
}, | ||
"Response" : { | ||
"content-length" : "0", | ||
"x-ms-version" : "2020-06-12", | ||
"x-ms-version" : "2020-08-04", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"eTag" : "0x8D90F54B4B2C18B", | ||
"Last-Modified" : "Tue, 04 May 2021 23:31:13 GMT", | ||
"eTag" : "0x8D94D3FE7EBA007", | ||
"Last-Modified" : "Thu, 22 Jul 2021 18:38:31 GMT", | ||
"retry-after" : "0", | ||
"StatusCode" : "201", | ||
"x-ms-request-id" : "46669cc0-b01e-0063-683d-41574a000000", | ||
"x-ms-client-request-id" : "36e45868-9dec-44ce-bb23-ec3ca1dcf4e3", | ||
"Date" : "Tue, 04 May 2021 23:31:13 GMT" | ||
"x-ms-request-id" : "4a1edfa8-201e-005c-6828-7f18f8000000", | ||
"x-ms-client-request-id" : "7295d60c-c95b-4447-b996-0908f81ed883", | ||
"Date" : "Thu, 22 Jul 2021 18:38:31 GMT" | ||
}, | ||
"Exception" : null | ||
}, { | ||
"Method" : "PUT", | ||
"Uri" : "https://REDACTED.blob.core.windows.net?restype=service&comp=properties", | ||
"Headers" : { | ||
"x-ms-version" : "2020-06-12", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.12.0-beta.1 (11.0.8; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "5d1ff0cc-0aaa-49fd-8140-8bfc3d9682ac", | ||
"x-ms-version" : "2020-08-04", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.12.0 (11.0.4; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "86eb0952-b4be-4a7f-bfc4-9307ecfde83f", | ||
"Content-Type" : "application/xml" | ||
}, | ||
"Response" : { | ||
"content-length" : "0", | ||
"x-ms-version" : "2020-06-12", | ||
"x-ms-version" : "2020-08-04", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"retry-after" : "0", | ||
"StatusCode" : "202", | ||
"x-ms-request-id" : "878737dc-c01e-0079-013d-413695000000", | ||
"x-ms-client-request-id" : "5d1ff0cc-0aaa-49fd-8140-8bfc3d9682ac", | ||
"Date" : "Tue, 04 May 2021 23:31:13 GMT" | ||
"x-ms-request-id" : "4a1edfc3-201e-005c-7d28-7f18f8000000", | ||
"x-ms-client-request-id" : "86eb0952-b4be-4a7f-bfc4-9307ecfde83f", | ||
"Date" : "Thu, 22 Jul 2021 18:38:32 GMT" | ||
}, | ||
"Exception" : null | ||
}, { | ||
"Method" : "GET", | ||
"Uri" : "https://REDACTED.blob.core.windows.net?restype=service&comp=properties", | ||
"Headers" : { | ||
"x-ms-version" : "2017-11-09", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.12.0-beta.1 (11.0.8; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "4bc602ec-768c-43e8-94d1-f6fc56fa71b8" | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.12.0 (11.0.4; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "ef9c7652-c7cb-49b5-bb95-d5471a3ff90d" | ||
}, | ||
"Response" : { | ||
"Transfer-Encoding" : "chunked", | ||
"x-ms-version" : "2017-11-09", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"Vary" : "Origin", | ||
"retry-after" : "0", | ||
"StatusCode" : "200", | ||
"x-ms-request-id" : "41278238-101e-0045-263d-411f52000000", | ||
"Body" : "<?xml version=\"1.0\" encoding=\"utf-8\"?><StorageServiceProperties><Logging><Version>1.0</Version><Read>false</Read><Write>false</Write><Delete>false</Delete><RetentionPolicy><Enabled>false</Enabled></RetentionPolicy></Logging><HourMetrics><Version>1.0</Version><Enabled>false</Enabled><RetentionPolicy><Enabled>false</Enabled></RetentionPolicy></HourMetrics><MinuteMetrics><Version>1.0</Version><Enabled>false</Enabled><RetentionPolicy><Enabled>false</Enabled></RetentionPolicy></MinuteMetrics><Cors><CorsRule><AllowedMethods>GET</AllowedMethods><AllowedOrigins>microsoft.com</AllowedOrigins><AllowedHeaders>x-ms-version</AllowedHeaders><ExposedHeaders /><MaxAgeInSeconds>60</MaxAgeInSeconds></CorsRule></Cors><DeleteRetentionPolicy><Enabled>false</Enabled></DeleteRetentionPolicy><DefaultServiceVersion>2018-03-28</DefaultServiceVersion></StorageServiceProperties>", | ||
"Date" : "Tue, 04 May 2021 23:31:13 GMT", | ||
"x-ms-request-id" : "4a1edfeb-201e-005c-1928-7f18f8000000", | ||
"Body" : "<?xml version=\"1.0\" encoding=\"utf-8\"?><StorageServiceProperties><Logging><Version>1.0</Version><Read>false</Read><Write>false</Write><Delete>false</Delete><RetentionPolicy><Enabled>false</Enabled></RetentionPolicy></Logging><HourMetrics><Version>1.0</Version><Enabled>false</Enabled><RetentionPolicy><Enabled>false</Enabled></RetentionPolicy></HourMetrics><MinuteMetrics><Version>1.0</Version><Enabled>false</Enabled><RetentionPolicy><Enabled>false</Enabled></RetentionPolicy></MinuteMetrics><Cors /><DeleteRetentionPolicy><Enabled>false</Enabled></DeleteRetentionPolicy><DefaultServiceVersion>2018-03-28</DefaultServiceVersion></StorageServiceProperties>", | ||
"Date" : "Thu, 22 Jul 2021 18:38:32 GMT", | ||
"Content-Type" : "application/xml" | ||
}, | ||
"Exception" : null | ||
}, { | ||
"Method" : "PUT", | ||
"Uri" : "https://REDACTED.blob.core.windows.net?restype=service&comp=properties", | ||
"Headers" : { | ||
"x-ms-version" : "2020-06-12", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.12.0-beta.1 (11.0.8; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "e04d14ee-11ce-4cd0-9882-ea1557291662", | ||
"x-ms-version" : "2020-08-04", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.12.0 (11.0.4; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "875cd2ab-21eb-48b0-9805-541c8233a3cd", | ||
"Content-Type" : "application/xml" | ||
}, | ||
"Response" : { | ||
"content-length" : "0", | ||
"x-ms-version" : "2020-06-12", | ||
"x-ms-version" : "2020-08-04", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"retry-after" : "0", | ||
"StatusCode" : "202", | ||
"x-ms-request-id" : "b8358807-201e-002c-463d-41261e000000", | ||
"x-ms-client-request-id" : "e04d14ee-11ce-4cd0-9882-ea1557291662", | ||
"Date" : "Tue, 04 May 2021 23:31:13 GMT" | ||
}, | ||
"Exception" : null | ||
}, { | ||
"Method" : "GET", | ||
"Uri" : "https://REDACTED.blob.core.windows.net?comp=list&prefix=7088d517", | ||
"Headers" : { | ||
"x-ms-version" : "2020-06-12", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.12.0-beta.1 (11.0.8; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "d81c94c0-5ae1-469e-8cc5-598c63ca672b" | ||
}, | ||
"Response" : { | ||
"Transfer-Encoding" : "chunked", | ||
"x-ms-version" : "2020-06-12", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"Vary" : "Origin", | ||
"retry-after" : "0", | ||
"StatusCode" : "200", | ||
"x-ms-request-id" : "16117486-d01e-004a-7c3d-41693e000000", | ||
"Body" : "<?xml version=\"1.0\" encoding=\"utf-8\"?><EnumerationResults ServiceEndpoint=\"https://kasobolcanadacentral.blob.core.windows.net/\"><Prefix>7088d517</Prefix><Containers><Container><Name>7088d51707088d517298194801f5325f4b3fb493180e</Name><Properties><Last-Modified>Tue, 04 May 2021 23:31:13 GMT</Last-Modified><Etag>\"0x8D90F54B4B2C18B\"</Etag><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><DefaultEncryptionScope>$account-encryption-key</DefaultEncryptionScope><DenyEncryptionScopeOverride>false</DenyEncryptionScopeOverride><HasImmutabilityPolicy>false</HasImmutabilityPolicy><HasLegalHold>false</HasLegalHold></Properties></Container></Containers><NextMarker /></EnumerationResults>", | ||
"x-ms-client-request-id" : "d81c94c0-5ae1-469e-8cc5-598c63ca672b", | ||
"Date" : "Tue, 04 May 2021 23:31:12 GMT", | ||
"Content-Type" : "application/xml" | ||
}, | ||
"Exception" : null | ||
}, { | ||
"Method" : "DELETE", | ||
"Uri" : "https://REDACTED.blob.core.windows.net/7088d51707088d517298194801f5325f4b3fb493180e?restype=container", | ||
"Headers" : { | ||
"x-ms-version" : "2020-06-12", | ||
"User-Agent" : "azsdk-java-azure-storage-blob/12.12.0-beta.1 (11.0.8; Windows 10; 10.0)", | ||
"x-ms-client-request-id" : "12cf4683-e2d9-4b9f-a90c-05b5aa25dc21" | ||
}, | ||
"Response" : { | ||
"content-length" : "0", | ||
"x-ms-version" : "2020-06-12", | ||
"Server" : "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", | ||
"retry-after" : "0", | ||
"StatusCode" : "202", | ||
"x-ms-request-id" : "a4f02009-001e-0004-443d-4147b6000000", | ||
"x-ms-client-request-id" : "12cf4683-e2d9-4b9f-a90c-05b5aa25dc21", | ||
"Date" : "Tue, 04 May 2021 23:31:14 GMT" | ||
"x-ms-request-id" : "4a1edff6-201e-005c-2228-7f18f8000000", | ||
"x-ms-client-request-id" : "875cd2ab-21eb-48b0-9805-541c8233a3cd", | ||
"Date" : "Thu, 22 Jul 2021 18:38:32 GMT" | ||
}, | ||
"Exception" : null | ||
} ], | ||
"variables" : [ "7088d51707088d517298194801f5325f4b3fb493180e" ] | ||
"variables" : [ "7088d51707088d517af3017969b9662abcd314d8a876", "7088d517451316b7", "7088d517341822f9" ] | ||
} |