restic/vendor/github.com/Azure/azure-sdk-for-go/storage/recordings/TableBatchSuite/Test_BatchInsertThenDeleteD...

254 lines
10 KiB
YAML

---
version: 1
rwmutex: {}
interactions:
- request:
body: |
{"TableName":"table58tablebatchsuitetestbatchi"}
form: {}
headers:
Accept:
- application/json;odata=nometadata
Accept-Charset:
- UTF-8
Authorization:
- SharedKey golangrocksonazure:19qYKaIWscHZl0FyBetemFrlUveL2KInnVIO+UobRUI=
Content-Length:
- "49"
Content-Type:
- application/json
Prefer:
- return-no-content
User-Agent:
- Go/go1.9beta1 (amd64-windows) azure-storage-go/10.0.2 api-version/2016-05-31
table
x-ms-date:
- Thu, 20 Jul 2017 23:34:11 GMT
x-ms-version:
- 2016-05-31
url: https://golangrocksonazure.table.core.windows.net/Tables?timeout=30
method: POST
response:
body: ""
headers:
Cache-Control:
- no-cache
Content-Length:
- "0"
Dataserviceid:
- https://golangrocksonazure.table.core.windows.net/Tables('table58tablebatchsuitetestbatchi')
Date:
- Thu, 20 Jul 2017 23:34:11 GMT
Location:
- https://golangrocksonazure.table.core.windows.net/Tables('table58tablebatchsuitetestbatchi')
Preference-Applied:
- return-no-content
Server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
X-Content-Type-Options:
- nosniff
X-Ms-Request-Id:
- 875b839a-0002-0036-0eb0-0102e5000000
X-Ms-Version:
- 2016-05-31
status: 204 No Content
code: 204
- request:
body: "--batch_ef43b2d5-6da3-11e7-98b0-6c3be5272b75\r\nContent-Type: multipart/mixed;
boundary=changeset_ef43b2d5-6da3-11e7-98af-6c3be5272b75\r\n\r\n\r\n--changeset_ef43b2d5-6da3-11e7-98af-6c3be5272b75\r\nContent-Transfer-Encoding:
binary\r\nContent-Type: application/http\r\n\r\nPUT https://golangrocksonazure.table.core.windows.net/table58tablebatchsuitetestbatchi%28PartitionKey=%27mypartitionkey%27,%20RowKey=%27myrowkey%27%29
HTTP/1.1\r\nAccept: application/json;odata=minimalmetadata\r\nContent-Type:
application/json\r\nPrefer: return-no-content\r\n\r\n{\"AmountDue\":200.23,\"CustomerCode\":\"c9da6455-213d-42c9-9a79-3e9149a57833\",\"CustomerCode@odata.type\":\"Edm.Guid\",\"CustomerSince\":\"1992-12-20T21:55:00Z\",\"CustomerSince@odata.type\":\"Edm.DateTime\",\"IsActive\":true,\"NumberOfOrders\":\"255\",\"NumberOfOrders@odata.type\":\"Edm.Int64\",\"PartitionKey\":\"mypartitionkey\",\"RowKey\":\"myrowkey\"}\r\n--changeset_ef43b2d5-6da3-11e7-98af-6c3be5272b75--\r\n\r\n--batch_ef43b2d5-6da3-11e7-98b0-6c3be5272b75--\r\n"
form: {}
headers:
Authorization:
- SharedKey golangrocksonazure:xjZfYClYVTJOJ1tU/NvPY6WWQtmkF5OqVS93aTyxTkQ=
Content-Type:
- multipart/mixed; boundary=batch_ef43b2d5-6da3-11e7-98b0-6c3be5272b75
User-Agent:
- Go/go1.9beta1 (amd64-windows) azure-storage-go/10.0.2 api-version/2016-05-31
table
X-Ms-Date:
- Thu, 20 Jul 2017 23:34:11 GMT
X-Ms-Version:
- 2016-05-31
url: https://golangrocksonazure.table.core.windows.net/$batch
method: POST
response:
body: "--batchresponse_f1250f4a-401f-4ada-a9cb-c57703899695\r\nContent-Type: multipart/mixed;
boundary=changesetresponse_b3e59e13-302f-4f87-8eeb-688f3b054e6f\r\n\r\n--changesetresponse_b3e59e13-302f-4f87-8eeb-688f3b054e6f\r\nContent-Type:
application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No
Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nPreference-Applied:
return-no-content\r\nDataServiceVersion: 3.0;\r\nETag: W/\"datetime'2017-07-20T23%3A34%3A11.4335423Z'\"\r\n\r\n\r\n--changesetresponse_b3e59e13-302f-4f87-8eeb-688f3b054e6f--\r\n--batchresponse_f1250f4a-401f-4ada-a9cb-c57703899695--\r\n"
headers:
Cache-Control:
- no-cache
Content-Type:
- multipart/mixed; boundary=batchresponse_f1250f4a-401f-4ada-a9cb-c57703899695
Date:
- Thu, 20 Jul 2017 23:34:11 GMT
Server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
X-Content-Type-Options:
- nosniff
X-Ms-Request-Id:
- 875b839c-0002-0036-0fb0-0102e5000000
X-Ms-Version:
- 2016-05-31
status: 202 Accepted
code: 202
- request:
body: ""
form: {}
headers:
Accept:
- application/json;odata=fullmetadata
Authorization:
- SharedKey golangrocksonazure:ATu3YuroKjhD1Fnv6SzUC5vKGd7UmQsPNPIWL8mm7FA=
User-Agent:
- Go/go1.9beta1 (amd64-windows) azure-storage-go/10.0.2 api-version/2016-05-31
table
x-ms-date:
- Thu, 20 Jul 2017 23:34:11 GMT
x-ms-version:
- 2016-05-31
url: https://golangrocksonazure.table.core.windows.net/table58tablebatchsuitetestbatchi?%24top=2&timeout=30
method: GET
response:
body: '{"odata.metadata":"https://golangrocksonazure.table.core.windows.net/$metadata#table58tablebatchsuitetestbatchi","value":[{"odata.type":"golangrocksonazure.table58tablebatchsuitetestbatchi","odata.id":"https://golangrocksonazure.table.core.windows.net/table58tablebatchsuitetestbatchi(PartitionKey=''mypartitionkey'',RowKey=''myrowkey'')","odata.etag":"W/\"datetime''2017-07-20T23%3A34%3A11.4335423Z''\"","odata.editLink":"table58tablebatchsuitetestbatchi(PartitionKey=''mypartitionkey'',RowKey=''myrowkey'')","PartitionKey":"mypartitionkey","RowKey":"myrowkey","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2017-07-20T23:34:11.4335423Z","AmountDue":200.23,"CustomerCode@odata.type":"Edm.Guid","CustomerCode":"c9da6455-213d-42c9-9a79-3e9149a57833","CustomerSince@odata.type":"Edm.DateTime","CustomerSince":"1992-12-20T21:55:00Z","IsActive":true,"NumberOfOrders@odata.type":"Edm.Int64","NumberOfOrders":"255"}]}'
headers:
Cache-Control:
- no-cache
Content-Type:
- application/json;odata=fullmetadata;streaming=true;charset=utf-8
Date:
- Thu, 20 Jul 2017 23:34:11 GMT
Server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
X-Content-Type-Options:
- nosniff
X-Ms-Request-Id:
- 875b839d-0002-0036-10b0-0102e5000000
X-Ms-Version:
- 2016-05-31
status: 200 OK
code: 200
- request:
body: "--batch_ef4693ee-6da3-11e7-98b1-6c3be5272b75\r\nContent-Type: multipart/mixed;
boundary=changeset_ef4693ee-6da3-11e7-98b0-6c3be5272b75\r\n\r\n\r\n--changeset_ef4693ee-6da3-11e7-98b0-6c3be5272b75\r\nContent-Transfer-Encoding:
binary\r\nContent-Type: application/http\r\n\r\nDELETE https://golangrocksonazure.table.core.windows.net/table58tablebatchsuitetestbatchi%28PartitionKey=%27mypartitionkey%27,%20RowKey=%27myrowkey%27%29
HTTP/1.1\r\nAccept: application/json;odata=minimalmetadata\r\nContent-Type:
application/json\r\nIf-Match: *\r\nPrefer: return-no-content\r\n\r\n\r\n--changeset_ef4693ee-6da3-11e7-98b0-6c3be5272b75--\r\n\r\n--batch_ef4693ee-6da3-11e7-98b1-6c3be5272b75--\r\n"
form: {}
headers:
Authorization:
- SharedKey golangrocksonazure:7QMgDil3hVjeRAmKHR//MRW2CbRt5kwFsgscp6oBexY=
Content-Type:
- multipart/mixed; boundary=batch_ef4693ee-6da3-11e7-98b1-6c3be5272b75
User-Agent:
- Go/go1.9beta1 (amd64-windows) azure-storage-go/10.0.2 api-version/2016-05-31
table
X-Ms-Date:
- Thu, 20 Jul 2017 23:34:11 GMT
X-Ms-Version:
- 2016-05-31
url: https://golangrocksonazure.table.core.windows.net/$batch
method: POST
response:
body: "--batchresponse_25ad2038-a6df-4100-923f-f0bb6c6fc612\r\nContent-Type: multipart/mixed;
boundary=changesetresponse_4f524076-9452-4381-a4e4-ad15fd393495\r\n\r\n--changesetresponse_4f524076-9452-4381-a4e4-ad15fd393495\r\nContent-Type:
application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204 No
Content\r\nX-Content-Type-Options: nosniff\r\nCache-Control: no-cache\r\nDataServiceVersion:
1.0;\r\n\r\n\r\n--changesetresponse_4f524076-9452-4381-a4e4-ad15fd393495--\r\n--batchresponse_25ad2038-a6df-4100-923f-f0bb6c6fc612--\r\n"
headers:
Cache-Control:
- no-cache
Content-Type:
- multipart/mixed; boundary=batchresponse_25ad2038-a6df-4100-923f-f0bb6c6fc612
Date:
- Thu, 20 Jul 2017 23:34:11 GMT
Server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
X-Content-Type-Options:
- nosniff
X-Ms-Request-Id:
- 875b839e-0002-0036-11b0-0102e5000000
X-Ms-Version:
- 2016-05-31
status: 202 Accepted
code: 202
- request:
body: ""
form: {}
headers:
Accept:
- application/json;odata=fullmetadata
Authorization:
- SharedKey golangrocksonazure:ATu3YuroKjhD1Fnv6SzUC5vKGd7UmQsPNPIWL8mm7FA=
User-Agent:
- Go/go1.9beta1 (amd64-windows) azure-storage-go/10.0.2 api-version/2016-05-31
table
x-ms-date:
- Thu, 20 Jul 2017 23:34:11 GMT
x-ms-version:
- 2016-05-31
url: https://golangrocksonazure.table.core.windows.net/table58tablebatchsuitetestbatchi?%24top=2&timeout=15
method: GET
response:
body: '{"odata.metadata":"https://golangrocksonazure.table.core.windows.net/$metadata#table58tablebatchsuitetestbatchi","value":[]}'
headers:
Cache-Control:
- no-cache
Content-Type:
- application/json;odata=fullmetadata;streaming=true;charset=utf-8
Date:
- Thu, 20 Jul 2017 23:34:11 GMT
Server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
X-Content-Type-Options:
- nosniff
X-Ms-Request-Id:
- 875b839f-0002-0036-12b0-0102e5000000
X-Ms-Version:
- 2016-05-31
status: 200 OK
code: 200
- request:
body: ""
form: {}
headers:
Accept:
- application/json;odata=nometadata
Authorization:
- SharedKey golangrocksonazure:faE0LSu1ImrYkrsQy7aphzNJFCVEhe+3tX8Bftglj0w=
Prefer:
- return-no-content
User-Agent:
- Go/go1.9beta1 (amd64-windows) azure-storage-go/10.0.2 api-version/2016-05-31
table
x-ms-date:
- Thu, 20 Jul 2017 23:34:11 GMT
x-ms-version:
- 2016-05-31
url: https://golangrocksonazure.table.core.windows.net/Tables%28%27table58tablebatchsuitetestbatchi%27%29?timeout=30
method: DELETE
response:
body: ""
headers:
Cache-Control:
- no-cache
Content-Length:
- "0"
Date:
- Thu, 20 Jul 2017 23:34:11 GMT
Server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
X-Content-Type-Options:
- nosniff
X-Ms-Request-Id:
- 875b83a0-0002-0036-13b0-0102e5000000
X-Ms-Version:
- 2016-05-31
status: 204 No Content
code: 204