Klasse MicroService

java.lang.Object
de.dlr.proseo.monitor.microservice.MicroService

public class MicroService extends Object
Represent a microservice to check status
Autor:
Melchinger
  • Konstruktordetails

    • MicroService

      public MicroService(MonitorConfiguration.Service service)
      Instantiate a micro service
      Parameter:
      service - A service defined in monitor configuration (application.yml)
  • Methodendetails

    • getHasActuator

      public Boolean getHasActuator()
      Gibt zurück:
      the hasActuator
    • getIsProseo

      public Boolean getIsProseo()
      Gibt zurück:
      the isProseo
    • getName

      public String getName()
      Gibt zurück:
      the name
    • getNameId

      public String getNameId()
      Gibt zurück:
      the name
    • getUrl

      public String getUrl()
      Gibt zurück:
      the url
    • getDocker

      public String getDocker()
      Gibt zurück:
      the docker
    • getKubernetes

      public String getKubernetes()
      Gibt zurück:
      the kubernetes
    • getState

      public Long getState()
      Gibt zurück:
      the state
    • setState

      public void setState(Long state)
      Parameter:
      state - the state to set
    • check

      public void check(MonitorServices monitor)
      Check the state of this service
      Parameter:
      monitor - The basic Monitor thread
    • createEntry

      public void createEntry(MonitorServices monitor)
      Create a new database entry of this
      Parameter:
      monitor - The basic Monitor thread