-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from boyney123/catalog-cli-adding-dynamodb-res…
…ource adding new ddb resource on creation of catalog
- Loading branch information
Showing
4 changed files
with
50 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@cloudcatalog/create-catalog": patch | ||
--- | ||
|
||
adding new ddb resource on creation of catalog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
packages/create-cloudcatalog/templates/default/data/resources/dynamodb/users.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
name: users | ||
description: Table for storing user information | ||
service: user-service | ||
owners: | ||
- dboyne | ||
- user-team | ||
AWS: | ||
Arn: arn:aws:dynamodb:us-west-2:123456789123:table/user-payments | ||
TableName: user-payments | ||
CreationDateTime: '2022-09-15T09:56:47.097Z' | ||
DeletionProtectionEnabled: false | ||
TableStatus: ACTIVE | ||
TableSizeBytes: 762 | ||
StreamSpecification: | ||
StreamEnabled: true | ||
StreamViewType: NEW_AND_OLD_IMAGES | ||
ProvisionedThroughput: | ||
ReadCapacityUnits: 1 | ||
WriteCapacityUnits: 1 | ||
AttributeDefinitions: | ||
- AttributeName: id | ||
AttributeType: S | ||
Service: dynamodb | ||
AccountId: 123456789123 | ||
catalog: | ||
updatedAt: '2024-01-10T07:48:19.106Z' | ||
parent: dynamodb | ||
path: users | ||
--- | ||
|
||
## About this table | ||
|
||
The users table is an integral part of our infrastructure, serving as the backbone for managing user data. This table is tailored to support various user-related functionalities across our applications, including authentication, profile management, and user activity tracking. It is optimized for high performance and scalability to handle our growing user base. | ||
|
||
## Access patterns | ||
|
||
### User Authentication: | ||
- Primary access pattern involves querying by `userID` or `email` to retrieve credentials and perform authentication checks. | ||
- Example Query: Retrieve user details by `email` for login purposes. | ||
|
||
### Profile Information Retrieval: | ||
|
||
- Frequently accessed for displaying user profile information. | ||
- Example Query: Fetch complete user details by `userID` for profile viewing or editing. |
01ac869
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
cloudcatalog-demo – ./packages/cloudcatalog
cloudcatalog-demo-git-main-davidboyne123.vercel.app
cloudcatalog-demo-davidboyne123.vercel.app
cloudcatalog-demo.vercel.app
app.cloudcatalog.dev