Feat/20/wallet 입금 API 및 Phase 2 설계 문서 추가#21
Conversation
거래소 도메인 관점에서 Kafka/WebSocket 도입 배경 명시. 설계 결정 근거, 면접 Q&A, 이슈별 파일 목록 추가.
PRD: 정상/장애 시퀀스 다이어그램, 장애 시나리오 표, idempotency 명세 추가 Plan: KafkaMessage DTO, WebSocketBroadcaster 전체 구현, 테스트 코드 완성
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (11)
📝 WalkthroughWalkthroughThis PR combines Phase 2 strategic planning documentation with implementation of the wallet deposit API feature. Phase 2 planning spans three documents identifying Phase 1 issues, architectural requirements, and a detailed implementation roadmap. The deposit feature adds an authenticated endpoint accepting KRW/BTC deposits, validating amounts, recording ledger entries, and integrating Swagger/OpenAPI documentation. ChangesPhase 2 Strategic Planning Documentation
Wallet Deposit API Feature
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Changes
feat
WalletController.deposit()— 입금 엔드포인트 (WAL-003)SecurityConfig—/swagger-ui/**,/v3/api-docs/**permitAlldocs
.docs/v2/PRD.md— Outbox Pattern / Kafka / WebSocket 설계.docs/v2/Plan.md— 이슈별 구현 상세 (docker-compose, OutboxPublisher, WebSocketBroadcaster, 테스트 코드).docs/v2/ISSUES.md— Phase 1 리뷰 이슈 8건 (BLOCKER 4, IMPROVE 4)테스트 완료 사항
./gradlew test통과POST /api/v1/wallets/deposit호출 시 잔고 증가 확인/swagger-ui/index.html접근 및 JWT Bearer 인증 동작 확인관련 이슈
closes #20
Summary by CodeRabbit
Release Notes
New Features
Documentation
Tests