Class AgamaDeploymentsResource
- java.lang.Object
-
- io.jans.configapi.core.rest.BaseResource
-
- io.jans.configapi.rest.resource.auth.ConfigBaseResource
-
- io.jans.configapi.rest.resource.auth.AgamaDeploymentsResource
-
@Path("/agama-deployment") @Produces("application/json") public class AgamaDeploymentsResource extends ConfigBaseResource
-
-
Constructor Summary
Constructors Constructor Description AgamaDeploymentsResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.Response
deploy(String projectName, byte[] gamaBinary)
jakarta.ws.rs.core.Response
getDeployment(String projectName)
jakarta.ws.rs.core.Response
getDeployments(int start, int count)
jakarta.ws.rs.core.Response
undeploy(String projectName)
-
Methods inherited from class io.jans.configapi.rest.resource.auth.ConfigBaseResource
getMaxCount
-
Methods inherited from class io.jans.configapi.core.rest.BaseResource
checkNotEmpty, checkNotEmpty, checkNotNull, checkNotNull, checkNotNull, checkResourceNotNull, createSearchRequest, findRootError, getBadRequestException, getBadRequestException, getHttpHeaders, getHttpRequest, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, getUriInfo, throwBadRequestException, throwBadRequestException, throwInternalServerException, throwInternalServerException, throwMissingAttributeError
-
-
-
-
Method Detail
-
getDeployments
@GET @Path("list") @Produces("application/json") public jakarta.ws.rs.core.Response getDeployments(@QueryParam("start") int start, @QueryParam("count") int count)
-
getDeployment
@GET @Produces("application/json") public jakarta.ws.rs.core.Response getDeployment(@QueryParam("name") String projectName)
-
deploy
@POST @Consumes("application/zip") public jakarta.ws.rs.core.Response deploy(@QueryParam("name") String projectName, byte[] gamaBinary)
-
undeploy
@DELETE public jakarta.ws.rs.core.Response undeploy(@QueryParam("name") String projectName)
-
-