my_john_deere_api 2.3.7 → 2.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/lib/my_john_deere_api.rb +1 -0
  3. data/lib/my_john_deere_api/client.rb +13 -3
  4. data/lib/my_john_deere_api/net_http_retry.rb +2 -0
  5. data/lib/my_john_deere_api/net_http_retry/decorator.rb +53 -0
  6. data/lib/my_john_deere_api/net_http_retry/max_retries_exceeded_error.rb +20 -0
  7. data/lib/my_john_deere_api/version.rb +1 -1
  8. data/test/lib/my_john_deere_api/client_test.rb +20 -3
  9. data/test/lib/my_john_deere_api/errors/max_retries_exceeded_error_test.rb +13 -0
  10. data/test/lib/my_john_deere_api/net_http_retry/decorator_test.rb +163 -0
  11. data/test/support/helper.rb +1 -0
  12. data/test/support/vcr/accessor/delete_failed.yml +327 -0
  13. data/test/support/vcr/accessor/delete_max_failed.yml +615 -0
  14. data/test/support/vcr/accessor/delete_retry.yml +191 -0
  15. data/test/support/vcr/accessor/delete_retry_too_soon.yml +191 -0
  16. data/test/support/vcr/accessor/get_failed.yml +390 -0
  17. data/test/support/vcr/accessor/get_max_failed.yml +734 -0
  18. data/test/support/vcr/accessor/get_retry.yml +226 -0
  19. data/test/support/vcr/accessor/get_retry_too_soon.yml +226 -0
  20. data/test/support/vcr/accessor/post_failed.yml +417 -0
  21. data/test/support/vcr/accessor/post_max_failed.yml +785 -0
  22. data/test/support/vcr/accessor/post_retry.yml +241 -0
  23. data/test/support/vcr/accessor/post_retry_too_soon.yml +241 -0
  24. data/test/support/vcr/accessor/put_failed.yml +372 -0
  25. data/test/support/vcr/accessor/put_max_failed.yml +700 -0
  26. data/test/support/vcr/accessor/put_retry.yml +216 -0
  27. data/test/support/vcr/accessor/put_retry_too_soon.yml +216 -0
  28. metadata +23 -2
