Compare commits
3 commits
forge/iss-
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| e0e33a73be | |||
| 99a0f07095 | |||
| fefbf1c42b |
4 changed files with 13 additions and 32 deletions
3
.forge/iss-3f29c0d83954-attempt-1-run-62fa40d5b77b.md
Normal file
3
.forge/iss-3f29c0d83954-attempt-1-run-62fa40d5b77b.md
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
# iss-3f29c0d83954-attempt-1-run-62fa40d5b77b
|
||||||
|
|
||||||
|
Forge 이슈 작업 브랜치 `forge/iss-3f29c0d83954-attempt-1-run-62fa40d5b77b`.
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
# iss-bae72bbf49e3-attempt-4-run-503896c06e5d
|
|
||||||
|
|
||||||
Forge 이슈 작업 브랜치 `forge/iss-bae72bbf49e3-attempt-4-run-503896c06e5d`.
|
|
||||||
10
docs/architecture/package-map.md
Normal file
10
docs/architecture/package-map.md
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
# 패키지 맵
|
||||||
|
|
||||||
|
| 패키지 | 책임 | 금지 의존성 |
|
||||||
|
|----------------|----------------------------------------------|------------------|
|
||||||
|
| controller | 외부 요청 수신 및 처리 | repository |
|
||||||
|
| service | 비즈니스 로직 수행 및 데이터 처리 | integration |
|
||||||
|
| repository | 데이터 저장소와의 상호작용 | controller, domain |
|
||||||
|
| domain | 핵심 비즈니스 도메인 모델 | integration |
|
||||||
|
| integration | 외부 서비스와의 통신 | controller, domain |
|
||||||
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
||||||
```mermaid
|
|
||||||
sequenceDiagram
|
|
||||||
participant User
|
|
||||||
participant PaymentGateway
|
|
||||||
participant Database
|
|
||||||
opt Successful Transaction
|
|
||||||
User->>PaymentGateway: Initiate Payment
|
|
||||||
PaymentGateway-->>User: Payment Confirmation
|
|
||||||
User->>Database: Update Transaction Record
|
|
||||||
Database-->>User: Transaction Updated
|
|
||||||
User->>User: Payment Succeeded
|
|
||||||
end
|
|
||||||
opt External Failure
|
|
||||||
User->>PaymentGateway: Initiate Payment
|
|
||||||
PaymentGateway-->>User: Payment Error
|
|
||||||
User->>User: Payment Failed
|
|
||||||
end
|
|
||||||
opt DB Failure
|
|
||||||
User->>PaymentGateway: Initiate Payment
|
|
||||||
PaymentGateway-->>User: Payment Confirmation
|
|
||||||
User->>Database: Update Transaction Record
|
|
||||||
Database-->>User: DB Error
|
|
||||||
User->>PaymentGateway: Cancel Transaction
|
|
||||||
PaymentGateway-->>User: Transaction Canceled
|
|
||||||
end
|
|
||||||
%% Commit and Rollback%%
|
|
||||||
Note over User, PaymentGateway: Commit after successful transaction
|
|
||||||
Note over User, Database: Rollback on DB failure
|
|
||||||
```
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue