add getExecution method to admin resource

This commit is contained in:
Josh Cain
2018-02-09 16:46:04 -06:00
committed by Marek Posolda
parent 24132c8f5b
commit 8cf65bc37d

View File

@@ -113,6 +113,11 @@ public interface AuthenticationManagementResource {
@Consumes(MediaType.APPLICATION_JSON)
Response addExecution(AuthenticationExecutionRepresentation model);
@Path("/executions/{executionId}")
@GET
@Produces(MediaType.APPLICATION_JSON)
AuthenticationExecutionRepresentation getExecution(final @PathParam("executionId") String executionId);
@Path("/executions/{executionId}/raise-priority")
@POST
void raisePriority(@PathParam("executionId") String execution);