toccatore 0.4.9 → 0.4.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +52 -52
  3. data/lib/toccatore/base.rb +2 -2
  4. data/lib/toccatore/datacite_related.rb +10 -1
  5. data/lib/toccatore/version.rb +1 -1
  6. data/spec/base_spec.rb +4 -4
  7. data/spec/cli_spec.rb +31 -31
  8. data/spec/datacite_related_spec.rb +10 -10
  9. data/spec/fixtures/event_data_resp_1 +2 -2
  10. data/spec/fixtures/event_data_resp_2 +4 -4
  11. data/spec/fixtures/events_empty.json +3 -3
  12. data/spec/fixtures/usage_event.json +1 -1
  13. data/spec/fixtures/usage_event_fail.json +2 -2
  14. data/spec/fixtures/usage_events.json +15 -15
  15. data/spec/fixtures/vcr_cassettes/Toccatore_Base/get_doi_ra/crossref.yml +21 -45
  16. data/spec/fixtures/vcr_cassettes/Toccatore_Base/get_doi_ra/datacite.yml +23 -47
  17. data/spec/fixtures/vcr_cassettes/Toccatore_Base/send_notification_to_slack/datacite_related.yml +14 -12
  18. data/spec/fixtures/vcr_cassettes/Toccatore_Base/send_notification_to_slack/datacite_related_no_works.yml +15 -13
  19. data/spec/fixtures/vcr_cassettes/Toccatore_Base/send_notification_to_slack/orcid_update.yml +14 -12
  20. data/spec/fixtures/vcr_cassettes/Toccatore_Base/send_notification_to_slack/orcid_update_no_works.yml +15 -13
  21. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_fail.yml +345 -852
  22. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_query_by_DOI.yml +327 -409
  23. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_query_by_related_identifier.yml +140 -117
  24. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_succeed.yml +1267 -2068
  25. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/datacite_related/should_succeed_with_no_works.yml +31 -25
  26. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_fail.yml +47 -39
  27. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_query_by_DOI.yml +673 -855
  28. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_query_by_ORCID_ID.yml +1885 -2419
  29. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_succeed.yml +1555 -1991
  30. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/orcid_update/should_succeed_with_no_works.yml +31 -27
  31. data/spec/fixtures/vcr_cassettes/Toccatore_CLI/usage_update/no_reports_in_the_queue/should_succeed_with_no_works.yml +29 -29
  32. data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/get_data/should_allow_queries_by_DOI_of_the_Datacite_Metadata_Search_API.yml +16 -12
  33. data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/get_data/should_allow_queries_by_related_identifier_of_the_Datacite_Metadata_Search_API.yml +17 -13
  34. 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
  35. 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
  36. data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/get_total/with_no_works.yml +15 -11
  37. data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/get_total/with_works.yml +16 -12
  38. 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
  39. 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
  40. data/spec/fixtures/vcr_cassettes/Toccatore_DataciteRelated/push_data/should_work_with_DataCite_Event_Data.yml +4026 -6556
  41. data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_data/should_allow_queries_by_DOI_of_the_Datacite_Metadata_Search_API.yml +15 -13
  42. data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_data/should_allow_queries_by_ORCID_ID_of_the_Datacite_Metadata_Search_API.yml +15 -11
  43. 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
  44. 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
  45. data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_total/with_no_works.yml +15 -13
  46. data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/get_total/with_works.yml +15 -13
  47. data/spec/fixtures/vcr_cassettes/Toccatore_OrcidUpdate/push_data/should_delete_claims.yml +25 -32
  48. 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
  49. 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
  50. 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
  51. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_data/when_there_are_messages/should_return_the_data_for_one_message.yml +50 -29
  52. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_data/when_there_is_ONE_message/should_return_the_data_for_one_message.yml +50 -29
  53. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_message/should_return_no_meessage_when_the_queue_is_empty.yml +17 -17
  54. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_message/should_return_one_message_when_there_are_multiple_messages.yml +17 -17
  55. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/get_total/when_is_working_with_AWS.yml +32 -32
  56. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/push_data/should_fail_if_format_of_the_event_is_empty.yml +139 -22
  57. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/push_data/should_fail_if_format_of_the_event_is_wrong.yml +534 -1025
  58. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/push_data/should_work_with_a_single_item.yml +134 -254
  59. data/spec/fixtures/vcr_cassettes/Toccatore_UsageUpdate/queue_url/should_return_always_correct_queue_url.yml +8 -8
  60. data/spec/orcid_update_spec.rb +1 -1
  61. data/spec/{queque_spec.rb → queue_spec.rb} +0 -0
  62. data/spec/spec_helper.rb +1 -1
  63. data/spec/usage_update_spec.rb +32 -32
  64. data/toccatore.gemspec +6 -6
  65. metadata +31 -31
