toccatore 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -3
- data/lib/toccatore/queue.rb +1 -1
- data/lib/toccatore/usage_update.rb +9 -15
- data/lib/toccatore/version.rb +1 -1
- data/spec/cli_spec.rb +4 -4
- data/spec/datacite_related_spec.rb +1 -1
- data/spec/fixtures/usage_event_fail.json +1 -1
- data/spec/fixtures/usage_events.json +4 -4
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_query_by_related_identifier.yml +1 -1
- data/spec/fixtures/vcr_cassettes/Toccatore_CLI/usage_update/no_reports_in_the_queue/should_succeed_with_no_works.yml +70 -116
- data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_data/when_there_are_messages/should_return_the_data_for_one_message.yml +4 -4
- data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_data/when_there_is_ONE_message/should_return_the_data_for_one_message.yml +4 -4
- data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_message/should_return_no_meessage_when_the_queue_is_empty.yml +23 -23
- data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_message/should_return_one_message_when_there_are_multiple_messages.yml +23 -23
- data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_total/when_is_working_with_AWS.yml +44 -44
- data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/push_data/should_fail_if_format_of_the_event_is_wrong.yml +27 -27
- data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/push_data/should_work_with_DataCite_Event_Data_2.yml +493 -0
- data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/queue_url/should_return_always_correct_queue_url.yml +11 -11
- data/spec/queque_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -1
- data/spec/usage_update_spec.rb +6 -24
- metadata +4 -4
- data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/queue_url/should_fail_if_the_queue_doesn_exist.yml +0 -49
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://api.test.datacite.org/events/a17e783b-8214-451e-9b0d-077213c2acae
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"data":{"id":"a17e783b-8214-451e-9b0d-077213c2acae","type":"events","attributes":{"uuid":"a17e783b-8214-451e-9b0d-077213c2acae","message-action":"add","subj-id":"https://metrics.test.datacite.org/reports/2018-3-Dash","subj":{"pid":"https://metrics.test.datacite.org/reports/2018-3-Dash","issued":"2128-04-09"},"total":3,"obj-id":"https://doi.org/10.7291/d1q94r","relation-type-id":"total-dataset-investigations-regular","source-id":"datacite","source-token":"
|
8
|
+
string: '{"data":{"id":"a17e783b-8214-451e-9b0d-077213c2acae","type":"events","attributes":{"uuid":"a17e783b-8214-451e-9b0d-077213c2acae","message-action":"add","subj-id":"https://metrics.test.datacite.org/reports/2018-3-Dash","subj":{"pid":"https://metrics.test.datacite.org/reports/2018-3-Dash","issued":"2128-04-09"},"total":3,"obj-id":"https://doi.org/10.7291/d1q94r","relation-type-id":"total-dataset-investigations-regular","source-id":"datacite","source-token":"43ba99ae-5cf0-11e8-9c2d-fa7ae01bbebc","occurred-at":"2128-04-09","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- Maremma - https://github.com/datacite/maremma
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
message: ''
|
22
22
|
headers:
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Mon, 21 May 2018 11:37:59 GMT
|
25
25
|
Content-Type:
|
26
26
|
- application/json; charset=UTF-8
|
27
27
|
Content-Length:
|
@@ -33,9 +33,9 @@ http_interactions:
|
|
33
33
|
Vary:
|
34
34
|
- Origin
|
35
35
|
X-Runtime:
|
36
|
-
- '0.
|
36
|
+
- '0.093151'
|
37
37
|
X-Request-Id:
|
38
|
-
-
|
38
|
+
- a5fb7585-f8ca-4a88-bc9c-b2b9f41c1ca2
|
39
39
|
X-Powered-By:
|
40
40
|
- Phusion Passenger 5.3.1
|
41
41
|
Server:
|
@@ -46,7 +46,7 @@ http_interactions:
|
|
46
46
|
Mysql2::Error: Duplicate entry ''https://metrics.test.datacite.org/reports/2018-3-Dash-https://do''
|
47
47
|
for key ''index_events_on_multiple_columns'': UPDATE `events` SET `subj_id`
|
48
48
|
= ''https://metrics.test.datacite.org/reports/2018-3-Dash'', `updated_at`
|
49
|
-
= ''2018-05-
|
49
|
+
= ''2018-05-21 11:37:59'', `subj` = ''{\\\"pid\\\":\\\"https://metrics.test.datacite.org/reports/2018-3-Dash\\\",\\\"issued\\\":\\\"2128-04-09\\\"}''
|
50
50
|
WHERE `events`.`id` = 337\u003e","traces":{"Application Trace":[{"id":58,"trace":"app/controllers/events_controller.rb:30:in
|
51
51
|
`update''"}],"Framework Trace":[{"id":0,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in
|
52
52
|
`_query''"},{"id":1,"trace":"vendor/bundle/ruby/2.4.0/gems/mysql2-0.4.10/lib/mysql2/client.rb:120:in
|
@@ -284,13 +284,13 @@ http_interactions:
|
|
284
284
|
`block (3 levels) in start_threads''"},{"id":117,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in
|
285
285
|
`block in create_thread_and_abort_on_exception''"}]}}'
|
286
286
|
http_version:
|
287
|
-
recorded_at:
|
287
|
+
recorded_at: Mon, 21 May 2018 11:37:59 GMT
|
288
288
|
- request:
|
289
289
|
method: put
|
290
290
|
uri: https://api.test.datacite.org/events/fc6860b8-4230-41bc-8b8e-21d60e9a7d9a
|
291
291
|
body:
|
292
292
|
encoding: UTF-8
|
293
|
-
string: '{"data":{"id":"fc6860b8-4230-41bc-8b8e-21d60e9a7d9a","type":"events","attributes":{"uuid":"fc6860b8-4230-41bc-8b8e-21d60e9a7d9a","message-action":"add","subj-id":"https://metrics.test.datacite.org/reports/2018-3-Dash","subj":{"pid":"https://metrics.test.datacite.org/reports/2018-3-Dash","issued":"2128-04-09"},"total":3,"obj-id":"https://doi.org/10.7291/d1q94r","relation-type-id":"unique-dataset-investigations-regular","source-id":"datacite","source-token":"
|
293
|
+
string: '{"data":{"id":"fc6860b8-4230-41bc-8b8e-21d60e9a7d9a","type":"events","attributes":{"uuid":"fc6860b8-4230-41bc-8b8e-21d60e9a7d9a","message-action":"add","subj-id":"https://metrics.test.datacite.org/reports/2018-3-Dash","subj":{"pid":"https://metrics.test.datacite.org/reports/2018-3-Dash","issued":"2128-04-09"},"total":3,"obj-id":"https://doi.org/10.7291/d1q94r","relation-type-id":"unique-dataset-investigations-regular","source-id":"datacite","source-token":"43ba99ae-5cf0-11e8-9c2d-fa7ae01bbebc","occurred-at":"2128-04-09","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
|
294
294
|
headers:
|
295
295
|
User-Agent:
|
296
296
|
- Maremma - https://github.com/datacite/maremma
|
@@ -306,7 +306,7 @@ http_interactions:
|
|
306
306
|
message: ''
|
307
307
|
headers:
|
308
308
|
Date:
|
309
|
-
-
|
309
|
+
- Mon, 21 May 2018 11:38:00 GMT
|
310
310
|
Content-Type:
|
311
311
|
- application/json; charset=UTF-8
|
312
312
|
Content-Length:
|
@@ -318,9 +318,9 @@ http_interactions:
|
|
318
318
|
Vary:
|
319
319
|
- Origin
|
320
320
|
X-Runtime:
|
321
|
-
- '0.
|
321
|
+
- '0.100154'
|
322
322
|
X-Request-Id:
|
323
|
-
-
|
323
|
+
- 8c4abeea-9b83-49e8-8a29-2d5dacdbd83d
|
324
324
|
X-Powered-By:
|
325
325
|
- Phusion Passenger 5.3.1
|
326
326
|
Server:
|
@@ -333,8 +333,8 @@ http_interactions:
|
|
333
333
|
`subj_id`, `obj_id`, `source_id`, `aasm_state`, `source_token`, `created_at`,
|
334
334
|
`updated_at`, `occurred_at`, `relation_type_id`, `subj`, `obj`, `total`, `license`)
|
335
335
|
VALUES (''fc6860b8-4230-41bc-8b8e-21d60e9a7d9a'', ''https://metrics.test.datacite.org/reports/2018-3-Dash'',
|
336
|
-
''https://doi.org/10.7291/d1q94r'', ''datacite'', ''waiting'', ''
|
337
|
-
''2018-05-
|
336
|
+
''https://doi.org/10.7291/d1q94r'', ''datacite'', ''waiting'', ''43ba99ae-5cf0-11e8-9c2d-fa7ae01bbebc'',
|
337
|
+
''2018-05-21 11:38:00'', ''2018-05-21 11:38:00'', ''2128-04-09 00:00:00'',
|
338
338
|
''unique-dataset-investigations-regular'', ''{\\\"pid\\\":\\\"https://metrics.test.datacite.org/reports/2018-3-Dash\\\",\\\"issued\\\":\\\"2128-04-09\\\"}'',
|
339
339
|
''{}'', 3, ''https://creativecommons.org/publicdomain/zero/1.0/'')\u003e","traces":{"Application
|
340
340
|
Trace":[{"id":59,"trace":"app/controllers/events_controller.rb:30:in `update''"}],"Framework
|
@@ -576,13 +576,13 @@ http_interactions:
|
|
576
576
|
`block (3 levels) in start_threads''"},{"id":118,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in
|
577
577
|
`block in create_thread_and_abort_on_exception''"}]}}'
|
578
578
|
http_version:
|
579
|
-
recorded_at:
|
579
|
+
recorded_at: Mon, 21 May 2018 11:38:00 GMT
|
580
580
|
- request:
|
581
581
|
method: put
|
582
582
|
uri: https://api.test.datacite.org/events/054da0ad-9821-492e-877e-5c3adbfd5ccf
|
583
583
|
body:
|
584
584
|
encoding: UTF-8
|
585
|
-
string: '{"data":{"id":"054da0ad-9821-492e-877e-5c3adbfd5ccf","type":"events","attributes":{"uuid":"054da0ad-9821-492e-877e-5c3adbfd5ccf","message-action":"add","subj-id":"https://metrics.test.datacite.org/reports/2018-3-Dash","subj":{"pid":"https://metrics.test.datacite.org/reports/2018-3-Dash","issued":"2128-04-09"},"total":254,"obj-id":"https://doi.org/10.6071/z7wc73","relation-type-id":"Total-Dataset-Requests-Machine","source-id":"datacite","source-token":"
|
585
|
+
string: '{"data":{"id":"054da0ad-9821-492e-877e-5c3adbfd5ccf","type":"events","attributes":{"uuid":"054da0ad-9821-492e-877e-5c3adbfd5ccf","message-action":"add","subj-id":"https://metrics.test.datacite.org/reports/2018-3-Dash","subj":{"pid":"https://metrics.test.datacite.org/reports/2018-3-Dash","issued":"2128-04-09"},"total":254,"obj-id":"https://doi.org/10.6071/z7wc73","relation-type-id":"Total-Dataset-Requests-Machine","source-id":"datacite","source-token":"43ba99ae-5cf0-11e8-9c2d-fa7ae01bbebc","occurred-at":"2128-04-09","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
|
586
586
|
headers:
|
587
587
|
User-Agent:
|
588
588
|
- Maremma - https://github.com/datacite/maremma
|
@@ -598,7 +598,7 @@ http_interactions:
|
|
598
598
|
message: ''
|
599
599
|
headers:
|
600
600
|
Date:
|
601
|
-
-
|
601
|
+
- Mon, 21 May 2018 11:38:00 GMT
|
602
602
|
Content-Type:
|
603
603
|
- application/json; charset=UTF-8
|
604
604
|
Content-Length:
|
@@ -610,9 +610,9 @@ http_interactions:
|
|
610
610
|
Vary:
|
611
611
|
- Origin
|
612
612
|
X-Runtime:
|
613
|
-
- '0.
|
613
|
+
- '0.094595'
|
614
614
|
X-Request-Id:
|
615
|
-
-
|
615
|
+
- c97437fc-5678-4519-919f-88a583544bd5
|
616
616
|
X-Powered-By:
|
617
617
|
- Phusion Passenger 5.3.1
|
618
618
|
Server:
|
@@ -625,8 +625,8 @@ http_interactions:
|
|
625
625
|
`subj_id`, `obj_id`, `source_id`, `aasm_state`, `source_token`, `created_at`,
|
626
626
|
`updated_at`, `occurred_at`, `relation_type_id`, `subj`, `obj`, `total`, `license`)
|
627
627
|
VALUES (''054da0ad-9821-492e-877e-5c3adbfd5ccf'', ''https://metrics.test.datacite.org/reports/2018-3-Dash'',
|
628
|
-
''https://doi.org/10.6071/z7wc73'', ''datacite'', ''waiting'', ''
|
629
|
-
''2018-05-
|
628
|
+
''https://doi.org/10.6071/z7wc73'', ''datacite'', ''waiting'', ''43ba99ae-5cf0-11e8-9c2d-fa7ae01bbebc'',
|
629
|
+
''2018-05-21 11:38:00'', ''2018-05-21 11:38:00'', ''2128-04-09 00:00:00'',
|
630
630
|
''Total-Dataset-Requests-Machine'', ''{\\\"pid\\\":\\\"https://metrics.test.datacite.org/reports/2018-3-Dash\\\",\\\"issued\\\":\\\"2128-04-09\\\"}'',
|
631
631
|
''{}'', 254, ''https://creativecommons.org/publicdomain/zero/1.0/'')\u003e","traces":{"Application
|
632
632
|
Trace":[{"id":59,"trace":"app/controllers/events_controller.rb:30:in `update''"}],"Framework
|
@@ -868,13 +868,13 @@ http_interactions:
|
|
868
868
|
`block (3 levels) in start_threads''"},{"id":118,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in
|
869
869
|
`block in create_thread_and_abort_on_exception''"}]}}'
|
870
870
|
http_version:
|
871
|
-
recorded_at:
|
871
|
+
recorded_at: Mon, 21 May 2018 11:38:00 GMT
|
872
872
|
- request:
|
873
873
|
method: put
|
874
874
|
uri: https://api.test.datacite.org/events/6d6fd620-2123-42da-91f3-6c02e63f3cec
|
875
875
|
body:
|
876
876
|
encoding: UTF-8
|
877
|
-
string: '{"data":{"id":"6d6fd620-2123-42da-91f3-6c02e63f3cec","type":"events","attributes":{"uuid":"6d6fd620-2123-42da-91f3-6c02e63f3cec","message-action":"add","subj-id":"https://metrics.test.datacite.org/reports/2018-3-Dash","subj":{"pid":"https://metrics.test.datacite.org/reports/2018-3-Dash","issued":"2128-04-09"},"total":208,"obj-id":"https://doi.org/10.6071/z7wc73","relation-type-id":"Unique-Dataset-Requests-Machine","source-id":"datacite","source-token":"
|
877
|
+
string: '{"data":{"id":"6d6fd620-2123-42da-91f3-6c02e63f3cec","type":"events","attributes":{"uuid":"6d6fd620-2123-42da-91f3-6c02e63f3cec","message-action":"add","subj-id":"https://metrics.test.datacite.org/reports/2018-3-Dash","subj":{"pid":"https://metrics.test.datacite.org/reports/2018-3-Dash","issued":"2128-04-09"},"total":208,"obj-id":"https://doi.org/10.6071/z7wc73","relation-type-id":"Unique-Dataset-Requests-Machine","source-id":"datacite","source-token":"43ba99ae-5cf0-11e8-9c2d-fa7ae01bbebc","occurred-at":"2128-04-09","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
|
878
878
|
headers:
|
879
879
|
User-Agent:
|
880
880
|
- Maremma - https://github.com/datacite/maremma
|
@@ -890,7 +890,7 @@ http_interactions:
|
|
890
890
|
message: ''
|
891
891
|
headers:
|
892
892
|
Date:
|
893
|
-
-
|
893
|
+
- Mon, 21 May 2018 11:38:01 GMT
|
894
894
|
Content-Type:
|
895
895
|
- application/json; charset=UTF-8
|
896
896
|
Content-Length:
|
@@ -902,9 +902,9 @@ http_interactions:
|
|
902
902
|
Vary:
|
903
903
|
- Origin
|
904
904
|
X-Runtime:
|
905
|
-
- '0.
|
905
|
+
- '0.099644'
|
906
906
|
X-Request-Id:
|
907
|
-
-
|
907
|
+
- 195314a1-ebaa-4906-90fa-486e8401cc4b
|
908
908
|
X-Powered-By:
|
909
909
|
- Phusion Passenger 5.3.1
|
910
910
|
Server:
|
@@ -917,8 +917,8 @@ http_interactions:
|
|
917
917
|
`subj_id`, `obj_id`, `source_id`, `aasm_state`, `source_token`, `created_at`,
|
918
918
|
`updated_at`, `occurred_at`, `relation_type_id`, `subj`, `obj`, `total`, `license`)
|
919
919
|
VALUES (''6d6fd620-2123-42da-91f3-6c02e63f3cec'', ''https://metrics.test.datacite.org/reports/2018-3-Dash'',
|
920
|
-
''https://doi.org/10.6071/z7wc73'', ''datacite'', ''waiting'', ''
|
921
|
-
''2018-05-
|
920
|
+
''https://doi.org/10.6071/z7wc73'', ''datacite'', ''waiting'', ''43ba99ae-5cf0-11e8-9c2d-fa7ae01bbebc'',
|
921
|
+
''2018-05-21 11:38:01'', ''2018-05-21 11:38:01'', ''2128-04-09 00:00:00'',
|
922
922
|
''Unique-Dataset-Requests-Machine'', ''{\\\"pid\\\":\\\"https://metrics.test.datacite.org/reports/2018-3-Dash\\\",\\\"issued\\\":\\\"2128-04-09\\\"}'',
|
923
923
|
''{}'', 208, ''https://creativecommons.org/publicdomain/zero/1.0/'')\u003e","traces":{"Application
|
924
924
|
Trace":[{"id":59,"trace":"app/controllers/events_controller.rb:30:in `update''"}],"Framework
|
@@ -1160,5 +1160,5 @@ http_interactions:
|
|
1160
1160
|
`block (3 levels) in start_threads''"},{"id":118,"trace":"/usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in
|
1161
1161
|
`block in create_thread_and_abort_on_exception''"}]}}'
|
1162
1162
|
http_version:
|
1163
|
-
recorded_at:
|
1163
|
+
recorded_at: Mon, 21 May 2018 11:38:01 GMT
|
1164
1164
|
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,493 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: https://api.test.datacite.org/events/d2bd6654-8ac3-49c6-9f83-07f06288ce2f-21
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"data":{"id":"d2bd6654-8ac3-49c6-9f83-07f06288ce2f-21","type":"events","attributes":{"uuid":"d2bd6654-8ac3-49c6-9f83-07f06288ce2f-21","message-action":"add","obj-id":"http://satterfield.name/pansy21","subj-id":"http://davisglover.info/josianne.macejkovic21","total":"936","subj":{"pid":"fdfdfd","issued":"2018-05-19T00:01:10.000+02:00"},"relation-type-id":"total-dataset-investigations-machine","source-id":"datacite-usage","source-token":"343969a6-8002-4f6c-a2bd-c1adc23af79e-21","occurred-at":"2018-05-20T18:18:08.000+02:00","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Maremma - https://github.com/datacite/maremma
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
Accept:
|
15
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
16
|
+
Authorization:
|
17
|
+
- Bearer <LAGOTTO_TOKEN>
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 201
|
21
|
+
message: ''
|
22
|
+
headers:
|
23
|
+
Date:
|
24
|
+
- Mon, 21 May 2018 11:38:01 GMT
|
25
|
+
Content-Type:
|
26
|
+
- application/vnd.api+json; charset=utf-8
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Status:
|
30
|
+
- 201 Created
|
31
|
+
Cache-Control:
|
32
|
+
- max-age=0, private, must-revalidate
|
33
|
+
Vary:
|
34
|
+
- Accept-Encoding, Origin
|
35
|
+
Etag:
|
36
|
+
- W/"3db667fec3de50661988b29c013f7b35"
|
37
|
+
X-Runtime:
|
38
|
+
- '0.014989'
|
39
|
+
X-Credential-Username:
|
40
|
+
- 0000-0001-5489-3594
|
41
|
+
X-Request-Id:
|
42
|
+
- ea87da56-b534-4192-ad09-c3ec0392bcb4
|
43
|
+
X-Powered-By:
|
44
|
+
- Phusion Passenger 5.3.1
|
45
|
+
Server:
|
46
|
+
- nginx/1.14.0 + Phusion Passenger 5.3.1
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"data":{"id":"d2bd6654-8ac3-49c6-9f83-07f06288ce2f-21","type":"events","attributes":{"subj-id":"http://davisglover.info/josianne.macejkovic21","obj-id":"http://satterfield.name/pansy21","message-action":"add","source-token":"343969a6-8002-4f6c-a2bd-c1adc23af79e-21","relation-type-id":"total-dataset-investigations-machine","source-id":"datacite-usage","total":936,"license":"https://creativecommons.org/publicdomain/zero/1.0/","occurred-at":"2018-05-20T16:18:08.000Z","timestamp":"2018-05-21T11:38:01Z","subj":{"pid":"fdfdfd","issued":"2018-05-19T00:01:10.000+02:00"},"obj":{}}}}'
|
50
|
+
http_version:
|
51
|
+
recorded_at: Mon, 21 May 2018 11:38:01 GMT
|
52
|
+
- request:
|
53
|
+
method: put
|
54
|
+
uri: https://api.test.datacite.org/events/715eeda2-caf0-448d-a7c9-03f0d01f4546-22
|
55
|
+
body:
|
56
|
+
encoding: UTF-8
|
57
|
+
string: '{"data":{"id":"715eeda2-caf0-448d-a7c9-03f0d01f4546-22","type":"events","attributes":{"uuid":"715eeda2-caf0-448d-a7c9-03f0d01f4546-22","message-action":"add","obj-id":"http://kub.name/lyric.gulgowski22","subj-id":"http://reynoldtrosin.io/kristian.pfeffer22","total":"936","subj":{"pid":"fdfdfd","issued":"2018-05-21T18:51:19.000+02:00"},"relation-type-id":"total-dataset-investigations-machine","source-id":"datacite-usage","source-token":"edf26972-3ded-4ce0-96e3-2c902b311e60-22","occurred-at":"2018-05-20T18:18:08.000+02:00","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
|
58
|
+
headers:
|
59
|
+
User-Agent:
|
60
|
+
- Maremma - https://github.com/datacite/maremma
|
61
|
+
Content-Type:
|
62
|
+
- application/json
|
63
|
+
Accept:
|
64
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
65
|
+
Authorization:
|
66
|
+
- Bearer <LAGOTTO_TOKEN>
|
67
|
+
response:
|
68
|
+
status:
|
69
|
+
code: 201
|
70
|
+
message: ''
|
71
|
+
headers:
|
72
|
+
Date:
|
73
|
+
- Mon, 21 May 2018 11:38:01 GMT
|
74
|
+
Content-Type:
|
75
|
+
- application/vnd.api+json; charset=utf-8
|
76
|
+
Connection:
|
77
|
+
- keep-alive
|
78
|
+
Status:
|
79
|
+
- 201 Created
|
80
|
+
Cache-Control:
|
81
|
+
- max-age=0, private, must-revalidate
|
82
|
+
Vary:
|
83
|
+
- Accept-Encoding, Origin
|
84
|
+
Etag:
|
85
|
+
- W/"f5a3c80881e2b33a422800324490bc43"
|
86
|
+
X-Runtime:
|
87
|
+
- '0.014366'
|
88
|
+
X-Credential-Username:
|
89
|
+
- 0000-0001-5489-3594
|
90
|
+
X-Request-Id:
|
91
|
+
- e75e2422-db4b-40d2-abe0-ee8d07444cb4
|
92
|
+
X-Powered-By:
|
93
|
+
- Phusion Passenger 5.3.1
|
94
|
+
Server:
|
95
|
+
- nginx/1.14.0 + Phusion Passenger 5.3.1
|
96
|
+
body:
|
97
|
+
encoding: UTF-8
|
98
|
+
string: '{"data":{"id":"715eeda2-caf0-448d-a7c9-03f0d01f4546-22","type":"events","attributes":{"subj-id":"http://reynoldtrosin.io/kristian.pfeffer22","obj-id":"http://kub.name/lyric.gulgowski22","message-action":"add","source-token":"edf26972-3ded-4ce0-96e3-2c902b311e60-22","relation-type-id":"total-dataset-investigations-machine","source-id":"datacite-usage","total":936,"license":"https://creativecommons.org/publicdomain/zero/1.0/","occurred-at":"2018-05-20T16:18:08.000Z","timestamp":"2018-05-21T11:38:01Z","subj":{"pid":"fdfdfd","issued":"2018-05-21T18:51:19.000+02:00"},"obj":{}}}}'
|
99
|
+
http_version:
|
100
|
+
recorded_at: Mon, 21 May 2018 11:38:01 GMT
|
101
|
+
- request:
|
102
|
+
method: put
|
103
|
+
uri: https://api.test.datacite.org/events/dad16005-0b78-42c2-9478-594882682cd8-23
|
104
|
+
body:
|
105
|
+
encoding: UTF-8
|
106
|
+
string: '{"data":{"id":"dad16005-0b78-42c2-9478-594882682cd8-23","type":"events","attributes":{"uuid":"dad16005-0b78-42c2-9478-594882682cd8-23","message-action":"add","obj-id":"http://muller.info/franco23","subj-id":"http://gibsonthompson.org/darren23","total":"936","subj":{"pid":"fdfdfd","issued":"2018-05-21T05:15:33.000+02:00"},"relation-type-id":"total-dataset-investigations-machine","source-id":"datacite-usage","source-token":"ce1230d5-3408-474a-a694-283f6b243250-23","occurred-at":"2018-05-20T18:18:08.000+02:00","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
|
107
|
+
headers:
|
108
|
+
User-Agent:
|
109
|
+
- Maremma - https://github.com/datacite/maremma
|
110
|
+
Content-Type:
|
111
|
+
- application/json
|
112
|
+
Accept:
|
113
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
114
|
+
Authorization:
|
115
|
+
- Bearer <LAGOTTO_TOKEN>
|
116
|
+
response:
|
117
|
+
status:
|
118
|
+
code: 201
|
119
|
+
message: ''
|
120
|
+
headers:
|
121
|
+
Date:
|
122
|
+
- Mon, 21 May 2018 11:38:02 GMT
|
123
|
+
Content-Type:
|
124
|
+
- application/vnd.api+json; charset=utf-8
|
125
|
+
Connection:
|
126
|
+
- keep-alive
|
127
|
+
Status:
|
128
|
+
- 201 Created
|
129
|
+
Cache-Control:
|
130
|
+
- max-age=0, private, must-revalidate
|
131
|
+
Vary:
|
132
|
+
- Accept-Encoding, Origin
|
133
|
+
Etag:
|
134
|
+
- W/"9a05c1a630ee61e053b3f4d28fcda849"
|
135
|
+
X-Runtime:
|
136
|
+
- '0.015330'
|
137
|
+
X-Credential-Username:
|
138
|
+
- 0000-0001-5489-3594
|
139
|
+
X-Request-Id:
|
140
|
+
- c5e251dc-d99a-46ec-9c4a-2c5764aee559
|
141
|
+
X-Powered-By:
|
142
|
+
- Phusion Passenger 5.3.1
|
143
|
+
Server:
|
144
|
+
- nginx/1.14.0 + Phusion Passenger 5.3.1
|
145
|
+
body:
|
146
|
+
encoding: UTF-8
|
147
|
+
string: '{"data":{"id":"dad16005-0b78-42c2-9478-594882682cd8-23","type":"events","attributes":{"subj-id":"http://gibsonthompson.org/darren23","obj-id":"http://muller.info/franco23","message-action":"add","source-token":"ce1230d5-3408-474a-a694-283f6b243250-23","relation-type-id":"total-dataset-investigations-machine","source-id":"datacite-usage","total":936,"license":"https://creativecommons.org/publicdomain/zero/1.0/","occurred-at":"2018-05-20T16:18:08.000Z","timestamp":"2018-05-21T11:38:02Z","subj":{"pid":"fdfdfd","issued":"2018-05-21T05:15:33.000+02:00"},"obj":{}}}}'
|
148
|
+
http_version:
|
149
|
+
recorded_at: Mon, 21 May 2018 11:38:02 GMT
|
150
|
+
- request:
|
151
|
+
method: put
|
152
|
+
uri: https://api.test.datacite.org/events/116f7680-7216-4b80-a302-1d6c39d43f10-24
|
153
|
+
body:
|
154
|
+
encoding: UTF-8
|
155
|
+
string: '{"data":{"id":"116f7680-7216-4b80-a302-1d6c39d43f10-24","type":"events","attributes":{"uuid":"116f7680-7216-4b80-a302-1d6c39d43f10-24","message-action":"add","obj-id":"http://auer.info/brianne24","subj-id":"http://shields.net/jermaine_lesch24","total":"936","subj":{"pid":"fdfdfd","issued":"2018-05-21T18:05:12.000+02:00"},"relation-type-id":"total-dataset-investigations-machine","source-id":"datacite-usage","source-token":"bea0daa1-30ac-4232-9e12-461b312b0331-24","occurred-at":"2018-05-20T18:18:08.000+02:00","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
|
156
|
+
headers:
|
157
|
+
User-Agent:
|
158
|
+
- Maremma - https://github.com/datacite/maremma
|
159
|
+
Content-Type:
|
160
|
+
- application/json
|
161
|
+
Accept:
|
162
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
163
|
+
Authorization:
|
164
|
+
- Bearer <LAGOTTO_TOKEN>
|
165
|
+
response:
|
166
|
+
status:
|
167
|
+
code: 201
|
168
|
+
message: ''
|
169
|
+
headers:
|
170
|
+
Date:
|
171
|
+
- Mon, 21 May 2018 11:38:02 GMT
|
172
|
+
Content-Type:
|
173
|
+
- application/vnd.api+json; charset=utf-8
|
174
|
+
Connection:
|
175
|
+
- keep-alive
|
176
|
+
Status:
|
177
|
+
- 201 Created
|
178
|
+
Cache-Control:
|
179
|
+
- max-age=0, private, must-revalidate
|
180
|
+
Vary:
|
181
|
+
- Accept-Encoding, Origin
|
182
|
+
Etag:
|
183
|
+
- W/"178cdf26ac5bee30ec05876b0e7a4340"
|
184
|
+
X-Runtime:
|
185
|
+
- '0.014480'
|
186
|
+
X-Credential-Username:
|
187
|
+
- 0000-0001-5489-3594
|
188
|
+
X-Request-Id:
|
189
|
+
- 35a07c4d-3922-4993-91fd-c5a32752cf30
|
190
|
+
X-Powered-By:
|
191
|
+
- Phusion Passenger 5.3.1
|
192
|
+
Server:
|
193
|
+
- nginx/1.14.0 + Phusion Passenger 5.3.1
|
194
|
+
body:
|
195
|
+
encoding: UTF-8
|
196
|
+
string: '{"data":{"id":"116f7680-7216-4b80-a302-1d6c39d43f10-24","type":"events","attributes":{"subj-id":"http://shields.net/jermaine_lesch24","obj-id":"http://auer.info/brianne24","message-action":"add","source-token":"bea0daa1-30ac-4232-9e12-461b312b0331-24","relation-type-id":"total-dataset-investigations-machine","source-id":"datacite-usage","total":936,"license":"https://creativecommons.org/publicdomain/zero/1.0/","occurred-at":"2018-05-20T16:18:08.000Z","timestamp":"2018-05-21T11:38:02Z","subj":{"pid":"fdfdfd","issued":"2018-05-21T18:05:12.000+02:00"},"obj":{}}}}'
|
197
|
+
http_version:
|
198
|
+
recorded_at: Mon, 21 May 2018 11:38:02 GMT
|
199
|
+
- request:
|
200
|
+
method: put
|
201
|
+
uri: https://api.test.datacite.org/events/1ae4159b-ce5b-4d1a-9a79-b6028a860458-25
|
202
|
+
body:
|
203
|
+
encoding: UTF-8
|
204
|
+
string: '{"data":{"id":"1ae4159b-ce5b-4d1a-9a79-b6028a860458-25","type":"events","attributes":{"uuid":"1ae4159b-ce5b-4d1a-9a79-b6028a860458-25","message-action":"add","obj-id":"http://stamm.info/ahmad25","subj-id":"http://skilesberge.io/elda25","total":"936","subj":{"pid":"fdfdfd","issued":"2018-05-20T08:53:47.000+02:00"},"relation-type-id":"total-dataset-investigations-machine","source-id":"datacite-usage","source-token":"4ed1c40d-6d00-4e13-91f2-78fb6e1895a3-25","occurred-at":"2018-05-20T18:18:08.000+02:00","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
|
205
|
+
headers:
|
206
|
+
User-Agent:
|
207
|
+
- Maremma - https://github.com/datacite/maremma
|
208
|
+
Content-Type:
|
209
|
+
- application/json
|
210
|
+
Accept:
|
211
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
212
|
+
Authorization:
|
213
|
+
- Bearer <LAGOTTO_TOKEN>
|
214
|
+
response:
|
215
|
+
status:
|
216
|
+
code: 201
|
217
|
+
message: ''
|
218
|
+
headers:
|
219
|
+
Date:
|
220
|
+
- Mon, 21 May 2018 11:38:02 GMT
|
221
|
+
Content-Type:
|
222
|
+
- application/vnd.api+json; charset=utf-8
|
223
|
+
Connection:
|
224
|
+
- keep-alive
|
225
|
+
Status:
|
226
|
+
- 201 Created
|
227
|
+
Cache-Control:
|
228
|
+
- max-age=0, private, must-revalidate
|
229
|
+
Vary:
|
230
|
+
- Accept-Encoding, Origin
|
231
|
+
Etag:
|
232
|
+
- W/"1a08f8a0d694cccbde6abe139b1056f7"
|
233
|
+
X-Runtime:
|
234
|
+
- '0.014711'
|
235
|
+
X-Credential-Username:
|
236
|
+
- 0000-0001-5489-3594
|
237
|
+
X-Request-Id:
|
238
|
+
- fcd75d65-9c46-4e2f-8051-920d81deb5a7
|
239
|
+
X-Powered-By:
|
240
|
+
- Phusion Passenger 5.3.1
|
241
|
+
Server:
|
242
|
+
- nginx/1.14.0 + Phusion Passenger 5.3.1
|
243
|
+
body:
|
244
|
+
encoding: UTF-8
|
245
|
+
string: '{"data":{"id":"1ae4159b-ce5b-4d1a-9a79-b6028a860458-25","type":"events","attributes":{"subj-id":"http://skilesberge.io/elda25","obj-id":"http://stamm.info/ahmad25","message-action":"add","source-token":"4ed1c40d-6d00-4e13-91f2-78fb6e1895a3-25","relation-type-id":"total-dataset-investigations-machine","source-id":"datacite-usage","total":936,"license":"https://creativecommons.org/publicdomain/zero/1.0/","occurred-at":"2018-05-20T16:18:08.000Z","timestamp":"2018-05-21T11:38:02Z","subj":{"pid":"fdfdfd","issued":"2018-05-20T08:53:47.000+02:00"},"obj":{}}}}'
|
246
|
+
http_version:
|
247
|
+
recorded_at: Mon, 21 May 2018 11:38:02 GMT
|
248
|
+
- request:
|
249
|
+
method: put
|
250
|
+
uri: https://api.test.datacite.org/events/7e5855b9-d9e1-4065-a9b5-d48b85c9ef75-26
|
251
|
+
body:
|
252
|
+
encoding: UTF-8
|
253
|
+
string: '{"data":{"id":"7e5855b9-d9e1-4065-a9b5-d48b85c9ef75-26","type":"events","attributes":{"uuid":"7e5855b9-d9e1-4065-a9b5-d48b85c9ef75-26","message-action":"add","obj-id":"http://towne.io/haylie_gislason26","subj-id":"http://schaefer.co/fiona26","total":"936","subj":{"pid":"fdfdfd","issued":"2018-05-21T12:56:03.000+02:00"},"relation-type-id":"total-dataset-investigations-machine","source-id":"datacite-usage","source-token":"bc9d14d6-6dec-4f8a-9b6b-122db1078c1f-26","occurred-at":"2018-05-20T18:18:08.000+02:00","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
|
254
|
+
headers:
|
255
|
+
User-Agent:
|
256
|
+
- Maremma - https://github.com/datacite/maremma
|
257
|
+
Content-Type:
|
258
|
+
- application/json
|
259
|
+
Accept:
|
260
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
261
|
+
Authorization:
|
262
|
+
- Bearer <LAGOTTO_TOKEN>
|
263
|
+
response:
|
264
|
+
status:
|
265
|
+
code: 201
|
266
|
+
message: ''
|
267
|
+
headers:
|
268
|
+
Date:
|
269
|
+
- Mon, 21 May 2018 11:38:03 GMT
|
270
|
+
Content-Type:
|
271
|
+
- application/vnd.api+json; charset=utf-8
|
272
|
+
Connection:
|
273
|
+
- keep-alive
|
274
|
+
Status:
|
275
|
+
- 201 Created
|
276
|
+
Cache-Control:
|
277
|
+
- max-age=0, private, must-revalidate
|
278
|
+
Vary:
|
279
|
+
- Accept-Encoding, Origin
|
280
|
+
Etag:
|
281
|
+
- W/"f33977f449dd80b30d42295d4bead5d2"
|
282
|
+
X-Runtime:
|
283
|
+
- '0.015242'
|
284
|
+
X-Credential-Username:
|
285
|
+
- 0000-0001-5489-3594
|
286
|
+
X-Request-Id:
|
287
|
+
- 9247ea57-b569-4c27-8692-3726a5ca073c
|
288
|
+
X-Powered-By:
|
289
|
+
- Phusion Passenger 5.3.1
|
290
|
+
Server:
|
291
|
+
- nginx/1.14.0 + Phusion Passenger 5.3.1
|
292
|
+
body:
|
293
|
+
encoding: UTF-8
|
294
|
+
string: '{"data":{"id":"7e5855b9-d9e1-4065-a9b5-d48b85c9ef75-26","type":"events","attributes":{"subj-id":"http://schaefer.co/fiona26","obj-id":"http://towne.io/haylie_gislason26","message-action":"add","source-token":"bc9d14d6-6dec-4f8a-9b6b-122db1078c1f-26","relation-type-id":"total-dataset-investigations-machine","source-id":"datacite-usage","total":936,"license":"https://creativecommons.org/publicdomain/zero/1.0/","occurred-at":"2018-05-20T16:18:08.000Z","timestamp":"2018-05-21T11:38:03Z","subj":{"pid":"fdfdfd","issued":"2018-05-21T12:56:03.000+02:00"},"obj":{}}}}'
|
295
|
+
http_version:
|
296
|
+
recorded_at: Mon, 21 May 2018 11:38:03 GMT
|
297
|
+
- request:
|
298
|
+
method: put
|
299
|
+
uri: https://api.test.datacite.org/events/320891f0-cfaf-48d6-a0ba-075a71e3b96e-27
|
300
|
+
body:
|
301
|
+
encoding: UTF-8
|
302
|
+
string: '{"data":{"id":"320891f0-cfaf-48d6-a0ba-075a71e3b96e-27","type":"events","attributes":{"uuid":"320891f0-cfaf-48d6-a0ba-075a71e3b96e-27","message-action":"add","obj-id":"http://rolfson.io/jeff27","subj-id":"http://prohaska.info/zola_rolfson27","total":"936","subj":{"pid":"fdfdfd","issued":"2018-05-20T07:53:29.000+02:00"},"relation-type-id":"total-dataset-investigations-machine","source-id":"datacite-usage","source-token":"b0344967-21a3-4286-8423-7f5ed84b19ff-27","occurred-at":"2018-05-20T18:18:08.000+02:00","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
|
303
|
+
headers:
|
304
|
+
User-Agent:
|
305
|
+
- Maremma - https://github.com/datacite/maremma
|
306
|
+
Content-Type:
|
307
|
+
- application/json
|
308
|
+
Accept:
|
309
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
310
|
+
Authorization:
|
311
|
+
- Bearer <LAGOTTO_TOKEN>
|
312
|
+
response:
|
313
|
+
status:
|
314
|
+
code: 201
|
315
|
+
message: ''
|
316
|
+
headers:
|
317
|
+
Date:
|
318
|
+
- Mon, 21 May 2018 11:38:03 GMT
|
319
|
+
Content-Type:
|
320
|
+
- application/vnd.api+json; charset=utf-8
|
321
|
+
Connection:
|
322
|
+
- keep-alive
|
323
|
+
Status:
|
324
|
+
- 201 Created
|
325
|
+
Cache-Control:
|
326
|
+
- max-age=0, private, must-revalidate
|
327
|
+
Vary:
|
328
|
+
- Accept-Encoding, Origin
|
329
|
+
Etag:
|
330
|
+
- W/"397fef9df87959bd5de8a7e94be6587f"
|
331
|
+
X-Runtime:
|
332
|
+
- '0.025436'
|
333
|
+
X-Credential-Username:
|
334
|
+
- 0000-0001-5489-3594
|
335
|
+
X-Request-Id:
|
336
|
+
- cf464bc8-6c67-4e8f-86b7-520272482e09
|
337
|
+
X-Powered-By:
|
338
|
+
- Phusion Passenger 5.3.1
|
339
|
+
Server:
|
340
|
+
- nginx/1.14.0 + Phusion Passenger 5.3.1
|
341
|
+
body:
|
342
|
+
encoding: UTF-8
|
343
|
+
string: '{"data":{"id":"320891f0-cfaf-48d6-a0ba-075a71e3b96e-27","type":"events","attributes":{"subj-id":"http://prohaska.info/zola_rolfson27","obj-id":"http://rolfson.io/jeff27","message-action":"add","source-token":"b0344967-21a3-4286-8423-7f5ed84b19ff-27","relation-type-id":"total-dataset-investigations-machine","source-id":"datacite-usage","total":936,"license":"https://creativecommons.org/publicdomain/zero/1.0/","occurred-at":"2018-05-20T16:18:08.000Z","timestamp":"2018-05-21T11:38:03Z","subj":{"pid":"fdfdfd","issued":"2018-05-20T07:53:29.000+02:00"},"obj":{}}}}'
|
344
|
+
http_version:
|
345
|
+
recorded_at: Mon, 21 May 2018 11:38:03 GMT
|
346
|
+
- request:
|
347
|
+
method: put
|
348
|
+
uri: https://api.test.datacite.org/events/ad3af321-1835-48e9-89e1-8c8344db9876-28
|
349
|
+
body:
|
350
|
+
encoding: UTF-8
|
351
|
+
string: '{"data":{"id":"ad3af321-1835-48e9-89e1-8c8344db9876-28","type":"events","attributes":{"uuid":"ad3af321-1835-48e9-89e1-8c8344db9876-28","message-action":"add","obj-id":"http://schaefer.biz/obie_dach28","subj-id":"http://altenwerthdooley.org/bud28","total":"936","subj":{"pid":"fdfdfd","issued":"2018-05-21T05:58:20.000+02:00"},"relation-type-id":"total-dataset-investigations-machine","source-id":"datacite-usage","source-token":"bd90d733-d299-49db-8cd9-15b91af73aa3-28","occurred-at":"2018-05-20T18:18:08.000+02:00","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
|
352
|
+
headers:
|
353
|
+
User-Agent:
|
354
|
+
- Maremma - https://github.com/datacite/maremma
|
355
|
+
Content-Type:
|
356
|
+
- application/json
|
357
|
+
Accept:
|
358
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
359
|
+
Authorization:
|
360
|
+
- Bearer <LAGOTTO_TOKEN>
|
361
|
+
response:
|
362
|
+
status:
|
363
|
+
code: 201
|
364
|
+
message: ''
|
365
|
+
headers:
|
366
|
+
Date:
|
367
|
+
- Mon, 21 May 2018 11:38:03 GMT
|
368
|
+
Content-Type:
|
369
|
+
- application/vnd.api+json; charset=utf-8
|
370
|
+
Connection:
|
371
|
+
- keep-alive
|
372
|
+
Status:
|
373
|
+
- 201 Created
|
374
|
+
Cache-Control:
|
375
|
+
- max-age=0, private, must-revalidate
|
376
|
+
Vary:
|
377
|
+
- Accept-Encoding, Origin
|
378
|
+
Etag:
|
379
|
+
- W/"6cf16c932c076fa2c003fb0c4013eb93"
|
380
|
+
X-Runtime:
|
381
|
+
- '0.014555'
|
382
|
+
X-Credential-Username:
|
383
|
+
- 0000-0001-5489-3594
|
384
|
+
X-Request-Id:
|
385
|
+
- 014aec43-4660-4444-aa10-56268a69f7b3
|
386
|
+
X-Powered-By:
|
387
|
+
- Phusion Passenger 5.3.1
|
388
|
+
Server:
|
389
|
+
- nginx/1.14.0 + Phusion Passenger 5.3.1
|
390
|
+
body:
|
391
|
+
encoding: UTF-8
|
392
|
+
string: '{"data":{"id":"ad3af321-1835-48e9-89e1-8c8344db9876-28","type":"events","attributes":{"subj-id":"http://altenwerthdooley.org/bud28","obj-id":"http://schaefer.biz/obie_dach28","message-action":"add","source-token":"bd90d733-d299-49db-8cd9-15b91af73aa3-28","relation-type-id":"total-dataset-investigations-machine","source-id":"datacite-usage","total":936,"license":"https://creativecommons.org/publicdomain/zero/1.0/","occurred-at":"2018-05-20T16:18:08.000Z","timestamp":"2018-05-21T11:38:03Z","subj":{"pid":"fdfdfd","issued":"2018-05-21T05:58:20.000+02:00"},"obj":{}}}}'
|
393
|
+
http_version:
|
394
|
+
recorded_at: Mon, 21 May 2018 11:38:03 GMT
|
395
|
+
- request:
|
396
|
+
method: put
|
397
|
+
uri: https://api.test.datacite.org/events/d9ed044c-02f0-4cd5-b3dd-d0757d0fb595-29
|
398
|
+
body:
|
399
|
+
encoding: UTF-8
|
400
|
+
string: '{"data":{"id":"d9ed044c-02f0-4cd5-b3dd-d0757d0fb595-29","type":"events","attributes":{"uuid":"d9ed044c-02f0-4cd5-b3dd-d0757d0fb595-29","message-action":"add","obj-id":"http://witting.net/nedra29","subj-id":"http://schillerwatsica.co/hosea29","total":"936","subj":{"pid":"fdfdfd","issued":"2018-05-21T04:39:54.000+02:00"},"relation-type-id":"total-dataset-investigations-machine","source-id":"datacite-usage","source-token":"6ff527c3-5f75-4e71-8481-b090a4757d79-29","occurred-at":"2018-05-20T18:18:08.000+02:00","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
|
401
|
+
headers:
|
402
|
+
User-Agent:
|
403
|
+
- Maremma - https://github.com/datacite/maremma
|
404
|
+
Content-Type:
|
405
|
+
- application/json
|
406
|
+
Accept:
|
407
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
408
|
+
Authorization:
|
409
|
+
- Bearer <LAGOTTO_TOKEN>
|
410
|
+
response:
|
411
|
+
status:
|
412
|
+
code: 201
|
413
|
+
message: ''
|
414
|
+
headers:
|
415
|
+
Date:
|
416
|
+
- Mon, 21 May 2018 11:38:04 GMT
|
417
|
+
Content-Type:
|
418
|
+
- application/vnd.api+json; charset=utf-8
|
419
|
+
Connection:
|
420
|
+
- keep-alive
|
421
|
+
Status:
|
422
|
+
- 201 Created
|
423
|
+
Cache-Control:
|
424
|
+
- max-age=0, private, must-revalidate
|
425
|
+
Vary:
|
426
|
+
- Accept-Encoding, Origin
|
427
|
+
Etag:
|
428
|
+
- W/"e4613a6142db7c788427e1471b888495"
|
429
|
+
X-Runtime:
|
430
|
+
- '0.015454'
|
431
|
+
X-Credential-Username:
|
432
|
+
- 0000-0001-5489-3594
|
433
|
+
X-Request-Id:
|
434
|
+
- dc55a6ad-4a1e-487b-9066-14fbe2f9dfb4
|
435
|
+
X-Powered-By:
|
436
|
+
- Phusion Passenger 5.3.1
|
437
|
+
Server:
|
438
|
+
- nginx/1.14.0 + Phusion Passenger 5.3.1
|
439
|
+
body:
|
440
|
+
encoding: UTF-8
|
441
|
+
string: '{"data":{"id":"d9ed044c-02f0-4cd5-b3dd-d0757d0fb595-29","type":"events","attributes":{"subj-id":"http://schillerwatsica.co/hosea29","obj-id":"http://witting.net/nedra29","message-action":"add","source-token":"6ff527c3-5f75-4e71-8481-b090a4757d79-29","relation-type-id":"total-dataset-investigations-machine","source-id":"datacite-usage","total":936,"license":"https://creativecommons.org/publicdomain/zero/1.0/","occurred-at":"2018-05-20T16:18:08.000Z","timestamp":"2018-05-21T11:38:04Z","subj":{"pid":"fdfdfd","issued":"2018-05-21T04:39:54.000+02:00"},"obj":{}}}}'
|
442
|
+
http_version:
|
443
|
+
recorded_at: Mon, 21 May 2018 11:38:04 GMT
|
444
|
+
- request:
|
445
|
+
method: put
|
446
|
+
uri: https://api.test.datacite.org/events/3f97af43-c1b5-44d4-aca1-25a3a2adab34-30
|
447
|
+
body:
|
448
|
+
encoding: UTF-8
|
449
|
+
string: '{"data":{"id":"3f97af43-c1b5-44d4-aca1-25a3a2adab34-30","type":"events","attributes":{"uuid":"3f97af43-c1b5-44d4-aca1-25a3a2adab34-30","message-action":"add","obj-id":"http://gorczany.io/alvah_welch30","subj-id":"http://osinskirogahn.org/janie30","total":"936","subj":{"pid":"fdfdfd","issued":"2018-05-21T05:10:47.000+02:00"},"relation-type-id":"total-dataset-investigations-machine","source-id":"datacite-usage","source-token":"4f193706-d89a-4ea6-b7b6-a389859d5642-30","occurred-at":"2018-05-20T18:18:08.000+02:00","license":"https://creativecommons.org/publicdomain/zero/1.0/"}}}'
|
450
|
+
headers:
|
451
|
+
User-Agent:
|
452
|
+
- Maremma - https://github.com/datacite/maremma
|
453
|
+
Content-Type:
|
454
|
+
- application/json
|
455
|
+
Accept:
|
456
|
+
- text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
|
457
|
+
Authorization:
|
458
|
+
- Bearer <LAGOTTO_TOKEN>
|
459
|
+
response:
|
460
|
+
status:
|
461
|
+
code: 201
|
462
|
+
message: ''
|
463
|
+
headers:
|
464
|
+
Date:
|
465
|
+
- Mon, 21 May 2018 11:38:04 GMT
|
466
|
+
Content-Type:
|
467
|
+
- application/vnd.api+json; charset=utf-8
|
468
|
+
Connection:
|
469
|
+
- keep-alive
|
470
|
+
Status:
|
471
|
+
- 201 Created
|
472
|
+
Cache-Control:
|
473
|
+
- max-age=0, private, must-revalidate
|
474
|
+
Vary:
|
475
|
+
- Accept-Encoding, Origin
|
476
|
+
Etag:
|
477
|
+
- W/"ca5c115f398e51c0026ef2e8129cea89"
|
478
|
+
X-Runtime:
|
479
|
+
- '0.014403'
|
480
|
+
X-Credential-Username:
|
481
|
+
- 0000-0001-5489-3594
|
482
|
+
X-Request-Id:
|
483
|
+
- 127861c3-9a4b-4181-a477-4c9be92878b9
|
484
|
+
X-Powered-By:
|
485
|
+
- Phusion Passenger 5.3.1
|
486
|
+
Server:
|
487
|
+
- nginx/1.14.0 + Phusion Passenger 5.3.1
|
488
|
+
body:
|
489
|
+
encoding: UTF-8
|
490
|
+
string: '{"data":{"id":"3f97af43-c1b5-44d4-aca1-25a3a2adab34-30","type":"events","attributes":{"subj-id":"http://osinskirogahn.org/janie30","obj-id":"http://gorczany.io/alvah_welch30","message-action":"add","source-token":"4f193706-d89a-4ea6-b7b6-a389859d5642-30","relation-type-id":"total-dataset-investigations-machine","source-id":"datacite-usage","total":936,"license":"https://creativecommons.org/publicdomain/zero/1.0/","occurred-at":"2018-05-20T16:18:08.000Z","timestamp":"2018-05-21T11:38:04Z","subj":{"pid":"fdfdfd","issued":"2018-05-21T05:10:47.000+02:00"},"obj":{}}}}'
|
491
|
+
http_version:
|
492
|
+
recorded_at: Mon, 21 May 2018 11:38:04 GMT
|
493
|
+
recorded_with: VCR 3.0.3
|