Health check

This commit is contained in:
Sofiene BEN KHEMIS
2021-05-10 18:31:47 +02:00
parent 83fbc40d22
commit c204f7e67c

View File

@@ -38,4 +38,9 @@ public class BookController {
public void deleteBookByID(@PathVariable long id) {
bookServicePort.deleteBookById(id);
}
@GetMapping("/health")
public String health() {
return "HEALTH CHECK OK!";
}
}