369 Commits

Author SHA1 Message Date
Philipp Muens
23fcc0c13d Merge pull request #3622 from dougmoscrop/custom_resources_array
fix resources as an array to support variables
2017-05-17 10:12:49 +02:00
Doug Moscrop
4dbd94e465 fix resources as an array to support variables 2017-05-16 15:41:00 -04:00
Eslam A. Hefnawy
7503fa0bc5 fixed bug when using dot notation in yml keys 2017-05-15 22:05:04 +07:00
Philipp Muens
18dc9a4d20 Merge pull request #3600 from helenyau0/fix-bug-in-unit-test
Fix unhandled rejection TypeError in unit testing now all tests pass for #logStat()
2017-05-12 11:14:11 +02:00
Eslam A. Hefnawy
971a27994c fixed bug when referencing vars from other vars object values 2017-05-12 13:34:11 +07:00
Helen Yau
eaaee3f89e fix linting error: add a missing comma to the serverless.service object 2017-05-11 10:26:17 -07:00
Helen Yau
c989d879e7 Fix unhandled rejection TypeError in unit testing now all tests pass for #logStat() 2017-05-10 17:42:58 -07:00
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