Skip to content

Commit

Permalink
devops : healthCheck Controller add
Browse files Browse the repository at this point in the history
Server healthCheck ๋ฅผ ์œ„ํ•ด์„œ Controller ์ถ”๊ฐ€ํ•˜๊ณ  /health-check ์—”๋“œํฌ์ธํŠธ์— OK ์‘๋‹ต์ฃผ๋Š” API ์ถ”๊ฐ€ํ–ˆ์Šต๋‹ˆ๋‹ค.
  • Loading branch information
HABINOH committed Apr 24, 2024
1 parent 02d01f6 commit e95c5ec
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.quiz.ourClass.global.server;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HealthCheckController {

@GetMapping("/health-check")
public String healthCheck() {
return "OK";
}
}

0 comments on commit e95c5ec

Please sign in to comment.