restic/vendor/github.com/Azure/azure-sdk-for-go/storage/recordings/StorageEntitySuite/TestUpdate.yaml
2017-08-06 21:47:04 +02:00

289 lines
9.5 KiB
YAML

---
version: 1
rwmutex: {}
interactions:
- request:
body: |
{"TableName":"table29storageentitysuitetestupd"}
form: {}
headers:
Accept:
- application/json;odata=nometadata
Accept-Charset:
- UTF-8
Authorization:
- SharedKey golangrocksonazure:AI3ePSpVLqD19g+mXulm9H31qjWddHbgztLq37YCVjU=
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:06 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('table29storageentitysuitetestupd')
Date:
- Thu, 20 Jul 2017 23:34:05 GMT
Location:
- https://golangrocksonazure.table.core.windows.net/Tables('table29storageentitysuitetestupd')
Preference-Applied:
- return-no-content
Server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
X-Content-Type-Options:
- nosniff
X-Ms-Request-Id:
- 875b8229-0002-0036-43b0-0102e5000000
X-Ms-Version:
- 2016-05-31
status: 204 No Content
code: 204
- request:
body: '{"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"}'
form: {}
headers:
Accept:
- application/json;odata=fullmetadata
Accept-Charset:
- UTF-8
Authorization:
- SharedKey golangrocksonazure:OBwP+zofvIfL1l1WKfLqEJBuXVRR5S/jOGvSWmMnrac=
Content-Length:
- "323"
Content-Type:
- application/json
Prefer:
- return-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:06 GMT
x-ms-version:
- 2016-05-31
url: https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestupd
method: POST
response:
body: '{"odata.metadata":"https://golangrocksonazure.table.core.windows.net/$metadata#table29storageentitysuitetestupd/@Element","odata.type":"golangrocksonazure.table29storageentitysuitetestupd","odata.id":"https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestupd(PartitionKey=''mypartitionkey'',RowKey=''myrowkey'')","odata.etag":"W/\"datetime''2017-07-20T23%3A34%3A06.1417196Z''\"","odata.editLink":"table29storageentitysuitetestupd(PartitionKey=''mypartitionkey'',RowKey=''myrowkey'')","PartitionKey":"mypartitionkey","RowKey":"myrowkey","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2017-07-20T23:34:06.1417196Z","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:05 GMT
Etag:
- W/"datetime'2017-07-20T23%3A34%3A06.1417196Z'"
Location:
- https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestupd(PartitionKey='mypartitionkey',RowKey='myrowkey')
Preference-Applied:
- return-content
Server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
X-Content-Type-Options:
- nosniff
X-Ms-Request-Id:
- 875b822b-0002-0036-44b0-0102e5000000
X-Ms-Version:
- 2016-05-31
status: 201 Created
code: 201
- request:
body: '{"FamilyName":"Skywalker","HasEpicTheme":true,"Name":"Anakin","PartitionKey":"mypartitionkey","RowKey":"myrowkey"}'
form: {}
headers:
Accept:
- application/json;odata=nometadata
Accept-Charset:
- UTF-8
Authorization:
- SharedKey golangrocksonazure:zd7GlSbW43COv1K+UDx55rf6KiuDJKsron3WF+ihLio=
Content-Length:
- "114"
Content-Type:
- application/json
If-Match:
- W/"datetime'2017-07-20T23%3A34%3A06.1417196Z'"
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:06 GMT
x-ms-version:
- 2016-05-31
url: https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestupd%28PartitionKey=%27mypartitionkey%27,%20RowKey=%27myrowkey%27%29
method: PUT
response:
body: ""
headers:
Cache-Control:
- no-cache
Content-Length:
- "0"
Date:
- Thu, 20 Jul 2017 23:34:05 GMT
Etag:
- W/"datetime'2017-07-20T23%3A34%3A06.1427196Z'"
Preference-Applied:
- return-no-content
Server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
X-Content-Type-Options:
- nosniff
X-Ms-Request-Id:
- 875b822f-0002-0036-48b0-0102e5000000
X-Ms-Version:
- 2016-05-31
status: 204 No Content
code: 204
- request:
body: '{"FamilyName":"Skywalker","HasEpicTheme":true,"Name":"Anakin","PartitionKey":"mypartitionkey","RowKey":"myrowkey"}'
form: {}
headers:
Accept:
- application/json;odata=nometadata
Accept-Charset:
- UTF-8
Authorization:
- SharedKey golangrocksonazure:zd7GlSbW43COv1K+UDx55rf6KiuDJKsron3WF+ihLio=
Content-Length:
- "114"
Content-Type:
- application/json
If-Match:
- W/"datetime''2017-04-01T01%3A07%3A23.8881885Z''"
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:06 GMT
x-ms-version:
- 2016-05-31
url: https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestupd%28PartitionKey=%27mypartitionkey%27,%20RowKey=%27myrowkey%27%29
method: PUT
response:
body: '{"odata.error":{"code":"ConditionNotMet","message":{"lang":"en-US","value":"The
condition specified using HTTP conditional header(s) is not met.\nRequestId:875b8231-0002-0036-4ab0-0102e5000000\nTime:2017-07-20T23:34:06.1607332Z"}}}'
headers:
Content-Type:
- application/json;odata=nometadata;streaming=true;charset=utf-8
Date:
- Thu, 20 Jul 2017 23:34:05 GMT
Server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
X-Content-Type-Options:
- nosniff
X-Ms-Request-Id:
- 875b8231-0002-0036-4ab0-0102e5000000
X-Ms-Version:
- 2016-05-31
status: 412 Precondition Failed
code: 412
- request:
body: '{"FamilyName":"Organa","HasAwesomeDress":true,"Name":"Leia","PartitionKey":"mypartitionkey","RowKey":"myrowkey"}'
form: {}
headers:
Accept:
- application/json;odata=nometadata
Accept-Charset:
- UTF-8
Authorization:
- SharedKey golangrocksonazure:zd7GlSbW43COv1K+UDx55rf6KiuDJKsron3WF+ihLio=
Content-Length:
- "112"
Content-Type:
- application/json
If-Match:
- '*'
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:06 GMT
x-ms-version:
- 2016-05-31
url: https://golangrocksonazure.table.core.windows.net/table29storageentitysuitetestupd%28PartitionKey=%27mypartitionkey%27,%20RowKey=%27myrowkey%27%29
method: PUT
response:
body: ""
headers:
Cache-Control:
- no-cache
Content-Length:
- "0"
Date:
- Thu, 20 Jul 2017 23:34:05 GMT
Etag:
- W/"datetime'2017-07-20T23%3A34%3A06.1437196Z'"
Preference-Applied:
- return-no-content
Server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
X-Content-Type-Options:
- nosniff
X-Ms-Request-Id:
- 875b8232-0002-0036-4bb0-0102e5000000
X-Ms-Version:
- 2016-05-31
status: 204 No Content
code: 204
- request:
body: ""
form: {}
headers:
Accept:
- application/json;odata=nometadata
Authorization:
- SharedKey golangrocksonazure:aZmUvOVKai8L2/VkhLEnxCY9Nao6PCqJktue5/muzac=
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:06 GMT
x-ms-version:
- 2016-05-31
url: https://golangrocksonazure.table.core.windows.net/Tables%28%27table29storageentitysuitetestupd%27%29?timeout=30
method: DELETE
response:
body: ""
headers:
Cache-Control:
- no-cache
Content-Length:
- "0"
Date:
- Thu, 20 Jul 2017 23:34:05 GMT
Server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
X-Content-Type-Options:
- nosniff
X-Ms-Request-Id:
- 875b8234-0002-0036-4db0-0102e5000000
X-Ms-Version:
- 2016-05-31
status: 204 No Content
code: 204