Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3914

Support default aws region

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.11.1
    • 2.11.3
    • None
    • None

    Description

      The aws s3 support (jackrabbit-aws-ext module) only supports providing the credentials through a file and through an OSGi configuration. However, in general all aws related services provide more configuration values, especially when running aws it makes sense to support the metadata service.
      I suggest therefore to use com.amazonaws.auth.DefaultAWSCredentialsProviderChain.
      Similar goes for the region, when running in aws,
      Region region = Regions.getCurrentRegion();
      provides automatically the correct region.

      An OSGi configuration can be used for compatibility or testing to override things

      Attachments

        1. JCR-3914.patch
          5 kB
          Shashank Gupta
        2. patch.txt
          11 kB
          Carsten Ziegeler

        Activity

          People

            shgupta Shashank Gupta
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: