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, String autoconfigure, byte[] gamaBinary)
jakarta.ws.rs.core.Response
getConfigs(String projectName)
jakarta.ws.rs.core.Response
getDeployment(String projectName)
jakarta.ws.rs.core.Response
getDeployments(int start, int count)
jakarta.ws.rs.core.Response
setConfigs(String projectName, Map<String,Map<String,Object>> flowsConfigs)
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, getBadRequestException, getHttpHeaders, getHttpRequest, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, getUriInfo, throwBadRequestException, throwBadRequestException, throwBadRequestException, throwInternalServerException, throwInternalServerException, throwMissingAttributeError
-
-
-
-
Method Detail
-
getDeployments
@GET @Produces("application/json") public jakarta.ws.rs.core.Response getDeployments(@QueryParam("start") int start, @QueryParam("count") int count)
-
getDeployment
@GET @Produces("application/json") @Path("/{name}") public jakarta.ws.rs.core.Response getDeployment(@PathParam("name") String projectName)
-
deploy
@POST @Consumes("application/zip") @Path("/{name}") public jakarta.ws.rs.core.Response deploy(@PathParam("name") String projectName, @QueryParam("autoconfigure") String autoconfigure, byte[] gamaBinary)
-
undeploy
@DELETE @Path("/{name}") public jakarta.ws.rs.core.Response undeploy(@PathParam("name") String projectName)
-
getConfigs
@GET @Path("/configs/{name}") public jakarta.ws.rs.core.Response getConfigs(@PathParam("name") String projectName)
-
-