398 Commits

Author SHA1 Message Date
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
Chris Villanueva
77fbb5969b
refactor: Replace _.includes with val.includes (#7818) 2020-06-08 09:13:50 +02:00
Chris Villanueva
a527744606
refactor: Replace _.firstwith array[0] (#7816) 2020-06-08 09:07:17 +02:00
Wing-Kam
9f3ee94a74
refactor: Replace _.isString(value) with typeof value === 'string'
(PR #7812)
2020-06-03 16:17:04 +02:00
Wing-Kam
6cf4901a89
refactor: Replace _.isNil(value) with value == null (#7809) 2020-06-03 15:38:18 +02:00
Wing-Kam
22a4ed27e2
refactor: Replace _.toUpper(string) with string.toUpperCase (#7808) 2020-06-03 14:39:49 +02:00
Chris Villanueva
003696260c
refactor: Replace _.find with array.find (#7782) 2020-06-02 09:43:56 +02:00
Alex DeBrie
2e4377ecf0
feat(AWS API Gateway): Simplify referencing local CognitoUserPool
(PR #7799)
2020-06-01 14:19:09 +02:00
Chris Villanueva
2b00928f87
refactor: Replace _.size with native counterparts (#7798) 2020-06-01 13:30:43 +02:00
TATSUNO Yasuhiro
5e0af21313
refactor: Replace _.forEach and _.each with array.forEach (#7748) 2020-05-28 10:45:25 +02:00
Satoru Kikuchi
87d40aa8a7
feat(AWS API Gateway): Support toggling CloudWatch metrics (#7754) 2020-05-28 09:31:31 +02:00
Greg Campion
c6894b5129
feat(AWS API Gateway): Support customerId in API keys (#7786) 2020-05-28 09:29:01 +02:00
Chris Villanueva
d43241ea8b
refactor: Replace _.keys with Object.keys (#7784) 2020-05-28 09:25:20 +02:00
Nguyễn Việt Đức
85e9cd4455
refactor: Replace _.assign and _.extend with Object.assign (#7766) 2020-05-26 10:24:46 +02:00
Chris Villanueva
d1721cb2b4
refactor: Replace _.every(array) with array.every (#7764) 2020-05-26 10:17:30 +02:00
Thomas Aribart
aa48f0a076
fix(AWS API Gateway): Apply contentHandling only to successful responses
(PR #7757)
2020-05-21 13:22:02 +02:00