Philipp Muens
7c57935ca9
Fix linting issue
2017-07-03 11:23:32 +02:00
Philipp Muens
dd3662079f
Update variable usage to ensure better readability
2017-07-03 11:10:29 +02:00
Philipp Muens
71b63519f4
Fix check for equality of remote and local files
2017-07-03 10:57:26 +02:00
Philipp Muens
6893bba324
Add support for "force" option
2017-07-03 09:36:49 +02:00
Philipp Muens
fb5442354a
Rephrase deploy function info message when skipping deployment
2017-06-30 13:51:37 +02:00
Philipp Muens
d13881a012
Update location where remoteFunctionData is saved
2017-06-30 13:36:06 +02:00
Philipp Muens
d39e95fec5
Update check if deployment is necessary
2017-06-30 13:32:06 +02:00
Philipp Muens
3ad2c5031d
Add tests
2017-06-30 13:17:39 +02:00
Philipp Muens
e329bf9ad8
Only re-deploy when code or service updated
2017-06-30 09:26:55 +02:00
Philipp Muens
0e580bfd26
Update formatting of error message
2017-06-28 09:29:35 +02:00
davidwells
57b1421ecc
userStats noProviderCredsFound
2017-06-26 17:05:25 -07:00
davidwells
041b0356e9
add remove service placeholder function
2017-06-26 17:03:36 -07: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
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