serverless-plugin-simulate
serverless-plugin-simulate copied to clipboard
This is a proof of concept to see if we can replicate Amazon API Gateway using docker images to run lambda
I'm trying to use role definitions in sepparate files. For that, I'm using this syntax on `serverless.yml` ``` resources: Resources: getMessageRole: ${file(./handlers/importantMsg/role.yml):getMessageRole} getMessagesRole: ${file(./handlers/importantMsg/role.yml):getMessagesRole} ``` And I assign that role...
trying to run services from the example (to run the tests later on) but it just exists, like so: npm run start:services > [email protected] start:services /serverless-plugin-simulate/examples > sls simulate services...
## What did you implement: There's no reason to keep it here and it bloats the repo. You get consistency from yarn.lock. ## How did you implement it: `git rm`...
## What did you implement: Prior to this, the API Gateway simulator used various content type middlewares for Express to parse request bodies, and then called JSON.stringify on the parsed...
## What did you implement: Fixes #90. ## How did you implement it: Split stdout by lines and try to parse the last one. ## How can we verify it:...
# This is a Bug Report ## Description If a lambda function writes anything to stdout, the JSON parser [here](https://github.com/serverless-community-labs/serverless-plugin-simulate/blob/0278523f6a14fcb170bfba04382917ca1f836b5b/lib/invoke/local.js#L67) will fail and a 400 status code will be returned....
# This is a Bug Report ## Description After running `sls simulate apigateway -p 5000` and `curl`ing my API, I see this error in the sls console: ``` START RequestId:...
Hi. You guys have done some amazing work with this plugin. Its so useful! One big limitation that I quickly ran into with this package however is that there is...
# This is a Feature Proposal ## Description We should extend this plugin to be able to accept SNS triggering for the docker lambda function. I think this could be...
# This is a Bug Report ## Description The request body potentially gets modified (with different white-space) [here](https://github.com/serverless-community-labs/serverless-plugin-simulate/blob/0278523f6a14fcb170bfba04382917ca1f836b5b/lib/integration/lambda-proxy.js#L32) but the Content-Length header isn't updated to reflect any changes to the...