Skip to content

feat(minio): implement copy_object method in MinioAdapter#114

Merged
HosseinNejatiJavaremi merged 1 commit intoSyntaxArc:masterfrom
alip990:minio-adapter-copy
Apr 28, 2026
Merged

feat(minio): implement copy_object method in MinioAdapter#114
HosseinNejatiJavaremi merged 1 commit intoSyntaxArc:masterfrom
alip990:minio-adapter-copy

Conversation

@alip990
Copy link
Copy Markdown

@alip990 alip990 commented Apr 28, 2026

Summary

  • Add copy_object functionality to MinIO adapter for copying objects within or between buckets
  • Implements the copy operation using boto3's S3 copy_object API
  • Includes corresponding BDD test coverage

Changes

  • ports.py: Added abstract copy_object() to MinioPort interface
  • adapters.py: Implemented copy_object() in MinioAdapter
  • feature: Added "Copy object within same bucket" test scenario
  • steps: Added step implementation for copy object test

Example Usage

adapter.copy_object(
    src_bucket_name=\"source-bucket\",
    src_object_name=\"source-object.txt\",
    dest_bucket_name=\"destination-bucket\",
    dest_object_name=\"destination-object.txt\",
)

Type of Change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • BDD test scenario: "Copy object within same bucket" passes

Checklist:

  • Code follows project style guidelines
  • Self-review performed
  • No new warnings generated
  • Tests pass locally

@HosseinNejatiJavaremi HosseinNejatiJavaremi merged commit 910b6f6 into SyntaxArc:master Apr 28, 2026
4 of 5 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.

2 participants