Skip to content

Commit

Permalink
feat: health check api 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
nohy6630 committed May 3, 2024
1 parent 3e2b680 commit 0456bdf
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/main/java/com/yeongjin/alarmserver/HealthCheckController.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package com.yeongjin.alarmserver;

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

@RestController
@RequestMapping("/healths")
public class HealthCheckController {
@GetMapping
public String checkHealth() {
return "success";
}
}

0 comments on commit 0456bdf

Please sign in to comment.