diff --git a/docs/images/.gitignore b/docs/images/.gitignore --- a/docs/images/.gitignore +++ b/docs/images/.gitignore @@ -1 +1 @@ -*.svg +*.png diff --git a/docs/images/deposit-delete-chart.png b/docs/images/deposit-delete-chart.png deleted file mode 100644 index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc$@> CLIENT: return 201, - loop while status is 'partial' + CLIENT -> DEPOSIT: DELETE /1///media/\nDELETE /1///metadata/ - CLIENT -> DEPOSIT: DELETE /1///media/\nDELETE /1///metadata/ - - DEPOSIT ->> DEPOSIT_STORAGE: check authentication - DEPOSIT_STORAGE -->> DEPOSIT: return ok - - DEPOSIT ->> DEPOSIT_STORAGE: check inputs() + DEPOSIT ->> DEPOSIT_STORAGE: check authentication + DEPOSIT_STORAGE -->> DEPOSIT: return ok - alt status is 'partial' - DEPOSIT_STORAGE -->> DEPOSIT: return ok - DEPOSIT ->> DEPOSIT_STORAGE: delete-deposit-or-deposit-archives() - DEPOSIT_STORAGE -->> DEPOSIT: return ok - DEPOSIT -->> CLIENT: return 204 - else status is not 'partial' - DEPOSIT_STORAGE -->> DEPOSIT: return ko - DEPOSIT -->> CLIENT: return 400 - end + DEPOSIT ->> DEPOSIT_STORAGE: check inputs() + alt status is 'partial' + DEPOSIT_STORAGE -->> DEPOSIT: return ok + DEPOSIT ->> DEPOSIT_STORAGE: delete-deposit-or-deposit-archives() + DEPOSIT_STORAGE -->> DEPOSIT: return ok + DEPOSIT -->> CLIENT: return 204 + else status is not 'partial' + DEPOSIT_STORAGE -->> DEPOSIT: return ko + DEPOSIT -->> CLIENT: return 400, "You can only act on deposit with status partial" end @enduml -