Eslam λ Hefnawy
ffae3adc62
Merge pull request #3812 from serverless/add-invocation-id
...
Add invocationId
2017-06-21 19:23:32 +08:00
Nik Graf
c5537c2343
Merge branch 'master' into services
2017-06-19 11:26:46 +02:00
Philipp Muens
d689b9e104
Add invocationId
2017-06-19 09:02:48 +02:00
Philipp Muens
ab246085bd
Fix postinstall error
2017-06-09 18:00:31 +02:00
Brian Neisler
851df3921a
Make autocomplete async through promises
2017-06-07 18:40:05 -07:00
Eslam A. Hefnawy
5696513789
added cache file validation by hash to autocomplete
2017-06-08 01:27:11 +07:00
Eslam A. Hefnawy
b527164611
init serverless if cache file does not exist
2017-06-07 23:50:31 +07:00
Eslam A. Hefnawy
67dc1c2463
using cache file for autocomplete
2017-06-07 22:01:15 +07:00
Brian Neisler
a537e58424
Remove serverless-alpha plugin autoloading.
2017-06-01 14:53:55 -07:00
davidwells
b0d0b5ed4c
boot sentry
2017-05-25 16:56:06 -07:00
davidwells
921e599bd1
add sentry error tracking
2017-05-25 13:54:18 -07:00
Doug Moscrop
4dbd94e465
fix resources as an array to support variables
2017-05-16 15:41:00 -04:00
Eslam A. Hefnawy
7cadf28444
supported promises in the variable system
2017-05-02 23:54:09 +07:00
Philipp Muens
59c8c41057
Update local lookup to use service directory
2017-03-29 21:31:52 +02:00
Philipp Muens
4ee198c62c
Add serverless-alpha autoloading
2017-03-16 13:06:14 +01:00
Danny Cohn
7bbf9ce6d0
fix #2997
2017-02-05 00:11:20 -06:00
Andrey Tserkus
ffd6152de0
cover Error with tests; rename SError export to ServerlessError
2017-01-31 01:50:07 -08:00
Fabien Ruffin
73ef6587aa
Refactored service validation to happen after variable population
2016-10-23 13:57:10 +11:00
Philipp Muens
a60a9b575b
Remove provider storage on PluginManager level
2016-10-19 08:32:06 +02:00
Philipp Muens
df7692ac80
Introduce AwsProvider plugin
2016-10-19 08:32:06 +02:00
Philipp Muens
c34775461c
Split logStat into two functions and wrap it into Promise
2016-10-12 18:25:55 -07:00
Philipp Muens
52318d4c3c
Refactor so that only one stats file is used
2016-10-12 18:25:55 -07:00
Philipp Muens
b443b2cf9d
Add SlStats functionality
2016-10-12 18:25:55 -07:00
Doug Moscrop
0c452a6af8
fix Verify that a command is valid before trying to populate variables
2016-09-28 11:34:50 -04:00
Doug Moscrop
d50531b4dc
fix #2041 variable population fails for help commands
2016-09-28 11:34:50 -04:00
Doug Moscrop
19f5bfb27f
refactor PluginManager and CLI to better support command nesting
2016-09-28 11:34:50 -04:00
Eslam A. Hefnawy
9ed7a2a766
overwrite functionality working
2016-08-31 16:37:58 +09:00
Eslam A. Hefnawy
5dafeee388
basic new variable system
2016-08-31 16:37:58 +09:00
Philipp Muens
8d12c29ad8
Merge pull request #1624 from serverless/fix-command-tracking-not-working-bug
...
Fix command tracking not working bug
2016-07-25 09:58:15 +02:00
Philipp Muens
3290ced8ee
Remove hard service runtime dependency
2016-07-22 17:19:08 +02:00
Eslam A. Hefnawy
94fa416059
provider property can now be an object
2016-07-21 19:14:48 +09:00
Philipp Muens
49e1cf6099
Move tracking of usage before run command
...
This is necessary so that we can return the Promise from the PluginManagers run method
(like it was done before the recent change).
2016-07-20 14:03:51 +02:00
Philipp Muens
920437ee63
Fix command tracking not working bug
2016-07-20 12:53:18 +02:00
Philipp Muens
3d2039210c
Update tracking implementation to use one plain HTTP call
...
This speeds up tracking speed dramatically. However it's still not that
super smooth and might suffer when the user has a bad internet connection.
2016-07-15 18:22:03 +02:00
Philipp Muens
fe3cc6f35d
Add basic tracking functionality
2016-07-15 18:22:03 +02:00
Arnaud Rebts
7dd58f0325
Implement service plugin loading
...
Resolves #1442
2016-07-12 11:16:27 +02: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
d7c50f3626
greeting is now generated on help only
2016-06-24 15:42:52 +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
Eslam A. Hefnawy
c16985a0d9
better ux for error handling
2016-06-23 15:55:57 +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
4d9e236b7e
added global rejection handler
2016-06-09 19:43:13 +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
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
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
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