-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
914 [Feature] - "Add remaining CRUD endpoints to SST" #943
914 [Feature] - "Add remaining CRUD endpoints to SST" #943
Conversation
serverless/packages/functions/src/datasets/user/delete_userdata.ts
Outdated
Show resolved
Hide resolved
Sept 23rd. Latest |
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.
overall looks good to me. left a comment
serverless/packages/functions/src/trainspace/get_all_trainspace.ts
Outdated
Show resolved
Hide resolved
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.
also, can you attach a screen recording to show that the api endpoint works and data is updated on trainspace dynamodb correctly?
|
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.
Looks good to me. Thanks for the awesome work on this. @dwu359 will review your pr and leave his comments.
https://github.com/DSGT-DLP/Deep-Learning-Playground into 914-feature-add-the-rest-of-the-crud-endpoints-to-sst
serverless/packages/functions/src/datasets/user/delete_userdata.ts
Outdated
Show resolved
Hide resolved
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.
added another comment
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.
Looks better
serverless/packages/functions/src/trainspace/delete_trainspace.ts
Outdated
Show resolved
Hide resolved
serverless/packages/functions/src/trainspace/delete_trainspace.ts
Outdated
Show resolved
Hide resolved
serverless/packages/functions/src/trainspace/delete_trainspace.ts
Outdated
Show resolved
Hide resolved
serverless/packages/functions/src/datasets/user/delete_user_uploaded_data.ts
Outdated
Show resolved
Hide resolved
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.
A few minor changes before I do a full review. Also rename these files to be consistent with the rest of the sst code:
- create_image_trainspace -> create_image
- create_tabular_trainspace -> create_tabular
- delete_trainspace -> delete
- get_all_trainspace -> get_all
serverless/packages/functions/src/trainspace/create_image_trainspace.ts
Outdated
Show resolved
Hide resolved
serverless/packages/functions/src/trainspace/create_tabular_trainspace.ts
Outdated
Show resolved
Hide resolved
https://github.com/DSGT-DLP/Deep-Learning-Playground into 914-feature-add-the-rest-of-the-crud-endpoints-to-sst
You're quite behind the nextjs branch. Just fix the conflicts and you should be good to go 👍 @alantao912 |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Added remaining trainspace CRUD endpoints to SST
What user problem are we solving?
Trainspace creation, deletion, management, and deletion of user uploaded datset.
What solution does this PR provide?
Allowing users to create new, retrieve specific, retrieve all, delete specific trainspace, and delete specific user uploaded dataset using AWS Lambda.
Testing Methodology
Tested API endpoints on locally with postman using a developer account.
Created new trainspace, retrieved it, created several new trainspaces, retrieved all, deleted trainspace, attempted (and successfully failed) to retrieve previously deleted trainspace, and deleted user uploaded data successfully.
Any other considerations