toccatore 0.3.9 → 0.4.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile.lock +76 -54
  3. data/README.md +1 -1
  4. data/lib/toccatore/base.rb +15 -4
  5. data/lib/toccatore/cli.rb +12 -0
  6. data/lib/toccatore/datacite_related.rb +18 -3
  7. data/lib/toccatore/orcid_update.rb +6 -2
  8. data/lib/toccatore/queue.rb +56 -0
  9. data/lib/toccatore/usage_update.rb +183 -0
  10. data/lib/toccatore/version.rb +1 -1
  11. data/lib/toccatore.rb +2 -0
  12. data/spec/base_spec.rb +4 -4
  13. data/spec/cli_spec.rb +36 -3
  14. data/spec/datacite_related_spec.rb +10 -10
  15. data/spec/factories/default.rb +22 -0
  16. data/spec/fixtures/event_data_resp_1 +2 -0
  17. data/spec/fixtures/event_data_resp_2 +4 -0
  18. data/spec/fixtures/events_empty.json +33 -0
  19. data/spec/fixtures/usage_event.json +1 -0
  20. data/spec/fixtures/usage_event_fail.json +17 -0
  21. data/spec/fixtures/usage_events.json +63 -0
  22. data/spec/fixtures/usage_update.json +101 -0
  23. data/spec/fixtures/usage_update_1.json +36738 -0
  24. data/spec/fixtures/usage_update_2.json +171 -0
  25. data/spec/fixtures/usage_update_3.json +176 -0
  26. data/spec/fixtures/usage_update_4.json +101 -0
  27. data/spec/fixtures/usage_update_nil.json +6 -0
  28. data/spec/fixtures/vcr_cassettes/Toccatore_Base/get_doi_ra/crossref.yml +21 -45
  29. data/spec/fixtures/vcr_cassettes/Toccatore_Base/get_doi_ra/datacite.yml +23 -47
  30. data/spec/fixtures/vcr_cassettes/Toccatore_Base/send_notification_to_slack/datacite_related.yml +14 -12
  31. data/spec/fixtures/vcr_cassettes/Toccatore_Base/send_notification_to_slack/datacite_related_no_works.yml +15 -13
  32. data/spec/fixtures/vcr_cassettes/Toccatore_Base/send_notification_to_slack/orcid_update.yml +14 -12
  33. data/spec/fixtures/vcr_cassettes/Toccatore_Base/send_notification_to_slack/orcid_update_no_works.yml +15 -13
  34. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_fail.yml +345 -852
  35. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_query_by_DOI.yml +327 -409
  36. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_query_by_related_identifier.yml +140 -117
  37. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_succeed.yml +1267 -2068
  38. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_succeed_with_no_works.yml +31 -25
  39. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_fail.yml +47 -39
  40. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_query_by_DOI.yml +673 -855
  41. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_query_by_ORCID_ID.yml +1885 -2419
  42. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_succeed.yml +1555 -1991
  43. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_succeed_with_no_works.yml +31 -27
  44. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/usage_update/no_reports_in_the_queue/should_succeed_with_no_works.yml +196 -0
  45. data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/get_data/should_allow_queries_by_DOI_of_the_Datacite_Metadata_Search_API.yml +16 -12
  46. data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/get_data/should_allow_queries_by_related_identifier_of_the_Datacite_Metadata_Search_API.yml +17 -13
  47. data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/get_data/should_report_if_there_are_no_works_returned_by_the_Datacite_Metadata_Search_API.yml +16 -12
  48. data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/get_data/should_report_if_there_are_works_returned_by_the_Datacite_Metadata_Search_API.yml +16 -14
  49. data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/get_total/with_no_works.yml +15 -11
  50. data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/get_total/with_works.yml +16 -12
  51. data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/parse_data/should_report_if_there_are_works_returned_by_the_Datacite_Metadata_Search_API.yml +437 -869
  52. data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/push_data/should_report_if_there_are_works_returned_by_the_Datacite_Metadata_Search_API.yml +1240 -1662
  53. data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/push_data/should_work_with_DataCite_Event_Data.yml +4026 -6556
  54. data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_data/should_allow_queries_by_DOI_of_the_Datacite_Metadata_Search_API.yml +15 -13
  55. data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_data/should_allow_queries_by_ORCID_ID_of_the_Datacite_Metadata_Search_API.yml +15 -11
  56. data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_data/should_report_if_there_are_no_works_returned_by_the_Datacite_Metadata_Search_API.yml +15 -11
  57. data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_data/should_report_if_there_are_works_returned_by_the_Datacite_Metadata_Search_API.yml +15 -13
  58. data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_total/with_no_works.yml +15 -13
  59. data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_total/with_works.yml +15 -13
  60. data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/push_data/should_delete_claims.yml +25 -32
  61. data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/push_data/should_report_if_there_are_works_returned_by_the_Datacite_Metadata_Search_API.yml +1347 -1791
  62. data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/queue_jobs/should_report_if_there_are_no_works_returned_by_the_Datacite_Metadata_Search_API.yml +14 -10
  63. data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/queue_jobs/should_report_if_there_are_works_returned_by_the_Datacite_Metadata_Search_API.yml +29 -25
  64. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_data/when_there_are_messages/should_return_the_data_for_one_message.yml +73 -0
  65. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_data/when_there_is_ONE_message/should_return_the_data_for_one_message.yml +73 -0
  66. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_message/should_return_no_meessage_when_the_queue_is_empty.yml +95 -0
  67. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_message/should_return_one_message_when_there_are_multiple_messages.yml +95 -0
  68. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_total/when_is_working_with_AWS.yml +187 -0
  69. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/push_data/should_fail_if_format_of_the_event_is_empty.yml +169 -0
  70. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/push_data/should_fail_if_format_of_the_event_is_wrong.yml +667 -0
  71. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/push_data/should_work_with_a_single_item.yml +169 -0
  72. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/queue_url/should_return_always_correct_queue_url.yml +49 -0
  73. data/spec/orcid_update_spec.rb +1 -1
  74. data/spec/queue_spec.rb +47 -0
  75. data/spec/spec_helper.rb +23 -1
  76. data/spec/usage_update_spec.rb +146 -0
  77. data/toccatore.gemspec +11 -5
  78. metadata +109 -26
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Maremma - https://github.com/datacite/maremma
11
+ - Mozilla/5.0 (compatible; Maremma/4.1; +https://github.com/datacite/maremma)
12
12
  Accept:
13
13
  - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
14
14
  response:
@@ -16,20 +16,24 @@ http_interactions:
16
16
  code: 200
17
17
  message: ''
18
18
  headers:
19
- Access-Control-Allow-Methods:
20
- - GET, POST, OPTIONS
21
- Access-Control-Allow-Origin:
22
- - "*"
19
+ Date:
20
+ - Fri, 10 Aug 2018 14:33:38 GMT
23
21
  Content-Type:
24
22
  - application/json;charset=UTF-8
25
- Date:
26
- - Tue, 04 Jul 2017 17:33:52 GMT
27
- Server:
28
- - openresty/1.11.2.2
29
23
  Connection:
30
24
  - keep-alive
25
+ Server:
26
+ - nginx/1.10.3 (Ubuntu)
27
+ Access-Control-Allow-Origin:
28
+ - "*"
29
+ Access-Control-Allow-Methods:
30
+ - GET, POST, PUT, DELETE, OPTIONS
31
+ Access-Control-Allow-Headers:
32
+ - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
33
+ Access-Control-Expose-Headers:
34
+ - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
31
35
  body:
32
- encoding: UTF-8
36
+ encoding: ASCII-8BIT
33
37
  string: '{"responseHeader":{"status":0,"QTime":0},"response":{"numFound":0,"start":0,"docs":[]}}
34
38
 
35
39
  '
@@ -8,7 +8,7 @@ http_interactions:
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - Maremma - https://github.com/datacite/maremma
11
+ - Mozilla/5.0 (compatible; Maremma/4.1; +https://github.com/datacite/maremma)
12
12
  Accept:
13
13
  - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
14
14
  response:
@@ -16,22 +16,24 @@ http_interactions:
16
16
  code: 200
17
17
  message: ''
18
18
  headers:
19
- Access-Control-Allow-Methods:
20
- - GET, POST, OPTIONS
21
- Access-Control-Allow-Origin:
22
- - "*"
19
+ Date:
20
+ - Fri, 10 Aug 2018 14:33:38 GMT
23
21
  Content-Type:
24
22
  - application/json;charset=UTF-8
25
- Date:
26
- - Tue, 04 Jul 2017 17:33:52 GMT
27
- Server:
28
- - openresty/1.11.2.2
29
- Content-Length:
30
- - '89'
31
23
  Connection:
32
24
  - keep-alive
25
+ Server:
26
+ - nginx/1.10.3 (Ubuntu)
27
+ Access-Control-Allow-Origin:
28
+ - "*"
29
+ Access-Control-Allow-Methods:
30
+ - GET, POST, PUT, DELETE, OPTIONS
31
+ Access-Control-Allow-Headers:
32
+ - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
33
+ Access-Control-Expose-Headers:
34
+ - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
33
35
  body:
34
- encoding: UTF-8
36
+ encoding: ASCII-8BIT
35
37
  string: '{"responseHeader":{"status":0,"QTime":0},"response":{"numFound":55,"start":0,"docs":[]}}
36
38
 
37
39
  '
@@ -45,7 +47,7 @@ http_interactions:
45
47
  string: ''
46
48
  headers:
47
49
  User-Agent:
48
- - Maremma - https://github.com/datacite/maremma
50
+ - Mozilla/5.0 (compatible; Maremma/4.1; +https://github.com/datacite/maremma)
49
51
  Accept:
50
52
  - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
51
53
  response:
@@ -53,23 +55,25 @@ http_interactions:
53
55
  code: 200
54
56
  message: ''
55
57
  headers:
56
- Access-Control-Allow-Methods:
57
- - GET, POST, OPTIONS
58
- Access-Control-Allow-Origin:
59
- - "*"
58
+ Date:
59
+ - Fri, 10 Aug 2018 14:33:38 GMT
60
60
  Content-Type:
61
61
  - application/json;charset=UTF-8
62
- Date:
63
- - Tue, 04 Jul 2017 17:33:52 GMT
64
- Server:
65
- - openresty/1.11.2.2
66
- Content-Length:
67
- - '10081'
68
62
  Connection:
69
63
  - keep-alive
64
+ Server:
65
+ - nginx/1.10.3 (Ubuntu)
66
+ Access-Control-Allow-Origin:
67
+ - "*"
68
+ Access-Control-Allow-Methods:
69
+ - GET, POST, PUT, DELETE, OPTIONS
70
+ Access-Control-Allow-Headers:
71
+ - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
72
+ Access-Control-Expose-Headers:
73
+ - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Content-Range,Range,Authorization
70
74
  body:
71
- encoding: UTF-8
72
- string: '{"responseHeader":{"status":0,"QTime":0},"response":{"numFound":55,"start":0,"docs":[{"minted":"2015-04-08T08:54:57Z","updated":"2015-04-08T08:54:57Z","doi":"10.5284/1030449","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0003-3938-899X","ORCID:0000-0002-2725-6730"]},{"minted":"2013-05-28T23:17:58Z","updated":"2015-04-07T11:44:34Z","doi":"10.6084/M9.FIGSHARE.707350","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-9964-6984"]},{"minted":"2013-05-28T23:19:24Z","updated":"2015-04-07T11:44:34Z","doi":"10.6084/M9.FIGSHARE.707351","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-9964-6984"]},{"minted":"2013-07-01T02:46:44Z","updated":"2015-04-08T13:56:29Z","doi":"10.6084/M9.FIGSHARE.735810","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-07-01T02:48:05Z","updated":"2015-04-08T13:56:29Z","doi":"10.6084/M9.FIGSHARE.735811","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-07-14T00:34:46Z","updated":"2015-04-08T13:56:30Z","doi":"10.6084/M9.FIGSHARE.745301","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-07-14T19:57:14Z","updated":"2015-04-08T13:56:30Z","doi":"10.6084/M9.FIGSHARE.745313","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-07-17T15:43:04Z","updated":"2015-04-08T13:56:32Z","doi":"10.6084/M9.FIGSHARE.746960","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-08-01T01:56:31Z","updated":"2015-04-08T13:56:32Z","doi":"10.6084/M9.FIGSHARE.760716","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-08-11T17:51:31Z","updated":"2015-04-08T13:56:35Z","doi":"10.6084/M9.FIGSHARE.769272","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-08-11T17:58:38Z","updated":"2015-04-08T13:56:32Z","doi":"10.6084/M9.FIGSHARE.769271","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-08-11T18:02:15Z","updated":"2015-04-08T13:56:32Z","doi":"10.6084/M9.FIGSHARE.769270","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-08-22T00:40:17Z","updated":"2015-04-08T13:56:35Z","doi":"10.6084/M9.FIGSHARE.778701","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-08-22T04:04:35Z","updated":"2015-04-08T13:56:35Z","doi":"10.6084/M9.FIGSHARE.779705","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2015-04-07T03:09:59Z","updated":"2015-04-07T03:09:59Z","doi":"10.6084/M9.FIGSHARE.1368269","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-4000-4167"]},{"minted":"2015-04-07T03:22:11Z","updated":"2015-04-07T03:22:11Z","doi":"10.6084/M9.FIGSHARE.1368484","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0001-6176-2816"]},{"minted":"2015-04-07T04:17:39Z","updated":"2015-04-07T04:17:39Z","doi":"10.6084/M9.FIGSHARE.1368488","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0003-3796-827X"]},{"minted":"2015-04-07T10:04:56Z","updated":"2015-04-07T10:04:57Z","doi":"10.6084/M9.FIGSHARE.1368581","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0003-1073-887X"]},{"minted":"2015-04-07T13:40:59Z","updated":"2015-04-07T13:40:59Z","doi":"10.6084/M9.FIGSHARE.1368663","resourceTypeGeneral":"Collection","nameIdentifier":["ORCID:0000-0001-9873-8342"]},{"minted":"2015-04-07T15:36:38Z","updated":"2015-04-07T15:36:38Z","doi":"10.6084/M9.FIGSHARE.1368671","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3437-4911"]},{"minted":"2015-04-07T17:49:57Z","updated":"2015-04-07T17:49:57Z","doi":"10.6084/M9.FIGSHARE.1368728","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0001-9873-8342"]},{"minted":"2015-04-07T19:15:46Z","updated":"2015-04-07T19:15:46Z","doi":"10.6084/M9.FIGSHARE.1368744","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-7757-8001"]},{"minted":"2015-04-07T19:18:10Z","updated":"2015-04-07T19:18:10Z","doi":"10.6084/M9.FIGSHARE.1368745","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-7757-8001"]},{"minted":"2015-04-07T19:35:40Z","updated":"2015-04-07T19:35:40Z","doi":"10.6084/M9.FIGSHARE.1368746","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-7757-8001"]},{"minted":"2015-04-07T23:28:15Z","updated":"2015-04-07T23:28:15Z","doi":"10.6084/M9.FIGSHARE.1368761","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-6176-2816"]},{"minted":"2015-04-08T01:46:24Z","updated":"2015-04-08T01:46:24Z","doi":"10.6084/M9.FIGSHARE.1368774","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-0311-9774"]},{"minted":"2015-04-08T07:37:07Z","updated":"2015-04-08T07:37:07Z","doi":"10.6084/M9.FIGSHARE.1370882","resourceTypeGeneral":"Collection","nameIdentifier":["ORCID:0000-0001-6921-5307"]},{"minted":"2015-04-08T10:13:29Z","updated":"2015-04-08T10:13:29Z","doi":"10.6084/M9.FIGSHARE.1226424","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0001-8478-7549"]},{"minted":"2015-04-08T14:05:30Z","updated":"2015-04-08T14:05:30Z","doi":"10.6084/M9.FIGSHARE.1371006","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2015-04-08T14:12:36Z","updated":"2015-04-08T14:12:36Z","doi":"10.6084/M9.FIGSHARE.1371005","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2015-04-08T17:22:40Z","updated":"2015-04-08T17:22:41Z","doi":"10.6084/M9.FIGSHARE.1371077","resourceTypeGeneral":"Collection","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:30Z","updated":"2015-04-08T17:35:30Z","doi":"10.6084/M9.FIGSHARE.1371009","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:30Z","updated":"2015-04-08T17:35:30Z","doi":"10.6084/M9.FIGSHARE.1371008","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:30Z","updated":"2015-04-08T17:35:30Z","doi":"10.6084/M9.FIGSHARE.1371010","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:31Z","updated":"2015-04-08T17:35:31Z","doi":"10.6084/M9.FIGSHARE.1371011","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:33Z","updated":"2015-04-08T17:35:33Z","doi":"10.6084/M9.FIGSHARE.1371013","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:33Z","updated":"2015-04-08T17:35:33Z","doi":"10.6084/M9.FIGSHARE.1371014","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:34Z","updated":"2015-04-08T17:35:34Z","doi":"10.6084/M9.FIGSHARE.1371012","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:34Z","updated":"2015-04-08T17:35:34Z","doi":"10.6084/M9.FIGSHARE.1371015","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:36Z","updated":"2015-04-08T17:35:36Z","doi":"10.6084/M9.FIGSHARE.1371017","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:38Z","updated":"2015-04-08T17:35:38Z","doi":"10.6084/M9.FIGSHARE.1371018","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:37Z","updated":"2015-04-08T17:35:37Z","doi":"10.6084/M9.FIGSHARE.1371016","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:37Z","updated":"2015-04-08T17:35:37Z","doi":"10.6084/M9.FIGSHARE.1371019","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T20:30:18Z","updated":"2015-04-08T20:30:18Z","doi":"10.6084/M9.FIGSHARE.1371114","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5882-6823"]},{"minted":"2015-04-08T20:32:25Z","updated":"2015-04-08T20:32:25Z","doi":"10.6084/M9.FIGSHARE.1337953","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5882-6823"]},{"minted":"2015-04-08T23:41:41Z","updated":"2015-04-08T23:41:41Z","doi":"10.6084/M9.FIGSHARE.1371137","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2015-04-08T23:48:49Z","updated":"2015-04-08T23:48:49Z","doi":"10.6084/M9.FIGSHARE.1371138","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2015-04-08T23:55:26Z","updated":"2015-04-08T23:55:26Z","doi":"10.6084/M9.FIGSHARE.1371139","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-04-16T00:45:06Z","updated":"2015-04-08T13:56:35Z","doi":"10.6084/M9.FIGSHARE.999239","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-04-28T12:44:11Z","updated":"2015-04-08T13:56:38Z","doi":"10.6084/M9.FIGSHARE.1008321","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-04-28T13:12:45Z","updated":"2015-04-08T13:56:37Z","doi":"10.6084/M9.FIGSHARE.1008320","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-05-02T23:51:05Z","updated":"2015-04-08T13:56:38Z","doi":"10.6084/M9.FIGSHARE.1014351","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-05-02T23:51:54Z","updated":"2015-04-08T13:56:38Z","doi":"10.6084/M9.FIGSHARE.1014348","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-05-03T00:43:42Z","updated":"2015-04-08T13:56:40Z","doi":"10.6084/M9.FIGSHARE.1014352","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-06-02T01:33:35Z","updated":"2015-04-08T13:56:40Z","doi":"10.6084/M9.FIGSHARE.1041547","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]}]}}
75
+ encoding: ASCII-8BIT
76
+ string: '{"responseHeader":{"status":0,"QTime":1},"response":{"numFound":55,"start":0,"docs":[{"minted":"2015-04-08T08:54:57Z","updated":"2015-04-08T08:54:57Z","doi":"10.5284/1030449","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0003-3938-899X","ORCID:0000-0002-2725-6730"]},{"minted":"2015-04-07T03:09:59Z","updated":"2015-04-07T03:09:59Z","doi":"10.6084/M9.FIGSHARE.1368269","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-4000-4167"]},{"minted":"2015-04-07T03:22:11Z","updated":"2015-04-07T03:22:11Z","doi":"10.6084/M9.FIGSHARE.1368484","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0001-6176-2816"]},{"minted":"2015-04-07T04:17:39Z","updated":"2015-04-07T04:17:39Z","doi":"10.6084/M9.FIGSHARE.1368488","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0003-3796-827X"]},{"minted":"2015-04-07T10:04:56Z","updated":"2015-04-07T10:04:57Z","doi":"10.6084/M9.FIGSHARE.1368581","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0003-1073-887X"]},{"minted":"2015-04-07T13:40:59Z","updated":"2015-04-07T13:40:59Z","doi":"10.6084/M9.FIGSHARE.1368663","resourceTypeGeneral":"Collection","nameIdentifier":["ORCID:0000-0001-9873-8342"]},{"minted":"2015-04-07T15:36:38Z","updated":"2015-04-07T15:36:38Z","doi":"10.6084/M9.FIGSHARE.1368671","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3437-4911"]},{"minted":"2015-04-07T17:49:57Z","updated":"2015-04-07T17:49:57Z","doi":"10.6084/M9.FIGSHARE.1368728","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0001-9873-8342"]},{"minted":"2015-04-07T19:15:46Z","updated":"2015-04-07T19:15:46Z","doi":"10.6084/M9.FIGSHARE.1368744","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-7757-8001"]},{"minted":"2015-04-07T19:18:10Z","updated":"2015-04-07T19:18:10Z","doi":"10.6084/M9.FIGSHARE.1368745","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-7757-8001"]},{"minted":"2015-04-07T19:35:40Z","updated":"2015-04-07T19:35:40Z","doi":"10.6084/M9.FIGSHARE.1368746","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-7757-8001"]},{"minted":"2015-04-07T23:28:15Z","updated":"2015-04-07T23:28:15Z","doi":"10.6084/M9.FIGSHARE.1368761","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-6176-2816"]},{"minted":"2015-04-08T01:46:24Z","updated":"2015-04-08T01:46:24Z","doi":"10.6084/M9.FIGSHARE.1368774","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-0311-9774"]},{"minted":"2015-04-08T07:37:07Z","updated":"2015-04-08T07:37:07Z","doi":"10.6084/M9.FIGSHARE.1370882","resourceTypeGeneral":"Collection","nameIdentifier":["ORCID:0000-0001-6921-5307"]},{"minted":"2015-04-08T10:13:29Z","updated":"2015-04-08T10:13:29Z","doi":"10.6084/M9.FIGSHARE.1226424","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0001-8478-7549"]},{"minted":"2015-04-08T14:05:30Z","updated":"2015-04-08T14:05:30Z","doi":"10.6084/M9.FIGSHARE.1371006","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2015-04-08T14:12:36Z","updated":"2015-04-08T14:12:36Z","doi":"10.6084/M9.FIGSHARE.1371005","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2015-04-08T17:22:40Z","updated":"2015-04-08T17:22:41Z","doi":"10.6084/M9.FIGSHARE.1371077","resourceTypeGeneral":"Collection","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:30Z","updated":"2015-04-08T17:35:30Z","doi":"10.6084/M9.FIGSHARE.1371009","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:30Z","updated":"2015-04-08T17:35:30Z","doi":"10.6084/M9.FIGSHARE.1371008","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:30Z","updated":"2015-04-08T17:35:30Z","doi":"10.6084/M9.FIGSHARE.1371010","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:31Z","updated":"2015-04-08T17:35:31Z","doi":"10.6084/M9.FIGSHARE.1371011","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:33Z","updated":"2015-04-08T17:35:33Z","doi":"10.6084/M9.FIGSHARE.1371013","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:33Z","updated":"2015-04-08T17:35:33Z","doi":"10.6084/M9.FIGSHARE.1371014","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:34Z","updated":"2015-04-08T17:35:34Z","doi":"10.6084/M9.FIGSHARE.1371012","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:34Z","updated":"2015-04-08T17:35:34Z","doi":"10.6084/M9.FIGSHARE.1371015","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:36Z","updated":"2015-04-08T17:35:36Z","doi":"10.6084/M9.FIGSHARE.1371017","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:38Z","updated":"2015-04-08T17:35:38Z","doi":"10.6084/M9.FIGSHARE.1371018","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:37Z","updated":"2015-04-08T17:35:37Z","doi":"10.6084/M9.FIGSHARE.1371016","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T17:35:37Z","updated":"2015-04-08T17:35:37Z","doi":"10.6084/M9.FIGSHARE.1371019","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5921-2399"]},{"minted":"2015-04-08T20:30:18Z","updated":"2015-04-08T20:30:18Z","doi":"10.6084/M9.FIGSHARE.1371114","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5882-6823"]},{"minted":"2015-04-08T20:32:25Z","updated":"2015-04-08T20:32:25Z","doi":"10.6084/M9.FIGSHARE.1337953","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-5882-6823"]},{"minted":"2015-04-08T23:41:41Z","updated":"2015-04-08T23:41:41Z","doi":"10.6084/M9.FIGSHARE.1371137","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2015-04-08T23:48:49Z","updated":"2015-04-08T23:48:49Z","doi":"10.6084/M9.FIGSHARE.1371138","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2015-04-08T23:55:26Z","updated":"2015-04-08T23:55:26Z","doi":"10.6084/M9.FIGSHARE.1371139","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-04-16T00:45:06Z","updated":"2015-04-08T13:56:35Z","doi":"10.6084/M9.FIGSHARE.999239","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-04-28T12:44:11Z","updated":"2015-04-08T13:56:38Z","doi":"10.6084/M9.FIGSHARE.1008321","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-04-28T13:12:45Z","updated":"2015-04-08T13:56:37Z","doi":"10.6084/M9.FIGSHARE.1008320","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-05-28T23:17:58Z","updated":"2015-04-07T11:44:34Z","doi":"10.6084/M9.FIGSHARE.707350","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-9964-6984"]},{"minted":"2013-05-28T23:19:24Z","updated":"2015-04-07T11:44:34Z","doi":"10.6084/M9.FIGSHARE.707351","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0001-9964-6984"]},{"minted":"2013-07-01T02:46:44Z","updated":"2015-04-08T13:56:29Z","doi":"10.6084/M9.FIGSHARE.735810","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-07-01T02:48:05Z","updated":"2015-04-08T13:56:29Z","doi":"10.6084/M9.FIGSHARE.735811","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-07-14T00:34:46Z","updated":"2015-04-08T13:56:30Z","doi":"10.6084/M9.FIGSHARE.745301","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-07-14T19:57:14Z","updated":"2015-04-08T13:56:30Z","doi":"10.6084/M9.FIGSHARE.745313","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-07-17T15:43:04Z","updated":"2015-04-08T13:56:32Z","doi":"10.6084/M9.FIGSHARE.746960","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-08-01T01:56:31Z","updated":"2015-04-08T13:56:32Z","doi":"10.6084/M9.FIGSHARE.760716","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-08-11T17:51:31Z","updated":"2015-04-08T13:56:35Z","doi":"10.6084/M9.FIGSHARE.769272","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-08-11T17:58:38Z","updated":"2015-04-08T13:56:32Z","doi":"10.6084/M9.FIGSHARE.769271","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-08-11T18:02:15Z","updated":"2015-04-08T13:56:32Z","doi":"10.6084/M9.FIGSHARE.769270","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-08-22T00:40:17Z","updated":"2015-04-08T13:56:35Z","doi":"10.6084/M9.FIGSHARE.778701","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2013-08-22T04:04:35Z","updated":"2015-04-08T13:56:35Z","doi":"10.6084/M9.FIGSHARE.779705","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-05-02T23:51:05Z","updated":"2015-04-08T13:56:38Z","doi":"10.6084/M9.FIGSHARE.1014351","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-05-02T23:51:54Z","updated":"2015-04-08T13:56:38Z","doi":"10.6084/M9.FIGSHARE.1014348","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-05-03T00:43:42Z","updated":"2015-04-08T13:56:40Z","doi":"10.6084/M9.FIGSHARE.1014352","resourceTypeGeneral":"Image","nameIdentifier":["ORCID:0000-0002-3546-1048"]},{"minted":"2014-06-02T01:33:35Z","updated":"2015-04-08T13:56:40Z","doi":"10.6084/M9.FIGSHARE.1041547","resourceTypeGeneral":"Dataset","nameIdentifier":["ORCID:0000-0002-3546-1048"]}]}}
73
77
 
74
78
  '
75
79
  http_version:
@@ -0,0 +1,73 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.test.datacite.org/reports/5cac6ca0-9391-4e1d-95cf-ba2f475cbfad
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (compatible; Maremma/4.1; +https://github.com/datacite/maremma)
12
+ Accept:
13
+ - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
14
+ response:
15
+ status:
16
+ code: 404
17
+ message: ''
18
+ headers:
19
+ Date:
20
+ - Fri, 10 Aug 2018 13:37:20 GMT
21
+ Content-Type:
22
+ - text/html;charset=UTF-8
23
+ Connection:
24
+ - keep-alive
25
+ Server:
26
+ - Apache-Coyote/1.1
27
+ Pragma:
28
+ - no-cache
29
+ Expires:
30
+ - Thu, 01 Jan 1970 00:00:00 GMT
31
+ Cache-Control:
32
+ - no-cache, no-store
33
+ Set-Cookie:
34
+ - JSESSIONID=F2ED514B3A2B6657ADB6A0A377C03BFB; Path=/; HttpOnly
35
+ Content-Language:
36
+ - en-US
37
+ body:
38
+ encoding: ASCII-8BIT
39
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE HTML SYSTEM \"about:legacy-compat\">\n<html><head><meta
40
+ content=\"text/html; charset=UTF-8\" http-equiv=\"Content-Type\"/><meta content=\"IE=8\"
41
+ http-equiv=\"X-UA-Compatible\"/><link href=\"/resources/dijit/themes/tundra/tundra.css;jsessionid=F2ED514B3A2B6657ADB6A0A377C03BFB\"
42
+ type=\"text/css\" rel=\"stylesheet\"></link><link href=\"/resources/styles/standard.css;jsessionid=F2ED514B3A2B6657ADB6A0A377C03BFB\"
43
+ media=\"screen\" type=\"text/css\" rel=\"stylesheet\"></link><link href=\"/resources/dojox/highlight/resources/pygments/emacs.css;jsessionid=F2ED514B3A2B6657ADB6A0A377C03BFB\"
44
+ rel=\"stylesheet\"></link><link href=\"/resources/images/favicon.png;jsessionid=F2ED514B3A2B6657ADB6A0A377C03BFB\"
45
+ type=\"image/png\" rel=\"SHORTCUT ICON\"/><script type=\"text/javascript\">var
46
+ djConfig=\"en_US\"; </script><script type=\"text/javascript\" src=\"/resources/dojo/dojo.js;jsessionid=F2ED514B3A2B6657ADB6A0A377C03BFB\"></script><script
47
+ type=\"text/javascript\" src=\"/resources/spring/Spring.js;jsessionid=F2ED514B3A2B6657ADB6A0A377C03BFB\"></script><script
48
+ type=\"text/javascript\" src=\"/resources/spring/Spring-Dojo.js;jsessionid=F2ED514B3A2B6657ADB6A0A377C03BFB\"></script><script
49
+ type=\"text/javascript\" src=\"/resources/js/jquery-1.5.1.min.js;jsessionid=F2ED514B3A2B6657ADB6A0A377C03BFB\"></script><script
50
+ type=\"text/javascript\" language=\"JavaScript\">dojo.require(\"dojo.parser\");</script><title>Welcome
51
+ to DataCite Metadata Store</title></head><body class=\"tundra spring\"><div
52
+ id=\"wrapper\"><div version=\"2.0\" id=\"header\"><div id=\"title\"><a title=\"Home\"
53
+ name=\"Home\" href=\"/;jsessionid=F2ED514B3A2B6657ADB6A0A377C03BFB\"><img
54
+ src=\"/resources/images/dc-logo.gif;jsessionid=F2ED514B3A2B6657ADB6A0A377C03BFB\"
55
+ width=\"100\"/>\n Metadata Store \n </a></div><div id=\"topmenu\">You
56
+ are not logged in | <span><a href=\"/login;jsessionid=F2ED514B3A2B6657ADB6A0A377C03BFB\">Login</a></span></div><br
57
+ style=\"clear:both\"/></div><div id=\"main\"><div version=\"2.0\"><script
58
+ type=\"text/javascript\">dojo.require('dijit.TitlePane');</script><div id=\"_title_title_id\"><script
59
+ type=\"text/javascript\">Spring.addDecoration(new Spring.ElementDecoration({elementId
60
+ : '_title_title_id', widgetType : 'dijit.TitlePane', widgetAttrs : {title:
61
+ 'Requested Resource Not Found', open: true}})); </script><h2>Requested Resource
62
+ Not Found</h2><p>Sorry, we did not find the resource you were looking for.</p></div></div><div
63
+ version=\"2.0\" id=\"footer\"><span><a href=\"/;jsessionid=F2ED514B3A2B6657ADB6A0A377C03BFB\">Home</a></span>
64
+ | <span id=\"language\">Language: <a title=\"Switch language to English\"
65
+ href=\"?lang=en\"><img alt=\"Switch language to English\" src=\"/resources/images/flags/en.png;jsessionid=F2ED514B3A2B6657ADB6A0A377C03BFB\"
66
+ class=\"flag\"/></a> <a title=\"Switch language to Deutsch\" href=\"?lang=de\"><img
67
+ alt=\"Switch language to Deutsch\" src=\"/resources/images/flags/de.png;jsessionid=F2ED514B3A2B6657ADB6A0A377C03BFB\"
68
+ class=\"flag\"/></a> <a title=\"Switch language to French\" href=\"?lang=fr\"><img
69
+ alt=\"Switch language to French\" src=\"/resources/images/flags/fr.png;jsessionid=F2ED514B3A2B6657ADB6A0A377C03BFB\"
70
+ class=\"flag\"/></a> </span> | <span><a href=\"/login;jsessionid=F2ED514B3A2B6657ADB6A0A377C03BFB\">Login</a></span></div></div></div></body></html>"
71
+ http_version:
72
+ recorded_at: Fri, 10 Aug 2018 13:37:20 GMT
73
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,73 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.test.datacite.org/reports/5cac6ca0-9391-4e1d-95cf-ba2f475cbfad
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (compatible; Maremma/4.1; +https://github.com/datacite/maremma)
12
+ Accept:
13
+ - text/html,application/json,application/xml;q=0.9, text/plain;q=0.8,image/png,*/*;q=0.5
14
+ response:
15
+ status:
16
+ code: 404
17
+ message: ''
18
+ headers:
19
+ Date:
20
+ - Fri, 10 Aug 2018 13:37:20 GMT
21
+ Content-Type:
22
+ - text/html;charset=UTF-8
23
+ Connection:
24
+ - keep-alive
25
+ Server:
26
+ - Apache-Coyote/1.1
27
+ Pragma:
28
+ - no-cache
29
+ Expires:
30
+ - Thu, 01 Jan 1970 00:00:00 GMT
31
+ Cache-Control:
32
+ - no-cache, no-store
33
+ Set-Cookie:
34
+ - JSESSIONID=58855FB24518CC145509DAF6C1150DBA; Path=/; HttpOnly
35
+ Content-Language:
36
+ - en-US
37
+ body:
38
+ encoding: ASCII-8BIT
39
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE HTML SYSTEM \"about:legacy-compat\">\n<html><head><meta
40
+ content=\"text/html; charset=UTF-8\" http-equiv=\"Content-Type\"/><meta content=\"IE=8\"
41
+ http-equiv=\"X-UA-Compatible\"/><link href=\"/resources/dijit/themes/tundra/tundra.css;jsessionid=58855FB24518CC145509DAF6C1150DBA\"
42
+ type=\"text/css\" rel=\"stylesheet\"></link><link href=\"/resources/styles/standard.css;jsessionid=58855FB24518CC145509DAF6C1150DBA\"
43
+ media=\"screen\" type=\"text/css\" rel=\"stylesheet\"></link><link href=\"/resources/dojox/highlight/resources/pygments/emacs.css;jsessionid=58855FB24518CC145509DAF6C1150DBA\"
44
+ rel=\"stylesheet\"></link><link href=\"/resources/images/favicon.png;jsessionid=58855FB24518CC145509DAF6C1150DBA\"
45
+ type=\"image/png\" rel=\"SHORTCUT ICON\"/><script type=\"text/javascript\">var
46
+ djConfig=\"en_US\"; </script><script type=\"text/javascript\" src=\"/resources/dojo/dojo.js;jsessionid=58855FB24518CC145509DAF6C1150DBA\"></script><script
47
+ type=\"text/javascript\" src=\"/resources/spring/Spring.js;jsessionid=58855FB24518CC145509DAF6C1150DBA\"></script><script
48
+ type=\"text/javascript\" src=\"/resources/spring/Spring-Dojo.js;jsessionid=58855FB24518CC145509DAF6C1150DBA\"></script><script
49
+ type=\"text/javascript\" src=\"/resources/js/jquery-1.5.1.min.js;jsessionid=58855FB24518CC145509DAF6C1150DBA\"></script><script
50
+ type=\"text/javascript\" language=\"JavaScript\">dojo.require(\"dojo.parser\");</script><title>Welcome
51
+ to DataCite Metadata Store</title></head><body class=\"tundra spring\"><div
52
+ id=\"wrapper\"><div version=\"2.0\" id=\"header\"><div id=\"title\"><a title=\"Home\"
53
+ name=\"Home\" href=\"/;jsessionid=58855FB24518CC145509DAF6C1150DBA\"><img
54
+ src=\"/resources/images/dc-logo.gif;jsessionid=58855FB24518CC145509DAF6C1150DBA\"
55
+ width=\"100\"/>\n Metadata Store \n </a></div><div id=\"topmenu\">You
56
+ are not logged in | <span><a href=\"/login;jsessionid=58855FB24518CC145509DAF6C1150DBA\">Login</a></span></div><br
57
+ style=\"clear:both\"/></div><div id=\"main\"><div version=\"2.0\"><script
58
+ type=\"text/javascript\">dojo.require('dijit.TitlePane');</script><div id=\"_title_title_id\"><script
59
+ type=\"text/javascript\">Spring.addDecoration(new Spring.ElementDecoration({elementId
60
+ : '_title_title_id', widgetType : 'dijit.TitlePane', widgetAttrs : {title:
61
+ 'Requested Resource Not Found', open: true}})); </script><h2>Requested Resource
62
+ Not Found</h2><p>Sorry, we did not find the resource you were looking for.</p></div></div><div
63
+ version=\"2.0\" id=\"footer\"><span><a href=\"/;jsessionid=58855FB24518CC145509DAF6C1150DBA\">Home</a></span>
64
+ | <span id=\"language\">Language: <a title=\"Switch language to English\"
65
+ href=\"?lang=en\"><img alt=\"Switch language to English\" src=\"/resources/images/flags/en.png;jsessionid=58855FB24518CC145509DAF6C1150DBA\"
66
+ class=\"flag\"/></a> <a title=\"Switch language to Deutsch\" href=\"?lang=de\"><img
67
+ alt=\"Switch language to Deutsch\" src=\"/resources/images/flags/de.png;jsessionid=58855FB24518CC145509DAF6C1150DBA\"
68
+ class=\"flag\"/></a> <a title=\"Switch language to French\" href=\"?lang=fr\"><img
69
+ alt=\"Switch language to French\" src=\"/resources/images/flags/fr.png;jsessionid=58855FB24518CC145509DAF6C1150DBA\"
70
+ class=\"flag\"/></a> </span> | <span><a href=\"/login;jsessionid=58855FB24518CC145509DAF6C1150DBA\">Login</a></span></div></div></div></body></html>"
71
+ http_version:
72
+ recorded_at: Fri, 10 Aug 2018 13:37:20 GMT
73
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,95 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://sqs.eu-west-1.amazonaws.com/
6
+ body:
7
+ encoding: UTF-8
8
+ string: Action=GetQueueUrl&QueueName=test_usage&Version=2012-11-05
9
+ headers:
10
+ Content-Type:
11
+ - application/x-www-form-urlencoded; charset=utf-8
12
+ Accept-Encoding:
13
+ - ''
14
+ User-Agent:
15
+ - aws-sdk-ruby3/3.24.0 ruby/2.4.2 x86_64-darwin16 aws-sdk-sqs/1.4.0
16
+ X-Amz-Date:
17
+ - 20180810T162253Z
18
+ X-Amz-Content-Sha256:
19
+ - 5761efd13dd0ed81182207171d3660628968189941431d6044920ef8fe7b1160
20
+ Authorization:
21
+ - AWS4-HMAC-SHA256 Credential=AKIAIUG4XO77LTVIG3PA/20180810/eu-west-1/sqs/aws4_request,
22
+ SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=0de6df97667dd2a406a19e8a2c337179a3c6aa36e8c89832841c11cb0192eac4
23
+ Content-Length:
24
+ - '58'
25
+ Accept:
26
+ - "*/*"
27
+ response:
28
+ status:
29
+ code: 200
30
+ message: OK
31
+ headers:
32
+ Server:
33
+ - Server
34
+ Date:
35
+ - Fri, 10 Aug 2018 16:22:53 GMT
36
+ Content-Type:
37
+ - text/xml
38
+ Content-Length:
39
+ - '330'
40
+ Connection:
41
+ - keep-alive
42
+ X-Amzn-Requestid:
43
+ - eafe1a48-3ee4-5aa1-964f-49af80f90a54
44
+ body:
45
+ encoding: UTF-8
46
+ string: <?xml version="1.0"?><GetQueueUrlResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><GetQueueUrlResult><QueueUrl>https://sqs.eu-west-1.amazonaws.com/404017989009/test_usage</QueueUrl></GetQueueUrlResult><ResponseMetadata><RequestId>eafe1a48-3ee4-5aa1-964f-49af80f90a54</RequestId></ResponseMetadata></GetQueueUrlResponse>
47
+ http_version:
48
+ recorded_at: Fri, 10 Aug 2018 16:22:53 GMT
49
+ - request:
50
+ method: post
51
+ uri: https://sqs.eu-west-1.amazonaws.com/404017989009/test_usage
52
+ body:
53
+ encoding: UTF-8
54
+ string: Action=ReceiveMessage&MaxNumberOfMessages=1&QueueUrl=https%3A%2F%2Fsqs.eu-west-1.amazonaws.com%2F404017989009%2Ftest_usage&Version=2012-11-05&WaitTimeSeconds=1
55
+ headers:
56
+ Content-Type:
57
+ - application/x-www-form-urlencoded; charset=utf-8
58
+ Accept-Encoding:
59
+ - ''
60
+ User-Agent:
61
+ - aws-sdk-ruby3/3.24.0 ruby/2.4.2 x86_64-darwin16 aws-sdk-sqs/1.4.0
62
+ X-Amz-Date:
63
+ - 20180810T162253Z
64
+ X-Amz-Content-Sha256:
65
+ - b7f76556fe5b5efa85dad3a27ea532b3b8e01ad962d40f74c728489bf8a4b2f7
66
+ Authorization:
67
+ - AWS4-HMAC-SHA256 Credential=AKIAIUG4XO77LTVIG3PA/20180810/eu-west-1/sqs/aws4_request,
68
+ SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=e088813666b7e99776cb403a58c68f414833da94b205d21995c9a4612c42751b
69
+ Content-Length:
70
+ - '159'
71
+ Accept:
72
+ - "*/*"
73
+ response:
74
+ status:
75
+ code: 200
76
+ message: OK
77
+ headers:
78
+ Server:
79
+ - Server
80
+ Date:
81
+ - Fri, 10 Aug 2018 16:22:54 GMT
82
+ Content-Type:
83
+ - text/xml
84
+ Content-Length:
85
+ - '240'
86
+ Connection:
87
+ - keep-alive
88
+ X-Amzn-Requestid:
89
+ - 430d4e95-c9b6-5436-8681-1d7277ab16a6
90
+ body:
91
+ encoding: UTF-8
92
+ string: <?xml version="1.0"?><ReceiveMessageResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><ReceiveMessageResult/><ResponseMetadata><RequestId>430d4e95-c9b6-5436-8681-1d7277ab16a6</RequestId></ResponseMetadata></ReceiveMessageResponse>
93
+ http_version:
94
+ recorded_at: Fri, 10 Aug 2018 16:22:54 GMT
95
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,95 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://sqs.eu-west-1.amazonaws.com/
6
+ body:
7
+ encoding: UTF-8
8
+ string: Action=GetQueueUrl&QueueName=test_usage&Version=2012-11-05
9
+ headers:
10
+ Content-Type:
11
+ - application/x-www-form-urlencoded; charset=utf-8
12
+ Accept-Encoding:
13
+ - ''
14
+ User-Agent:
15
+ - aws-sdk-ruby3/3.24.0 ruby/2.4.2 x86_64-darwin16 aws-sdk-sqs/1.4.0
16
+ X-Amz-Date:
17
+ - 20180810T162252Z
18
+ X-Amz-Content-Sha256:
19
+ - 5761efd13dd0ed81182207171d3660628968189941431d6044920ef8fe7b1160
20
+ Authorization:
21
+ - AWS4-HMAC-SHA256 Credential=AKIAIUG4XO77LTVIG3PA/20180810/eu-west-1/sqs/aws4_request,
22
+ SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=21c229cea6023c0f942189438dff73b6cb8b95457414f2b687570efd3721e8ba
23
+ Content-Length:
24
+ - '58'
25
+ Accept:
26
+ - "*/*"
27
+ response:
28
+ status:
29
+ code: 200
30
+ message: OK
31
+ headers:
32
+ Server:
33
+ - Server
34
+ Date:
35
+ - Fri, 10 Aug 2018 16:22:52 GMT
36
+ Content-Type:
37
+ - text/xml
38
+ Content-Length:
39
+ - '330'
40
+ Connection:
41
+ - keep-alive
42
+ X-Amzn-Requestid:
43
+ - 63b7e30f-4902-5626-87f1-b0e8f71e3ccf
44
+ body:
45
+ encoding: UTF-8
46
+ string: <?xml version="1.0"?><GetQueueUrlResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><GetQueueUrlResult><QueueUrl>https://sqs.eu-west-1.amazonaws.com/404017989009/test_usage</QueueUrl></GetQueueUrlResult><ResponseMetadata><RequestId>63b7e30f-4902-5626-87f1-b0e8f71e3ccf</RequestId></ResponseMetadata></GetQueueUrlResponse>
47
+ http_version:
48
+ recorded_at: Fri, 10 Aug 2018 16:22:52 GMT
49
+ - request:
50
+ method: post
51
+ uri: https://sqs.eu-west-1.amazonaws.com/404017989009/test_usage
52
+ body:
53
+ encoding: UTF-8
54
+ string: Action=ReceiveMessage&MaxNumberOfMessages=1&QueueUrl=https%3A%2F%2Fsqs.eu-west-1.amazonaws.com%2F404017989009%2Ftest_usage&Version=2012-11-05&WaitTimeSeconds=1
55
+ headers:
56
+ Content-Type:
57
+ - application/x-www-form-urlencoded; charset=utf-8
58
+ Accept-Encoding:
59
+ - ''
60
+ User-Agent:
61
+ - aws-sdk-ruby3/3.24.0 ruby/2.4.2 x86_64-darwin16 aws-sdk-sqs/1.4.0
62
+ X-Amz-Date:
63
+ - 20180810T162252Z
64
+ X-Amz-Content-Sha256:
65
+ - b7f76556fe5b5efa85dad3a27ea532b3b8e01ad962d40f74c728489bf8a4b2f7
66
+ Authorization:
67
+ - AWS4-HMAC-SHA256 Credential=AKIAIUG4XO77LTVIG3PA/20180810/eu-west-1/sqs/aws4_request,
68
+ SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=b73eddfee2e4ca62ade3dcfa8adefa68cfb712e64a09206b7e09bb2d33841fd1
69
+ Content-Length:
70
+ - '159'
71
+ Accept:
72
+ - "*/*"
73
+ response:
74
+ status:
75
+ code: 200
76
+ message: OK
77
+ headers:
78
+ Server:
79
+ - Server
80
+ Date:
81
+ - Fri, 10 Aug 2018 16:22:53 GMT
82
+ Content-Type:
83
+ - text/xml
84
+ Content-Length:
85
+ - '240'
86
+ Connection:
87
+ - keep-alive
88
+ X-Amzn-Requestid:
89
+ - 92c1d982-ff09-5e37-ba69-8a6541155c65
90
+ body:
91
+ encoding: UTF-8
92
+ string: <?xml version="1.0"?><ReceiveMessageResponse xmlns="http://queue.amazonaws.com/doc/2012-11-05/"><ReceiveMessageResult/><ResponseMetadata><RequestId>92c1d982-ff09-5e37-ba69-8a6541155c65</RequestId></ResponseMetadata></ReceiveMessageResponse>
93
+ http_version:
94
+ recorded_at: Fri, 10 Aug 2018 16:22:53 GMT
95
+ recorded_with: VCR 3.0.3