Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-4159

S3BitStoreService validate region before checking for bucket existence

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Code Review Needed (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.3
    • Fix Version/s: None
    • Component/s: API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Needed

      Description

      Currently `S3BitStoreService` checks for the configured AWS bucket's existence before validating the configured region ( S3BitStoreService line 87 ) . If the configured region is not supported the error is logged and seen as a `400 Bad Request`. The configured region should be validated first and throw a more detailed error on failure. Submitting a PR that does so.

      Credit to Chris Wilper for discovery of the bug.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            andrewwood Andrew Wood Atmire
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: