650 Commits

Author SHA1 Message Date
Eslam A. Hefnawy
d97ec82442 added tests for extendedValidate file 2017-05-11 20:41:05 +07:00
Eslam A. Hefnawy
4556f51d44 fix bug with packaging service free functions 2017-05-11 19:24:06 +07: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
9257256e7a Restore self references on state restore 2017-04-26 22:09:51 +02:00
Eslam A. Hefnawy
f86703add1 releasing 1.12 2017-04-26 22:42:56 +07:00
Philipp Muens
9b0d5619f4 Revert name of compiled CloudFormation template 2017-04-26 13:57:05 +02:00
Philipp Muens
67a7031c83 Fix naming of compiled CloudFormation template 2017-04-26 13:23:18 +02:00
Philipp Muens
f32ac41492 Update if statements for easier reasoning 2017-04-26 09:17:51 +02:00
Eslam A. Hefnawy
4623e0bbed final packaging fixes 2017-04-25 23:03:46 +07:00
Frank Schmid
a67674528e Do not persist artifact if individually is set true. 2017-04-24 10:44:53 +02: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
c74d9c6dda Fixed unit tests and got coverage to 100% again 2017-04-20 14:30:55 +02:00
Frank Schmid
5b2efb0753 Control command flow for deploy at framework level. 2017-04-20 13:12:54 +02:00
Philipp Muens
8cea0cf94e Update AwsDeploy tests to reflect calling order 2017-04-11 13:31:39 +02:00
Philipp Muens
1ffc914c1e Add tests for AwsDeploy 2017-04-11 12:34:35 +02:00
Eslam A. Hefnawy
13689a0674 removed references to --noDeploy 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
Frank Schmid
0b88ed08fd Use correct artifact path on update stack 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
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
c5e75c780e Define deploy inner lifecycles. 2017-04-06 18:28:59 +07:00
Eslam A. Hefnawy
e38f22585f seperated packaging and deployment 2017-04-06 18:28:59 +07:00
Philipp Muens
4d7eeb0119 Merge pull request #3407 from horike37/add-cloudwatch-logs-event
Add cloudwatchLog event
2017-04-06 10:20:54 +02:00
Philipp Muens
b9669913de Fix typos and docs 2017-04-06 10:06:28 +02:00
Philipp Muens
3ca5a798a4 Merge pull request #3429 from ericbear/add_version_description_from_function
add version description from function
2017-04-03 17:19:31 +02:00
Eslam A. Hefnawy
b9f3152817 updated tests for package function individually 2017-04-03 19:42:11 +07:00
Ericbear
5d6bc7b1b0 fix missing trailing comma 2017-04-01 01:03:42 +08:00
Ericbear
0cc51dfa22 fix the linting issues 2017-04-01 00:58:42 +08:00
Eslam A. Hefnawy
a9d001e03c updated/added unit tests and docs 2017-03-31 21:09:51 +07:00
Eslam A. Hefnawy
3251ebb4a7 added support for function.package.individually 2017-03-31 18:39:05 +07:00
Ericbear
cd3121baa8 add version description from function 2017-03-31 12:59:42 +08:00
horike37
4fc0d086e0 add check duplication of logGroup and add some tests code 2017-03-30 05:07:00 +09:00
horike37
8afdb4b0a3 update to allow cloudwatchLog statement a string value 2017-03-29 09:11:19 +09:00
horike37
d172861658 Merge branch 'add-cloudwatch-logs-event' of github.com:horike37/serverless into add-cloudwatch-logs-event 2017-03-27 23:06:10 +09:00
horike37
47a3e2fbe3 update resource name 2017-03-27 23:05:55 +09:00
Philipp Muens
d70f5da126 Fixes minor typos 2017-03-27 10:15:56 +02:00
horike37
26fe413905 add "DependsOn" statement to cf template 2017-03-26 16:40:23 +09:00
horike37
d549438fa1 add cloudwatch log event 2017-03-24 21:00:11 +09:00
Ryan S. Brown
b1fdf15398 PR #3360 introduced an incorrect IAM policy for log groups 2017-03-23 09:16:44 -04:00
Philipp Muens
bd2b8d3679 Update recently added tests 2017-03-23 12:40:49 +01:00
Philipp Muens
8d348da0ce Merge master into PR 2017-03-23 12:29:07 +01:00
Eslam λ Hefnawy
8af647eba3 Merge pull request #3360 from ryansb/reduce-policy-dep
Reduce dependency tree depth between IAM & Log Groups
2017-03-17 23:56:21 +08:00
Philipp Muens
0784680f78 Merge pull request #3304 from jmannau/master
Corrected Access-Control-Allow-Methods for ANY HTTP events
2017-03-15 08:17:19 +01:00
Philipp Muens
0d7c66fda3 Fix linting issues 2017-03-15 07:55:05 +01:00