@eventcatalog/create-eventcatalog 4.1.3 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/dist/index.js +510 -539
  2. package/package.json +9 -6
  3. package/templates/amazon-api-gateway/README-template.md +4 -8
  4. package/templates/amazon-api-gateway/eventcatalog.auth.js +4 -5
  5. package/templates/amazon-api-gateway/eventcatalog.config.js +16 -11
  6. package/templates/amazon-api-gateway/eventcatalog.styles.css +1 -1
  7. package/templates/analytics.ts +8 -8
  8. package/templates/asyncapi/asyncapi-files/messages/user-signed-up.yml +1 -1
  9. package/templates/asyncapi/asyncapi-files/user-service.yml +1 -1
  10. package/templates/asyncapi/eventcatalog.auth.js +4 -5
  11. package/templates/asyncapi/eventcatalog.config.js +16 -9
  12. package/templates/asyncapi/eventcatalog.styles.css +1 -1
  13. package/templates/asyncapi/teams/order-management.mdx +6 -6
  14. package/templates/asyncapi/teams/user-management.mdx +4 -4
  15. package/templates/asyncapi/users/aSmith.mdx +0 -1
  16. package/templates/asyncapi/users/alee.mdx +1 -1
  17. package/templates/asyncapi/users/azhang.mdx +1 -1
  18. package/templates/asyncapi/users/dboyne.mdx +4 -3
  19. package/templates/asyncapi/users/dkim.mdx +1 -1
  20. package/templates/asyncapi/users/jbrown.mdx +1 -1
  21. package/templates/asyncapi/users/mSmith.mdx +2 -2
  22. package/templates/confluent/README-template.md +4 -8
  23. package/templates/confluent/eventcatalog.auth.js +4 -5
  24. package/templates/confluent/eventcatalog.config.js +7 -8
  25. package/templates/confluent/eventcatalog.styles.css +1 -1
  26. package/templates/default/channels/inventory.{env}.events/index.mdx +10 -8
  27. package/templates/default/channels/orders.{env}.events/index.mdx +5 -3
  28. package/templates/default/channels/payment.{env}.events/index.mdx +14 -13
  29. package/templates/default/domains/E-Commerce/index.mdx +32 -20
  30. package/templates/default/domains/E-Commerce/ubiquitous-language.mdx +9 -9
  31. package/templates/default/domains/Orders/changelog.mdx +1 -1
  32. package/templates/default/domains/Orders/entities/CartItem/index.mdx +15 -14
  33. package/templates/default/domains/Orders/entities/Customer/index.mdx +5 -5
  34. package/templates/default/domains/Orders/entities/Order/index.mdx +9 -9
  35. package/templates/default/domains/Orders/entities/OrderItem/index.mdx +6 -5
  36. package/templates/default/domains/Orders/entities/ShoppingCart/index.mdx +16 -15
  37. package/templates/default/domains/Orders/index.mdx +22 -7
  38. package/templates/default/domains/Orders/services/InventoryService/changelog.mdx +1 -1
  39. package/templates/default/domains/Orders/services/InventoryService/commands/AddInventory/index.mdx +2 -5
  40. package/templates/default/domains/Orders/services/InventoryService/commands/AddInventory/schema.json +26 -27
  41. package/templates/default/domains/Orders/services/InventoryService/commands/PlaceOrder/index.mdx +10 -12
  42. package/templates/default/domains/Orders/services/InventoryService/commands/UpdateInventory/index.mdx +1 -1
  43. package/templates/default/domains/Orders/services/InventoryService/commands/UpdateInventory/schema.json +26 -27
  44. package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/changelog.mdx +3 -4
  45. package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/index.mdx +14 -4
  46. package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/versioned/0.0.1/changelog.mdx +3 -7
  47. package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/versioned/0.0.1/index.mdx +8 -5
  48. package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/versioned/1.0.0/changelog.mdx +11 -11
  49. package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/versioned/1.0.0/index.mdx +15 -12
  50. package/templates/default/domains/Orders/services/InventoryService/events/OutOfStock/index.mdx +1 -0
  51. package/templates/default/domains/Orders/services/InventoryService/events/OutOfStock/versioned/0.0.1/index.mdx +13 -12
  52. package/templates/default/domains/Orders/services/InventoryService/index.mdx +40 -21
  53. package/templates/default/domains/Orders/services/InventoryService/queries/GetInventoryList/index.mdx +5 -5
  54. package/templates/default/domains/Orders/services/InventoryService/queries/GetInventoryList/schema.json +48 -49
  55. package/templates/default/domains/Orders/services/InventoryService/queries/GetInventoryStatus/index.mdx +6 -7
  56. package/templates/default/domains/Orders/services/InventoryService/queries/GetInventoryStatus/schema.json +25 -26
  57. package/templates/default/domains/Orders/services/NotificationService/index.mdx +29 -10
  58. package/templates/default/domains/Orders/services/NotificationService/queries/GetNotificationDetails/index.mdx +4 -4
  59. package/templates/default/domains/Orders/services/NotificationService/queries/GetNotificationDetails/schema.json +0 -1
  60. package/templates/default/domains/Orders/services/NotificationService/queries/GetUserNotifications/index.mdx +4 -5
  61. package/templates/default/domains/Orders/services/NotificationService/queries/GetUserNotifications/schema.json +43 -44
  62. package/templates/default/domains/Orders/services/OrdersService/changelog.mdx +1 -1
  63. package/templates/default/domains/Orders/services/OrdersService/events/OrderAmended/schema.json +66 -67
  64. package/templates/default/domains/Orders/services/OrdersService/events/OrderCancelled/index.mdx +1 -2
  65. package/templates/default/domains/Orders/services/OrdersService/events/OrderCancelled/schema.json +67 -68
  66. package/templates/default/domains/Orders/services/OrdersService/events/OrderConfirmed/index.mdx +1 -1
  67. package/templates/default/domains/Orders/services/OrdersService/events/OrderConfirmed/schema.json +62 -63
  68. package/templates/default/domains/Orders/services/OrdersService/index.mdx +26 -6
  69. package/templates/default/domains/Orders/services/OrdersService/openapi.yml +3 -3
  70. package/templates/default/domains/Orders/services/OrdersService/order-service-asyncapi.yaml +11 -11
  71. package/templates/default/domains/Orders/services/OrdersService/queries/GetOrder/index.mdx +5 -5
  72. package/templates/default/domains/Orders/services/OrdersService/versioned/0.0.2/changelog.mdx +1 -1
  73. package/templates/default/domains/Orders/services/OrdersService/versioned/0.0.2/index.mdx +1 -1
  74. package/templates/default/domains/Orders/services/OrdersService/versioned/0.0.2/openapi.yml +1 -1
  75. package/templates/default/domains/Orders/services/OrdersService/versioned/0.0.2/order-service-asyncapi.yaml +11 -11
  76. package/templates/default/domains/Orders/services/ShippingService/commands/CancelShipment/index.mdx +1 -2
  77. package/templates/default/domains/Orders/services/ShippingService/commands/CancelShipment/schema.json +12 -12
  78. package/templates/default/domains/Orders/services/ShippingService/commands/CreateReturnLabel/index.mdx +2 -2
  79. package/templates/default/domains/Orders/services/ShippingService/commands/CreateReturnLabel/schema.json +17 -17
  80. package/templates/default/domains/Orders/services/ShippingService/commands/CreateShipment/index.mdx +2 -2
  81. package/templates/default/domains/Orders/services/ShippingService/commands/UpdateShipmentStatus/index.mdx +2 -2
  82. package/templates/default/domains/Orders/services/ShippingService/commands/UpdateShipmentStatus/schema.json +26 -26
  83. package/templates/default/domains/Orders/services/ShippingService/events/DeliveryFailed/index.mdx +2 -2
  84. package/templates/default/domains/Orders/services/ShippingService/events/DeliveryFailed/schema.json +15 -15
  85. package/templates/default/domains/Orders/services/ShippingService/events/ReturnInitiated/index.mdx +2 -2
  86. package/templates/default/domains/Orders/services/ShippingService/events/ReturnInitiated/schema.json +15 -15
  87. package/templates/default/domains/Orders/services/ShippingService/events/ShipmentCreated/index.mdx +2 -2
  88. package/templates/default/domains/Orders/services/ShippingService/events/ShipmentCreated/schema.json +0 -1
  89. package/templates/default/domains/Orders/services/ShippingService/events/ShipmentDelivered/index.mdx +2 -2
  90. package/templates/default/domains/Orders/services/ShippingService/events/ShipmentDelivered/schema.json +15 -15
  91. package/templates/default/domains/Orders/services/ShippingService/events/ShipmentDispatched/index.mdx +2 -2
  92. package/templates/default/domains/Orders/services/ShippingService/events/ShipmentDispatched/schema.json +15 -15
  93. package/templates/default/domains/Orders/services/ShippingService/events/ShipmentInTransit/index.mdx +2 -2
  94. package/templates/default/domains/Orders/services/ShippingService/events/ShipmentInTransit/schema.json +15 -15
  95. package/templates/default/domains/Orders/services/ShippingService/index.mdx +14 -5
  96. package/templates/default/domains/Orders/ubiquitous-language.mdx +10 -10
  97. package/templates/default/domains/Orders/versioned/0.0.1/index.mdx +7 -7
  98. package/templates/default/domains/Orders/versioned/0.0.2/index.mdx +3 -3
  99. package/templates/default/domains/Payment/entities/Address/index.mdx +17 -16
  100. package/templates/default/domains/Payment/entities/Invoice/index.mdx +8 -7
  101. package/templates/default/domains/Payment/entities/Payment/index.mdx +15 -14
  102. package/templates/default/domains/Payment/entities/PaymentMethod/index.mdx +8 -7
  103. package/templates/default/domains/Payment/entities/Transaction/index.mdx +6 -5
  104. package/templates/default/domains/Payment/flows/PaymentProcessed/index.mdx +71 -70
  105. package/templates/default/domains/Payment/index.mdx +10 -10
  106. package/templates/default/domains/Payment/services/FraudDetectionService/events/FraudCheckCompleted/index.mdx +2 -2
  107. package/templates/default/domains/Payment/services/FraudDetectionService/events/FraudCheckCompleted/schema.json +1 -1
  108. package/templates/default/domains/Payment/services/FraudDetectionService/index.mdx +3 -2
  109. package/templates/default/domains/Payment/services/PaymentGatewayService/commands/ProcessPayment/index.mdx +4 -3
  110. package/templates/default/domains/Payment/services/PaymentGatewayService/commands/ProcessPayment/schema.json +1 -1
  111. package/templates/default/domains/Payment/services/PaymentGatewayService/events/PaymentFailed/index.mdx +4 -2
  112. package/templates/default/domains/Payment/services/PaymentGatewayService/events/PaymentFailed/schema.json +1 -1
  113. package/templates/default/domains/Payment/services/PaymentGatewayService/index.mdx +3 -2
  114. package/templates/default/domains/Payment/services/PaymentService/events/PaymentInitiated/index.mdx +1 -1
  115. package/templates/default/domains/Payment/services/PaymentService/events/PaymentProcessed/index.mdx +1 -1
  116. package/templates/default/domains/Payment/services/PaymentService/events/PaymentProcessed/versioned/0.0.1/index.mdx +3 -3
  117. package/templates/default/domains/Payment/services/PaymentService/index.mdx +1 -0
  118. package/templates/default/domains/Payment/services/PaymentService/queries/GetPaymentStatus/index.mdx +5 -5
  119. package/templates/default/domains/Payment/services/PaymentService/queries/GetPaymentStatus/schema.json +0 -1
  120. package/templates/default/domains/Payment/ubiquitous-language.mdx +8 -8
  121. package/templates/default/domains/ProductCatalog/entities/Category/index.mdx +10 -9
  122. package/templates/default/domains/ProductCatalog/entities/Inventory/index.mdx +15 -14
  123. package/templates/default/domains/ProductCatalog/entities/Product/index.mdx +11 -10
  124. package/templates/default/domains/ProductCatalog/entities/Review/index.mdx +15 -14
  125. package/templates/default/domains/ProductCatalog/index.mdx +8 -6
  126. package/templates/default/domains/ProductCatalog/ubiquitous-language.mdx +10 -10
  127. package/templates/default/domains/Subscriptions/entities/BillingProfile/index.mdx +8 -7
  128. package/templates/default/domains/Subscriptions/entities/SubscriptionPeriod/index.mdx +8 -7
  129. package/templates/default/domains/Subscriptions/flows/CancelSubscription/SubscriptionRenewed/index.mdx +207 -208
  130. package/templates/default/domains/Subscriptions/flows/CancelSubscription/index.mdx +48 -49
  131. package/templates/default/domains/Subscriptions/flows/CancelSubscription/versioned/0.0.1/index.mdx +36 -36
  132. package/templates/default/domains/Subscriptions/index.mdx +10 -10
  133. package/templates/default/domains/Subscriptions/services/BillingService/events/SubscriptionPaymentDue/index.mdx +3 -2
  134. package/templates/default/domains/Subscriptions/services/BillingService/events/SubscriptionPaymentDue/schema.json +1 -1
  135. package/templates/default/domains/Subscriptions/services/BillingService/index.mdx +2 -1
  136. package/templates/default/domains/Subscriptions/services/PlanManagementService/index.mdx +6 -2
  137. package/templates/default/domains/Subscriptions/services/SubscriptionService/commands/CancelSubscription/index.mdx +5 -5
  138. package/templates/default/domains/Subscriptions/services/SubscriptionService/commands/SubscribeUser/index.mdx +5 -5
  139. package/templates/default/domains/Subscriptions/services/SubscriptionService/events/UserSubscriptionCancelled/index.mdx +5 -5
  140. package/templates/default/domains/Subscriptions/services/SubscriptionService/events/UserSubscriptionStarted/index.mdx +5 -5
  141. package/templates/default/domains/Subscriptions/services/SubscriptionService/index.mdx +30 -10
  142. package/templates/default/domains/Subscriptions/services/SubscriptionService/queries/GetSubscriptionStatus/index.mdx +5 -5
  143. package/templates/default/domains/Subscriptions/services/SubscriptionService/queries/GetSubscriptionStatus/schema.json +10 -2
  144. package/templates/default/domains/Subscriptions/services/SubscriptionService/queries/GetSubscriptionStatus/versioned/0.0.1/index.mdx +5 -5
  145. package/templates/default/domains/Subscriptions/services/SubscriptionService/queries/GetSubscriptionStatus/versioned/0.0.1/schema.json +10 -2
  146. package/templates/default/domains/Subscriptions/ubiquitous-language.mdx +9 -9
  147. package/templates/default/eventcatalog.auth.js +4 -5
  148. package/templates/default/eventcatalog.config.js +6 -8
  149. package/templates/default/eventcatalog.styles.css +1 -1
  150. package/templates/default/teams/full-stack.mdx +4 -4
  151. package/templates/default/teams/mobile-devs.mdx +4 -2
  152. package/templates/default/users/aSmith.mdx +0 -1
  153. package/templates/default/users/dboyne.mdx +4 -3
  154. package/templates/default/users/mSmith.mdx +2 -2
  155. package/templates/empty/eventcatalog.auth.js +4 -5
  156. package/templates/empty/eventcatalog.config.js +6 -7
  157. package/templates/empty/eventcatalog.styles.css +1 -1
  158. package/templates/eventbridge/README-template.md +4 -8
  159. package/templates/eventbridge/eventcatalog.auth.js +4 -5
  160. package/templates/eventbridge/eventcatalog.config.js +7 -8
  161. package/templates/eventbridge/eventcatalog.styles.css +1 -1
  162. package/templates/graphql/eventcatalog.auth.js +4 -5
  163. package/templates/graphql/eventcatalog.config.js +29 -20
  164. package/templates/graphql/eventcatalog.styles.css +1 -1
  165. package/templates/graphql/teams/order-management.mdx +6 -6
  166. package/templates/graphql/teams/payment-management.mdx +4 -4
  167. package/templates/graphql/teams/product-management.mdx +4 -4
  168. package/templates/graphql/users/aSmith.mdx +0 -1
  169. package/templates/graphql/users/alee.mdx +1 -1
  170. package/templates/graphql/users/azhang.mdx +1 -1
  171. package/templates/graphql/users/dboyne.mdx +4 -3
  172. package/templates/graphql/users/dkim.mdx +1 -1
  173. package/templates/graphql/users/jbrown.mdx +1 -1
  174. package/templates/graphql/users/mSmith.mdx +2 -2
  175. package/templates/index.ts +49 -59
  176. package/templates/openapi/eventcatalog.auth.js +4 -5
  177. package/templates/openapi/eventcatalog.config.js +33 -26
  178. package/templates/openapi/eventcatalog.styles.css +1 -1
  179. package/templates/openapi/teams/order-management.mdx +6 -6
  180. package/templates/openapi/teams/payment-management.mdx +4 -4
  181. package/templates/openapi/teams/product-management.mdx +4 -4
  182. package/templates/openapi/users/aSmith.mdx +0 -1
  183. package/templates/openapi/users/alee.mdx +1 -1
  184. package/templates/openapi/users/azhang.mdx +1 -1
  185. package/templates/openapi/users/dboyne.mdx +4 -3
  186. package/templates/openapi/users/dkim.mdx +1 -1
  187. package/templates/openapi/users/jbrown.mdx +1 -1
  188. package/templates/openapi/users/mSmith.mdx +2 -2
  189. package/templates/types.ts +12 -3
@@ -1,51 +1,51 @@
1
1
  ---
2
- id: "CancelSubscription"
3
- name: "User Cancels Subscription"
4
- version: "0.0.1"
5
- summary: "Flow for when a user has cancelled a subscription"
2
+ id: 'CancelSubscription'
3
+ name: 'User Cancels Subscription'
4
+ version: '0.0.1'
5
+ summary: 'Flow for when a user has cancelled a subscription'
6
6
  owners:
7
7
  - dboyne
8
8
  steps:
9
- - id: "cancel_subscription_initiated"
10
- title: "Cancels Subscription"
11
- summary: "User cancels their subscription"
9
+ - id: 'cancel_subscription_initiated'
10
+ title: 'Cancels Subscription'
11
+ summary: 'User cancels their subscription'
12
12
  actor:
13
- name: "User"
14
- next_step:
15
- id: "cancel_subscription_request"
16
- label: "Initiate subscription cancellation"
13
+ name: 'User'
14
+ next_step:
15
+ id: 'cancel_subscription_request'
16
+ label: 'Initiate subscription cancellation'
17
17
 
18
- - id: "cancel_subscription_request"
19
- title: "Cancel Subscription"
18
+ - id: 'cancel_subscription_request'
19
+ title: 'Cancel Subscription'
20
20
  message:
