File: Test_BatchInsertMultipleEntities.yaml

package info (click to toggle)
golang-github-azure-azure-sdk-for-go 10.3.0~beta-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, experimental
  • size: 15,936 kB
  • ctags: 22,331
  • sloc: sh: 33; makefile: 8
file content (179 lines) | stat: -rw-r--r-- 9,138 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
---
version: 1
rwmutex: {}
interactions:
- request:
    body: |
      {"TableName":"tableme48tablebatchsuitetestbatc"}
    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('tableme48tablebatchsuitetestbatc')
      Date:
      - Thu, 20 Jul 2017 23:34:10 GMT
      Location:
      - https://golangrocksonazure.table.core.windows.net/Tables('tableme48tablebatchsuitetestbatc')
      Preference-Applied:
      - return-no-content
      Server:
      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
      X-Content-Type-Options:
      - nosniff
      X-Ms-Request-Id:
      - 875b8390-0002-0036-06b0-0102e5000000
      X-Ms-Version:
      - 2016-05-31
    status: 204 No Content
    code: 204
- request:
    body: "--batch_ef30a919-6da3-11e7-98ae-6c3be5272b75\r\nContent-Type: multipart/mixed;
      boundary=changeset_ef30a919-6da3-11e7-98ad-6c3be5272b75\r\n\r\n\r\n--changeset_ef30a919-6da3-11e7-98ad-6c3be5272b75\r\nContent-Transfer-Encoding:
      binary\r\nContent-Type: application/http\r\n\r\nPUT https://golangrocksonazure.table.core.windows.net/tableme48tablebatchsuitetestbatc%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_ef30a919-6da3-11e7-98ad-6c3be5272b75\r\nContent-Transfer-Encoding:
      binary\r\nContent-Type: application/http\r\n\r\nPUT https://golangrocksonazure.table.core.windows.net/tableme48tablebatchsuitetestbatc%28PartitionKey=%27mypartitionkey%27,%20RowKey=%27myrowkey2%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\":111.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\":\"myrowkey2\"}\r\n--changeset_ef30a919-6da3-11e7-98ad-6c3be5272b75--\r\n\r\n--batch_ef30a919-6da3-11e7-98ae-6c3be5272b75--\r\n"
    form: {}
    headers:
      Authorization:
      - SharedKey golangrocksonazure:pIYjrohstaWPRYFMNuYVUyxlUxdq9aCRNGHAjzi/zDo=
      Content-Type:
      - multipart/mixed; boundary=batch_ef30a919-6da3-11e7-98ae-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_7ef4657c-3d03-4124-be07-7d71bd88808d\r\nContent-Type: multipart/mixed;
      boundary=changesetresponse_ee6a4d77-21ad-4ba2-93f3-e410608d55e0\r\n\r\n--changesetresponse_ee6a4d77-21ad-4ba2-93f3-e410608d55e0\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.310459Z'\"\r\n\r\n\r\n--changesetresponse_ee6a4d77-21ad-4ba2-93f3-e410608d55e0\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.310459Z'\"\r\n\r\n\r\n--changesetresponse_ee6a4d77-21ad-4ba2-93f3-e410608d55e0--\r\n--batchresponse_7ef4657c-3d03-4124-be07-7d71bd88808d--\r\n"
    headers:
      Cache-Control:
      - no-cache
      Content-Type:
      - multipart/mixed; boundary=batchresponse_7ef4657c-3d03-4124-be07-7d71bd88808d
      Date:
      - Thu, 20 Jul 2017 23:34:10 GMT
      Server:
      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
      X-Content-Type-Options:
      - nosniff
      X-Ms-Request-Id:
      - 875b8393-0002-0036-08b0-0102e5000000
      X-Ms-Version:
      - 2016-05-31
    status: 202 Accepted
    code: 202
- request:
    body: ""
    form: {}
    headers:
      Accept:
      - application/json;odata=fullmetadata
      Authorization:
      - SharedKey golangrocksonazure:GqQQaMHDx7V1Tp0qG7gPxHtyxk29oBVbUBuXA3EbKOA=
      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/tableme48tablebatchsuitetestbatc?%24top=2&timeout=30
    method: GET
  response:
    body: '{"odata.metadata":"https://golangrocksonazure.table.core.windows.net/$metadata#tableme48tablebatchsuitetestbatc","value":[{"odata.type":"golangrocksonazure.tableme48tablebatchsuitetestbatc","odata.id":"https://golangrocksonazure.table.core.windows.net/tableme48tablebatchsuitetestbatc(PartitionKey=''mypartitionkey'',RowKey=''myrowkey'')","odata.etag":"W/\"datetime''2017-07-20T23%3A34%3A11.310459Z''\"","odata.editLink":"tableme48tablebatchsuitetestbatc(PartitionKey=''mypartitionkey'',RowKey=''myrowkey'')","PartitionKey":"mypartitionkey","RowKey":"myrowkey","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2017-07-20T23:34:11.310459Z","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"},{"odata.type":"golangrocksonazure.tableme48tablebatchsuitetestbatc","odata.id":"https://golangrocksonazure.table.core.windows.net/tableme48tablebatchsuitetestbatc(PartitionKey=''mypartitionkey'',RowKey=''myrowkey2'')","odata.etag":"W/\"datetime''2017-07-20T23%3A34%3A11.310459Z''\"","odata.editLink":"tableme48tablebatchsuitetestbatc(PartitionKey=''mypartitionkey'',RowKey=''myrowkey2'')","PartitionKey":"mypartitionkey","RowKey":"myrowkey2","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2017-07-20T23:34:11.310459Z","AmountDue":111.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:10 GMT
      Server:
      - Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
      X-Content-Type-Options:
      - nosniff
      X-Ms-Request-Id:
      - 875b8394-0002-0036-09b0-0102e5000000
      X-Ms-Version:
      - 2016-05-31
    status: 200 OK
    code: 200
- request:
    body: ""
    form: {}
    headers:
      Accept:
      - application/json;odata=nometadata
      Authorization:
      - SharedKey golangrocksonazure:C2/AbzBy6EIXnncmFLw7Ihs07QehLuu4iIgB/frygq0=
      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%27tableme48tablebatchsuitetestbatc%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:
      - 875b8395-0002-0036-0ab0-0102e5000000
      X-Ms-Version:
      - 2016-05-31
    status: 204 No Content
    code: 204