toccatore 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +7 -5
  3. data/lib/toccatore/base.rb +29 -1
  4. data/lib/toccatore/cli.rb +2 -0
  5. data/lib/toccatore/images/toccatore.png +0 -0
  6. data/lib/toccatore/version.rb +1 -1
  7. data/spec/base_spec.rb +32 -0
  8. data/spec/cli_spec.rb +7 -1
  9. data/spec/fixtures/vcr_cassettes/Toccatore_Base/send_notification_to_slack/datacite_related.yml +56 -0
  10. data/spec/fixtures/vcr_cassettes/Toccatore_Base/send_notification_to_slack/datacite_related_no_works.yml +56 -0
  11. data/spec/fixtures/vcr_cassettes/Toccatore_Base/send_notification_to_slack/orcid_update.yml +56 -0
  12. data/spec/fixtures/vcr_cassettes/Toccatore_Base/send_notification_to_slack/orcid_update_no_works.yml +56 -0
  13. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_fail.yml +215 -406
  14. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_query_by_DOI.yml +141 -186
  15. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_query_by_related_identifier.yml +74 -47
  16. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_succeed.yml +617 -792
  17. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_succeed_with_no_works.yml +56 -3
  18. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_fail.yml +59 -6
  19. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_query_by_DOI.yml +162 -101
  20. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_query_by_ORCID_ID.yml +369 -278
  21. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_succeed.yml +295 -230
  22. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_succeed_with_no_works.yml +56 -3
  23. data/spec/spec_helper.rb +1 -0
  24. data/toccatore.gemspec +1 -0
  25. metadata +21 -3
  26. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_delete.yml +0 -73
@@ -23,18 +23,18 @@ http_interactions:
23
23
  Content-Type:
24
24
  - application/json;charset=UTF-8
25
25
  Date:
26
- - Sat, 11 Mar 2017 10:53:10 GMT
26
+ - Wed, 29 Mar 2017 13:24:00 GMT
27
27
  Server:
28
28
  - openresty/1.11.2.2
29
29
  Connection:
30
30
  - keep-alive
31
31
  body:
32
32
  encoding: UTF-8
33
- string: '{"responseHeader":{"status":0,"QTime":0},"response":{"numFound":1,"start":0,"docs":[]}}
33
+ string: '{"responseHeader":{"status":0,"QTime":1},"response":{"numFound":1,"start":0,"docs":[]}}
34
34
 
35
35
  '
36
36
  http_version:
37
- recorded_at: Sat, 11 Mar 2017 10:53:10 GMT
37
+ recorded_at: Wed, 29 Mar 2017 13:24:00 GMT
38
38
  - request:
39
39
  method: get
40
40
  uri: https://search.datacite.org/api?fl=doi,resourceTypeGeneral,relatedIdentifier,nameIdentifier,minted,updated&fq=updated:%5B2013-01-01T00:00:00Z%20TO%202017-12-31T23:59:59Z%5D%20AND%20has_metadata:true%20AND%20is_active:true&q=doi:10.5438/CT8B-X1CE&rows=1000&start=0&wt=json
@@ -58,18 +58,18 @@ http_interactions:
58
58
  Content-Type:
59
59
  - application/json;charset=UTF-8
60
60
  Date:
61
- - Sat, 11 Mar 2017 10:53:10 GMT
61
+ - Wed, 29 Mar 2017 13:24:01 GMT
62
62
  Server:
63
63
  - openresty/1.11.2.2
64
64
  Connection:
65
65
  - keep-alive
66
66
  body:
67
67
  encoding: UTF-8
68
- string: '{"responseHeader":{"status":0,"QTime":0},"response":{"numFound":1,"start":0,"docs":[{"minted":"2016-12-23T10:35:28Z","updated":"2017-01-09T13:53:10Z","doi":"10.5438/CT8B-X1CE","resourceTypeGeneral":"Text","relatedIdentifier":["References:URL:https://arxiv.org/abs/1501.04916","References:DOI:10.3398/064.075.0213","References:DOI:10.1002/2015JE004895","References:DOI:10.1371/JOURNAL.PBIO.1001687","References:DOI:10.1016/J.JAS.2015.02.009","References:URL:http://hdl.handle.net/10536/DRO/DU:30088291","References:DOI:10.1016/J.AEOLIA.2015.08.001","References:DOI:10.1007/S12209-016-2596-Z","References:DOI:10.5194/ESURFD-2-1005-2014","References:DOI:10.1371/JOURNAL.PONE.0105948","References:URL:https://www.ncbi.nlm.nih.gov/books/NBK7256","References:DOI:10.1016/J.BPJ.2015.04.023","References:DOI:10.1002/ESP.3677","References:DOI:10.1016/J.AEOLIA.2016.01.003","References:DOI:10.4172/2381-8719.1000256","References:DOI:10.1371/JOURNAL.PONE.0134826","References:DOI:10.1016/J.TREE.2010.11.006","IsPartOf:DOI:10.5438/0000-00SS"],"nameIdentifier":["ORCID:0000-0003-1419-2405"]}]}}
68
+ string: '{"responseHeader":{"status":0,"QTime":1},"response":{"numFound":1,"start":0,"docs":[{"minted":"2016-12-23T10:35:28Z","updated":"2017-01-09T13:53:10Z","doi":"10.5438/CT8B-X1CE","resourceTypeGeneral":"Text","relatedIdentifier":["References:URL:https://arxiv.org/abs/1501.04916","References:DOI:10.3398/064.075.0213","References:DOI:10.1002/2015JE004895","References:DOI:10.1371/JOURNAL.PBIO.1001687","References:DOI:10.1016/J.JAS.2015.02.009","References:URL:http://hdl.handle.net/10536/DRO/DU:30088291","References:DOI:10.1016/J.AEOLIA.2015.08.001","References:DOI:10.1007/S12209-016-2596-Z","References:DOI:10.5194/ESURFD-2-1005-2014","References:DOI:10.1371/JOURNAL.PONE.0105948","References:URL:https://www.ncbi.nlm.nih.gov/books/NBK7256","References:DOI:10.1016/J.BPJ.2015.04.023","References:DOI:10.1002/ESP.3677","References:DOI:10.1016/J.AEOLIA.2016.01.003","References:DOI:10.4172/2381-8719.1000256","References:DOI:10.1371/JOURNAL.PONE.0134826","References:DOI:10.1016/J.TREE.2010.11.006","IsPartOf:DOI:10.5438/0000-00SS"],"nameIdentifier":["ORCID:0000-0003-1419-2405"]}]}}
69
69
 
