Phase 3: content-service JPA 완전 제거 및 Redis 전용 전환
주요 변경사항: - 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>
This commit is contained in:
@@ -2,22 +2,6 @@ spring:
|
||||
application:
|
||||
name: content-service
|
||||
|
||||
datasource:
|
||||
url: jdbc:postgresql://4.217.131.139:5432/contentdb
|
||||
username: eventuser
|
||||
password: Hi5Jessica!
|
||||
driver-class-name: org.postgresql.Driver
|
||||
|
||||
jpa:
|
||||
database-platform: org.hibernate.dialect.PostgreSQLDialect
|
||||
hibernate:
|
||||
ddl-auto: update
|
||||
show-sql: true
|
||||
properties:
|
||||
hibernate:
|
||||
format_sql: true
|
||||
use_sql_comments: true
|
||||
|
||||
data:
|
||||
redis:
|
||||
host: 4.217.131.139
|
||||
@@ -47,4 +31,3 @@ azure:
|
||||
logging:
|
||||
level:
|
||||
com.kt.event: DEBUG
|
||||
org.hibernate.SQL: DEBUG
|
||||
|
||||
Reference in New Issue
Block a user