Philipp Muens
132bf794df
Add attach CloudForamtion result to service resources object
2016-05-27 14:42:47 +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
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 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
Eslam A. Hefnawy
45dbe769ba
finished all tests for awsResourcesDeploy plugin
2016-05-25 14:42:31 +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
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
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 A. Hefnawy
de86121170
refactor: removed instances keyword and replaces this.S to this.serverless
2016-05-24 11:33:36 +02:00
Eslam λ Hefnawy
8cc596d691
Merge branch 'dev' into sinonjs
2016-05-24 10:48:33 +02:00
Eslam λ Hefnawy
55f544209f
Merge branch 'dev' into remove-populate
2016-05-24 10:45:34 +02:00
Eslam A. Hefnawy
a5601b812e
fix conflicts between dev and sinonjs
2016-05-24 10:29:16 +02:00
Eslam A. Hefnawy
071b129ad2
sync with dev branch
2016-05-23 22:37:40 +02:00
Eslam A. Hefnawy
269dc66dbe
merged dev into sinonjs
2016-05-23 22:36:29 +02:00
Eslam A. Hefnawy
cb2703a95f
resolved final comments
2016-05-23 22:13:20 +02:00
Eslam A. Hefnawy
ad9a4d4b41
updated create plugin to accept options
2016-05-23 22:11:35 +02:00
Eslam A. Hefnawy
d3d4c0ae53
merging dev into create
2016-05-23 21:49:19 +02:00
Philipp Muens
2bfc79e0e8
Rename arguments / args to options
2016-05-23 17:02:52 +02:00
Philipp Muens
c8639c678a
Add argument support for CLI and plugins
...
Add the possibility to access arguments inside plugins (e.g. "--function function1" or "-f function").
Additionally the "lifeCycleEvent" property is renamed to "lifecycleEvent".
2016-05-23 15:17:22 +02:00
Eslam A. Hefnawy
5131f41303
added back the HelloWorld plugin
2016-05-23 15:08:20 +02:00
Eslam A. Hefnawy
9b10140753
added complete test coverage for create plugin
2016-05-23 15:05:22 +02:00
Eslam A. Hefnawy
21daae8318
added create plugin
2016-05-23 00:30:56 +02:00
Eslam A. Hefnawy
c77824ebe5
deploy plugin now updates config as well as code
2016-05-22 10:32:01 +02:00
Eslam A. Hefnawy
b00e4f42cb
basic deployment plugin mocked by SinonJs
2016-05-21 23:17:53 +02:00
Eslam A. Hefnawy
7a717f2903
fixed some async tests
2016-05-20 20:08:50 +02:00
Eslam A. Hefnawy
476e145ba3
removed commented out code
2016-05-20 19:42:03 +02:00
Eslam A. Hefnawy
3df05b04f1
moved getPopulated logic to load()
2016-05-20 19:39:17 +02:00
Philipp Muens
7f95047a5c
Add CLI switch for tests
...
This switch enables a way to attach additional functionality to the serverless
instance when running tests.
2016-05-20 19:09:12 +02:00
Philipp Muens
93a23ccd9e
Refactor tests and fix linting errors
...
Integration test now reads from the console instead of the file system.
2016-05-20 17:17:42 +02:00
Philipp Muens
30ee6d1592
Add basic CLI integration
...
Additionally unit and integration tests for the CLI are added.
2016-05-20 16:28:17 +02:00
Eslam A. Hefnawy
11065914f1
final linting check
2016-05-20 13:45:45 +02:00
Eslam A. Hefnawy
e5104fc0ea
fixed merging conflicts
2016-05-20 13:41:06 +02:00
Eslam A. Hefnawy
9665c54e0d
cleaned the codebase and fixed tons of linting issues
2016-05-20 13:33:54 +02:00
Eslam A. Hefnawy
590fc4dee0
Utils: shortId is now consistent
2016-05-20 08:43:41 +02:00
Eslam A. Hefnawy
e759fe1761
added functions and events to Service and tested it
2016-05-19 21:13:50 +02:00
Eslam A. Hefnawy
6435d39eff
fixed conflicts in all.js
2016-05-19 15:19:26 +02:00
Eslam A. Hefnawy
8b6b1b26b6
added tests for populating with custom syntax
2016-05-19 14:56:37 +02:00