java.lang.Object
org.gcube.informationsystem.resourceregistry.rest.base.BaseRest
org.gcube.informationsystem.resourceregistry.rest.core.InfoManager

@Path("info") public class InfoManager extends BaseRest
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)
  • Constructor Details

    • InfoManager

      public InfoManager()
      Creates a new InfoManager REST resource.
  • Method Details

    • info

      @GET @Produces("application/json") public jakarta.ws.rs.core.Response info() throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      Returns 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