Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3 Client #42

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

S3 Client #42

wants to merge 19 commits into from

Conversation

GoodforGod
Copy link
Contributor

@GoodforGod GoodforGod commented May 28, 2024

Features:

  • S3 Client declarative client module added
  • AWS S3 Client support added
  • Minio S3 Client support added
@S3.Client("my")
public interface SyncS3Client {

    @S3.Get("pre-{key}")
    S3Object getObject(String key);

    @S3.Get("pre-{key}")
    S3ObjectMeta getObjectMeta(String key);

    @S3.Get
    List<S3Object> getObjects(List<String> keys);

    @S3.Get
    List<S3ObjectMeta> getObjectMetas(List<String> keys);

    @S3.List("pre-{prefix}")
    S3ObjectList listObject(String prefix);

    @S3.List(value = "pre-{prefix}", limit = 50)
    S3ObjectMetaList listObjectMeta(String prefix);

    @S3.Put("pre-{key}")
    S3ObjectUpload putObject(String key, S3Body object);

    @S3.Delete("pre-{key}")
    void deleteObject(String key);

    @S3.Delete
    void deleteObjects(List<String> keys);
}

@GoodforGod GoodforGod added the new module Feature where new module is added label May 28, 2024
@GoodforGod GoodforGod added this to the v1.2.0 milestone May 28, 2024
Copy link

github-actions bot commented May 28, 2024

Test Results

582 tests   578 ✅  7m 25s ⏱️
 83 suites    4 💤
 83 files      0 ❌

Results for commit bb3b698.

♻️ This comment has been updated with latest results.

@GoodforGod GoodforGod requested a review from Squiry May 28, 2024 14:49
@GoodforGod GoodforGod added the experimental New experimental module label Aug 7, 2024
@GoodforGod GoodforGod modified the milestones: v1.2.0, v1.1.8 Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
experimental New experimental module new module Feature where new module is added
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant