-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
Why are these changes being introduced: * OpenLibrary API calls were failing as they were blocking traffic without User Agents being set Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/TCO-109 How does this address that need: * Follow OpenLibrary documentation to add a User Agent for our requests, including an email address they can contact if issues arise with our calls Document any side effects to this change: * Created a new moira list for tacos maintainers (tacos-help) and added engx-lib as the owners * Updated Unpaywall code to use the same email (from ENV) as OpenLibrary to avoid setting the same value to two different variables * Added some VCR cassette scrubbing to keep some "not sensitive but probably best to not store in cassettes" data * Confirmed deleting cassettes will regenerate and scrub the data, but not require changing ENV in between runs as we see in some other apps (I'm not sure why to be honest).
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
DETECTOR_VERSION=1 | ||
LINKRESOLVER_BASEURL=https://mit.primo.exlibrisgroup.com/discovery/openurl?institution=01MIT_INST&rfr_id=info:sid/mit.tacos.api&vid=01MIT_INST:MIT | ||
UNPAYWALL_EMAIL=timdex@mit.edu | ||
TACOS_EMAIL=tacos-help@mit.edu |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.