jfullam.vfabric.rest.appdir
Interface RestProvider

All Known Implementing Classes:
DefaultRestProvider

public interface RestProvider

Provide direct access to the Application Director REST API

Author:
Jonathan Fullam

Method Summary
 org.codehaus.jackson.JsonNode getApplications()
           
 org.codehaus.jackson.JsonNode getDeploymentProfiles(String applicationId)
           
 org.codehaus.jackson.JsonNode getDeployments()
           
 org.codehaus.jackson.JsonNode getDeploymentUpdateProperties(String deploymentId)
           
 org.codehaus.jackson.JsonNode getDeployProperties(String deploymentProfileId)
           
 org.codehaus.jackson.JsonNode postScheduleDeployment(String deployemtProfileId, org.codehaus.jackson.JsonNode deployRequest)
           
 org.codehaus.jackson.JsonNode postTeardown(String deploymentId)
           
 org.codehaus.jackson.JsonNode updateDeployment(String deployment, org.codehaus.jackson.JsonNode updateRequest)
           
 

Method Detail

getDeployments

org.codehaus.jackson.JsonNode getDeployments()
                                             throws ServiceException
Throws:
ServiceException

postTeardown

org.codehaus.jackson.JsonNode postTeardown(String deploymentId)
                                           throws ServiceException
Throws:
ServiceException

postScheduleDeployment

org.codehaus.jackson.JsonNode postScheduleDeployment(String deployemtProfileId,
                                                     org.codehaus.jackson.JsonNode deployRequest)
                                                     throws ServiceException
Throws:
ServiceException

getApplications

org.codehaus.jackson.JsonNode getApplications()
                                              throws ServiceException
Throws:
ServiceException

getDeployProperties

org.codehaus.jackson.JsonNode getDeployProperties(String deploymentProfileId)
                                                  throws ServiceException
Throws:
ServiceException

getDeploymentProfiles

org.codehaus.jackson.JsonNode getDeploymentProfiles(String applicationId)
                                                    throws ServiceException
Throws:
ServiceException

getDeploymentUpdateProperties

org.codehaus.jackson.JsonNode getDeploymentUpdateProperties(String deploymentId)
                                                            throws ServiceException
Throws:
ServiceException

updateDeployment

org.codehaus.jackson.JsonNode updateDeployment(String deployment,
                                               org.codehaus.jackson.JsonNode updateRequest)
                                               throws ServiceException
Throws:
ServiceException


Copyright © 2004-2012. All Rights Reserved.