1615 Commits

Author SHA1 Message Date
Eslam λ Hefnawy
022ea48151 Merge pull request #3736 from serverless/throw-error-when-not-in-service
Throw error when command not run in service
2017-06-13 20:43:34 +07:00
Philipp Muens
6e807fa1bf Update code to be run on "deploy" and "package" 2017-06-13 08:39:01 +02:00
Philipp Muens
b43a421d38 Update code to re-use existing utils functionality 2017-06-12 11:13:01 +02:00
Philipp Muens
c5333aa165 Merge pull request #3778 from ryanmurakami/simpler-azure
Simplify Azure Template
2017-06-12 10:51:08 +02:00
Philipp Muens
0dca35a2c1 Throw error when command not run in service 2017-06-12 10:38:59 +02:00
Philipp Muens
a8e847a72a Merge pull request #3752 from joeyvandijk/patch-1
Support "Task timed out" warnings as HTTP 504-errors
2017-06-12 10:35:15 +02:00
Philipp Muens
719d0361a6 Merge pull request #3729 from alexcasalboni/issue-3698
Fix #3698: Throw error if an individual package is empty
2017-06-12 10:14:55 +02:00
Ryan Lewis
0bd6a458ed lint error 2017-06-11 12:26:58 -07:00
Philipp Muens
13ff0d6453 Fix test 2017-06-11 21:02:56 +02:00
Philipp Muens
dc677b8e9c Update error message 2017-06-11 21:02:25 +02:00
Ryan Lewis
cfa4faf2bf don't forget x 2017-06-11 11:52:57 -07:00
Ryan Lewis
6e660a159c removing complexity in azure template 2017-06-11 11:51:24 -07: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
Philipp Muens
9b6cd8f331 Simplify code / make test more restrictive 2017-06-08 09:30:43 +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
Alex Casalboni
c74965da11 Fixed linting 2017-06-05 18:01:04 +02:00
Alex Casalboni
d5f5f92f48 Raise error if no file matches before zipping 2017-06-05 17:36:14 +02:00
Alex Casalboni
e29397ca5c Added test to verify error if no file matches before zipping 2017-06-05 17:35:40 +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
ffe98a33e9 Merge pull request #3564 from serverless/addErrorTracking
DX: Add error tracking
2017-06-05 13:18:34 +02: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
Philipp Muens
c0f0b6cbd6 Merge branch 'master' into addErrorTracking 2017-06-02 12:02:09 +02: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
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
Philipp Muens
078751390b Update slStats() and the corresponding tests 2017-06-01 10:33:51 +02:00
Tom Saleeba
178fab9473 trivial fix: removed an extra double quote 2017-06-01 16:05:37 +09:30
davidwells
7a2a4b011d update lint 2017-05-31 08:55:08 -07:00
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
Philipp Muens
9919134e6c Update tests to use chai-as-promised 2017-05-31 13:57:14 +02:00
Philipp Muens
adcb471429 Update validateTemplate functionality and add tests 2017-05-31 13:30:59 +02:00
Philipp Muens
045d15dab0 Remove invalid comma 2017-05-31 12:05:19 +02:00
Philipp Muens
2bb715e723 Add support for service-wide KMS key config 2017-05-31 10:40:35 +02:00
Philipp Muens
78bb7d8100 Add KMS key support 2017-05-31 10:40:35 +02:00
Philipp Muens
97f60868bf Fix s3 event race condition bug 2017-05-30 10:10:40 +02:00
davidwells
a9768ce68e update linting 2017-05-29 09:00:16 -07:00
Philipp Muens
8ca5f214f8 Add aws-profile option support 2017-05-29 13:50:03 +02:00
Philipp Muens
776832d10f Fix CORS origin config 2017-05-29 13:12:32 +02:00
Frank Schmid
aca8db9ba7 Set IS_LOCAL for every provider. Added unit tests. 2017-05-29 11:15:32 +02:00
davidwells
ca09461a4d update test for slsToggle 2017-05-26 17:02:05 -07:00
davidwells
82b63a524b remove file creation from slsStats and use serverlessRC instead 2017-05-25 20:46:59 -07:00