Klasse MicroService
java.lang.Object
de.dlr.proseo.monitor.microservice.MicroService
Represent a microservice to check status
- Autor:
- Melchinger
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungMicroService(MonitorConfiguration.Service service) Instantiate a micro service -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidcheck(MonitorServices monitor) Check the state of this servicevoidcreateEntry(MonitorServices monitor) Create a new database entry of thisgetName()getState()getUrl()void
-
Konstruktordetails
-
MicroService
Instantiate a micro service- Parameter:
service- A service defined in monitor configuration (application.yml)
-
-
Methodendetails
-
getHasActuator
- Gibt zurück:
- the hasActuator
-
getIsProseo
- Gibt zurück:
- the isProseo
-
getName
- Gibt zurück:
- the name
-
getNameId
- Gibt zurück:
- the name
-
getUrl
- Gibt zurück:
- the url
-
getDocker
- Gibt zurück:
- the docker
-
getKubernetes
- Gibt zurück:
- the kubernetes
-
getState
- Gibt zurück:
- the state
-
setState
- Parameter:
state- the state to set
-
check
Check the state of this service- Parameter:
monitor- The basic Monitor thread
-
createEntry
Create a new database entry of this- Parameter:
monitor- The basic Monitor thread
-