Skip to content

Serverless integration for AWS Lambda - NodeJS #2865

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

Closed
wants to merge 6 commits into from

Conversation

amarvasekar7700
Copy link

  1. Added awslambda.ts file in the integrations folder. In contains new integration for AWS Lambda for NodeJS.
  2. Added AWSLambda integration in index.ts file.
  3. Added new packages in package.json file.

1. Added awslambda.ts file in integrations folder.
2. Added AWSLambda integration in index.ts file
3. Added new packages in package.json file.
@ajjindal ajjindal requested a review from kamilogorek September 2, 2020 15:14
Comment on lines 108 to 110
Name: 'node',
// global.process.version return the version of node
Version: global.process.version,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Name: 'node',
// global.process.version return the version of node
Version: global.process.version,
name: 'node',
// global.process.version return the version of node
version: global.process.version,

We usually never capitalize keys, or is there a specific reason doing so?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes are made in the file but not reflecting.

* @hidden
*/
const setAdditionalRuntimeData = (scope: Scope): void => {
scope.setContext('Runtime', {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
scope.setContext('Runtime', {
scope.setContext('runtime', {

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes are made in the file but not reflecting.

1. Changed AWS lambda Integration in awslambda.ts
2. Changed git comments.
3. Export AWSLambdaIntegration in index.ts file
@ajjindal ajjindal requested a review from HazAT September 4, 2020 16:02
…les.

2. Added awsLambdaPrelude.ts and setup.json files for creating development package.
3. Added fs module in package.json for unit test case.
@kamilogorek kamilogorek closed this Sep 9, 2020
@kamilogorek
Copy link
Contributor

kamilogorek commented Sep 9, 2020

Closed in favor of #2886

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants