1189 Commits

Author SHA1 Message Date
Philipp Muens
7650f93a43 Switch back to depend on Deployment resource in ApiKey resource 2017-06-21 12:14:13 +02:00
Eslam A. Hefnawy
e7873fe575 removed naming refs for stage resoruce 2017-06-21 17:43:33 +08:00
Eslam A. Hefnawy
58cf9ea526 adding stage in deployment resource 2017-06-21 17:36:44 +08:00
Eslam A. Hefnawy
c9c52b7cd0 Merge branch '2450-apikey-usage-plan' of https://github.com/laardee/serverless into laardee-2450-apikey-usage-plan 2017-06-21 16:25:56 +08:00
Philipp Muens
792157fd77 Refactor disassociateUsagePlan to be moved to API Gateway plugin 2017-06-20 13:52:36 +02:00
Philipp Muens
526d3a6da4 Refactor code to support deploymentBucket object representation globally 2017-06-16 11:50:51 +01:00
Philipp Muens
82b05b84b8 Add support for deploymentBucket object without name 2017-06-16 11:04:47 +01:00
Philipp Muens
1d9aed5219 Add tests for setting the signatureVersion 2017-06-16 10:55:05 +01:00
Philipp Muens
b11dc135a1 Add deploymentBucket config handling in AWS package and deploy plugins 2017-06-16 09:32:48 +01:00
Philipp Muens
5ff5256293 Add function to handle the deploymentBucket object representation 2017-06-16 09:31:55 +01:00
Philipp Muens
b87326d5dd Minor refactorings 2017-06-16 09:19:41 +01:00
Philipp Muens
b912ad91bd Minor code cleanup 2017-06-16 08:36:19 +01:00
Max Redmond
d045201315 adding test for setDeploymentBucketname()
Merge branch 'deployment'
2017-06-16 08:17:24 +01:00
Max Redmond
d3a5794c2e added setDeploymentBucketName function 2017-06-16 08:12:40 +01:00
Max Redmond
da0736fd6b added signatureVersion: 'v4' parameter to s3 object if tyring to use aws:kms sse 2017-06-16 08:12:23 +01:00
Max Redmond
abef261722 update serverside encryption options so that they are configured in the deploymentBucket section 2017-06-16 08:12:23 +01:00
Max Redmond
9a8b2354ed fixing lint error 2017-06-16 08:12:23 +01:00
Max Redmond
56049e34f8 new function to add serverside encryption params 2017-06-16 08:12:23 +01:00
Max Redmond
09979a170b adding sse test cases 2017-06-16 08:12:23 +01:00
Max Redmond
6aad85e7e7 lint clean up 2017-06-16 08:12:23 +01:00
Max Redmond
9ffba7fdc6 adding check for deploymentBucketOptions to anohter part of the code 2017-06-16 08:12:23 +01:00
Max Redmond
6873abda0d adding a check for deploymentBucketOptions
checking if deploymentBucketOptions exists in the yaml so that you can deploy without any deploymentBucketOptions defined
2017-06-16 08:12:23 +01:00
Max Redmond
46d4466898 adding serverside encryption options to deployment bucket in the provider section of serverless.yml 2017-06-16 08:12:23 +01:00
Eetu Tuomala
e94b29f981 add tests for usageplan naming, run describe stack resources and get usage plan parallel on remove 2017-06-13 12:58:11 +03:00
Eetu Tuomala
869aa04bf0 add quota and throttle to usage plan 2017-06-13 12:58:11 +03:00
Eetu Tuomala
fc78efbfa2 add tests for disassociating stage from 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
Eslam λ Hefnawy
12eb950a86 Merge pull request #3672 from serverless/add-kms-key-support
Add KMS key support
2017-06-06 18:36: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
Eslam λ Hefnawy
0997b328e4 Merge pull request #3705 from serverless/fix-s3-event-race-condition-bug
Fix s3 event race condition bug
2017-06-05 20:24:46 +07:00
Philipp Muens
9e068b81b3 Merge pull request #3668 from hassankhan/validate-cf-template-locally
Add support for validating CF templates
2017-06-05 11:50:00 +02:00
Philipp Muens
b060dbca94 Rephrase error message for invalid template 2017-06-05 11:45:54 +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
Eslam λ Hefnawy
847b5385b5 Merge pull request #3701 from serverless/add-aws-profile-option-support
Add aws-profile option support
2017-06-01 22:06:53 +07: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
0921dc8144 Update naming for permission resource 2017-06-01 14:35:21 +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
Tom Saleeba
178fab9473 trivial fix: removed an extra double quote 2017-06-01 16:05:37 +09:30
Philipp Muens
f0253fe7f6 Add DependsOn to UserPool template 2017-05-31 15:19:21 +02:00
Philipp Muens
0abc60335f Add sinon-chai usage definition 2017-05-31 14:08:23 +02:00
Philipp Muens
5004c2d37b Remove commented out test 2017-05-31 14:00:19 +02:00