Philipp Muens
9ec755cf2a
Adjust Promise usages
2017-05-10 10:27:13 +02:00
Eslam A. Hefnawy
7c7b2bc849
added more test for cf vars
2017-05-09 19:10:57 +07:00
Eslam A. Hefnawy
f7b26a492c
added cross service communication feature via cf variable source
2017-05-09 19:04:30 +07:00
davidwells
816f5fa8da
update CI detection
2017-05-05 13:11:55 -07:00
Eslam A. Hefnawy
9b10da6dc8
fixed all unit tests
2017-05-05 00:36:32 +07:00
Eslam A. Hefnawy
bd33c98e7f
fixed variables tests
2017-05-03 22:23:25 +07:00
Eslam A. Hefnawy
4810719601
renamed promises
2017-05-03 19:28:16 +07:00
Eslam A. Hefnawy
7cadf28444
supported promises in the variable system
2017-05-02 23:54:09 +07:00
Frank Schmid
4da99861fa
Added unit tests
2017-04-26 16:54:50 +02:00
Frank Schmid
0ebee72f65
Allow service object
2017-04-26 15:18:09 +02:00
Eslam A. Hefnawy
9e53ea68a3
show warning instead of error when there are no hooks
2017-04-21 18:24:35 +07:00
Rafał Wiliński
c6d5710cdc
Replace Array.filter with Array.find
2017-04-15 10:59:31 +02:00
Rafał Wiliński
bc15494c00
Fix linter errors
2017-04-15 10:55:34 +02:00
Rafał Wiliński
59bd52d520
Merge remote-tracking branch 'serverless/master'
2017-04-15 00:05:55 +02:00
Rafał Wiliński
50cfdf45c9
Fix getAllEventsInFunction & getEventInFunction tests
2017-04-15 00:05:54 +02:00
Rafał Wiliński
77ed53218b
Change getAllEventsInFunction implementation to return array
2017-04-15 00:05:21 +02:00
Rafał Wiliński
7bca42f680
Change getEventInFunction implementation to return array element
2017-04-15 00:05:05 +02:00
Philipp Muens
96abc61b3c
Add basic tests for loadHooks function
2017-04-11 15:39:03 +02:00
Philipp Muens
df3f02fcff
Show hook deprecation warnings only when SLS_DEBUG is set
2017-04-11 14:44:53 +02:00
Frank Schmid
802c236255
UT: PluginManager - validateCommand()
2017-04-08 20:04:56 +02:00
Frank Schmid
bf7c854ac2
Added tests for spawn string syntax
2017-04-08 12:17:02 +02:00
Frank Schmid
bad7990799
Hide entrypoint commands
2017-04-08 11:37:52 +02:00
Eslam A. Hefnawy
bc0eaf23e6
fixed unit tests
2017-04-07 18:30:11 +07:00
Eslam A. Hefnawy
ca809f2940
removed deprecation for alpha plugin
2017-04-06 21:37:00 +07:00
Eslam A. Hefnawy
7da3a1ae35
resovled conflicts on master
2017-04-06 18:28:59 +07:00
Frank Schmid
d9637fc534
Support deprecation with redirects
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
532d89c1f6
Update tests to be side-effect free
...
Use proxyquire and stubbing to make the tests side-effect free. This way the tests will succeed even when someone who runs the tests has the serverless-alpha plugin installed globally.
2017-03-30 09:57:02 +02:00
Philipp Muens
44db0960ec
Fix tests and restructure code to fail silently
2017-03-30 08:55:07 +02:00
Brian Neisler
ad5aa1ea97
Use resolve-from instead of absolute paths.
2017-03-29 13:41:22 -07:00
Philipp Muens
59c8c41057
Update local lookup to use service directory
2017-03-29 21:31:52 +02:00
Philipp Muens
80cfb77840
Update serverless-alpha detection
2017-03-29 20:34:00 +02:00
Eslam λ Hefnawy
2d2c2543b9
Merge pull request #3373 from serverless/add-serverless-alpha-autoloading
...
Add serverless-alpha autoloading
2017-03-29 19:02:07 +07:00
Eslam λ Hefnawy
03bc013bfd
Merge pull request #3418 from serverless/remove-breaking-changes-logging
...
Remove breaking change logging
2017-03-29 19:00:19 +07:00
Philipp Muens
67a989f51a
Remove breaking change logging
2017-03-29 09:19:39 +02:00
Philipp Muens
de8adc71e5
Update to latest Node.js runtime
2017-03-25 22:18:00 +01:00
Philipp Muens
bc7c5a64d7
Merge master into PR and resolve conflicts
2017-03-23 12:50:31 +01:00
Philipp Muens
8d348da0ce
Merge master into PR
2017-03-23 12:29:07 +01:00
Eslam λ Hefnawy
eeb8b8a68c
Merge pull request #3327 from HyperBrain/support-entrypoints-for-plugins
...
Allow entrypoints to be defined and called by plugins.
2017-03-17 23:59:05 +08:00
Eslam λ Hefnawy
808e666627
Merge pull request #3375 from serverless/updateDepricationNotice
...
update deprication message
2017-03-17 23:45:44 +08:00
Philipp Muens
96b135b7e7
Remove slightly misleading error message
2017-03-17 11:11:22 +01:00
davidwells
ade23e0d4c
update linting
2017-03-16 15:10:58 -07:00
davidwells
4f6c719075
update test to work with new message
2017-03-16 15:04:14 -07:00
davidwells
da220cc826
add forums and chat links to errors
2017-03-16 14:57:00 -07:00
davidwells
59c33a1f36
update deprication message
2017-03-16 14:45:11 -07:00
Philipp Muens
4ee198c62c
Add serverless-alpha autoloading
2017-03-16 13:06:14 +01:00
Eslam A. Hefnawy
c2e51a6eb3
releasing v1.9
2017-03-15 03:07:52 +08:00
Frank Schmid
9ea13b4a37
Added pluginManager tests for spawn functionality.
2017-03-14 00:15:37 +01:00
Philipp Muens
1594868266
Merge pull request #3180 from nrako/fix_plugin_manager
...
Fix node_modules (serverless plugins) lookup
2017-03-13 13:54:28 +01:00
Frank Schmid
07d1141f99
Allow entrypoints to be defined and called by plugins.
...
Commands can contain a type property. The only allowed value currently is 'entrypoint'. This declares the command as hidden from the CLI. It will not appear in the help screen, nor can it be called from there.
However, entrypoint type commands can be called by plugins via the new PluginManager.spawn(commandsArray) method. In contrast to PluginManager.run() this method allows access to entrypoint commands and can be used to enter a plugin internal sub lifecycle. With this mechanism in place, plugins can expose their own lifecycle events which become then part of the global lifecycle and can be hooked again by dependent plugins.
2017-03-03 15:05:09 +01:00