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

View File

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

View File

@ -19,7 +19,7 @@ spec:
- name: kt-event-marketing - name: kt-event-marketing
containers: containers:
- name: ai-service - 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 imagePullPolicy: Always
ports: ports:
- containerPort: 8083 - containerPort: 8083
@ -42,21 +42,21 @@ spec:
memory: "1024Mi" memory: "1024Mi"
startupProbe: startupProbe:
httpGet: httpGet:
path: /api/v1/ai-service/actuator/health path: /api/v1/ai/actuator/health
port: 8083 port: 8083
initialDelaySeconds: 30 initialDelaySeconds: 30
periodSeconds: 10 periodSeconds: 10
failureThreshold: 30 failureThreshold: 30
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /api/v1/ai-service/actuator/health/readiness path: /api/v1/ai/actuator/health/readiness
port: 8083 port: 8083
initialDelaySeconds: 10 initialDelaySeconds: 10
periodSeconds: 5 periodSeconds: 5
failureThreshold: 3 failureThreshold: 3
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /api/v1/ai-service/actuator/health/liveness path: /api/v1/ai/actuator/health/liveness
port: 8083 port: 8083
initialDelaySeconds: 30 initialDelaySeconds: 30
periodSeconds: 10 periodSeconds: 10

View File

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