Class CouchbaseConfigurationResource
- java.lang.Object
-
- io.jans.configapi.core.rest.BaseResource
-
- io.jans.configapi.rest.resource.auth.ConfigBaseResource
-
- io.jans.configapi.rest.resource.auth.CouchbaseConfigurationResource
-
@Path("/config/database/couchbase") @Produces("application/json") @Consumes("application/json") public class CouchbaseConfigurationResource extends ConfigBaseResource
-
-
Field Summary
-
Fields inherited from class io.jans.configapi.rest.resource.auth.ConfigBaseResource
DEFAULT_LIST_SIZE, DEFAULT_LIST_START_INDEX, DEFAULT_MAX_COUNT, READ_ACCESS, WRITE_ACCESS
-
-
Constructor Summary
Constructors Constructor Description CouchbaseConfigurationResource()
-
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.rest.resource.auth.ConfigBaseResource
getMaxCount
-
Methods inherited from class io.jans.configapi.core.rest.BaseResource
checkNotEmpty, checkNotEmpty, checkNotNull, checkResourceNotNull, createSearchRequest, getBadRequestException, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, thorwBadRequestException, thorwInternalServerException, throwMissingAttributeError
-
-
-
-
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)
-
-