Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1283

CloudCacheStore incorrectly handles JClouds' cloudServiceLocation "EU"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Minor
    • None
    • 4.2.1.FINAL, 5.0.0.CR8
    • Loaders and Stores
    • None

    Description

      Infinispan's CloudCacheStore incorrectly handles the JClouds' cloudServiceLocation for Amazon S3 Ireland:

      <property name="cloudServiceLocation" value="EU" />

      "EU" is defined as uppercase in JClouds. This cannot be used with Infinispan because the parameter is converted to lower case in CloudCacheStore.java:183.

      A possible fix that should not break existing code would be to change CloudCacheStore.java:180 from
      return input.getId();
      to
      return input.getId().trim().toLowerCase();

      Attachments

        Activity

          People

            Unassigned Unassigned
            gernot.bauer Gernot Bauer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: