@eventcatalog/create-eventcatalog 2.2.5 → 2.2.7

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 (28) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
  3. package/templates/asyncapi/eventcatalog.config.js +3 -3
  4. package/templates/default/domains/Orders/index.md +1 -3
  5. package/templates/default/domains/Orders/services/ShippingService/commands/CancelShipment/index.md +23 -0
  6. package/templates/default/domains/Orders/services/ShippingService/commands/CancelShipment/schema.json +13 -0
  7. package/templates/default/domains/Orders/services/ShippingService/commands/CreateReturnLabel/index.md +22 -0
  8. package/templates/default/domains/Orders/services/ShippingService/commands/CreateReturnLabel/schema.json +19 -0
  9. package/templates/default/domains/Orders/services/ShippingService/commands/CreateShipment/index.md +22 -0
  10. package/templates/default/domains/Orders/services/ShippingService/commands/CreateShipment/schema.json +62 -0
  11. package/templates/default/domains/Orders/services/ShippingService/commands/UpdateShipmentStatus/index.md +22 -0
  12. package/templates/default/domains/Orders/services/ShippingService/commands/UpdateShipmentStatus/schema.json +29 -0
  13. package/templates/default/domains/Orders/services/ShippingService/events/DeliveryFailed/index.md +22 -0
  14. package/templates/default/domains/Orders/services/ShippingService/events/DeliveryFailed/schema.json +17 -0
  15. package/templates/default/domains/Orders/services/ShippingService/events/ReturnInitiated/index.md +22 -0
  16. package/templates/default/domains/Orders/services/ShippingService/events/ReturnInitiated/schema.json +17 -0
  17. package/templates/default/domains/Orders/services/ShippingService/events/ShipmentCreated/index.md +22 -0
  18. package/templates/default/domains/Orders/services/ShippingService/events/ShipmentCreated/schema.json +65 -0
  19. package/templates/default/domains/Orders/services/ShippingService/events/ShipmentDelivered/index.md +22 -0
  20. package/templates/default/domains/Orders/services/ShippingService/events/ShipmentDelivered/schema.json +17 -0
  21. package/templates/default/domains/Orders/services/ShippingService/events/ShipmentDispatched/index.md +22 -0
  22. package/templates/default/domains/Orders/services/ShippingService/events/ShipmentDispatched/schema.json +17 -0
  23. package/templates/default/domains/Orders/services/ShippingService/events/ShipmentInTransit/index.md +22 -0
  24. package/templates/default/domains/Orders/services/ShippingService/events/ShipmentInTransit/schema.json +17 -0
  25. package/templates/default/domains/Orders/services/ShippingService/index.md +49 -0
  26. package/templates/default/eventcatalog.config.js +3 -3
  27. package/templates/empty/eventcatalog.config.js +3 -3
  28. package/templates/openapi/eventcatalog.config.js +3 -3
package/dist/index.js CHANGED
@@ -22466,7 +22466,7 @@ var import_os2 = __toESM(require("os"));
22466
22466
  var package_default = {
22467
22467
  name: "@eventcatalog/create-eventcatalog",
22468
22468
  description: "Create EventCatalog with one command",
22469
- version: "2.2.5",
22469
+ version: "2.2.7",
22470
22470
  bin: {
22471
22471
  "create-catalog": "./dist/index.js"
22472
22472
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eventcatalog/create-eventcatalog",
3
3
  "description": "Create EventCatalog with one command",
4
- "version": "2.2.5",
4
+ "version": "2.2.7",
5
5
  "bin": {
6
6
  "create-catalog": "./dist/index.js"
7
7
  },
@@ -6,7 +6,7 @@ const __dirname = path.dirname(url.fileURLToPath(import.meta.url));
6
6
  /** @type {import('@eventcatalog/core/bin/eventcatalog.config').Config} */
7
7
  export default {
8
8
  title: 'EventCatalog',
9
- tagline: 'Discover, Explore and Document your Event Driven Architectures',
9
+ 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',
10
10
  organizationName: '<organizationName>',
11
11
  homepageLink: 'https://eventcatalog.dev/',
12
12
  editUrl: 'https://github.com/boyney123/eventcatalog-demo/edit/master',
@@ -53,8 +53,8 @@ export default {
53
53
  docs: {
54
54
  sidebar: {
55
55
  // TREE_VIEW will render the DOCS as a tree view and map your file system folder structure
56
- // FLAT_VIEW will render the DOCS as a flat list (no nested folders)
57
- type: 'TREE_VIEW'
56
+ // LIST_VIEW will render the DOCS that look familiar to API documentation websites
57
+ type: 'LIST_VIEW'
58
58
  },
59
59
  },
60
60
  // Enable RSS feed for your eventcatalog
@@ -7,11 +7,9 @@ owners:
7
7
  - full-stack
8
8
  services:
9
9
  - id: InventoryService
10
- version: 0.0.2
11
10
  - id: NotificationService
12
- version: 0.0.2
13
11
  - id: OrdersService
14
- version: 0.0.2
12
+ - id: PaymentService
15
13
  badges:
16
14
  - content: New domain
17
15
  backgroundColor: blue
@@ -0,0 +1,23 @@
1
+ ---
2
+ id: CancelShipment
3
+ name: Cancel shipment
4
+ version: 0.0.1
5
+ summary: |
6
+ POST request that will cancel a shipment, identified by its shipmentId.
7
+ owners:
8
+ - dboyne
9
+ schemaPath: schema.json
10
+ ---
11
+
12
+ import Footer from '@catalog/components/footer.astro';
13
+
14
+ ## Overview
15
+
16
+ The `CancelShipment` message is a command used to cancel a shipment, identified by its `shipmentId`. It provides information such as the shipment status (e.g., pending, completed, shipped), the items within the shipment, billing and shipping details, payment information, and the order's total amount. This query is commonly used by systems managing order processing, customer service, or order tracking functionalities.
17
+
18
+ This command can be applied in e-commerce systems, marketplaces, or any platform where users and systems need real-time shipment data for tracking, auditing, or managing customer purchases.
19
+
20
+ <SchemaViewer file="schema.json" title="Schema" maxHeight="500" />
21
+
22
+ <NodeGraph />
23
+
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "CancelShipment",
5
+ "description": "Schema for cancelling a shipment",
6
+ "properties": {
7
+ "shipmentId": {
8
+ "type": "string",
9
+ "description": "Unique identifier for the shipment"
10
+ }
11
+ },
12
+ "required": ["shipmentId"]
13
+ }
@@ -0,0 +1,22 @@
1
+ ---
2
+ id: CreateReturnLabel
3
+ name: Create return label
4
+ version: 0.0.1
5
+ summary: |
6
+ POST request that will create a return label for a specific shipment, identified by its shipmentId.
7
+ owners:
8
+ - dboyne
9
+ schemaPath: schema.json
10
+ ---
11
+
12
+ import Footer from '@catalog/components/footer.astro';
13
+
14
+ ## Overview
15
+
16
+ The `CreateReturnLabel` message is a command used to create a return label for a specific shipment, identified by its `shipmentId`. It provides information such as the shipment status (e.g., pending, completed, shipped), the items within the shipment, billing and shipping details, payment information, and the order's total amount. This query is commonly used by systems managing order processing, customer service, or order tracking functionalities.
17
+
18
+ This command can be applied in e-commerce systems, marketplaces, or any platform where users and systems need real-time shipment data for tracking, auditing, or managing customer purchases.
19
+
20
+ <NodeGraph />
21
+
22
+ <SchemaViewer file="schema.json" title="JSON Schema" maxHeight="500" />
@@ -0,0 +1,19 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "CreateReturnLabel",
5
+ "description": "Schema for creating a return shipping label",
6
+ "properties": {
7
+ "CreateReturnLabel": {
8
+ "type": "object",
9
+ "properties": {
10
+ "shipmentId": {
11
+ "type": "string",
12
+ "description": "Unique identifier for the shipment"
13
+ }
14
+ },
15
+ "required": ["shipmentId"]
16
+ }
17
+ },
18
+ "required": ["CreateReturnLabel"]
19
+ }
@@ -0,0 +1,22 @@
1
+ ---
2
+ id: CreateShipment
3
+ name: Create shipment
4
+ version: 0.0.1
5
+ summary: |
6
+ POST request that will create a shipment for a specific order, identified by its orderId.
7
+ owners:
8
+ - dboyne
9
+ schemaPath: schema.json
10
+ ---
11
+
12
+ import Footer from '@catalog/components/footer.astro';
13
+
14
+ ## Overview
15
+
16
+ The `CreateShipment` message is a command used to create a shipment for a specific order, identified by its `orderId`. It provides information such as the order status (e.g., pending, completed, shipped), the items within the order, billing and shipping details, payment information, and the order's total amount. This query is commonly used by systems managing order processing, customer service, or order tracking functionalities.
17
+
18
+ This command can be applied in e-commerce systems, marketplaces, or any platform where users and systems need real-time order data for tracking, auditing, or managing customer purchases.
19
+
20
+ <NodeGraph />
21
+
22
+ <SchemaViewer file="schema.json" title="JSON Schema" maxHeight="500" />
@@ -0,0 +1,62 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "shipmentId": {
6
+ "type": "string",
7
+ "description": "Unique identifier for the shipment"
8
+ },
9
+ "orderId": {
10
+ "type": "string",
11
+ "description": "Identifier for the associated order"
12
+ },
13
+ "address": {
14
+ "type": "object",
15
+ "properties": {
16
+ "street": {
17
+ "type": "string",
18
+ "description": "Street address for the shipment"
19
+ },
20
+ "city": {
21
+ "type": "string",
22
+ "description": "City for the shipment"
23
+ },
24
+ "state": {
25
+ "type": "string",
26
+ "description": "State for the shipment"
27
+ },
28
+ "postalCode": {
29
+ "type": "string",
30
+ "description": "Postal code for the shipment"
31
+ },
32
+ "country": {
33
+ "type": "string",
34
+ "description": "Country for the shipment"
35
+ }
36
+ },
37
+ "required": ["street", "city", "state", "postalCode", "country"]
38
+ },
39
+ "items": {
40
+ "type": "array",
41
+ "items": {
42
+ "type": "object",
43
+ "properties": {
44
+ "itemId": {
45
+ "type": "string",
46
+ "description": "Identifier for the item"
47
+ },
48
+ "quantity": {
49
+ "type": "integer",
50
+ "description": "Quantity of the item"
51
+ }
52
+ },
53
+ "required": ["itemId", "quantity"]
54
+ }
55
+ },
56
+ "shippingMethod": {
57
+ "type": "string",
58
+ "description": "Method of shipping (e.g., standard, express)"
59
+ }
60
+ },
61
+ "required": ["shipmentId", "orderId", "address", "items", "shippingMethod"]
62
+ }
@@ -0,0 +1,22 @@
1
+ ---
2
+ id: UpdateShipmentStatus
3
+ name: Update shipment status
4
+ version: 0.0.1
5
+ summary: |
6
+ POST request that will update the status of a shipment, identified by its shipmentId.
7
+ owners:
8
+ - dboyne
9
+ schemaPath: schema.json
10
+ ---
11
+
12
+ import Footer from '@catalog/components/footer.astro';
13
+
14
+ ## Overview
15
+
16
+ The `UpdateShipmentStatus` message is a command used to update the status of a shipment, identified by its `shipmentId`. It provides information such as the shipment status (e.g., pending, completed, shipped), the items within the shipment, billing and shipping details, payment information, and the order's total amount. This query is commonly used by systems managing order processing, customer service, or order tracking functionalities.
17
+
18
+ This command can be applied in e-commerce systems, marketplaces, or any platform where users and systems need real-time shipment data for tracking, auditing, or managing customer purchases.
19
+
20
+ <NodeGraph />
21
+
22
+ <SchemaViewer file="schema.json" title="JSON Schema" maxHeight="500" />
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "UpdateShipmentStatus",
5
+ "description": "Schema for updating a shipment's status",
6
+ "properties": {
7
+ "UpdateShipmentStatus": {
8
+ "type": "object",
9
+ "properties": {
10
+ "shipmentId": {
11
+ "type": "string",
12
+ "description": "Unique identifier for the shipment"
13
+ },
14
+ "status": {
15
+ "type": "string",
16
+ "enum": ["pending", "shipped", "delivered", "returned"],
17
+ "description": "Current status of the shipment"
18
+ },
19
+ "updatedAt": {
20
+ "type": "string",
21
+ "format": "date-time",
22
+ "description": "Timestamp when the status was last updated"
23
+ }
24
+ },
25
+ "required": ["shipmentId", "status"]
26
+ }
27
+ },
28
+ "required": ["UpdateShipmentStatus"]
29
+ }
@@ -0,0 +1,22 @@
1
+ ---
2
+ id: DeliveryFailed
3
+ name: Delivery failed
4
+ version: 0.0.1
5
+ summary: |
6
+ Event that is emitted when a shipment delivery fails.
7
+ owners:
8
+ - dboyne
9
+ schemaPath: schema.json
10
+ ---
11
+
12
+ import Footer from '@catalog/components/footer.astro';
13
+
14
+ ## Overview
15
+
16
+ The `DeliveryFailed` event is emitted when a shipment delivery fails. It provides information such as the shipment status (e.g., pending, completed, shipped), the items within the shipment, billing and shipping details, payment information, and the order's total amount. This query is commonly used by systems managing order processing, customer service, or order tracking functionalities.
17
+
18
+ This event can be applied in e-commerce systems, marketplaces, or any platform where users and systems need real-time shipment data for tracking, auditing, or managing customer purchases.
19
+
20
+ <NodeGraph />
21
+
22
+ <SchemaViewer file="schema.json" title="JSON Schema" maxHeight="500" />
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "DeliveryFailed",
5
+ "description": "Schema for delivery failed event",
6
+ "properties": {
7
+ "shipmentId": {
8
+ "type": "string",
9
+ "description": "Unique identifier for the shipment"
10
+ },
11
+ "orderId": {
12
+ "type": "string",
13
+ "description": "Identifier for the associated order"
14
+ }
15
+ },
16
+ "required": ["shipmentId", "orderId"]
17
+ }
@@ -0,0 +1,22 @@
1
+ ---
2
+ id: ReturnInitiated
3
+ name: Return initiated
4
+ version: 0.0.1
5
+ summary: |
6
+ Event that is emitted when a return is initiated.
7
+ owners:
8
+ - dboyne
9
+ schemaPath: schema.json
10
+ ---
11
+
12
+ import Footer from '@catalog/components/footer.astro';
13
+
14
+ ## Overview
15
+
16
+ The `ReturnInitiated` event is emitted when a return is initiated. It provides information such as the shipment status (e.g., pending, completed, shipped), the items within the shipment, billing and shipping details, payment information, and the order's total amount. This query is commonly used by systems managing order processing, customer service, or order tracking functionalities.
17
+
18
+ This event can be applied in e-commerce systems, marketplaces, or any platform where users and systems need real-time return data for tracking, auditing, or managing customer purchases.
19
+
20
+ <NodeGraph />
21
+
22
+ <SchemaViewer file="schema.json" title="JSON Schema" maxHeight="500" />
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "ReturnInitiated",
5
+ "description": "Schema for return initiated event",
6
+ "properties": {
7
+ "shipmentId": {
8
+ "type": "string",
9
+ "description": "Unique identifier for the shipment"
10
+ },
11
+ "orderId": {
12
+ "type": "string",
13
+ "description": "Identifier for the associated order"
14
+ }
15
+ },
16
+ "required": ["shipmentId", "orderId"]
17
+ }
@@ -0,0 +1,22 @@
1
+ ---
2
+ id: ShipmentCreated
3
+ name: Shipment created
4
+ version: 0.0.1
5
+ summary: |
6
+ Event that is emitted when a shipment is created.
7
+ owners:
8
+ - dboyne
9
+ schemaPath: schema.json
10
+ ---
11
+
12
+ import Footer from '@catalog/components/footer.astro';
13
+
14
+ ## Overview
15
+
16
+ The `ShipmentCreated` event is emitted when a shipment is created. It provides information such as the shipment status (e.g., pending, completed, shipped), the items within the shipment, billing and shipping details, payment information, and the order's total amount. This query is commonly used by systems managing order processing, customer service, or order tracking functionalities.
17
+
18
+ This event can be applied in e-commerce systems, marketplaces, or any platform where users and systems need real-time shipment data for tracking, auditing, or managing customer purchases.
19
+
20
+ <NodeGraph />
21
+
22
+ <SchemaViewer file="schema.json" title="JSON Schema" maxHeight="500" />
@@ -0,0 +1,65 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "ShipmentCreated",
5
+ "description": "Schema for shipment created event",
6
+ "properties": {
7
+ "shipmentId": {
8
+ "type": "string",
9
+ "description": "Unique identifier for the shipment"
10
+ },
11
+ "orderId": {
12
+ "type": "string",
13
+ "description": "Identifier for the associated order"
14
+ },
15
+ "address": {
16
+ "type": "object",
17
+ "properties": {
18
+ "street": {
19
+ "type": "string",
20
+ "description": "Street address for the shipment"
21
+ },
22
+ "city": {
23
+ "type": "string",
24
+ "description": "City for the shipment"
25
+ },
26
+ "state": {
27
+ "type": "string",
28
+ "description": "State for the shipment"
29
+ },
30
+ "postalCode": {
31
+ "type": "string",
32
+ "description": "Postal code for the shipment"
33
+ },
34
+ "country": {
35
+ "type": "string",
36
+ "description": "Country for the shipment"
37
+ }
38
+ },
39
+ "required": ["street", "city", "state", "postalCode", "country"]
40
+ },
41
+ "items": {
42
+ "type": "array",
43
+ "items": {
44
+ "type": "object",
45
+ "properties": {
46
+ "itemId": {
47
+ "type": "string",
48
+ "description": "Identifier for the item"
49
+ },
50
+ "quantity": {
51
+ "type": "integer",
52
+ "description": "Quantity of the item"
53
+ }
54
+ },
55
+ "required": ["itemId", "quantity"]
56
+ }
57
+ },
58
+ "shippingMethod": {
59
+ "type": "string",
60
+ "description": "Method of shipping (e.g., standard, express)"
61
+ }
62
+ },
63
+ "required": ["shipmentId", "orderId", "address", "items", "shippingMethod"]
64
+ }
65
+
@@ -0,0 +1,22 @@
1
+ ---
2
+ id: ShipmentDelivered
3
+ name: Shipment delivered
4
+ version: 0.0.1
5
+ summary: |
6
+ Event that is emitted when a shipment is delivered.
7
+ owners:
8
+ - dboyne
9
+ schemaPath: schema.json
10
+ ---
11
+
12
+ import Footer from '@catalog/components/footer.astro';
13
+
14
+ ## Overview
15
+
16
+ The `ShipmentDelivered` event is emitted when a shipment is delivered. It provides information such as the shipment status (e.g., pending, completed, shipped), the items within the shipment, billing and shipping details, payment information, and the order's total amount. This query is commonly used by systems managing order processing, customer service, or order tracking functionalities.
17
+
18
+ This event can be applied in e-commerce systems, marketplaces, or any platform where users and systems need real-time shipment data for tracking, auditing, or managing customer purchases.
19
+
20
+ <NodeGraph />
21
+
22
+ <SchemaViewer file="schema.json" title="JSON Schema" maxHeight="500" />
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "ShipmentDelivered",
5
+ "description": "Schema for shipment delivered event",
6
+ "properties": {
7
+ "shipmentId": {
8
+ "type": "string",
9
+ "description": "Unique identifier for the shipment"
10
+ },
11
+ "orderId": {
12
+ "type": "string",
13
+ "description": "Identifier for the associated order"
14
+ }
15
+ },
16
+ "required": ["shipmentId", "orderId"]
17
+ }
@@ -0,0 +1,22 @@
1
+ ---
2
+ id: ShipmentDispatched
3
+ name: Shipment dispatched
4
+ version: 0.0.1
5
+ summary: |
6
+ Event that is emitted when a shipment is dispatched.
7
+ owners:
8
+ - dboyne
9
+ schemaPath: schema.json
10
+ ---
11
+
12
+ import Footer from '@catalog/components/footer.astro';
13
+
14
+ ## Overview
15
+
16
+ The `ShipmentDispatched` event is emitted when a shipment is dispatched. It provides information such as the shipment status (e.g., pending, completed, shipped), the items within the shipment, billing and shipping details, payment information, and the order's total amount. This query is commonly used by systems managing order processing, customer service, or order tracking functionalities.
17
+
18
+ This event can be applied in e-commerce systems, marketplaces, or any platform where users and systems need real-time shipment data for tracking, auditing, or managing customer purchases.
19
+
20
+ <NodeGraph />
21
+
22
+ <SchemaViewer file="schema.json" title="JSON Schema" maxHeight="500" />
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "ShipmentDispatched",
5
+ "description": "Schema for shipment dispatched event",
6
+ "properties": {
7
+ "shipmentId": {
8
+ "type": "string",
9
+ "description": "Unique identifier for the shipment"
10
+ },
11
+ "orderId": {
12
+ "type": "string",
13
+ "description": "Identifier for the associated order"
14
+ }
15
+ },
16
+ "required": ["shipmentId", "orderId"]
17
+ }
@@ -0,0 +1,22 @@
1
+ ---
2
+ id: ShipmentInTransit
3
+ name: Shipment in transit
4
+ version: 0.0.1
5
+ summary: |
6
+ Event that is emitted when a shipment is in transit.
7
+ owners:
8
+ - dboyne
9
+ schemaPath: schema.json
10
+ ---
11
+
12
+ import Footer from '@catalog/components/footer.astro';
13
+
14
+ ## Overview
15
+
16
+ The `ShipmentInTransit` event is emitted when a shipment is in transit. It provides information such as the shipment status (e.g., pending, completed, shipped), the items within the shipment, billing and shipping details, payment information, and the order's total amount. This query is commonly used by systems managing order processing, customer service, or order tracking functionalities.
17
+
18
+ This event can be applied in e-commerce systems, marketplaces, or any platform where users and systems need real-time shipment data for tracking, auditing, or managing customer purchases.
19
+
20
+ <NodeGraph />
21
+
22
+ <SchemaViewer file="schema.json" title="JSON Schema" maxHeight="500" />
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "title": "ShipmentInTransit",
5
+ "description": "Schema for shipment in transit event",
6
+ "properties": {
7
+ "shipmentId": {
8
+ "type": "string",
9
+ "description": "Unique identifier for the shipment"
10
+ },
11
+ "orderId": {
12
+ "type": "string",
13
+ "description": "Identifier for the associated order"
14
+ }
15
+ },
16
+ "required": ["shipmentId", "orderId"]
17
+ }
@@ -0,0 +1,49 @@
1
+ ---
2
+ id: ShippingService
3
+ version: 0.0.1
4
+ name: Shipping Service
5
+ summary: |
6
+ Service that handles shipping
7
+ owners:
8
+ - dboyne
9
+ receives:
10
+ - id: CancelShipment
11
+ - id: CreateReturnLabel
12
+ - id: CreateShipment
13
+ - id: UpdateShipmentStatus
14
+ - id: PaymentProcessed
15
+ sends:
16
+ - id: ShipmentCreated
17
+ - id: ReturnInitiated
18
+ - id: ShipmentDispatched
19
+ - id: ShipmentInTransit
20
+ - id: ShipmentDelivered
21
+ - id: DeliveryFailed
22
+ repository:
23
+ language: JavaScript
24
+ url: https://github.com/event-catalog/pretend-shipping-service
25
+ ---
26
+
27
+ import Footer from '@catalog/components/footer.astro';
28
+
29
+ ## Overview
30
+
31
+ The Shipping Service is responsible for managing shipping within the system. It handles order creation, updating, status tracking, and interactions with other services such as Inventory, Payment, and Notification services to ensure smooth order processing and fulfillment.
32
+
33
+ <Tiles >
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" />
36
+ </Tiles>
37
+
38
+ ### Core features
39
+
40
+ The Shipping Service is responsible for managing shipping within the system. It handles order creation, updating, status tracking, and interactions with other services such as Inventory, Payment, and Notification services to ensure smooth order processing and fulfillment.
41
+
42
+
43
+ ## Architecture diagram
44
+
45
+ <NodeGraph />
46
+
47
+ <MessageTable format="all" limit={4} />
48
+
49
+ <Footer />
@@ -1,7 +1,7 @@
1
1
  /** @type {import('@eventcatalog/core/bin/eventcatalog.config').Config} */
