934 Commits

Author SHA1 Message Date
Eslam A. Hefnawy
7ee130ad28 prettify components versions 2019-09-18 18:14:22 +03:00
Eslam A. Hefnawy
46f2083c41 fix tests 2019-09-18 16:24:25 +03:00
Eslam A. Hefnawy
b5ef8bb9cd fixed tests and lints 2019-09-18 15:29:30 +03:00
Eslam A. Hefnawy
b79c9060ea remove version line escape 2019-09-18 15:10:17 +03:00
Eslam A. Hefnawy
792a5fb4b1 added components versions 2019-09-18 14:49:30 +03:00
Daniel Schep
65fbf684d0
Move where initialize lifecycle hook is called (#6687)
Move where initialize lifecycle hook is called
2019-09-17 08:22:17 -04:00
Philipp Muens
747b98510c Address PR review comments 2019-09-17 10:52:39 +02:00
Daniel Schep
ad0252dec3 do async plugin init in load all plugins 2019-09-16 14:59:59 -04:00
Daniel Schep
9748b4e124 Revert "drop support for the asyncInit function on plugins"
This reverts commit 55a794f4e07cd7a903ee80c4b68f9f4818b40355.
2019-09-16 08:34:01 -04:00
Daniel Schep
3c212322a7 Revert "move where initialize lifecycle hook is called"
This reverts commit 6bd2b537a9d5575c38bddd6048363736f5b4490e.
2019-09-16 08:33:20 -04:00
Daniel Schep
6bd2b537a9 move where initialize lifecycle hook is called
We actually still need to call it before variables are populated.

The enterprise plugin needs it so that credentials in deploy profiles will work
when ${cf} ${s3} and ${ssm} vars are resolved.

This shouldnot be a major issue since didnot publish docs about this lifecycle hook
2019-09-13 17:06:45 -04:00
Mariusz Nowak
6c949450bc
Refactor to rely on @serverless/test/skip-with-notice 2019-09-13 16:53:47 +02:00
Mariusz Nowak
5a77bcaf7f
Improve logic readability 2019-09-06 14:39:40 +02:00
Mariusz Nowak
16f358115a
Skip in case of 'plugin' command only on not found error 2019-09-06 14:39:21 +02:00
Mariusz Nowak
b2cf1025c7
Improve help case handling 2019-09-06 14:39:19 +02:00
Mariusz Nowak
f5e71c2b5f
Fix module not found error detection 2019-09-06 14:32:05 +02:00
Mariusz Nowak
c4a11fed59
Cover only plugin load with error handler 2019-09-06 14:32:05 +02:00
Mariusz Nowak
ca871ca8c4
In all cases rethrow original plugin error 2019-09-06 12:56:23 +02:00
astuyve
5b9a1cc105
Remove enterprise from upgrade notes 2019-09-03 13:09:45 -05:00
Philipp Muens
b87008c15d Easier to understand error message 2019-09-03 12:35:48 +02:00
Daniel Schep
a231e0302d changes for @erikerikson's review 2019-08-30 09:29:12 -04:00
Daniel Schep
9e82d11a46 fix variable prefix regex 2019-08-30 07:22:34 -04:00
Daniel Schep
43076c0f22 Merge remote-tracking branch 'origin/master' into custom-variable-getters 2019-08-29 12:38:58 -04:00
Daniel Schep
c6f3611177 prettier 2019-08-29 12:23:41 -04:00
Daniel Schep
fc9b9066b6 check for falsey variable resolver 2019-08-29 08:35:54 -04:00
Daniel Schep
91ae8bcc17
Add initialize lifecycle event (#6601)
* Revert "remove initialize hook stuff. moving to diff pr"

This reverts commit 851b043710fffd6e88d025e4da741bb8af35ba8e.

* Switch to Bluebird Promise implementation
2019-08-28 12:05:17 -04:00
Daniel Schep
dd1ba83e5d validate that options is an object if not a function 2019-08-28 08:47:08 -04:00
Daniel Schep
4efbf845a2 variable prefix is always a string 2019-08-28 08:37:09 -04:00
Philipp Muens
dec3d5ff40 Update docs / Fix typos 2019-08-28 13:30:14 +02:00
Daniel Schep
851b043710 remove initialize hook stuff. moving to diff pr 2019-08-27 14:21:10 -04:00
Daniel Schep
b5757d334a Array.reduce instead of Promise.reduce 2019-08-27 14:11:04 -04:00
Daniel Schep
729381f25e move initialize hook into plugman.run & test 2019-08-27 11:40:07 -04:00
Daniel Schep
ed1117b5e8 fix tests and validate inputs 2019-08-27 09:47:26 -04:00
Daniel Schep
d1a2a30ef9 remove unused custom var getter flag 2019-08-27 08:53:34 -04:00
Daniel Schep
15319b5be1 s/isDependentService/isDisabledAtPrepopulation 2019-08-27 08:46:41 -04:00
Daniel Schep
569623e156 s/method/resolver/ 2019-08-27 08:44:57 -04:00
Daniel Schep
70921f4213 moar lint 2019-08-26 14:03:27 -04:00
Daniel Schep
0ca9c2ed67 lint 2019-08-26 13:39:21 -04:00
Daniel Schep
83591d507c fix tests 2019-08-26 12:29:12 -04:00
Mariusz Nowak
05ec61844b
Test error message 2019-08-26 14:58:29 +02:00
Daniel Schep
7ccdde6178 asfaf 2019-08-26 08:13:34 -04:00
Mariusz Nowak
b8118c44a2
Fix ServerlessError definition
So message in all cases turns as 'string'
2019-08-23 18:35:17 +02:00
Mariusz Nowak
0e1afb1c52
Reorganize export 2019-08-23 18:03:41 +02:00
Daniel Schep
e3c4755dbe WIP 2019-08-23 10:08:41 -04:00
Daniel Schep
12fea8f336 rename 2019-08-23 10:07:41 -04:00
Mariusz Nowak
418d4e4ae9
Improve multiline message output 2019-08-23 13:50:50 +02:00
Mariusz Nowak
8fb1b36d75
Merge pull request #6554 from dougmoscrop/empty_array
do not log warnings on empty arrays
2019-08-22 13:04:30 +02:00
Doug Moscrop
69f4cbe1dd do not log warnings on empty arrays 2019-08-21 13:17:44 -04:00
Daniel Schep
faa5a07009 prettify 2019-08-21 12:46:21 -04:00
Daniel Schep
c69cb50555 objects not arrays for instances in variableResolvers 2019-08-21 11:11:46 -04:00