@Path(value="v1/sga") public class SGA extends Object
| Constructor and Description |
|---|
SGA() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
heartbeat(String sgaName) |
javax.ws.rs.core.Response |
postIt(RegistrationRequest registration) |
javax.ws.rs.core.Response |
postIt(String sgaName,
CompletionRequest cr) |
javax.ws.rs.core.Response |
postIt(String sgaName,
StatusRequest status) |
@POST @Path(value="/") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response postIt(RegistrationRequest registration)
@GET
@Path(value="/{name:[A-Za-z0-9_]+}/heartbeat")
@Consumes(value="*/*")
@Produces(value="text/plain")
public javax.ws.rs.core.Response heartbeat(@PathParam(value="name")
String sgaName)
@POST
@Path(value="/{name:[A-Za-z0-9_]+}/status")
@Consumes(value="application/json")
@Produces(value="text/plain")
public javax.ws.rs.core.Response postIt(@PathParam(value="name")
String sgaName,
StatusRequest status)
@POST
@Path(value="/{name:[A-Za-z0-9_]+}/completion")
@Consumes(value="application/json")
@Produces(value="text/plain")
public javax.ws.rs.core.Response postIt(@PathParam(value="name")
String sgaName,
CompletionRequest cr)
Copyright © 2016. All rights reserved.