We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2be46fd + 1267fb2 commit e0dacf3Copy full SHA for e0dacf3
backend/web/src/main/java/org/jumpserver/chen/web/controller/HealthCheckController.java
@@ -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