주요 변경사항: - JPA Entity 3개 삭제 (JobEntity, GeneratedImageEntity, ContentEntity) - JPA Repository 3개 삭제 (JobJpaRepository, GeneratedImageJpaRepository, ContentJpaRepository) - JPA Gateway 2개 삭제 (JobGateway, ContentGateway) - Port 인터페이스 정리: backward compatibility 메서드 제거 - Service 레이어 Redis DTO 전환 (JobManagementService, MockGenerateImagesService, MockRegenerateImageService) - MockRedisGateway에 ContentReader/ContentWriter 구현 추가 및 Immutable 패턴 처리 - application.yml에서 JPA/H2 설정 제거 - build.gradle에서 JPA 의존성 exclude 처리 - ContentApplication에서 JPA 어노테이션 제거 서비스는 이제 순수 Redis 기반 스토리지로 동작합니다. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
27 lines
1.0 KiB
Groovy
27 lines
1.0 KiB
Groovy
configurations {
|
|
// Exclude JPA and PostgreSQL from inherited dependencies (Phase 3: Redis migration)
|
|
implementation.exclude group: 'org.springframework.boot', module: 'spring-boot-starter-data-jpa'
|
|
implementation.exclude group: 'org.postgresql', module: 'postgresql'
|
|
}
|
|
|
|
dependencies {
|
|
// Kafka Consumer
|
|
implementation 'org.springframework.kafka:spring-kafka'
|
|
|
|
// Redis for AI data reading and image URL caching
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
|
|
|
|
// OpenFeign for Stable Diffusion/DALL-E API
|
|
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign'
|
|
|
|
// Azure Blob Storage for CDN
|
|
implementation "com.azure:azure-storage-blob:${azureStorageVersion}"
|
|
|
|
// 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'
|
|
}
|