Done
Details
Assignee
Dmytro PopovDmytro PopovReporter
Kruthi VuppalaKruthi VuppalaTester Assignee
Magda ZacharskaMagda ZacharskaLabels
Priority
P2Story Points
5Sprint
NoneDevelopment Team
ConcordeFix versions
TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Dmytro Popov
Dmytro PopovReporter
Kruthi Vuppala
Kruthi VuppalaTester Assignee
Magda Zacharska
Magda ZacharskaLabels
Priority
Story Points
5
Sprint
None
Development Team
Concorde
Fix versions
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created February 21, 2020 at 9:39 PM
Updated March 26, 2020 at 7:29 PM
Resolved March 11, 2020 at 3:16 PM
Overview
A bucket is needed for each tenant to store the files.
Approach
This can be done during module initialization using Tenant API
Check if the bucket already doesn't exist and create one
Come up with a convention for the bucket name Ex: tenantID_foliodataExport etc..
bucket names are universal globally. So make sure the name is not a common one(probably a UUID can be appended, but this cannot be done if it'd done using module initialization as we wouldn't know the tenant bucket name if it was already created)
To POC code to export file is here: https://github.com/KVupp/folio-export-aws/blob/master/src/main/java/org/folio/folio_export_aws/App.java
Acceptance Criteria
Bucket is created if it already doesn't exists