Skip to content

Commit

Permalink
feat(backend): remove the AWAITING_APPROVAL_FOR_REVOCATION status #1456
Browse files Browse the repository at this point in the history
also do #1444 on the fly: log user errors on info, don't log the stack trace
  • Loading branch information
fengelniederhammer committed Mar 27, 2024
1 parent a1cb912 commit a14dcb7
Show file tree
Hide file tree
Showing 31 changed files with 143 additions and 368 deletions.
2 changes: 1 addition & 1 deletion backend/docs/plantuml/sequenceInitialSubmission.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion backend/docs/plantuml/sequencePersistingData.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion backend/docs/plantuml/sequenceRevision.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions backend/docs/plantuml/sequenceRevocation.puml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
frontend -> backend: wants to revoke already processed sequence

alt accession exists and highest version is 'APPROVED_FOR_RELEASE'
backend -> DB: insert new version\nwith status 'AWAITING_APPROVAL_FOR_REVOCATION' \nand ' is_revocation = true'
backend -> DB: insert new version\nwith status 'AWAITING_APPROVAL' \nand ' is_revocation = true'
backend -> frontend: response with accession + new version number
else
backend -> frontend: response with error message
Expand All @@ -17,6 +17,6 @@
backend -> DB: set status to 'APPROVED_FOR_RELEASE'
else
frontend -> backend: cancels revocation
backend -> DB: delete latest version \nof the sequence and Status \n'AWAITING_APPROVAL_FOR_REVOCATION'
backend -> DB: delete latest version \nof the sequence and Status \n'AWAITING_APPROVAL'
end
@enduml
Loading

0 comments on commit a14dcb7

Please sign in to comment.