@Path(value="/inspection")
@Consumes(value={"application/xml","application/json"})
@Produces(value={"application/xml","application/json"})
public interface InspectionService
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createTask(Inspection inspection)
Creates the inspection task
|
Inspection |
prepare(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem ci)
Initializes the task parameter object for inspection on a CI.
|
Inspection |
prepare(java.lang.String id)
Initializes the task parameter object for inspection on a CI.
|
java.util.List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> |
retrieveInspectionResults(java.lang.String taskId)
Retrieved the inspection results
|
@POST @Path(value="prepare") Inspection prepare(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem ci)
ci
- The CI to inspect. For example, the root node of a middleware topology.@GET @Path(value="prepare/{id:.*?}") Inspection prepare(@PathParam(value="id") java.lang.String id)
id
- The id of the CI to inspect. For example, the root node of a middleware topology.@POST java.lang.String createTask(Inspection inspection)
inspection
- the inspection parameter objectTaskService
./inspection/prepare
prepare(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem)
@POST @Path(value="retrieve/{taskId}") java.util.List<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem> retrieveInspectionResults(@PathParam(value="taskId") java.lang.String taskId)
taskId
- the Task ID of the task that ran the inspection.