192 Commits

Author SHA1 Message Date
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
Philipp Muens
ecaa6d80f5 Merge branch 'master' into default-error-message 2019-01-24 13:17:59 +01:00
Philipp Muens
b22a2c9c48 Merge branch 'master' into aws-promisified-provider 2019-01-24 13:01:30 +01:00
drexler
911bedd0c0 add unit test 2019-01-23 20:32:11 -05:00
drexler
67ee7c66a6 default to error code if message is non-existent 2019-01-23 19:02:38 -05:00
Danny Varner
a88bc27801 Fix broken profiles 2019-01-22 22:53:20 -08:00
Philipp Muens
89d037c468
Merge pull request #5662 from jetbridge/master
Provide AWS_PROFILE from configuration for invoke local
2019-01-22 13:12:29 +01:00
Philipp Muens
da83822905 Fix and update tests 2019-01-22 13:01:24 +01:00
Mischa Spiegelmock
b563fb218e attempting to create a test for invoke local with profile 2019-01-16 15:58:30 +02:00
Takahiro Horike
07154d772f
Merge pull request #5694 from exoego/cross-region-same-stack-name
AWS: Request cache should add region as key to prevent cross-region cache collision
2019-01-16 00:32:48 +09:00
exoego
2f76b6e08d Fix linting error. 2019-01-13 22:35:06 +09:00
exoego
4d4824f719 Add new property in jsdoc. 2019-01-13 22:16:09 +09:00
exoego
5790c3a69c Fix request cache to consider cross-region for ${cf.REGION}. 2019-01-13 22:15:45 +09:00
exoego
997ac354f7 Update test for regression. 2019-01-12 07:39:17 +09:00
exoego
2f53ecab10 Drop validation before variable resolution. 2019-01-12 07:38:42 +09:00
Mischa Spiegelmock
7004831dd4 provide AWS_PROFILE from configuration for invoke local - same as region 2019-01-08 13:45:12 +02:00
exoego
d74c0bb679 Deep-clone so modifying credentials in method does not affect original credentials. 2019-01-04 21:00:59 +09:00
exoego
337eb79b61 Add regression test for cf.REGION syntax. 2019-01-04 21:00:11 +09:00
exoego
b37f5cdb4b Remove validation for CloudFront since it is already implemented in createStack.js 2019-01-04 18:40:19 +09:00
exoego
85238c4331 Split validation: check underscore always and check hyphen only if http events are present. 2018-12-31 21:51:30 +09:00
exoego
e694cd1abf Refactor: getStage returns dev as default. 2018-12-31 07:43:32 +09:00
exoego
0f1a47a957 Add test to increase coverage. 2018-12-30 23:17:32 +09:00
exoego
b9d183fa8c Validate using RegExp. 2018-12-30 23:10:20 +09:00
exoego
4de7995139 Fix linting error. 2018-12-30 23:00:57 +09:00
exoego
a8194030e2 Add stage name validation to AWS provider. 2018-12-30 22:53:58 +09:00
jlamande@gmail.com
14c8af8246 feat(log): Log AWS SDK calls in debug mode 2018-12-18 02:41:36 +01:00
exoego
13de2a9083 Use lodash for consistency. 2018-12-10 09:50:16 +09:00
exoego
c3203aa347 Add test and document. 2018-12-08 21:29:00 +09:00
exoego
c46097c54f Add capability to request different region only if it is specified in options. 2018-12-08 20:46:17 +09:00