Package com.openshift.client

Examples of com.openshift.client.ApplicationBuilder$NamedBuilder


    String gitUrl = "git@github.com:openshift/openshift-java-client.git";
    Map<String, String> environmentVariables = new HashMap<String, String>();
    environmentVariables.put("adietish", "Andre Dietisheim");
   
    // operation
    new ApplicationBuilder(domain)
      .setName(name)
      .setStandaloneCartridge(as7)
      .setEmbeddableCartridges(embedded)
      .setApplicationScale(scale)
      .setTimeout(timeout)
View Full Code Here


    String gitUrl = "git@github.com:openshift/openshift-java-client.git";
    Map<String, String> environmentVariables = new HashMap<String, String>();
    environmentVariables.put("adietish", "Andre Dietisheim");
   
    // operation
    new ApplicationBuilder(domain)
      .setName(name)
      .setCartridges(Arrays.asList(cartridges))
      .setApplicationScale(scale)
      .setTimeout(timeout)
      .setInitialGitUrl(gitUrl)
View Full Code Here

  @Test(expected=AssertionFailedException.class)
  public void shouldNotAcceptEmptyCartridges() {
    // pre-conditions
   
    // operation
    new ApplicationBuilder(domain)
      .setName("rabbitinthehole")
      .setCartridges(Collections.<ICartridge>emptyList());
   
    // verification
  }
View Full Code Here

        ApplicationTestUtils.createRandomApplicationName();
    IStandaloneCartridge php = LatestVersionOf.php().get(user);
    IEmbeddableCartridge cron = LatestVersionOf.cron().get(user);
   
        // operation
    IApplication app = new ApplicationBuilder(domain)
      .setName(applicationName)
      .setStandaloneCartridge(php)
      .setEmbeddableCartridges(cron)
      .build();
View Full Code Here

TOP

Related Classes of com.openshift.client.ApplicationBuilder$NamedBuilder

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.