7369 Commits

Author SHA1 Message Date
Mariusz Nowak
df1b8a9433 fix(Config Schema): Run validation logic unconditionally
It's to ensure that properties normalization is applied unconditionally
2020-10-30 15:26:25 +01:00
Mariusz Nowak
9481029b59 refactor(Config Schema): No point in creating new object 2020-10-30 15:26:25 +01:00
Mariusz Nowak
c2712183a5 refactor(Config Schema): Run schema validation only in service context 2020-10-30 15:26:25 +01:00
Mariusz Nowak
214768b83a refactor: Ensure config modifications happen after its validation 2020-10-30 15:26:25 +01:00
Mariusz Nowak
734482eab5 refactor(Config Schema): Ensure alphabetical order 2020-10-30 15:26:25 +01:00
Mariusz Nowak
85f823cf46 fix(Config Schema): Fix IAM Policy resource reference schema 2020-10-29 12:53:19 +01:00
Mariusz Nowak
f887f8c839 test: Improve error exposure 2020-10-29 12:28:11 +01:00
Mariusz Nowak
2c4fa7baec feat(CLI): Add auto update config step to interactive setup 2020-10-29 12:28:11 +01:00
Mariusz Nowak
7cc898cd0f feat(Analytics): Distinguish npm and other global installations 2020-10-29 12:28:11 +01:00
Mariusz Nowak
dc5710d9c5 test: Refactor to async/await 2020-10-29 12:28:11 +01:00
Mariusz Nowak
5a5bb60e9f refactor: Convert to async/await 2020-10-29 12:28:11 +01:00
Mariusz Nowak
48a3e11f33 feat(Analytics): Report isAutoUpdateEnabled 2020-10-29 12:28:11 +01:00
Mariusz Nowak
e3f454680e feat: Opt-in auto update global installation 2020-10-29 12:28:11 +01:00
Mariusz Nowak
b8ddd2553d test: Upgrade to @serverless/test v6.1 2020-10-29 12:28:11 +01:00
Mariusz Nowak
5fcc54ae2a refactor(Standalone): Seclude standalone utils 2020-10-29 12:28:11 +01:00
Mariusz Nowak
b114efa999 refactor(Standalone): Convert to async/await 2020-10-29 12:28:11 +01:00
Mariusz Nowak
4275f2770a refactor(Standalone): Reorder requires 2020-10-29 12:28:11 +01:00
Mariusz Nowak
0d605fa76f refactor(Analytics): Alphabetical order 2020-10-29 12:28:11 +01:00
Mariusz Nowak
b04ab55fab fix(Config Schema): Ensure to validate provider as in config file 2020-10-29 09:27:03 +01:00
Frédéric Barthelet
7e9b2eac74
feat(AWS Deploy): Update according to shifted CloudFormation limits
(PR #8433)
2020-10-28 11:20:39 +01:00
Mariusz Nowak
9292ef1173 test: Fix fixture service config
It only worked because all  `provider` properties are mapped on `provider`
2020-10-27 22:09:35 +01:00
Frédéric Barthelet
479727e1f4
feat(AWS CloudFront): Switch from ForwardedValues to cache policies
(PR #8381)
2020-10-27 17:36:20 +01:00
Piotr Grzesik
2d6824cde5
refactor: Replace BbPromise.props with Promise.all (#8414) 2020-10-20 12:18:05 +02:00
Ed Holland
6e62e1c5e8
fix(AWS Deploy): Fix handling of AWS SDK numeric error codes (#8412) 2020-10-19 13:47:15 +02:00
Mark Tse
78f159b432
fix(Templates): Ensure service is renamed in package-lock.json (#8409) 2020-10-19 12:13:03 +02:00
Fabian Schneider
8566135341
feat(AWS API Gateway): Fix API Gateway naming convention (#8339) 2020-10-19 11:59:11 +02:00
Mariusz Nowak
2c874e22c9 refactor(Config Schema): Convert oneOf to more optimal anyOf 2020-10-16 12:30:32 +02:00
Mariusz Nowak
b0fe67d846 fix(Config Schema): Fix AWS stream event consumer schema 2020-10-16 12:30:32 +02:00
Mariusz Nowak
0394025438 fix(Config Schema): Do not mark layers[].path as required
It is not required when `package.artifact` is passed
2020-10-14 16:35:12 +02:00
Mariusz Nowak
166f3ce6bf fix(Config Schema): Fix provider.apiKeys schema 2020-10-14 15:49:04 +02:00
Mariusz Nowak
73f6549157 fix(Config Schema): Fix provider.apiKeys required properties config 2020-10-14 14:28:22 +02:00
Oz Weiss
e51e0f22da
feat(Config Schema): Schema for provider props of AWS http event
(PR #8383)
2020-10-14 13:30:56 +02:00
Piotr Grzesik
c382d869a8
fix(AWS Stream): Fix support for lambdas with provisioned concurrency
(PR #8342)
2020-10-13 10:29:27 +02:00
Frédéric Barthelet
719fa3a3bf
feat(Config Schema): Async invocations AWS functions[] schema (#8385) 2020-10-13 10:27:07 +02:00
Raul Zaldana
9303d8ecd4
feat(AWS Websocket): Support CF intrinsic functions at arn (#8335) 2020-10-12 16:58:13 +02:00
Mariusz Nowak
f1665460d4 fix(Config Schema): Fix API Gateway authorizer schema 2020-10-12 15:16:24 +02:00
Oz Weiss
c2d40ea63b
fix(AWS S3): Fix handling of lambda removal permissions (#8384) 2020-10-12 13:39:17 +02:00
Mariusz Nowak
9a33e62c83
test(AWS Local Invocation): Increase error margin 2020-10-12 13:37:38 +02:00
Frédéric Barthelet
6a81137406
feat(AWS Local Invocation): Randomize awsRequestId (#8380) 2020-10-12 11:54:48 +02:00
Mariusz Nowak
4579045ed1 fix(AWS Deploy): Fix resolution of CloudFormation error 2020-10-12 11:02:53 +02:00
Ryan Roemer
661caad22d
fix(AWS Deploy): Ensure to handle right overriden package.artifact (#8351)
It's to handle special case related to how plugins as jetpack override internal packaging.

In this case `package.artifact` is overridden with pre-prepared archive placed in `.serverless` folder. That was not handled cleanly by Framework internals, and this patch fixes that
2020-10-09 17:43:14 +02:00
Marek Piotrowski
21babec2ce
fix(AWS Local Invocation): Ensure IS_LOCAL env variable in docker
(PR #8372)
2020-10-09 15:34:09 +02:00
Mariusz Nowak
a9b28b6d7f fix(Config Schema): Revert invalid "oneOf" based validation 2020-10-09 13:37:22 +02:00
Mariusz Nowak
2e26e07f92 fix: Ensure to preserve undefined valued propeties as undefined 2020-10-09 12:34:20 +02:00
Mariusz Nowak
244ae111c1 fix(Config Schema): Bring back non-array supported variants
They were removed by mistake with #8319.
It's only primitive/array combinations where singular variant should be removed. object/array should be left intact
2020-10-08 15:36:40 +02:00
Oz Weiss
f235041d0b
feat(Config Schema): Schema for AWS http event (#8301)
Excluding properties in `provider` namespace
2020-10-08 12:37:16 +02:00
Marek Piotrowski
261c16fc59
fix(AWS Credentials): Recognize AWS_DEFAULT_PROFILE env variable (#8354) 2020-10-07 13:41:31 +02:00
Mariusz Nowak
c93a799653 fix(Config Schema): Ensure to preserve null properties in user config 2020-10-07 13:36:34 +02:00
Mariusz Nowak
fa6d72bb63 test(AWS API Gateway): Fix default override test 2020-10-07 13:36:34 +02:00
Pratik Prajapati
a3ebc01f2b
feat(AWS Deploy): Retry retryable SDK errors in custom resources (#8338) 2020-10-07 13:22:16 +02:00