-
-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into chore/exact-version-deps
- Loading branch information
Showing
68 changed files
with
549 additions
and
340 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
id: Payment | ||
name: Payment | ||
version: 0.0.1 | ||
summary: | | ||
Domain that contains payment related services and messages. | ||
owners: | ||
- dboyne | ||
services: | ||
- id: PaymentService | ||
version: 0.0.1 | ||
badges: | ||
- content: Payment Domain | ||
backgroundColor: blue | ||
textColor: blue | ||
--- | ||
|
||
## Overview | ||
|
||
The Payment Domain encompasses all services and components related to handling financial transactions within the system. It is responsible for managing payments, transactions, billing, and financial records. The domain ensures secure, reliable, and efficient processing of all payment-related activities | ||
|
||
## Bounded context | ||
|
||
<NodeGraph /> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
31 changes: 31 additions & 0 deletions
31
examples/default/domains/Payment/services/PaymentService/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
id: PaymentService | ||
name: Payment Service | ||
version: 0.0.1 | ||
summary: | | ||
Service that handles payments | ||
owners: | ||
- dboyne | ||
receives: | ||
- id: PaymentInitiated | ||
version: 0.0.1 | ||
sends: | ||
- id: PaymentProcessed | ||
version: 0.0.1 | ||
repository: | ||
language: JavaScript | ||
url: https://github.com/boyney123/pretend-shipping-service | ||
--- | ||
|
||
The Payment Service is a crucial component of our system that handles all payment-related operations. It processes payments, manages transactions, and communicates with other services through events. Using an event-driven architecture, it ensures that all actions are asynchronous, decoupled, and scalable. | ||
|
||
<NodeGraph /> | ||
|
||
### Key Components | ||
- Payment API: Exposes endpoints for initiating payments and querying payment status. | ||
- Payment Processor: Handles the core payment processing logic. | ||
- Event Bus: Manages the communication between services using events. | ||
- Payment Gateway: Interfaces with external payment providers. | ||
- Transaction Service: Manages transaction records and states. | ||
- Notification Service: Sends notifications related to payment status changes. | ||
- Database: Stores transaction data and payment status. |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
id: Subscription | ||
name: Subscription | ||
version: 0.0.1 | ||
summary: | | ||
Domain that contains subscription related services and messages. | ||
owners: | ||
- dboyne | ||
services: | ||
- id: SubscriptionService | ||
version: 0.0.1 | ||
badges: | ||
- content: Payment Domain | ||
backgroundColor: blue | ||
textColor: blue | ||
--- | ||
|
||
## Overview | ||
|
||
The Payment Domain encompasses all services and components related to handling financial transactions within the system. It is responsible for managing payments, transactions, billing, and financial records. The domain ensures secure, reliable, and efficient processing of all payment-related activities | ||
|
||
## Bounded context | ||
|
||
<NodeGraph /> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.