Skip to content

feat: Deletion of resources on AWS S3 #335

Merged
ElenaStamenkovskaCC merged 9 commits into
mainfrom
feature/delete-resource-s3
Mar 19, 2026
Merged

feat: Deletion of resources on AWS S3 #335
ElenaStamenkovskaCC merged 9 commits into
mainfrom
feature/delete-resource-s3

Conversation

@ElenaStamenkovskaCC
Copy link
Copy Markdown
Collaborator

@ElenaStamenkovskaCC ElenaStamenkovskaCC commented Mar 12, 2026

What Changed?

  • This PR introduces deletion of media info. It clears the resource on Aws S3 Bucket storage.

Why?

  • Previously, the system lacked a mechanism to synchronize database state with cloud storage during deletion. This resulted in "orphaned" files occupying space in the AWS S3 bucket. By introducing the delete-file/{id} endpoint, we ensure a full lifecycle cleanup of resources, reducing storage overhead and maintaining data consistency.

Closes #334

Type of Change

  • ✨ New feature (adds new functionality without breaking existing features)

How Did You Test This?

  • Triggered the DELETE endpoint via Swagger UI to verify the end-to-end flow from the API layer to AWS.
  • Manually inspected the AWS Management Console to confirm the physical object was successfully removed from the S3 bucket.

What I tested:

  • [ ]
  • [ ]

How to test it:

Review Checklist

  • My code follows the project's style and conventions
  • I've reviewed my own code for obvious issues
  • I've added comments where the code might be confusing
  • I've updated relevant documentation (if needed)
  • I've tested my changes and they work as expected

Screenshots / Additional Context

@ElenaStamenkovskaCC ElenaStamenkovskaCC changed the title Feature/delete resource s3 feat: Deletion of resources on AWS S3 Mar 13, 2026
@ElenaStamenkovskaCC ElenaStamenkovskaCC marked this pull request as ready for review March 13, 2026 13:36
Comment thread Dappi.SourceGenerator/Generators/ActionsGenerator.cs Outdated
Comment thread Dappi.HeadlessCms/Interfaces/IS3ClientFactory.cs Outdated
Comment thread Dappi.HeadlessCms/Interfaces/ISesClientFactory.cs Outdated
Comment thread Dappi.HeadlessCms/ServiceExtensions.cs Outdated
@ElenaStamenkovskaCC ElenaStamenkovskaCC merged commit 187c728 into main Mar 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Delete Resource from AWS S3 Bucket

3 participants