170 Commits

Author SHA1 Message Date
Mariusz Nowak
8c3c7c4e3a chore: Rename "tests" folder to "test"
Also upgrade @serverless/eslint-config to v2
2020-08-28 16:22:09 +02:00
Steven Rapp
89ba272a63
feat(Variables): Support non-function exports in js files (#7540) 2020-05-21 11:28:38 +02:00
Kenan Christian Dimas
c106d53638
refactor: Upgrade 'fs-extra' to v8 (#7719) 2020-05-13 16:16:17 +02:00
Frédéric Barthelet
f22bffc2b4
feat(Variables): Support boolean and integer fallbacks (#7632)
Additionally improved string related regex
2020-05-04 13:00:07 +02:00
Frédéric Barthelet
7d3636f968
feat(Variables): Support region selection of SSM variables (#7625) 2020-04-27 10:52:11 +02:00
Arben Bakiu
7310782294
fix(Variables): Relax pattern to allow non-ascii defaults (#7431) 2020-03-08 09:43:16 +13:00
Mariusz Nowak
bc5bbbed3c fix(Variables): Ensure to retrieve status code correctly
It changed with #7237
2020-01-29 14:45:12 +04:00
Mariusz Nowak
f1cc3a8998 test: Update to not rely on side ServerlessError feature 2020-01-21 13:20:02 +01:00
Mariusz Nowak
4893f7d0c2 fix(Variables): Ensure no same object instances are shared across config
Fixes #7098
2019-12-19 12:05:33 +01:00
Mariusz Nowak
fead29a5a8
test: Ensure to call after callback on conditional skip 2019-12-12 14:27:40 +01:00
Miguel A. Calles, MBA
a76644a27f
Update Variables.test.js 2019-10-31 07:55:06 -07:00
Miguel A. Calles, MBA
55777d9b97
Update Variables.test.js 2019-10-29 15:03:55 -07:00
Miguel A. Calles, MBA
a574730e0f
Update Variables.test.js 2019-10-25 13:41:32 -07:00
Miguel A. Calles, MBA
8ce3558a77
Update Variables.test.js 2019-10-25 09:10:47 -07:00
Miguel A. Calles, MBA
12ef323037
Update Variables.test.js 2019-10-25 08:21:20 -07:00
Miguel A. Calles, MBA
713278b12d
Update Variables.test.js 2019-10-24 15:10:07 -07:00
Miguel A. Calles, MBA
fc1324e813
Using strToBool in tests 2019-10-22 07:20:16 -07:00
Miguel A. Calles, MBA
3ad4b69546
Prettier 2019-10-21 20:06:37 -07:00
Miguel A. Calles, MBA
0204c5cfdb
Bug fix in toBool test 2019-10-21 16:57:24 -07:00
Miguel A. Calles, MBA
8569818a3a
Updated variables test to include toBool casting 2019-10-21 16:19:20 -07:00
Mariusz Nowak
4d9006bcdf
Merge pull request #6808 from kdnakt/variables-add-question
Make question mark available as variables fallback
2019-10-10 06:01:36 -05:00
Philipp Muens
c3ce4280b1 Run Prettier 2019-10-10 12:40:57 +02:00
Doug Moscrop
0fe004e942 allow empty arrays in overrides 2019-10-09 18:44:41 -04:00
kdnakt
12cad14dce Make question mark available as variables fallback 2019-10-09 09:10:32 +09:00
Mariusz Nowak
6c949450bc
Refactor to rely on @serverless/test/skip-with-notice 2019-09-13 16:53:47 +02:00
Daniel Schep
43076c0f22 Merge remote-tracking branch 'origin/master' into custom-variable-getters 2019-08-29 12:38:58 -04:00
Daniel Schep
569623e156 s/method/resolver/ 2019-08-27 08:44:57 -04:00
Daniel Schep
0ca9c2ed67 lint 2019-08-26 13:39:21 -04:00
Daniel Schep
83591d507c fix tests 2019-08-26 12:29:12 -04:00
Doug Moscrop
69f4cbe1dd do not log warnings on empty arrays 2019-08-21 13:17:44 -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
Jonathan Keslin
31834261b0 Warn when attempting to split non-StringList parameter type 2019-07-12 09:38:48 -07:00
Jonathan Keslin
87315d7c48 prettier fix 2019-07-11 15:46:47 -07:00
Jonathan Keslin
96946fd5fc Allow optionally splitting SSM parameter value for StringList type 2019-07-11 15:33:17 -07:00
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
Mariusz Nowak
0f181edd67
Rely on skipWithNotice 2019-06-05 09:53:33 +02:00
Mariusz Nowak
c5c6a92292
Skip test on windows when no admin rights 2019-06-04 13:16:33 +02:00
Mariusz Nowak
8b93649def
Merge with master 2019-06-03 11:43:18 +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
531f4600db
Isolate process.env toggling in tests 2019-05-29 10:15:18 +02:00
Mariusz Nowak
cfa523d91f
Rely on stub(...).callsFake (Upgrade to sinon v2) 2019-05-13 20:43:22 +02:00
Philipp Muens
11ff959129
Merge pull request #5926 from serverless/serverless-instance-id
Add Serverless instanceId concept
2019-03-25 12:23:16 +01:00
Philipp Muens
5cba21730c Merge branch 'master' into sls-5225 2019-03-22 10:47:11 +01:00
Philipp Muens
63c371c057 Turn Serverless Variable into plain value 2019-03-22 10:08:19 +01:00
Philipp Muens
391488bb39 Add ${sls:} Serverless Variable 2019-03-22 10:08:19 +01:00
exoego
616c744bd3 It should return json if referencing JSON in AWS SecretsManager. 2019-02-17 16:49:11 +09:00
Jerry Wang
041f717e07 fix makeDeepVariable replacement 2019-02-07 17:49:35 -05:00
Erik Erikson
f95a99096e Append in Custom Syntax
Respect custom variable syntaxes when appending to deep variables.
2019-02-05 17:11:53 -08:00
exoego
b67455db6e Add tests for #5398 2019-02-02 22:45:39 +09:00