21
- id: "CancelSubscription"
22
- version: "0.0.1"
23
- next_step:
24
- id: "subscription_service"
25
- label: "Proceed to subscription service"
21
+ id: 'CancelSubscription'
22
+ version: '0.0.1'
23
+ next_step:
24
+ id: 'subscription_service'
25
+ label: 'Proceed to subscription service'
26
26
 
27
- - id: "stripe_integration"
28
- title: "Stripe"
27
+ - id: 'stripe_integration'
28
+ title: 'Stripe'
29
29
  externalSystem:
30
- name: "Stripe"
31
- summary: "3rd party payment system"
32
- url: "https://stripe.com/"
33
- next_step:
34
- id: "subscription_service"
35
- label: "Return to subscription service"
30
+ name: 'Stripe'
31
+ summary: '3rd party payment system'
32
+ url: 'https://stripe.com/'
33
+ next_step:
34
+ id: 'subscription_service'
35
+ label: 'Return to subscription service'
36
36
 
37
- - id: "subscription_service"
38
- title: "Subscription Service"
37
+ - id: 'subscription_service'
38
+ title: 'Subscription Service'
39
39
  service:
40
- id: "SubscriptionService"
41
- version: "0.0.1"
40
+ id: 'SubscriptionService'
41
+ version: '0.0.1'
42
42
  next_steps:
