1052 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Philipp Muens
3374a072c2 Merge pull request #3680 from ryanmurakami/s3.bucket.error
Improve "missing S3 deployment bucket" error
2017-05-25 12:17:41 +02:00
Philipp Muens
96be5948cb Tweak error message 2017-05-25 12:09:19 +02:00
Philipp Muens
f9b35b53e4 Merge pull request #3654 from daroot/logging-fixes
Better handling for AWS Lambda logging lines.
2017-05-25 11:30:46 +02:00
Ryan Lewis
f1a2624256 fixing test 2017-05-24 14:45:55 -07:00
Ryan Lewis
72d9c520c7 adding test 2017-05-24 14:31:50 -07:00
Ryan Lewis
f87a1e93f6 throwing better error when bucket doesn't exist 2017-05-24 14:21:50 -07:00
Hassan Khan
75a17f3b1d Move validation code to deploy event
As per the discussion on the PR, the validation should occur before the
`aws:deploy:updateStack` hook.
2017-05-24 00:11:30 +01:00
Eslam λ Hefnawy
b7e8e87408 Merge pull request #3660 from HyperBrain/no-templates-for-http-endpoints
Do not use default templates for non AWS integrations. Only use NEVER for AWS passthrough.
2017-05-23 18:47:37 +07:00
Frank Schmid
f73e4438e4 Updated unit tests 2017-05-23 11:14:50 +02:00
Philipp Muens
0db25b76ae Remove SQS queue arn support 2017-05-23 08:50:21 +02:00
Philipp Muens
d6fbe273a7 Add first pass on DeadLetterConfig support 2017-05-23 08:44:09 +02:00
Hassan Khan
0d174e164f Add support for validating CF templates locally
This saves a roundtrip to AWS and allows for a better developer
experience since we can show errors faster. Currently there are no
tests.
2017-05-22 23:12:05 +01: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
Dan Root
add4951a4b Better handling for AWS Lambda logging lines.
Refactor duplicated log line formatting from invoke and logs plugins
into utils/formatLambdaLogEvent.js and add tests.

Make log line formatter understand default python logging module output
from Lambda functions.

Add payload output testing to invoke plugin.

Fixes #1796 and #3594
2017-05-19 12:42:02 -07:00
Philipp Muens
8dd462007b Fix test 2017-05-19 10:26:49 +02:00
Philipp Muens
ca9ee443e1 Add test 2017-05-19 10:18:54 +02:00
Frank Schmid
c85300e4d4 Set IS_LOCAL environment variable with invoke local command 2017-05-18 10:55:43 +02:00
Philipp Muens
491d754b2b Add note that only the last 5 versions are shown 2017-05-17 12:46:46 +02:00
Philipp Muens
8d2624605b Re-order function versions when displaying 2017-05-17 12:46:46 +02:00
Philipp Muens
bea2c17824 Fix typo 2017-05-17 12:46:46 +02:00
Philipp Muens
69f945650c Add rollback function support 2017-05-17 12:46:46 +02:00
Philipp Muens
fa2de0db7a Merge pull request #3614 from arabold/feature/cors-add-x-amz-user-agent-header
CORS: Add `X-Amz-User-Agent` to list of allowed headers
2017-05-15 10:30:01 +02:00
Andre Rabold
8177a96ef4 Add X-Amz-User-Agent as a default allow header 2017-05-12 07:21:54 -07:00