6413 Commits

Author SHA1 Message Date
Mariusz Nowak
5910028f5a
Merge pull request #6588 from serverless/improve-error-handling
Fix ServerlessError handling
2019-08-26 15:42:58 +02:00
Mariusz Nowak
05ec61844b
Test error message 2019-08-26 14:58:29 +02:00
Daniel Schep
843650d8b0
Interactive CLI interactive hook (#6549)
* PLAT-1391 - add interactiveCli:end lifecycle hook
2019-08-26 08:37:43 -04:00
Mariusz Nowak
a2510e2e5f
Merge branch 'master' into improve-error-handling 2019-08-26 14:37:21 +02:00
Daniel Schep
7ccdde6178 asfaf 2019-08-26 08:13:34 -04:00
Mariusz Nowak
dda0c71048
Merge pull request #6587 from serverless/improve-rest-api-id-resolution
Improve Rest API id resolution for SDK updates
2019-08-26 14:01:00 +02:00
CSP
8365f8c197 #6333: Exclude yarn logs from packaging 2019-08-23 15:34:12 -07: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
Mariusz Nowak
a4768acdb1
Pass through error 2019-08-23 18:03:37 +02:00
Mariusz Nowak
377a7284af
Resolve Rest API id from CloudFormation template 2019-08-23 16:24:23 +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
6cc63326f1
Improve var name 2019-08-23 16:00:45 +02:00
Mariusz Nowak
4d64b9d21b
Merge pull request #6585 from serverless/improve-error-handling
Improve error reporting
2019-08-23 15:37:46 +02:00
Mariusz Nowak
566ef3c164
Allow unresolved Rest API id for tags 2019-08-23 14:00:13 +02:00
Mariusz Nowak
418d4e4ae9
Improve multiline message output 2019-08-23 13:50:50 +02:00
Mariusz Nowak
0b07508664
Ensure to use ServerlessError for user error 2019-08-23 13:50:50 +02:00
Kevin Tardif
ac7c0851b7 Naming improvements 2019-08-22 12:27:35 -04:00
Kevin Tardif
a039a7c4d0 Renamed fullData to fullExecutionData 2019-08-22 10:28:46 -04:00
Kevin Tardif
e2ed359f49 Added logs.executionLogging, no longer allowing OFF logLevel 2019-08-22 10:17:21 -04:00
Kevin Tardif
53d926df08 Updated field names to accessLogging, fullData, minor cleanups 2019-08-22 09:58:31 -04:00
Kevin Tardif
8314f4290c Added ability to enable/disable access logs, execution logs 2019-08-22 08:33:33 -04: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
Mariusz Nowak
094db72da8
Ensure AWS SDK is mocked for all tests 2019-08-21 21:42:46 +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
Daniel Schep
c3674e1293 safer & more explicit implementation of variableResolvesrs(also renamed) 2019-08-21 10:22:05 -04:00
Daniel Schep
55a794f4e0 drop support for the asyncInit function on plugins 2019-08-20 15:45:32 -04:00
Daniel Schep
c0ed311865 simplify variable getter hook system 2019-08-20 15:00:23 -04:00
Daniel Schep
d3bcfeea78 lint 2019-08-20 14:39:20 -04:00
Daniel Schep
8b53a4323a lint & docs 2019-08-20 14:29:40 -04:00
Daniel Schep
e4d29bb9cd test coverage for loading variable getters 2019-08-20 14:18:52 -04:00
Daniel Schep
02fa190d0b Add plugin hooks to define config variable getters 2019-08-20 11:23:42 -04:00
Mariusz Nowak
babc140c9e
Merge pull request #6543 from m-ronchi/external-websocket-deployment
Add support for external websocketApiId
2019-08-20 14:39:44 +02:00
Mariusz Nowak
94cac93fe8
Merge pull request #6548 from ktardif/apigw-respect-log-retention
AWS API Gateway set value of provider.logRetentionInDays for log group expiration
2019-08-20 13:59:59 +02:00
Kevin Tardif
b069e09e9f Updated logRetentionInDays checks 2019-08-19 13:35:06 -04:00
Mauro Ronchi
46d1e72720 extract long expression into local variable 2019-08-19 18:14:44 +02:00
Nathan Chapman
d266b1b399 Return null from logStat promise to remove Bluebird warnings 2019-08-16 16:08:00 -05:00
Kevin Tardif
a1d2f7d090 getLogRetentionInDays now returns null if config value is unset 2019-08-16 08:28:45 -04:00
Mariusz Nowak
b2091b030e
Merge pull request #6545 from mokamoto12/fix-retained-layer-logical-id
Fix retained layer logical id
2019-08-16 10:47:30 +02:00
Mariusz Nowak
78a703a2eb
Merge pull request #6542 from ktardif/apigw-customize-log-level
AWS API Gateway customize log level
2019-08-16 10:38:07 +02:00
Kevin Tardif
462c936e7c Set AWS API Gateway RetentionInDays to value of provider.logRetentionInDays 2019-08-15 10:22:44 -04:00
mokamoto12
8b499c77b6 prettify the code 2019-08-15 00:03:21 +09:00
mokamoto12
5ba145973b Fix retained layer logical id 2019-08-14 23:27:08 +09:00
Kevin Tardif
cf390d5f88 Updated valid apigw log levels to use a set, using ServerlessError instead of Error 2019-08-14 10:21:28 -04:00
Mauro Ronchi
266a4406a3 npm run prettify 2019-08-14 15:12:26 +02:00
Kevin Tardif
bea1caec26 Updated formatting 2019-08-14 08:47:48 -04:00
Mauro Ronchi
51e49096e2 Add support for external werbsocketApiId
fixes #6533
2019-08-14 13:06:05 +02:00