Closed vbessonov closed 4 years ago
This PR changes S3Uploader initialisation logic, it creates two boto3 clients:
This PR fixes the authentication issue in S3Uploader caused by PR 1179. Steps to reproduce the issue:
bin/directory_import
I tested it by importing an ONIX collection into S3 with bin/directory_import script using the steps described above.
There's one test failure that seems pretty minor. Looks good otherwise.
Great, it makes sense now.
Description
This PR changes S3Uploader initialisation logic, it creates two boto3 clients:
Motivation and Context
This PR fixes the authentication issue in S3Uploader caused by PR 1179. Steps to reproduce the issue:
bin/directory_import
with valid S3 credentials In the output you'll see an authentication error.How Has This Been Tested?
I tested it by importing an ONIX collection into S3 with
bin/directory_import
script using the steps described above.Checklist: