@eventcatalog/create-eventcatalog 0.2.1 → 0.2.4

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.
@@ -1,6 +1,5 @@
1
1
  ---
2
2
  name: Shopping
3
- version: 0.0.1
4
3
  summary: |
5
4
  Domain for everything shopping
6
5
  owners:
@@ -8,12 +7,10 @@ owners:
8
7
  - mSmith
9
8
  ---
10
9
 
11
- <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>
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>
12
11
 
13
12
  ### Details
14
13
 
15
- This event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.
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.
16
15
 
17
- 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.
18
-
19
- <NodeGraph title="Consumer / Producer Diagram" />
16
+ <NodeGraph title="Domain Graph" />
@@ -5,6 +5,14 @@ module.exports = {
5
5
  projectName: 'Event Catalog',
6
6
  editUrl: 'https://github.com/boyney123/eventcatalog-demo/edit/master',
7
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
+ },
8
16
  logo: {
9
17
  alt: 'EventCatalog Logo',
10
18
  // found in the public dir
@@ -10,4 +10,6 @@ The payment service is our own internal payment service that listens to events f
10
10
 
11
11
  We use Stripe to handle services and use this Payment service to enrich events for internal use.
12
12
 
13
- <NodeGraph />
13
+ <OpenAPI />
14
+
15
+ <NodeGraph />
@@ -0,0 +1,94 @@
1
+ openapi: 3.0.0
2
+ info:
3
+ description: A Payment Service API
4
+ version: 0.0.1
5
+ title: Payment service API
6
+ servers:
7
+ - url: http://payment.example.com/v1
8
+ description: Optional server description, e.g. Main (production) server
9
+ - url: http://payment.example.com
10
+ description: Optional server description, e.g. Internal staging server for testing
11
+ paths:
12
+ /getSinglePaymentURL:
13
+ get:
14
+ tags:
15
+ - PaymentServices
16
+ summary: Generate a Payment endpoint URL
17
+ operationId: singlepaymenturlUsingGET
18
+ consumes:
19
+ - application/json
20
+ produces:
21
+ - application/xml
22
+ parameters:
23
+ - name: transType
24
+ in: query
25
+ description: transType
26
+ required: true
27
+ type: string
28
+ - name: invoiceNumber
29
+ in: query
30
+ description: invoiceNumber
31
+ required: true
32
+ type: string
33
+ - name: approvedPage
34
+ in: query
35
+ description: approvedPage
36
+ required: true
37
+ type: string
38
+ - name: declinedPage
39
+ in: query
40
+ description: declinedPage
41
+ required: true
42
+ type: string
43
+ - in: query
44
+ name: errorPage
45
+ description: errorPage
46
+ required: true
47
+ type: string
48
+ - in: query
49
+ name: totalItemsAmount
50
+ description: totalItemsAmount
51
+ required: true
52
+ type: string
53
+ - name: ref1
54
+ in: query
55
+ description: ref1
56
+ required: false
57
+ type: string
58
+ - name: ref2
59
+ in: query
60
+ description: ref2
61
+ required: false
62
+ type: string
63
+ - name: ref3
64
+ in: query
65
+ description: ref3
66
+ required: false
67
+ type: string
68
+ - name: minutesToExpire
69
+ in: query
70
+ description: minutesToExpire
71
+ required: true
72
+ type: string
73
+ responses:
74
+ '200':
75
+ description: Successful operation
76
+ schema:
77
+ $ref: '#/definitions/SinglePaymentResponse'
78
+ '401':
79
+ description: Unauthorized
80
+ '403':
81
+ description: Forbidden
82
+ '404':
83
+ description: Not Found
84
+ definitions:
85
+ SinglePaymentResponse:
86
+ type: object
87
+ properties:
88
+ respCode:
89
+ type: integer
90
+ format: int32
91
+ respMsg:
92
+ type: string
93
+ respValue:
94
+ type: string