Skip to content

Commit

Permalink
[chore]: health check
Browse files Browse the repository at this point in the history
  • Loading branch information
qogustj committed Mar 25, 2024
1 parent 46d6caa commit b32a8f7
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package ussum.homepage.application.health;

import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class healthController {
@GetMapping("/health-check")
public ResponseEntity<Void> checkHealthStatus() {
return new ResponseEntity<>(HttpStatus.OK);
}
}

0 comments on commit b32a8f7

Please sign in to comment.