mirror of https://github.com/apache/jclouds.git
updated iso codes
This commit is contained in:
parent
059f2de01a
commit
b582095f56
|
@ -41,10 +41,11 @@ public class GoGridPropertiesBuilder extends PropertiesBuilder {
|
|||
@Override
|
||||
protected Properties defaultProperties() {
|
||||
Properties properties = super.defaultProperties();
|
||||
properties.setProperty(PROPERTY_ZONES, "1,2");
|
||||
properties.setProperty(PROPERTY_ISO3166_CODES, "US-CA,US-VA");
|
||||
properties.setProperty(PROPERTY_ZONES, "1,2,3");
|
||||
properties.setProperty(PROPERTY_ISO3166_CODES, "US-CA,US-VA,BR-SP");
|
||||
properties.setProperty(PROPERTY_ZONE + ".1." + ISO3166_CODES, "US-CA");
|
||||
properties.setProperty(PROPERTY_ZONE + ".2." + ISO3166_CODES, "US-VA");
|
||||
properties.setProperty(PROPERTY_ZONE + ".3." + ISO3166_CODES, "BR-SP");
|
||||
properties.setProperty(PROPERTY_API_VERSION, GoGridAsyncClient.VERSION);
|
||||
properties.setProperty(PROPERTY_ENDPOINT, "https://api.gogrid.com/api");
|
||||
properties.setProperty(PROPERTY_GOGRID_DEFAULT_DC, "1");
|
||||
|
|
|
@ -27,8 +27,8 @@ import org.jclouds.providers.BaseProviderMetadata;
|
|||
import org.jclouds.providers.ProviderMetadata;
|
||||
|
||||
/**
|
||||
* Implementation of {@ link org.jclouds.types.ProviderMetadata} for GoGrid.
|
||||
*
|
||||
* Implementation of @ link org.jclouds.types.ProviderMetadata} for GoGrid.
|
||||
*
|
||||
* @author Adrian Cole
|
||||
*/
|
||||
public class GoGridProviderMetadata extends BaseProviderMetadata {
|
||||
|
@ -88,6 +88,7 @@ public class GoGridProviderMetadata extends BaseProviderMetadata {
|
|||
public URI getConsole() {
|
||||
return URI.create("https://my.gogrid.com/gogrid");
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
|
@ -109,7 +110,7 @@ public class GoGridProviderMetadata extends BaseProviderMetadata {
|
|||
*/
|
||||
@Override
|
||||
public Set<String> getIso3166Codes() {
|
||||
return ImmutableSet.of("US-CA","US-VA");
|
||||
return ImmutableSet.of("US-CA", "US-VA", "BR-SP");
|
||||
}
|
||||
|
||||
}
|
|
@ -80,6 +80,6 @@ public class GoGridTemplateBuilderLiveTest extends BaseTemplateBuilderLiveTest {
|
|||
|
||||
@Override
|
||||
protected Set<String> getIso3166Codes() {
|
||||
return ImmutableSet.<String> of("US-CA", "US-VA");
|
||||
return ImmutableSet.<String> of("US-CA", "US-VA", "BR-SP");
|
||||
}
|
||||
}
|
|
@ -37,7 +37,7 @@ public class TerremarkECloudPropertiesBuilder extends TerremarkVCloudPropertiesB
|
|||
@Override
|
||||
protected Properties defaultProperties() {
|
||||
Properties properties = super.defaultProperties();
|
||||
properties.setProperty(PROPERTY_ISO3166_CODES, "US-FL,NL-NH");
|
||||
properties.setProperty(PROPERTY_ISO3166_CODES, "US-FL,US-VA,NL-NH,BR-SP");
|
||||
properties.setProperty(PROPERTY_API_VERSION, "0.8b-ext2.8");
|
||||
properties.setProperty(PROPERTY_ENDPOINT, "https://services.enterprisecloud.terremark.com/api");
|
||||
properties.setProperty(PROPERTY_TERREMARK_EXTENSION_NAME, "eCloudExtensions");
|
||||
|
|
|
@ -102,7 +102,7 @@ public class TerremarkECloudProviderMetadata extends BaseProviderMetadata {
|
|||
*/
|
||||
@Override
|
||||
public Set<String> getIso3166Codes() {
|
||||
return ImmutableSet.of("US-FL");
|
||||
return ImmutableSet.<String> of("US-FL", "US-VA", "NL-NH", "BR-SP");
|
||||
}
|
||||
|
||||
}
|
|
@ -90,6 +90,6 @@ public class TerremarkECloudTemplateBuilderLiveTest extends BaseTemplateBuilderL
|
|||
|
||||
@Override
|
||||
protected Set<String> getIso3166Codes() {
|
||||
return ImmutableSet.<String> of("US-FL", "NL-NH");
|
||||
return ImmutableSet.<String> of("US-FL", "US-VA", "NL-NH", "BR-SP");
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue