From faaa81f9d593f63a70da02d51c03d21a1ec693a2 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 03:44:09 +0000 Subject: [PATCH 1/4] forge: open work branch for SPRING-ARC-SPLIT-1783827796-attempt-2 --- .forge/SPRING-ARC-SPLIT-1783827796-attempt-2.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .forge/SPRING-ARC-SPLIT-1783827796-attempt-2.md diff --git a/.forge/SPRING-ARC-SPLIT-1783827796-attempt-2.md b/.forge/SPRING-ARC-SPLIT-1783827796-attempt-2.md new file mode 100644 index 0000000..32ac475 --- /dev/null +++ b/.forge/SPRING-ARC-SPLIT-1783827796-attempt-2.md @@ -0,0 +1,3 @@ +# SPRING-ARC-SPLIT-1783827796-attempt-2 + +Forge 이슈 작업 브랜치 `forge/SPRING-ARC-SPLIT-1783827796-attempt-2`. From bdfaa3564879439335b34397358dd4b2ae354101 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 03:44:41 +0000 Subject: [PATCH 2/4] =?UTF-8?q?=EA=B2=B0=EC=A0=9C=20=EC=A0=84=ED=99=98=20?= =?UTF-8?q?=EB=AA=A9=ED=91=9C=20=EC=95=84=ED=82=A4=ED=85=8D=EC=B2=98=20?= =?UTF-8?q?=EC=A0=95=EC=9D=98=20(SPRING-ARC-SPLIT-1783827796)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/architecture/adr-payment-boundary.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 docs/architecture/adr-payment-boundary.md diff --git a/docs/architecture/adr-payment-boundary.md b/docs/architecture/adr-payment-boundary.md new file mode 100644 index 0000000..b77ae00 --- /dev/null +++ b/docs/architecture/adr-payment-boundary.md @@ -0,0 +1,15 @@ +# Architecture Decision Record: Payment Boundary + +## Context +결제 시스템의 경계를 정의하여 서비스 간의 의존성을 명확히 하고, 결제 처리의 안정성을 높이기 위함. + +## Decision +결제 서비스는 직접적으로 레포지토리에 접근하지 않고, 도메인 모델을 통해 간접적으로 접근하도록 한다. + +## Alternatives +1. 서비스가 레포지토리에 직접 접근하는 방법 +2. 도메인 모델을 통한 간접 접근 방법 (선택) + +## Consequences +- 서비스와 레포지토리 간의 의존성이 줄어들어 테스트 용이성이 증가함. +- 도메인 모델을 통해 비즈니스 로직이 명확해짐. \ No newline at end of file From 9906b9ecc0197f69aca8fd2886f4500de088a4b9 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 03:44:42 +0000 Subject: [PATCH 3/4] =?UTF-8?q?=EA=B2=B0=EC=A0=9C=20=EC=A0=84=ED=99=98=20?= =?UTF-8?q?=EB=AA=A9=ED=91=9C=20=EC=95=84=ED=82=A4=ED=85=8D=EC=B2=98=20?= =?UTF-8?q?=EC=A0=95=EC=9D=98=20(SPRING-ARC-SPLIT-1783827796)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/architecture/package-map.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 docs/architecture/package-map.md diff --git a/docs/architecture/package-map.md b/docs/architecture/package-map.md new file mode 100644 index 0000000..8aed36e --- /dev/null +++ b/docs/architecture/package-map.md @@ -0,0 +1,7 @@ +| 패키지 | 책임 | 금지 의존성 | +|--------------|--------------------------------------|--------------------| +| controller | 사용자 요청 처리 | service -> repository | +| service | 비즈니스 로직 처리 | repository -> service | +| repository | 데이터 저장 및 조회 | 없음 | +| domain | 도메인 모델 정의 | 없음 | +| integration | 외부 시스템과의 통신 | 없음 | \ No newline at end of file From 14c6732dc7a4d60ec90edf7ff64b769d4209f6cf Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 03:44:43 +0000 Subject: [PATCH 4/4] =?UTF-8?q?=EA=B2=B0=EC=A0=9C=20=EC=A0=84=ED=99=98=20?= =?UTF-8?q?=EB=AA=A9=ED=91=9C=20=EC=95=84=ED=82=A4=ED=85=8D=EC=B2=98=20?= =?UTF-8?q?=EC=A0=95=EC=9D=98=20(SPRING-ARC-SPLIT-1783827796)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/architecture/transaction-sequence.md | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docs/architecture/transaction-sequence.md diff --git a/docs/architecture/transaction-sequence.md b/docs/architecture/transaction-sequence.md new file mode 100644 index 0000000..ef94891 --- /dev/null +++ b/docs/architecture/transaction-sequence.md @@ -0,0 +1,25 @@ +```mermaid +sequenceDiagram + participant User + participant PaymentService + participant DomainModel + participant Repository + + User->>PaymentService: 결제 요청 + PaymentService->>DomainModel: 결제 처리 + DomainModel->>Repository: 데이터 저장 + Repository-->>DomainModel: 저장 성공 + DomainModel-->>PaymentService: 처리 완료 + PaymentService-->>User: 결제 성공 + + alt 외부 실패 + PaymentService-->>User: 결제 실패 + end + + alt DB 실패 + DomainModel->>Repository: 데이터 저장 실패 + Repository-->>DomainModel: 저장 실패 + DomainModel-->>PaymentService: 롤백 + PaymentService-->>User: 결제 실패 + end +``` \ No newline at end of file