1940 Commits

Author SHA1 Message Date
Mariusz Nowak
73ea7fd9e0
Improve setTimeout stub
Making it sync breaks bluebird internals
(e.g. detection of unhandled rejections).

With this patch we make sure it's quick enough but still async
2019-05-14 11:45:54 +02:00
Philipp Muens
64ad392c6a Rely on state when updating stage config 2019-05-13 15:58:05 +02:00
Philipp Muens
606e82d85b Fix validation after API Gateway deployment 2019-05-13 15:11:25 +02:00
Mariusz Nowak
edc3138ed6
Support color output in tests 2019-05-10 17:18:45 +02:00
Mariusz Nowak
8faf6b68d3
Test resolution of restApiId with beyond 500 API's 2019-05-10 12:41:52 +02:00
Mariusz Nowak
097abff794
Test custom restApiId resolution 2019-05-10 12:39:01 +02:00
Mariusz Nowak
bafdbf2877
Reduce configuration redundancy 2019-05-10 12:35:33 +02:00
Mariusz Nowak
4f7a8af742
Ensure tests isolation 2019-05-10 12:24:50 +02:00
Mariusz Nowak
fa8e189d64
Fix restApiId resolution when more than 500 API's 2019-05-10 11:25:14 +02:00
Mariusz Nowak
56c315374e
Fix custom restApiId resolution 2019-05-10 10:46:04 +02:00
Daniel Schep
55cb3d597b fix use of cors: true
validate fails when called a second time with `cors: true` and I dont see
why it has to be called again. the service config doesnt change during a deploy
and its already saved on `this.validated`.
2019-05-09 15:38:45 -04:00
Philipp Muens
a343c1fdd2 Address PR review comments 2019-05-09 15:21:06 +02:00
Philipp Muens
b593831e23 Add backward compatibility 2019-05-09 14:20:16 +02:00
Philipp Muens
fef2c31a95 Implement removal of log group 2019-05-09 13:19:53 +02:00
Philipp Muens
bafd91f9eb Address review comments 2019-05-09 12:41:00 +02:00
Philipp Muens
1df8598c86 SDK based API Gateway Stage updates 2019-05-08 14:58:32 +02:00
Philipp Muens
05274c148a Remove other unnecessary checks 2019-05-08 14:44:09 +02:00
Philipp Muens
949e05fdf8 Remove unnecessary checks 2019-05-08 14:19:51 +02:00
Philipp Muens
8a28024192 Set apiGateway variable default to an empty object 2019-05-08 14:13:28 +02:00
Philipp Muens
76605ffc4b Add support for API Gateway Binary Media Types 2019-05-08 12:22:08 +02:00
Philipp Muens
2c97649ca5
Merge pull request #6057 from serverless/api-gateway-logs
Add support for API Gateway REST API Logs
2019-05-06 12:06:07 +02:00
Philipp Muens
a38063df64 Highlight skipping of deployments 2019-05-03 13:58:16 +02:00
Philipp Muens
6f51cab2eb Add support for API Gateway REST API Logs 2019-05-03 13:57:47 +02:00
Philipp Muens
58d6e36736
Merge pull request #6064 from Tybot204/master
Allow Fn::Join in stream event arns
2019-04-30 13:48:03 +02:00
Philipp Muens
dce099c0bc Minor fixes / enhancements 2019-04-30 13:41:45 +02:00
Tyler Hogan
4c0268eb7e
Fix max line length lint error in tests 2019-04-29 10:10:02 -07:00
Philipp Muens
fdd8335000
Merge pull request #5952 from snurmine/issues/5561
Support setting both proxy and ca file for awsprovider AWS config agent
2019-04-25 12:46:19 +02:00
Tyler Hogan
44697b94b4
Allow Fn::Join in stream event arns 2019-04-24 21:41:12 -07:00
Martin
418ad47361 Support wildcard in API Gateway cors domains 2019-04-24 12:20:38 -07:00
Philipp Muens
a8b4aecc2c
Merge pull request #6000 from herebebogans/feature/cognito_authorizer_scope
Add authorization scopes support for cognito user pool integration
2019-04-24 12:21:13 +02:00
Philipp Muens
2519e1640f
Merge pull request #6026 from daaru00/use-region-pseudo-parameter
Use region pseudo parameter
2019-04-24 12:03:11 +02:00
Daniel Schep
b042ef02e9
AWS API Gateway request body validation (#5956)
AWS API Gateway request body validation
2019-04-23 11:14:40 -04:00
Philipp Muens
75147d3baf
Merge pull request #5982 from laardee/add-apig-api-key-value
Enable Setting Amazon API Gateway API Key Value
2019-04-23 14:17:51 +02:00
Philipp Muens
a730ee3761 Remove safeguards when using API Gateway Stage resource settings 2019-04-23 12:38:49 +02:00
Daniel Schep
88189d9451 DRY up naming functions and add unit tests 2019-04-18 11:55:25 -04:00
Daniel Schep
1efa53e78e lint 2019-04-18 11:55:25 -04:00
Daniel Schep
0c214bc8da add to & use naming methods 2019-04-18 11:55:24 -04:00
Daniel Schep
618094d5bb request validator test covg 2019-04-18 11:54:25 -04:00
Daniel Schep
0d98a986fd old versions of node can't destructure 2019-04-18 11:54:25 -04:00
Daniel Schep
84c5124b0b put schema under request key and include content type in yaml 2019-04-18 11:54:25 -04:00
Daniel Schep
26bd1d39b4 Initial implemenation of request body schemas 2019-04-18 11:54:25 -04:00
Philipp Muens
66e94e998b Update error message 2019-04-18 14:05:58 +02:00
Philipp Muens
16424ec5f7 Fix code to properly reference the provider property 2019-04-18 14:05:41 +02:00
Eetu Tuomala
0bda3c0865
fix destructuring issue 2019-04-18 01:54:24 +03:00
Eetu Tuomala
028b5968c5
fix rebase issues 2019-04-18 01:30:53 +03:00
Fabio Gollinucci
3e7dcccfb3 Add region pseudo parameter for websocket ServiceEndpoint output 2019-04-17 21:15:48 +02:00
Fabio Gollinucci
9d98dc6fe1 Fix tests 2019-04-17 20:49:08 +02:00
Fabio Gollinucci
d65d1ca126 Fix linter errors 2019-04-17 20:42:59 +02:00
Fabio Gollinucci
f83d70d62a Add region pseudo parameter for ServiceEndpoint output 2019-04-17 19:43:04 +02:00
Fabio Gollinucci
a27c1a2212 Add region pseudo parameter for IAM Roles 2019-04-17 19:42:28 +02:00