Package org.jclouds.elasticstack

Examples of org.jclouds.elasticstack.ElasticStackApiMetadata


   public static class Builder extends BaseProviderMetadata.Builder {

      protected Builder() {
         id("elastichosts-sjc-c")
         .name("ElasticHosts San Jose")
         .apiMetadata(new ElasticStackApiMetadata().toBuilder().version("2.0").build())
         .homepage(URI.create("https://sjc-c.elastichosts.com"))
         .console(URI.create("https://sjc-c.elastichosts.com/accounts"))
         .iso3166Codes("US-CA")
         .endpoint("https://api-sjc-c.elastichosts.com")
         .defaultProperties(ElasticHostsSanJoseProviderMetadata.defaultProperties());
View Full Code Here


   public static class Builder extends BaseProviderMetadata.Builder {

      protected Builder() {
         id("elastichosts-tor-p")
         .name("ElasticHosts Toronto Peer 1")
         .apiMetadata(new ElasticStackApiMetadata().toBuilder().version("2.0").build())
         .homepage(URI.create("https://tor-p.elastichosts.com"))
         .console(URI.create("https://tor-p.elastichosts.com/accounts"))
         .iso3166Codes("CA-ON")
         .endpoint("https://api-tor-p.elastichosts.com")
         .defaultProperties(ElasticHostsPeer1TorontoProviderMetadata.defaultProperties());
View Full Code Here

         BaseProviderMetadata.Builder {

      protected Builder() {
         id("elastichosts-ams-e")
         .name("ElasticHosts Amsterdam")
         .apiMetadata(new ElasticStackApiMetadata().toBuilder().version("2.0").build())
         .homepage(URI.create("https://ams-e.elastichosts.com"))
         .console(URI.create("https://ams-e.elastichosts.com/accounts"))
         .iso3166Codes("NL-NH")
         .endpoint("https://api-ams-e.elastichosts.com")
         .defaultProperties(ElasticHostsAmsterdamMetadata.defaultProperties());
View Full Code Here

   public static class Builder extends BaseProviderMetadata.Builder {

      protected Builder() {
         id("elastichosts-syd-v")
         .name("ElasticHosts Sydney")
         .apiMetadata(new ElasticStackApiMetadata().toBuilder().version("2.0").build())
         .homepage(URI.create("https://syd-v.elastichosts.com"))
         .console(URI.create("https://syd-v.elastichosts.com/accounts"))
         .iso3166Codes("AU-NSW")
         .endpoint("https://api-syd-v.elastichosts.com")
         .defaultProperties(ElasticHostsSydneyProviderMetadata.defaultProperties());
View Full Code Here

*/
@Test(groups = "unit", testName = "ElasticHostsSydneyProviderTest")
public class ElasticHostsSydneyProviderTest extends BaseProviderMetadataTest {

   public ElasticHostsSydneyProviderTest() {
      super(new ElasticHostsSydneyProviderMetadata(), new ElasticStackApiMetadata());
   }
View Full Code Here

         BaseProviderMetadata.Builder {

      protected Builder() {
         id("elastichosts-lon-b")
         .name("ElasticHosts Los Angeles BlueSquare")
         .apiMetadata(new ElasticStackApiMetadata().toBuilder().version("2.0").build())
         .homepage(URI.create("https://lon-b.elastichosts.com"))
         .console(URI.create("https://lon-b.elastichosts.com/accounts"))
         .iso3166Codes("GB-LND")
         .endpoint("https://api-lon-b.elastichosts.com")
         .defaultProperties(ElasticHostsBlueSquareLondonProviderMetadata.defaultProperties());
View Full Code Here

*/
@Test(groups = "unit", testName = "ElasticHostsHongKongProviderTest")
public class ElasticHostsHongKongProviderTest extends BaseProviderMetadataTest {

   public ElasticHostsHongKongProviderTest() {
      super(new ElasticHostsHongKongProviderMetadata(), new ElasticStackApiMetadata());
   }
View Full Code Here

*/
@Test(groups = "unit", testName = "ElasticHostsAmsterdamProviderTest")
public class ElasticHostsAmsterdamProviderTest extends BaseProviderMetadataTest {

   public ElasticHostsAmsterdamProviderTest() {
      super(new ElasticHostsAmsterdamMetadata(), new ElasticStackApiMetadata());
   }
View Full Code Here

         BaseProviderMetadata.Builder {

      protected Builder() {
         id("elastichosts-lax-p")
         .name("ElasticHosts Los Angeles Peer 1")
         .apiMetadata(new ElasticStackApiMetadata().toBuilder().version("2.0").build())
         .homepage(URI.create("https://lax-p.elastichosts.com"))
         .console(URI.create("https://lax-p.elastichosts.com/accounts"))
         .iso3166Codes("US-CA")
         .endpoint("https://api-lax-p.elastichosts.com")
         .defaultProperties(ElasticHostsPeer1LosAngelesProviderMetadata.defaultProperties());
View Full Code Here

   }

   public static class Builder extends BaseProviderMetadata.Builder {

      protected Builder() {
         ElasticStackApiMetadata apiMedatada = new ElasticStackApiMetadata();

         ImmutableSet.Builder<Class<? extends Module>> modules = ImmutableSet.builder();
         modules.addAll(apiMedatada.getDefaultModules());
         modules.add(ServerloveImagesModule.class); // Custom image supplier binding

         id("serverlove-z1-man").name("Serverlove Manchester")
               .apiMetadata(apiMedatada.toBuilder().version("2.0").defaultModules(modules.build()).build())
               .homepage(URI.create("http://www.serverlove.com"))
               .console(URI.create("http://www.serverlove.com/accounts"))
               .iso3166Codes("GB-MAN")
               .endpoint("https://api.z1-man.serverlove.com")
               .defaultProperties(ServerloveManchesterProviderMetadata.defaultProperties());
View Full Code Here

TOP

Related Classes of org.jclouds.elasticstack.ElasticStackApiMetadata

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.