Package com.openshift.client.cartridge

Examples of com.openshift.client.cartridge.IStandaloneCartridge


    ApplicationTestUtils.destroyIfMoreThan(2, domain);

    // operation
    String applicationName =
        ApplicationTestUtils.createRandomApplicationName();
    IStandaloneCartridge php = LatestVersionOf.php().get(user);
    IApplication application = domain.createApplication(applicationName, php, GearProfileTestUtils.getFirstAvailableGearProfile(domain));

    // verification
    assertThat(new ApplicationAssert(application))
        .hasName(applicationName)
View Full Code Here


    ApplicationTestUtils.destroyIfMoreThan(2, domain);

    // operation
    String applicationName =
        ApplicationTestUtils.createRandomApplicationName();
    IStandaloneCartridge php = LatestVersionOf.php().get(user);
    IApplication application = domain.createApplication(
        applicationName, php, ApplicationScale.NO_SCALE, GearProfileTestUtils.getFirstAvailableGearProfile(domain), QUICKSTART_REVEALJS_GITURL);

    // verification
    new ApplicationAssert(application)
View Full Code Here

  public void shouldCreateNonScalableApplicationWithEmbeddedCartridge() throws Exception {
    // pre-conditions
    ApplicationTestUtils.destroyIfMoreThan(2, domain);
    String applicationName =
        ApplicationTestUtils.createRandomApplicationName();
    IStandaloneCartridge php = LatestVersionOf.php().get(user);
    IEmbeddableCartridge mySql = LatestVersionOf.mySQL().get(domain.getUser());
    int timeout = 5 * 60 * 1000;
   
    // operation
    IApplication application = domain.createApplication(
View Full Code Here

  public void shouldCreateScalableApplication() throws Exception {
    // pre-conditions
    ApplicationTestUtils.destroyAllApplications(domain);
    String applicationName =
        ApplicationTestUtils.createRandomApplicationName();
    IStandaloneCartridge php = LatestVersionOf.php().get(user);

    // operation
    IApplication application = domain.createApplication(
        applicationName, php, ApplicationScale.SCALE, GearProfileTestUtils.getFirstAvailableGearProfile(domain));
View Full Code Here

  public void shouldCreateJenkinsApplication() throws Exception {
    // pre-conditions
    ApplicationTestUtils.destroyAllApplications(domain);
    String applicationName =
        ApplicationTestUtils.createRandomApplicationName();
    IStandaloneCartridge jenkins = LatestVersionOf.jenkins().get(user);

    // operation
    IApplication application = domain.createApplication(
        applicationName, jenkins );
View Full Code Here

    public void shouldCreateApplicationWithPhpAndDownloadableCartridge() throws Throwable {     
        // pre-conditions
    ApplicationTestUtils.destroyAllApplications(domain);
    String applicationName =
        ApplicationTestUtils.createRandomApplicationName();
    IStandaloneCartridge jbossAs = LatestVersionOf.php().get(user);

        // operation
     final IApplication app = domain.createApplication(
        applicationName, jbossAs, ApplicationScale.NO_SCALE, GearProfileTestUtils.getFirstAvailableGearProfile(domain), null, CREATE_TIMEOUT,
        CartridgeTestUtils.foreman063());
View Full Code Here

    public void shouldCreatePhpAndCronWithBuilder() throws Throwable {     
        // pre-conditions
    ApplicationTestUtils.destroyAllApplications(domain);
    String applicationName =
        ApplicationTestUtils.createRandomApplicationName();
    IStandaloneCartridge php = LatestVersionOf.php().get(user);
    IEmbeddableCartridge cron = LatestVersionOf.cron().get(user);
   
        // operation
    IApplication app = new ApplicationBuilder(domain)
      .setName(applicationName)
View Full Code Here

  public void shouldHaveCredentialsInMessage() throws Exception {
    // pre-conditions
    ApplicationTestUtils.destroyAllApplications(domain);
    String applicationName =
        ApplicationTestUtils.createRandomApplicationName();
    IStandaloneCartridge jenkins = LatestVersionOf.jenkins().get(user);

    // operation
    IApplication application = domain.createApplication(
        applicationName, jenkins );
View Full Code Here

TOP

Related Classes of com.openshift.client.cartridge.IStandaloneCartridge

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.