43
- - id: "stripe_integration"
44
- label: "Cancel subscription via Stripe"
45
- - id: "subscription_cancelled"
46
- label: "Successful cancellation"
47
- - id: "subscription_rejected"
48
- label: "Failed cancellation"
43
+ - id: 'stripe_integration'
44
+ label: 'Cancel subscription via Stripe'
45
+ - id: 'subscription_cancelled'
46
+ label: 'Successful cancellation'
47
+ - id: 'subscription_rejected'
48
+ label: 'Failed cancellation'
49
49
  ---
50
50
 
51
51
  <NodeGraph />
@@ -5,19 +5,19 @@ version: 0.0.1
5
5
  summary: |
6
6
  Domain that contains subscription related services and messages.
7
7
  owners:
8
- - dboyne
8
+ - dboyne
9
9
  services:
10
- - id: BillingService
11
- version: 0.0.1
12
- - id: PlanManagementService
13
- version: 0.0.1
10
+ - id: BillingService
11
+ version: 0.0.1
12
+ - id: PlanManagementService
13
+ version: 0.0.1
14
14
  entities:
15
- - id: BillingProfile
16
- - id: SubscriptionPeriod
15
+ - id: BillingProfile
16
+ - id: SubscriptionPeriod
17
17
  badges:
18
- - content: Payment Domain
19
- backgroundColor: blue
20
- textColor: blue
18
+ - content: Payment Domain
19
+ backgroundColor: blue
20
+ textColor: blue
21
21
  ---
22
22
 
23
23
  ## Overview
@@ -16,7 +16,7 @@ badges:
16
16
  schemaPath: schema.json
17
17
  ---
18
18
 
