436 Commits

Author SHA1 Message Date
Philipp Muens
9c19d7a773 Remove deployment bucket reference from Service class 2017-06-16 08:43:25 +01:00
Philipp Muens
b912ad91bd Minor code cleanup 2017-06-16 08:36:19 +01:00
Max Redmond
d045201315 adding test for setDeploymentBucketname()
Merge branch 'deployment'
2017-06-16 08:17:24 +01:00
Max Redmond
d3a5794c2e added setDeploymentBucketName function 2017-06-16 08:12:40 +01:00
Max Redmond
abef261722 update serverside encryption options so that they are configured in the deploymentBucket section 2017-06-16 08:12:23 +01:00
Philipp Muens
0dca35a2c1 Throw error when command not run in service 2017-06-12 10:38:59 +02:00
Philipp Muens
6aa415545e Merge pull request #3739 from j0k3r/fix-cf-variable
Throw an Error when requested Cloudformation variable does not exist
2017-06-12 10:23:44 +02:00
Philipp Muens
2a9636a18c Fix updateAutocompleteCacheFile() bug caused by empty commands object 2017-06-12 09:08:27 +02:00
Philipp Muens
0e4aceb704 Update error message 2017-06-11 21:14:12 +02:00
Philipp Muens
39f0ad94a5 Merge pull request #3746 from HyperBrain/filter-nested-entrypoints-for-help
Filter nested entrypoints on getCommands(). Used by help.
2017-06-11 20:59:45 +02:00
Eslam A. Hefnawy
cb14676e76 fixed tests for async autocomplete 2017-06-08 20:04:46 +07:00
Philipp Muens
ee14ce9f36 Minor code changes and test improvements 2017-06-08 09:54:46 +02:00
Brian Neisler
851df3921a Make autocomplete async through promises 2017-06-07 18:40:05 -07:00
davidwells
75a97441a1 run autocomplete.json creation in async fashion 2017-06-07 15:15:11 -07:00
davidwells
75af2ae3dd silently fail on FS error 2017-06-07 13:48:47 -07:00
Eslam A. Hefnawy
5696513789 added cache file validation by hash to autocomplete 2017-06-08 01:27:11 +07:00
Frank Schmid
6bbe0b01f5 Added unit test for getCommands() 2017-06-07 17:44:18 +02:00
Frank Schmid
b73466641e Filter nested entrypoints on getCommands(). Used by help. 2017-06-07 17:24:37 +02:00
Eslam A. Hefnawy
e2cc1451a5 resolved comments on autocomplete 2017-06-07 22:02:23 +07:00
Eslam A. Hefnawy
67dc1c2463 using cache file for autocomplete 2017-06-07 22:01:15 +07:00
Jeremy Benoist
ca202c5672
Throw an Error when requested variable does not exist
When we define a cf variable in serverless.yml and that variable wasn't output from the Cloudformation Outputs
a useless error was throw:

> Cannot read property 'OutputValue' of undefined

Now the error give more information:

> Trying to request a non variable from Cloudformation.
> Stack name: "some-stack" Requested variable: "DoestNotExist"
2017-06-06 17:18:33 +02:00
Philipp Muens
948fbf6d4c Merge master 2017-06-06 09:51:54 +02:00
Philipp Muens
0e90a6ba2c Fix logStat() tests 2017-06-01 09:35:04 +02:00
Sam Marks
aef89a51c7 Another follow-up on async vars. 2017-05-31 00:18:10 -04:00
Philipp Muens
3a42f7be49 Remove tests where stubbing props is required 2017-05-30 13:59:40 +02:00
Philipp Muens
756b66a744 Move stubbing of "installed" property to individual test level 2017-05-30 13:51:25 +02:00
Philipp Muens
7af0a37842 Fix typo in comment 2017-05-30 13:28:56 +02:00
Philipp Muens
59e7e57e76 Extend tests to use sinon sandbox and stub process.exit 2017-05-30 13:27:54 +02:00
Philipp Muens
791ca8c139 Disable one line of linting for console.log restoring 2017-05-30 12:40:00 +02:00
Philipp Muens
98cb492a6d Remove unnecessary eslint disabling 2017-05-30 12:23:18 +02:00
Philipp Muens
0d844849f2 Refactor error tests to spy on console 2017-05-30 12:22:10 +02:00
davidwells
a9768ce68e update linting 2017-05-29 09:00:16 -07:00
Philipp Muens
cf8df8f6c4 Refactor test to remove sinon stubbing 2017-05-29 10:27:30 +02:00
Philipp Muens
73c2669661 Fix re-throw error test 2017-05-29 09:38:36 +02:00
davidwells
3d24ed05c7 add note 2017-05-26 17:01:48 -07:00
davidwells
49bb502def clean up logic 2017-05-26 17:00:52 -07:00
davidwells
acb9ff7e88 update test 2017-05-26 17:00:41 -07:00
davidwells
b1e12661e0 remove old tests 2017-05-26 17:00:31 -07:00
davidwells
dd6bd18df8 remove config require 2017-05-26 16:35:34 -07:00
davidwells
f841739416 check if sentry installed before calling 2017-05-26 16:35:14 -07:00
davidwells
d39a3e8054 update tests 2017-05-26 16:34:44 -07:00
davidwells
3f1b375c1f update log message 2017-05-26 16:18:10 -07:00
davidwells
37334c493c update error tracking 2017-05-26 16:17:59 -07:00
davidwells
a356ae83fa clean up Utils 2017-05-25 20:46:31 -07:00
davidwells
32bd714d43 update sentry 2017-05-25 17:17:20 -07:00
davidwells
ec45c075f8 fix lint 2017-05-25 13:58:31 -07:00
davidwells
3d5f2565bc update linting 2017-05-25 13:58:31 -07:00
davidwells
ffa6235112 manually call raven on error 2017-05-25 13:58:31 -07:00
davidwells
921e599bd1 add sentry error tracking 2017-05-25 13:54:18 -07:00
Philipp Muens
253fe3e8e5 Merge pull request #3647 from HyperBrain/support-json-project
Added support for serverless.json. Improved error messages with filename
2017-05-25 11:58:53 +02:00