Skip to content

Commit

Permalink
Merge branch 'main' into chore/exact-version-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosallexandre committed Oct 20, 2024
2 parents de4cd43 + 4525464 commit 95bb104
Show file tree
Hide file tree
Showing 68 changed files with 549 additions and 340 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @eventcatalog/core

## 2.9.1

### Patch Changes

- 5fa9228: fix(core): moving rimraf to dep of project

## 2.9.0

### Minor Changes

- 70d27a7: feat(core): support nested folder structures for domains, services and messages

## 2.8.12

### Patch Changes

- e7cb5d7: chore(core): added astro file path to resources

## 2.8.11

### Patch Changes
Expand Down
24 changes: 24 additions & 0 deletions examples/default/domains/Payment/index.md
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 />
31 changes: 31 additions & 0 deletions examples/default/domains/Payment/services/PaymentService/index.md
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.
24 changes: 24 additions & 0 deletions examples/default/domains/Subscriptions/index.md
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 />
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ owners:
receives:
- id: SubscribeUser
version: 0.0.1
- id: CancelSubscription
version: 0.0.1
sends:
- id: UserSubscriptionStarted
- id: UserSubscriptionStarted
version: 0.0.1
- id: UserSubscriptionCancelled
version: 0.0.1
repository:
language: JavaScript
Expand Down
7 changes: 3 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"url": "https://github.com/event-catalog/eventcatalog.git"
},
"type": "module",
"version": "2.8.11",
"version": "2.9.1",
"publishConfig": {
"access": "public"
},
Expand Down Expand Up @@ -79,7 +79,8 @@
"tailwindcss": "3.4.3",
"typescript": "5.4.5",
"unist-util-visit": "5.0.0",
"uuid": "10.0.0"
"uuid": "10.0.0",
"rimraf": "5.0.7"
},
"devDependencies": {
"@changesets/cli": "2.27.5",
Expand All @@ -88,7 +89,6 @@
"@types/react-dom": "18.3.0",
"prettier": "3.3.3",
"prettier-plugin-astro": "0.14.1",
"rimraf": "5.0.7",
"tsup": "8.1.0",
"vite-tsconfig-paths": "4.3.2",
"vitest": "2.0.5"
Expand Down
Loading

0 comments on commit 95bb104

Please sign in to comment.