70
70
  '
71
71
  http_version:
72
- recorded_at: Sat, 11 Mar 2017 10:53:10 GMT
72
+ recorded_at: Wed, 29 Mar 2017 13:24:01 GMT
73
73
  - request:
74
74
  method: get
75
75
  uri: https://api.datacite.org/prefixes/10.3398
@@ -86,12 +86,10 @@ http_interactions:
86
86
  code: 200
87
87
  message: ''
88
88
  headers:
89
- Access-Control-Allow-Credentials:
90
- - 'true'
91
89
  Access-Control-Allow-Headers:
92
90
  - Content-Type,Accept,Accept-Encoding,Origin,User-Agent,Cache-Control,Keep-Alive
93
91
  Access-Control-Allow-Methods:
94
- - POST, GET, OPTIONS
92
+ - GET, POST, OPTIONS
95
93
  Access-Control-Allow-Origin:
96
94
  - "*"
97
95
  Access-Control-Max-Age:
@@ -101,7 +99,7 @@ http_interactions:
101
99
  Content-Type:
102
100
  - application/vnd.api+json; charset=utf-8
103
101
  Date:
104
- - Sat, 11 Mar 2017 10:53:11 GMT
102
+ - Wed, 29 Mar 2017 13:24:02 GMT
105
103
  Etag:
106
104
  - W/"7cf730cb403c033dba041619ed5a152f"
107
105
  Server:
@@ -110,26 +108,16 @@ http_interactions:
110
108
  - 200 OK
111
109
  Vary:
112
110
  - Accept-Encoding
113
- Via:
114
- - kong/0.10.0rc3
115
111
  X-Content-Type-Options:
116
112
  - nosniff
117
113
  X-Frame-Options:
118
114
  - SAMEORIGIN
119
- X-Kong-Proxy-Latency:
120
- - '20'
121
- X-Kong-Upstream-Latency:
122
- - '794'
123
115
  X-Powered-By:
124
116
  - Phusion Passenger 5.1.2
125
- X-Ratelimit-Limit-Hour:
126
- - '10000'
127
- X-Ratelimit-Remaining-Hour:
128
- - '9913'
129
117
  X-Request-Id:
130
- - e2c43db1-05e5-4b8a-8db4-88d487b238db
118
+ - c2b391d4-08be-4834-9a64-b7dbeb93c3d4
131
119
  X-Runtime:
132
- - '0.792479'
120
+ - '0.612701'
133
121
  X-Xss-Protection:
134
122
  - 1; mode=block
135
123
  Connection:
@@ -138,7 +126,7 @@ http_interactions:
138
126
  encoding: UTF-8
139
127
  string: '{"data":{"id":"10.3398","type":"prefixes","attributes":{"registration-agency":"Crossref","updated":"2016-09-21T21:02:24Z"}}}'
140
128
  http_version:
141
- recorded_at: Sat, 11 Mar 2017 10:53:11 GMT
129
+ recorded_at: Wed, 29 Mar 2017 13:24:02 GMT
142
130
  - request:
143
131
  method: get
144
132
  uri: https://api.datacite.org/prefixes/10.1002
@@ -155,12 +143,10 @@ http_interactions:
155
143
  code: 200
156
144
  message: ''
157
145
  headers:
158
- Access-Control-Allow-Credentials:
159
- - 'true'
160
146
  Access-Control-Allow-Headers:
161
147
  - Content-Type,Accept,Accept-Encoding,Origin,User-Agent,Cache-Control,Keep-Alive
162
148
  Access-Control-Allow-Methods:
163
- - POST, GET, OPTIONS
149
+ - GET, POST, OPTIONS
164
150
  Access-Control-Allow-Origin:
165
151
  - "*"
166
152
  Access-Control-Max-Age:
@@ -170,7 +156,7 @@ http_interactions:
170
156
  Content-Type:
171
157
  - application/vnd.api+json; charset=utf-8
172
158
  Date:
173
- - Sat, 11 Mar 2017 10:53:12 GMT
159
+ - Wed, 29 Mar 2017 13:24:03 GMT
174
160
  Etag:
175
161
  - W/"fd60f408ac5a8f5de6aabc61fc16b7b7"
176
162
  Server:
@@ -179,26 +165,16 @@ http_interactions:
179
165
  - 200 OK
180
166
  Vary:
181
167
  - Accept-Encoding
182
- Via:
183
- - kong/0.10.0rc3
184
168
  X-Content-Type-Options:
185
169
  - nosniff
186
170
  X-Frame-Options:
187
171
  - SAMEORIGIN
188
- X-Kong-Proxy-Latency:
189
- - '1'
190
- X-Kong-Upstream-Latency:
191
- - '521'
192
172
  X-Powered-By:
193
173
  - Phusion Passenger 5.1.2
194
- X-Ratelimit-Limit-Hour:
195
- - '10000'
196
- X-Ratelimit-Remaining-Hour:
197
- - '9912'
198
174
  X-Request-Id:
199
- - c0d7a391-773b-4174-acba-406228445b58
175
+ - a1f737c2-1f07-41ad-9110-7aeddb8dbac1
200
176
  X-Runtime:
201
- - '0.520202'
177
+ - '0.459592'
202
178
  X-Xss-Protection:
203
179
  - 1; mode=block
204
180
  Connection:
@@ -207,7 +183,7 @@ http_interactions:
207
183
  encoding: UTF-8
208
184
  string: '{"data":{"id":"10.1002","type":"prefixes","attributes":{"registration-agency":"Crossref","updated":"2016-09-21T20:45:22Z"}}}'
209
185
  http_version:
210
- recorded_at: Sat, 11 Mar 2017 10:53:12 GMT
186
+ recorded_at: Wed, 29 Mar 2017 13:24:03 GMT
211
187
  - request:
212
188
  method: get
213
189
  uri: https://api.datacite.org/prefixes/10.1371
@@ -224,12 +200,10 @@ http_interactions:
224
200
  code: 200
225
201
  message: ''
226
202
  headers:
227
- Access-Control-Allow-Credentials:
228
- - 'true'
229
203
  Access-Control-Allow-Headers:
