From b24dde88de8ea4fd7d62e4518e36c99a84abb2e7 Mon Sep 17 00:00:00 2001 From: David Pilato Date: Mon, 25 Jan 2016 08:25:31 +0100 Subject: [PATCH] Merge branch 'malpani-aws-discovery-seoul' # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit. --- .../java/org/elasticsearch/cloud/aws/AwsEc2ServiceImpl.java | 2 ++ .../java/org/elasticsearch/cloud/aws/InternalAwsS3Service.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/plugins/discovery-ec2/src/main/java/org/elasticsearch/cloud/aws/AwsEc2ServiceImpl.java b/plugins/discovery-ec2/src/main/java/org/elasticsearch/cloud/aws/AwsEc2ServiceImpl.java index 48309457d73..51dfd55b7b0 100644 --- a/plugins/discovery-ec2/src/main/java/org/elasticsearch/cloud/aws/AwsEc2ServiceImpl.java +++ b/plugins/discovery-ec2/src/main/java/org/elasticsearch/cloud/aws/AwsEc2ServiceImpl.java @@ -181,6 +181,8 @@ public class AwsEc2ServiceImpl extends AbstractLifecycleComponent endpoint = "ec2.ap-southeast-2.amazonaws.com"; } else if (region.equals("ap-northeast") || region.equals("ap-northeast-1")) { endpoint = "ec2.ap-northeast-1.amazonaws.com"; + } else if (region.equals("ap-northeast-2")) { + endpoint = "ec2.ap-northeast-2.amazonaws.com"; } else if (region.equals("eu-west") || region.equals("eu-west-1")) { endpoint = "ec2.eu-west-1.amazonaws.com"; } else if (region.equals("eu-central") || region.equals("eu-central-1")) { diff --git a/plugins/repository-s3/src/main/java/org/elasticsearch/cloud/aws/InternalAwsS3Service.java b/plugins/repository-s3/src/main/java/org/elasticsearch/cloud/aws/InternalAwsS3Service.java index 90b79fd3b4d..a897cf6f899 100644 --- a/plugins/repository-s3/src/main/java/org/elasticsearch/cloud/aws/InternalAwsS3Service.java +++ b/plugins/repository-s3/src/main/java/org/elasticsearch/cloud/aws/InternalAwsS3Service.java @@ -200,6 +200,8 @@ public class InternalAwsS3Service extends AbstractLifecycleComponent