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
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
Mariusz Nowak
312b4f5bf1
Merge pull request #6537 from mthenw/fix-depeloy-individually
...
Fix deploy command if package.individually set on a function-level
2019-08-14 11:02:33 +02:00
Maciej Winnicki
896631defd
Refactor test
2019-08-14 10:50:09 +02:00
Mariusz Nowak
6a84748fe3
Merge pull request #6531 from serverless/apigw-logs-setup-fix
...
Setup APIGW CloudWatch role via custom resource
2019-08-14 10:05:45 +02:00
Mariusz Nowak
f0a8b8cfa3
Mock npm install in tests
2019-08-14 09:37:40 +02:00
Mariusz Nowak
60f36e4bbe
Clear invalid options
2019-08-14 09:36:35 +02:00
Maciej Winnicki
f2f3c00ed0
Maintain original behavior and add a test
2019-08-14 08:55:29 +02:00
Kevin Tardif
3e7ea5a191
Added log.level setting to customize AWS API Gateway log level
2019-08-13 15:55:47 -04:00
Maciej Winnicki
f7813408e7
typo
2019-08-13 21:15:51 +02:00
Maciej Winnicki
fe6bab392a
Fix prettier issues
2019-08-13 21:14:29 +02:00
Maciej Winnicki
3ceb0aabaf
Fix deploy command if package.individually set on a function-level
2019-08-13 20:59:18 +02:00
Ethan Smith
56d96c4afe
Only add merged IAM policies for Lambda when they will be used ( #6262 )
2019-08-13 13:12:37 -04:00
Mariusz Nowak
e042f064dc
Configure tests for new naming functions
2019-08-13 18:16:19 +02:00
Mariusz Nowak
cc6c1948fb
Correct typo
2019-08-13 18:16:00 +02:00
Mariusz Nowak
6f10b03c93
Minimize function name
2019-08-13 18:07:08 +02:00
Mariusz Nowak
c3dcb0646a
Ensure extensive timeout on custom resource lambdas
2019-08-13 17:50:29 +02:00
Mariusz Nowak
64ce692951
Setup APIGW CloudWatch role via custom resource
2019-08-13 17:30:28 +02:00
Mariusz Nowak
e4211800a1
Introduce DX friendly function name validation
2019-08-13 17:11:00 +02:00
Mariusz Nowak
16acdeaed6
Introduce wait util
2019-08-13 17:10:59 +02:00
Mariusz Nowak
2089e76836
Allow to use async/await in custom resource lambdas
2019-08-13 17:10:59 +02:00
Mariusz Nowak
8558e6a649
Move stage configuration to directory
2019-08-13 17:10:59 +02:00
Stephane Seng
5952712085
fix(GITHUB-6525-5172): Rewrite copyDirContentsSyncAllow to call fs-extra::copySync() on the directories instead of calling it on the files to copy individually.
...
The main motivation behind these changes is to rely on
https://github.com/jprichardson/node-fs-extra/blob/8.1.0/docs/copy-sync.md as
much as possible in order to avoid having to do the
`fullFilePath.replace(srcDir, '')` operation because this operation can be
error-prone.
Doing so fixes the following issues because the user-submitted file paths are
now correctly interpreted by fs-extra, closing both #6525 and #5172 .
2019-08-12 23:09:23 +02:00
Philipp Muens
8a82c8a2cf
Merge pull request #6518 from serverless/event-bridge-partner-events
...
Fix support for EventBridge partner event sources
2019-08-09 18:38:26 +02:00
Philipp Muens
21f4f7fe2f
Fix support for EventBridge partner event sources
2019-08-09 14:30:49 +02:00
Philipp Muens
487c21b5b0
Merge pull request #6520 from c0d3d/deploy-over-failed-deploys
...
Change strategy for deciding to deploy new function.
2019-08-09 13:37:20 +02:00
Philipp Muens
42ba297229
Merge pull request #6519 from serverless/retain-cognito-user-pool-config
...
Retain existing Cognito User Pool config
2019-08-09 08:29:15 +02:00
Neil Locketz
6b5d083384
Check that a function was modified after artifact when deciding to deploy
2019-08-08 22:54:40 -04:00
Daniel Schep
f9c25db76a
Improve interactive AWS creds flow ( #6449 )
...
Improve interactive AWS creds flow
2019-08-08 10:05:06 -04:00