@eventcatalog/create-eventcatalog 1.2.1 → 2.0.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 (82) hide show
  1. package/README.md +2 -2
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.js +22962 -1
  4. package/package.json +26 -50
  5. package/templates/default/Dockerfile +11 -0
  6. package/templates/default/README-template.md +1 -0
  7. package/templates/default/commands/AddInventory/index.md +42 -0
  8. package/templates/default/commands/AddInventory/schema.json +29 -0
  9. package/templates/default/commands/UpdateInventory/index.md +42 -0
  10. package/templates/default/commands/UpdateInventory/schema.json +29 -0
  11. package/templates/default/domains/Orders/index.md +49 -0
  12. package/templates/default/domains/Orders/versioned/0.0.1/index.md +20 -0
  13. package/templates/default/domains/Payment/index.md +24 -0
  14. package/templates/default/eventcatalog.config.js +18 -0
  15. package/templates/default/eventcatalog.styles.css +1 -0
  16. package/templates/default/events/Inventory/InventoryAdjusted/index.md +103 -0
  17. package/templates/default/events/Inventory/InventoryAdjusted/schema.avro +13 -0
  18. package/templates/default/events/Inventory/InventoryAdjusted/versioned/0.0.1/index.md +19 -0
  19. package/templates/default/events/Inventory/InventoryAdjusted/versioned/0.0.1/schema.avro +9 -0
  20. package/templates/default/events/Inventory/InventoryAdjusted/versioned/0.0.3/index.md +104 -0
  21. package/templates/default/events/Inventory/InventoryAdjusted/versioned/0.0.3/schema.avro +14 -0
  22. package/templates/default/events/Inventory/OutOfStock/index.md +96 -0
  23. package/templates/default/events/Order/OrderAmended/index.md +53 -0
  24. package/templates/default/events/Order/OrderAmended/schema.avro +75 -0
  25. package/templates/default/events/Order/OrderAmended/schema.json +71 -0
  26. package/templates/default/events/Order/OrderCancelled/index.md +51 -0
  27. package/templates/default/events/Order/OrderCancelled/schema.json +72 -0
  28. package/templates/default/events/Order/OrderConfirmed/index.md +51 -0
  29. package/templates/default/events/Order/OrderConfirmed/schema.json +67 -0
  30. package/templates/default/events/Payment/PaymentInitiated/index.md +32 -0
  31. package/templates/default/events/Payment/PaymentProcessed/index.md +38 -0
  32. package/{dist → templates}/default/gitignore +2 -2
  33. package/templates/default/services/InventoryService/index.md +36 -0
  34. package/templates/default/services/NotificationService/index.md +36 -0
  35. package/templates/default/services/OrdersService/index.md +29 -0
  36. package/templates/default/services/OrdersService/openapi.yml +170 -0
  37. package/templates/default/services/PaymentService/index.md +31 -0
  38. package/templates/default/teams/full-stack.md +26 -0
  39. package/templates/default/teams/mobile-devs.md +20 -0
  40. package/templates/default/users/aSmith.md +27 -0
  41. package/templates/default/users/dboyne.md +32 -0
  42. package/templates/default/users/mSmith.md +8 -0
  43. package/templates/index.ts +137 -0
  44. package/templates/types.ts +21 -0
  45. package/dist/default/Dockerfile +0 -20
  46. package/dist/default/README-template.md +0 -1
  47. package/dist/default/dockerignore +0 -7
  48. package/dist/default/domains/Shopping/events/AddedItemToCart/examples/example.js +0 -17
  49. package/dist/default/domains/Shopping/events/AddedItemToCart/index.md +0 -29
  50. package/dist/default/domains/Shopping/events/AddedItemToCart/schema.json +0 -46
  51. package/dist/default/domains/Shopping/events/AddedItemToCart/versioned/0.0.1/index.md +0 -28
  52. package/dist/default/domains/Shopping/events/AddedItemToCart/versioned/0.0.1/schema.json +0 -39
  53. package/dist/default/domains/Shopping/events/AddedItemToCart/versioned/0.0.2/index.md +0 -28
  54. package/dist/default/domains/Shopping/events/AddedItemToCart/versioned/0.0.2/schema.json +0 -46
  55. package/dist/default/domains/Shopping/events/RemovedItemFromCart/index.md +0 -26
  56. package/dist/default/domains/Shopping/events/RemovedItemFromCart/schema.json +0 -46
  57. package/dist/default/domains/Shopping/index.md +0 -16
  58. package/dist/default/eventcatalog.config.js +0 -50
  59. package/dist/default/eventcatalog.styles.css +0 -15
  60. package/dist/default/events/OrderComplete/index.md +0 -23
  61. package/dist/default/events/OrderComplete/schema.json +0 -39
  62. package/dist/default/events/OrderConfirmed/index.md +0 -23
  63. package/dist/default/events/OrderConfirmed/schema.json +0 -39
  64. package/dist/default/events/OrderRequested/index.md +0 -25
  65. package/dist/default/events/OrderRequested/schema.json +0 -39
  66. package/dist/default/events/PaymentProcessed/index.md +0 -25
  67. package/dist/default/events/PaymentProcessed/schema.json +0 -43
  68. package/dist/default/events/ShipmentDelivered/index.md +0 -24
  69. package/dist/default/events/ShipmentDelivered/schema.json +0 -43
  70. package/dist/default/events/ShipmentDispatched/index.md +0 -23
  71. package/dist/default/events/ShipmentDispatched/schema.json +0 -43
  72. package/dist/default/events/ShipmentPrepared/index.md +0 -23
  73. package/dist/default/events/ShipmentPrepared/schema.json +0 -43
  74. package/dist/default/public/favicon.ico +0 -0
  75. package/dist/default/public/logo.svg +0 -44
  76. package/dist/default/public/opengraph.png +0 -0
  77. package/dist/default/services/Basket Service/index.md +0 -16
  78. package/dist/default/services/Data Lake/index.md +0 -11
  79. package/dist/default/services/Payment Service/index.md +0 -15
  80. package/dist/default/services/Payment Service/openapi.yaml +0 -94
  81. package/dist/default/services/Shipping Service/index.md +0 -16
  82. package/dist/gitignore +0 -24
@@ -1,28 +0,0 @@
1
- ---
2
- name: AddedItemToCart
3
- version: 0.0.1
4
- summary: |
5
- Holds information about what the user added to their shopping cart.
6
- producers:
7
- - Basket Service
8
- consumers:
9
- - Data Lake
10
- owners:
11
- - dboyne
12
- - mSmith
13
- ---
14
-
15
- <Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>
16
-
17
- ### Details
18
-
19
- This event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.
20
-
21
- We have a frontend application that allows users to buy things from our store. This front end interacts directly with the `Basket Service` to add items to the cart. The `Basket Service` will raise the events.
22
-
23
-
24
- ### Consumer / Producer Diagram
25
-
26
- <Mermaid />
27
-
28
- <Schema />
@@ -1,39 +0,0 @@
1
- {
2
- "$id": "https://example.com/AddedItemToCart.json",
3
- "$schema": "https://json-schema.org/draft/2020-12/schema",
4
- "title": "AddedItemToCart",
5
- "type": "object",
6
- "properties": {
7
- "metadata": {
8
- "type": "object",
9
- "properties": {
10
- "correlationId": {
11
- "type": "string",
12
- "description": "The ID of the user"
13
- },
14
- "domain": {
15
- "type": "string",
16
- "description": "The domain of the event"
17
- },
18
- "service": {
19
- "type": "string",
20
- "description": "The name of the service that triggered the event"
21
- }
22
- },
23
- "required": ["correlationId", "domain"]
24
- },
25
- "data": {
26
- "type": "object",
27
- "properties": {
28
- "userId": {
29
- "type": "string",
30
- "description": "The ID of the user"
31
- },
32
- "itemId": {
33
- "type": "string",
34
- "description": "The ID of the shopping item"
35
- }
36
- }
37
- }
38
- }
39
- }
@@ -1,28 +0,0 @@
1
- ---
2
- name: AddedItemToCart
3
- version: 0.0.1
4
- summary: |
5
- Holds information about what the user added to their shopping cart.
6
- producers:
7
- - Basket Service
8
- consumers:
9
- - Data Lake
10
- owners:
11
- - dboyne
12
- - mSmith
13
- ---
14
-
15
- <Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>
16
-
17
- ### Details
18
-
19
- This event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.
20
-
21
- We have a frontend application that allows users to buy things from our store. This front end interacts directly with the `Basket Service` to add items to the cart. The `Basket Service` will raise the events.
22
-
23
-
24
- ### Consumer / Producer Diagram
25
-
26
- <Mermaid />
27
-
28
- <Schema />
@@ -1,46 +0,0 @@
1
- {
2
- "$id": "https://example.com/AddedItemToCart.json",
3
- "$schema": "https://json-schema.org/draft/2020-12/schema",
4
- "title": "AddedItemToCart",
5
- "type": "object",
6
- "properties": {
7
- "metadata": {
8
- "type": "object",
9
- "properties": {
10
- "correlationId": {
11
- "type": "string",
12
- "description": "The ID of the user"
13
- },
14
- "domain": {
15
- "type": "string",
16
- "description": "The domain of the event"
17
- },
18
- "service": {
19
- "type": "string",
20
- "description": "The name of the service that triggered the event"
21
- }
22
- },
23
- "required": ["correlationId", "domain"]
24
- },
25
- "data": {
26
- "type": "object",
27
- "properties": {
28
- "userId": {
29
- "type": "string",
30
- "description": "The ID of the user"
31
- },
32
- "itemId": {
33
- "type": "string",
34
- "description": "The ID of the shopping item"
35
- },
36
- "quantity": {
37
- "type": "number",
38
- "description": "How many items the user wants to add to their shopping cart",
39
- "minimum": 1,
40
- "maximum": 100,
41
- "default": 1
42
- }
43
- }
44
- }
45
- }
46
- }
@@ -1,26 +0,0 @@
1
- ---
2
- name: RemovedItemFromCart
3
- version: 0.0.1
4
- summary: |
5
- Holds information about what the user removed from their cart.
6
- producers:
7
- - Basket Service
8
- consumers:
9
- - Data Lake
10
- owners:
11
- - dboyne
12
- - mSmith
13
- ---
14
-
15
- <Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>
16
-
17
- ### Details
18
-
19
- This event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.
20
-
21
- We have a frontend application that allows users to buy things from our store. This front end interacts directly with the `Basket Service` to add items to the cart. The `Basket Service` will raise the events.
22
-
23
-
24
- <NodeGraph title="Consumer / Producer Diagram" />
25
-
26
- <Schema />
@@ -1,46 +0,0 @@
1
- {
2
- "$id": "https://example.com/RemovedItemFromCart.json",
3
- "$schema": "https://json-schema.org/draft/2020-12/schema",
4
- "title": "RemovedItemFromCart",
5
- "type": "object",
6
- "properties": {
7
- "metadata": {
8
- "type": "object",
9
- "properties": {
10
- "correlationId": {
11
- "type": "string",
12
- "description": "The ID of the user"
13
- },
14
- "domain": {
15
- "type": "string",
16
- "description": "The domain of the event"
17
- },
18
- "service": {
19
- "type": "string",
20
- "description": "The name of the service that triggered the event"
21
- }
22
- },
23
- "required": ["correlationId", "domain"]
24
- },
25
- "data": {
26
- "type": "object",
27
- "properties": {
28
- "userId": {
29
- "type": "string",
30
- "description": "The ID of the user"
31
- },
32
- "itemId": {
33
- "type": "string",
34
- "description": "The ID of the shopping item"
35
- },
36
- "quantity": {
37
- "type": "number",
38
- "description": "How many items the user wants to remove to their shopping cart",
39
- "minimum": 1,
40
- "maximum": 100,
41
- "default": 1
42
- }
43
- }
44
- }
45
- }
46
- }
@@ -1,16 +0,0 @@
1
- ---
2
- name: Shopping
3
- summary: |
4
- Domain for everything shopping
5
- owners:
6
- - dboyne
7
- - mSmith
8
- ---
9
-
10
- <Admonition>Domain for everything to do with Shopping at our business. Before adding any events or services to this domain make sure you contact the domain owners and verify it's the correct place.</Admonition>
11
-
12
- ### Details
13
-
14
- This domain encapsulates everything in our business that has to do with shopping and users. This might be new items added to our online shop or online cart management.
15
-
16
- <NodeGraph title="Domain Graph" />
@@ -1,50 +0,0 @@
1
- module.exports = {
2
- title: 'EventCatalog',
3
- tagline: 'Discover, Explore and Document your Event Driven Architectures',
4
- organizationName: 'Your Company',
5
- projectName: 'Event Catalog',
6
- editUrl: 'https://github.com/boyney123/eventcatalog-demo/edit/master',
7
- trailingSlash: true,
8
- primaryCTA: {
9
- label: 'Explore Events',
10
- href: '/events'
11
- },
12
- secondaryCTA: {
13
- label: 'Getting Started',
14
- href:"https://www.eventcatalog.dev/"
15
- },
16
- logo: {
17
- alt: 'EventCatalog Logo',
18
- // found in the public dir
19
- src: 'logo.svg',
20
- },
21
- headerLinks: [
22
- { label: 'Events', href: '/events'},
23
- { label: 'Services', href: '/services' },
24
- { label: 'Domains', href: '/domains'},
25
- { label: 'Users', href: '/users'},
26
- { label: 'Visualiser', href: '/visualiser' },
27
- { label: '3D Node Graph', href: '/overview' },
28
- ],
29
- footerLinks: [
30
- { label: 'Events', href: '/events' },
31
- { label: 'Services', href: '/services' },
32
- { label: 'Visualiser', href: '/visualiser' },
33
- { label: '3D Node Graph', href: '/overview' },
34
- { label: 'GitHub', href: 'https://github.com/boyney123/eventcatalog-demo/edit/master' }
35
- ],
36
- users: [
37
- {
38
- id: 'dboyne',
39
- name: 'David Boyne',
40
- avatarUrl: 'https://pbs.twimg.com/profile_images/1262283153563140096/DYRDqKg6_400x400.png',
41
- role: 'Developer',
42
- },
43
- {
44
- id: 'mSmith',
45
- name: 'Matthew Smith',
46
- avatarUrl: 'https://randomuser.me/api/portraits/lego/3.jpg',
47
- role: 'Developer',
48
- },
49
- ],
50
- }
@@ -1,15 +0,0 @@
1
-
2
- /**
3
-
4
- Stylesheet overrides for EventCatalog.
5
- There is currently a limit on what can be changed.
6
-
7
- If you want to override some styles of particular elements, raise an issue for discussion. (https://github.com/boyney123/eventcatalog)
8
-
9
- Note: Override based on custom selectors / hacks at your own risk. EventCatalog selectors will change over time, which may break your styles.
10
- use the styles marked with `ec-` for non breaking styling changes
11
-
12
- */
13
- .ec-homepage{
14
- background:black;
15
- }
@@ -1,23 +0,0 @@
1
- ---
2
- name: OrderComplete
3
- version: 0.0.1
4
- summary: |
5
- Event represents when an order has been complete. (Delivered and finished)
6
- producers:
7
- - Orders Service
8
- consumers:
9
- - Data Lake
10
- owners:
11
- - dboyne
12
- - mSmith
13
- ---
14
-
15
- <Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>
16
-
17
- ### Details
18
-
19
- This event is the final event of the ordering process. It gets raised when the shipment has been delivered.
20
-
21
- <NodeGraph title="Consumer / Producer Diagram" />
22
-
23
- <Schema />
@@ -1,39 +0,0 @@
1
- {
2
- "$id": "https://example.com/OrderRequested.json",
3
- "$schema": "https://json-schema.org/draft/2020-12/schema",
4
- "title": "OrderRequested",
5
- "type": "object",
6
- "properties": {
7
- "metadata": {
8
- "type": "object",
9
- "properties": {
10
- "correlationId": {
11
- "type": "string",
12
- "description": "The ID of the user"
13
- },
14
- "domain": {
15
- "type": "string",
16
- "description": "The domain of the event"
17
- },
18
- "service": {
19
- "type": "string",
20
- "description": "The name of the service that triggered the event"
21
- }
22
- },
23
- "required": ["correlationId", "domain", "service"]
24
- },
25
- "data": {
26
- "type": "object",
27
- "properties": {
28
- "userId": {
29
- "type": "string",
30
- "description": "The ID of the user"
31
- },
32
- "orderId": {
33
- "type": "string",
34
- "description": "The ID the users order"
35
- }
36
- }
37
- }
38
- }
39
- }
@@ -1,23 +0,0 @@
1
- ---
2
- name: OrderConfirmed
3
- version: 0.0.1
4
- summary: |
5
- Event represents when an order has been confirmed and ready to be processed (shipped for example)
6
- producers:
7
- - Orders Service
8
- consumers:
9
- - Shipping Service
10
- owners:
11
- - dboyne
12
- - mSmith
13
- ---
14
-
15
- <Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>
16
-
17
- ### Details
18
-
19
- This event is triggered when the customers order has been verified and the stock has been checked. Once this event is triggered we are safe to say it is ready for shipment.
20
-
21
- <NodeGraph title="Consumer / Producer Diagram" />
22
-
23
- <Schema />
@@ -1,39 +0,0 @@
1
- {
2
- "$id": "https://example.com/OrderRequested.json",
3
- "$schema": "https://json-schema.org/draft/2020-12/schema",
4
- "title": "OrderRequested",
5
- "type": "object",
6
- "properties": {
7
- "metadata": {
8
- "type": "object",
9
- "properties": {
10
- "correlationId": {
11
- "type": "string",
12
- "description": "The ID of the user"
13
- },
14
- "domain": {
15
- "type": "string",
16
- "description": "The domain of the event"
17
- },
18
- "service": {
19
- "type": "string",
20
- "description": "The name of the service that triggered the event"
21
- }
22
- },
23
- "required": ["correlationId", "domain", "service"]
24
- },
25
- "data": {
26
- "type": "object",
27
- "properties": {
28
- "userId": {
29
- "type": "string",
30
- "description": "The ID of the user"
31
- },
32
- "orderId": {
33
- "type": "string",
34
- "description": "The ID the users order"
35
- }
36
- }
37
- }
38
- }
39
- }
@@ -1,25 +0,0 @@
1
- ---
2
- name: OrderRequested
3
- version: 0.0.1
4
- summary: |
5
- Holds information about the customers order.
6
- producers:
7
- - Basket Service
8
- consumers:
9
- - Payment Service
10
- owners:
11
- - dboyne
12
- - mSmith
13
- ---
14
-
15
- <Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>
16
-
17
- ### Details
18
-
19
- This event is triggered when the user confirms their order and wants to process their payment.
20
-
21
- We have a frontend application that allows users to buy things from our store. The frontend application interacts with the Backet Service to trigger the `OrderRequested` event.
22
-
23
- <NodeGraph title="Consumer / Producer Diagram" />
24
-
25
- <Schema />
@@ -1,39 +0,0 @@
1
- {
2
- "$id": "https://example.com/OrderRequested.json",
3
- "$schema": "https://json-schema.org/draft/2020-12/schema",
4
- "title": "OrderRequested",
5
- "type": "object",
6
- "properties": {
7
- "metadata": {
8
- "type": "object",
9
- "properties": {
10
- "correlationId": {
11
- "type": "string",
12
- "description": "The ID of the user"
13
- },
14
- "domain": {
15
- "type": "string",
16
- "description": "The domain of the event"
17
- },
18
- "service": {
19
- "type": "string",
20
- "description": "The name of the service that triggered the event"
21
- }
22
- },
23
- "required": ["correlationId", "domain", "service"]
24
- },
25
- "data": {
26
- "type": "object",
27
- "properties": {
28
- "userId": {
29
- "type": "string",
30
- "description": "The ID of the user"
31
- },
32
- "orderId": {
33
- "type": "string",
34
- "description": "The ID the users order"
35
- }
36
- }
37
- }
38
- }
39
- }
@@ -1,25 +0,0 @@
1
- ---
2
- name: PaymentProcessed
3
- version: 0.0.1
4
- summary: |
5
- Holds information about the payment that has been processed.
6
- producers:
7
- - Payment Service
8
- consumers:
9
- - Orders Service
10
- owners:
11
- - dboyne
12
- - mSmith
13
- ---
14
-
15
- <Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>
16
-
17
- ### Details
18
-
19
- This event is triggered when the payment has succesfully been processed for a customers orders.
20
-
21
- We use Stripe to handle customer payments. The Payment Service listens for Stripe webhooks and raises the PaymentProcessed event.
22
-
23
- <NodeGraph title="Consumer / Producer Diagram" />
24
-
25
- <Schema />
@@ -1,43 +0,0 @@
1
- {
2
- "$id": "https://example.com/PaymentProcessed.json",
3
- "$schema": "https://json-schema.org/draft/2020-12/schema",
4
- "title": "PaymentProcessed",
5
- "type": "object",
6
- "properties": {
7
- "metadata": {
8
- "type": "object",
9
- "properties": {
10
- "correlationId": {
11
- "type": "string",
12
- "description": "The ID of the user"
13
- },
14
- "domain": {
15
- "type": "string",
16
- "description": "The domain of the event"
17
- },
18
- "service": {
19
- "type": "string",
20
- "description": "The name of the service that triggered the event"
21
- }
22
- },
23
- "required": ["correlationId", "domain", "service"]
24
- },
25
- "data": {
26
- "type": "object",
27
- "properties": {
28
- "userId": {
29
- "type": "string",
30
- "description": "The ID of the user"
31
- },
32
- "orderId": {
33
- "type": "string",
34
- "description": "The ID the users order"
35
- },
36
- "stripeId": {
37
- "type": "string",
38
- "description": "The ID the payment handled in stripe"
39
- }
40
- }
41
- }
42
- }
43
- }
@@ -1,24 +0,0 @@
1
- ---
2
- name: ShipmentDelivered
3
- version: 0.0.1
4
- summary: |
5
- Event represents when a shipment has been delievered and received.
6
- producers:
7
- - Shipping Service
8
- consumers:
9
- - Order Service
10
- - Data Lake
11
- owners:
12
- - dboyne
13
- - mSmith
14
- ---
15
-
16
- <Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>
17
-
18
- ### Details
19
-
20
- This event is triggered when a shipment has been delievered to it's destination.
21
-
22
- <NodeGraph title="Consumer / Producer Diagram" />
23
-
24
- <Schema />
@@ -1,43 +0,0 @@
1
- {
2
- "$id": "https://example.com/ShipmentDispatched.json",
3
- "$schema": "https://json-schema.org/draft/2020-12/schema",
4
- "title": "ShipmentDispatched",
5
- "type": "object",
6
- "properties": {
7
- "metadata": {
8
- "type": "object",
9
- "properties": {
10
- "correlationId": {
11
- "type": "string",
12
- "description": "The ID of the user"
13
- },
14
- "domain": {
15
- "type": "string",
16
- "description": "The domain of the event"
17
- },
18
- "service": {
19
- "type": "string",
20
- "description": "The name of the service that triggered the event"
21
- }
22
- },
23
- "required": ["correlationId", "domain", "service"]
24
- },
25
- "data": {
26
- "type": "object",
27
- "properties": {
28
- "userId": {
29
- "type": "string",
30
- "description": "The ID of the user"
31
- },
32
- "shipmentId": {
33
- "type": "string",
34
- "description": "The ID of the shipment"
35
- },
36
- "orderId": {
37
- "type": "string",
38
- "description": "The order assigned to the shipment"
39
- }
40
- }
41
- }
42
- }
43
- }
@@ -1,23 +0,0 @@
1
- ---
2
- name: ShipmentDispatched
3
- version: 0.0.1
4
- summary: |
5
- Event represents when a shipment has been dispatched.
6
- producers:
7
- - Shipping Service
8
- consumers:
9
- - Shipping Service
10
- owners:
11
- - dboyne
12
- - mSmith
13
- ---
14
-
15
- <Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>
16
-
17
- ### Details
18
-
19
- This event is triggered when a shipment has been dispatched from the warehouse.
20
-
21
- <NodeGraph title="Consumer / Producer Diagram" />
22
-
23
- <Schema />