-
Notifications
You must be signed in to change notification settings - Fork 3
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
fix(new delivery service calls in CLI) #3673
Conversation
In production we need to have one command which does the full delivery, meaning both to the customer inbox on hasta and then from hasta to Caesar. Having this command would reduce the possibility that one would forget to run the rsync command. Otherwise, I think that this logic looks a lot cleaner and easier to understand. However, I was wondering about the removal of the The merge of this PR would require that you change the following document to be up to date: https://atlas.scilifelab.se/production/data_analysis/workflows/raw_data_delivery/ |
Alright, then I will add the rsync to both.
It fetches what is available and delivers it. If a bundle is missing it will be skipped by default.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really nice! Let's make sure all of the weird logic is covered though. I'll post a little list
cg/services/file_delivery/deliver_files_service/deliver_files_service.py
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did not mean to request changes 😅
I really like the logic described above. I think simplicity is something we should really strive for here. @karlnyr Do you see any potential problems with it? |
Here's a list of strange things we need to include from the top of my head.Concatenation of microSALT cases
"Missing bundles"
CLI commands
|
Quality Gate passedIssues Measures |
Merging into dev branch - copied the required tests into the dev brancnh as well. |
Description
Implements the new delivery service in the CLI calls
Motivation:
Previously cg deliver analysis had functionality for both ticket and case delivery in one even though a cg deliver ticket cli command exists.
Streamlined the functionaliy of the cg deliver case/ticket, now both function just deliver files to the customer inbox on the HPC. A separate Rsync call is now required.
Added
Changed
Fixed
How to prepare for test
us
paxa
How to test
Expected test outcome
Review
Thanks for filling in who performed the code review and the test!
This version is a
Implementation Plan