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
fdddd2e83c
added noGreeting option for invoke integration test to run
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
Eslam A. Hefnawy
135330995b
added tests for aws sdk
2016-06-21 17:27:18 +02:00
Philipp Muens
b16664357d
Fix linting issues
2016-06-21 14:51:32 +02:00
Eslam A. Hefnawy
afe2321b11
fixed integration tests
2016-06-21 13:03:58 +02:00
Philipp Muens
389cbd7de2
Fix AwsCompileApigEvents plugin and tests
2016-06-21 11:28:44 +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
Philipp Muens
086158eae0
Remove comments in front of tests
2016-06-20 19:01:23 +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
2c20687793
update plugins for provider-per-service arch
2016-06-19 21:38:01 +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
7cab94da7b
merging v1.0
2016-06-17 14:30:46 +02:00
Eslam A. Hefnawy
23a41fe6ae
add plugin/cli integration test
2016-06-17 14:29:23 +02:00
Philipp Muens
efddd829ac
Fix unreliable plugin test coverage
...
Fix the test coverage so that it's reliable and won't error out unexpectedly.
2016-06-17 13:58:52 +02:00
Eslam A. Hefnawy
9d7f429a9d
organizing tests
2016-06-17 12:31:00 +02:00
Eslam A. Hefnawy
6191a38e26
bring back apig tests
2016-06-17 10:51:37 +02:00
Eslam A. Hefnawy
ef2fffe130
refatored aws plugins structure
2016-06-16 21:24:09 +02:00
Philipp Muens
5007f3b564
Add compileRestApi functionality
2016-06-15 12:25:44 +02:00
Eslam A. Hefnawy
f23ae6933f
added schedule event
2016-06-10 16:55:14 +02:00
Philipp Muens
60e7be805d
Rename "awsRemoveResources" to "awsRemove"
...
This way it's less verbose and sticks to the overall used naming convention.
2016-06-10 10:40:37 +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
Philipp Muens
67ba3f06ae
Add merging of generated resources to the aws.Resources section (in service)
...
This way the plugin simply adds the Resources to the CloudFormation template in the
compileEvents lifecycle. The deploy plugin will use this resources to update the stack later on.
This removes the dependency between the awsCompileS3Events plugin and the deploy plugin
as the awsCompileS3Events plugin simply adds the resources to the section and forgets about it.
2016-06-09 19:08:54 +02:00
Philipp Muens
8e2dcf4c15
Add implementation for awsCompileS3Events plugin
2016-06-09 19:07:47 +02:00
Eslam A. Hefnawy
2709286f90
fixed tests for plugin manager
2016-06-09 18:41:09 +02:00
Philipp Muens
179e92cd01
Move "compileFunctions" into own plugin
2016-06-07 16:37:46 +02:00
Eslam A. Hefnawy
88cdbb39d4
check stack status for integration test
2016-06-06 15:43:08 +02:00
Eslam A. Hefnawy
aa228c832c
integration tests are now seperate
2016-06-06 14:55:17 +02:00
Eslam A. Hefnawy
745cbaa131
added integration tests for service lifecycle
2016-06-06 14:09:50 +02:00
Philipp Muens
cc79161aa1
Rename invokeAws to awsInvoke
...
So that it sticks to the overall used plugin naming.
2016-06-05 20:49:15 +02:00
Philipp Muens
25f127517e
Add scaffold for awsRemoveResources plugin
...
Add a basic scaffold to kickstart work on the awsRemoveResources plugin.
Refs #1228
2016-06-02 21:24:21 +02:00
Eslam A. Hefnawy
fd80e6df63
added invoke functionality/plugin
2016-06-02 15:07:35 +02:00
Philipp Muens
8e503bbc80
Rename removeResources to remove
...
Rename the plugin so that it can implement multiple remove actions (such as
"serverless remove resources", "serverless remove stage" etc.).
2016-06-02 08:58:53 +02:00
Philipp Muens
39f2cd148d
Closes #1227 - Implement removeResources plugin
...
Implements the basic removeResources plugin which defines a
"removeResources" lifecycle hook.
Refs #1161
2016-06-02 07:49:43 +02:00
Eslam A. Hefnawy
0075e4d243
added extra test for awsDeploy
2016-06-01 16:58:11 +02:00
Philipp Muens
279b0d5a2d
Add zipping files test for zipFiles functionality
2016-06-01 16:45:28 +02:00