413 Commits

Author SHA1 Message Date
Jacques
154351f1a5
fix(AWS API Gateway): Create one request validator and reuse (#9319) 2021-04-22 11:59:17 +02:00
Jaakko Lappalainen
bca46e5ab5
fix(AWS API Gateway): Deprecate invalid apiGateway settings (#9238) 2021-04-19 09:40:15 +02:00
Piotr Grzesik
ef25d68137 fix(AWS API Gateway): Correctly recognize type for authorizerId 2021-04-14 10:48:01 +02:00
Piotr Grzesik
dac06c8ce6 fix(AWS API Gateway): Do not attempt to remove aws: tags during update 2021-04-08 14:15:11 +02:00
Mariusz Nowak
2011649537 refactor: Remove injustified "eslint-disable" comments 2021-04-02 15:05:03 +02:00
Piotr Grzesik
b530d6a288 feat(AWS API Gateway): Remove deprecation for old naming convention 2021-03-22 14:20:50 +01:00
Jeffrey McGuffee
aeb64fd3cc
feat(AWS API Gateway): Allow reuse and customization of schema models
Co-authored-by: Piotr Grzesik <pj.grzesik@gmail.com>
2021-02-26 12:25:07 +01:00
Gareth Jones
7213d1d4f8
refactor: Remove unneeded split in getHttp (#8939) 2021-02-15 09:28:48 +01:00
ifitzsimmons
c5ba682a6b
refactor: Use async/await in events/apiGateway. (#8869) 2021-02-09 15:28:48 +01:00
Juanjo Diaz
006557d847
refactor: Use standalone ServerlessError. (#8897) 2021-02-09 09:20:55 +01:00
Cem Enson
4a30bb1e5b
fix(AWS API Gateway): Correctly set throttle when quota missing 2021-01-20 09:01:14 +01:00
Mariusz Nowak
87790e50bd refactor: Seclude ServerlessError into lib/serverless-error.js 2021-01-11 19:39:42 +01:00
Mariusz Nowak
cf7b25e458 style: Upgrade "prettier" to v2 2021-01-04 16:21:24 +01:00
Frédéric Barthelet
eacae9a64d
feat(AWS API Gateway): Move api-specific keys to provider.apiGateway 2021-01-04 10:04:57 +01:00
Mariusz Nowak
c16dea3046 refactor: Normalize module path 2020-12-14 15:16:31 +01:00
Mariusz Nowak
09231c059a fix(AWS API Gateway): Fix integration schema 2020-12-03 15:39:09 +01:00
Mariusz Nowak
3808471972 test: Move unit tests to "test/unit" folder 2020-11-30 16:53:52 +01:00
andreizet
04e18cbebf
fix(AWS API Gateway): Fix usagePlan.throttle handling (#8472) 2020-11-12 09:58:37 +01:00
Mariusz Nowak
f60fb55a0b fix: Ensure to inspect configuraiton after it's fully resolved 2020-11-06 14:51:53 +01:00
Mariusz Nowak
b6d033a044 fix(AWS API Gateway): Ensure to log deprecation at initialization stage 2020-11-03 14:10:38 +01:00
Mariusz Nowak
2c874e22c9 refactor(Config Schema): Convert oneOf to more optimal anyOf 2020-10-16 12:30:32 +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
Mariusz Nowak
f1665460d4 fix(Config Schema): Fix API Gateway authorizer schema 2020-10-12 15:16:24 +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
Mariusz Nowak
fa6d72bb63 test(AWS API Gateway): Fix default override test 2020-10-07 13:36:34 +02:00
Oz Weiss
d2fb696ebd
fix(AWS API Gateway): Fix resolution of request parameters required value
(PR #8329)
2020-10-06 13:47:32 +02:00
Frédéric Barthelet
dd9a011f60
feat(Config Schema): Schema for provider.logs.restApi (#8309) 2020-09-30 18:55:08 +02:00
Piotr Grzesik
76e02cc09c
refactor: Replace _.forEach with Object.entries().forEach (#8280) 2020-09-24 10:31:32 +02:00
Piotr Grzesik
b867df147a
refactor: Replace _.{entries|entriesIn|toPairs} with Object.entries
(PR #8275)
2020-09-23 13:13:54 +02:00
Piotr Grzesik
57d1ce1a66
refactor: Replace _.values with Object.values (#8274) 2020-09-23 13:09:50 +02:00
Mariusz Nowak
05921b61ee test: Upgrade to use new fixtures engine 2020-09-09 11:17:21 +02:00
Joaquín Ormaechea
7aad819378
feat(AWS API Gateway): Allow to opt-out from default request templates
(PR #8159)
2020-09-01 16:15:33 +02:00
Mariusz Nowak
8c3c7c4e3a chore: Rename "tests" folder to "test"
Also upgrade @serverless/eslint-config to v2
2020-08-28 16:22:09 +02:00
Mariusz Nowak
5a691f4457 fix(AWS API Gateway): Fix referencing provisioned authorizers 2020-08-06 17:39:47 +02:00
Petr Reshetin
268f714357
feat: Schema based validation of service config (#7335)
Co-authored-by: Mariusz Nowak <medyk@medikoo.com>
2020-08-03 15:41:05 +02:00
Mariusz Nowak
409b4d81b6 test: Remove superfluous cleanup logic 2020-07-27 11:42:02 +02:00
Lucas Astrada
d0edb5d859
fix(AWS API Gateway): Ensure correct type for StatusCode property (#7977) 2020-07-27 08:57:12 +02:00
Mariusz Nowak
d608402428 test: Upgrade to @serverless/test v4.2 2020-07-10 17:35:23 +02:00
Mariusz Nowak
cad1f0af82 test: Upgrade @serverless/test to v4 2020-07-10 17:35:23 +02:00
andreizet
7bbd04a693
refactor: Replace _.has with better counterparts (#7915) 2020-07-07 17:18:48 +02:00
Ben Arena
56b335f999
feat(AWS API Gateway): Support integration mapping of request headers
(PR #7897)
2020-07-06 12:35:19 +02:00
Piotr Grzesik
75bf185785
refactor: Replace _.some usage with array.some (#7901) 2020-07-06 09:08:44 +02:00
Nguyễn Việt Đức
d6cf036c16
refactor: Replace _.findKey with Object.keys(object).find (#7881) 2020-07-01 09:23:46 +02:00
Dai Van Nguyen
3b19a5a6b1
refactor: Remove _.isInteger (#7878) 2020-06-29 09:38:38 +02:00
Dai Van Nguyen
297f7d85e0
refactor: Replace _.reduce with array.reduce (#7883) 2020-06-26 12:32:07 +02:00
Dai Van Nguyen
4c33476210
refactor: Replace _.isEmpty with native counterparts (#7873) 2020-06-25 15:17:52 +02:00
Nguyễn Việt Đức
57e4212671
refactor: Replace _.sortBy with array.sort (#7823) 2020-06-18 14:36:45 +02:00
Mariusz Nowak
85cc4476b3 fix(AWS API Gateway): Fix handling of usagePlan array
Improves leaky logic introduces with https://github.com/serverless/serverless/pull/5982
Exposed by regression introduced with https://github.com/serverless/serverless/pull/7827
2020-06-16 16:20:34 +02:00
Nguyễn Việt Đức
4c6f8be5cc
refactor: Replace _.map with array.map (#7827) 2020-06-12 09:59:42 +02:00
Nguyễn Việt Đức
20cef81555
refactor: Replace _.isUndefined with native checks (#7826) 2020-06-12 09:54:00 +02:00