Class CouchbaseConfigurationResource


  • @Path("/config/database/couchbase")
    @Produces("application/json")
    @Consumes("application/json")
    public class CouchbaseConfigurationResource
    extends ConfigBaseResource
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.ws.rs.core.Response add​(@Valid @NotNull io.jans.orm.couchbase.model.CouchbaseConnectionConfiguration conf)  
      jakarta.ws.rs.core.Response delete​(String name)  
      jakarta.ws.rs.core.Response get()  
      jakarta.ws.rs.core.Response getWithName​(String name)  
      jakarta.ws.rs.core.Response patch​(String name, @NotNull String requestString)  
      jakarta.ws.rs.core.Response test​(@Valid @NotNull io.jans.orm.couchbase.model.CouchbaseConnectionConfiguration conf)  
      jakarta.ws.rs.core.Response update​(@Valid @NotNull io.jans.orm.couchbase.model.CouchbaseConnectionConfiguration conf)  
      • Methods inherited from class io.jans.configapi.core.rest.BaseResource

        checkNotEmpty, checkNotEmpty, checkNotNull, checkNotNull, checkResourceNotNull, createSearchRequest, getBadRequestException, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, thorwBadRequestException, thorwInternalServerException, throwMissingAttributeError
    • Constructor Detail

      • CouchbaseConfigurationResource

        public CouchbaseConfigurationResource()
    • Method Detail

      • get

        @GET
        public jakarta.ws.rs.core.Response get()
      • getWithName

        @GET
        @Path("/{name}")
        public jakarta.ws.rs.core.Response getWithName​(@PathParam("name")
                                                       String name)
      • add

        @POST
        public jakarta.ws.rs.core.Response add​(@Valid @NotNull
                                               @Valid @NotNull io.jans.orm.couchbase.model.CouchbaseConnectionConfiguration conf)
      • update

        @PUT
        public jakarta.ws.rs.core.Response update​(@Valid @NotNull
                                                  @Valid @NotNull io.jans.orm.couchbase.model.CouchbaseConnectionConfiguration conf)
      • delete

        @DELETE
        @Path("/{name}")
        public jakarta.ws.rs.core.Response delete​(@PathParam("name")
                                                  String name)
      • patch

        @PATCH
        @Path("/{name}")
        @Consumes("application/json-patch+json")
        public jakarta.ws.rs.core.Response patch​(@PathParam("name")
                                                 String name,
                                                 @NotNull
                                                 @NotNull String requestString)
                                          throws Exception
        Throws:
        Exception
      • test

        @POST
        @Path("/test")
        public jakarta.ws.rs.core.Response test​(@Valid @NotNull
                                                @Valid @NotNull io.jans.orm.couchbase.model.CouchbaseConnectionConfiguration conf)