230
204
  - Content-Type,Accept,Accept-Encoding,Origin,User-Agent,Cache-Control,Keep-Alive
231
205
  Access-Control-Allow-Methods:
232
- - POST, GET, OPTIONS
206
+ - GET, POST, OPTIONS
233
207
  Access-Control-Allow-Origin:
234
208
  - "*"
235
209
  Access-Control-Max-Age:
@@ -239,7 +213,7 @@ http_interactions:
239
213
  Content-Type:
240
214
  - application/vnd.api+json; charset=utf-8
241
215
  Date:
242
- - Sat, 11 Mar 2017 10:53:13 GMT
216
+ - Wed, 29 Mar 2017 13:24:04 GMT
243
217
  Etag:
244
218
  - W/"a078870f021fe1686525a8135b0e29b8"
245
219
  Server:
@@ -248,26 +222,16 @@ http_interactions:
248
222
  - 200 OK
249
223
  Vary:
250
224
  - Accept-Encoding
251
- Via:
252
- - kong/0.10.0rc3
253
225
  X-Content-Type-Options:
254
226
  - nosniff
255
227
  X-Frame-Options:
256
228
  - SAMEORIGIN
257
- X-Kong-Proxy-Latency:
258
- - '1'
259
- X-Kong-Upstream-Latency:
260
- - '583'
261
229
  X-Powered-By:
262
230
  - Phusion Passenger 5.1.2
263
- X-Ratelimit-Limit-Hour:
264
- - '10000'
265
- X-Ratelimit-Remaining-Hour:
266
- - '9911'
267
231
  X-Request-Id:
268
- - a27fbab9-de70-476d-b28f-39e7f76b4185
232
+ - 8fc9b5df-48f4-4b36-ba6e-112dbecb2b5c
269
233
  X-Runtime:
270
- - '0.582003'
234
+ - '0.628426'
271
235
  X-Xss-Protection:
272
236
  - 1; mode=block
273
237
  Connection:
@@ -276,7 +240,7 @@ http_interactions:
276
240
  encoding: UTF-8
277
241
  string: '{"data":{"id":"10.1371","type":"prefixes","attributes":{"registration-agency":"Crossref","updated":"2016-09-21T20:47:32Z"}}}'
278
242
  http_version:
279
- recorded_at: Sat, 11 Mar 2017 10:53:13 GMT
243
+ recorded_at: Wed, 29 Mar 2017 13:24:04 GMT
280
244
  - request:
281
245
  method: get
282
246
  uri: https://api.datacite.org/prefixes/10.1016
@@ -293,12 +257,10 @@ http_interactions:
293
257
  code: 200
294
258
  message: ''
295
259
  headers:
296
- Access-Control-Allow-Credentials:
297
- - 'true'
298
260
  Access-Control-Allow-Headers:
299
261
  - Content-Type,Accept,Accept-Encoding,Origin,User-Agent,Cache-Control,Keep-Alive
300
262
  Access-Control-Allow-Methods:
301
- - POST, GET, OPTIONS
263
+ - GET, POST, OPTIONS
302
264
  Access-Control-Allow-Origin:
303
265
  - "*"
304
266
  Access-Control-Max-Age:
@@ -308,7 +270,7 @@ http_interactions:
308
270
  Content-Type:
309
271
  - application/vnd.api+json; charset=utf-8
310
272
  Date:
311
- - Sat, 11 Mar 2017 10:53:14 GMT
273
+ - Wed, 29 Mar 2017 13:24:05 GMT
312
274
  Etag:
313
275
  - W/"7c9a7b8f563d4b464488ed2327095f44"
314
276
  Server:
@@ -317,26 +279,16 @@ http_interactions:
317
279
  - 200 OK
318
280
  Vary:
319
281
  - Accept-Encoding
320
- Via:
321
- - kong/0.10.0rc3
322
282
  X-Content-Type-Options:
323
283
  - nosniff
324
284
  X-Frame-Options:
325
285
  - SAMEORIGIN
326
- X-Kong-Proxy-Latency:
327
- - '1'
328
- X-Kong-Upstream-Latency:
329
- - '632'
330
286
  X-Powered-By:
331
287
  - Phusion Passenger 5.1.2
332
- X-Ratelimit-Limit-Hour:
333
- - '10000'
334
- X-Ratelimit-Remaining-Hour:
335
- - '9910'
336
288
  X-Request-Id:
337
- - bace1f17-746f-4c3f-aea7-6ec6c7926ae2
289
+ - 77f240a3-650b-443e-aeeb-248d16d50dcb
338
290
  X-Runtime:
339
- - '0.629494'
291
+ - '0.525723'
340
292
  X-Xss-Protection:
341
293
  - 1; mode=block
342
294
  Connection:
@@ -345,7 +297,7 @@ http_interactions:
345
297
  encoding: UTF-8
346
298
  string: '{"data":{"id":"10.1016","type":"prefixes","attributes":{"registration-agency":"Crossref","updated":"2016-09-21T20:45:22Z"}}}'
347
299
  http_version:
348
- recorded_at: Sat, 11 Mar 2017 10:53:14 GMT
300
+ recorded_at: Wed, 29 Mar 2017 13:24:05 GMT
349
301
  - request:
350
302
  method: get
351
303
  uri: https://api.datacite.org/prefixes/10.1007
@@ -362,12 +314,10 @@ http_interactions:
362
314
  code: 200
363
315
  message: ''
364
316
  headers:
365
- Access-Control-Allow-Credentials:
366
- - 'true'
367
317
  Access-Control-Allow-Headers:
368
318
  - Content-Type,Accept,Accept-Encoding,Origin,User-Agent,Cache-Control,Keep-Alive
369
319
  Access-Control-Allow-Methods:
370
- - POST, GET, OPTIONS
320
+ - GET, POST, OPTIONS
371
321
  Access-Control-Allow-Origin:
372
322
  - "*"
373
323
  Access-Control-Max-Age:
@@ -377,7 +327,7 @@ http_interactions:
377
327
  Content-Type:
378
328
  - application/vnd.api+json; charset=utf-8
379
329
  Date:
380
- - Sat, 11 Mar 2017 10:53:14 GMT
330
+ - Wed, 29 Mar 2017 13:24:06 GMT
381
331
  Etag:
382
332
  - W/"f53cde77e343e10a66e08694e07c9370"
383
333
  Server:
@@ -386,26 +336,16 @@ http_interactions:
386
336
  - 200 OK
387
337
  Vary:
388
338
  - Accept-Encoding
389
- Via:
390
- - kong/0.10.0rc3
391
339
  X-Content-Type-Options:
392
340
  - nosniff
393
341
  X-Frame-Options:
394
342
  - SAMEORIGIN
395
- X-Kong-Proxy-Latency:
396
- - '2'
397
- X-Kong-Upstream-Latency:
398
- - '537'
399
343
  X-Powered-By:
400
344
  - Phusion Passenger 5.1.2
401
- X-Ratelimit-Limit-Hour:
402
- - '10000'
403
- X-Ratelimit-Remaining-Hour:
404
- - '9909'
405
345
  X-Request-Id:
406
- - df920055-7660-4d2a-95cb-812cc4ae22b5
346
+ - ae0e47fb-6ac0-4f36-9f65-c307ea1d3122
407
347
  X-Runtime:
408
- - '0.535714'
348
+ - '0.268021'
409
349
  X-Xss-Protection:
410
350
  - 1; mode=block
411
351
  Connection:
@@ -414,7 +354,7 @@ http_interactions:
414
354
  encoding: UTF-8
415
355
  string: '{"data":{"id":"10.1007","type":"prefixes","attributes":{"registration-agency":"Crossref","updated":"2016-09-21T20:45:22Z"}}}'
416
356
  http_version:
417
- recorded_at: Sat, 11 Mar 2017 10:53:14 GMT
357
+ recorded_at: Wed, 29 Mar 2017 13:24:06 GMT
418
358
  - request:
419
359
  method: get
420
360
  uri: https://api.datacite.org/prefixes/10.5194
@@ -431,12 +371,10 @@ http_interactions:
431
371
  code: 200
432
372
  message: ''
433
373
  headers:
434
- Access-Control-Allow-Credentials:
435
- - 'true'
436
374
  Access-Control-Allow-Headers:
437
375
  - Content-Type,Accept,Accept-Encoding,Origin,User-Agent,Cache-Control,Keep-Alive
438
376
  Access-Control-Allow-Methods:
439
- - POST, GET, OPTIONS
377
+ - GET, POST, OPTIONS
440
378
  Access-Control-Allow-Origin:
441
379
  - "*"
442
380
  Access-Control-Max-Age:
@@ -446,7 +384,7 @@ http_interactions:
446
384
  Content-Type:
447
385
  - application/vnd.api+json; charset=utf-8
448
386
  Date:
449
- - Sat, 11 Mar 2017 10:53:15 GMT
387
+ - Wed, 29 Mar 2017 13:24:08 GMT
450
388
  Etag:
451
389
  - W/"1f042efb010583ff94ca58ba029fb502"
452
390
  Server:
@@ -455,26 +393,16 @@ http_interactions:
455
393
  - 200 OK
456
394
  Vary:
457
395
  - Accept-Encoding
458
- Via:
459
- - kong/0.10.0rc3
460
396
  X-Content-Type-Options:
461
397
  - nosniff
462
398
  X-Frame-Options:
463
399
  - SAMEORIGIN
464
- X-Kong-Proxy-Latency:
465
- - '26'
466
- X-Kong-Upstream-Latency:
467
- - '249'
468
400
  X-Powered-By:
469
401
  - Phusion Passenger 5.1.2
470
- X-Ratelimit-Limit-Hour:
471
- - '10000'
472
- X-Ratelimit-Remaining-Hour:
473
- - '9908'
474
402
  X-Request-Id:
475
- - 7fdf522c-e876-4372-bb91-e44ab2afee5a
403
+ - ce8a177a-b250-4bbc-a413-172c9c53e102
476
404
  X-Runtime:
477
- - '0.247254'
405
+ - '0.771816'
478
406
  X-Xss-Protection:
479
407
  - 1; mode=block
480
408
  Connection:
@@ -483,7 +411,7 @@ http_interactions:
483
411
  encoding: UTF-8
484
412
  string: '{"data":{"id":"10.5194","type":"prefixes","attributes":{"registration-agency":"Crossref","updated":"2016-09-21T21:04:33Z"}}}'
485
413
  http_version:
486
- recorded_at: Sat, 11 Mar 2017 10:53:15 GMT
414
+ recorded_at: Wed, 29 Mar 2017 13:24:08 GMT
487
415
  - request:
488
416
  method: get
489
417
  uri: https://api.datacite.org/prefixes/10.4172
@@ -500,12 +428,10 @@ http_interactions:
500
428
  code: 200
501
429
  message: ''
502
430
  headers:
503
- Access-Control-Allow-Credentials:
504
- - 'true'
505
431
  Access-Control-Allow-Headers:
506
432
  - Content-Type,Accept,Accept-Encoding,Origin,User-Agent,Cache-Control,Keep-Alive
507
433
  Access-Control-Allow-Methods:
508
- - POST, GET, OPTIONS
434
+ - GET, POST, OPTIONS
509
435
  Access-Control-Allow-Origin:
510
436
  - "*"
511
437
  Access-Control-Max-Age:
@@ -515,7 +441,7 @@ http_interactions:
515
441
  Content-Type:
516
442
  - application/vnd.api+json; charset=utf-8
517
443
  Date:
518
- - Sat, 11 Mar 2017 10:53:17 GMT
444
+ - Wed, 29 Mar 2017 13:24:09 GMT
519
445
  Etag:
520
446
  - W/"ab8bd9cae1af53dbd883afdd0d684d71"
521
447
  Server:
@@ -524,26 +450,16 @@ http_interactions:
524
450
  - 200 OK
525
451
  Vary:
526
452
  - Accept-Encoding
527
- Via:
528
- - kong/0.10.0rc3
529
453
  X-Content-Type-Options:
530
454
  - nosniff
531
455
  X-Frame-Options:
532
456
  - SAMEORIGIN
533
- X-Kong-Proxy-Latency:
534
- - '2'
535
- X-Kong-Upstream-Latency:
536
- - '1579'
537
457
  X-Powered-By:
538
458
  - Phusion Passenger 5.1.2
539
- X-Ratelimit-Limit-Hour:
540
- - '10000'
541
- X-Ratelimit-Remaining-Hour:
542
- - '9907'
543
459
  X-Request-Id:
544
- - 68d17312-2de3-4597-94af-0539adc676b7
460
+ - 8a0c9ec2-8568-447f-82ab-f2ea15c415ce
545
461
  X-Runtime:
546
- - '1.578423'
462
+ - '0.633629'
547
463
  X-Xss-Protection:
548
464
  - 1; mode=block
549
465
  Connection:
@@ -552,7 +468,7 @@ http_interactions:
552
468
  encoding: UTF-8
553
469
  string: '{"data":{"id":"10.4172","type":"prefixes","attributes":{"registration-agency":"Crossref","updated":"2016-09-21T21:03:31Z"}}}'
554
470
  http_version:
555
- recorded_at: Sat, 11 Mar 2017 10:53:17 GMT
471
+ recorded_at: Wed, 29 Mar 2017 13:24:09 GMT
556
472
  - request:
557
473
  method: get
558
474
  uri: https://api.datacite.org/prefixes/10.5438
@@ -569,12 +485,10 @@ http_interactions:
569
485
  code: 200
570
486
  message: ''
571
487
  headers:
572
- Access-Control-Allow-Credentials:
573
- - 'true'
574
488
  Access-Control-Allow-Headers:
575
489
  - Content-Type,Accept,Accept-Encoding,Origin,User-Agent,Cache-Control,Keep-Alive
576
490
  Access-Control-Allow-Methods:
577
- - POST, GET, OPTIONS
491
+ - GET, POST, OPTIONS
578
492
  Access-Control-Allow-Origin:
579
493
  - "*"
580
494
  Access-Control-Max-Age:
@@ -584,7 +498,7 @@ http_interactions:
584
498
  Content-Type:
585
499
  - application/vnd.api+json; charset=utf-8
586
500
  Date:
587
- - Sat, 11 Mar 2017 10:53:18 GMT
501
+ - Wed, 29 Mar 2017 13:24:10 GMT
588
502
  Etag:
589
503
  - W/"b9f2d79281c542db437c42a5bac25ac8"
590
504
  Server:
@@ -593,43 +507,31 @@ http_interactions:
593
507
  - 200 OK
594
508
  Vary:
595
509
  - Accept-Encoding
596
- Via:
597
- - kong/0.10.0rc3
598
510
  X-Content-Type-Options:
599
511
  - nosniff
600
512
  X-Frame-Options:
601
513
  - SAMEORIGIN
602
- X-Kong-Proxy-Latency:
603
- - '1'
604
- X-Kong-Upstream-Latency:
605
- - '1151'
606
514
  X-Powered-By:
607
515
  - Phusion Passenger 5.1.2
608
- X-Ratelimit-Limit-Hour:
609
- - '10000'
610
- X-Ratelimit-Remaining-Hour:
611
- - '9906'
612
516
  X-Request-Id:
613
- - 1056a352-0e69-4cf5-bc55-71a98aeb66ea
517
+ - 1a951b92-59da-4093-b0a4-b86075bbf96a
614
518
  X-Runtime:
615
- - '1.149475'
519
+ - '0.679528'
616
520
  X-Xss-Protection:
617
521
  - 1; mode=block
618
- Content-Length:
619
- - '124'
620
522
  Connection:
621
523
  - keep-alive
622
524
  body:
623
525
  encoding: UTF-8
624
526
  string: '{"data":{"id":"10.5438","type":"prefixes","attributes":{"registration-agency":"DataCite","updated":"2016-09-21T20:27:15Z"}}}'
625
527
  http_version:
626
- recorded_at: Sat, 11 Mar 2017 10:53:18 GMT
528
+ recorded_at: Wed, 29 Mar 2017 13:24:10 GMT
627
529
  - request:
628
530
  method: post
629
531
  uri: https://bus-staging.eventdata.crossref.org/events
630
532
  body:
631
533
  encoding: UTF-8
632
- string: '{"id":"20d8204b-5bf9-4d18-8ec2-0179688b7bfa","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.3398/064.075.0213","relation_type_id":"references","source_id":"datacite","occurred_at":"2016-12-23T10:35:28Z"}'
534
+ string: '{"id":"463696db-192b-40da-8657-a2778074513f","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.3398/064.075.0213","relation_type_id":"references","source_id":"datacite","source_token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred_at":"2016-12-23T10:35:28Z"}'
633
535
  headers:
634
536
  User-Agent:
635
537
  - Maremma - https://github.com/datacite/maremma
@@ -655,18 +557,18 @@ http_interactions:
655
557
  Server:
656
558
  - http-kit
657
559
  Date:
658
- - Sat, 11 Mar 2017 10:53:18 GMT
560
+ - Wed, 29 Mar 2017 13:24:11 GMT
659
561
  body:
660
562
  encoding: UTF-8
661
563
  string: ''
662
564
  http_version:
663
- recorded_at: Sat, 11 Mar 2017 10:53:18 GMT
565
+ recorded_at: Wed, 29 Mar 2017 13:24:11 GMT
664
566
  - request:
665
567
  method: post
666
568
  uri: https://bus-staging.eventdata.crossref.org/events
667
569
  body:
668
570
  encoding: UTF-8
669
- string: '{"id":"2427eaba-fcfb-49ca-b709-42900d11e029","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1002/2015je004895","relation_type_id":"references","source_id":"datacite","occurred_at":"2016-12-23T10:35:28Z"}'
571
+ string: '{"id":"8281e055-95a5-4bc8-a13e-4a9d8c616b79","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1002/2015je004895","relation_type_id":"references","source_id":"datacite","source_token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred_at":"2016-12-23T10:35:28Z"}'
670
572
  headers:
671
573
  User-Agent:
672
574
  - Maremma - https://github.com/datacite/maremma
@@ -692,18 +594,18 @@ http_interactions:
692
594
  Server:
693
595
  - http-kit
694
596
  Date:
695
- - Sat, 11 Mar 2017 10:53:19 GMT
597
+ - Wed, 29 Mar 2017 13:24:13 GMT
696
598
  body:
697
599
  encoding: UTF-8
698
600
  string: ''
699
601
  http_version:
700
- recorded_at: Sat, 11 Mar 2017 10:53:19 GMT
602
+ recorded_at: Wed, 29 Mar 2017 13:24:13 GMT
701
603
  - request:
702
604
  method: post
