mirror of https://github.com/apache/jclouds.git
Issue 1123: add new Asia Pacific (Sydney) Region [ap-southeast-2]
This commit is contained in:
parent
5ebc72efd4
commit
db786f3b20
|
@ -93,6 +93,11 @@ public class Region {
|
||||||
*/
|
*/
|
||||||
public static final String SA_EAST_1 = "sa-east-1";
|
public static final String SA_EAST_1 = "sa-east-1";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Asia Pacific (Sydney)
|
||||||
|
*/
|
||||||
|
public static final String AP_SOUTHEAST_2 = "ap-southeast-2";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Region in Singapore, launched April 28, 2010. This region improves latency for Asia-based
|
* Region in Singapore, launched April 28, 2010. This region improves latency for Asia-based
|
||||||
* users
|
* users
|
||||||
|
@ -104,18 +109,18 @@ public class Region {
|
||||||
*/
|
*/
|
||||||
public static final String AP_NORTHEAST_1 = "ap-northeast-1";
|
public static final String AP_NORTHEAST_1 = "ap-northeast-1";
|
||||||
|
|
||||||
public static Set<String> DEFAULT_S3 = ImmutableSet.of(US_STANDARD, US_WEST_1, US_WEST_2, EU_WEST_1, SA_EAST_1, AP_SOUTHEAST_1,
|
public static Set<String> DEFAULT_S3 = ImmutableSet.of(US_STANDARD, US_WEST_1, US_WEST_2, EU_WEST_1, SA_EAST_1,
|
||||||
AP_NORTHEAST_1);
|
AP_SOUTHEAST_1, AP_SOUTHEAST_2, AP_NORTHEAST_1);
|
||||||
|
|
||||||
public static Set<String> DEFAULT_REGIONS = ImmutableSet.of(US_EAST_1, US_WEST_1, US_WEST_2, SA_EAST_1, EU_WEST_1,
|
public static Set<String> DEFAULT_REGIONS = ImmutableSet.of(US_EAST_1, US_WEST_1, US_WEST_2, SA_EAST_1, EU_WEST_1,
|
||||||
AP_SOUTHEAST_1, AP_NORTHEAST_1);
|
AP_SOUTHEAST_1, AP_SOUTHEAST_2, AP_NORTHEAST_1);
|
||||||
|
|
||||||
public static Properties regionPropertiesS3() {
|
public static Properties regionPropertiesS3() {
|
||||||
|
|
||||||
Properties properties = regionProperties();
|
Properties properties = regionProperties();
|
||||||
properties.setProperty(PROPERTY_REGIONS, Joiner.on(',').join(DEFAULT_S3));
|
properties.setProperty(PROPERTY_REGIONS, Joiner.on(',').join(DEFAULT_S3));
|
||||||
// note that due to US_STANDARD the codes include US instead of US-VA
|
// note that due to US_STANDARD the codes include US instead of US-VA
|
||||||
properties.setProperty(PROPERTY_ISO3166_CODES, "US,US-CA,US-OR,BR-SP,IE,SG,JP-13");
|
properties.setProperty(PROPERTY_ISO3166_CODES, "US,US-CA,US-OR,BR-SP,IE,SG,AU-NSW,JP-13");
|
||||||
properties.setProperty(PROPERTY_REGION + "." + US_STANDARD + "." + ISO3166_CODES, "US");
|
properties.setProperty(PROPERTY_REGION + "." + US_STANDARD + "." + ISO3166_CODES, "US");
|
||||||
properties.setProperty(PROPERTY_REGION + "." + EU_WEST_1 + "." + ISO3166_CODES, "IE");
|
properties.setProperty(PROPERTY_REGION + "." + EU_WEST_1 + "." + ISO3166_CODES, "IE");
|
||||||
return properties;
|
return properties;
|
||||||
|
@ -124,13 +129,14 @@ public class Region {
|
||||||
public static Properties regionProperties() {
|
public static Properties regionProperties() {
|
||||||
Properties properties = new Properties();
|
Properties properties = new Properties();
|
||||||
properties.setProperty(PROPERTY_REGIONS, Joiner.on(',').join(DEFAULT_REGIONS));
|
properties.setProperty(PROPERTY_REGIONS, Joiner.on(',').join(DEFAULT_REGIONS));
|
||||||
properties.setProperty(PROPERTY_ISO3166_CODES, "US-VA,US-CA,US-OR,BR-SP,IE,SG,JP-13");
|
properties.setProperty(PROPERTY_ISO3166_CODES, "US-VA,US-CA,US-OR,BR-SP,IE,SG,AU-NSW,JP-13");
|
||||||
properties.setProperty(PROPERTY_REGION + "." + US_EAST_1 + "." + ISO3166_CODES, "US-VA");
|
properties.setProperty(PROPERTY_REGION + "." + US_EAST_1 + "." + ISO3166_CODES, "US-VA");
|
||||||
properties.setProperty(PROPERTY_REGION + "." + US_WEST_1 + "." + ISO3166_CODES, "US-CA");
|
properties.setProperty(PROPERTY_REGION + "." + US_WEST_1 + "." + ISO3166_CODES, "US-CA");
|
||||||
properties.setProperty(PROPERTY_REGION + "." + US_WEST_2 + "." + ISO3166_CODES, "US-OR");
|
properties.setProperty(PROPERTY_REGION + "." + US_WEST_2 + "." + ISO3166_CODES, "US-OR");
|
||||||
properties.setProperty(PROPERTY_REGION + "." + SA_EAST_1 + "." + ISO3166_CODES, "BR-SP");
|
properties.setProperty(PROPERTY_REGION + "." + SA_EAST_1 + "." + ISO3166_CODES, "BR-SP");
|
||||||
properties.setProperty(PROPERTY_REGION + "." + EU_WEST_1 + "." + ISO3166_CODES, "IE");
|
properties.setProperty(PROPERTY_REGION + "." + EU_WEST_1 + "." + ISO3166_CODES, "IE");
|
||||||
properties.setProperty(PROPERTY_REGION + "." + AP_SOUTHEAST_1 + "." + ISO3166_CODES, "SG");
|
properties.setProperty(PROPERTY_REGION + "." + AP_SOUTHEAST_1 + "." + ISO3166_CODES, "SG");
|
||||||
|
properties.setProperty(PROPERTY_REGION + "." + AP_SOUTHEAST_2 + "." + ISO3166_CODES, "AU-NSW");
|
||||||
properties.setProperty(PROPERTY_REGION + "." + AP_NORTHEAST_1 + "." + ISO3166_CODES, "JP-13");
|
properties.setProperty(PROPERTY_REGION + "." + AP_NORTHEAST_1 + "." + ISO3166_CODES, "JP-13");
|
||||||
return properties;
|
return properties;
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,6 +20,7 @@ package org.jclouds.aws.elb;
|
||||||
|
|
||||||
import static org.jclouds.aws.domain.Region.AP_NORTHEAST_1;
|
import static org.jclouds.aws.domain.Region.AP_NORTHEAST_1;
|
||||||
import static org.jclouds.aws.domain.Region.AP_SOUTHEAST_1;
|
import static org.jclouds.aws.domain.Region.AP_SOUTHEAST_1;
|
||||||
|
import static org.jclouds.aws.domain.Region.AP_SOUTHEAST_2;
|
||||||
import static org.jclouds.aws.domain.Region.EU_WEST_1;
|
import static org.jclouds.aws.domain.Region.EU_WEST_1;
|
||||||
import static org.jclouds.aws.domain.Region.SA_EAST_1;
|
import static org.jclouds.aws.domain.Region.SA_EAST_1;
|
||||||
import static org.jclouds.aws.domain.Region.US_EAST_1;
|
import static org.jclouds.aws.domain.Region.US_EAST_1;
|
||||||
|
@ -79,6 +80,8 @@ public class AWSELBProviderMetadata extends BaseProviderMetadata {
|
||||||
"https://elasticloadbalancing.eu-west-1.amazonaws.com");
|
"https://elasticloadbalancing.eu-west-1.amazonaws.com");
|
||||||
properties.setProperty(PROPERTY_REGION + "." + AP_SOUTHEAST_1 + ".endpoint",
|
properties.setProperty(PROPERTY_REGION + "." + AP_SOUTHEAST_1 + ".endpoint",
|
||||||
"https://elasticloadbalancing.ap-southeast-1.amazonaws.com");
|
"https://elasticloadbalancing.ap-southeast-1.amazonaws.com");
|
||||||
|
properties.setProperty(PROPERTY_REGION + "." + AP_SOUTHEAST_2 + ".endpoint",
|
||||||
|
"https://elasticloadbalancing.ap-southeast-2.amazonaws.com");
|
||||||
properties.setProperty(PROPERTY_REGION + "." + AP_NORTHEAST_1 + ".endpoint",
|
properties.setProperty(PROPERTY_REGION + "." + AP_NORTHEAST_1 + ".endpoint",
|
||||||
"https://elasticloadbalancing.ap-northeast-1.amazonaws.com");
|
"https://elasticloadbalancing.ap-northeast-1.amazonaws.com");
|
||||||
properties.setProperty(PROPERTY_ZONECLIENT_ENDPOINT, "https://ec2.us-east-1.amazonaws.com");
|
properties.setProperty(PROPERTY_ZONECLIENT_ENDPOINT, "https://ec2.us-east-1.amazonaws.com");
|
||||||
|
@ -94,7 +97,7 @@ public class AWSELBProviderMetadata extends BaseProviderMetadata {
|
||||||
.homepage(URI.create("http://aws.amazon.com/elasticloadbalancing"))
|
.homepage(URI.create("http://aws.amazon.com/elasticloadbalancing"))
|
||||||
.console(URI.create("https://console.aws.amazon.com/ec2/home"))
|
.console(URI.create("https://console.aws.amazon.com/ec2/home"))
|
||||||
.linkedServices("aws-ec2","aws-elb", "aws-cloudwatch", "aws-s3", "aws-simpledb")
|
.linkedServices("aws-ec2","aws-elb", "aws-cloudwatch", "aws-s3", "aws-simpledb")
|
||||||
.iso3166Codes("US-VA", "US-CA", "BR-SP", "US-OR", "IE", "SG", "JP-13")
|
.iso3166Codes("US-VA", "US-CA", "BR-SP", "US-OR", "IE", "SG", "AU-NSW", "JP-13")
|
||||||
.apiMetadata(new ELBApiMetadata())
|
.apiMetadata(new ELBApiMetadata())
|
||||||
.defaultProperties(AWSELBProviderMetadata.defaultProperties());
|
.defaultProperties(AWSELBProviderMetadata.defaultProperties());
|
||||||
}
|
}
|
||||||
|
|
|
@ -67,7 +67,7 @@ public class AWSIAMProviderMetadata extends BaseProviderMetadata {
|
||||||
.homepage(URI.create("http://aws.amazon.com/iam"))
|
.homepage(URI.create("http://aws.amazon.com/iam"))
|
||||||
.console(URI.create("https://console.aws.amazon.com/iam/home"))
|
.console(URI.create("https://console.aws.amazon.com/iam/home"))
|
||||||
.linkedServices("aws-ec2","aws-elb", "aws-cloudwatch", "aws-s3", "aws-simpledb")
|
.linkedServices("aws-ec2","aws-elb", "aws-cloudwatch", "aws-s3", "aws-simpledb")
|
||||||
.iso3166Codes("US-VA", "US-CA", "BR-SP", "US-OR", "IE", "SG", "JP-13")
|
.iso3166Codes("US-VA", "US-CA", "BR-SP", "US-OR", "IE", "SG", "AU-NSW", "JP-13")
|
||||||
.apiMetadata(new IAMApiMetadata())
|
.apiMetadata(new IAMApiMetadata())
|
||||||
.defaultProperties(AWSIAMProviderMetadata.defaultProperties());
|
.defaultProperties(AWSIAMProviderMetadata.defaultProperties());
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,6 +20,7 @@ package org.jclouds.aws.rds;
|
||||||
|
|
||||||
import static org.jclouds.aws.domain.Region.AP_NORTHEAST_1;
|
import static org.jclouds.aws.domain.Region.AP_NORTHEAST_1;
|
||||||
import static org.jclouds.aws.domain.Region.AP_SOUTHEAST_1;
|
import static org.jclouds.aws.domain.Region.AP_SOUTHEAST_1;
|
||||||
|
import static org.jclouds.aws.domain.Region.AP_SOUTHEAST_2;
|
||||||
import static org.jclouds.aws.domain.Region.EU_WEST_1;
|
import static org.jclouds.aws.domain.Region.EU_WEST_1;
|
||||||
import static org.jclouds.aws.domain.Region.SA_EAST_1;
|
import static org.jclouds.aws.domain.Region.SA_EAST_1;
|
||||||
import static org.jclouds.aws.domain.Region.US_EAST_1;
|
import static org.jclouds.aws.domain.Region.US_EAST_1;
|
||||||
|
@ -32,9 +33,9 @@ import java.net.URI;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
import org.jclouds.aws.domain.Region;
|
import org.jclouds.aws.domain.Region;
|
||||||
import org.jclouds.rds.RDSApiMetadata;
|
|
||||||
import org.jclouds.providers.ProviderMetadata;
|
import org.jclouds.providers.ProviderMetadata;
|
||||||
import org.jclouds.providers.internal.BaseProviderMetadata;
|
import org.jclouds.providers.internal.BaseProviderMetadata;
|
||||||
|
import org.jclouds.rds.RDSApiMetadata;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation of @ link org.jclouds.types.ProviderMetadata} for Amazon's Elastic Load Balancing
|
* Implementation of @ link org.jclouds.types.ProviderMetadata} for Amazon's Elastic Load Balancing
|
||||||
|
@ -79,6 +80,8 @@ public class AWSRDSProviderMetadata extends BaseProviderMetadata {
|
||||||
"https://rds.eu-west-1.amazonaws.com");
|
"https://rds.eu-west-1.amazonaws.com");
|
||||||
properties.setProperty(PROPERTY_REGION + "." + AP_SOUTHEAST_1 + ".endpoint",
|
properties.setProperty(PROPERTY_REGION + "." + AP_SOUTHEAST_1 + ".endpoint",
|
||||||
"https://rds.ap-southeast-1.amazonaws.com");
|
"https://rds.ap-southeast-1.amazonaws.com");
|
||||||
|
properties.setProperty(PROPERTY_REGION + "." + AP_SOUTHEAST_2 + ".endpoint",
|
||||||
|
"https://rds.ap-southeast-2.amazonaws.com");
|
||||||
properties.setProperty(PROPERTY_REGION + "." + AP_NORTHEAST_1 + ".endpoint",
|
properties.setProperty(PROPERTY_REGION + "." + AP_NORTHEAST_1 + ".endpoint",
|
||||||
"https://rds.ap-northeast-1.amazonaws.com");
|
"https://rds.ap-northeast-1.amazonaws.com");
|
||||||
properties.setProperty(PROPERTY_ZONECLIENT_ENDPOINT, "https://ec2.us-east-1.amazonaws.com");
|
properties.setProperty(PROPERTY_ZONECLIENT_ENDPOINT, "https://ec2.us-east-1.amazonaws.com");
|
||||||
|
@ -94,7 +97,7 @@ public class AWSRDSProviderMetadata extends BaseProviderMetadata {
|
||||||
.homepage(URI.create("http://aws.amazon.com/rds"))
|
.homepage(URI.create("http://aws.amazon.com/rds"))
|
||||||
.console(URI.create("https://console.aws.amazon.com/ec2/home"))
|
.console(URI.create("https://console.aws.amazon.com/ec2/home"))
|
||||||
.linkedServices("aws-ec2", "aws-rds", "aws-elb", "aws-iam","aws-cloudwatch", "aws-s3", "aws-simpledb")
|
.linkedServices("aws-ec2", "aws-rds", "aws-elb", "aws-iam","aws-cloudwatch", "aws-s3", "aws-simpledb")
|
||||||
.iso3166Codes("US-VA", "US-CA", "BR-SP", "US-OR", "IE", "SG", "JP-13")
|
.iso3166Codes("US-VA", "US-CA", "BR-SP", "US-OR", "IE", "SG", "AU-NSW", "JP-13")
|
||||||
.apiMetadata(new RDSApiMetadata())
|
.apiMetadata(new RDSApiMetadata())
|
||||||
.defaultProperties(AWSRDSProviderMetadata.defaultProperties());
|
.defaultProperties(AWSRDSProviderMetadata.defaultProperties());
|
||||||
}
|
}
|
||||||
|
|
|
@ -71,6 +71,8 @@ public class AWSCloudWatchProviderMetadata extends BaseProviderMetadata {
|
||||||
"https://monitoring.eu-west-1.amazonaws.com");
|
"https://monitoring.eu-west-1.amazonaws.com");
|
||||||
properties.setProperty(PROPERTY_REGION + "." + Region.AP_SOUTHEAST_1 + ".endpoint",
|
properties.setProperty(PROPERTY_REGION + "." + Region.AP_SOUTHEAST_1 + ".endpoint",
|
||||||
"https://monitoring.ap-southeast-1.amazonaws.com");
|
"https://monitoring.ap-southeast-1.amazonaws.com");
|
||||||
|
properties.setProperty(PROPERTY_REGION + "." + Region.AP_SOUTHEAST_2 + ".endpoint",
|
||||||
|
"https://monitoring.ap-southeast-2.amazonaws.com");
|
||||||
properties.setProperty(PROPERTY_REGION + "." + Region.AP_NORTHEAST_1 + ".endpoint",
|
properties.setProperty(PROPERTY_REGION + "." + Region.AP_NORTHEAST_1 + ".endpoint",
|
||||||
"https://monitoring.ap-northeast-1.amazonaws.com");
|
"https://monitoring.ap-northeast-1.amazonaws.com");
|
||||||
return properties;
|
return properties;
|
||||||
|
@ -85,7 +87,7 @@ public class AWSCloudWatchProviderMetadata extends BaseProviderMetadata {
|
||||||
.homepage(URI.create("http://aws.amazon.com/cloudwatch"))
|
.homepage(URI.create("http://aws.amazon.com/cloudwatch"))
|
||||||
.console(URI.create("https://console.aws.amazon.com/cloudwatch/home"))
|
.console(URI.create("https://console.aws.amazon.com/cloudwatch/home"))
|
||||||
.linkedServices("aws-ec2","aws-elb", "aws-cloudwatch", "aws-s3", "aws-simpledb")
|
.linkedServices("aws-ec2","aws-elb", "aws-cloudwatch", "aws-s3", "aws-simpledb")
|
||||||
.iso3166Codes("US-VA", "US-CA", "BR-SP", "US-OR", "IE", "SG", "JP-13")
|
.iso3166Codes("US-VA", "US-CA", "BR-SP", "US-OR", "IE", "SG", "AU-NSW", "JP-13")
|
||||||
.apiMetadata(
|
.apiMetadata(
|
||||||
new CloudWatchApiMetadata().toBuilder()
|
new CloudWatchApiMetadata().toBuilder()
|
||||||
.version("2010-08-01").build())
|
.version("2010-08-01").build())
|
||||||
|
|
|
@ -89,7 +89,7 @@ public class AWSEC2ProviderMetadata extends BaseProviderMetadata {
|
||||||
.console(URI.create("https://console.aws.amazon.com/ec2/home"))
|
.console(URI.create("https://console.aws.amazon.com/ec2/home"))
|
||||||
.defaultProperties(AWSEC2ProviderMetadata.defaultProperties())
|
.defaultProperties(AWSEC2ProviderMetadata.defaultProperties())
|
||||||
.linkedServices("aws-ec2","aws-elb", "aws-cloudwatch", "aws-s3", "aws-simpledb")
|
.linkedServices("aws-ec2","aws-elb", "aws-cloudwatch", "aws-s3", "aws-simpledb")
|
||||||
.iso3166Codes("US-VA", "US-CA", "US-OR", "BR-SP", "IE", "SG", "JP-13");
|
.iso3166Codes("US-VA", "US-CA", "US-OR", "BR-SP", "IE", "SG", "AU-NSW", "JP-13");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -377,7 +377,7 @@ public class AWSEC2TemplateBuilderLiveTest extends EC2TemplateBuilderLiveTest {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Set<String> getIso3166Codes() {
|
protected Set<String> getIso3166Codes() {
|
||||||
return ImmutableSet.<String> of("US-VA", "US-CA", "US-OR", "BR-SP", "IE", "SG", "JP-13");
|
return ImmutableSet.<String> of("US-VA", "US-CA", "US-OR", "BR-SP", "IE", "SG", "AU-NSW", "JP-13");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,7 @@ package org.jclouds.aws.s3;
|
||||||
import static org.jclouds.Constants.PROPERTY_ENDPOINT;
|
import static org.jclouds.Constants.PROPERTY_ENDPOINT;
|
||||||
import static org.jclouds.aws.domain.Region.AP_NORTHEAST_1;
|
import static org.jclouds.aws.domain.Region.AP_NORTHEAST_1;
|
||||||
import static org.jclouds.aws.domain.Region.AP_SOUTHEAST_1;
|
import static org.jclouds.aws.domain.Region.AP_SOUTHEAST_1;
|
||||||
|
import static org.jclouds.aws.domain.Region.AP_SOUTHEAST_2;
|
||||||
import static org.jclouds.aws.domain.Region.EU_WEST_1;
|
import static org.jclouds.aws.domain.Region.EU_WEST_1;
|
||||||
import static org.jclouds.aws.domain.Region.SA_EAST_1;
|
import static org.jclouds.aws.domain.Region.SA_EAST_1;
|
||||||
import static org.jclouds.aws.domain.Region.US_STANDARD;
|
import static org.jclouds.aws.domain.Region.US_STANDARD;
|
||||||
|
@ -75,6 +76,8 @@ public class AWSS3ProviderMetadata extends BaseProviderMetadata {
|
||||||
properties.setProperty(PROPERTY_REGION + "." + EU_WEST_1 + "." + ENDPOINT, "https://s3-eu-west-1.amazonaws.com");
|
properties.setProperty(PROPERTY_REGION + "." + EU_WEST_1 + "." + ENDPOINT, "https://s3-eu-west-1.amazonaws.com");
|
||||||
properties.setProperty(PROPERTY_REGION + "." + AP_SOUTHEAST_1 + "." + ENDPOINT,
|
properties.setProperty(PROPERTY_REGION + "." + AP_SOUTHEAST_1 + "." + ENDPOINT,
|
||||||
"https://s3-ap-southeast-1.amazonaws.com");
|
"https://s3-ap-southeast-1.amazonaws.com");
|
||||||
|
properties.setProperty(PROPERTY_REGION + "." + AP_SOUTHEAST_2 + "." + ENDPOINT,
|
||||||
|
"https://s3-ap-southeast-2.amazonaws.com");
|
||||||
properties.setProperty(PROPERTY_REGION + "." + AP_NORTHEAST_1 + "." + ENDPOINT,
|
properties.setProperty(PROPERTY_REGION + "." + AP_NORTHEAST_1 + "." + ENDPOINT,
|
||||||
"https://s3-ap-northeast-1.amazonaws.com");
|
"https://s3-ap-northeast-1.amazonaws.com");
|
||||||
return properties;
|
return properties;
|
||||||
|
@ -89,7 +92,7 @@ public class AWSS3ProviderMetadata extends BaseProviderMetadata {
|
||||||
.homepage(URI.create("http://aws.amazon.com/s3"))
|
.homepage(URI.create("http://aws.amazon.com/s3"))
|
||||||
.console(URI.create("https://console.aws.amazon.com/s3/home"))
|
.console(URI.create("https://console.aws.amazon.com/s3/home"))
|
||||||
.linkedServices("aws-ec2","aws-elb", "aws-cloudwatch", "aws-s3", "aws-simpledb")
|
.linkedServices("aws-ec2","aws-elb", "aws-cloudwatch", "aws-s3", "aws-simpledb")
|
||||||
.iso3166Codes("US", "US-CA", "US-OR", "BR-SP", "IE", "SG", "JP-13")
|
.iso3166Codes("US", "US-CA", "US-OR", "BR-SP", "IE", "SG", "AU-NSW", "JP-13")
|
||||||
.defaultProperties(AWSS3ProviderMetadata.defaultProperties());
|
.defaultProperties(AWSS3ProviderMetadata.defaultProperties());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ public class AWSS3ServiceIntegrationLiveTest extends S3ServiceIntegrationLiveTes
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Set<String> getIso3166Codes() {
|
protected Set<String> getIso3166Codes() {
|
||||||
return ImmutableSet.<String> of("US", "US-CA", "US-OR", "BR-SP", "IE", "SG", "JP-13");
|
return ImmutableSet.<String> of("US", "US-CA", "US-OR", "BR-SP", "IE", "SG", "AU-NSW", "JP-13");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,6 +20,7 @@ package org.jclouds.aws.sqs;
|
||||||
|
|
||||||
import static org.jclouds.aws.domain.Region.AP_NORTHEAST_1;
|
import static org.jclouds.aws.domain.Region.AP_NORTHEAST_1;
|
||||||
import static org.jclouds.aws.domain.Region.AP_SOUTHEAST_1;
|
import static org.jclouds.aws.domain.Region.AP_SOUTHEAST_1;
|
||||||
|
import static org.jclouds.aws.domain.Region.AP_SOUTHEAST_2;
|
||||||
import static org.jclouds.aws.domain.Region.EU_WEST_1;
|
import static org.jclouds.aws.domain.Region.EU_WEST_1;
|
||||||
import static org.jclouds.aws.domain.Region.SA_EAST_1;
|
import static org.jclouds.aws.domain.Region.SA_EAST_1;
|
||||||
import static org.jclouds.aws.domain.Region.US_EAST_1;
|
import static org.jclouds.aws.domain.Region.US_EAST_1;
|
||||||
|
@ -31,9 +32,9 @@ import java.net.URI;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
import org.jclouds.aws.domain.Region;
|
import org.jclouds.aws.domain.Region;
|
||||||
import org.jclouds.sqs.SQSApiMetadata;
|
|
||||||
import org.jclouds.providers.ProviderMetadata;
|
import org.jclouds.providers.ProviderMetadata;
|
||||||
import org.jclouds.providers.internal.BaseProviderMetadata;
|
import org.jclouds.providers.internal.BaseProviderMetadata;
|
||||||
|
import org.jclouds.sqs.SQSApiMetadata;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation of @ link org.jclouds.types.ProviderMetadata} for Amazon's Simple Queue Service
|
* Implementation of @ link org.jclouds.types.ProviderMetadata} for Amazon's Simple Queue Service
|
||||||
|
@ -78,6 +79,8 @@ public class AWSSQSProviderMetadata extends BaseProviderMetadata {
|
||||||
"https://sqs.eu-west-1.amazonaws.com");
|
"https://sqs.eu-west-1.amazonaws.com");
|
||||||
properties.setProperty(PROPERTY_REGION + "." + AP_SOUTHEAST_1 + ".endpoint",
|
properties.setProperty(PROPERTY_REGION + "." + AP_SOUTHEAST_1 + ".endpoint",
|
||||||
"https://sqs.ap-southeast-1.amazonaws.com");
|
"https://sqs.ap-southeast-1.amazonaws.com");
|
||||||
|
properties.setProperty(PROPERTY_REGION + "." + AP_SOUTHEAST_2 + ".endpoint",
|
||||||
|
"https://sqs.ap-southeast-2.amazonaws.com");
|
||||||
properties.setProperty(PROPERTY_REGION + "." + AP_NORTHEAST_1 + ".endpoint",
|
properties.setProperty(PROPERTY_REGION + "." + AP_NORTHEAST_1 + ".endpoint",
|
||||||
"https://sqs.ap-northeast-1.amazonaws.com");
|
"https://sqs.ap-northeast-1.amazonaws.com");
|
||||||
return properties;
|
return properties;
|
||||||
|
@ -92,7 +95,7 @@ public class AWSSQSProviderMetadata extends BaseProviderMetadata {
|
||||||
.homepage(URI.create("http://aws.amazon.com/sqs"))
|
.homepage(URI.create("http://aws.amazon.com/sqs"))
|
||||||
.console(URI.create("https://console.aws.amazon.com/ec2/home"))
|
.console(URI.create("https://console.aws.amazon.com/ec2/home"))
|
||||||
.linkedServices("aws-ec2", "aws-rds", "aws-sqs", "aws-elb", "aws-iam","aws-cloudwatch", "aws-s3", "aws-simpledb")
|
.linkedServices("aws-ec2", "aws-rds", "aws-sqs", "aws-elb", "aws-iam","aws-cloudwatch", "aws-s3", "aws-simpledb")
|
||||||
.iso3166Codes("US-VA", "US-CA", "BR-SP", "US-OR", "IE", "SG", "JP-13")
|
.iso3166Codes("US-VA", "US-CA", "BR-SP", "US-OR", "IE", "SG", "AU-NSW", "JP-13")
|
||||||
.apiMetadata(new SQSApiMetadata())
|
.apiMetadata(new SQSApiMetadata())
|
||||||
.defaultProperties(AWSSQSProviderMetadata.defaultProperties());
|
.defaultProperties(AWSSQSProviderMetadata.defaultProperties());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue