feat: add java control plane container baseline
This commit is contained in:
1 parent
2897354dd8
commit
1615401185
18 files changed
+566
No files matched your search
@@ -0,0 +1,17 @@
|
||||
package com.moyi.controlplane;
|
||||
|
||||
import java.util.Map;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class HealthController {
|
||||
@GetMapping("/health")
|
||||
public Map<String, Object> health() {
|
||||
return Map.of(
|
||||
"status", "ok",
|
||||
"service", "moyi-control-plane-java",
|
||||
"migration", "bootstrap"
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user