2947 Commits

Author SHA1 Message Date
Philipp Muens
0a1c19b02a Add extractFunctions function for compile step 2016-05-30 12:08:32 +02:00
Eslam A. Hefnawy
8ee36c42f5 awsDeploy: init plugin structure 2016-05-30 10:33:22 +02:00
Eslam λ Hefnawy
4c65d79f3c Merge pull request #1188 from serverless/add-aws-compile-functions-to-resources-plugin
Add awsCompileFunctionsToResources plugin
2016-05-28 16:53:46 +02:00
Philipp Muens
7d72af991e Move setup of core CloudFormation template to the top
This way the necessary variables which are taken from the options
are always set because they are always used.
2016-05-27 19:34:36 +02:00
Philipp Muens
33c0837ad4 Add role and policy to existing AWS resource merging
The IamRoleLambda and IamPolicyLambda resources are added when the AWS
resource object exists.
2016-05-27 18:47:50 +02:00
Philipp Muens
6e22c74d98 Refactor test which depends on iamRoleArnLambda 2016-05-27 17:21:31 +02:00
Philipp Muens
fd6adee562 Merge branch 'v1.0' into add-aws-compile-functions-to-resources-plugin 2016-05-27 16:31:47 +02:00
Philipp Muens
36aed494a6 Merge pull request #1193 from serverless/update-branch-of-coveralls-badge
Update branch of coveralls badge
2016-05-27 16:31:12 +02:00
Philipp Muens
d35994a6f4 Merge branch 'v1.0' into update-branch-of-coveralls-badge 2016-05-27 16:29:10 +02:00
Philipp Muens
3ac3ea6d6d Add new tests to cover the plugins whole functionality 2016-05-27 16:28:04 +02:00
Philipp Muens
ce00002432 Add newline before resolving Promises
For consistency sake.
2016-05-27 16:27:19 +02:00
Philipp Muens
379677b517 Update hook to run before awsResourcesDeploy plugin 2016-05-27 14:49:29 +02:00
Philipp Muens
6f891797cf Merge branch 'v1.0' into add-aws-compile-functions-to-resources-plugin 2016-05-27 14:43:33 +02:00
Philipp Muens
132bf794df Add attach CloudForamtion result to service resources object 2016-05-27 14:42:47 +02:00
Eslam λ Hefnawy
fd078d97be Merge pull request #1195 from serverless/test-plugin-hooks
Test plugin hooks and get compiled resources from service instance
2016-05-27 13:33:07 +02:00
Eslam A. Hefnawy
6ec193526d awsResourcesDeploy uses service class to get compiled resources 2016-05-27 13:06:29 +02:00
Eslam A. Hefnawy
10de5bcdda added tests for awsResourcesDeploy hooks promise chain 2016-05-27 13:00:12 +02:00
Philipp Muens
783b9079fb Update branch of coveralls badge 2016-05-27 11:42:34 +02:00
Philipp Muens
86b3a175f1 Add first plugin tests 2016-05-27 11:40:50 +02:00
Philipp Muens
1387129f56 Remove unnecessary path requirement 2016-05-27 09:05:57 +02:00
Philipp Muens
83acc70fb3 Improve CloudFormation main template usage
The CloudFormation main template is now hold in memory.
Furthermore the necessary variables are set before the function resources are added.
2016-05-27 08:56:43 +02:00
Philipp Muens
bcace470b1 Hold function template inside memory for faster resource creation 2016-05-27 08:42:00 +02:00
Philipp Muens
15e7675ccd Add validations for function properties 2016-05-27 08:37:48 +02:00
Philipp Muens
1f6e75a69c Merge branch 'v1.0' into add-aws-compile-functions-to-resources-plugin 2016-05-27 06:45:46 +02:00
Philipp Muens
4f64ffb95c Merge pull request #1187 from serverless/add-automatic-service-path-detection-functionality
Add automatic servicePath detection functionality
2016-05-27 06:36:28 +02:00
Philipp Muens
fb9990f0d8 Add first version of awsCompileFunctionsToResources plugin
This is still a WIP. Runt he plugin inside a serverless service with "serverless
compile functions".
2016-05-26 15:08:35 +02:00
Philipp Muens
39d30b3ca0 Add automatic servicePath detection functionality
The service directory will be automatically detected if the users CWD is a valid
Serverless service directory.
2016-05-26 14:34:56 +02:00
Eslam λ Hefnawy
60e2d6377c Merge pull request #1180 from serverless/aws-resources-deploy
finished awsResourcesDeploy class
2016-05-26 07:30:33 +02:00
Eslam A. Hefnawy
8f028d2830 fixed some typos 2016-05-25 20:14:39 +02:00
Philipp Muens
f7bd980a45 Merge branch 'v1.0' into aws-resources-deploy 2016-05-25 14:53:48 +02:00
Philipp Muens
35b07f33ea Merge pull request #1184 from serverless/rename-and-refactor-existing-plugins
Rename and refactor existing plugins
2016-05-25 14:52:37 +02:00
Eslam A. Hefnawy
1e9b7182ff running all tests. all 130 tests passing 🎉 2016-05-25 14:50:22 +02:00
Eslam A. Hefnawy
45dbe769ba finished all tests for awsResourcesDeploy plugin 2016-05-25 14:42:31 +02:00
Philipp Muens
d3b452e28e Merge branch 'v1.0' into rename-and-refactor-existing-plugins 2016-05-25 13:50:38 +02:00
Philipp Muens
ba517899f3 Merge pull request #1185 from serverless/comment-out-npm-version-badge
Comment out NPM version badge so that no confusion will come up
2016-05-25 13:50:23 +02:00
Eslam A. Hefnawy
4a852866e4 finished all tests for awsResourcesDeploy except for monitor() 2016-05-25 12:54:06 +02:00
Eslam A. Hefnawy
cc0607eecc added tests for awsResourcesDeploy.createOrUpdate() method 2016-05-25 12:06:40 +02:00
Philipp Muens
385f0cfad9 Comment out NPM version badge so that no confusion will come up 2016-05-25 07:49:34 +02:00
Philipp Muens
6189a63f37 Rename directory of Tests plugin
Rename the directory to be lowercased (so that the tests won't crash).
2016-05-25 07:31:55 +02:00
Philipp Muens
7c998f3209 Rename directory of HelloWorld plugin
Rename the directory to be lowercased (so that the tests won't crash).
2016-05-25 07:19:13 +02:00
Philipp Muens
aafc2fefd6 Rename and refactor existing plugins
Rename the existing plugins to match the new naming convention.
Fix bugs / refactor code / enhance test coverage alongside.
2016-05-25 07:12:15 +02:00
Eslam A. Hefnawy
e51ed686b8 added tests for validate method 2016-05-24 23:56:26 +02:00
Eslam A. Hefnawy
a801768e87 finished awsResourcesDeploy class. No testing yet 2016-05-24 20:18:21 +02:00
Philipp Muens
99f7eeefdb Merge pull request #1177 from serverless/add-basic-cli-help-functionality
Add basic CLI help functionality
2016-05-24 15:13:07 +02:00
Philipp Muens
329fda0d7d Bring back spinner and log method 2016-05-24 14:58:19 +02:00
Philipp Muens
e5a5033db7 Add basic CLI help functionality 2016-05-24 14:58:19 +02:00
Eslam λ Hefnawy
295f934087 Merge pull request #1176 from serverless/remove-instance
Refactor: remove instance keyword and replace this.S to this.serverless
2016-05-24 14:22:00 +02:00
Eslam A. Hefnawy
de86121170 refactor: removed instances keyword and replaces this.S to this.serverless 2016-05-24 11:33:36 +02:00
Eslam λ Hefnawy
249c243493 Merge pull request #1151 from serverless/sinonjs
basic deployment plugin mocked by SinonJs
2016-05-24 10:50:52 +02:00
Eslam λ Hefnawy
8cc596d691 Merge branch 'dev' into sinonjs 2016-05-24 10:48:33 +02:00