Nicola Peduzzi
f8d93b361b
Add default status code for lambra integration http event
8 years ago
daikikohara
ba864c08bd
Fix naming problem for lambda-proxy
path parameter for lambda-proxy is passed as event.pathParameters
instead of event.path.
8 years ago
Nicola Peduzzi
8b4b082767
Removed debug log
8 years ago
Pete Miller
0541c40363
set process.env before requiring function handler
8 years ago
Pete Miller
754482e7a7
support environment variables on 'run'
8 years ago
Steven Yap
66662cef9a
Server to cater to Lambda Proxy response
If lambda proxy is enabled (which is by default in Serverless),
the response returned in the lambda callback must be of the form:
```json
{
statusCode: 200,
body: { /** data **/ }
}
```
The current server sends the entire response without separating
the statusCode and body which is what this commit does.
Ideally, we should detect if the lambda is using lambda proxy or not
but I cannot find the flag to detect this setting.
8 years ago
Steven Yap
d0df9d2f88
Rename request query as queryStringParameter in API event
AWS API Gateway passes GET query as event.queryStringParameter
instead of event.query. This commit fixes the naming issue.
8 years ago
rahul
7032e12f38
Add new webpack watch function, and add webpack-offline-start hook
8 years ago
Gert Jansen van Rensburg
64e2391fa1
fix for deploying individual packages.
8 years ago
Nicola Peduzzi
7a34fd2d95
Fix broken test
8 years ago
Nicola Peduzzi
de7c6a1b8a
Accept entry points with file path to generate custom output config
8 years ago
Nicola Peduzzi
08ea3caea5
Parse as JSON only requests with proper content-type #34
8 years ago
demirhanaydin
464d34e93b
[fix] EEXIST: file already exists .serverless
8 years ago
Nicola Peduzzi
7cdc42c5ef
Optinally use stage to generate simulated endponts
8 years ago
Tony Yuen
b4fa0a53fb
support external-module-auto-packaging
8 years ago
Janic Duplessis
12032180af
Properly send CORS headers for options request
8 years ago
Tony Yuen
6176dc4c62
rename serverless custom key, includePackages to webpackIncludeModules to avoid conflict with other plugin
8 years ago
Tony Yuen
fdde5dc916
show which packages are going to be packed
8 years ago
Tony Yuen
09d98edcea
use customKey includePackages to determines which packages should be packed
8 years ago
Tony Yuen
9dc0805c76
removed the debugging output
8 years ago
Tony Yuen
994bcec2ee
pack external packages to distribution for deploy command and --out option
8 years ago
Nicola Peduzzi
be51640b67
Covered serve module
8 years ago
Nicola Peduzzi
8c10bee00c
Adding tests for part of serve module
8 years ago
Nicola Peduzzi
6940c496bd
Use serverless cli consoleLog
8 years ago
Nicola Peduzzi
8e0a5edc82
Covered validate module
8 years ago
Nicola Peduzzi
c946a67194
Fix local function usage commands to work with multiple-entries
8 years ago
Nicola Peduzzi
1df8259fa9
Add typescript example
8 years ago
Nicola Peduzzi
66f674e323
Add stage prefix to simulated urls
8 years ago
Nicola Peduzzi
1483a000c8
Move artifact in default position after zipping
8 years ago
Nicola Peduzzi
5e84527c6a
Add initial serve command
8 years ago
Nicola Peduzzi
503eff4fe5
Add readme
8 years ago
Nicola Peduzzi
3ea41eb14f
Add commands to run webpack bundle locally
8 years ago
Nicola Peduzzi
dd278d8477
Fix cleanup after deploy
8 years ago
Nicola Peduzzi
fcbd896abf
Initial commit
8 years ago