Implement file transfer helper #50

Closed
opened 2025-05-29 08:57:23 +00:00 by hurui200320 · 1 comment
Member

This ticket will implement the file transfer helper, offering a user-friendly method to send file and stream using the multi chunk message.

The implemented code must meet the following requirement from Jeff:

  • The multi-part message of the file transfer should be simplified and encapsulated to be easy to use by the consuming service without the need to handle the individual message parts. They just deal with the file and the decomposition into multipart components is handled by micro.
  • A file should be successfully be able to be uploaded to a microservice.
  • A file should successfully be able to be downloaded from the microservice.
  • CleverMicro should not store the file or itself keep the file in the assembled form, it should only be assembled on at the end of the process should assembly be needed.
  • Streaming the file should also be permissible for the handling of very-large files.
  • Must provide the original filename as part of the metadata attached to the file.
  • Provide the total filesize before the file upload has completed, such that someone streaming the file in will know the total size before getting to the end and before upload finished.

This ticket depends on clevermicro/amq-adapter-python#49

This ticket will implement the file transfer helper, offering a user-friendly method to send file and stream using the multi chunk message. The implemented code must meet the following requirement from Jeff: * The multi-part message of the file transfer should be simplified and encapsulated to be easy to use by the consuming service without the need to handle the individual message parts. They just deal with the file and the decomposition into multipart components is handled by micro. * A file should be successfully be able to be uploaded to a microservice. * A file should successfully be able to be downloaded from the microservice. * CleverMicro should **not** store the file or itself keep the file in the assembled form, it should only be assembled on at the end of the process should assembly be needed. * Streaming the file should also be permissible for the handling of very-large files. * Must provide the original filename as part of the metadata attached to the file. * Provide the total filesize **before** the file upload has completed, such that someone streaming the file in will know the total size before getting to the end and before upload finished. This ticket depends on clevermicro/amq-adapter-python#49
stanislav.hejny added this to the V.01 milestone 2025-06-15 07:19:05 +00:00

implemented with #59 (see #58)

implemented with https://git.cleverthis.com/clevermicro/amq-adapter-python/pulls/59 (see #58)
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
You do not have permission to read 1 dependency
Depends on
Reference: clevermicro/amq-adapter-python#50
No description provided.