@@ -2,61 +2,61 @@
2
2
  {
3
3
  "uuid": "a17e783b-8214-451e-9b0d-077213c2acae",
4
4
  "message-action": "add",
5
- "subj-id": "https://metrics.test.datacite.org/reports/2018-3-Dash",
5
+ "subj-id": "https://api.test.datacite.org/reports/2018-3-Dash",
6
6
  "subj": {
7
- "pid": "https://metrics.test.datacite.org/reports/2018-3-Dash",
7
+ "pid": "https://api.test.datacite.org/reports/2018-3-Dash",
8
8
  "issued": "2128-04-09"
9
9
  },
10
10
  "total": 3,
11
11
  "obj-id": "https://doi.org/10.7291/d1q94r",
12
12
  "relation-type-id": "total-dataset-investigations-regular",
13
13
  "source-id": "datacite",
14
- "source-token": "43ba99ae-5cf0-11e8-9c2d-fa7ae01bbebc",
14
+ "source-token": "28276d12-b320-41ba-9272-bb0adc3466ff",
15
15
  "occurred-at": "2128-04-09",
16
16
  "license": "https://creativecommons.org/publicdomain/zero/1.0/"
17
17
  }, {
18
18
  "uuid": "fc6860b8-4230-41bc-8b8e-21d60e9a7d9a",
19
19
  "message-action": "add",
20
- "subj-id": "https://metrics.test.datacite.org/reports/2018-3-Dash",
20
+ "subj-id": "https://api.test.datacite.org/reports/2018-3-Dash",
21
21
  "subj": {
22
- "pid": "https://metrics.test.datacite.org/reports/2018-3-Dash",
22
+ "pid": "https://api.test.datacite.org/reports/2018-3-Dash",
23
23
  "issued": "2128-04-09"
24
24
  },
25
25
  "total": 3,
26
26
  "obj-id": "https://doi.org/10.7291/d1q94r",
27
27
  "relation-type-id": "unique-dataset-investigations-regular",
28
- "source-id": "datacite",
29
- "source-token": "43ba99ae-5cf0-11e8-9c2d-fa7ae01bbebc",
28
+ "source-id": "datacite-usage",
29
+ "source-token": "28276d12-b320-41ba-9272-bb0adc3466ff",
30
30
  "occurred-at": "2128-04-09",
31
31
  "license": "https://creativecommons.org/publicdomain/zero/1.0/"
32
32
  }, {
33
33
  "uuid": "054da0ad-9821-492e-877e-5c3adbfd5ccf",
34
34
  "message-action": "add",
35
- "subj-id": "https://metrics.test.datacite.org/reports/2018-3-Dash",
35
+ "subj-id": "https://api.test.datacite.org/reports/2018-3-Dash",
36
36
  "subj": {
37
- "pid": "https://metrics.test.datacite.org/reports/2018-3-Dash",
37
+ "pid": "https://api.test.datacite.org/reports/2018-3-Dash",
38
38
  "issued": "2128-04-09"
39
39
  },
40
40
  "total": 254,
41
41
  "obj-id": "https://doi.org/10.6071/z7wc73",
42
42
  "relation-type-id": "Total-Dataset-Requests-Machine",
43
- "source-id": "datacite",
44
- "source-token": "43ba99ae-5cf0-11e8-9c2d-fa7ae01bbebc",
43
+ "source-id": "datacite-usage",
44
+ "source-token": "28276d12-b320-41ba-9272-bb0adc3466ff",
45
45
  "occurred-at": "2128-04-09",
46
46
  "license": "https://creativecommons.org/publicdomain/zero/1.0/"
47
47
  }, {
48
48
  "uuid": "6d6fd620-2123-42da-91f3-6c02e63f3cec",
49
49
  "message-action": "add",
50
- "subj-id": "https://metrics.test.datacite.org/reports/2018-3-Dash",
50
+ "subj-id": "https://api.test.datacite.org/reports/2018-3-Dash",
51
51
  "subj": {
52
- "pid": "https://metrics.test.datacite.org/reports/2018-3-Dash",
52
+ "pid": "https://api.test.datacite.org/reports/2018-3-Dash",
53
53
  "issued": "2128-04-09"
54
54
  },
55
55
  "total": 208,
56
56
  "obj-id": "https://doi.org/10.6071/z7wc73",
57
57
  "relation-type-id": "Unique-Dataset-Requests-Machine",
58
- "source-id": "datacite",
59
- "source-token": "43ba99ae-5cf0-11e8-9c2d-fa7ae01bbebc",
58
+ "source-id": "datacite-usage",
59
+ "source-token": "28276d12-b320-41ba-9272-bb0adc3466ff",
60
60
  "occurred-at": "2128-04-09",
61
61
  "license": "https://creativecommons.org/publicdomain/zero/1.0/"
62
62
  }
