Package org.gcube.common.health.api
package org.gcube.common.health.api
-
ClassDescriptionHow an application prepares itself in one of its Contexts (e.g. reads or creates its configuration there and reaches what it needs) and reports its state there.Marks the
ContextPreparationof an application: SmartGears finds it and uses it to prepare the application in each of its Contexts and to report its state there.The state of an application in one of its Contexts:pendingbefore it has been prepared there,activewhen it works there,degradedwhen it works with a problem to verify,inactivewhen it cannot work there.Marks aHealthCheckof an application: SmartGears finds it, runs it at the start and then every minute, and reports it in the health of the application.