Package com.cloudcontrolled.api.request

Examples of com.cloudcontrolled.api.request.UpdateDeploymentRequest


    String deploymentQualifier = application + (deployment != null ? ":" + deployment + (commitId != null ? ":" + commitId : "") : "");
    log.info("Deploying " + deploymentQualifier + " to CloudControl PaaS.");

    CloudControlClient client = CloudControlSupport.createCloudControlClient();
    UpdateDeploymentRequest request = CloudControlSupport.createUpdateDeploymentRequest(application, deployment, commitId);

    UpdateDeploymentResponse response = null;
    try {
      response = client.send(request);
View Full Code Here


   *            a {@link java.lang.String} object.
   * @return a {@link com.cloudcontrolled.api.request.UpdateDeploymentRequest}
   *         object.
   */
  public static UpdateDeploymentRequest createUpdateDeploymentRequest(String applicationName, String deploymentName, String commitId) {
    UpdateDeploymentRequest updateDeploymentRequest = new UpdateDeploymentRequest();
    updateDeploymentRequest.setApplicationName(applicationName);
    updateDeploymentRequest.setDeploymentName(deploymentName);
    updateDeploymentRequest.setVersion(commitId);

    return updateDeploymentRequest;
  }
View Full Code Here

TOP

Related Classes of com.cloudcontrolled.api.request.UpdateDeploymentRequest

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.