133 Commits

Author SHA1 Message Date
Philipp Muens
fc2600b2d2 Update Description in tests 2019-03-07 13:36:05 +01:00
Philipp Muens
00e0524ba3 Merge branch 'master' into feat/apiGatewayDescription 2019-03-07 13:20:19 +01:00
pchynoweth
4c935d11e0 Fixed up linting issues 2019-02-04 10:09:55 +00:00
pchynoweth
9a25ade818 Added unit tests 2019-02-04 10:00:14 +00:00
pchynoweth
73d95c283e Fixed linting issue 2019-02-03 21:46:25 +00:00
pchynoweth
81a21744e6 Now checking if origins is empty 2019-02-03 21:09:20 +00:00
pchynoweth
968159b043 Now copying cacheControl into validated corsPreflight 2019-02-03 17:12:44 +00:00
Richard Davison
867d112470 Allow origin to be used by splitting comma separated values 2019-01-28 14:31:53 +01:00
Richard Davison
a820191a49 Fixed test 2019-01-28 12:17:46 +01:00
Richard Davison
e2563d768f Fixed typo 2019-01-28 11:49:44 +01:00
Richard Davison
3dff171b46 Remove single quoute 2019-01-28 11:17:35 +01:00
Richard Davison
d9575d424c Added test when no origin or origins is provided 2019-01-23 09:08:35 +01:00
Richard Davison
01b529af43 Provide multi origin cors 2019-01-23 08:48:52 +01:00
Daniel Cottone
601d9df12e fixing lint issue 2018-11-29 14:26:50 -06:00
vkkis
40f892b3d5 sets the description only if it's provided 2018-11-29 16:51:27 +02:00
Daniel Schep
83fb574e07
Update lib/plugins/aws/package/compile/events/apiGateway/lib/restApi.js
Co-Authored-By: daniel-cottone <daniel.cottone@asurion.com>
2018-11-29 07:52:40 -06:00
Daniel Cottone
efa31ac5ef fixing variable check and adding back test 2018-11-27 14:51:02 -06:00
Daniel Cottone
1b41e1393a removing broken test 2018-11-27 12:54:53 -06:00
Daniel Cottone
e78d3cb541 Add support for API Gateway payload compression 2018-11-27 11:32:53 -06:00
vkkis
44c24b503c fix eslint 2018-11-21 11:17:14 +02:00
vkkis
3f5fa1acf5 rewrite unit tests in order to increase code coverage 2018-11-21 10:49:17 +02:00
vkkis
25b48a2c7c fix eslint 2018-11-20 18:38:30 +02:00
vkkis
e30e03f1fb fix tests 2018-11-20 18:15:01 +02:00
vkkis
821b9d9e3b Support API Gateway stage deployment description 2018-11-20 14:56:54 +02:00
Takahiro Horike
2d22c40195
Merge pull request #5395 from aki-webii/fix/support-apig-api-key-source-type
APIG ApiKeySourceType support.
2018-10-21 15:46:43 +09:00
aki-webii
8524ea5a74 Return Promise.reject(async) object insted of the simple error(sync) when the validation error is occurred. 2018-10-15 10:57:21 +09:00
aki-webii
92e3f0b598 Fix lint error. 2018-10-13 17:03:42 +09:00
aki-webii
f68dafa969 Add test code. 2018-10-13 16:53:17 +09:00
aki-webii
1f6736b989 Adding ApiKeySourceType option into the CloudFormation template, when that option is provided at serverless.yml. 2018-10-13 16:24:47 +09:00
reedyrm
588bebc933 fixed bad string in test 2018-09-25 08:48:43 -05:00
reedyrm
969d7a9992 removed trailing spaces 2018-09-24 02:38:45 -05:00
reedyrm
9bbebfc893 added option for cacheControl to be attached to cors to enable caching at CloudFront layer 2018-09-24 02:37:40 -05:00
Philipp Muens
afaeb65699 Fix CORS race condition 2018-08-28 09:35:37 -07:00
Takahiro Horike
80d289ba75
Merge pull request #5071 from laardee/add-apig-resource-policy
Add apig resource policy
2018-07-03 09:18:38 +09:00
Michael H. Oshita
38fe02ef81 add PRIVATE endpointType 2018-06-27 19:07:53 +09:00
Eetu Tuomala
183c94058d fix policy syntax, add documentation 2018-06-25 13:54:05 +03:00
Eetu Tuomala
8778b17fd2 add resource policy to api gateway 2018-06-25 13:38:11 +03:00
Frank Schmid
ff18b2597a
Merge pull request #4197 from hgiasac/cognito-authorizerid
Support Custom Authorizer Type (COGNITO_USER_POOLS) with authorizeId
2018-05-23 13:27:58 +02:00
Toan Nguyen
eac5ab5f04
update test coverage, fixed typo
update test coverage

update test coverage

add api gateway authorizer with authorizeId
2018-05-23 13:17:31 +02:00
Frank Schmid
a6f1b86318
Merge pull request #4895 from mvayngrib/fixbinaryapigw
fix: binary support for pre-flight requests (OPTIONS method)
2018-05-12 13:16:21 +02:00
horike37
cb4933096b fixd issue 4923 2018-04-20 20:06:22 +09:00
Piotr Plenik
02b4131ce2 Fix load restApiLogicalId when we have enabled Shared API Gateway 2018-04-10 12:23:03 +02:00
Mark Vayngrib
611e43cdff fix: binary support for OPTIONS method 2018-04-09 14:23:57 -04:00
Mariusz Nowak
77775f778f Rely on _.includes instead of arr.includes (Node v4 support) 2018-04-09 12:30:33 +02:00
Mariusz Nowak
47d7960311 Improve test to ensure we pick right error 2018-04-09 12:30:06 +02:00
Takahiro Horike
6cbd0a95bd
Merge pull request #4665 from americansystems/sls-govcloud
Support AWS GovCloud and China region deployments
2018-04-03 19:09:26 +09:00
Kurt Miller
4a367939d9 Fix lint error for line too long. 2018-03-26 23:34:42 -04:00
Kurt Miller
ffa67cf2dd Expand http cors tests for maxAge. Last maxAge defined for a path
wins in a merge.
2018-03-26 22:19:51 -04:00
Kurt Miller
8140f44af0 Address review feedback, add tests. 2018-03-26 20:49:56 -04:00
Kurt Miller
1fb35e135b Merge remote-tracking branch 'AutoCustoms/master' 2018-03-26 19:31:19 -04:00