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
hurui200320 added the
Priority
Backlog
Type
Task
State
Unverified
labels 2025-05-29 08:57:23 +00:00
hurui200320 added a new dependency 2025-05-29 08:57:48 +00:00
hurui200320 added a new dependency 2025-05-29 08:57:55 +00:00
stanislav.hejny added
State
Verified
Points
8
and removed
State
Unverified
labels 2025-06-15 07:18:51 +00:00
stanislav.hejny added this to the V.01 milestone 2025-06-15 07:19:05 +00:00
stanislav.hejny self-assigned this 2025-08-08 12:02:34 +00:00
stanislav.hejny added
Priority
High
State
In Progress
and removed
Priority
Backlog
State
Verified
labels 2025-08-08 12:03:42 +00:00
Member

implemented with #59 (see #58)

implemented with https://git.cleverthis.com/clevermicro/amq-adapter-python/pulls/59 (see #58)
stanislav.hejny added
State
Completed
Signed-off: Owner
and removed
State
In Progress
labels 2025-08-08 12:05:20 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Blocks
You do not have permission to read 1 dependency
Depends on
Reference: clevermicro/amq-adapter-python#50