@@ -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,57 +16,33 @@ http_interactions:
16
16
  code: 200
17
17
  message: ''
18
18
  headers:
19
- Access-Control-Allow-Credentials:
20
- - 'true'
21
- Access-Control-Allow-Headers:
22
- - Content-Type,Accept,Accept-Encoding,Origin,User-Agent,Cache-Control,Keep-Alive
23
- Access-Control-Allow-Methods:
24
- - POST, GET, OPTIONS
25
- Access-Control-Allow-Origin:
26
- - "*"
27
- Access-Control-Max-Age:
28
- - '1728000'
29
- Cache-Control:
30
- - max-age=0, private, must-revalidate
19
+ Date:
20
+ - Fri, 10 Aug 2018 13:40:04 GMT
31
21
  Content-Type:
32
22
  - application/vnd.api+json; charset=utf-8
33
- Date:
34
- - Fri, 10 Mar 2017 21:37:10 GMT
35
- Etag:
36
- - W/"daf85afdb45f3c2713bc7e75916ba82a"
37
- Server:
38
- - openresty/1.11.2.2
23
+ Connection:
24
+ - keep-alive
39
25
  Status:
40
26
  - 200 OK
27
+ X-Anonymous-Consumer:
28
+ - 'true'
29
+ Cache-Control:
30
+ - max-age=0, private, must-revalidate
41
31
  Vary:
42
- - Accept-Encoding
43
- Via:
44
- - kong/0.10.0rc3
45
- X-Content-Type-Options:
46
- - nosniff
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Kong-Proxy-Latency:
50
- - '1'
51
- X-Kong-Upstream-Latency:
52
- - '384'
53
- X-Powered-By:
54
- - Phusion Passenger 5.1.2
55
- X-Ratelimit-Limit-Hour:
56
- - '10000'
57
- X-Ratelimit-Remaining-Hour:
58
- - '9998'
32
+ - Accept-Encoding, Origin
59
33
  X-Request-Id:
60
- - 108bec99-876c-4d10-b3d1-0246c406557f
34
+ - 05d50b94-ce2c-461e-87d6-b96927c96532
35
+ Etag:
36
+ - W/"258c3a49bbc303b1229efe2fae9cc9e2"
61
37
  X-Runtime:
62
- - '0.382567'
63
- X-Xss-Protection:
64
- - 1; mode=block
65
- Connection:
66
- - keep-alive
38
+ - '0.100187'
39
+ X-Powered-By:
40
+ - Phusion Passenger 5.3.4
41
+ Server:
42
+ - nginx/1.14.0 + Phusion Passenger 5.3.4
67
43
  body:
68
- encoding: UTF-8
69
- string: '{"data":{"id":"10.7554","type":"prefixes","attributes":{"registration-agency":"Crossref","updated":"2016-09-21T21:07:27Z"}}}'
44
+ encoding: ASCII-8BIT
45
+ string: '{"data":{"id":"10.7554","type":"handles","attributes":{"registration-agency":"Crossref","created":null,"updated":"2016-09-21T21:07:27Z"},"relationships":{"clients":{"data":[]},"providers":{"data":[]}}}}'
70
46
  http_version:
71
- recorded_at: Fri, 10 Mar 2017 21:37:10 GMT
47
+ recorded_at: Fri, 10 Aug 2018 13:40:04 GMT
72
48
  recorded_with: VCR 3.0.3
@@ -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,59 +16,35 @@ http_interactions:
16
16
  code: 200
17
17
  message: ''
18
18
  headers:
19
- Access-Control-Allow-Credentials:
20
- - 'true'
21
- Access-Control-Allow-Headers:
22
- - Content-Type,Accept,Accept-Encoding,Origin,User-Agent,Cache-Control,Keep-Alive
23
- Access-Control-Allow-Methods:
24
- - POST, GET, OPTIONS
25
- Access-Control-Allow-Origin:
26
- - "*"
27
- Access-Control-Max-Age:
28
- - '1728000'
29
- Cache-Control:
30
- - max-age=0, private, must-revalidate
19
+ Date:
20
+ - Fri, 10 Aug 2018 13:40:04 GMT
31
21
  Content-Type:
32
22
  - application/vnd.api+json; charset=utf-8
33
- Date:
34
- - Fri, 10 Mar 2017 21:33:42 GMT
35
- Etag:
36
- - W/"1eb3f4f371821b1becc6cd25a71755ce"
37
- Server:
38
- - openresty/1.11.2.2
23
+ Connection:
24
+ - keep-alive
39
25
  Status:
40
26
  - 200 OK
27
+ X-Anonymous-Consumer:
28
+ - 'true'
29
+ Cache-Control:
30
+ - max-age=0, private, must-revalidate
41
31
  Vary:
42
- - Accept-Encoding
43
- Via:
44
- - kong/0.10.0rc3
45
- X-Content-Type-Options:
46
- - nosniff
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Kong-Proxy-Latency:
50
- - '3'
51
- X-Kong-Upstream-Latency:
52
- - '577'
53
- X-Powered-By:
54
- - Phusion Passenger 5.1.2
55
- X-Ratelimit-Limit-Hour:
56
- - '10000'
57
- X-Ratelimit-Remaining-Hour:
58
- - '9999'
32
+ - Accept-Encoding, Origin
59
33
  X-Request-Id:
60
- - 64a8e7a2-594d-491d-8a96-68e88a136fbd
34
+ - 8700324c-2564-48fa-94e3-59dff94c4c81
35
+ Etag:
36
+ - W/"2d33bfdf34ccb1bfea6ae7d2cd01cb9b"
61
37
  X-Runtime:
62
- - '0.575399'
63
- X-Xss-Protection:
64
- - 1; mode=block
65
- Content-Length:
66
- - '124'
67
- Connection:
68
- - keep-alive
38
+ - '0.012854'
39
+ X-Powered-By:
40
+ - Phusion Passenger 5.3.4
41
+ Server:
42
+ - nginx/1.14.0 + Phusion Passenger 5.3.4
69
43
  body:
70
- encoding: UTF-8
71
- string: '{"data":{"id":"10.5061","type":"prefixes","attributes":{"registration-agency":"DataCite","updated":"2016-09-21T20:27:07Z"}}}'
44
+ encoding: ASCII-8BIT
45
+ string: '{"data":{"id":"10.5061","type":"prefixes","attributes":{"registration-agency":"DataCite","created":"2010-01-01T00:00:00.000Z","updated":null},"relationships":{"clients":{"data":[{"id":"dryad.dryad","type":"clients"}]},"providers":{"data":[{"id":"dryad","type":"providers"}]}}},"included":[{"id":"dryad.dryad","type":"clients","attributes":{"name":"DRYAD","symbol":"DRYAD.DRYAD","year":2018,"contact-name":"Dryad
46
+ Administrator","contact-email":"admin@datadryad.org","domains":"*","url":null,"is-active":true,"has-password":true,"created":"2018-04-24T20:59:15Z","updated":"2018-08-10T02:36:18Z"},"relationships":{"prefixes":{"meta":{}},"provider":{"meta":{}},"repository":{"meta":{}}}},{"id":"dryad","type":"providers","attributes":{"name":"Dryad","symbol":"DRYAD","website":null,"contact-name":"Elizabeth
47
+ Hull","contact-email":"ehull@datadryad.org","phone":null,"description":null,"country":"US","logo-url":"https://assets.datacite.org/images/members/dryad.png","institution-type":null,"is-active":true,"has-password":true,"joined":"2017-12-30","created":"2018-02-08T23:35:26.000Z","updated":"2018-08-10T02:25:53.000Z"},"relationships":{"clients":{"meta":{}},"prefixes":{"meta":{}}}}]}'
72
48
  http_version:
73
- recorded_at: Fri, 10 Mar 2017 21:33:42 GMT
49
+ recorded_at: Fri, 10 Aug 2018 13:40:04 GMT
74
50
  recorded_with: VCR 3.0.3
@@ -26,31 +26,33 @@ http_interactions:
26
26
  - '22'
27
27
  Connection:
28
28
  - keep-alive
29
- Access-Control-Allow-Origin:
30
- - "*"
31
29
  Date:
