Class ApplicationStatusResource

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String STATUS_URL
      Status for Application resource path
      static java.lang.String TENANTS_URL  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response getServerTenants()
      Retrieve all the tenants defined on the plateform
      javax.ws.rs.core.Response status()
      Return a response status
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • STATUS_URL

        public static final java.lang.String STATUS_URL
        Status for Application resource path
        See Also:
        Constant Field Values
    • Constructor Detail

      • ApplicationStatusResource

        public ApplicationStatusResource()
        Constructor InternalVitamResources using implicit BasicVitamStatusServiceImpl
      • ApplicationStatusResource

        public ApplicationStatusResource​(VitamStatusService statusService)
        Constructor InternalVitamResources
        Parameters:
        statusService -
    • Method Detail

      • status

        @GET
        @Path("/status")
        @Produces("application/json")
        public javax.ws.rs.core.Response status()
        Return a response status
        Returns:
        Response containing the status of the service
      • getServerTenants

        @GET
        @Path("/tenants")
        @Produces("application/json")
        public javax.ws.rs.core.Response getServerTenants()
        Retrieve all the tenants defined on the plateform
        Returns:
        Response containing a list of tenants as string