cedardevs / onestop-clients

Client applications and libraries for interacting with the OneStop search API and event stream
1 stars 0 forks source link

s3 to glacier upload using s3 client, glacier restore to s3 using s3 … #12

Closed JeffreyHuynh1 closed 3 years ago

JeffreyHuynh1 commented 3 years ago

s3 to glacier upload using s3 client, glacier restore to s3 using s3 high level api, archive retrieval with glacier api

dneufeldcu commented 3 years ago

Nice work getting this switched over to s3 and the restore additions!

Changes:

Let's have unit tests in S3UtilsTest for each of the four new methods in S3Utils (essentially moving the new handler_* methods into the unit test class S3UtilsTest)

Use the handler_s3_cross_region(s3_utils, key)

Instead of handler_s3_to_glacier(s3_utils, key)

As the default flow in archive_client_integration