Uploaded image for project: 'mod-data-export'
  1. mod-data-export
  2. MDEXP-68

Create a S3 bucket for a tenant

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      Concorde - Sprint 83, Concorde - Sprint 84
    • Story Points:
      5
    • Development Team:
      Concorde

      Description

      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

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                energ1zr Dmytro Popov
                Reporter:
                KVupp Kruthi Vuppala
                Tester Assignee:
                Magda Zacharska Magda Zacharska
                Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases