sodafoundation / strato

SODA Strato (Multi-cloud) project provides a cloud vendor agnostic data management for hybrid cloud, intercloud or intracloud. This project is renamed as 'Strato'
Apache License 2.0
234 stars 329 forks source link

[Metadata Management] add s3 interface for s3 client mocking #1406

Open devanshjain7 opened 1 year ago

devanshjain7 commented 1 year ago

What type of PR is this?

/kind enhancement

What this PR does / why we need it: Added s3 interface to enable mocking of the aws s3 client. This will make the unit testing of aws storage driver easier and faster as it will avoid making actual API calls to the aws server.

codecov[bot] commented 1 year ago

Codecov Report

Merging #1406 (1c3487c) into metadata-management (07cac9f) will not change coverage. The diff coverage is n/a.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## metadata-management #1406 +/- ## ==================================================== Coverage 48.12% 48.12% ==================================================== Files 10 10 Lines 1571 1571 ==================================================== Hits 756 756 Misses 756 756 Partials 59 59 ```