Skip to content

Commit e0dacf3

Browse files
authored
Merge pull request #87 from jumpserver/pr@dev@feat_add_health_check_api
feat: add health check api
2 parents 2be46fd + 1267fb2 commit e0dacf3

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)