sul-dlss / sdr-client

SDR API client (in Ruby)
https://sul-dlss.github.io/sdr-api/
Other
0 stars 1 forks source link

Wrap asynchronous API interactions with AsyncResult interface #133

Closed mjgiarlo closed 4 years ago

mjgiarlo commented 4 years ago

This is what dor-services-client already does to protect downstream applications from having to worry about SDR API client/server interactions. Port this approach to sdr-client.

See:

justinlittman commented 4 years ago

Upon further discussion with @jcoyne, it was determined that this approach is potentially problematic. A deposit may take an indeterminate amount of time; exceeding the timeout does not necessarily indicate that deposit failed.

closing in favor of https://github.com/sul-dlss/happy-heron/issues/202