Class InfoManager
java.lang.Object
org.gcube.informationsystem.resourceregistry.rest.base.BaseRest
org.gcube.informationsystem.resourceregistry.rest.core.InfoManager
The general information of the registry, served without a token: the path is an
excludes entry of application.yaml, so no request handler of SmartGears runs and
there is no caller to authorize.- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Responseinfo()Returns the general information of the registry, read at every call.Methods inherited from class org.gcube.informationsystem.resourceregistry.rest.base.BaseRest
buildResponse, buildResponse, setAccountingMethod, setAccountingMethod
-
Constructor Details
-
InfoManager
public InfoManager()Creates a newInfoManagerREST resource.
-
-
Method Details
-
info
@GET @Produces("application/json") public jakarta.ws.rs.core.Response info() throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionReturns the general information of the registry, read at every call.- Returns:
- the response carrying the information
- Throws:
org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException- if the database cannot be read
-