Skip to content

Commit 3a38f04

Browse files
committed
rerecorded shared key tests
1 parent 2deffce commit 3a38f04

14 files changed

+1548
-1458
lines changed

sdk/storage/azure-storage-blob/tests/recordings/test_container.test_batch_set_standard_blob_tier_for_version.yaml

+562-474
Large diffs are not rendered by default.

sdk/storage/azure-storage-blob/tests/recordings/test_container.test_delete_blobs_simple.yaml

+66-67
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,32 @@ interactions:
1111
Content-Length:
1212
- '0'
1313
User-Agent:
14-
- azsdk-python-storage-blob/12.7.0 Python/3.8.5 (Windows-10-10.0.19041-SP0)
14+
- azsdk-python-storage-blob/12.8.0 Python/3.8.5 (Windows-10-10.0.19041-SP0)
1515
x-ms-date:
16-
- Wed, 20 Jan 2021 21:16:22 GMT
16+
- Wed, 03 Mar 2021 01:07:12 GMT
1717
x-ms-version:
18-
- '2020-04-08'
18+
- '2020-06-12'
1919
method: PUT
2020
uri: https://storagename.blob.core.windows.net/container40320ffd?restype=container
2121
response:
2222
body:
23-
string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>ContainerAlreadyExists</Code><Message>The
24-
specified container already exists.\nRequestId:ce1ea384-101e-0066-4671-ef1cd4000000\nTime:2021-01-20T21:16:22.9697338Z</Message></Error>"
23+
string: ''
2524
headers:
2625
content-length:
27-
- '230'
28-
content-type:
29-
- application/xml
26+
- '0'
3027
date:
31-
- Wed, 20 Jan 2021 21:16:22 GMT
28+
- Wed, 03 Mar 2021 01:07:11 GMT
29+
etag:
30+
- '"0x8D8DDE0AD071490"'
31+
last-modified:
32+
- Wed, 03 Mar 2021 01:07:11 GMT
3233
server:
3334
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
34-
x-ms-error-code:
35-
- ContainerAlreadyExists
3635
x-ms-version:
37-
- '2020-04-08'
36+
- '2020-06-12'
3837
status:
39-
code: 409
40-
message: The specified container already exists.
38+
code: 201
39+
message: Created
4140
- request:
4241
body: hello world
4342
headers:
@@ -54,15 +53,15 @@ interactions:
5453
If-None-Match:
5554
- '*'
5655
User-Agent:
57-
- azsdk-python-storage-blob/12.7.0 Python/3.8.5 (Windows-10-10.0.19041-SP0)
56+
- azsdk-python-storage-blob/12.8.0 Python/3.8.5 (Windows-10-10.0.19041-SP0)
5857
x-ms-blob-type:
5958
- BlockBlob
6059
x-ms-date:
61-
- Wed, 20 Jan 2021 21:16:22 GMT
60+
- Wed, 03 Mar 2021 01:07:12 GMT
6261
x-ms-encryption-algorithm:
6362
- AES256
6463
x-ms-version:
65-
- '2020-04-08'
64+
- '2020-06-12'
6665
method: PUT
6766
uri: https://storagename.blob.core.windows.net/container40320ffd/blob1
6867
response:
@@ -74,19 +73,19 @@ interactions:
7473
content-md5:
7574
- XrY7u+Ae7tCTyyK7j1rNww==
7675
date:
77-
- Wed, 20 Jan 2021 21:16:23 GMT
76+
- Wed, 03 Mar 2021 01:07:11 GMT
7877
etag:
79-
- '"0x8D8BD88A391E737"'
78+
- '"0x8D8DDE0AD146176"'
8079
last-modified:
81-
- Wed, 20 Jan 2021 21:16:23 GMT
80+
- Wed, 03 Mar 2021 01:07:11 GMT
8281
server:
8382
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
8483
x-ms-content-crc64:
8584
- vo7q9sPVKY0=
8685
x-ms-request-server-encrypted:
8786
- 'true'
8887
x-ms-version:
89-
- '2020-04-08'
88+
- '2020-06-12'
9089
status:
9190
code: 201
9291
message: Created
@@ -106,15 +105,15 @@ interactions:
106105
If-None-Match:
107106
- '*'
108107
User-Agent:
109-
- azsdk-python-storage-blob/12.7.0 Python/3.8.5 (Windows-10-10.0.19041-SP0)
108+
- azsdk-python-storage-blob/12.8.0 Python/3.8.5 (Windows-10-10.0.19041-SP0)
110109
x-ms-blob-type:
111110
- BlockBlob
112111
x-ms-date:
113-
- Wed, 20 Jan 2021 21:16:22 GMT
112+
- Wed, 03 Mar 2021 01:07:12 GMT
114113
x-ms-encryption-algorithm:
115114
- AES256
116115
x-ms-version:
117-
- '2020-04-08'
116+
- '2020-06-12'
118117
method: PUT
119118
uri: https://storagename.blob.core.windows.net/container40320ffd/blob2
120119
response:
@@ -126,19 +125,19 @@ interactions:
126125
content-md5:
127126
- XrY7u+Ae7tCTyyK7j1rNww==
128127
date:
129-
- Wed, 20 Jan 2021 21:16:23 GMT
128+
- Wed, 03 Mar 2021 01:07:11 GMT
130129
etag:
131-
- '"0x8D8BD88A39C22E5"'
130+
- '"0x8D8DDE0AD23CE8A"'
132131
last-modified:
133-
- Wed, 20 Jan 2021 21:16:23 GMT
132+
- Wed, 03 Mar 2021 01:07:12 GMT
134133
server:
135134
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
136135
x-ms-content-crc64:
137136
- vo7q9sPVKY0=
138137
x-ms-request-server-encrypted:
139138
- 'true'
140139
x-ms-version:
141-
- '2020-04-08'
140+
- '2020-06-12'
142141
status:
143142
code: 201
144143
message: Created
@@ -158,15 +157,15 @@ interactions:
158157
If-None-Match:
159158
- '*'
160159
User-Agent:
161-
- azsdk-python-storage-blob/12.7.0 Python/3.8.5 (Windows-10-10.0.19041-SP0)
160+
- azsdk-python-storage-blob/12.8.0 Python/3.8.5 (Windows-10-10.0.19041-SP0)
162161
x-ms-blob-type:
163162
- BlockBlob
164163
x-ms-date:
165-
- Wed, 20 Jan 2021 21:16:22 GMT
164+
- Wed, 03 Mar 2021 01:07:12 GMT
166165
x-ms-encryption-algorithm:
167166
- AES256
168167
x-ms-version:
169-
- '2020-04-08'
168+
- '2020-06-12'
170169
method: PUT
171170
uri: https://storagename.blob.core.windows.net/container40320ffd/blob3
172171
response:
@@ -178,19 +177,19 @@ interactions:
178177
content-md5:
179178
- XrY7u+Ae7tCTyyK7j1rNww==
180179
date:
181-
- Wed, 20 Jan 2021 21:16:23 GMT
180+
- Wed, 03 Mar 2021 01:07:11 GMT
182181
etag:
183-
- '"0x8D8BD88A3A65E8F"'
182+
- '"0x8D8DDE0AD2EF4D7"'
184183
last-modified:
185-
- Wed, 20 Jan 2021 21:16:23 GMT
184+
- Wed, 03 Mar 2021 01:07:12 GMT
186185
server:
187186
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
188187
x-ms-content-crc64:
189188
- vo7q9sPVKY0=
190189
x-ms-request-server-encrypted:
191190
- 'true'
192191
x-ms-version:
193-
- '2020-04-08'
192+
- '2020-06-12'
194193
status:
195194
code: 201
196195
message: Created
@@ -204,13 +203,13 @@ interactions:
204203
Connection:
205204
- keep-alive
206205
User-Agent:
207-
- azsdk-python-storage-blob/12.7.0 Python/3.8.5 (Windows-10-10.0.19041-SP0)
206+
- azsdk-python-storage-blob/12.8.0 Python/3.8.5 (Windows-10-10.0.19041-SP0)
208207
x-ms-date:
209-
- Wed, 20 Jan 2021 21:16:22 GMT
208+
- Wed, 03 Mar 2021 01:07:12 GMT
210209
x-ms-encryption-algorithm:
211210
- AES256
212211
x-ms-version:
213-
- '2020-04-08'
212+
- '2020-06-12'
214213
method: HEAD
215214
uri: https://storagename.blob.core.windows.net/container40320ffd/blob1
216215
response:
@@ -226,11 +225,11 @@ interactions:
226225
content-type:
227226
- application/octet-stream
228227
date:
229-
- Wed, 20 Jan 2021 21:16:23 GMT
228+
- Wed, 03 Mar 2021 01:07:11 GMT
230229
etag:
231-
- '"0x8D8BD88A391E737"'
230+
- '"0x8D8DDE0AD146176"'
232231
last-modified:
233-
- Wed, 20 Jan 2021 21:16:23 GMT
232+
- Wed, 03 Mar 2021 01:07:11 GMT
234233
server:
235234
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
236235
vary:
@@ -242,29 +241,29 @@ interactions:
242241
x-ms-blob-type:
243242
- BlockBlob
244243
x-ms-creation-time:
245-
- Wed, 20 Jan 2021 21:16:23 GMT
244+
- Wed, 03 Mar 2021 01:07:11 GMT
246245
x-ms-lease-state:
247246
- available
248247
x-ms-lease-status:
249248
- unlocked
250249
x-ms-server-encrypted:
251250
- 'true'
252251
x-ms-version:
253-
- '2020-04-08'
252+
- '2020-06-12'
254253
status:
255254
code: 200
256255
message: OK
257256
- request:
258-
body: "--===============1216683920==\r\nContent-Type: application/http\r\nContent-Transfer-Encoding:
257+
body: "--===============0557771650==\r\nContent-Type: application/http\r\nContent-Transfer-Encoding:
259258
binary\r\nContent-ID: 0\r\n\r\nDELETE /container40320ffd/blob1? HTTP/1.1\r\nIf-Match:
260-
\"0x8D8BD88A391E737\"\r\nx-ms-date: Wed, 20 Jan 2021 21:16:22 GMT\r\nx-ms-client-request-id:
261-
bf40f64b-5b64-11eb-87a7-c8348e5fffbc\r\nAuthorization: SharedKey emilydevtest:6wfTuhqimw/gXnTdMa6a4/V5ZNv2GyuWx6xH4WDcY6g=\r\n\r\n\r\n--===============1216683920==\r\nContent-Type:
259+
\"0x8D8DDE0AD146176\"\r\nx-ms-date: Wed, 03 Mar 2021 01:07:12 GMT\r\nx-ms-client-request-id:
260+
c968b661-7bbc-11eb-880e-c8348e5fffbf\r\nAuthorization: SharedKey storagename:fake_shared_key=\r\n\r\n\r\n--===============0557771650==\r\nContent-Type:
262261
application/http\r\nContent-Transfer-Encoding: binary\r\nContent-ID: 1\r\n\r\nDELETE
263-
/container40320ffd/blob2? HTTP/1.1\r\nx-ms-date: Wed, 20 Jan 2021 21:16:22 GMT\r\nx-ms-client-request-id:
264-
bf411d52-5b64-11eb-8730-c8348e5fffbc\r\nAuthorization: SharedKey emilydevtest:z8U0YHpqobg5WwidHdcWKLwEYPbakut1/BOQ4Va0l0Q=\r\n\r\n\r\n--===============1216683920==\r\nContent-Type:
262+
/container40320ffd/blob2? HTTP/1.1\r\nx-ms-date: Wed, 03 Mar 2021 01:07:12 GMT\r\nx-ms-client-request-id:
263+
c968b662-7bbc-11eb-85cb-c8348e5fffbf\r\nAuthorization: SharedKey storagename:fake_shared_key=\r\n\r\n\r\n--===============0557771650==\r\nContent-Type:
265264
application/http\r\nContent-Transfer-Encoding: binary\r\nContent-ID: 2\r\n\r\nDELETE
266-
/container40320ffd/blob3? HTTP/1.1\r\nx-ms-date: Wed, 20 Jan 2021 21:16:22 GMT\r\nx-ms-client-request-id:
267-
bf411d53-5b64-11eb-9db3-c8348e5fffbc\r\nAuthorization: SharedKey emilydevtest:YYc6L0x5vv3/GWf2lJHXrgo62+BxFHtWVhQryaOWCeQ=\r\n\r\n\r\n--===============1216683920==--\r\n"
265+
/container40320ffd/blob3? HTTP/1.1\r\nx-ms-date: Wed, 03 Mar 2021 01:07:12 GMT\r\nx-ms-client-request-id:
266+
c968dd73-7bbc-11eb-8eac-c8348e5fffbf\r\nAuthorization: SharedKey storagename:fake_shared_key=\r\n\r\n\r\n--===============0557771650==--\r\n"
268267
headers:
269268
Accept:
270269
- '*/*'
@@ -275,41 +274,41 @@ interactions:
275274
Content-Length:
276275
- '1114'
277276
Content-Type:
278-
- multipart/mixed; boundary================1216683920==
277+
- multipart/mixed; boundary================0557771650==
279278
User-Agent:
280-
- azsdk-python-storage-blob/12.7.0 Python/3.8.5 (Windows-10-10.0.19041-SP0)
279+
- azsdk-python-storage-blob/12.8.0 Python/3.8.5 (Windows-10-10.0.19041-SP0)
281280
x-ms-date:
282-
- Wed, 20 Jan 2021 21:16:22 GMT
281+
- Wed, 03 Mar 2021 01:07:12 GMT
283282
x-ms-version:
284-
- '2020-04-08'
283+
- '2020-06-12'
285284
method: POST
286285
uri: https://storagename.blob.core.windows.net/container40320ffd?restype=container&comp=batch
287286
response:
288287
body:
289-
string: "--batchresponse_caba0e34-3e72-43cf-a8b2-92942b3737d5\r\nContent-Type:
288+
string: "--batchresponse_182ded06-cc0d-4220-aad0-d741e39ccc7e\r\nContent-Type:
290289
application/http\r\nContent-ID: 0\r\n\r\nHTTP/1.1 202 Accepted\r\nx-ms-delete-type-permanent:
291-
true\r\nx-ms-request-id: ce1ea4ba-101e-0066-6571-ef1cd41e4b63\r\nx-ms-version:
292-
2020-04-08\r\nx-ms-client-request-id: bf40f64b-5b64-11eb-87a7-c8348e5fffbc\r\nServer:
293-
Windows-Azure-Blob/1.0\r\n\r\n--batchresponse_caba0e34-3e72-43cf-a8b2-92942b3737d5\r\nContent-Type:
290+
true\r\nx-ms-request-id: 8592c0db-f01e-006e-20c9-0f06db1e8012\r\nx-ms-version:
291+
2020-06-12\r\nx-ms-client-request-id: c968b661-7bbc-11eb-880e-c8348e5fffbf\r\nServer:
292+
Windows-Azure-Blob/1.0\r\n\r\n--batchresponse_182ded06-cc0d-4220-aad0-d741e39ccc7e\r\nContent-Type:
294293
application/http\r\nContent-ID: 1\r\n\r\nHTTP/1.1 202 Accepted\r\nx-ms-delete-type-permanent:
295-
true\r\nx-ms-request-id: ce1ea4ba-101e-0066-6571-ef1cd41e4b65\r\nx-ms-version:
296-
2020-04-08\r\nx-ms-client-request-id: bf411d52-5b64-11eb-8730-c8348e5fffbc\r\nServer:
297-
Windows-Azure-Blob/1.0\r\n\r\n--batchresponse_caba0e34-3e72-43cf-a8b2-92942b3737d5\r\nContent-Type:
294+
true\r\nx-ms-request-id: 8592c0db-f01e-006e-20c9-0f06db1e8014\r\nx-ms-version:
295+
2020-06-12\r\nx-ms-client-request-id: c968b662-7bbc-11eb-85cb-c8348e5fffbf\r\nServer:
296+
Windows-Azure-Blob/1.0\r\n\r\n--batchresponse_182ded06-cc0d-4220-aad0-d741e39ccc7e\r\nContent-Type:
298297
application/http\r\nContent-ID: 2\r\n\r\nHTTP/1.1 202 Accepted\r\nx-ms-delete-type-permanent:
299-
true\r\nx-ms-request-id: ce1ea4ba-101e-0066-6571-ef1cd41e4b66\r\nx-ms-version:
300-
2020-04-08\r\nx-ms-client-request-id: bf411d53-5b64-11eb-9db3-c8348e5fffbc\r\nServer:
301-
Windows-Azure-Blob/1.0\r\n\r\n--batchresponse_caba0e34-3e72-43cf-a8b2-92942b3737d5--"
298+
true\r\nx-ms-request-id: 8592c0db-f01e-006e-20c9-0f06db1e8015\r\nx-ms-version:
299+
2020-06-12\r\nx-ms-client-request-id: c968dd73-7bbc-11eb-8eac-c8348e5fffbf\r\nServer:
300+
Windows-Azure-Blob/1.0\r\n\r\n--batchresponse_182ded06-cc0d-4220-aad0-d741e39ccc7e--"
302301
headers:
303302
content-type:
304-
- multipart/mixed; boundary=batchresponse_caba0e34-3e72-43cf-a8b2-92942b3737d5
303+
- multipart/mixed; boundary=batchresponse_182ded06-cc0d-4220-aad0-d741e39ccc7e
305304
date:
306-
- Wed, 20 Jan 2021 21:16:23 GMT
305+
- Wed, 03 Mar 2021 01:07:12 GMT
307306
server:
308307
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
309308
transfer-encoding:
310309
- chunked
311310
x-ms-version:
312-
- '2020-04-08'
311+
- '2020-06-12'
313312
status:
314313
code: 202
315314
message: Accepted

0 commit comments

Comments
 (0)