Changeset View
Changeset View
Standalone View
Standalone View
docs/specs/blueprint.rst
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | |||||
'partial' | 'partial' | ||||
The deposit is new or partially received, since it can be done in | The deposit is new or partially received, since it can be done in | ||||
multiple requests | multiple requests | ||||
'expired' | 'expired' | ||||
Deposit was there too long and is new deemed ready to be | Deposit was there too long and is new deemed ready to be | ||||
garbage-collected | garbage-collected | ||||
'ready' | 'deposited' | ||||
Deposit is fully received and ready for injection | Deposit passed the checks | ||||
'injecting' | 'rejected' | ||||
Deposit failed the checks | |||||
'verified' | |||||
Deposit passed the checks and is ready for loading | |||||
'loading' | |||||
Injection is ongoing on SWH's side | Injection is ongoing on SWH's side | ||||
'success' | 'done' | ||||
Injection successful | Loading is successful | ||||
'failure' | 'failed' | ||||
Injection failure | Loading failed | ||||
Updating an existing deposit | Updating an existing deposit | ||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||||
5. Client updates existing deposit through the *update uris* (one or more POST | 5. Client updates existing deposit through the *update uris* (one or more POST | ||||
or PUT requests to either the *edit-media iri* or *edit iri*). | or PUT requests to either the *edit-media iri* or *edit iri*). | ||||
Show All 30 Lines | |||||
'partial' | 'partial' | ||||
The deposit is new or partially received, since it can be done in | The deposit is new or partially received, since it can be done in | ||||
multiple requests | multiple requests | ||||
'expired' | 'expired' | ||||
Deposit was there too long and is new deemed ready to be | Deposit was there too long and is new deemed ready to be | ||||
garbage-collected | garbage-collected | ||||
'ready' | 'deposited' | ||||
Deposit is fully received and ready for injection | Deposit passed the checks | ||||
'rejected' | |||||
Deposit failed the checks | |||||
'injecting' | 'verified' | ||||
Deposit passed the checks and is ready for loading | |||||
'loading' | |||||
Injection is ongoing on SWH's side | Injection is ongoing on SWH's side | ||||
'success' | 'done' | ||||
Injection successful | Loading is successful | ||||
'failure' | 'failed' | ||||
Injection failure | Loading failed | ||||
Deleting deposit (or associated archive, or associated metadata) | Deleting deposit (or associated archive, or associated metadata) | ||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||||
6. Deposit deletion is possible as long as the deposit is still in ``partial`` | 6. Deposit deletion is possible as long as the deposit is still in ``partial`` | ||||
state. | state. | ||||
1. Server validates the client's input or returns detailed error if any | 1. Server validates the client's input or returns detailed error if any | ||||
Show All 13 Lines | |||||
'partial' | 'partial' | ||||
The deposit is new or partially received, since it can be done in | The deposit is new or partially received, since it can be done in | ||||
multiple requests | multiple requests | ||||
'expired' | 'expired' | ||||
Deposit was there too long and is new deemed ready to be | Deposit was there too long and is new deemed ready to be | ||||
garbage-collected | garbage-collected | ||||
'ready' | 'deposited' | ||||
Deposit is fully received and ready for injection | Deposit passed the checks | ||||
'rejected' | |||||
Deposit failed the checks | |||||
'verified' | |||||
Deposit passed the checks and is ready for loading | |||||
'injecting' | 'loading' | ||||
Injection is ongoing on SWH's side | Injection is ongoing on SWH's side | ||||
'success' | 'done' | ||||
Injection successful | Loading is successful | ||||
'failure' | 'failed' | ||||
Injection failure | Loading failed | ||||
Client asks for operation status | Client asks for operation status | ||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||||
7. Operation status can be read through a GET query to the *state iri*. | 7. Operation status can be read through a GET query to the *state iri*. | ||||
Server: Triggering deposit checks | Server: Triggering deposit checks | ||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||||
Show All 16 Lines |