Package com.openshift.client.cartridge.query

Examples of com.openshift.client.cartridge.query.CartridgeNameQuery


  public void shouldSelectMongoByNameSubstring() {
    // pre-conditions
    // operation
    // verification
    assertCartridge(IEmbeddedCartridge.NAME_MONGODB,
        new CartridgeNameQuery(IEmbeddedCartridge.NAME_MONGODB).get(connection.getEmbeddableCartridges()));
  }
View Full Code Here


  @Test
  public void shouldHaveObsoleteCartridges() throws MalformedURLException {
    // pre-coniditions
    // operation
    ICartridge metrics = new CartridgeNameQuery("metrics").get(connection.getCartridges(true));
    assertThat(metrics).isNotNull();
    ICartridge zend = new CartridgeNameQuery("zend-5.6").get(connection.getCartridges(true));
    assertThat(zend).isNotNull();
    ICartridge php = new LatestVersionQuery("php").get(connection.getCartridges(true));
    assertThat(php).isNotNull();
   
    // verification
View Full Code Here

    IStandaloneCartridge cartridge = application.getCartridge();

    // verification
    assertThat(cartridge).isNotNull();
    assertThat(cartridge.getName()).isNotEmpty();
    IStandaloneCartridge availableCartridge = new CartridgeNameQuery(cartridge.getName()).get(user.getConnection()
        .getStandaloneCartridges());
    new StandaloneCartridgeAssert(cartridge).equals(availableCartridge);
  }
View Full Code Here

TOP

Related Classes of com.openshift.client.cartridge.query.CartridgeNameQuery

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.