주요 변경사항:
- Redis Sentinel 모드에서 Standalone 모드로 변경
- RedisConfig.java: RedisSentinelConfiguration → RedisStandaloneConfiguration
- AiServiceApplication 실행 프로파일 수정:
* 메인 클래스: AiApplication → AiServiceApplication
* 포트: 8081 → 8083
* Claude API 설정 추가 (URL, API Key, Model)
* Kafka 토픽 설정 추가
- application.yml: Redis 단일 인스턴스 설정으로 통일
- RecommendationGenerationException 클래스 추가
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
각 서비스의 standalone deployment.yaml에서 probe 설정을 주석 처리
- kustomize base 설정을 사용하는 방향으로 통일
변경된 서비스:
- ai-service
- analytics-service
- content-service
- distribution-service
- event-service
- participation-service
- user-service
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- user-service, participation-service의 probe 경로를 context-path에 맞게 수정
- AI Service Ingress 경로 수정: /api/v1/ai-service → /api/v1/ai
- Analytics Service Swagger UI 접근을 위한 /api/v1/analytics 경로 추가
- Distribution Service Ingress 경로 수정: /distribution → /api/v1/distribution
- Event Service catch-all 경로 /api/v1 추가 (우선순위 최하위)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
주요 변경사항:
- AI Service Redis Sentinel 모드 연결 설정
- Kafka 메시지 구조 정렬 (userId 필드 추가)
- Snappy 압축 라이브러리 지원 (gcompat 추가)
- Ingress Swagger 경로 수정
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Dockerfile에 gcompat 패키지 추가하여 Snappy 네이티브 라이브러리 지원
- application.yml에 AI Service Feign Client URL 설정 추가
- deployment.yaml 수정:
* 이미지 태그를 latest에서 dev로 변경
* Health check 경로 수정 (/api/v1/events/actuator → /api/v1/actuator)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- SecurityConfig를 content-service처럼 단순화
- 모든 요청에 대해 인증 없이 접근 가능하도록 변경
- Swagger UI 및 API 엔드포인트 접근 문제 해결
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Redis read-only replica 에러 처리 추가 (SampleDataLoader)
- MVP 환경에서 샘플 데이터 로딩 시 Redis 삭제 실패해도 계속 진행
- Swagger UI context-path 설정 수정 (SwaggerConfig)
- 서버 URL에 /api/v1/analytics context-path 포함하여 올바른 curl 명령 생성
- Spring Security 경로 매칭 수정 (SecurityConfig)
- context-path 제거된 실제 경로 (/events/**, /users/**) 매칭
- 403 Forbidden 에러 해결
- Dockerfile 빌드 경로 수정
- 멀티 모듈 프로젝트 구조에 맞게 JAR 복사 경로 수정
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- SecurityConfig에 CORS 설정 추가
- 모든 Origin 허용 (AllowedOriginPatterns: *)
- 모든 HTTP Method 허용 (GET, POST, PUT, DELETE, OPTIONS, PATCH)
- 모든 Header 허용
- Credentials 지원
- Swagger UI에서 API 테스트 시 CORS 에러 해결
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>