Daniel Schep
ecaa2c2c50
lint
2019-09-16 15:54:06 -04:00
Daniel Schep
3417fba759
lint
2019-09-16 15:39:27 -04: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
drexler
5e425a7f84
test: update covering tests
2019-09-11 07:49:19 -04:00
drexler
381c147f15
fix: remove credential validation check from sls package command
2019-09-11 07:49:19 -04:00
exoego
f4b25b37e4
Respect logRetentionInDays in log group for websocket
2019-09-10 10:06:27 +09:00
Daniel Schep
ad81e9ad8b
replace use of tenant with org in docs & templates
2019-09-09 10:55:38 -04:00
Philipp Muens
a7fe06eabd
Globally enable graceful-fs
2019-09-09 14:05:56 +02:00
Philipp Muens
c0ec32b4e0
Merge pull request #6652 from serverless/fix-cloudfront-removal-logging
...
Use hooks to log Lambda@Edge removal reminder
2019-09-09 14:00:02 +02:00
Philipp Muens
3a7d77b4ff
Use hooks to log Lambda@Edge removal reminder
2019-09-09 13:31:51 +02:00
Mariusz Nowak
f77f3c1e5c
Merge pull request #6646 from serverless/improve-plugin-error-reporting
...
Improve plugin loading error reporting
2019-09-09 11:23:39 +02:00
Philipp Muens
ef602c1ea6
Merge pull request #6642 from theburningmonk/master
...
Add support for Condition and DependsOn
2019-09-09 11:03:21 +02:00
theburningmonk
242cd35374
test: removed duplicated test case
2019-09-07 02:27:12 +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
Philipp Muens
9faeb5048a
Support functions without events in CloudFront remove logging
2019-09-06 13:22:26 +02:00
Mariusz Nowak
ca871ca8c4
In all cases rethrow original plugin error
2019-09-06 12:56:23 +02:00
theburningmonk
43f383583a
style: fixed prettier errors
2019-09-06 01:38:24 +02:00
theburningmonk
b2cd8b7c0a
feat: add support for condition and dependsOn
2019-09-05 22:43:17 +02:00
Mariusz Nowak
b2ead19255
Ensure process is seen as TTY for test run
2019-09-05 17:39:08 +02:00
Mariusz Nowak
83aa7a9aa5
Ensure tests cleanup
2019-09-05 16:12:50 +02:00
Mariusz Nowak
b294b73c29
Cleanup test configuration
2019-09-05 16:12:50 +02:00
Mariusz Nowak
4fa9854f81
Fix restore of process.stdin
2019-09-05 16:12:50 +02:00
Mariusz Nowak
1872930b94
Tests for an interactive CLI
2019-09-05 16:12:50 +02:00
Mariusz Nowak
993688fd14
inquirer stub generator
2019-09-05 16:12:50 +02:00
Mariusz Nowak
bb12637b59
Improve prompt names (to make testing easier)
2019-09-05 16:12:49 +02:00
Mariusz Nowak
9f784a61bb
Introduce 'name' option to improve test capabilities
2019-09-05 16:12:48 +02:00
Philipp Muens
b3506b4737
Only call logRemoveReminder on removals
2019-09-05 12:51:07 +02:00
Philipp Muens
8ea498f546
Restructure tests
2019-09-05 12:51:07 +02:00
Philipp Muens
baf7f4a8cd
Validate memorySize and timeout properties
2019-09-05 12:51:07 +02:00
Philipp Muens
5d0dde6930
Only log removal info when cloudFront event is used
2019-09-05 12:51:07 +02:00
Philipp Muens
2247030fc3
Remove support for async stack deployments / removals
2019-09-05 12:51:07 +02:00
Philipp Muens
071da8952a
Fix tests
2019-09-05 12:51:07 +02:00
Philipp Muens
7aa8ab096c
Add support for async stack remove operations
2019-09-05 12:51:07 +02:00
Philipp Muens
ae0967943b
Add DeletionPolicy of Retain to Lambda@Edge functions
2019-09-05 12:51:07 +02:00
Philipp Muens
e20a026dc5
Add support for async stack deploy operations
2019-09-05 12:51:07 +02:00
Philipp Muens
23c0350245
Automatically set necessary CloudFront function defaults
2019-09-05 12:51:07 +02:00
Philipp Muens
ada1055009
Address PR review comments
2019-09-05 12:51:06 +02:00
Philipp Muens
dce68432cb
Run Prettier
2019-09-05 12:51:06 +02:00
Eetu Tuomala
d879730866
use lodash to check empty values, change version function order
2019-09-05 12:51:06 +02:00
Eetu Tuomala
4c99b2d237
add test for prepareFunctions and naming
2019-09-05 12:51:06 +02:00
Eetu Tuomala
aeb3bb5a93
fix node 4 and 6 related syntax errors
2019-09-05 12:51:06 +02:00
Eetu Tuomala
cc526ff850
add cloudfront to enpoints info, fix target origin id test, add cloudfront to getStackinfo test
2019-09-05 12:51:06 +02:00
Eetu Tuomala
d3f54ea62f
refactor origin and behavior indexing
2019-09-05 12:51:06 +02:00