75 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
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
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
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
776832d10f Fix CORS origin config 2017-05-29 13:12: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
96be5948cb Tweak error message 2017-05-25 12:09:19 +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
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
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
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
Eslam λ Hefnawy
43925a373e Merge pull request #3534 from arabold/feature/apigateway-extensions
API Gateway Extensions for HTTP, HTTP_PROXY, MOCK integration and AWS_IAM authorization type
2017-05-12 19:31:08 +07:00
Andre Rabold
a0e32f7e50 API Gateway Extensions
* Support for `HTTP`, `HTTP_PROXY` and `MOCK` integrations
* Support for `AWS_IAM` authorization type
* Updated test cases to cover new features
* Updated documentation
2017-05-09 14:59:36 -07:00
Philipp Muens
f285528834 Add Lambda tagging functionality 2017-05-03 14:24:09 +02:00
Eslam λ Hefnawy
4e752fbc5e Merge pull request #3527 from HyperBrain/filter-self-reference
Persist self references with "${self:}" and restore it correctly
2017-04-27 18:35:13 +07:00
Frank Schmid
e8bdd0ca33 Added unit tests and a small fix with property paths 2017-04-27 02:28:13 +02:00
Frank Schmid
33a93e7a28 Move findReferences to utils. It will be used in extendedValidate too. 2017-04-26 21:57:40 +02:00
Frank Schmid
46646a9bff Replace self references with "${self:}" on save state 2017-04-26 21:44:35 +02:00
Eslam A. Hefnawy
f86703add1 releasing 1.12 2017-04-26 22:42:56 +07:00
Eslam A. Hefnawy
4623e0bbed final packaging fixes 2017-04-25 23:03:46 +07:00
Philipp Muens
803c28f8f1 Merge pull request #3469 from HyperBrain/fix-package-artifact
Persist package.artifact correctly
2017-04-24 12:50:56 +02:00
Frank Schmid
a67674528e Do not persist artifact if individually is set true. 2017-04-24 10:44:53 +02:00
Philipp Muens
684e909e65 Update test descriptions 2017-04-24 08:36:07 +02:00
horike37
1dc680a7ff Add new syntax to specify arn for sns event 2017-04-23 22:51:51 +09:00
Frank Schmid
aa29c9632e Persist artifact in saved state
The `service.package.artifact` property was missing in the saveState function, so it was not available in the deploy phase.
This PR saves and restores the property correctly, and for AWS additionally sets it during packaging. For AWS the initialization of the property also was missing, possibly due to a merge conflict.

Combination of the following commits:
Re-revert changes for saveServiceState and extendedValidate
Revert most recent changes
Update package artifact to include path and .zip name
Update artifact file path for packaging and name for service state
Update tests for saveServiceState
Do not persist artifacts as it is not needed
Persist package.artifact correctly
2017-04-21 19:50:00 +02:00
Frank Schmid
376d5cf6fe Fixed unit tests. Coverage back to 100%. 2017-04-20 18:39:55 +02:00
Frank Schmid
84d48a5a48 Move explicit function packaging entrypoint to topmost level.
3rd party plugins now can access it and trigger a single function package which was restricted to AWS before.
2017-04-20 17:49:55 +02:00
Frank Schmid
6be0ba2f8f Move package code up and add createDeploymentArtifacts to topmost package command. 2017-04-20 15:11:35 +02:00
Frank Schmid
2c1b18eb1f Separate S3 bucket name validation. Import in generateCoreTemplate.js. 2017-04-17 12:22:42 +02:00
Philipp Muens
6f1547d423 Fix typo in test 2017-04-14 09:46:24 +02:00
Philipp Muens
41d03aff8d Update error messages 2017-04-14 09:45:32 +02:00
Philipp Muens
fda5b63d05 Merge branch 'master' into 3295-CF-intrinsic-functions-sns-event 2017-04-14 09:33:07 +02:00
Philipp Muens
10ed9c97bb Fix whitespace 2017-04-13 10:30:56 +02:00
Philipp Muens
725c7dfe00 Merge branch 'master' into fix-depends-on-with-event-stream 2017-04-13 10:28:55 +02:00