5351 Commits

Author SHA1 Message Date
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
Stuart Lang
489eb48c8e Added missing namespace 2017-06-16 08:53:20 +01:00
Stuart Lang
729ec7da2f Updated csharp to latest tooling 2017-06-16 08:53:19 +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
Nik Graf
68a7ecec92
add support for the new service properties 2017-06-13 19:40:48 +02:00
Nik Graf
a2ec1bba85
add function description support 2017-06-13 19:26:00 +02:00
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
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
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
Nik Graf
3cfcd86cbd
update graphql endpoint 2017-06-09 17:20:58 +02: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
Nik Graf
d55048418a
update platform api url 2017-06-07 10:54:47 +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