overture-stack / score

Secure Cloud Object REsource: file transfer microservice
https://www.overture.bio/products/score
GNU Affero General Public License v3.0
18 stars 10 forks source link

S3 Service using API instead of .meta file #406

Closed Azher2Ali closed 1 month ago

Azher2Ali commented 1 month ago

This commit refactors the S3DownloadService to utilize the S3 API directly instead of relying on a separate .meta file for object information.

These changes improve the resilience of the S3 download service by-

Additions to Unit Test Updates in order to validate the new exception handling mechanism. This test case ensures that the service does not fail when the .meta file is missing and that a NullPointerException is appropriately handled.

Overall, this commit modernizes the S3 service by leveraging the S3 API directly.