- Spring Boot 3.5.2 + Spring Security + JPA + PostgreSQL - Google OAuth2 ID Token 검증 (google-api-client) - JWT 인증 (jjwt 0.12.6) - H2 인메모리 DB (로컬) / PostgreSQL (운영) 프로필 분리 - Nexus 프록시 경유 Maven 빌드 설정 - 팀 워크플로우 템플릿 (common + java-maven) 적용
19 lines
412 B
Java
19 lines
412 B
Java
package com.gcsc.guide.controller;
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
import java.util.Map;
|
|
|
|
@RestController
|
|
public class HealthController {
|
|
|
|
@GetMapping("/api/health")
|
|
public Map<String, String> health() {
|
|
return Map.of(
|
|
"status", "UP",
|
|
"service", "gc-guide-api"
|
|
);
|
|
}
|
|
}
|