@@ -0,0 +1,372 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: put
5
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
9
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
10
+ headers:
11
+ Accept:
12
+ - application/vnd.deere.axiom.v3+json
13
+ Content-Type:
14
+ - application/vnd.deere.axiom.v3+json
15
+ Accept-Encoding:
16
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
17
+ User-Agent:
18
+ - OAuth gem v0.5.4
19
+ Content-Length:
20
+ - '267'
21
+ Authorization:
22
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
23
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
24
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
25
+ oauth_version="1.0"
26
+ response:
27
+ status:
28
+ code: 429
29
+ message: Too Many Requests
30
+ headers:
31
+ Date:
32
+ - Mon, 10 Feb 2020 17:29:30 GMT
33
+ X-Deere-Handling-Server:
34
+ - ip-10-214-44-33
35
+ X-Frame-Options:
36
+ - SAMEORIGIN
37
+ X-Deere-Elapsed-Ms:
38
+ - '185'
39
+ body:
40
+ encoding: UTF-8
41
+ string: ''
42
+ http_version:
43
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
44
+ - request:
45
+ method: put
46
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
50
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
51
+ headers:
52
+ Accept:
53
+ - application/vnd.deere.axiom.v3+json
54
+ Content-Type:
55
+ - application/vnd.deere.axiom.v3+json
56
+ Accept-Encoding:
57
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
58
+ User-Agent:
59
+ - OAuth gem v0.5.4
60
+ Content-Length:
61
+ - '267'
62
+ Authorization:
63
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
64
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
65
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
66
+ oauth_version="1.0"
67
+ response:
68
+ status:
69
+ code: 429
70
+ message: Too Many Requests
71
+ headers:
72
+ Date:
73
+ - Mon, 10 Feb 2020 17:29:30 GMT
74
+ X-Deere-Handling-Server:
75
+ - ip-10-214-44-33
76
+ X-Frame-Options:
77
+ - SAMEORIGIN
78
+ X-Deere-Elapsed-Ms:
79
+ - '185'
80
+ body:
81
+ encoding: UTF-8
82
+ string: ''
83
+ http_version:
84
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
85
+ - request:
86
+ method: put
87
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
88
+ body:
89
+ encoding: UTF-8
90
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
91
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
92
+ headers:
93
+ Accept:
94
+ - application/vnd.deere.axiom.v3+json
95
+ Content-Type:
96
+ - application/vnd.deere.axiom.v3+json
97
+ Accept-Encoding:
98
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
99
+ User-Agent:
100
+ - OAuth gem v0.5.4
101
+ Content-Length:
102
+ - '267'
103
+ Authorization:
104
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
105
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
106
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
107
+ oauth_version="1.0"
108
+ response:
109
+ status:
110
+ code: 503
111
+ message: Service Unavailable
112
+ headers:
113
+ Date:
114
+ - Mon, 10 Feb 2020 17:29:30 GMT
115
+ X-Deere-Handling-Server:
116
+ - ip-10-214-44-33
117
+ X-Frame-Options:
118
+ - SAMEORIGIN
119
+ X-Deere-Elapsed-Ms:
120
+ - '185'
121
+ body:
122
+ encoding: UTF-8
123
+ string: ''
124
+ http_version:
125
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
126
+ - request:
127
+ method: put
128
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
129
+ body:
130
+ encoding: UTF-8
131
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
132
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
133
+ headers:
134
+ Accept:
135
+ - application/vnd.deere.axiom.v3+json
136
+ Content-Type:
137
+ - application/vnd.deere.axiom.v3+json
138
+ Accept-Encoding:
139
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
140
+ User-Agent:
141
+ - OAuth gem v0.5.4
142
+ Content-Length:
143
+ - '267'
144
+ Authorization:
145
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
146
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
147
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
148
+ oauth_version="1.0"
149
+ response:
150
+ status:
151
+ code: 503
152
+ message: Service Unavailable
153
+ headers:
154
+ Date:
155
+ - Mon, 10 Feb 2020 17:29:30 GMT
156
+ X-Deere-Handling-Server:
157
+ - ip-10-214-44-33
158
+ X-Frame-Options:
159
+ - SAMEORIGIN
160
+ X-Deere-Elapsed-Ms:
161
+ - '185'
162
+ body:
163
+ encoding: UTF-8
164
+ string: ''
165
+ http_version:
166
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
167
+ - request:
168
+ method: put
169
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
170
+ body:
171
+ encoding: UTF-8
172
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
173
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
174
+ headers:
175
+ Accept:
176
+ - application/vnd.deere.axiom.v3+json
177
+ Content-Type:
178
+ - application/vnd.deere.axiom.v3+json
179
+ Accept-Encoding:
180
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
181
+ User-Agent:
182
+ - OAuth gem v0.5.4
183
+ Content-Length:
184
+ - '267'
185
+ Authorization:
186
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
187
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
188
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
189
+ oauth_version="1.0"
190
+ response:
191
+ status:
192
+ code: 429
193
+ message: Too Many Requests
194
+ headers:
195
+ Date:
196
+ - Mon, 10 Feb 2020 17:29:30 GMT
197
+ X-Deere-Handling-Server:
198
+ - ip-10-214-44-33
199
+ X-Frame-Options:
200
+ - SAMEORIGIN
201
+ X-Deere-Elapsed-Ms:
202
+ - '185'
203
+ body:
204
+ encoding: UTF-8
205
+ string: ''
206
+ http_version:
207
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
208
+ - request:
209
+ method: put
210
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
211
+ body:
212
+ encoding: UTF-8
213
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
214
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
215
+ headers:
216
+ Accept:
217
+ - application/vnd.deere.axiom.v3+json
218
+ Content-Type:
219
+ - application/vnd.deere.axiom.v3+json
220
+ Accept-Encoding:
221
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
222
+ User-Agent:
223
+ - OAuth gem v0.5.4
224
+ Content-Length:
225
+ - '267'
226
+ Authorization:
227
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
228
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
229
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
230
+ oauth_version="1.0"
231
+ response:
232
+ status:
233
+ code: 429
234
+ message: Too Many Requests
235
+ headers:
236
+ Date:
237
+ - Mon, 10 Feb 2020 17:29:30 GMT
238
+ X-Deere-Handling-Server:
239
+ - ip-10-214-44-33
240
+ X-Frame-Options:
241
+ - SAMEORIGIN
242
+ X-Deere-Elapsed-Ms:
243
+ - '185'
244
+ body:
245
+ encoding: UTF-8
246
+ string: ''
247
+ http_version:
248
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
249
+ - request:
250
+ method: put
251
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
252
+ body:
253
+ encoding: UTF-8
254
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
255
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
256
+ headers:
257
+ Accept:
258
+ - application/vnd.deere.axiom.v3+json
259
+ Content-Type:
260
+ - application/vnd.deere.axiom.v3+json
261
+ Accept-Encoding:
262
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
263
+ User-Agent:
264
+ - OAuth gem v0.5.4
265
+ Content-Length:
266
+ - '267'
267
+ Authorization:
268
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
269
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
270
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
271
+ oauth_version="1.0"
272
+ response:
273
+ status:
274
+ code: 503
275
+ message: Service Unavailable
276
+ headers:
277
+ Date:
278
+ - Mon, 10 Feb 2020 17:29:30 GMT
279
+ X-Deere-Handling-Server:
280
+ - ip-10-214-44-33
281
+ X-Frame-Options:
282
+ - SAMEORIGIN
283
+ X-Deere-Elapsed-Ms:
284
+ - '185'
285
+ body:
286
+ encoding: UTF-8
287
+ string: ''
288
+ http_version:
289
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
290
+ - request:
291
+ method: put
292
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
293
+ body:
294
+ encoding: UTF-8
295
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
296
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
297
+ headers:
298
+ Accept:
299
+ - application/vnd.deere.axiom.v3+json
300
+ Content-Type:
301
+ - application/vnd.deere.axiom.v3+json
302
+ Accept-Encoding:
303
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
304
+ User-Agent:
305
+ - OAuth gem v0.5.4
306
+ Content-Length:
307
+ - '267'
308
+ Authorization:
309
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
310
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
311
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
312
+ oauth_version="1.0"
313
+ response:
314
+ status:
315
+ code: 503
316
+ message: Service Unavailable
317
+ headers:
318
+ Date:
319
+ - Mon, 10 Feb 2020 17:29:30 GMT
320
+ X-Deere-Handling-Server:
321
+ - ip-10-214-44-33
322
+ X-Frame-Options:
323
+ - SAMEORIGIN
324
+ X-Deere-Elapsed-Ms:
325
+ - '185'
326
+ body:
327
+ encoding: UTF-8
328
+ string: ''
329
+ http_version:
330
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
331
+ - request:
332
+ method: put
333
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
334
+ body:
335
+ encoding: UTF-8
336
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
337
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
338
+ headers:
339
+ Accept:
340
+ - application/vnd.deere.axiom.v3+json
341
+ Content-Type:
342
+ - application/vnd.deere.axiom.v3+json
343
+ Accept-Encoding:
344
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
345
+ User-Agent:
346
+ - OAuth gem v0.5.4
347
+ Content-Length:
348
+ - '267'
349
+ Authorization:
350
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
351
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
352
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
353
+ oauth_version="1.0"
354
+ response:
355
+ status:
356
+ code: 204
357
+ message: No Content
358
+ headers:
359
+ Date:
360
+ - Mon, 10 Feb 2020 17:29:30 GMT
361
+ X-Deere-Handling-Server:
362
+ - ip-10-214-44-33
363
+ X-Frame-Options:
364
+ - SAMEORIGIN
365
+ X-Deere-Elapsed-Ms:
366
+ - '185'
367
+ body:
368
+ encoding: UTF-8
369
+ string: ''
370
+ http_version:
371
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
372
+ recorded_with: VCR 5.0.0
@@ -0,0 +1,700 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: put
5
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
9
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
10
+ headers:
11
+ Accept:
12
+ - application/vnd.deere.axiom.v3+json
13
+ Content-Type:
14
+ - application/vnd.deere.axiom.v3+json
15
+ Accept-Encoding:
16
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
17
+ User-Agent:
18
+ - OAuth gem v0.5.4
19
+ Content-Length:
20
+ - '267'
21
+ Authorization:
22
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
23
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
24
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
25
+ oauth_version="1.0"
26
+ response:
27
+ status:
28
+ code: 429
29
+ message: Too Many Requests
30
+ headers:
31
+ Date:
32
+ - Mon, 10 Feb 2020 17:29:30 GMT
33
+ X-Deere-Handling-Server:
34
+ - ip-10-214-44-33
35
+ X-Frame-Options:
36
+ - SAMEORIGIN
37
+ X-Deere-Elapsed-Ms:
38
+ - '185'
39
+ body:
40
+ encoding: UTF-8
41
+ string: ''
42
+ http_version:
43
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
44
+ - request:
45
+ method: put
46
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
50
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
51
+ headers:
52
+ Accept:
53
+ - application/vnd.deere.axiom.v3+json
54
+ Content-Type:
55
+ - application/vnd.deere.axiom.v3+json
56
+ Accept-Encoding:
57
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
58
+ User-Agent:
59
+ - OAuth gem v0.5.4
60
+ Content-Length:
61
+ - '267'
62
+ Authorization:
63
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
64
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
65
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
66
+ oauth_version="1.0"
67
+ response:
68
+ status:
69
+ code: 429
70
+ message: Too Many Requests
71
+ headers:
72
+ Date:
73
+ - Mon, 10 Feb 2020 17:29:30 GMT
74
+ X-Deere-Handling-Server:
75
+ - ip-10-214-44-33
76
+ X-Frame-Options:
77
+ - SAMEORIGIN
78
+ X-Deere-Elapsed-Ms:
79
+ - '185'
80
+ body:
81
+ encoding: UTF-8
82
+ string: ''
83
+ http_version:
84
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
85
+ - request:
86
+ method: put
87
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
88
+ body:
89
+ encoding: UTF-8
90
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
91
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
92
+ headers:
93
+ Accept:
94
+ - application/vnd.deere.axiom.v3+json
95
+ Content-Type:
96
+ - application/vnd.deere.axiom.v3+json
97
+ Accept-Encoding:
98
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
99
+ User-Agent:
100
+ - OAuth gem v0.5.4
101
+ Content-Length:
102
+ - '267'
103
+ Authorization:
104
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
105
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
106
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
107
+ oauth_version="1.0"
108
+ response:
109
+ status:
110
+ code: 503
111
+ message: Service Unavailable
112
+ headers:
113
+ Date:
114
+ - Mon, 10 Feb 2020 17:29:30 GMT
115
+ X-Deere-Handling-Server:
116
+ - ip-10-214-44-33
117
+ X-Frame-Options:
118
+ - SAMEORIGIN
119
+ X-Deere-Elapsed-Ms:
120
+ - '185'
121
+ body:
122
+ encoding: UTF-8
123
+ string: ''
124
+ http_version:
125
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
126
+ - request:
127
+ method: put
128
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
129
+ body:
130
+ encoding: UTF-8
131
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
132
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
133
+ headers:
134
+ Accept:
135
+ - application/vnd.deere.axiom.v3+json
136
+ Content-Type:
137
+ - application/vnd.deere.axiom.v3+json
138
+ Accept-Encoding:
139
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
140
+ User-Agent:
141
+ - OAuth gem v0.5.4
142
+ Content-Length:
143
+ - '267'
144
+ Authorization:
145
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
146
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
147
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
148
+ oauth_version="1.0"
149
+ response:
150
+ status:
151
+ code: 503
152
+ message: Service Unavailable
153
+ headers:
154
+ Date:
155
+ - Mon, 10 Feb 2020 17:29:30 GMT
156
+ X-Deere-Handling-Server:
157
+ - ip-10-214-44-33
158
+ X-Frame-Options:
159
+ - SAMEORIGIN
160
+ X-Deere-Elapsed-Ms:
161
+ - '185'
162
+ body:
163
+ encoding: UTF-8
164
+ string: ''
165
+ http_version:
166
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
167
+ - request:
168
+ method: put
169
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
170
+ body:
171
+ encoding: UTF-8
172
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
173
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
174
+ headers:
175
+ Accept:
176
+ - application/vnd.deere.axiom.v3+json
177
+ Content-Type:
178
+ - application/vnd.deere.axiom.v3+json
179
+ Accept-Encoding:
180
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
181
+ User-Agent:
182
+ - OAuth gem v0.5.4
183
+ Content-Length:
184
+ - '267'
185
+ Authorization:
186
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
187
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
188
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
189
+ oauth_version="1.0"
190
+ response:
191
+ status:
192
+ code: 429
193
+ message: Too Many Requests
194
+ headers:
195
+ Date:
196
+ - Mon, 10 Feb 2020 17:29:30 GMT
197
+ X-Deere-Handling-Server:
198
+ - ip-10-214-44-33
199
+ X-Frame-Options:
200
+ - SAMEORIGIN
201
+ X-Deere-Elapsed-Ms:
202
+ - '185'
203
+ body:
204
+ encoding: UTF-8
205
+ string: ''
206
+ http_version:
207
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
208
+ - request:
209
+ method: put
210
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
211
+ body:
212
+ encoding: UTF-8
213
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
214
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
215
+ headers:
216
+ Accept:
217
+ - application/vnd.deere.axiom.v3+json
218
+ Content-Type:
219
+ - application/vnd.deere.axiom.v3+json
220
+ Accept-Encoding:
221
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
222
+ User-Agent:
223
+ - OAuth gem v0.5.4
224
+ Content-Length:
225
+ - '267'
226
+ Authorization:
227
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
228
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
229
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
230
+ oauth_version="1.0"
231
+ response:
232
+ status:
233
+ code: 429
234
+ message: Too Many Requests
235
+ headers:
236
+ Date:
237
+ - Mon, 10 Feb 2020 17:29:30 GMT
238
+ X-Deere-Handling-Server:
239
+ - ip-10-214-44-33
240
+ X-Frame-Options:
241
+ - SAMEORIGIN
242
+ X-Deere-Elapsed-Ms:
243
+ - '185'
244
+ body:
245
+ encoding: UTF-8
246
+ string: ''
247
+ http_version:
248
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
249
+ - request:
250
+ method: put
251
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
252
+ body:
253
+ encoding: UTF-8
254
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
255
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
256
+ headers:
257
+ Accept:
258
+ - application/vnd.deere.axiom.v3+json
259
+ Content-Type:
260
+ - application/vnd.deere.axiom.v3+json
261
+ Accept-Encoding:
262
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
263
+ User-Agent:
264
+ - OAuth gem v0.5.4
265
+ Content-Length:
266
+ - '267'
267
+ Authorization:
268
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
269
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
270
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
271
+ oauth_version="1.0"
272
+ response:
273
+ status:
274
+ code: 503
275
+ message: Service Unavailable
276
+ headers:
277
+ Date:
278
+ - Mon, 10 Feb 2020 17:29:30 GMT
279
+ X-Deere-Handling-Server:
280
+ - ip-10-214-44-33
281
+ X-Frame-Options:
282
+ - SAMEORIGIN
283
+ X-Deere-Elapsed-Ms:
284
+ - '185'
285
+ body:
286
+ encoding: UTF-8
287
+ string: ''
288
+ http_version:
289
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
290
+ - request:
291
+ method: put
292
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
293
+ body:
294
+ encoding: UTF-8
295
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
296
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
297
+ headers:
298
+ Accept:
299
+ - application/vnd.deere.axiom.v3+json
300
+ Content-Type:
301
+ - application/vnd.deere.axiom.v3+json
302
+ Accept-Encoding:
303
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
304
+ User-Agent:
305
+ - OAuth gem v0.5.4
306
+ Content-Length:
307
+ - '267'
308
+ Authorization:
309
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
310
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
311
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
312
+ oauth_version="1.0"
313
+ response:
314
+ status:
315
+ code: 503
316
+ message: Service Unavailable
317
+ headers:
318
+ Date:
319
+ - Mon, 10 Feb 2020 17:29:30 GMT
320
+ X-Deere-Handling-Server:
321
+ - ip-10-214-44-33
322
+ X-Frame-Options:
323
+ - SAMEORIGIN
324
+ X-Deere-Elapsed-Ms:
325
+ - '185'
326
+ body:
327
+ encoding: UTF-8
328
+ string: ''
329
+ http_version:
330
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
331
+ - request:
332
+ method: put
333
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
334
+ body:
335
+ encoding: UTF-8
336
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
337
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
338
+ headers:
339
+ Accept:
340
+ - application/vnd.deere.axiom.v3+json
341
+ Content-Type:
342
+ - application/vnd.deere.axiom.v3+json
343
+ Accept-Encoding:
344
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
345
+ User-Agent:
346
+ - OAuth gem v0.5.4
347
+ Content-Length:
348
+ - '267'
349
+ Authorization:
350
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
351
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
352
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
353
+ oauth_version="1.0"
354
+ response:
355
+ status:
356
+ code: 429
357
+ message: Too Many Requests
358
+ headers:
359
+ Date:
360
+ - Mon, 10 Feb 2020 17:29:30 GMT
361
+ X-Deere-Handling-Server:
362
+ - ip-10-214-44-33
363
+ X-Frame-Options:
364
+ - SAMEORIGIN
365
+ X-Deere-Elapsed-Ms:
366
+ - '185'
367
+ body:
368
+ encoding: UTF-8
369
+ string: ''
370
+ http_version:
371
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
372
+ - request:
373
+ method: put
374
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
375
+ body:
376
+ encoding: UTF-8
377
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
378
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
379
+ headers:
380
+ Accept:
381
+ - application/vnd.deere.axiom.v3+json
382
+ Content-Type:
383
+ - application/vnd.deere.axiom.v3+json
384
+ Accept-Encoding:
385
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
386
+ User-Agent:
387
+ - OAuth gem v0.5.4
388
+ Content-Length:
389
+ - '267'
390
+ Authorization:
391
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
392
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
393
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
394
+ oauth_version="1.0"
395
+ response:
396
+ status:
397
+ code: 429
398
+ message: Too Many Requests
399
+ headers:
400
+ Date:
401
+ - Mon, 10 Feb 2020 17:29:30 GMT
402
+ X-Deere-Handling-Server:
403
+ - ip-10-214-44-33
404
+ X-Frame-Options:
405
+ - SAMEORIGIN
406
+ X-Deere-Elapsed-Ms:
407
+ - '185'
408
+ body:
409
+ encoding: UTF-8
410
+ string: ''
411
+ http_version:
412
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
413
+ - request:
414
+ method: put
415
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
416
+ body:
417
+ encoding: UTF-8
418
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
419
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
420
+ headers:
421
+ Accept:
422
+ - application/vnd.deere.axiom.v3+json
423
+ Content-Type:
424
+ - application/vnd.deere.axiom.v3+json
425
+ Accept-Encoding:
426
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
427
+ User-Agent:
428
+ - OAuth gem v0.5.4
429
+ Content-Length:
430
+ - '267'
431
+ Authorization:
432
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
433
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
434
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
435
+ oauth_version="1.0"
436
+ response:
437
+ status:
438
+ code: 503
439
+ message: Service Unavailable
440
+ headers:
441
+ Date:
442
+ - Mon, 10 Feb 2020 17:29:30 GMT
443
+ X-Deere-Handling-Server:
444
+ - ip-10-214-44-33
445
+ X-Frame-Options:
446
+ - SAMEORIGIN
447
+ X-Deere-Elapsed-Ms:
448
+ - '185'
449
+ body:
450
+ encoding: UTF-8
451
+ string: ''
452
+ http_version:
453
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
454
+ - request:
455
+ method: put
456
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
457
+ body:
458
+ encoding: UTF-8
459
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
460
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
461
+ headers:
462
+ Accept:
463
+ - application/vnd.deere.axiom.v3+json
464
+ Content-Type:
465
+ - application/vnd.deere.axiom.v3+json
466
+ Accept-Encoding:
467
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
468
+ User-Agent:
469
+ - OAuth gem v0.5.4
470
+ Content-Length:
471
+ - '267'
472
+ Authorization:
473
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
474
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
475
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
476
+ oauth_version="1.0"
477
+ response:
478
+ status:
479
+ code: 503
480
+ message: Service Unavailable
481
+ headers:
482
+ Date:
483
+ - Mon, 10 Feb 2020 17:29:30 GMT
484
+ X-Deere-Handling-Server:
485
+ - ip-10-214-44-33
486
+ X-Frame-Options:
487
+ - SAMEORIGIN
488
+ X-Deere-Elapsed-Ms:
489
+ - '185'
490
+ body:
491
+ encoding: UTF-8
492
+ string: ''
493
+ http_version:
494
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
495
+ - request:
496
+ method: put
497
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
498
+ body:
499
+ encoding: UTF-8
500
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
501
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
502
+ headers:
503
+ Accept:
504
+ - application/vnd.deere.axiom.v3+json
505
+ Content-Type:
506
+ - application/vnd.deere.axiom.v3+json
507
+ Accept-Encoding:
508
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
509
+ User-Agent:
510
+ - OAuth gem v0.5.4
511
+ Content-Length:
512
+ - '267'
513
+ Authorization:
514
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
515
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
516
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
517
+ oauth_version="1.0"
518
+ response:
519
+ status:
520
+ code: 429
521
+ message: Too Many Requests
522
+ headers:
523
+ Date:
524
+ - Mon, 10 Feb 2020 17:29:30 GMT
525
+ X-Deere-Handling-Server:
526
+ - ip-10-214-44-33
527
+ X-Frame-Options:
528
+ - SAMEORIGIN
529
+ X-Deere-Elapsed-Ms:
530
+ - '185'
531
+ body:
532
+ encoding: UTF-8
533
+ string: ''
534
+ http_version:
535
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
536
+ - request:
537
+ method: put
538
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
539
+ body:
540
+ encoding: UTF-8
541
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
542
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
543
+ headers:
544
+ Accept:
545
+ - application/vnd.deere.axiom.v3+json
546
+ Content-Type:
547
+ - application/vnd.deere.axiom.v3+json
548
+ Accept-Encoding:
549
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
550
+ User-Agent:
551
+ - OAuth gem v0.5.4
552
+ Content-Length:
553
+ - '267'
554
+ Authorization:
555
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
556
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
557
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
558
+ oauth_version="1.0"
559
+ response:
560
+ status:
561
+ code: 429
562
+ message: Too Many Requests
563
+ headers:
564
+ Date:
565
+ - Mon, 10 Feb 2020 17:29:30 GMT
566
+ X-Deere-Handling-Server:
567
+ - ip-10-214-44-33
568
+ X-Frame-Options:
569
+ - SAMEORIGIN
570
+ X-Deere-Elapsed-Ms:
571
+ - '185'
572
+ body:
573
+ encoding: UTF-8
574
+ string: ''
575
+ http_version:
576
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
577
+ - request:
578
+ method: put
579
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
580
+ body:
581
+ encoding: UTF-8
582
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
583
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
584
+ headers:
585
+ Accept:
586
+ - application/vnd.deere.axiom.v3+json
587
+ Content-Type:
588
+ - application/vnd.deere.axiom.v3+json
589
+ Accept-Encoding:
590
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
591
+ User-Agent:
592
+ - OAuth gem v0.5.4
593
+ Content-Length:
594
+ - '267'
595
+ Authorization:
596
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
597
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
598
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
599
+ oauth_version="1.0"
600
+ response:
601
+ status:
602
+ code: 503
603
+ message: Service Unavailable
604
+ headers:
605
+ Date:
606
+ - Mon, 10 Feb 2020 17:29:30 GMT
607
+ X-Deere-Handling-Server:
608
+ - ip-10-214-44-33
609
+ X-Frame-Options:
610
+ - SAMEORIGIN
611
+ X-Deere-Elapsed-Ms:
612
+ - '185'
613
+ body:
614
+ encoding: UTF-8
615
+ string: ''
616
+ http_version:
617
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
618
+ - request:
619
+ method: put
620
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
621
+ body:
622
+ encoding: UTF-8
623
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
624
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
625
+ headers:
626
+ Accept:
627
+ - application/vnd.deere.axiom.v3+json
628
+ Content-Type:
629
+ - application/vnd.deere.axiom.v3+json
630
+ Accept-Encoding:
631
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
632
+ User-Agent:
633
+ - OAuth gem v0.5.4
634
+ Content-Length:
635
+ - '267'
636
+ Authorization:
637
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
638
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
639
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
640
+ oauth_version="1.0"
641
+ response:
642
+ status:
643
+ code: 503
644
+ message: Service Unavailable
645
+ headers:
646
+ Date:
647
+ - Mon, 10 Feb 2020 17:29:30 GMT
648
+ X-Deere-Handling-Server:
649
+ - ip-10-214-44-33
650
+ X-Frame-Options:
651
+ - SAMEORIGIN
652
+ X-Deere-Elapsed-Ms:
653
+ - '185'
654
+ body:
655
+ encoding: UTF-8
656
+ string: ''
657
+ http_version:
658
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
659
+ - request:
660
+ method: put
661
+ uri: https://sandboxapi.deere.com/platform/assets/00000000-0000-0000-0000-000000000000
662
+ body:
663
+ encoding: UTF-8
664
+ string: '{"assetCategory":"DEVICE","assetType":"SENSOR","assetSubType":"ENVIRONMENTAL","title":"i
665
+ REALLY like turtles!","links":[{"@type":"Link","rel":"contributionDefinition","uri":"https://sandboxapi.deere.com/contributionDefinitions/00000000-0000-0000-0000-000000000000"}]}'
666
+ headers:
667
+ Accept:
668
+ - application/vnd.deere.axiom.v3+json
669
+ Content-Type:
670
+ - application/vnd.deere.axiom.v3+json
671
+ Accept-Encoding:
672
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
673
+ User-Agent:
674
+ - OAuth gem v0.5.4
675
+ Content-Length:
676
+ - '267'
677
+ Authorization:
678
+ - OAuth oauth_body_hash="JXqhMr0ayK5gfHyej3M1xuUfSbw%3D", oauth_consumer_key="johndeere-0000000000000000000000000000000000000000",
679
+ oauth_nonce="000000000000000000000000000000000000000000", oauth_signature="0000000000000000000000000000",
680
+ oauth_signature_method="HMAC-SHA1", oauth_timestamp="1581334172", oauth_token="00000000-0000-0000-0000-000000000000",
681
+ oauth_version="1.0"
682
+ response:
683
+ status:
684
+ code: 204
685
+ message: No Content
686
+ headers:
687
+ Date:
688
+ - Mon, 10 Feb 2020 17:29:30 GMT
689
+ X-Deere-Handling-Server:
690
+ - ip-10-214-44-33
691
+ X-Frame-Options:
692
+ - SAMEORIGIN
693
+ X-Deere-Elapsed-Ms:
694
+ - '185'
695
+ body:
696
+ encoding: UTF-8
697
+ string: ''
698
+ http_version:
699
+ recorded_at: Mon, 10 Feb 2020 17:29:30 GMT
700
+ recorded_with: VCR 5.0.0