mirror of
https://github.com/ktds-dg0501/kt-event-marketing.git
synced 2025-12-06 21:26:24 +00:00
- Gradle 빌드 캐시 파일 제외 (.gitignore 업데이트) - Kafka 통합 테스트 구현 (AIJobConsumerIntegrationTest) - 단위 테스트 추가 (Controller, Service 레이어) - IntelliJ 실행 프로파일 자동 생성 도구 추가 - Kafka 테스트 배치 스크립트 추가 - Redis 캐시 설정 개선 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
34 lines
1.3 KiB
Groovy
34 lines
1.3 KiB
Groovy
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'
|
|
}
|