19
- import Footer from '@catalog/components/footer.astro'
19
+ import Footer from '@catalog/components/footer.astro';
20
20
 
21
21
  ## Overview
22
22
 
@@ -25,6 +25,7 @@ The `SubscriptionPaymentDue` event is emitted by the Billing Service when a subs
25
25
  ## Cross-Domain Communication
26
26
 
27
27
  This event facilitates communication between:
28
+
28
29
  - **Source**: Subscriptions Domain (BillingService)
29
30
  - **Target**: Payment Domain (PaymentService, FraudDetectionService)
30
31
 
@@ -59,4 +60,4 @@ This event facilitates communication between:
59
60
  }
60
61
  ```
61
62
 
62
- <Footer />
63
+ <Footer />
@@ -51,4 +51,4 @@
51
51
  }
52
52
  },
53
53
  "required": ["subscriptionId", "customerId", "invoiceId", "amount", "currency", "dueDate"]
54
- }
54
+ }
@@ -27,7 +27,7 @@ owners:
27
27
  - dboyne
28
28
  ---
29
29
 
30
- import Footer from '@catalog/components/footer.astro'
30
+ import Footer from '@catalog/components/footer.astro';
31
31
 
32
32
  ## Overview
33
33
 
@@ -44,6 +44,7 @@ The Billing Service is responsible for managing all billing-related operations f
44
44
  ## API Endpoints
45
45
 
46
46
  ### REST API
47
+
47
48
  - `GET /api/billing/invoice/{subscriptionId}` - Get current invoice
48
49
  - `GET /api/billing/history/{subscriptionId}` - Get billing history
49
50
  - `POST /api/billing/preview` - Preview upcoming charges
@@ -15,7 +15,7 @@ owners:
15
15
  - dboyne
16
16
  ---
17
17
 
18
- import Footer from '@catalog/components/footer.astro'
18
+ import Footer from '@catalog/components/footer.astro';
19
19
 
20
20
  ## Overview
21
21
 
@@ -32,17 +32,20 @@ The Plan Management Service handles the definition and management of subscriptio
32
32
  ## Supported Plan Types
33
33
 
34
34
  ### Basic Plan
35
+
35
36
  - Essential features
36
37
  - Limited usage quotas
37
38
  - Email support
38
39
 
39
40
  ### Professional Plan
41
+
40
42
  - All Basic features
41
43
  - Higher usage quotas
42
44
  - Priority support
43
45
  - Advanced analytics
44
46
 
45
47
  ### Enterprise Plan
48
+
46
49
  - All Professional features
47
50
  - Unlimited usage
48
51
  - Dedicated support
@@ -52,6 +55,7 @@ The Plan Management Service handles the definition and management of subscriptio
52
55
  ## API Endpoints
53
56
 
54
57
  ### REST API
58
+
55
59
  - `GET /api/plans` - List all available plans
56
60
  - `GET /api/plans/{planId}` - Get plan details
57
61
  - `POST /api/plans` - Create new plan
@@ -76,4 +80,4 @@ The Plan Management Service handles the definition and management of subscriptio
76
80
  }
77
81
  ```
78
82
 
79
- <Footer />
83
+ <Footer />
@@ -6,11 +6,11 @@ schemaPath: schema.json
6
6
  summary: |
7
7
  Command that will try and cancel a users subscription
8
8
  owners:
9
- - dboyne
9
+ - dboyne
10
10
  badges:
11
- - content: New!
12
- backgroundColor: green
13
- textColor: green
11
+ - content: New!
12
+ backgroundColor: green
13
+ textColor: green
14
14
  ---
15
15
 
16
16
  import Footer from '@catalog/components/footer.astro';
@@ -23,4 +23,4 @@ The `CancelSubscription` command will try and cancel a subscription for the user
23
23
 
24
24
  <NodeGraph />
25
25
 
26
- <Footer />
26
+ <Footer />
@@ -6,11 +6,11 @@ schemaPath: schema.json
6
6
  summary: |
7
7
  Command that will try and subscribe a given user
8
8
  owners:
9
- - dboyne
9
+ - dboyne
10
10
  badges:
11
- - content: New!
12
- backgroundColor: green
13
- textColor: green
11
+ - content: New!
12
+ backgroundColor: green
13
+ textColor: green
14
14
  ---
15
15
 
16
16
  import Footer from '@catalog/components/footer.astro';
@@ -23,4 +23,4 @@ The `SubscribeUser` command represents when a new user wants to subscribe to our
23
23
 
24
24
  <NodeGraph />
25
25
 
26
- <Footer />
26
+ <Footer />
@@ -6,11 +6,11 @@ schemaPath: schema.json
6
6
  summary: |
7
7
  An event that is triggered when a users subscription has been cancelled
8
8
  owners:
9
- - dboyne
9
+ - dboyne
10
10
  badges:
11
- - content: New!
12
- backgroundColor: green
13
- textColor: green
11
+ - content: New!
12
+ backgroundColor: green
13
+ textColor: green
14
14
  ---
15
15
 
16
16
  import Footer from '@catalog/components/footer.astro';
@@ -23,4 +23,4 @@ The `UserSubscriptionCancelled` event is triggered when a users subscription has
23
23
 
24
24
  <NodeGraph />
25
25
 
26
- <Footer />
26
+ <Footer />
@@ -6,11 +6,11 @@ schemaPath: schema.json
6
6
  summary: |
7
7
  An event that is triggered when a new user subscription has started
8
8
  owners:
9
- - dboyne
9
+ - dboyne
10
10
  badges:
11
- - content: New!
12
- backgroundColor: green
13
- textColor: green
11
+ - content: New!
12
+ backgroundColor: green
13
+ textColor: green
14
14
  ---
15
15
 
16
16
  import Footer from '@catalog/components/footer.astro';
@@ -23,4 +23,4 @@ The `UserSubscriptionStarted` event is triggered when a user starts a new subscr
23
23
 
24
24
  <NodeGraph />
25
25
 
26
- <Footer />
26
+ <Footer />
@@ -5,17 +5,17 @@ name: Subscription Service
5
5
  summary: |
6
6
  Service that handles subscriptions
7
7
  owners:
8
- - dboyne
8
+ - dboyne
9
9
  receives:
10
10
  - id: SubscribeUser
11
11
  version: 0.0.1
12
12
  - id: CancelSubscription
13
13
  version: 0.0.1
14
- - id: GetSubscriptionStatus
14
+ - id: GetSubscriptionStatus
15
15
  sends:
16
16
  - id: UserSubscriptionStarted
17
17
  version: 0.0.1
18
- - id: UserSubscriptionCancelled
18
+ - id: UserSubscriptionCancelled
19
19
  version: 0.0.1
20
20
  repository:
21
21
  language: JavaScript
@@ -28,15 +28,35 @@ import Footer from '@catalog/components/footer.astro';
28
28
 
29
29
  The subscription Service is responsible for handling customer subscriptions in our system. It handles new subscriptions, cancelling subscriptions and updating them.
30
30
 
31
- <Tiles >
32
- <Tile icon="DocumentIcon" href={`/docs/services/${frontmatter.id}/${frontmatter.version}/changelog`} title="View the changelog" description="Want to know the history of this service? View the change logs" />
33
- <Tile icon="UserGroupIcon" href="/docs/teams/full-stack" title="Contact the team" description="Any questions? Feel free to contact the owners" />
34
- <Tile icon="BoltIcon" href={`/visualiser/services/${frontmatter.id}/${frontmatter.version}`} title={`Sends ${frontmatter.sends.length} messages`} description="This service sends messages to downstream consumers" />
35
- <Tile icon="BoltIcon" href={`/visualiser/services/${frontmatter.id}/${frontmatter.version}`} title={`Receives ${frontmatter.receives.length} messages`} description="This service receives messages from other services" />
31
+ <Tiles>
32
+ <Tile
33
+ icon="DocumentIcon"
34
+ href={`/docs/services/${frontmatter.id}/${frontmatter.version}/changelog`}
35
+ title="View the changelog"
36
+ description="Want to know the history of this service? View the change logs"
37
+ />
38
+ <Tile
39
+ icon="UserGroupIcon"
40
+ href="/docs/teams/full-stack"
41
+ title="Contact the team"
42
+ description="Any questions? Feel free to contact the owners"
43
+ />
44
+ <Tile
45
+ icon="BoltIcon"
46
+ href={`/visualiser/services/${frontmatter.id}/${frontmatter.version}`}
47
+ title={`Sends ${frontmatter.sends.length} messages`}
48
+ description="This service sends messages to downstream consumers"
49
+ />
50
+ <Tile
51
+ icon="BoltIcon"
52
+ href={`/visualiser/services/${frontmatter.id}/${frontmatter.version}`}
53
+ title={`Receives ${frontmatter.receives.length} messages`}
54
+ description="This service receives messages from other services"
55
+ />
36
56
  </Tiles>
37
57
 
38
- ## Architecture diagram
58
+ ## Architecture diagram
39
59
 
40
60
  <NodeGraph />
41
61
 
42
- <Footer />
62
+ <Footer />
@@ -5,11 +5,11 @@ version: 0.0.2
5
5
  summary: |
6
6
  GET request that will return the current subscription status for a specific user, identified by their userId.
7
7
  owners:
8
- - dboyne
8
+ - dboyne
9
9
  badges:
10
- - content: Recently updated!
11
- backgroundColor: green
12
- textColor: green
10
+ - content: Recently updated!
11
+ backgroundColor: green
12
+ textColor: green
13
13
  schemaPath: schema.json
14
14
  ---
15
15
 
@@ -23,4 +23,4 @@ This query is particularly useful in managing subscriptions for SaaS products, m
23
23
 
24
24
  <NodeGraph />
25
25
 
26
- <SchemaViewer file="schema.json" title="JSON Schema" maxHeight="500" />
26
+ <SchemaViewer file="schema.json" title="JSON Schema" maxHeight="500" />
@@ -1,4 +1,3 @@
1
-
2
1
  {
3
2
  "$schema": "http://json-schema.org/draft-07/schema#",
4
3
  "title": "GetSubscriptionStatusResponse",
@@ -41,6 +40,15 @@
41
40
  "description": "The date and time when the last payment was processed."
42
41
  }
43
42
  },
44
- "required": ["userId", "subscriptionStatus", "subscriptionPlan", "nextBillingDate", "billingFrequency", "amount", "currency", "lastPaymentDate"],
43
+ "required": [
44
+ "userId",
45
+ "subscriptionStatus",
46
+ "subscriptionPlan",
47
+ "nextBillingDate",
48
+ "billingFrequency",
49
+ "amount",
50
+ "currency",
51
+ "lastPaymentDate"
52
+ ],
45
53
  "additionalProperties": false
46
54
  }
@@ -5,11 +5,11 @@ version: 0.0.1
5
5
  summary: |
6
6
  GET request that will return the current subscription status for a specific user, identified by their userId.
7
7
  owners:
8
- - dboyne
8
+ - dboyne
9
9
  badges:
10
- - content: Recently updated!
11
- backgroundColor: green
12
- textColor: green
10
+ - content: Recently updated!
11
+ backgroundColor: green
12
+ textColor: green
13
13
  schemaPath: schema.json
14
14
  ---
15
15
 
@@ -23,4 +23,4 @@ This query is particularly useful in managing subscriptions for SaaS products, m
23
23
 
24
24
  <NodeGraph />
25
25
 
26
- <SchemaViewer file="schema.json" title="JSON Schema" maxHeight="500" />
26
+ <SchemaViewer file="schema.json" title="JSON Schema" maxHeight="500" />
@@ -1,4 +1,3 @@
1
-
2
1
  {
3
2
  "$schema": "http://json-schema.org/draft-07/schema#",
4
3
  "title": "GetSubscriptionStatusResponse",
@@ -41,6 +40,15 @@
41
40
  "description": "The date and time when the last payment was processed."
42
41
  }
43
42
  },
44
- "required": ["userId", "subscriptionStatus", "subscriptionPlan", "nextBillingDate", "billingFrequency", "amount", "currency", "lastPaymentDate"],
43
+ "required": [
44
+ "userId",
45
+ "subscriptionStatus",
46
+ "subscriptionPlan",
47
+ "nextBillingDate",
48
+ "billingFrequency",
49
+ "amount",
50
+ "currency",
51
+ "lastPaymentDate"
52
+ ],
45
53
  "additionalProperties": false
46
54
  }
@@ -2,7 +2,7 @@
2
2
  dictionary:
3
3
  - id: Subscription
4
4
  name: Subscription
5
- summary: "A recurring agreement where a customer pays for access to a product or service at regular intervals."
5
+ summary: 'A recurring agreement where a customer pays for access to a product or service at regular intervals.'
6
6
  description: |
7
7
  A subscription represents an ongoing relationship between customer and provider. Key aspects include:
8
8
 
@@ -16,7 +16,7 @@ dictionary:
16
16
  icon: Repeat
17
17
  - id: Billing Cycle
18
18
  name: Billing Cycle
19
- summary: "The recurring period for which a subscription is billed."
19
+ summary: 'The recurring period for which a subscription is billed.'
20
20
  description: |
21
21
  Billing cycles define when payments are collected and services are provided. They include:
22
22
 
@@ -30,7 +30,7 @@ dictionary:
30
30
  icon: Calendar
31
31
  - id: Plan
32
32
  name: Plan
33
- summary: "A specific subscription offering with defined features, pricing, and terms."
33
+ summary: 'A specific subscription offering with defined features, pricing, and terms.'
34
34
  description: |
35
35
  Subscription plans define the service levels available to customers. They specify:
36
36
 
@@ -44,7 +44,7 @@ dictionary:
44
44
  icon: Layout
45
45
  - id: Trial Period
46
46
  name: Trial Period
47
- summary: "A promotional period allowing customers to test a subscription service before committing."
47
+ summary: 'A promotional period allowing customers to test a subscription service before committing.'
48
48
  description: |
49
49
  Trial periods help customers evaluate the service risk-free. They include:
50
50
 
@@ -58,7 +58,7 @@ dictionary:
58
58
  icon: Clock
59
59
  - id: Auto-Renewal
60
60
  name: Auto-Renewal
61
- summary: "Automatic continuation of a subscription at the end of each billing period."
61
+ summary: 'Automatic continuation of a subscription at the end of each billing period.'
62
62
  description: |
63
63
  Auto-renewal ensures service continuity for customers. The process includes:
64
64
 
@@ -72,7 +72,7 @@ dictionary:
72
72
  icon: RefreshCw
73
73
  - id: Upgrade
74
74
  name: Upgrade
75
- summary: "The process of moving to a higher-tier subscription plan."
75
+ summary: 'The process of moving to a higher-tier subscription plan.'
76
76
  description: |
77
77
  Upgrades allow customers to access more features or capacity. This involves:
78
78
 
@@ -86,7 +86,7 @@ dictionary:
86
86
  icon: ArrowUpCircle
87
87
  - id: Downgrade
88
88
  name: Downgrade
89
- summary: "The process of moving to a lower-tier subscription plan."
89
+ summary: 'The process of moving to a lower-tier subscription plan.'
90
90
  description: |
91
91
  Downgrades adjust service levels to match customer needs. This includes:
92
92
 
@@ -100,7 +100,7 @@ dictionary:
100
100
  icon: ArrowDownCircle
101
101
  - id: Cancellation
102
102
  name: Cancellation
103
- summary: "The termination of a subscription service."
103
+ summary: 'The termination of a subscription service.'
104
104
  description: |
105
105
  Cancellation processes handle the end of subscription relationships. They cover:
106
106
 
@@ -114,7 +114,7 @@ dictionary:
114
114
  icon: XCircle
115
115
  - id: Usage Limit
116
116
  name: Usage Limit
117
- summary: "Restrictions on service usage within a subscription plan."
117
+ summary: 'Restrictions on service usage within a subscription plan.'
118
118
  description: |
119
119
  Usage limits define the boundaries of service consumption. They include:
120
120
 
@@ -1,13 +1,12 @@
1
-
2
1
  /**
3
2
  * This is an optional file that can add authentication to your EventCatalog.
4
- *
3
+ *
5
4
  * To enable authentication you need to set `server:output` in your `eventcatalog.config.js` file.
6
5
  * And then pick which provider you want to use.
7
- *
6
+ *
8
7
  * You can read more in the documentation:
9
8
  * https://www.eventcatalog.dev/docs/development/guides/authentication/introduction
10
- *
9
+ *
11
10
  */