2
2
  export default {
3
3
  title: 'EventCatalog',
4
- tagline: 'Discover, Explore and Document your Event Driven Architectures',
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',
5
5
  organizationName: '<organizationName>',
6
6
  homepageLink: 'https://eventcatalog.dev/',
7
7
  editUrl: 'https://github.com/boyney123/eventcatalog-demo/edit/master',
@@ -19,8 +19,8 @@ export default {
19
19
  docs: {
20
20
  sidebar: {
21
21
  // TREE_VIEW will render the DOCS as a tree view and map your file system folder structure
22
- // FLAT_VIEW will render the DOCS as a flat list (no nested folders)
23
- type: 'TREE_VIEW'
22
+ // LIST_VIEW will render the DOCS that look familiar to API documentation websites
23
+ type: 'LIST_VIEW'
24
24
  },
25
25
  },
26
26
  // Enable RSS feed for your eventcatalog
@@ -1,7 +1,7 @@
1
1
  /** @type {import('@eventcatalog/core/bin/eventcatalog.config').Config} */
2
2
  export default {
3
3
  title: 'EventCatalog',
4
- tagline: 'Discover, Explore and Document your Event Driven Architectures',
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',
5
5
  organizationName: '<organizationName>',
6
6
  homepageLink: 'https://eventcatalog.dev/',
7
7
  editUrl: 'https://github.com/boyney123/eventcatalog-demo/edit/master',
@@ -25,8 +25,8 @@ export default {
25
25
  docs: {
26
26
  sidebar: {
27
27
  // TREE_VIEW will render the DOCS as a tree view and map your file system folder structure
28
- // FLAT_VIEW will render the DOCS as a flat list (no nested folders)
29
- type: 'TREE_VIEW'
28
+ // LIST_VIEW will render the DOCS that look familiar to API documentation websites
29
+ type: 'LIST_VIEW'
30
30
  },
31
31
  },
32
32
  // required random generated id used by eventcatalog
@@ -6,7 +6,7 @@ const __dirname = path.dirname(url.fileURLToPath(import.meta.url));
6
6
  /** @type {import('@eventcatalog/core/bin/eventcatalog.config').Config} */
7
7
  export default {
8
8
  title: "EventCatalog",
9
- tagline: "Discover, Explore and Document your Event Driven Architectures",
9
+ 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',
10
10
  organizationName: '<organizationName>',
11
11
  homepageLink: "https://eventcatalog.dev/",
12
12
  editUrl: "https://github.com/boyney123/eventcatalog-demo/edit/master",
@@ -58,8 +58,8 @@ export default {
58
58
  docs: {
59
59
  sidebar: {
60
60
  // TREE_VIEW will render the DOCS as a tree view and map your file system folder structure
61
- // FLAT_VIEW will render the DOCS as a flat list (no nested folders)
62
- type: 'TREE_VIEW'
61
+ // LIST_VIEW will render the DOCS that look familiar to API documentation websites
62
+ type: 'LIST_VIEW'
63
63
  },
64
64
  },
65
65
  // Enable RSS feed for your eventcatalog