Merge pull request #35 from ktds-dg0501/feature/ai

remove api path
This commit is contained in:
SWPARK 2025-10-30 18:43:35 +09:00 committed by GitHub
commit cf379407e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 7 deletions

View File

@ -32,7 +32,7 @@ public class HealthController {
* 서비스 헬스체크
*/
@Operation(summary = "서비스 헬스체크", description = "AI Service 상태 및 외부 연동 확인")
@GetMapping("/api/v1/ai-service/health")
@GetMapping("/health")
public ResponseEntity<HealthCheckResponse> healthCheck() {
// Redis 상태 확인
ServiceStatus redisStatus = checkRedis();

View File

@ -39,7 +39,7 @@ spring:
server:
port: ${SERVER_PORT:8083}
servlet:
context-path: /api/v1/ai-service
context-path: /api/v1/ai
encoding:
charset: UTF-8
enabled: true

View File

@ -19,7 +19,7 @@ spec:
- name: kt-event-marketing
containers:
- name: ai-service
image: acrdigitalgarage01.azurecr.io/kt-event-marketing/ai-service:latest
image: acrdigitalgarage01.azurecr.io/kt-event-marketing/ai-service:dev
imagePullPolicy: Always
ports:
- containerPort: 8083
@ -42,21 +42,21 @@ spec:
memory: "1024Mi"
startupProbe:
httpGet:
path: /api/v1/ai-service/actuator/health
path: /api/v1/ai/actuator/health
port: 8083
initialDelaySeconds: 30
periodSeconds: 10
failureThreshold: 30
readinessProbe:
httpGet:
path: /api/v1/ai-service/actuator/health/readiness
path: /api/v1/ai/actuator/health/readiness
port: 8083
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 3
livenessProbe:
httpGet:
path: /api/v1/ai-service/actuator/health/liveness
path: /api/v1/ai/actuator/health/liveness
port: 8083
initialDelaySeconds: 30
periodSeconds: 10

View File

@ -56,7 +56,7 @@ spec:
number: 80
# AI Service
- path: /api/v1/ai-service
- path: /api/v1/ai
pathType: Prefix
backend:
service: