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
     
  • Method Summary

    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, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, getNotFoundError, getUriInfo, throwBadRequestException, throwBadRequestException, throwBadRequestException, throwInternalServerException, throwInternalServerException, throwInternalServerException, throwInternalServerException, throwMissingAttributeError, throwNotFoundException, throwNotFoundException

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AgamaDeploymentsResource

      public AgamaDeploymentsResource()
  • Method Details

    • 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)
    • setConfigs

      @PUT @Consumes("application/json") @Path("/configs/{name}") public jakarta.ws.rs.core.Response setConfigs(@PathParam("name") String projectName, Map<String,Map<String,Object>> flowsConfigs)