Fixed eu-west-2 entries for discovery-ec2 and repository-s3 also updated the asciidocs

This commit is contained in:
Nic Palmer 2016-12-21 15:48:07 +00:00
parent 2653208147
commit 3894ec9bae
4 changed files with 6 additions and 1 deletions

View File

@ -120,6 +120,7 @@ The available values are:
* `ap-northeast` (`ap-northeast-1`) for Asia Pacific (Tokyo) * `ap-northeast` (`ap-northeast-1`) for Asia Pacific (Tokyo)
* `ap-northeast-2` (`ap-northeast-2`) for Asia Pacific (Seoul) * `ap-northeast-2` (`ap-northeast-2`) for Asia Pacific (Seoul)
* `eu-west` (`eu-west-1`) for EU (Ireland) * `eu-west` (`eu-west-1`) for EU (Ireland)
* `eu-west-2` (`eu-west-2`) for EU (London)
* `eu-central` (`eu-central-1`) for EU (Frankfurt) * `eu-central` (`eu-central-1`) for EU (Frankfurt)
* `sa-east` (`sa-east-1`) for South America (São Paulo) * `sa-east` (`sa-east-1`) for South America (São Paulo)
* `cn-north` (`cn-north-1`) for China (Beijing) * `cn-north` (`cn-north-1`) for China (Beijing)

View File

@ -125,6 +125,7 @@ The available values are:
* `ap-northeast` (`ap-northeast-1`) for Asia Pacific (Tokyo) * `ap-northeast` (`ap-northeast-1`) for Asia Pacific (Tokyo)
* `ap-northeast-2` (`ap-northeast-2`) for Asia Pacific (Seoul) * `ap-northeast-2` (`ap-northeast-2`) for Asia Pacific (Seoul)
* `eu-west` (`eu-west-1`) for EU (Ireland) * `eu-west` (`eu-west-1`) for EU (Ireland)
* `eu-west-2` (`eu-west-2`) for EU (London)
* `eu-central` (`eu-central-1`) for EU (Frankfurt) * `eu-central` (`eu-central-1`) for EU (Frankfurt)
* `sa-east` (`sa-east-1`) for South America (São Paulo) * `sa-east` (`sa-east-1`) for South America (São Paulo)
* `cn-north` (`cn-north-1`) for China (Beijing) * `cn-north` (`cn-north-1`) for China (Beijing)

View File

@ -210,4 +210,4 @@ public class AwsEc2ServiceImpl extends AbstractComponent implements AwsEc2Servic
// Ensure that IdleConnectionReaper is shutdown // Ensure that IdleConnectionReaper is shutdown
IdleConnectionReaper.shutdown(); IdleConnectionReaper.shutdown();
} }
} }

View File

@ -202,6 +202,9 @@ public class InternalAwsS3Service extends AbstractLifecycleComponent implements
case "eu-west-1": case "eu-west-1":
endpoint = "s3-eu-west-1.amazonaws.com"; endpoint = "s3-eu-west-1.amazonaws.com";
break; break;
case "eu-west-2":
endpoint = "s3-eu-west-2.amazonaws.com";
break;
case "eu-central": case "eu-central":
case "eu-central-1": case "eu-central-1":
endpoint = "s3.eu-central-1.amazonaws.com"; endpoint = "s3.eu-central-1.amazonaws.com";