mirror of
https://github.com/hwanny1128/HGZero.git
synced 2025-12-06 23:06:23 +00:00
전체 5개 마이크로서비스의 내부 처리 흐름을 상세히 설계 [추가된 파일] - Meeting Service: 6개 시나리오 (검증완료, 실시간수정동기화, 최종회의록확정, 충돌해결, 템플릿선택, 회의록목록조회) - STT Service: 2개 시나리오 (음성녹음인식, 텍스트변환) - User Service: 2개 시나리오 (사용자인증, 대시보드조회) - Notification Service: 1개 시나리오 (알림발송) [주요 설계 내용] - Clean Architecture 적용 (Controller → Service → Domain → Repository) - Cache-Aside 패턴 (Redis 기반 성능 최적화) - Event-Driven Architecture (Azure Event Hub) - Real-time Collaboration (WebSocket + OT 알고리즘) - RAG 기능 (맥락 기반 AI) [검증 결과] - PlantUML 문법 검증: 모든 파일 통과 ✅ - 유저스토리 매칭: 100% 일치 ✅ - 아키텍처 패턴 준수: 완료 ✅ [병렬 처리] - 서브 에이전트 3개로 병렬 작업 수행 - Meeting Service, AI Service, STT/User/Notification 동시 설계 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
66 lines
1.4 KiB
Plaintext
66 lines
1.4 KiB
Plaintext
@startuml
|
|
!theme mono
|
|
|
|
title 회의록 목록 조회 내부 시퀀스
|
|
|
|
participant "API Gateway<<E>>" as Gateway
|
|
participant "MeetingController" as Controller
|
|
participant "MeetingService" as Service
|
|
participant "MeetingRepository" as Repository
|
|
database "PostgreSQL<<E>>" as DB
|
|
database "Redis Cache<<E>>" as Cache
|
|
|
|
Gateway -> Controller: GET /api/meetings?page=0&size=20
|
|
activate Controller
|
|
|
|
Controller -> Service: getMeetingList(pageRequest, filters)
|
|
activate Service
|
|
|
|
note right of Service
|
|
조회 조건:
|
|
- 페이징 (page, size)
|
|
- 필터 (날짜, 상태, 작성자)
|
|
- 정렬 (최신순, 제목순)
|
|
end note
|
|
|
|
Service -> Cache: get(meetings:list:{hash})
|
|
activate Cache
|
|
note right of Cache
|
|
목록 조회 캐싱
|
|
키: 쿼리 조건 해시
|
|
TTL: 5분
|
|
end note
|
|
Cache --> Service: null (cache miss)
|
|
deactivate Cache
|
|
|
|
Service -> Repository: findAll(specification, pageable)
|
|
activate Repository
|
|
|
|
Repository -> DB: SELECT * FROM meetings WHERE ... ORDER BY ... LIMIT ? OFFSET ?
|
|
activate DB
|
|
DB --> Repository: meeting_rows
|
|
deactivate DB
|
|
|
|
Repository --> Service: Page<Meeting>
|
|
deactivate Repository
|
|
|
|
Service -> Service: toResponseList(meetings)
|
|
note right of Service
|
|
응답 변환:
|
|
- DTO 매핑
|
|
- 민감 정보 필터링
|
|
end note
|
|
|
|
Service -> Cache: set(meetings:list:{hash}, responseData)
|
|
activate Cache
|
|
Cache --> Service: OK
|
|
deactivate Cache
|
|
|
|
Service --> Controller: Page<MeetingResponse>
|
|
deactivate Service
|
|
|
|
Controller --> Gateway: 200 OK
|
|
deactivate Controller
|
|
|
|
@enduml
|