-
Notifications
You must be signed in to change notification settings - Fork 820
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
Update nodejs express serverless function template #13194
base: dev
Are you sure you want to change the base?
Conversation
@@ -5,8 +5,7 @@ | |||
"main": "index.js", | |||
"license": "Apache-2.0", | |||
"dependencies": { | |||
"aws-serverless-express": "^3.3.5", | |||
"body-parser": "^1.17.1", | |||
"@vendia/serverless-express": "^4.10.4", |
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.
why are we using 3rd party dependency for this?
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.
aws-serverless-express
is being deprecated and rebranded to vendia
on the npm: On 11/30, the AWS Serverless Express library is moving to Vendia and will be rebranded to serverless-express. Similarly, the aws-serverless-express NPM package will be deprecated in favor of a new serverless-express package.
Description of changes
update the aws-express-serverless to vendia/serverless-express in function nodejs templates Serverless ExpressJS function (Integration with API Gateway)
Adds e2e test to call API gateway
vendia repo
this was modified according to example
Issue #, if available
#10812
Description of how you validated changes
added tests to invoke the API and manually tested the API.
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.