52 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
Eslam λ Hefnawy
050f968fc7 Merge pull request #3692 from serverless/fix-cors-origin-config
Fix CORS origin config
2017-06-06 18:49:19 +07:00
Philipp Muens
f1df11abd2 Merge pull request #3657 from hassankhan/add-cognito-user-pool-triggers
Add Cognito User Pool Triggers
2017-06-06 09:47:19 +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
78b4960d27 Fix tests 2017-06-01 14:54:19 +02:00
Philipp Muens
f1367f30ab Cosmetic updates for error messages 2017-06-01 14:45:07 +02:00
Philipp Muens
55d0a5e8b0 Remove merging of existing user pool resources
Since this is not possible because resources are merged after all the events are compiled.
2017-06-01 14:07:33 +02:00
Philipp Muens
f0253fe7f6 Add DependsOn to UserPool template 2017-05-31 15:19:21 +02:00
Philipp Muens
97f60868bf Fix s3 event race condition bug 2017-05-30 10:10:40 +02:00
Philipp Muens
776832d10f Fix CORS origin config 2017-05-29 13:12:32 +02:00
Hassan Khan
ab92e3b8b1 Add fix for multiple pools with the same trigger
If multiple pools were specified that had the same trigger i.e.
`PreSignUp` then the last function would incorrectly be attached to
each pool. Also added a test case.
2017-05-25 22:21:20 +01: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
Hassan Khan
e12e45ebd2 Use Lambda logical ID to retrieve its' ARN 2017-05-22 02:44:42 +01:00
Hassan Khan
4cf379d8b0 Add initial support for Cognito User Pools
This includes unit tests and documentation. A simple integration test
has been added.
2017-05-21 22:00:54 +01: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
Philipp Muens
684e909e65 Update test descriptions 2017-04-24 08:36:07 +02:00
horike37
1dc680a7ff Add new syntax to specify arn for sns event 2017-04-23 22:51:51 +09:00
Philipp Muens
6f1547d423 Fix typo in test 2017-04-14 09:46:24 +02:00
Philipp Muens
41d03aff8d Update error messages 2017-04-14 09:45:32 +02:00
Philipp Muens
fda5b63d05 Merge branch 'master' into 3295-CF-intrinsic-functions-sns-event 2017-04-14 09:33:07 +02:00
Philipp Muens
10ed9c97bb Fix whitespace 2017-04-13 10:30:56 +02:00
Philipp Muens
725c7dfe00 Merge branch 'master' into fix-depends-on-with-event-stream 2017-04-13 10:28:55 +02:00
Eslam A. Hefnawy
1cde1842b6 added cloudwatchlogs event 2017-04-06 18:30:20 +07:00