@eventcatalog/create-eventcatalog 2.0.22 → 2.1.1
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.
- package/README.md +32 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/templates/default/channels/inventory.{env}.events/index.md +157 -0
- package/templates/default/channels/orders.{env}.events/index.md +82 -0
- package/templates/default/channels/payment.{env}.events/index.md +88 -0
- package/templates/default/components/footer.astro +8 -0
- package/templates/default/domains/Orders/index.md +19 -3
- package/templates/default/{commands → domains/Orders/services/InventoryService/commands}/AddInventory/index.md +10 -0
- package/templates/default/domains/Orders/services/InventoryService/commands/PlaceOrder/index.md +36 -0
- package/templates/default/domains/Orders/services/InventoryService/commands/PlaceOrder/schema.json +124 -0
- package/templates/default/{commands → domains/Orders/services/InventoryService/commands}/UpdateInventory/index.md +9 -0
- package/templates/default/{events/Inventory → domains/Orders/services/InventoryService/events}/InventoryAdjusted/index.md +14 -3
- package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/schema.json +35 -0
- package/templates/default/{events/Inventory/InventoryAdjusted/versioned/0.0.3 → domains/Orders/services/InventoryService/events/InventoryAdjusted/versioned/1.0.0}/index.md +1 -1
- package/templates/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/versioned/1.0.0/schema.avro +10 -0
- package/templates/default/domains/Orders/services/InventoryService/events/OutOfStock/index.md +102 -0
- package/templates/default/{events/Inventory/OutOfStock → domains/Orders/services/InventoryService/events/OutOfStock/versioned/0.0.1}/index.md +1 -1
- package/templates/default/{services → domains/Orders/services}/InventoryService/index.md +49 -4
- package/templates/default/domains/Orders/services/InventoryService/queries/GetInventoryList/index.md +22 -0
- package/templates/default/domains/Orders/services/InventoryService/queries/GetInventoryList/schema.json +53 -0
- package/templates/default/domains/Orders/services/InventoryService/queries/GetInventoryStatus/index.md +41 -0
- package/templates/default/domains/Orders/services/InventoryService/queries/GetInventoryStatus/schema.json +28 -0
- package/templates/default/{services → domains/Orders/services}/InventoryService/versioned/0.0.1/index.md +2 -2
- package/templates/default/{services → domains/Orders/services}/NotificationService/index.md +21 -4
- package/templates/default/domains/Orders/services/NotificationService/queries/GetNotificationDetails/index.md +26 -0
- package/templates/default/domains/Orders/services/NotificationService/queries/GetNotificationDetails/schema.json +56 -0
- package/templates/default/domains/Orders/services/NotificationService/queries/GetUserNotifications/index.md +27 -0
- package/templates/default/domains/Orders/services/NotificationService/queries/GetUserNotifications/schema.json +47 -0
- package/templates/default/domains/Orders/services/OrdersService/changelog.md +3 -0
- package/templates/default/{events/Order → domains/Orders/services/OrdersService/events}/OrderAmended/index.md +9 -0
- package/templates/default/{events/Order → domains/Orders/services/OrdersService/events}/OrderCancelled/index.md +7 -1
- package/templates/default/{events/Order → domains/Orders/services/OrdersService/events}/OrderConfirmed/index.md +7 -1
- package/templates/default/{services → domains/Orders/services}/OrdersService/index.md +13 -4
- package/templates/default/domains/Orders/services/OrdersService/openapi.yml +185 -0
- package/templates/default/domains/Orders/services/OrdersService/order-service-asyncapi.yaml +148 -0
- package/templates/default/domains/Orders/services/OrdersService/queries/GetOrder/index.md +26 -0
- package/templates/default/domains/Orders/services/OrdersService/versioned/0.0.2/changelog.md +3 -0
- package/templates/default/domains/Orders/services/OrdersService/versioned/0.0.2/index.md +34 -0
- package/templates/default/domains/Orders/services/OrdersService/versioned/0.0.2/openapi.yml +96 -0
- package/templates/default/domains/Orders/services/OrdersService/versioned/0.0.2/order-service-asyncapi.yaml +148 -0
- package/templates/default/domains/Orders/ubiquitous-language.md +127 -0
- package/templates/default/domains/Orders/versioned/0.0.1/index.md +1 -0
- package/templates/default/domains/Orders/versioned/0.0.2/index.md +49 -0
- package/templates/default/domains/Payment/index.md +1 -6
- package/templates/default/{events/Payment → domains/Payment/services/PaymentService/events}/PaymentInitiated/index.md +9 -1
- package/templates/default/domains/Payment/services/PaymentService/events/PaymentProcessed/index.md +46 -0
- package/templates/default/{events/Payment/PaymentProcessed → domains/Payment/services/PaymentService/events/PaymentProcessed/versioned/0.0.1}/index.md +5 -1
- package/templates/default/{services → domains/Payment/services}/PaymentService/index.md +3 -8
- package/templates/default/domains/Payment/services/PaymentService/queries/GetPaymentStatus/index.md +26 -0
- package/templates/default/domains/Payment/services/PaymentService/queries/GetPaymentStatus/schema.json +40 -0
- package/templates/default/domains/Payment/ubiquitous-language.md +96 -0
- package/templates/default/domains/Subscriptions/index.md +24 -0
- package/templates/default/domains/Subscriptions/services/SubscriptionService/commands/CancelSubscription/index.md +25 -0
- package/templates/default/domains/Subscriptions/services/SubscriptionService/commands/SubscribeUser/index.md +25 -0
- package/templates/default/domains/Subscriptions/services/SubscriptionService/events/UserSubscriptionCancelled/index.md +25 -0
- package/templates/default/domains/Subscriptions/services/SubscriptionService/events/UserSubscriptionStarted/index.md +25 -0
- package/templates/default/domains/Subscriptions/services/SubscriptionService/index.md +42 -0
- package/templates/default/domains/Subscriptions/services/SubscriptionService/queries/GetSubscriptionStatus/index.md +26 -0
- package/templates/default/domains/Subscriptions/services/SubscriptionService/queries/GetSubscriptionStatus/schema.json +46 -0
- package/templates/default/domains/Subscriptions/services/SubscriptionService/queries/GetSubscriptionStatus/versioned/0.0.1/index.md +26 -0
- package/templates/default/domains/Subscriptions/services/SubscriptionService/queries/GetSubscriptionStatus/versioned/0.0.1/schema.json +46 -0
- package/templates/default/domains/Subscriptions/ubiquitous-language.md +129 -0
- package/templates/default/eventcatalog.config.js +0 -6
- package/templates/default/events/Inventory/InventoryAdjusted/schema.json +0 -17
- package/templates/default/events/Inventory/InventoryAdjusted/versioned/0.0.3/schema.avro +0 -14
- package/templates/default/services/OrdersService/openapi.yml +0 -170
- /package/templates/default/{services → domains/Orders/services}/InventoryService/changelog.md +0 -0
- /package/templates/default/{commands → domains/Orders/services/InventoryService/commands}/AddInventory/schema.json +0 -0
- /package/templates/default/{commands → domains/Orders/services/InventoryService/commands}/UpdateInventory/schema.json +0 -0
- /package/templates/default/{events/Inventory → domains/Orders/services/InventoryService/events}/InventoryAdjusted/changelog.md +0 -0
- /package/templates/default/{events/Inventory → domains/Orders/services/InventoryService/events}/InventoryAdjusted/schema.avro +0 -0
- /package/templates/default/{events/Inventory → domains/Orders/services/InventoryService/events}/InventoryAdjusted/versioned/0.0.1/changelog.md +0 -0
- /package/templates/default/{events/Inventory → domains/Orders/services/InventoryService/events}/InventoryAdjusted/versioned/0.0.1/index.md +0 -0
- /package/templates/default/{events/Inventory → domains/Orders/services/InventoryService/events}/InventoryAdjusted/versioned/0.0.1/schema.avro +0 -0
- /package/templates/default/{events/Inventory/InventoryAdjusted/versioned/0.0.3 → domains/Orders/services/InventoryService/events/InventoryAdjusted/versioned/1.0.0}/changelog.md +0 -0
- /package/templates/default/{events/Order → domains/Orders/services/OrdersService/events}/OrderAmended/schema.avro +0 -0
- /package/templates/default/{events/Order → domains/Orders/services/OrdersService/events}/OrderAmended/schema.json +0 -0
- /package/templates/default/{events/Order → domains/Orders/services/OrdersService/events}/OrderCancelled/schema.json +0 -0
- /package/templates/default/{events/Order → domains/Orders/services/OrdersService/events}/OrderConfirmed/schema.json +0 -0
- /package/templates/default/{flows/Payment → domains/Payment/flows}/PaymentProcessed/index.md +0 -0
- /package/templates/default/{flows/Subscriptions → domains/Subscriptions/flows}/CancelSubscription/index.md +0 -0
- /package/templates/default/{flows/Subscriptions → domains/Subscriptions/flows}/CancelSubscription/versioned/0.0.1/index.md +0 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: SubscribeUser
|
|
3
|
+
name: Subscribe user
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
summary: |
|
|
6
|
+
Command that will try and subscribe a given user
|
|
7
|
+
owners:
|
|
8
|
+
- dboyne
|
|
9
|
+
badges:
|
|
10
|
+
- content: New!
|
|
11
|
+
backgroundColor: green
|
|
12
|
+
textColor: green
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
import Footer from '@catalog/components/footer.astro';
|
|
16
|
+
|
|
17
|
+
## Overview
|
|
18
|
+
|
|
19
|
+
The `SubscribeUser` command represents when a new user wants to subscribe to our service.
|
|
20
|
+
|
|
21
|
+
## Architecture diagram
|
|
22
|
+
|
|
23
|
+
<NodeGraph />
|
|
24
|
+
|
|
25
|
+
<Footer />
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: UserSubscriptionCancelled
|
|
3
|
+
name: User subscription cancelled
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
summary: |
|
|
6
|
+
An event that is triggered when a users subscription has been cancelled
|
|
7
|
+
owners:
|
|
8
|
+
- dboyne
|
|
9
|
+
badges:
|
|
10
|
+
- content: New!
|
|
11
|
+
backgroundColor: green
|
|
12
|
+
textColor: green
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
import Footer from '@catalog/components/footer.astro';
|
|
16
|
+
|
|
17
|
+
## Overview
|
|
18
|
+
|
|
19
|
+
The `UserSubscriptionCancelled` event is triggered when a users subscription has been cancelled.
|
|
20
|
+
|
|
21
|
+
## Architecture diagram
|
|
22
|
+
|
|
23
|
+
<NodeGraph />
|
|
24
|
+
|
|
25
|
+
<Footer />
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: UserSubscriptionStarted
|
|
3
|
+
name: User subscription started
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
summary: |
|
|
6
|
+
An event that is triggered when a new user subscription has started
|
|
7
|
+
owners:
|
|
8
|
+
- dboyne
|
|
9
|
+
badges:
|
|
10
|
+
- content: New!
|
|
11
|
+
backgroundColor: green
|
|
12
|
+
textColor: green
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
import Footer from '@catalog/components/footer.astro';
|
|
16
|
+
|
|
17
|
+
## Overview
|
|
18
|
+
|
|
19
|
+
The `UserSubscriptionStarted` event is triggered when a user starts a new subscription with our service.
|
|
20
|
+
|
|
21
|
+
## Architecture diagram
|
|
22
|
+
|
|
23
|
+
<NodeGraph />
|
|
24
|
+
|
|
25
|
+
<Footer />
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: SubscriptionService
|
|
3
|
+
version: 0.0.1
|
|
4
|
+
name: Subscription Service
|
|
5
|
+
summary: |
|
|
6
|
+
Service that handles subscriptions
|
|
7
|
+
owners:
|
|
8
|
+
- dboyne
|
|
9
|
+
receives:
|
|
10
|
+
- id: SubscribeUser
|
|
11
|
+
version: 0.0.1
|
|
12
|
+
- id: CancelSubscription
|
|
13
|
+
version: 0.0.1
|
|
14
|
+
- id: GetSubscriptionStatus
|
|
15
|
+
sends:
|
|
16
|
+
- id: UserSubscriptionStarted
|
|
17
|
+
version: 0.0.1
|
|
18
|
+
- id: UserSubscriptionCancelled
|
|
19
|
+
version: 0.0.1
|
|
20
|
+
repository:
|
|
21
|
+
language: JavaScript
|
|
22
|
+
url: https://github.com/event-catalog/pretend-subscription-service
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
import Footer from '@catalog/components/footer.astro';
|
|
26
|
+
|
|
27
|
+
## Overview
|
|
28
|
+
|
|
29
|
+
The subscription Service is responsible for handling customer subscriptions in our system. It handles new subscriptions, cancelling subscriptions and updating them.
|
|
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" />
|
|
36
|
+
</Tiles>
|
|
37
|
+
|
|
38
|
+
## Architecture diagram
|
|
39
|
+
|
|
40
|
+
<NodeGraph />
|
|
41
|
+
|
|
42
|
+
<Footer />
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: GetSubscriptionStatus
|
|
3
|
+
name: Get subscription status
|
|
4
|
+
version: 0.0.2
|
|
5
|
+
summary: |
|
|
6
|
+
GET request that will return the current subscription status for a specific user, identified by their userId.
|
|
7
|
+
owners:
|
|
8
|
+
- dboyne
|
|
9
|
+
badges:
|
|
10
|
+
- content: Recently updated!
|
|
11
|
+
backgroundColor: green
|
|
12
|
+
textColor: green
|
|
13
|
+
schemaPath: schema.json
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
import Footer from '@catalog/components/footer.astro';
|
|
17
|
+
|
|
18
|
+
## Overview
|
|
19
|
+
|
|
20
|
+
The `GetSubscriptionStatus` message is a query used to retrieve the current subscription status for a specific user, identified by their `userId`. This query returns detailed information about the user's subscription, such as its current status (active, canceled, expired), the subscription tier or plan, and the next billing date. It is typically used by systems that manage user subscriptions, billing, and renewal processes to ensure that users are aware of their subscription details and any upcoming renewals.
|
|
21
|
+
|
|
22
|
+
This query is particularly useful in managing subscriptions for SaaS products, media services, or any recurring payment-based services where users need to manage and view their subscription information.
|
|
23
|
+
|
|
24
|
+
<NodeGraph />
|
|
25
|
+
|
|
26
|
+
<SchemaViewer file="schema.json" title="JSON Schema" maxHeight="500" />
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
|
|
2
|
+
{
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "GetSubscriptionStatusResponse",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"userId": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "The unique identifier for the user."
|
|
10
|
+
},
|
|
11
|
+
"subscriptionStatus": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enum": ["active", "canceled", "expired", "pending"],
|
|
14
|
+
"description": "The current status of the user's subscription."
|
|
15
|
+
},
|
|
16
|
+
"subscriptionPlan": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "The name or tier of the subscription plan."
|
|
19
|
+
},
|
|
20
|
+
"nextBillingDate": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"format": "date-time",
|
|
23
|
+
"description": "The date and time of the next billing or renewal."
|
|
24
|
+
},
|
|
25
|
+
"billingFrequency": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"enum": ["monthly", "yearly"],
|
|
28
|
+
"description": "The frequency of the billing cycle."
|
|
29
|
+
},
|
|
30
|
+
"amount": {
|
|
31
|
+
"type": "number",
|
|
32
|
+
"description": "The amount to be billed for the subscription."
|
|
33
|
+
},
|
|
34
|
+
"currency": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "The currency in which the subscription is billed (e.g., USD, EUR)."
|
|
37
|
+
},
|
|
38
|
+
"lastPaymentDate": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"format": "date-time",
|
|
41
|
+
"description": "The date and time when the last payment was processed."
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"required": ["userId", "subscriptionStatus", "subscriptionPlan", "nextBillingDate", "billingFrequency", "amount", "currency", "lastPaymentDate"],
|
|
45
|
+
"additionalProperties": false
|
|
46
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: GetSubscriptionStatus
|
|
3
|
+
name: Get subscription status
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
summary: |
|
|
6
|
+
GET request that will return the current subscription status for a specific user, identified by their userId.
|
|
7
|
+
owners:
|
|
8
|
+
- dboyne
|
|
9
|
+
badges:
|
|
10
|
+
- content: Recently updated!
|
|
11
|
+
backgroundColor: green
|
|
12
|
+
textColor: green
|
|
13
|
+
schemaPath: schema.json
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
import Footer from '@catalog/components/footer.astro';
|
|
17
|
+
|
|
18
|
+
## Overview
|
|
19
|
+
|
|
20
|
+
The `GetSubscriptionStatus` message is a query used to retrieve the current subscription status for a specific user, identified by their `userId`. This query returns detailed information about the user's subscription, such as its current status (active, canceled, expired), the subscription tier or plan, and the next billing date. It is typically used by systems that manage user subscriptions, billing, and renewal processes to ensure that users are aware of their subscription details and any upcoming renewals.
|
|
21
|
+
|
|
22
|
+
This query is particularly useful in managing subscriptions for SaaS products, media services, or any recurring payment-based services where users need to manage and view their subscription information.
|
|
23
|
+
|
|
24
|
+
<NodeGraph />
|
|
25
|
+
|
|
26
|
+
<SchemaViewer file="schema.json" title="JSON Schema" maxHeight="500" />
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
|
|
2
|
+
{
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "GetSubscriptionStatusResponse",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"userId": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "The unique identifier for the user."
|
|
10
|
+
},
|
|
11
|
+
"subscriptionStatus": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enum": ["active", "canceled", "expired", "pending"],
|
|
14
|
+
"description": "The current status of the user's subscription."
|
|
15
|
+
},
|
|
16
|
+
"subscriptionPlan": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "The name or tier of the subscription plan."
|
|
19
|
+
},
|
|
20
|
+
"nextBillingDate": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"format": "date-time",
|
|
23
|
+
"description": "The date and time of the next billing or renewal."
|
|
24
|
+
},
|
|
25
|
+
"billingFrequency": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"enum": ["monthly", "yearly"],
|
|
28
|
+
"description": "The frequency of the billing cycle."
|
|
29
|
+
},
|
|
30
|
+
"amount": {
|
|
31
|
+
"type": "number",
|
|
32
|
+
"description": "The amount to be billed for the subscription."
|
|
33
|
+
},
|
|
34
|
+
"currency": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "The currency in which the subscription is billed (e.g., USD, EUR)."
|
|
37
|
+
},
|
|
38
|
+
"lastPaymentDate": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"format": "date-time",
|
|
41
|
+
"description": "The date and time when the last payment was processed."
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"required": ["userId", "subscriptionStatus", "subscriptionPlan", "nextBillingDate", "billingFrequency", "amount", "currency", "lastPaymentDate"],
|
|
45
|
+
"additionalProperties": false
|
|
46
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
---
|
|
2
|
+
dictionary:
|
|
3
|
+
- id: Subscription
|
|
4
|
+
name: Subscription
|
|
5
|
+
summary: "A recurring agreement where a customer pays for access to a product or service at regular intervals."
|
|
6
|
+
description: |
|
|
7
|
+
A subscription represents an ongoing relationship between customer and provider. Key aspects include:
|
|
8
|
+
|
|
9
|
+
- Subscription plan details
|
|
10
|
+
- Billing frequency
|
|
11
|
+
- Access rights and limitations
|
|
12
|
+
- Start and end dates
|
|
13
|
+
- Auto-renewal settings
|
|
14
|
+
|
|
15
|
+
Subscriptions provide predictable revenue for businesses and convenient access for customers.
|
|
16
|
+
icon: Repeat
|
|
17
|
+
- id: Billing Cycle
|
|
18
|
+
name: Billing Cycle
|
|
19
|
+
summary: "The recurring period for which a subscription is billed."
|
|
20
|
+
description: |
|
|
21
|
+
Billing cycles define when payments are collected and services are provided. They include:
|
|
22
|
+
|
|
23
|
+
- Cycle duration (monthly, annually, etc.)
|
|
24
|
+
- Billing date
|
|
25
|
+
- Payment due dates
|
|
26
|
+
- Pro-ration rules
|
|
27
|
+
- Grace periods
|
|
28
|
+
|
|
29
|
+
Clear billing cycles help manage customer expectations and cash flow.
|
|
30
|
+
icon: Calendar
|
|
31
|
+
- id: Plan
|
|
32
|
+
name: Plan
|
|
33
|
+
summary: "A specific subscription offering with defined features, pricing, and terms."
|
|
34
|
+
description: |
|
|
35
|
+
Subscription plans define the service levels available to customers. They specify:
|
|
36
|
+
|
|
37
|
+
- Feature sets and limitations
|
|
38
|
+
- Pricing structure
|
|
39
|
+
- Billing frequency options
|
|
40
|
+
- Usage allowances
|
|
41
|
+
- Additional benefits
|
|
42
|
+
|
|
43
|
+
Well-designed plans cater to different customer segments and needs.
|
|
44
|
+
icon: Layout
|
|
45
|
+
- id: Trial Period
|
|
46
|
+
name: Trial Period
|
|
47
|
+
summary: "A promotional period allowing customers to test a subscription service before committing."
|
|
48
|
+
description: |
|
|
49
|
+
Trial periods help customers evaluate the service risk-free. They include:
|
|
50
|
+
|
|
51
|
+
- Duration of trial
|
|
52
|
+
- Available features
|
|
53
|
+
- Conversion process
|
|
54
|
+
- Payment information requirements
|
|
55
|
+
- Trial end notifications
|
|
56
|
+
|
|
57
|
+
Effective trials can increase conversion rates to paid subscriptions.
|
|
58
|
+
icon: Clock
|
|
59
|
+
- id: Auto-Renewal
|
|
60
|
+
name: Auto-Renewal
|
|
61
|
+
summary: "Automatic continuation of a subscription at the end of each billing period."
|
|
62
|
+
description: |
|
|
63
|
+
Auto-renewal ensures service continuity for customers. The process includes:
|
|
64
|
+
|
|
65
|
+
- Renewal notifications
|
|
66
|
+
- Payment processing
|
|
67
|
+
- Service extension
|
|
68
|
+
- Failed payment handling
|
|
69
|
+
- Cancellation options
|
|
70
|
+
|
|
71
|
+
Auto-renewal reduces churn and maintains steady revenue streams.
|
|
72
|
+
icon: RefreshCw
|
|
73
|
+
- id: Upgrade
|
|
74
|
+
name: Upgrade
|
|
75
|
+
summary: "The process of moving to a higher-tier subscription plan."
|
|
76
|
+
description: |
|
|
77
|
+
Upgrades allow customers to access more features or capacity. This involves:
|
|
78
|
+
|
|
79
|
+
- Plan comparison
|
|
80
|
+
- Pro-rated billing adjustments
|
|
81
|
+
- Feature activation
|
|
82
|
+
- Data migration if needed
|
|
83
|
+
- Service level changes
|
|
84
|
+
|
|
85
|
+
Smooth upgrade processes encourage customer growth.
|
|
86
|
+
icon: ArrowUpCircle
|
|
87
|
+
- id: Downgrade
|
|
88
|
+
name: Downgrade
|
|
89
|
+
summary: "The process of moving to a lower-tier subscription plan."
|
|
90
|
+
description: |
|
|
91
|
+
Downgrades adjust service levels to match customer needs. This includes:
|
|
92
|
+
|
|
93
|
+
- Feature reduction
|
|
94
|
+
- Billing adjustments
|
|
95
|
+
- Data retention policies
|
|
96
|
+
- Service level changes
|
|
97
|
+
- Customer retention strategies
|
|
98
|
+
|
|
99
|
+
Flexible downgrade options can prevent complete cancellations.
|
|
100
|
+
icon: ArrowDownCircle
|
|
101
|
+
- id: Cancellation
|
|
102
|
+
name: Cancellation
|
|
103
|
+
summary: "The termination of a subscription service."
|
|
104
|
+
description: |
|
|
105
|
+
Cancellation processes handle the end of subscription relationships. They cover:
|
|
106
|
+
|
|
107
|
+
- Notice periods
|
|
108
|
+
- Final billing
|
|
109
|
+
- Data retention/export
|
|
110
|
+
- Service access termination
|
|
111
|
+
- Reactivation options
|
|
112
|
+
|
|
113
|
+
Clear cancellation policies protect both customer and provider interests.
|
|
114
|
+
icon: XCircle
|
|
115
|
+
- id: Usage Limit
|
|
116
|
+
name: Usage Limit
|
|
117
|
+
summary: "Restrictions on service usage within a subscription plan."
|
|
118
|
+
description: |
|
|
119
|
+
Usage limits define the boundaries of service consumption. They include:
|
|
120
|
+
|
|
121
|
+
- Quantitative restrictions
|
|
122
|
+
- Monitoring systems
|
|
123
|
+
- Overage handling
|
|
124
|
+
- Alert mechanisms
|
|
125
|
+
- Upgrade triggers
|
|
126
|
+
|
|
127
|
+
Well-defined limits help manage resources and encourage appropriate plan selection.
|
|
128
|
+
icon: Gauge
|
|
129
|
+
---
|
|
@@ -16,12 +16,6 @@ export default {
|
|
|
16
16
|
src: '/logo.png',
|
|
17
17
|
text: 'EventCatalog'
|
|
18
18
|
},
|
|
19
|
-
docs: {
|
|
20
|
-
sidebar: {
|
|
21
|
-
// Should the sub heading be rendered in the docs sidebar?
|
|
22
|
-
showPageHeadings: true
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
19
|
// required random generated id used by eventcatalog
|
|
26
20
|
cId: '<cId>'
|
|
27
21
|
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"title": "Employee",
|
|
5
|
-
"properties": {
|
|
6
|
-
"Name": {
|
|
7
|
-
"type": "string"
|
|
8
|
-
},
|
|
9
|
-
"Age": {
|
|
10
|
-
"type": "integer"
|
|
11
|
-
},
|
|
12
|
-
"Town": {
|
|
13
|
-
"type": "string"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"required": ["Name", "Age", "Town"]
|
|
17
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type" : "record",
|
|
3
|
-
"namespace" : "Tutorialspoint",
|
|
4
|
-
"name" : "Employee",
|
|
5
|
-
"fields" : [
|
|
6
|
-
{ "name" : "Name" , "type" : "string" },
|
|
7
|
-
{ "name" : "Age" , "type" : "int" },
|
|
8
|
-
{ "name" : "Age" , "type" : "int" },
|
|
9
|
-
{ "name" : "Age" , "type" : "int" },
|
|
10
|
-
{ "name" : "Age" , "type" : "int" },
|
|
11
|
-
{ "name" : "Age" , "type" : "int" },
|
|
12
|
-
{ "name" : "Age" , "type" : "int" }
|
|
13
|
-
]
|
|
14
|
-
}
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
openapi: "3.0.0"
|
|
2
|
-
info:
|
|
3
|
-
title: Simple API overview
|
|
4
|
-
version: 2.0.0
|
|
5
|
-
paths:
|
|
6
|
-
/:
|
|
7
|
-
get:
|
|
8
|
-
operationId: listVersionsv2
|
|
9
|
-
summary: List API versions
|
|
10
|
-
responses:
|
|
11
|
-
'200':
|
|
12
|
-
description: |-
|
|
13
|
-
200 response
|
|
14
|
-
content:
|
|
15
|
-
application/json:
|
|
16
|
-
examples:
|
|
17
|
-
foo:
|
|
18
|
-
value:
|
|
19
|
-
{
|
|
20
|
-
"versions": [
|
|
21
|
-
{
|
|
22
|
-
"status": "CURRENT",
|
|
23
|
-
"updated": "2011-01-21T11:33:21Z",
|
|
24
|
-
"id": "v2.0",
|
|
25
|
-
"links": [
|
|
26
|
-
{
|
|
27
|
-
"href": "http://127.0.0.1:8774/v2/",
|
|
28
|
-
"rel": "self"
|
|
29
|
-
}
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"status": "EXPERIMENTAL",
|
|
34
|
-
"updated": "2013-07-23T11:33:21Z",
|
|
35
|
-
"id": "v3.0",
|
|
36
|
-
"links": [
|
|
37
|
-
{
|
|
38
|
-
"href": "http://127.0.0.1:8774/v3/",
|
|
39
|
-
"rel": "self"
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
]
|
|
44
|
-
}
|
|
45
|
-
'300':
|
|
46
|
-
description: |-
|
|
47
|
-
300 response
|
|
48
|
-
content:
|
|
49
|
-
application/json:
|
|
50
|
-
examples:
|
|
51
|
-
foo:
|
|
52
|
-
value: |
|
|
53
|
-
{
|
|
54
|
-
"versions": [
|
|
55
|
-
{
|
|
56
|
-
"status": "CURRENT",
|
|
57
|
-
"updated": "2011-01-21T11:33:21Z",
|
|
58
|
-
"id": "v2.0",
|
|
59
|
-
"links": [
|
|
60
|
-
{
|
|
61
|
-
"href": "http://127.0.0.1:8774/v2/",
|
|
62
|
-
"rel": "self"
|
|
63
|
-
}
|
|
64
|
-
]
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"status": "EXPERIMENTAL",
|
|
68
|
-
"updated": "2013-07-23T11:33:21Z",
|
|
69
|
-
"id": "v3.0",
|
|
70
|
-
"links": [
|
|
71
|
-
{
|
|
72
|
-
"href": "http://127.0.0.1:8774/v3/",
|
|
73
|
-
"rel": "self"
|
|
74
|
-
}
|
|
75
|
-
]
|
|
76
|
-
}
|
|
77
|
-
]
|
|
78
|
-
}
|
|
79
|
-
/v2:
|
|
80
|
-
get:
|
|
81
|
-
operationId: getVersionDetailsv2
|
|
82
|
-
summary: Show API version details
|
|
83
|
-
responses:
|
|
84
|
-
'200':
|
|
85
|
-
description: |-
|
|
86
|
-
200 response
|
|
87
|
-
content:
|
|
88
|
-
application/json:
|
|
89
|
-
examples:
|
|
90
|
-
foo:
|
|
91
|
-
value:
|
|
92
|
-
{
|
|
93
|
-
"version": {
|
|
94
|
-
"status": "CURRENT",
|
|
95
|
-
"updated": "2011-01-21T11:33:21Z",
|
|
96
|
-
"media-types": [
|
|
97
|
-
{
|
|
98
|
-
"base": "application/xml",
|
|
99
|
-
"type": "application/vnd.openstack.compute+xml;version=2"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"base": "application/json",
|
|
103
|
-
"type": "application/vnd.openstack.compute+json;version=2"
|
|
104
|
-
}
|
|
105
|
-
],
|
|
106
|
-
"id": "v2.0",
|
|
107
|
-
"links": [
|
|
108
|
-
{
|
|
109
|
-
"href": "http://127.0.0.1:8774/v2/",
|
|
110
|
-
"rel": "self"
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"href": "http://docs.openstack.org/api/openstack-compute/2/os-compute-devguide-2.pdf",
|
|
114
|
-
"type": "application/pdf",
|
|
115
|
-
"rel": "describedby"
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"href": "http://docs.openstack.org/api/openstack-compute/2/wadl/os-compute-2.wadl",
|
|
119
|
-
"type": "application/vnd.sun.wadl+xml",
|
|
120
|
-
"rel": "describedby"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"href": "http://docs.openstack.org/api/openstack-compute/2/wadl/os-compute-2.wadl",
|
|
124
|
-
"type": "application/vnd.sun.wadl+xml",
|
|
125
|
-
"rel": "describedby"
|
|
126
|
-
}
|
|
127
|
-
]
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
'203':
|
|
131
|
-
description: |-
|
|
132
|
-
203 response
|
|
133
|
-
content:
|
|
134
|
-
application/json:
|
|
135
|
-
examples:
|
|
136
|
-
foo:
|
|
137
|
-
value:
|
|
138
|
-
{
|
|
139
|
-
"version": {
|
|
140
|
-
"status": "CURRENT",
|
|
141
|
-
"updated": "2011-01-21T11:33:21Z",
|
|
142
|
-
"media-types": [
|
|
143
|
-
{
|
|
144
|
-
"base": "application/xml",
|
|
145
|
-
"type": "application/vnd.openstack.compute+xml;version=2"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"base": "application/json",
|
|
149
|
-
"type": "application/vnd.openstack.compute+json;version=2"
|
|
150
|
-
}
|
|
151
|
-
],
|
|
152
|
-
"id": "v2.0",
|
|
153
|
-
"links": [
|
|
154
|
-
{
|
|
155
|
-
"href": "http://23.253.228.211:8774/v2/",
|
|
156
|
-
"rel": "self"
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"href": "http://docs.openstack.org/api/openstack-compute/2/os-compute-devguide-2.pdf",
|
|
160
|
-
"type": "application/pdf",
|
|
161
|
-
"rel": "describedby"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"href": "http://docs.openstack.org/api/openstack-compute/2/wadl/os-compute-2.wadl",
|
|
165
|
-
"type": "application/vnd.sun.wadl+xml",
|
|
166
|
-
"rel": "describedby"
|
|
167
|
-
}
|
|
168
|
-
]
|
|
169
|
-
}
|
|
170
|
-
}
|
/package/templates/default/{services → domains/Orders/services}/InventoryService/changelog.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/templates/default/{flows/Payment → domains/Payment/flows}/PaymentProcessed/index.md
RENAMED
|
File without changes
|
|
File without changes
|