Package org.rostore.service
Class StoreAdminService
java.lang.Object
org.rostore.service.StoreAdminService
@Path("/admin/store")
@Produces("application/json")
@RequestScoped
public class StoreAdminService
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
initStore
(RoStoreProperties roStoreProperties) jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
version()
-
Constructor Details
-
StoreAdminService
public StoreAdminService()
-
-
Method Details
-
shutdownStore
@GET @Path("/shutdown") @Consumes("application/json") public jakarta.ws.rs.core.Response shutdownStore() -
pingStore
@GET @Path("/ping") @Produces("text/plain") public jakarta.ws.rs.core.Response pingStore() -
version
@GET @Path("/version") @Produces("application/json") public jakarta.ws.rs.core.Response version() -
initStore
@POST @Path("/create") @Consumes("application/json") public jakarta.ws.rs.core.Response initStore(RoStoreProperties roStoreProperties) -
storeSpace
@GET @Path("/space") public jakarta.ws.rs.core.Response storeSpace() -
mapperProperties
@GET @Path("/mapper-properties") public jakarta.ws.rs.core.Response mapperProperties()
-