Commit 97787cba authored by 陈健's avatar 陈健

增加健康检查接口

parent 2c3ca6de
package com.onegini.oidc;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class HealthController {
@RequestMapping(value = "/health", method = RequestMethod.GET)
public String health() {
return "up";
}
}
......@@ -13,9 +13,4 @@ public class IndexController {
return "index";
}
@GetMapping("/health")
public String health() {
return "up";
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment