Package com.openshift.internal.client

Examples of com.openshift.internal.client.GearProfile


  private GearProfile createGearProfile(ModelNode appNode) {
    String gearProfileName = getAsString(appNode, PROPERTY_GEAR_PROFILE);
    if (gearProfileName == null) {
      return null;
    }
    return new GearProfile(gearProfileName);
  }
View Full Code Here


  private GearProfile createGearProfile(ModelNode appNode) {
    String gearProfileName = getAsString(appNode, PROPERTY_GEAR_PROFILE);
    if (gearProfileName == null) {
      return null;
    }
    return new GearProfile(gearProfileName);
  }
View Full Code Here

  private static GearProfile createGearProfile(ModelNode appNode) {
    String gearProfileName = getAsString(appNode, PROPERTY_GEAR_PROFILE);
    if (gearProfileName == null) {
      return null;
    }
    return new GearProfile(gearProfileName);
  }
View Full Code Here

  private GearProfile createGearProfile(ModelNode appNode) {
    String gearProfileName = getAsString(appNode, PROPERTY_GEAR_PROFILE);
    if (gearProfileName == null) {
      return null;
    }
    return new GearProfile(gearProfileName);
  }
View Full Code Here

    assertThat(applicationDTO.getGitUrl()).isEqualTo(
        "ssh://523cbe15e0b8cd0a520001b6@springeap6-foobarz.rhcloud.com/~/git/springeap6.git/");
    assertThat(applicationDTO.getInitialGitUrl())
        .isEqualTo("git://github.com/openshift/spring-eap6-quickstart.git");
    assertThat(applicationDTO.getUuid()).isEqualTo("523cbe15e0b8cd0a520001b6");
    assertThat(applicationDTO.getGearProfile()).isEqualTo(new GearProfile("small"));
    assertThat(applicationDTO.getAliases()).containsExactly("jbosstools.org");
    assertThat(applicationDTO.getUuid()).isEqualTo("523cbe15e0b8cd0a520001b6");
    assertThat(applicationDTO.getCartridges().keySet()).containsOnly(
        CartridgeTestUtils.JBOSSEAP_6_NAME,
        CartridgeTestUtils.MONGODB_22_NAME,
View Full Code Here

  private GearProfile createGearProfile(ModelNode appNode) {
    String gearProfileName = getAsString(appNode, PROPERTY_GEAR_PROFILE);
    if (gearProfileName == null) {
      return null;
    }
    return new GearProfile(gearProfileName);
  }
View Full Code Here

        String containerName = options.getName();

        long t0 = System.currentTimeMillis();
        IApplication application;
        try {
            application = domain.createApplication(containerName, cartridge, scale, new GearProfile(options.getGearProfile()), initGitUrl, timeout, userEnvVars);
        } catch (OpenShiftTimeoutException e) {
            long t1;
            do {
                Thread.sleep(5000);
                domain.refresh();
View Full Code Here

        IDomain domain = domainId != null ? user.getDomain(domainId) : user.getDefaultDomain();
        if (domainId != null && domain == null) {
            domain = user.createDomain(domainId);
        }

        IApplication application = domain.createApplication(applicationName, new StandaloneCartridge(cartridge), null, new GearProfile(gearProfile));
        System.out.println(application.getCreationLog());
        return null;
    }
View Full Code Here

TOP

Related Classes of com.openshift.internal.client.GearProfile

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.