Class AgamaDeploymentsResource


  • @Path("/agama-deployment")
    @Produces("application/json")
    public class AgamaDeploymentsResource
    extends ConfigBaseResource
    • Field Summary

      • Fields inherited from class io.jans.configapi.core.rest.BaseResource

        FIELD_VALUE_SEPARATOR, MISSING_ATTRIBUTE_CODE, MISSING_ATTRIBUTE_MESSAGE, TOKEN_DELIMITER
    • 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.core.rest.BaseResource

        checkNotEmpty, checkNotEmpty, checkNotNull, checkNotNull, checkNotNull, checkResourceNotNull, createSearchRequest, findRootError, getBadRequestException, getBadRequestException, getBadRequestException, getHttpHeaders, getHttpRequest, getInternalServerException, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, getUriInfo, throwBadRequestException, throwBadRequestException, throwBadRequestException, throwInternalServerException, throwInternalServerException, throwInternalServerException, throwMissingAttributeError
    • Constructor Detail

      • AgamaDeploymentsResource

        public AgamaDeploymentsResource()
    • 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)
      • 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)