50 Commits

Author SHA1 Message Date
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
Philipp Muens
df5384c210 Fix incorrect / misleading naming in tests 2017-04-11 14:29:32 +02:00
Philipp Muens
2017b36c69 Fix broken tests 2017-04-11 14:18:50 +02:00
Philipp Muens
f80b2f02be Fix tests for "saveCompiledTemplate" function 2017-04-11 14:04:13 +02:00
Philipp Muens
b63f48b558 Add tests for "saveServiceState" function 2017-04-11 14:03:22 +02:00
Philipp Muens
84761727fb Remove unnecessary whitespace 2017-04-11 13:53:32 +02:00
Philipp Muens
f49327a7dd Add tests for "saveCompiledTemplate" function 2017-04-11 13:53:18 +02:00
Philipp Muens
af6b121cf5 Add AwsPackage tests 2017-04-11 13:27:15 +02:00
Eslam A. Hefnawy
666e6dc2c2 fixed typo 2017-04-10 02:33:53 +07:00
Eslam A. Hefnawy
bc0eaf23e6 fixed unit tests 2017-04-07 18:30:11 +07:00
Eslam A. Hefnawy
1cde1842b6 added cloudwatchlogs event 2017-04-06 18:30:20 +07:00
Eslam A. Hefnawy
7da3a1ae35 resovled conflicts on master 2017-04-06 18:28:59 +07:00
Eslam A. Hefnawy
cd71ccfa1e fixing tests for package plugin 2017-04-06 18:28:59 +07:00
Eslam A. Hefnawy
9631fa9c95 fixed some tests in package plugin 2017-04-06 18:28:59 +07:00
Eslam A. Hefnawy
a233a3f36a fixing tests 2017-04-06 18:28:59 +07:00
Frank Schmid
df6cff1d55 Use lifecycle dependencies for deploy function 2017-04-06 18:28:59 +07:00
Frank Schmid
bcd6cee286 Use core template for initial stack create 2017-04-06 18:28:59 +07:00
Frank Schmid
802ce6053d First working separated build/deploy 2017-04-06 18:28:59 +07:00
Frank Schmid
b72c990497 Serverless deploy working 2017-04-06 18:28:59 +07:00
Frank Schmid
0f67313e61 Save state 2017-04-06 18:28:59 +07:00
Frank Schmid
b0ef26b4a0 Fixed package events 2017-04-06 18:28:59 +07:00
Frank Schmid
0af0ef95b1 Adjusted package lifecycle for non-breaking state. 2017-04-06 18:28:59 +07:00
Frank Schmid
d9637fc534 Support deprecation with redirects 2017-04-06 18:28:59 +07:00
Frank Schmid
1a3b18797d Fixed error on npm link in serverless. servicePath is null in this case. 2017-04-06 18:28:59 +07:00
Frank Schmid
67f116b7ef Added AWS common plugin. Moved cleanupTempDir. Call via spawn. 2017-04-06 18:28:59 +07:00
Eslam A. Hefnawy
e38f22585f seperated packaging and deployment 2017-04-06 18:28:59 +07:00