datadryad / dryad-product-roadmap

Repository of issues for Dryad project boards
https://github.com/orgs/datadryad/projects
8 stars 0 forks source link

Remove OAI-PMH Status updates from Dryad #2067

Closed sfisher closed 1 year ago

sfisher commented 2 years ago

Merritt would like us to get submission status information from API URLs instread of using the notifier and polling the OAI-PMH feed.

We would want to poll hitting their API endpoint (or use their callback) to get status information for outstanding items.

ryscher commented 2 years ago

Polling endpoints are defined in the "experimental" section here: https://petstore.swagger.io/?url=https://raw.githubusercontent.com/CDLUC3/mrt-dashboard/main/swagger.yml#/experimental

elopatin-uc3 commented 2 years ago

Documentation for the callback feature can be found here: https://confluence.ucop.edu/display/UC3/Merritt+Callback Note that the callback is configured on a per-collection basis.

sfisher commented 2 years ago

After discussion with the team it sounds like it's preferred to poll to avoid some difficulties having callbacks work with non-public development servers. Ryan would like more than once a minute if possible. Ashley mentioned that she doesn't love crons and that a daemon might be preferable for polling, also.

Terry mentioned he believes that these would work with both arks and dois (local ids). The experimental ones under https://petstore.swagger.io/?url=https://raw.githubusercontent.com/CDLUC3/mrt-dashboard/main/swagger.yml#/experimental

sfisher commented 1 year ago

This set of tasks is complete and tested by me and Ryan. However I moved the last task to a separate ticket since we'll need to work with Ashley to add to systemd and for production it will need to startup and have cron removed around the time of the deploy.