12
11
 
13
12
  // export default {
@@ -42,4 +41,4 @@
42
41
  // issuer: process.env.AUTH_OKTA_ISSUER,
43
42
  // },
44
43
  // },
45
- // }
44
+ // }
@@ -1,7 +1,8 @@
1
1
  /** @type {import('@eventcatalog/core/bin/eventcatalog.config').Config} */
2
2
  export default {
3
3
  title: 'EventCatalog',
4
- tagline: 'This internal platform provides a comprehensive view of our event-driven architecture across all systems. Use this portal to discover existing domains, explore services and their dependencies, and understand the message contracts that connect our infrastructure',
4
+ tagline:
5
+ 'This internal platform provides a comprehensive view of our event-driven architecture across all systems. Use this portal to discover existing domains, explore services and their dependencies, and understand the message contracts that connect our infrastructure',
5
6
  organizationName: '<organizationName>',
6
7
  homepageLink: 'https://eventcatalog.dev/',
7
8
  editUrl: 'https://github.com/boyney123/eventcatalog-demo/edit/master',
@@ -16,16 +17,13 @@ export default {
16
17
  // Customize the navigation for your docs sidebar.
17
18
  // read more at https://eventcatalog.dev/docs/development/customization/customize-sidebars/documentation-sidebar
18
19
  navigation: {
19
- pages: [
20
- 'list:top-level-domains',
21
- 'list:all',
22
- ]
20
+ pages: ['list:top-level-domains', 'list:all'],
23
21
  },
24
22
  // Customize the logo, add your logo to public/ folder
25
23
  logo: {
26
24
  alt: 'EventCatalog Logo',
27
25
  src: '/logo.png',
28
- text: 'EventCatalog'
26
+ text: 'EventCatalog',
29
27
  },
30
28
  // This lets you copy markdown contents from EventCatalog to your clipboard
31
29
  // Including schemas for your events and services
@@ -33,5 +31,5 @@ export default {
33
31
  enabled: true,
34
32
  },
35
33
  // required random generated id used by eventcatalog
36
- cId: '<cId>'
37
- }
34
+ cId: '<cId>',
35
+ };
@@ -1 +1 @@
1
- /* Custom styling support coming soon. */
1
+ /* Custom styling support coming soon. */
@@ -3,9 +3,9 @@ id: full-stack
3
3
  name: Full stackers
4
4
  summary: Full stack developers based in London, UK
5
5
  members:
6
- - dboyne
7
- - asmith
8
- - msmith
6
+ - dboyne
7
+ - asmith
8
+ - msmith
9
9
  email: test@test.com
10
10
  slackDirectMessageUrl: https://yourteam.slack.com/channels/boyney123
11
11
  ---
@@ -17,10 +17,10 @@ The Full Stack Team is responsible for developing and maintaining both the front
17
17
  ## Responsibilities
18
18
 
19
19
  ### Key Responsibilities
20
+
20
21
  - **Front-End Development**: Design and implement user interfaces using modern web technologies (e.g., HTML, CSS, JavaScript, React).
21
22
  - **Back-End Development**: Develop and maintain server-side logic, APIs, and database interactions (e.g., Node.js, Express, SQL/NoSQL databases).
22
23
  - **Integration**: Ensure seamless communication between the front-end and back-end components.
23
24
  - **Performance Optimization**: Optimize the performance and scalability of web applications.
24
25
  - **Testing and Debugging**: Write and maintain unit, integration, and end-to-end tests to ensure the quality and reliability of the applications.
25
26
  - **Deployment**: Manage the deployment of applications to production environments using CI/CD pipelines.
26
-
@@ -3,7 +3,7 @@ id: mobile-devs
3
3
  name: The mobile devs
4
4
  summary: Mobile application development team for iOS and Android platforms
5
5
  members:
6
- - dboyne
6
+ - dboyne
7
7
  ---
8
8
 
9
9
  The Mobile Devs team is responsible for the development and maintenance of the mobile applications for our company. This includes the iOS and Android apps that customers use to interact with our services, make purchases, and manage their accounts. The team ensures that the mobile apps are user-friendly, secure, and performant.
@@ -11,11 +11,13 @@ The Mobile Devs team is responsible for the development and maintenance of the m
11
11
  ## Responsibilities
12
12
 
13
13
  ### 1. Mobile Application Development
14
+
14
15
  - **Platform Support**: Developing and maintaining apps for iOS and Android platforms.
15
16
  - **Feature Implementation**: Implementing new features based on product requirements and user feedback.
16
17
  - **User Interface Design**: Ensuring a consistent and intuitive user interface across all mobile platforms.
17
18
  - **Performance Optimization**: Optimizing the performance of mobile apps to ensure fast and smooth user experiences.
18
19
 
19
20
  ### 2. Integration with Backend Services
21
+
20
22
  - **API Integration**: Integrating mobile apps with backend services using RESTful APIs and other communication protocols.
21
- - **Real-time Updates**: Implementing real-time data updates and synchronization with backend services.
23
+ - **Real-time Updates**: Implementing real-time data updates and synchronization with backend services.
@@ -25,4 +25,3 @@ As the Product Owner for Full Stackers, my role involves a wide range of respons
25
25
  My mission is to deliver products that not only meet but exceed customer expectations. I thrive on the challenge of translating complex requirements into simple, intuitive solutions.
26
26
 
27
27
  If you’re interested in product management, user experience, or discussing the latest trends in technology, feel free to reach out!
28
-