4 ms·
You can have the client upload to a cloud storage bucket, then notify the server that the file is ready. Upon receiving the notification, the server can start a
by stefano 8y ago
You can have the client upload to a cloud storage bucket, then notify the server that the file is ready. Upon receiving the notification, the server can start a background task that reads the file from the bucket and uploads it to the Maven repository.
It's a few extra steps for something that should be simpler, but it's workable.
- dantiberian 8y agoThe client in this case is Maven, SBT, Leiningen, e.t.c., so I don't think I can get that kind of control over how Maven would upload the files.
- foota 8y agoI'm curious, could you use a 307 redirect to redirect the user agent to a signed upload URL?