Skip to content

Commit

Permalink
feat: health check controller
Browse files Browse the repository at this point in the history
  • Loading branch information
ah9mon committed Aug 17, 2023
1 parent ada2b20 commit f7a7b54
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package com.anywayclear.controller;

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 StatusCheckController {
@GetMapping("/health-check")
public ResponseEntity<Void> checkHealthStatus() {

return new ResponseEntity<>(HttpStatus.OK);
}
}

0 comments on commit f7a7b54

Please sign in to comment.