Package org.cloudfoundry.client.lib.domain

Examples of org.cloudfoundry.client.lib.domain.Staging


            appname, e.getMessage(), e.getDescription()), e);
      }
    }

    try {
      final Staging staging = new Staging(command, buildpack, stack, healthCheckTimeout);
      if (!found) {
        getClient().createApplication(appname, staging, diskQuota, memory, uris, serviceNames);
      } else {
        client.stopApplication(appname);
        client.updateApplicationStaging(appname, staging);
View Full Code Here


    String command = getEntityAttribute(resource, "command", String.class);
    String buildpack = getEntityAttribute(resource, "buildpack", String.class);
    Map<String, Object> stackResource = getEmbeddedResource(resource, "stack");
    CloudStack stack = mapStackResource(stackResource);
    Integer healthCheckTimeout = getEntityAttribute(resource, "health_check_timeout", Integer.class);
    Staging staging = new Staging(command, buildpack, stack.getName(), healthCheckTimeout);
    app.setStaging(staging);

    Map envMap = getEntityAttribute(resource, "environment_json", Map.class);
    if (envMap.size() > 0) {
      app.setEnv(envMap);
View Full Code Here

TOP

Related Classes of org.cloudfoundry.client.lib.domain.Staging

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.