Package io.openml.gearbox.controller
Class HealthController
java.lang.Object
io.openml.gearbox.controller.HealthController
REST controller dedicated to providing operational health checks for the service.
This controller's single responsibility is to report on the application's status in its running environment. It is separate from the core application logic.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<String>
A simple health check endpoint to verify that the service is running.
-
Constructor Details
-
HealthController
public HealthController()
-
-
Method Details
-
healthCheck
A simple health check endpoint to verify that the service is running.The deployment script polls this endpoint after starting a new container.
- Returns:
- A 200 OK response with the body "UP".
-