Skip to content

Commit 1267fb2

Browse files
committed
feat: add health check api
1 parent 1626496 commit 1267fb2

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package org.jumpserver.chen.web.controller;
2+
3+
import org.springframework.web.bind.annotation.GetMapping;
4+
import org.springframework.web.bind.annotation.RequestMapping;
5+
import org.springframework.web.bind.annotation.RestController;
6+
7+
@RestController
8+
@RequestMapping("/healthy")
9+
public class HealthCheckController {
10+
11+
@GetMapping("")
12+
public String healthCheck() {
13+
return "ok";
14+
}
15+
}

0 commit comments

Comments
 (0)