Compare commits
2 commits
main
...
forge/iss-
| Author | SHA1 | Date | |
|---|---|---|---|
| 770dd0e3f4 | |||
| 9916fe55a3 |
2 changed files with 22 additions and 0 deletions
3
.forge/iss-d65d495e8095-attempt-2.md
Normal file
3
.forge/iss-d65d495e8095-attempt-2.md
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
# iss-d65d495e8095-attempt-2
|
||||||
|
|
||||||
|
Forge 이슈 작업 브랜치 `forge/iss-d65d495e8095-attempt-2`.
|
||||||
19
docs/architecture/transaction-sequence.md
Normal file
19
docs/architecture/transaction-sequence.md
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
%%%{init: {'themeVariables': {'sequenceDiagramTheme': 'default'}}}%%%
|
||||||
|
|
||||||
|
sequenceDiagram
|
||||||
|
participant User
|
||||||
|
participant PaymentGateway
|
||||||
|
participant Database
|
||||||
|
|
||||||
|
User->>PaymentGateway: Initiate Payment
|
||||||
|
alt Successful Payment
|
||||||
|
PaymentGateway->>Database: Commit Transaction
|
||||||
|
Database-->>PaymentGateway: Confirm Commit
|
||||||
|
PaymentGateway-->>User: Payment Success
|
||||||
|
else External Failure
|
||||||
|
PaymentGateway-->>User: Payment Failure
|
||||||
|
else DB Failure
|
||||||
|
PaymentGateway->>Database: Rollback Transaction
|
||||||
|
Database-->>PaymentGateway: Confirm Rollback
|
||||||
|
PaymentGateway-->>User: Payment Rollback
|
||||||
|
end
|
||||||
Loading…
Add table
Add a link
Reference in a new issue