32
- - Wed, 29 Mar 2017 12:22:55 GMT
33
- Referrer-Policy:
34
- - no-referrer
30
+ - Fri, 10 Aug 2018 16:22:55 GMT
35
31
  Server:
36
32
  - Apache
33
+ X-Slack-Backend:
34
+ - h
35
+ Referrer-Policy:
36
+ - no-referrer
37
37
  Strict-Transport-Security:
38
38
  - max-age=31536000; includeSubDomains; preload
39
- Vary:
40
- - Accept-Encoding
41
39
  X-Frame-Options:
42
40
  - SAMEORIGIN
43
- X-Slack-Backend:
44
- - h
41
+ Vary:
42
+ - Accept-Encoding
43
+ Access-Control-Allow-Origin:
44
+ - "*"
45
+ X-Via:
46
+ - haproxy-www-xom6
45
47
  X-Cache:
46
48
  - Miss from cloudfront
47
49
  Via:
48
- - 1.1 8a4d4882753d62d900bb1b7541308eca.cloudfront.net (CloudFront)
50
+ - 1.1 fd0b6604a702c913fca13c5d665f0604.cloudfront.net (CloudFront)
49
51
  X-Amz-Cf-Id:
50
- - NHshrt1mNkLoOKPf0Eb6EdL_WFYPdKTkLcWcuHUCLS0rn-b31QoKgw==
52
+ - D4QjAqyFTNMO4eqoqhWyd_DL2yVMldgPKJ570PA-3UDp86opy1mlNw==
51
53
  body:
52
54
  encoding: ASCII-8BIT
53
55
  string: ok
54
56
  http_version:
55
- recorded_at: Wed, 29 Mar 2017 12:22:55 GMT
57
+ recorded_at: Fri, 10 Aug 2018 16:22:55 GMT
56
58
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: "<SLACK_WEBHOOK_URL>"
6
6
  body:
7
7
  encoding: US-ASCII
8
- 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%220+works+found+for+date+range+2015-04-07+-+2015-04-08.%22%2C%22color%22%3A%22warning%22%7D%5D%7D
8
+ 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%22No+works+found+for+date+range+2015-04-07+-+2015-04-08.%22%2C%22color%22%3A%22warning%22%7D%5D%7D
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -26,31 +26,33 @@ http_interactions:
26
26
  - '22'
27
27
  Connection:
28
28
  - keep-alive
29
- Access-Control-Allow-Origin:
30
- - "*"
31
29
  Date:
32
- - Wed, 29 Mar 2017 12:32:14 GMT
33
- Referrer-Policy:
34
- - no-referrer
30
+ - Fri, 10 Aug 2018 16:22:55 GMT
35
31
  Server:
36
32
  - Apache
33
+ X-Slack-Backend:
34
+ - h
35
+ Referrer-Policy:
36
+ - no-referrer
37
37
  Strict-Transport-Security:
38
38
  - max-age=31536000; includeSubDomains; preload
39
- Vary:
40
- - Accept-Encoding
41
39
  X-Frame-Options:
42
40
  - SAMEORIGIN
43
- X-Slack-Backend:
44
- - h
41
+ Vary:
42
+ - Accept-Encoding
43
+ Access-Control-Allow-Origin:
44
+ - "*"
45
+ X-Via:
46
+ - haproxy-www-1dak
45
47
  X-Cache:
46
48
  - Miss from cloudfront
47
49
  Via:
48
- - 1.1 ffaf96eee86cf7d96c222b2f54e79b63.cloudfront.net (CloudFront)
50
+ - 1.1 8391f131e4acb30724947dab1f8592a5.cloudfront.net (CloudFront)
49
51
  X-Amz-Cf-Id:
50
- - sId6-A4zxQG3y6g80-ChvRT3r9j6sEDB7Xk2-YBlPktC2847t3eG2Q==
52
+ - yA55f36SX2NU10nM60AG-sukjhRiMrkcE7XYzKhWkfkspwTo9-JAHw==
51
53
  body:
52
54
  encoding: ASCII-8BIT
53
55
  string: ok
54
56
  http_version:
55
- recorded_at: Wed, 29 Mar 2017 12:32:15 GMT
57
+ recorded_at: Fri, 10 Aug 2018 16:22:55 GMT
56
58
  recorded_with: VCR 3.0.3
@@ -26,31 +26,33 @@ http_interactions:
26
26
  - '22'
27
27
  Connection:
28
28
  - keep-alive
29
- Access-Control-Allow-Origin:
30
- - "*"
31
29
  Date:
32
- - Wed, 29 Mar 2017 12:32:55 GMT
33
- Referrer-Policy:
34
- - no-referrer
30
+ - Fri, 10 Aug 2018 16:22:55 GMT
35
31
  Server:
36
32
  - Apache
33
+ X-Slack-Backend:
34
+ - h
35
+ Referrer-Policy:
36
+ - no-referrer
37
37
  Strict-Transport-Security:
38
38
  - max-age=31536000; includeSubDomains; preload
39
- Vary:
40
- - Accept-Encoding
41
39
  X-Frame-Options:
42
40
  - SAMEORIGIN
43
- X-Slack-Backend:
44
- - h
41
+ Vary:
42
+ - Accept-Encoding
43
+ Access-Control-Allow-Origin:
44
+ - "*"
45
+ X-Via:
46
+ - haproxy-www-egoz
45
47
  X-Cache:
46
48
  - Miss from cloudfront
47
49
  Via:
48
- - 1.1 9ddc180a2ed3a76b4f04630a423d2191.cloudfront.net (CloudFront)
50
+ - 1.1 5954578e851092964f39f2f5f0596950.cloudfront.net (CloudFront)
49
51
  X-Amz-Cf-Id:
50
- - m83jooakTi1cBV-qNAu3fzsAWk07G1je1icRGbFI2KiYFM34D2Np-w==
52
+ - gaF12DJ6cemBuBReC2E4UVsBD1vITQqkohD7fo8xysh7Ckx5dILaxg==
51
53
  body:
52
54
  encoding: ASCII-8BIT
53
55
  string: ok
54
56
  http_version:
55
- recorded_at: Wed, 29 Mar 2017 12:32:55 GMT
57
+ recorded_at: Fri, 10 Aug 2018 16:22:55 GMT
56
58
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: "<SLACK_WEBHOOK_URL>"
6
6
  body:
7
7
  encoding: US-ASCII
8
- 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+orcid_update%22%2C%22text%22%3A%220+works+found+for+date+range+2015-04-07+-+2015-04-08.%22%2C%22color%22%3A%22warning%22%7D%5D%7D
8
+ 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+orcid_update%22%2C%22text%22%3A%22No+works+found+for+date+range+2015-04-07+-+2015-04-08.%22%2C%22color%22%3A%22warning%22%7D%5D%7D
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -26,31 +26,33 @@ http_interactions:
26
26
  - '22'
27
27
  Connection:
28
28
  - keep-alive
29
- Access-Control-Allow-Origin:
30
- - "*"
31
29
  Date:
32
- - Wed, 29 Mar 2017 12:32:57 GMT
33
- Referrer-Policy:
34
- - no-referrer
30
+ - Fri, 10 Aug 2018 16:22:55 GMT
35
31
  Server:
36
32
  - Apache
33
+ X-Slack-Backend:
34
+ - h
35
+ Referrer-Policy:
36
+ - no-referrer
37
37
  Strict-Transport-Security:
38
38
  - max-age=31536000; includeSubDomains; preload
39
- Vary:
40
- - Accept-Encoding
41
39
  X-Frame-Options:
42
40
  - SAMEORIGIN
43
- X-Slack-Backend:
44
- - h
41
+ Vary:
42
+ - Accept-Encoding
43
+ Access-Control-Allow-Origin:
44
+ - "*"
45
+ X-Via:
46
+ - haproxy-www-gqq9
45
47
  X-Cache:
46
48
  - Miss from cloudfront
47
49
  Via:
48
- - 1.1 116dfe20853b94f9e029d92f1353f8c8.cloudfront.net (CloudFront)
50
+ - 1.1 e72ed739d85b0c5633dfd1f214a1adca.cloudfront.net (CloudFront)
49
51
  X-Amz-Cf-Id:
50
- - eAUEy-sXUZzMpWkaWjQ5aSVrAvdRLAm-CBBLqx22pvzfLSeHgsJaog==
52
+ - vEtVeIti62chzJq_sHG7P_fHVny7c9nQNC9RckvHM3Vfr5YST6Hulg==
51
53
  body:
52
54
  encoding: ASCII-8BIT
53
55
  string: ok
54
56
  http_version:
55
- recorded_at: Wed, 29 Mar 2017 12:32:59 GMT
57
+ recorded_at: Fri, 10 Aug 2018 16:22:55 GMT
56
58
  recorded_with: VCR 3.0.3