jfullam.vfabric.jenkins.plugin.rest
Class ProvisioningRestService
java.lang.Object
jfullam.vfabric.jenkins.plugin.rest.ProvisioningRestService
- All Implemented Interfaces:
- ProvisioningService
public class ProvisioningRestService
- extends Object
- implements ProvisioningService
Calls the Application Director REST API for scheduling actions such as
deploying / provisioning an application environment
- Author:
- Jonathan Fullam
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProvisioningRestService
public ProvisioningRestService()
tearDown
public ServiceResult tearDown(String appName,
String profileName)
throws ServiceException
- Description copied from interface:
ProvisioningService
- Schedule the teardown an existing deployment
- Specified by:
tearDown in interface ProvisioningService
- Parameters:
appName - - The name of the applicationprofileName - - deployment profile name
- Returns:
- ServiceResult - based on the response from Application Director
- Throws:
ServiceException
scheduleDeployment
public ServiceResult scheduleDeployment(String deploymentProfileId)
throws ServiceException
- Description copied from interface:
ProvisioningService
- Schedule the deployment of an application based on a deployment profile.
- Specified by:
scheduleDeployment in interface ProvisioningService
- Returns:
- ServiceResult - based on the response from Application Director
- Throws:
ServiceException
getRestProvider
public RestProvider getRestProvider()
setRestProvider
public void setRestProvider(RestProvider restProvider)
- Specified by:
setRestProvider in interface ProvisioningService
Copyright © 2004-2012. All Rights Reserved.