mirror of
https://github.com/ktds-dg0501/kt-event-marketing.git
synced 2025-12-06 16:46:23 +00:00
- Kubernetes 매니페스트 파일 생성 (7개 서비스) * user-service, event-service, ai-service, content-service * participation-service, analytics-service, distribution-service * 공통 리소스: Ingress, ConfigMap, Secret, ImagePullSecret - analytics-service 배포 문제 해결 * Hibernate PostgreSQL dialect 추가 * DB 자격증명 수정 (eventuser/Hi5Jessica!) * analytics_db 데이터베이스 생성 - content-service Probe 경로 수정 * Context path 포함 (/api/v1/content/actuator/health) - distribution-service 신규 배포 * Docker 이미지 빌드 및 ACR 푸시 * K8s 매니페스트 생성 및 배포 * Ingress 경로 추가 (/distribution) - Gradle bootJar 설정 추가 * 5개 서비스에 archiveFileName 설정 - 배포 가이드 문서 추가 * deployment/k8s/deploy-k8s-guide.md * claude/deploy-k8s-back.md * deployment/container/build-image.md 업데이트 배포 완료: 모든 백엔드 서비스(7개) 정상 실행 중 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
38 lines
1.3 KiB
Groovy
38 lines
1.3 KiB
Groovy
bootJar {
|
|
archiveFileName = 'ai-service.jar'
|
|
}
|
|
|
|
dependencies {
|
|
// Kafka Consumer
|
|
implementation 'org.springframework.kafka:spring-kafka'
|
|
|
|
// Redis for result caching (already in root build.gradle)
|
|
// implementation 'org.springframework.boot:spring-boot-starter-data-redis'
|
|
|
|
// OpenFeign for Claude/GPT API
|
|
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign'
|
|
|
|
// Resilience4j for Circuit Breaker
|
|
implementation "io.github.resilience4j:resilience4j-spring-boot3:${resilience4jVersion}"
|
|
implementation "io.github.resilience4j:resilience4j-circuitbreaker:${resilience4jVersion}"
|
|
|
|
// Jackson for JSON
|
|
implementation 'com.fasterxml.jackson.core:jackson-databind'
|
|
|
|
// JWT (for security)
|
|
implementation "io.jsonwebtoken:jjwt-api:${jjwtVersion}"
|
|
runtimeOnly "io.jsonwebtoken:jjwt-impl:${jjwtVersion}"
|
|
runtimeOnly "io.jsonwebtoken:jjwt-jackson:${jjwtVersion}"
|
|
|
|
// Note: PostgreSQL dependency is in root build.gradle but AI Service doesn't use DB
|
|
// We still include it for consistency, but no JPA entities will be created
|
|
}
|
|
|
|
// Kafka Manual Test 실행 태스크
|
|
task runKafkaManualTest(type: JavaExec) {
|
|
group = 'verification'
|
|
description = 'Run Kafka manual test'
|
|
classpath = sourceSets.test.runtimeClasspath
|
|
mainClass = 'com.kt.ai.test.manual.KafkaManualTest'
|
|
}
|