Examples of EmbeddableCartridge


Examples of com.openshift.client.cartridge.EmbeddableCartridge

  public static IStandaloneCartridge zend56() {
    return new StandaloneCartridge(ZEND_56_NAME);
  }

  public static IEmbeddableCartridge mysql51() {
    return new EmbeddableCartridge(MYSQL_51_NAME);
  }
View Full Code Here

Examples of com.openshift.client.cartridge.EmbeddableCartridge

  public static IEmbeddableCartridge mysql51() {
    return new EmbeddableCartridge(MYSQL_51_NAME);
  }

  public static IEmbeddableCartridge mongodb22() {
    return new EmbeddableCartridge(MONGODB_22_NAME);
  }
View Full Code Here

Examples of com.openshift.client.cartridge.EmbeddableCartridge

  public static IEmbeddableCartridge mongodb22() {
    return new EmbeddableCartridge(MONGODB_22_NAME);
  }

  public static IEmbeddableCartridge postgres84() {
    return new EmbeddableCartridge(POSTGRESQL_84_NAME);
  }
View Full Code Here

Examples of com.openshift.client.cartridge.EmbeddableCartridge

  public static IEmbeddableCartridge postgres84() {
    return new EmbeddableCartridge(POSTGRESQL_84_NAME);
  }

  public static IEmbeddableCartridge switchyard06() {
    return new EmbeddableCartridge(SWITCHYARD_06_NAME);
  }
View Full Code Here

Examples of com.openshift.client.cartridge.EmbeddableCartridge

  public static IEmbeddableCartridge switchyard06() {
    return new EmbeddableCartridge(SWITCHYARD_06_NAME);
  }

  public static IEmbeddableCartridge haproxy14() {
    return new EmbeddableCartridge(HAPROXY_14_NAME);
  }
View Full Code Here

Examples of com.openshift.client.cartridge.EmbeddableCartridge

  public static IEmbeddableCartridge haproxy14() {
    return new EmbeddableCartridge(HAPROXY_14_NAME);
  }

  public static IEmbeddableCartridge foreman063() throws MalformedURLException {
    return new EmbeddableCartridge("andygoldstein-foreman-0.63.0", new URL(FOREMAN_URL));
  }
View Full Code Here

Examples of com.openshift.client.cartridge.EmbeddableCartridge

  public static IEmbeddableCartridge foreman063() throws MalformedURLException {
    return new EmbeddableCartridge("andygoldstein-foreman-0.63.0", new URL(FOREMAN_URL));
  }
 
  public static IEmbeddableCartridge createObsoleteEmbeddableCartridge(boolean obsolete) {
    return new EmbeddableCartridge(
        obsolete == true ? "obsolete-0.1" : "non-obsolete-0.1"
        , obsolete == true ? "Obsolete 0.1" : "Non-Obsolete 0.1"
        , obsolete == true ? "Obsolete Cartridge 0.1" : "Non-Obsolete Cartridge 0.1"
        , obsolete) {
    };
View Full Code Here

Examples of com.openshift.client.cartridge.EmbeddableCartridge

  @Test
  public void shouldNonDownloadableEqualsNonDownloadable() {
    // pre-coniditions
    // operation
    // verification
    assertThat(new EmbeddableCartridge("redhat"))
        .isEqualTo(new EmbeddableCartridge("redhat"));
    assertThat(new EmbeddableCartridge("redhat"))
        .isNotEqualTo(new EmbeddableCartridge("jboss"));
  }
View Full Code Here

Examples of com.openshift.client.cartridge.EmbeddableCartridge

  @Test
  public void shouldDownloadableEqualsDownloadable() throws MalformedURLException {
    // pre-coniditions
    // operation
    // verification
    assertThat(new EmbeddableCartridge(new URL(CartridgeTestUtils.FOREMAN_URL)))
        .isEqualTo(new EmbeddableCartridge(new URL(CartridgeTestUtils.FOREMAN_URL)));
  }
View Full Code Here

Examples of com.openshift.client.cartridge.EmbeddableCartridge

  @Test
  public void shouldDownloadableWithNonEqualNameEqualsDownloadable() throws MalformedURLException {
    // pre-coniditions
    // operation
    // verification
    assertThat(new EmbeddableCartridge("redhat", new URL(CartridgeTestUtils.FOREMAN_URL)))
        .isEqualTo(new EmbeddableCartridge(null, new URL(CartridgeTestUtils.FOREMAN_URL)));
    // should equal if url is equal, name doesnt matter
    // (name is updated as soon as cartridge is deployed)
    assertThat(new EmbeddableCartridge("jboss", new URL(CartridgeTestUtils.FOREMAN_URL)))
        .isEqualTo(new EmbeddableCartridge("redhat", new URL(CartridgeTestUtils.FOREMAN_URL)));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.