703
605
  uri: https://bus-staging.eventdata.crossref.org/events
704
606
  body:
705
607
  encoding: UTF-8
706
- string: '{"id":"f0067604-b1cb-4431-9715-e890a49729cc","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1371/journal.pbio.1001687","relation_type_id":"references","source_id":"datacite","occurred_at":"2016-12-23T10:35:28Z"}'
608
+ string: '{"id":"a87f9a86-4864-4977-a770-e715c737c4d0","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1371/journal.pbio.1001687","relation_type_id":"references","source_id":"datacite","source_token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred_at":"2016-12-23T10:35:28Z"}'
707
609
  headers:
708
610
  User-Agent:
709
611
  - Maremma - https://github.com/datacite/maremma
@@ -729,18 +631,18 @@ http_interactions:
729
631
  Server:
730
632
  - http-kit
731
633
  Date:
732
- - Sat, 11 Mar 2017 10:53:19 GMT
634
+ - Wed, 29 Mar 2017 13:24:14 GMT
733
635
  body:
734
636
  encoding: UTF-8
735
637
  string: ''
736
638
  http_version:
737
- recorded_at: Sat, 11 Mar 2017 10:53:19 GMT
639
+ recorded_at: Wed, 29 Mar 2017 13:24:14 GMT
738
640
  - request:
739
641
  method: post
740
642
  uri: https://bus-staging.eventdata.crossref.org/events
741
643
  body:
742
644
  encoding: UTF-8
743
- string: '{"id":"643ee548-4dd4-4e63-8ff1-e9bc38a65692","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1016/j.jas.2015.02.009","relation_type_id":"references","source_id":"datacite","occurred_at":"2016-12-23T10:35:28Z"}'
645
+ string: '{"id":"e27d52f8-0f65-41c8-88c5-ececa053c4fd","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1016/j.jas.2015.02.009","relation_type_id":"references","source_id":"datacite","source_token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred_at":"2016-12-23T10:35:28Z"}'
744
646
  headers:
745
647
  User-Agent:
746
648
  - Maremma - https://github.com/datacite/maremma
@@ -766,18 +668,18 @@ http_interactions:
766
668
  Server:
767
669
  - http-kit
768
670
  Date:
769
- - Sat, 11 Mar 2017 10:53:19 GMT
671
+ - Wed, 29 Mar 2017 13:24:14 GMT
770
672
  body:
771
673
  encoding: UTF-8
772
674
  string: ''
773
675
  http_version:
774
- recorded_at: Sat, 11 Mar 2017 10:53:19 GMT
676
+ recorded_at: Wed, 29 Mar 2017 13:24:14 GMT
775
677
  - request:
776
678
  method: post
777
679
  uri: https://bus-staging.eventdata.crossref.org/events
778
680
  body:
779
681
  encoding: UTF-8
780
- string: '{"id":"4c5491fc-a159-4852-985f-7b3bef97cf99","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1016/j.aeolia.2015.08.001","relation_type_id":"references","source_id":"datacite","occurred_at":"2016-12-23T10:35:28Z"}'
682
+ string: '{"id":"3e29bf78-a725-4d82-8e5f-efa3ff345762","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1016/j.aeolia.2015.08.001","relation_type_id":"references","source_id":"datacite","source_token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred_at":"2016-12-23T10:35:28Z"}'
781
683
  headers:
782
684
  User-Agent:
783
685
  - Maremma - https://github.com/datacite/maremma
@@ -803,18 +705,18 @@ http_interactions:
803
705
  Server:
804
706
  - http-kit
805
707
  Date:
806
- - Sat, 11 Mar 2017 10:53:19 GMT
708
+ - Wed, 29 Mar 2017 13:24:15 GMT
807
709
  body:
808
710
  encoding: UTF-8
809
711
  string: ''
810
712
  http_version:
811
- recorded_at: Sat, 11 Mar 2017 10:53:20 GMT
713
+ recorded_at: Wed, 29 Mar 2017 13:24:15 GMT
812
714
  - request:
813
715
  method: post
814
716
  uri: https://bus-staging.eventdata.crossref.org/events
815
717
  body:
816
718
  encoding: UTF-8
817
- string: '{"id":"13564ee8-5ae7-4063-9640-f52af0d2058e","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1007/s12209-016-2596-z","relation_type_id":"references","source_id":"datacite","occurred_at":"2016-12-23T10:35:28Z"}'
719
+ string: '{"id":"7666b9b9-3c53-4546-a8b5-38d796c884f3","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1007/s12209-016-2596-z","relation_type_id":"references","source_id":"datacite","source_token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred_at":"2016-12-23T10:35:28Z"}'
818
720
  headers:
819
721
  User-Agent:
820
722
  - Maremma - https://github.com/datacite/maremma
@@ -840,18 +742,18 @@ http_interactions:
840
742
  Server:
841
743
  - http-kit
842
744
  Date:
843
- - Sat, 11 Mar 2017 10:53:20 GMT
745
+ - Wed, 29 Mar 2017 13:24:15 GMT
844
746
  body:
845
747
  encoding: UTF-8
846
748
  string: ''
847
749
  http_version:
848
- recorded_at: Sat, 11 Mar 2017 10:53:20 GMT
750
+ recorded_at: Wed, 29 Mar 2017 13:24:15 GMT
849
751
  - request:
850
752
  method: post
851
753
  uri: https://bus-staging.eventdata.crossref.org/events
852
754
  body:
853
755
  encoding: UTF-8
854
- string: '{"id":"92177c98-2e1d-49a4-a34c-c879d29cc7be","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.5194/esurfd-2-1005-2014","relation_type_id":"references","source_id":"datacite","occurred_at":"2016-12-23T10:35:28Z"}'
756
+ string: '{"id":"1cac5167-0248-4130-b979-416120927fa8","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.5194/esurfd-2-1005-2014","relation_type_id":"references","source_id":"datacite","source_token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred_at":"2016-12-23T10:35:28Z"}'
855
757
  headers:
856
758
  User-Agent:
857
759
  - Maremma - https://github.com/datacite/maremma
@@ -877,18 +779,18 @@ http_interactions:
877
779
  Server:
878
780
  - http-kit
879
781
  Date:
880
- - Sat, 11 Mar 2017 10:53:20 GMT
782
+ - Wed, 29 Mar 2017 13:24:16 GMT
881
783
  body:
882
784
  encoding: UTF-8
883
785
  string: ''
884
786
  http_version:
885
- recorded_at: Sat, 11 Mar 2017 10:53:20 GMT
787
+ recorded_at: Wed, 29 Mar 2017 13:24:16 GMT
886
788
  - request:
887
789
  method: post
888
790
  uri: https://bus-staging.eventdata.crossref.org/events
889
791
  body:
890
792
  encoding: UTF-8
891
- string: '{"id":"cbbd9ca0-5695-444f-a1d8-cbd0639120eb","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1371/journal.pone.0105948","relation_type_id":"references","source_id":"datacite","occurred_at":"2016-12-23T10:35:28Z"}'
793
+ string: '{"id":"085c3a70-eb1c-48ac-a093-6693af206f20","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1371/journal.pone.0105948","relation_type_id":"references","source_id":"datacite","source_token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred_at":"2016-12-23T10:35:28Z"}'
892
794
  headers:
893
795
  User-Agent:
894
796
  - Maremma - https://github.com/datacite/maremma
@@ -914,18 +816,18 @@ http_interactions:
914
816
  Server:
915
817
  - http-kit
916
818
  Date:
917
- - Sat, 11 Mar 2017 10:53:20 GMT
819
+ - Wed, 29 Mar 2017 13:24:16 GMT
918
820
  body:
919
821
  encoding: UTF-8
920
822
  string: ''
921
823
  http_version:
922
- recorded_at: Sat, 11 Mar 2017 10:53:20 GMT
824
+ recorded_at: Wed, 29 Mar 2017 13:24:16 GMT
923
825
  - request:
924
826
  method: post
925
827
  uri: https://bus-staging.eventdata.crossref.org/events
926
828
  body:
927
829
  encoding: UTF-8
928
- string: '{"id":"7680ec63-09bd-42b0-8e7c-a74b691f1546","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1016/j.bpj.2015.04.023","relation_type_id":"references","source_id":"datacite","occurred_at":"2016-12-23T10:35:28Z"}'
830
+ string: '{"id":"db03b100-e846-4a6e-a9dc-9a49dd923f83","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1016/j.bpj.2015.04.023","relation_type_id":"references","source_id":"datacite","source_token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred_at":"2016-12-23T10:35:28Z"}'
929
831
  headers:
930
832
  User-Agent:
931
833
  - Maremma - https://github.com/datacite/maremma
@@ -951,18 +853,18 @@ http_interactions:
951
853
  Server:
952
854
  - http-kit
953
855
  Date:
954
- - Sat, 11 Mar 2017 10:53:20 GMT
856
+ - Wed, 29 Mar 2017 13:24:17 GMT
955
857
  body:
956
858
  encoding: UTF-8
957
859
  string: ''
958
860
  http_version:
959
- recorded_at: Sat, 11 Mar 2017 10:53:20 GMT
861
+ recorded_at: Wed, 29 Mar 2017 13:24:17 GMT
960
862
  - request:
961
863
  method: post
962
864
  uri: https://bus-staging.eventdata.crossref.org/events
963
865
  body:
964
866
  encoding: UTF-8
965
- string: '{"id":"4ae63af3-4e7d-4a1c-ad10-5ef47688148e","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1002/esp.3677","relation_type_id":"references","source_id":"datacite","occurred_at":"2016-12-23T10:35:28Z"}'
867
+ string: '{"id":"86c2160f-811c-48dd-9772-4bd199895bc8","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1002/esp.3677","relation_type_id":"references","source_id":"datacite","source_token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred_at":"2016-12-23T10:35:28Z"}'
966
868
  headers:
967
869
  User-Agent:
968
870
  - Maremma - https://github.com/datacite/maremma
@@ -988,18 +890,18 @@ http_interactions:
988
890
  Server:
989
891
  - http-kit
990
892
  Date:
991
- - Sat, 11 Mar 2017 10:53:21 GMT
893
+ - Wed, 29 Mar 2017 13:24:17 GMT
992
894
  body:
993
895
  encoding: UTF-8
994
896
  string: ''
995
897
  http_version:
996
- recorded_at: Sat, 11 Mar 2017 10:53:21 GMT
898
+ recorded_at: Wed, 29 Mar 2017 13:24:17 GMT
997
899
  - request:
998
900
  method: post
999
901
  uri: https://bus-staging.eventdata.crossref.org/events
1000
902
  body:
1001
903
  encoding: UTF-8
1002
- string: '{"id":"259d7ddb-77d7-4f8d-833f-e63fb3d011a0","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1016/j.aeolia.2016.01.003","relation_type_id":"references","source_id":"datacite","occurred_at":"2016-12-23T10:35:28Z"}'
904
+ string: '{"id":"095b3447-ddc5-488b-82bc-7b31b95c9468","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1016/j.aeolia.2016.01.003","relation_type_id":"references","source_id":"datacite","source_token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred_at":"2016-12-23T10:35:28Z"}'
1003
905
  headers:
1004
906
  User-Agent:
1005
907
  - Maremma - https://github.com/datacite/maremma
@@ -1025,18 +927,18 @@ http_interactions:
1025
927
  Server:
1026
928
  - http-kit
1027
929
  Date:
1028
- - Sat, 11 Mar 2017 10:53:21 GMT
930
+ - Wed, 29 Mar 2017 13:24:18 GMT
1029
931
  body:
1030
932
  encoding: UTF-8
1031
933
  string: ''
1032
934
  http_version:
1033
- recorded_at: Sat, 11 Mar 2017 10:53:21 GMT
935
+ recorded_at: Wed, 29 Mar 2017 13:24:18 GMT
1034
936
  - request:
1035
937
  method: post
1036
938
  uri: https://bus-staging.eventdata.crossref.org/events
1037
939
  body:
1038
940
  encoding: UTF-8
1039
- string: '{"id":"b16f3c8d-b7d8-4a0a-9ae5-44291f2b4f26","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.4172/2381-8719.1000256","relation_type_id":"references","source_id":"datacite","occurred_at":"2016-12-23T10:35:28Z"}'
941
+ string: '{"id":"b1c026e1-ee2b-4c3f-87f5-60b32aa0c543","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.4172/2381-8719.1000256","relation_type_id":"references","source_id":"datacite","source_token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred_at":"2016-12-23T10:35:28Z"}'
1040
942
  headers:
