Constructor and description |
---|
DeploymentResource
(WorkFlow workFlow) |
Type | Name and description |
---|---|
javax.ws.rs.core.Response |
addPromotionResult(javax.servlet.http.HttpServletRequest request, io.dropwizard.jersey.params.LongParam deploymentId, PromotionResultAddMapper promotionResultAddMapper) Check for valid status transitions. |
Deployment |
byIdentifier(io.dropwizard.jersey.params.LongParam deploymentId) Fetch deployment by page |
java.util.List<Deployment> |
getAll(io.dropwizard.jersey.params.IntParam pageNumber, ModelPageSizeParam perPageSize) Returns all Deployment objects (paginate info is optional) |
Deployment |
getLatest() Returns the latest Deployment object |
PromotionResult |
getPromotionResults(io.dropwizard.jersey.params.LongParam deploymentId, io.dropwizard.jersey.params.LongParam promotionResultId) Get Promotion Result model from deployment and throw error if not found |
Deployment |
updateDeployment(io.dropwizard.jersey.params.LongParam deploymentId, DeploymentUpdateMapper deploymentUpdateMapper) Patch the Deployment object with status update |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Check for valid status transitions. Throw exception if not found
Fetch deployment by page
Returns all Deployment objects (paginate info is optional)
Returns the latest Deployment object
Get Promotion Result model from deployment and throw error if not found
Patch the Deployment object with status update