34 Commits

Author SHA1 Message Date
Toan Nguyen
85acf54d01 update predefined resources test 2017-09-09 12:56:42 +07:00
Toan Nguyen
e8f09bd6be fixed api resources tree 2017-09-02 21:45:09 +07:00
Toan Nguyen
119c65e28e capsule api gateway rest api id 2017-09-02 19:17:16 +07:00
Toan Nguyen
2cbde978fa fixed method get RestApiId 2017-09-02 19:04:51 +07:00
Toan Nguyen
be96454fab update share api gateway resource 2017-09-02 18:39:06 +07:00
Philipp Muens
ff9c2c3b8c Merge branch 'master' into request-params-for-lambda-proxy 2017-07-06 12:43:42 +02:00
Philipp Muens
f854e33885 Update formatting of warning message 2017-07-06 12:39:57 +02:00
Philipp Muens
fa540243c1 Merge pull request #3846 from activescott/master
Improve error message when indentation for http event is wrong
2017-06-26 10:24:13 +02:00
Philipp Muens
549afa499f Update error message 2017-06-26 10:06:07 +02:00
John Ferlito
f01ca2dbf7
Update docs to indicate you can use cognito pool authoriser and claims with lambda-proxy 2017-06-25 19:15:21 +10:00
Scott Willeke
4320127188 fixes linting errors as part of #3845 2017-06-23 16:54:15 -07:00
Scott Willeke
d2644f92a5 Improves error message to include function name when path isn't indented under the path in yml. 2017-06-23 16:20:50 -07:00
Philipp Muens
7650f93a43 Switch back to depend on Deployment resource in ApiKey resource 2017-06-21 12:14:13 +02:00
Eslam A. Hefnawy
58cf9ea526 adding stage in deployment resource 2017-06-21 17:36:44 +08:00
Philipp Muens
792157fd77 Refactor disassociateUsagePlan to be moved to API Gateway plugin 2017-06-20 13:52:36 +02:00
Eetu Tuomala
869aa04bf0 add quota and throttle to usage plan 2017-06-13 12:58:11 +03:00
Eetu Tuomala
0cdcd8649c fix usage plan and usage plan key naming, create api gateway stage with cloudformation, disassociateUsagePlan on remove 2017-06-13 12:58:11 +03:00
Eetu Tuomala
1bf1f5bd0e add ref to api stage api id 2017-06-13 12:58:11 +03:00
Eetu Tuomala
fb45f4ef98 add usage plan to api gateway 2017-06-13 12:58:11 +03:00
Joey van Dijk
b677dac3ef fix unnecessary escape characters 2017-06-08 10:46:33 +02:00
Joey van Dijk
7caa15dbf7 fix Travis test 2017-06-08 10:42:19 +02:00
Joey van Dijk
660e0b3a8f Support "Task timed out" warnings as HTTP 504-errors
Currently if Lambda functions have a timeout then you will not see any errors in Cloudwatch, while the user gets a 200 http response code with `{ errorMessage: 'Task timed out in 10.0 s'}`. 

This change will show 5XX errors in Cloudwatch.

To support this I need to copy all the default patterns in `serverless.yml` per function, so therefore I think this need to be a default setting, while this is not caused by the Serverless(/our) code but by AWS Lambda itself.
2017-06-08 10:36:36 +02:00
Travis Dimmig
d636c083dc Cleanup to make the linter happy 2017-06-01 13:07:43 -04:00
Travis Dimmig
5aa2e4fb05 Cleanup and tests 2017-06-01 11:16:12 -04:00
Travis Dimmig
7b9e0d2620 Merge remote-tracking branch 'upstream/master' 2017-06-01 09:42:42 -04:00
Philipp Muens
776832d10f Fix CORS origin config 2017-05-29 13:12:32 +02:00
Frank Schmid
f73e4438e4 Updated unit tests 2017-05-23 11:14:50 +02:00
Frank Schmid
b0e48157e4 Do not use default templates for non AWS integrations. Only use NEVER for AWS passthrough. 2017-05-22 18:19:45 +02:00
Travis Dimmig
8c35a7c757 update to correctly validate the remainder of the request object after stripping non-parameter object off of it and formatting correctly for the cloudformation stack 2017-05-20 12:28:27 -04:00
Travis Dimmig
6628272a47 Fix for https://github.com/serverless/serverless/issues/2882
Allow the 'parameters' field of the request object to be configured when using LAMBDA_PROXY integration
2017-05-20 11:02:48 -04:00
Andre Rabold
8177a96ef4 Add X-Amz-User-Agent as a default allow header 2017-05-12 07:21:54 -07:00
Andre Rabold
a0e32f7e50 API Gateway Extensions
* Support for `HTTP`, `HTTP_PROXY` and `MOCK` integrations
* Support for `AWS_IAM` authorization type
* Updated test cases to cover new features
* Updated documentation
2017-05-09 14:59:36 -07:00
Eslam A. Hefnawy
9631fa9c95 fixed some tests in package plugin 2017-04-06 18:28:59 +07:00
Eslam A. Hefnawy
e38f22585f seperated packaging and deployment 2017-04-06 18:28:59 +07:00