1041
943
  User-Agent:
1042
944
  - Maremma - https://github.com/datacite/maremma
@@ -1062,18 +964,18 @@ http_interactions:
1062
964
  Server:
1063
965
  - http-kit
1064
966
  Date:
1065
- - Sat, 11 Mar 2017 10:53:21 GMT
967
+ - Wed, 29 Mar 2017 13:24:19 GMT
1066
968
  body:
1067
969
  encoding: UTF-8
1068
970
  string: ''
1069
971
  http_version:
1070
- recorded_at: Sat, 11 Mar 2017 10:53:21 GMT
972
+ recorded_at: Wed, 29 Mar 2017 13:24:19 GMT
1071
973
  - request:
1072
974
  method: post
1073
975
  uri: https://bus-staging.eventdata.crossref.org/events
1074
976
  body:
1075
977
  encoding: UTF-8
1076
- string: '{"id":"664f7dfb-bd8e-4357-a01b-b849583a800c","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1371/journal.pone.0134826","relation_type_id":"references","source_id":"datacite","occurred_at":"2016-12-23T10:35:28Z"}'
978
+ string: '{"id":"f5ea78c5-0bf8-4381-888b-5b3c8e53c3b6","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1371/journal.pone.0134826","relation_type_id":"references","source_id":"datacite","source_token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred_at":"2016-12-23T10:35:28Z"}'
1077
979
  headers:
1078
980
  User-Agent:
1079
981
  - Maremma - https://github.com/datacite/maremma
@@ -1099,18 +1001,18 @@ http_interactions:
1099
1001
  Server:
1100
1002
  - http-kit
1101
1003
  Date:
1102
- - Sat, 11 Mar 2017 10:53:22 GMT
1004
+ - Wed, 29 Mar 2017 13:24:21 GMT
1103
1005
  body:
1104
1006
  encoding: UTF-8
1105
1007
  string: ''
1106
1008
  http_version:
1107
- recorded_at: Sat, 11 Mar 2017 10:53:22 GMT
1009
+ recorded_at: Wed, 29 Mar 2017 13:24:21 GMT
1108
1010
  - request:
1109
1011
  method: post
1110
1012
  uri: https://bus-staging.eventdata.crossref.org/events
1111
1013
  body:
1112
1014
  encoding: UTF-8
1113
- string: '{"id":"88b8346f-099b-4ecf-917d-7811ef66377e","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1016/j.tree.2010.11.006","relation_type_id":"references","source_id":"datacite","occurred_at":"2016-12-23T10:35:28Z"}'
1015
+ string: '{"id":"07668fd7-bd3a-487e-91a9-faf7f4ce8d12","message_action":"create","subj_id":"https://doi.org/10.5438/ct8b-x1ce","obj_id":"https://doi.org/10.1016/j.tree.2010.11.006","relation_type_id":"references","source_id":"datacite","source_token":"28276d12-b320-41ba-9272-bb0adc3466ff","occurred_at":"2016-12-23T10:35:28Z"}'
1114
1016
  headers:
1115
1017
  User-Agent:
1116
1018
  - Maremma - https://github.com/datacite/maremma
@@ -1136,10 +1038,63 @@ http_interactions:
1136
1038
  Server:
1137
1039
  - http-kit
1138
1040
  Date:
1139
- - Sat, 11 Mar 2017 10:53:22 GMT
1041
+ - Wed, 29 Mar 2017 13:24:21 GMT
1140
1042
  body:
1141
1043
  encoding: UTF-8
1142
1044
  string: ''
1143
1045
  http_version:
1144
- recorded_at: Sat, 11 Mar 2017 10:53:22 GMT
1046
+ recorded_at: Wed, 29 Mar 2017 13:24:21 GMT
1047
+ - request:
1048
+ method: post
1049
+ uri: "<SLACK_WEBHOOK_URL>"
1050
+ body:
1051
+ encoding: US-ASCII
1052
+ string: payload=%7B%22username%22%3A%22Event+Data+Agent%22%2C%22icon_url%22%3A%22https%3A%2F%2Fraw.githubusercontent.com%2Fdatacite%2Ftoccatore%2Fmaster%2Flib%2Ftoccatore%2Fimages%2Ftoccatore.png%22%2C%22attachments%22%3A%5B%7B%22title%22%3A%22Report+for+datacite_related%22%2C%22text%22%3A%221+works+processed+for+date+range+2013-01-01+-+2017-12-31.%22%2C%22color%22%3A%22good%22%7D%5D%7D
1053
+ headers:
1054
+ Accept-Encoding:
1055
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1056
+ Accept:
1057
+ - "*/*"
1058
+ User-Agent:
1059
+ - Ruby
1060
+ Content-Type:
1061
+ - application/x-www-form-urlencoded
1062
+ response:
1063
+ status:
1064
+ code: 200
1065
+ message: OK
1066
+ headers:
1067
+ Content-Type:
1068
+ - text/html
1069
+ Content-Length:
1070
+ - '22'
1071
+ Connection:
1072
+ - keep-alive
1073
+ Access-Control-Allow-Origin:
1074
+ - "*"
1075
+ Date:
1076
+ - Wed, 29 Mar 2017 13:24:22 GMT
1077
+ Referrer-Policy:
1078
+ - no-referrer
1079
+ Server:
1080
+ - Apache
1081
+ Strict-Transport-Security:
1082
+ - max-age=31536000; includeSubDomains; preload
1083
+ Vary:
1084
+ - Accept-Encoding
1085
+ X-Frame-Options:
1086
+ - SAMEORIGIN
1087
+ X-Slack-Backend:
1088
+ - h
1089
+ X-Cache:
1090
+ - Miss from cloudfront
1091
+ Via:
1092
+ - 1.1 2905d0bd25e66c3f788fb2134262d52a.cloudfront.net (CloudFront)
1093
+ X-Amz-Cf-Id:
1094
+ - rAe_FEeJovOdB-ClRicsY_k-BQbY5e7DN9he5PiQoYj-ytq-beYjjw==
1095
+ body:
1096
+ encoding: ASCII-8BIT
1097
+ string: ok
1098
+ http_version:
1099
+ recorded_at: Wed, 29 Mar 2017 13:24:22 GMT
1145
1100
  recorded_with: VCR 3.0.3