-
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
Move API upload endpoint to package service #1016
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1016 +/- ##
==========================================
- Coverage 53.13% 53.01% -0.12%
==========================================
Files 101 100 -1
Lines 5814 5768 -46
==========================================
- Hits 3089 3058 -31
+ Misses 2474 2461 -13
+ Partials 251 249 -2 ☔ View full report in Codecov by Sentry. |
8c8ef3e
to
b2fe128
Compare
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.
Nice cleanup!
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.
For the record, I'm now remembering that a missing piece for this upload method to become super useful is to return an identifier, e.g. the workflow identifier, so a client can pull processing state. I think that we had an issue describing this limitation, but I can't find it.
- Remove the upload service and package. - Set up and close the upload bucket in main. - Update configuration: - Make upload max size configurable. - Use `go.artefactual.dev/tools/bucket` config struct. [skip-codecov]
This endpoint only proxies the upload to a bucket, the workflow is then triggered like a normal MinIO deposit, if properly configured. |
b2fe128
to
a0d454d
Compare
go.artefactual.dev/tools/bucket
config struct.Refs #977.