outer 및 inner sequence 동기화 및 한글화

변경 사항:
- 이벤트생성플로우 outer: FE → Gateway → User Service 호출 패턴 추가
- user-로그인 inner: 전화번호 → 이메일 기반 인증으로 변경
- user-회원가입 inner: 국세청 API 제거, 이메일 중복검사 추가
- event-목적선택 inner: Gateway 경유, 요청/응답 한글화
- ai-트렌드분석및추천 inner: 과거 이벤트 데이터 제거, Timeout 5분으로 변경
- analytics-대시보드조회 inner: Redis TTL 5분 → 1시간으로 변경

모든 파일에 Repository CRUD 작업 한글 설명 적용 (SQL 제거)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
cherry2250
2025-10-23 15:36:45 +09:00
parent eea1fff98c
commit edb7045008
6 changed files with 234 additions and 207 deletions
@@ -34,7 +34,7 @@ note right of Cache
- Redis GET 호출
- Cache Key 구조:
analytics:dashboard:{eventId}
- TTL: 300초 (5분)
- TTL: 3600초 (1시간)
end note
Cache -> Redis: GET analytics:dashboard:{eventId}
@@ -265,23 +265,24 @@ else Cache MISS
|||
== 4. Redis 캐싱 및 응답 ==
Service -> Cache: set(\n "analytics:dashboard:{eventId}",\n dashboardData,\n TTL=300\n)
Service -> Cache: set(\n "analytics:dashboard:{eventId}",\n dashboardData,\n TTL=3600\n)
activate Cache
Cache -> Redis: SET analytics:dashboard:{eventId}\nvalue={통합 데이터}\nEX 300
Cache -> Redis: 캐시 저장\nSET analytics:dashboard:{eventId}\nvalue={통합 데이터}\nEX 3600 (1시간)
activate Redis
Redis --> Cache: OK
Redis --> Cache: OK (저장 완료)
deactivate Redis
Cache --> Service: OK
Cache --> Service: OK (캐싱 완료)
deactivate Cache
note right of Service
**캐싱 완료**
- TTL: 300초 (5분)
- TTL: 3600초 (1시간)
- 다음 조회 시 Cache HIT
- 예상 크기: 5KB
- 갱신 주기: 1시간마다 새 데이터 조회
end note
Service --> Controller: DashboardResponse\n(200 OK)