Package io.jans.configapi.service.status
Class StatusCheckerTimer
- java.lang.Object
-
- io.jans.configapi.service.status.StatusCheckerTimer
-
@ApplicationScoped @Named public class StatusCheckerTimer extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
GET_AGAMA_LAB_PROJECTS
static String
PROGRAM_FACTER
static String
PROGRAM_SHOW_VERSION
static String
SERVICE_STATUS
-
Constructor Summary
Constructors Constructor Description StatusCheckerTimer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create()
com.fasterxml.jackson.databind.JsonNode
getAllAgamaRepositories()
com.fasterxml.jackson.databind.JsonNode
getAppVersionData(String artifact)
io.jans.configapi.model.status.StatsData
getServerStatsData()
com.fasterxml.jackson.databind.JsonNode
getServiceStatus(String serviceName)
void
initTimer()
void
printDirectory()
void
process(StatusCheckerTimerEvent statusCheckerTimerEvent)
-
-
-
Field Detail
-
PROGRAM_FACTER
public static final String PROGRAM_FACTER
- See Also:
- Constant Field Values
-
PROGRAM_SHOW_VERSION
public static final String PROGRAM_SHOW_VERSION
- See Also:
- Constant Field Values
-
SERVICE_STATUS
public static final String SERVICE_STATUS
- See Also:
- Constant Field Values
-
GET_AGAMA_LAB_PROJECTS
public static final String GET_AGAMA_LAB_PROJECTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
create
@PostConstruct public void create()
-
initTimer
public void initTimer()
-
process
@Asynchronous public void process(@Observes StatusCheckerTimerEvent statusCheckerTimerEvent)
-
getServerStatsData
public io.jans.configapi.model.status.StatsData getServerStatsData()
-
getAppVersionData
public com.fasterxml.jackson.databind.JsonNode getAppVersionData(String artifact)
-
getServiceStatus
public com.fasterxml.jackson.databind.JsonNode getServiceStatus(String serviceName)
-
getAllAgamaRepositories
public com.fasterxml.jackson.databind.JsonNode getAllAgamaRepositories()
-
printDirectory
public void printDirectory()
-
-