Philipp Muens
b5b596f534
Add support to convert shortcut to options for two level deep commands
2016-08-01 11:45:52 +02:00
Philipp Muens
cf89dd6ffe
Add test for Service and Utils classe which check for both extensions (.yml and .yaml)
2016-07-27 16:00:22 +02:00
Philipp Muens
0ccaea1d5a
Switch naming from yaml to yml for Serverless config related files
2016-07-27 11:24:10 +02:00
Philipp Muens
c9d1453d3a
Switch from .yaml to the more convenient .yml
2016-07-27 10:39:41 +02:00
Philipp Muens
4630f02f2f
Fix plugins are loaded twice bug
2016-07-26 11:03:40 +02:00
Philipp Muens
3290ced8ee
Remove hard service runtime dependency
2016-07-22 17:19:08 +02:00
Florian Motlik
6ef2770235
Merge pull request #1599 from quodio/api-gateway-fix
...
existence of events
2016-07-22 17:02:07 +02:00
jexact
38529f1801
check for existence of events property
2016-07-22 16:38:12 +02:00
Eslam A. Hefnawy
252abe597e
fixed tests for provider config
2016-07-21 19:18:35 +09:00
Benny
5750c38d1e
fix 1479 after PR comments
2016-07-15 17:49:35 +03:00
Florian Motlik
87a5b72e22
Merge pull request #1501 from quodio/service-plugin-loading
...
Implement service plugin loading
2016-07-13 18:05:31 +02:00
Philipp Muens
cd098cac21
Add service bound runtime functionality
2016-07-12 20:39:34 +02:00
Eslam A. Hefnawy
35c1aca092
added test for copyDirContentsSync method
2016-07-13 02:45:57 +09:00
Eslam A. Hefnawy
18e9c2f954
added templates functionality
2016-07-13 00:12:35 +09:00
Arnaud Rebts
7dd58f0325
Implement service plugin loading
...
Resolves #1442
2016-07-12 11:16:27 +02:00
Philipp Muens
16679f4db8
Fix code and tests so that the package plugin works correctly
2016-07-07 20:10:05 +02:00
Philipp Muens
259c58d822
Add package plugin
2016-07-07 20:10:05 +02:00
Eslam λ Hefnawy
2cf4633d50
Merge branch 'v1.0' into better-errors
2016-07-04 18:10:29 +09:00
Eslam A. Hefnawy
6ee4b9e420
more validation and better error messages
2016-07-04 09:51:59 +01:00
Philipp Muens
7ccdc82e09
Add provider awareness for plugins
2016-07-04 09:51:38 +01:00
Philipp Muens
267e6c58fb
Add shortcut support for options
2016-06-29 14:07:55 +02:00
Eslam A. Hefnawy
aa3ed17ab7
fix getVersion test
2016-06-28 13:24:21 +02:00
Philipp Muens
008df83d42
Fixes #1379 - Add command validation in PluginManager
2016-06-23 15:55:57 +02:00
Eslam A. Hefnawy
d2dc0ba58e
ZERO linting issues and test coverage of 93% 🎉 🎉
2016-06-23 15:55:57 +02:00
Philipp Muens
e13455a510
Rename region variable in test to be provider independent
2016-06-21 17:37:40 +02:00
Philipp Muens
b16664357d
Fix linting issues
2016-06-21 14:51:32 +02:00
Eslam A. Hefnawy
7a976c2724
making load method even more robust
2016-06-20 21:57:52 +02:00
Eslam A. Hefnawy
aa3a807813
making the load method more robust
2016-06-20 21:43:01 +02:00
Eslam A. Hefnawy
947aa680a1
u can now reference deep sub props in variables
2016-06-20 20:22:46 +02:00
Eslam A. Hefnawy
ff0ed5a200
variable population now is aware of default stage and region
2016-06-20 18:36:55 +02:00
Eslam A. Hefnawy
96a3441c1e
create plugin no longer generates package.json
2016-06-20 17:49:55 +02:00
Eslam A. Hefnawy
1e3763deac
updated tests for Service class and create plugin
2016-06-17 21:42:41 +02:00
Philipp Muens
67d9b0d0b3
Remove "HelloWorld" plugin dependency
...
Remove the "HelloWorld" plugin which was previously used in tests for the PluginManager
class.
2016-06-17 14:42:21 +02:00
Eslam A. Hefnawy
23a41fe6ae
add plugin/cli integration test
2016-06-17 14:29:23 +02:00
Philipp Muens
24b90af89d
Fix linting errors and reduce ratchet to 100
2016-06-10 07:43:37 +02:00
Philipp Muens
c2fc2adead
Refactor help displaying in CLI
...
Extract the help displaying from processInput to an own method.
2016-06-09 19:43:13 +02:00
Philipp Muens
90c4feeca5
Add validateOptions functionality in PluginManager class
2016-06-09 19:43:13 +02:00
Philipp Muens
40f6dab03f
Move options passing to the plugins constructor
2016-06-09 19:43:13 +02:00
Philipp Muens
85c603dbb0
Refactor CLI class usage
...
So that the loaded plugins are not passed into the constructor. This is a preparation
for the upcoming task to move the options to the plugins constructor rather than the hook
which is run.
2016-06-09 19:39:57 +02:00
Eslam A. Hefnawy
2709286f90
fixed tests for plugin manager
2016-06-09 18:41:09 +02:00
Philipp Muens
8c2d48ae7f
Fix tests for walkDirSync method
...
Fix tests as the order of added filePaths is not guaranteed.
2016-06-01 09:41:05 +02:00
Philipp Muens
474c7f150c
Add "magic handler" zipping support
...
Add zipping of handler directories. Add a walkDirSync method which collects all the
file paths in a directory (needed for the .zip file creation for "magic handlers") in a synchronous way.
2016-05-31 17:13:05 +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
Philipp Muens
f7bd980a45
Merge branch 'v1.0' into aws-resources-deploy
2016-05-25 14:53:48 +02:00
Eslam A. Hefnawy
1e9b7182ff
running all tests. all 130 tests passing 🎉
2016-05-25 14:50:22 +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
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
55f544209f
Merge branch 'dev' into remove-populate
2016-05-24 10:45:34 +02:00
Philipp Muens
8bdbcf66b1
Update plugins README and rename CLI test variables
2016-05-23 19:24:56 +02:00