220 Commits

Author SHA1 Message Date
Mariusz Nowak
e712d3756d
Test empty deployment prefix 2019-11-20 12:44:12 +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
Mariusz Nowak
1ce8c21d85
Improve mock setup 2019-05-14 12:54:26 +02:00
Mariusz Nowak
73ea7fd9e0
Improve setTimeout stub
Making it sync breaks bluebird internals
(e.g. detection of unhandled rejections).

With this patch we make sure it's quick enough but still async
2019-05-14 11:45:54 +02:00
Sami Nurminen
a0e629fe8e Support setting both proxy and ca file for awsprovider AWS config agent 2019-03-23 11:41:32 +02:00
Philipp Muens
00e0524ba3 Merge branch 'master' into feat/apiGatewayDescription 2019-03-07 13:20:19 +01:00
Daniel Schep
03d8cebee8
Merge pull request #5744 from serverless/fix-sls-4311
Resolve profile before performing aws-sdk dependent actions
2019-01-28 10:10:07 -05:00
Philipp Muens
f48130b527 Fix test 2019-01-28 14:05:11 +01:00
Philipp Muens
19996c2d1a Merge branch 'master' into fix-broken-profiles 2019-01-28 13:55:22 +01:00
Danny Varner
d3fef359f4 Fix linting errors 2019-01-25 21:08:58 -08:00
Danny Varner
4ad73bb7ca Add test for profile fix 2019-01-25 20:55:33 -08:00
Daniel Schep
e1f9b83dc9 resolve vars in file profile config before ssm vars 2019-01-25 08:24:15 -05:00