Serve snapshots in Cayenne
Implement snapshots serving in Cayenne.
Snapshots are stored in S3 bucket and currently served by CS (code) through http://api.crossref.org/snapshots
Moving this to Cayenne requires implementation of bucket listings and constructing a redirect to S3 for downloading a snapshot.
The listings should be available to anyone and the download only for users with valid PLUS token. Assuming tokens are checked outside Cayenne, this can be controlled by startup tasks and/or env vars.
Definition of ready
-
Product owner: @ppolischuk1 -
Tech lead: @dtkaczyk -
Service:: label applied -
Definition of done updated -
Weight applied
Definition of done
-
Unit tests identified, implemented, and passing -
Code reviewed -
Available via a staging URL -
Knowledge base reviewed and updated -
Public documentation reviewed and updated -
Consider any impacts to current or future architecture/infrastructure, and update specifications and documentation as needed -
Acceptance criteria met -
Usage data is available via Cloudwatch, with some manner of determining what was downloaded, by whom, and when. We'll make sure this is handled as part of issues#945 -
Cayenne is able to serve snapshots bucket listings and redirects to S3 for snapshot downloading
-
Prior to and during Backlog Refinement, consider the potential impacts this user story may have on the following areas:
- Billing/costs
- Internal documentation
- External documentation
- Schema
- Outputs
- Operations
- Support & Membership experience
- Outreach & Communications
- Testing
- Internationalization
- Accessibility
- Metrics, analytics, reporting
Additional details about the above items can be found here.
Notes
Edited by Dominika Tkaczyk