Skip to content

File Server delete move, copy file using message broker #45

Description

@RydKrm

Files need to be deleted, copied, or moved.

For Example, a product or review comment needs to be deleted from the database. When a product is deleted, its corresponding file will also be deleted. Here is the process: First, retrieve the product by ID, then delete it. If deleted successfully, then its corresponding files.

Now, how the file server message broker queues are handled.

  • First, create an exchange, then create queue
  • One queue will delete files; it takes an array of file paths and deletes them.
  • One queue for copying files; It takes the file path and the copied folder
  • One queue for moving files; It takes the file path and moves the folder

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesttestingTest Code for bettertop_priorityIssue need to complete as soon as possible

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions