Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(backend): remove the AWAITING_APPROVAL_FOR_REVOCATION status #1482

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading