230 Commits

Author SHA1 Message Date
Mariusz Nowak
cd93739393
Merge pull request #6981 from philiiiiiipp/patch-4
Provide backoff for retryable aws requests and the option to adjust the cf status check interval via an environment variable
2019-12-02 13:37:40 +01:00
Philipp Muens
69465f1b81 Run Prettier 2019-12-02 13:20:48 +01:00
Philipp Beau
9bedb1fa38 4 and 7 what 2019-12-02 11:01:00 +01:00
Philipp Beau
6e47c4a6b7 removed the increasing backoff and limited the retry interval to 4 - 7 seconds 2019-12-02 10:58:20 +01:00
Philipp Beau
0dddcca8e7 simplified the calculation for the backoff and provided a simpler log output 2019-11-30 15:51:42 +01:00
Mark Tse
0d7fe5e2ea chore - run prettier. 2019-11-29 22:59:53 -05:00
Mark Tse
f08707025d awsprovider - adding support for SDK sub-classes. 2019-11-29 21:39:30 -05:00
Philipp Beau
1a9b1f651d
Show the time in seconds rather than milliseconds 2019-11-22 11:05:15 +01:00
Peter Indiola
4adc5cc197 Fix spelling and typos in docs, code variables and code comments 2019-11-20 23:28:56 +08:00
Mariusz Nowak
e712d3756d
Test empty deployment prefix 2019-11-20 12:44:12 +01:00
Philipp Beau
de2954a7d5
Provide exponential backoff with 10s jitter 2019-11-19 20:02:57 +01:00
Clar Charron
1e6e94283e
Lints 2019-11-15 09:01:11 -05:00
Clar Charron
6aa79fb06f
Typo 2019-11-14 16:08:50 -05:00
Clar Charron
334bb810e7
Allow null/undefined 2019-11-13 10:42:53 -05:00
Clar Charron
cebfde19a8
Only allow explicit '' deploymentPrefix for empty 2019-11-12 10:48:28 -05:00
Clar Charron
a74548da33
Treat falsey deploymentPrefix as empty prefix 2019-11-07 17:21:20 -05:00
Clar Charron
62b29a1941
(sighs in JavaScript) 2019-11-07 17:13:38 -05:00
Mariusz Nowak
5c44c88581
Fix handling of --no-aws-s3-accelerate option 2019-11-07 10:26:04 +01:00
Eetu Tuomala
aeb3bb5a93 fix node 4 and 6 related syntax errors 2019-09-05 12:51:06 +02:00
Mariusz Nowak
56b98e591b
Do not retry on 403 2019-09-02 18:00:57 +02:00
Kevin Tardif
a1d2f7d090 getLogRetentionInDays now returns null if config value is unset 2019-08-16 08:28:45 -04:00
Kevin Tardif
462c936e7c Set AWS API Gateway RetentionInDays to value of provider.logRetentionInDays 2019-08-15 10:22:44 -04:00
Daniel Schep
9a27c0c1cc Merge remote-tracking branch 'origin/master' into support-for-ecs-metadata-creds 2019-07-23 12:51:58 -04:00
Daniel Schep
105a2f7978 Revert "Fail faster when no AWS creds exist (#6393)"
This reverts commit 62c656b3635d468956ec789814fea8cb3462499f, reversing
changes made to d0793ee65c5058c8921d29ded4e418f2b68751dd.
2019-07-22 14:13:43 -04:00
Maciej Skierkowski
0d44aaca0a Use slss.io for links 2019-07-22 13:02:30 -04:00
Mariusz Nowak
d2e537329f
Fix lint issues
Came out after change to no-confusing-arrow rule
2019-07-19 17:46:08 +02:00
Daniel Schep
70db07d949 purty 2019-07-18 10:42:33 -04:00
Daniel Schep
705a51867d correctly stub userStats.track 2019-07-18 10:22:22 -04:00
Daniel Schep
743f165451 fix isolated test 2019-07-18 08:09:54 -04:00
Daniel Schep
d2e222ca1f doh. actually need to be valid creds 2019-07-17 18:41:32 -04:00
Daniel Schep
7d28de8774 doh. credential needs to be non-empty 2019-07-17 18:32:13 -04:00
Daniel Schep
512432b50a purty 2019-07-17 18:31:04 -04:00
Daniel Schep
2521e5d285 set fake creds in request test to try and fix ci 2019-07-17 18:24:17 -04:00
Daniel Schep
4f9bc560fb fix test covg 2019-07-17 17:06:06 -04:00
Daniel Schep
39b5f91205 Fail faster when no AWS creds exist 2019-07-17 16:39:40 -04:00
Mariusz Nowak
87b88cdbf9
Fix service.provider.region resolution 2019-06-28 10:19:22 +02:00
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
Christoph Gysin
142a9d8304 Support external ApiGateway websocket API
fixes #6270
2019-06-19 09:21:54 +03:00
Mariusz Nowak
89472d2b55
Update to new version of Sinon 2019-06-03 12:41:03 +02:00
Mariusz Nowak
f6d993e97b
Merge with master 2019-05-31 12:36:53 +02:00
Philipp Muens
773e9af3c1 Thorough integration testing 2019-05-30 15:20:58 +02:00
Mariusz Nowak
bea683c702
Fix lint issues 2019-05-29 10:34:45 +02:00
Mariusz Nowak
531f4600db
Isolate process.env toggling in tests 2019-05-29 10:15:18 +02:00
Mariusz Nowak
155eb6c6f2
Fix lint issue 2019-05-14 14:52:03 +02:00
Mariusz Nowak
e666c7f267
Ensure test doesn't depend on env state 2019-05-14 14:45:15 +02:00
Mariusz Nowak
7a76563904
Cleanup process.env handling 2019-05-14 14:24:49 +02:00
Mariusz Nowak
4268dba3be
Ensure no side effects 2019-05-14 14:20:32 +02:00
Mariusz Nowak
8c9e11d996
Ensure no side effects 2019-05-14 13:37:25 +02:00
Mariusz Nowak
8562bdc2b6
Fix assertion 2019-05-14 12:57:01 +02:00
Mariusz Nowak
5e85ce9b27
Fix restoration of serverless env 2019-05-14 12:56:25 +02:00