Compare commits
No commits in common. "b267f512effa724c14c5324f3ea5a9290830c58e" and "9d4f1cb30f3f5825a771d9fb9f98ad435d31fd64" have entirely different histories.
b267f512ef
...
9d4f1cb30f
2 changed files with 0 additions and 41 deletions
|
|
@ -1,3 +0,0 @@
|
|||
# iss-5a912ed79baf-attempt-3
|
||||
|
||||
Forge 이슈 작업 브랜치 `forge/iss-5a912ed79baf-attempt-3`.
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
```mermaid
|
||||
sequenceDiagram
|
||||
participant User
|
||||
participant PaymentService
|
||||
participant PaymentGateway
|
||||
participant Database
|
||||
|
||||
%% Normal Flow
|
||||
User->>PaymentService: Initiate Payment
|
||||
PaymentService->>Database: Store Transaction
|
||||
Database-->>PaymentService: Transaction Stored
|
||||
PaymentService->>PaymentGateway: Process Payment
|
||||
PaymentGateway-->>PaymentService: Payment Success
|
||||
PaymentService->>Database: Update Transaction Status
|
||||
Database-->>PaymentService: Transaction Updated
|
||||
PaymentService-->>User: Payment Success
|
||||
|
||||
%% External Failure Flow
|
||||
User->>PaymentService: Initiate Payment
|
||||
PaymentService->>Database: Store Transaction
|
||||
Database-->>PaymentService: Transaction Stored
|
||||
PaymentService->>PaymentGateway: Process Payment
|
||||
PaymentGateway-->>PaymentService: Payment Failure
|
||||
PaymentService->>Database: Rollback Transaction
|
||||
Database-->>PaymentService: Transaction Rolled Back
|
||||
PaymentService-->>User: Payment Failure
|
||||
|
||||
%% DB Failure Flow
|
||||
User->>PaymentService: Initiate Payment
|
||||
PaymentService->>Database: Store Transaction
|
||||
Database-->>PaymentService: Transaction Store Failure
|
||||
PaymentService-->>User: Payment Failure
|
||||
|
||||
%% Commit & Rollback
|
||||
Note over User, PaymentService:
|
||||
commit --> PaymentService
|
||||
rollback --> PaymentService
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue