481 Commits

Author SHA1 Message Date
Mariusz Nowak
5282cab708
Fix timeout response template 2019-06-13 15:34:47 +02:00
Mariusz Nowak
093881b6a5
Add code comments 2019-06-12 16:00:29 +02:00
Mariusz Nowak
025d58579e
Fix setup of IAM policies for functions with custom names 2019-06-12 15:55:01 +02:00
Mariusz Nowak
426393b2b3
Configure test exposing issue with custom function name
Related to #6236
2019-06-12 15:48:27 +02:00
Mariusz Nowak
6796ccf866
Ensure tests reflect more closely a real world 2019-06-12 15:38:16 +02:00
Mariusz Nowak
d417a0fc4e
Seclude canonicalFunctionNamePrefix var 2019-06-12 14:58:24 +02:00
Mariusz Nowak
490e714ccd
Obtain path to statements once 2019-06-12 14:53:18 +02:00
Edmundo Rodrigues
c393d4b22c feat(iam): use common prefix loggroup prefix to reduce size of iamRoleLambdaExecution to avoid reaching 10240 bytes limit 2019-06-05 17:33:35 -03:00
Philipp Muens
a02b31e91c Add support for S3 hosted package artifacts 2019-06-05 13:33:36 +02:00
Mariusz Nowak
8ca00b6f9f
Increase default timeout
Some tests tend to timeout especially when run on Windows in VM
2019-06-05 10:59:22 +02:00
Mariusz Nowak
c733f821f3
Increase test timeout setting 2019-06-04 16:45:31 +02:00
Mariusz Nowak
5f2a69d03a
Merge branch 'master' into upgrade-chai 2019-06-04 12:51:36 +02:00
Mariusz Nowak
5854f4c96f
Ensure needed utils 2019-06-03 17:56:45 +02:00
Philipp Muens
180a9deedd Merge branch 'master' into apig-claims-check-fix 2019-06-03 14:58:04 +02:00
Philipp Muens
ef4934d77e Add regression test 2019-06-03 14:45:05 +02:00
Philipp Muens
2023e50386 Update code to use an existing listener 2019-06-03 14:14:37 +02:00
Philipp Muens
0738f7b8f4 Add Application Load Balancer event source 2019-06-03 12:54:40 +02:00
Philipp Muens
f931ecca81 Add support for Websocket Logs 2019-05-30 15:37:44 +02:00
Philipp Muens
773e9af3c1 Thorough integration testing 2019-05-30 15:20:58 +02:00
Camilo Sampedro
b3e6a3e82e
Adding a validation to validation.js script
This new check prevents #6185 from happening.

- This only checks that the `claims` object is defined, so it can proceed to do the length check.
2019-05-30 12:35:12 +09:00
Philipp Muens
32a9b9954b
Merge pull request #6127 from beary/master
Solve the problem of principal format in China region
2019-05-24 15:06:40 +02:00
Philipp Muens
99ea1428ea
Merge pull request #6139 from exoego/stackTags-for-api-gw
Fix tagging API Gateway stage fails if tag contains special characters like space
2019-05-24 14:57:24 +02:00
Mariusz Nowak
392ceb4623
Merge branch 'master' into improve-promised-bdd-setup 2019-05-24 09:47:24 +02:00
Philipp Muens
add5e3ebb5
Merge pull request #6121 from exoego/authorizer-claims
Do not throw error if authorizer has empty claims
2019-05-23 15:32:48 +02:00
Mariusz Nowak
7f1dbbced8
Merge branch 'master' into improve-promised-bdd-setup 2019-05-23 15:20:40 +02:00
Philipp Muens
83e319654b
Merge pull request #6150 from herebebogans/feature/6125
Add scopes for cognito type APIGW referenced authorizer
2019-05-23 15:06:48 +02:00
Mariusz Nowak
e7f3663816
Resolve promise on 'close' event
As this one confirms closure of all file descriptors and works
with async leaks detection
2019-05-22 12:46:27 +02:00
Mariusz Nowak
2ffd4cd2c1
Ensure to return promise 2019-05-22 12:45:14 +02:00
Mariusz Nowak
44c359d050
Ensure to return promise 2019-05-22 12:23:35 +02:00
Mariusz Nowak
08ad0b5775
Ensure to return promise 2019-05-22 10:20:40 +02:00
Mariusz Nowak
0ea81b1e63
Ensure to return promise 2019-05-20 09:57:47 +02:00
Mariusz Nowak
5155bbb16f
Merge branch 'master' into fix-tests-setup 2019-05-17 14:57:45 +02:00
Simon Elder
1db17bcb51 Add authorization scopes with a cloudformation referenced authorizerid 2019-05-17 13:42:04 +10:00
Mariusz Nowak
5dbad2aa9f
Ensure needed tooling in test 2019-05-15 17:52:11 +02:00
exoego
7ede73b0cd Use tagResource/untagResource API to overcome updateStage's limitation that tag key cannot contain space. 2019-05-15 22:30:13 +09:00
Philipp Muens
5b5425d939 Update AWS Node.js runtime to version 10 2019-05-15 14:27:55 +02:00
exoego
9864b79f56 Merge remote-tracking branch 'upstream/master' into authorizer-claims 2019-05-14 20:46:59 +09:00
Mariusz Nowak
a545414102
Improve tests reliabilty
In real world state does not equal serverless
2019-05-14 09:07:38 +02:00
Philipp Muens
da633da0b9 Update tests to use state rather than serverless object 2019-05-14 08:56:22 +02:00
Philipp Muens
8840da7ae6 Fix typos in error message 2019-05-14 08:51:58 +02:00
Philipp Muens
3d67440261 Reference state rather than serverless object 2019-05-14 08:39:37 +02:00
Mariusz Nowak
94d86c36cd Improve test title 2019-05-14 08:32:38 +02:00
Mariusz Nowak
6675c0e93b Relax REST API validation 2019-05-14 08:32:38 +02:00
Mariusz Nowak
beb8b1ee92 Support custom API name in resolution 2019-05-14 08:30:40 +02:00
Mariusz Nowak
b16e37698b Improve error message 2019-05-14 08:23:06 +02:00
Mariusz Nowak
c8a4a8ba30 Ignore hack when REST API id could not be resolved
Assuming no custom APIGateway settings are applied
2019-05-14 08:23:06 +02:00
Mariusz Nowak
dc60d248b5 Ensure valid restAPIid in tests 2019-05-14 08:23:06 +02:00
Mariusz Nowak
4ab0833fcb Accept custom restApiId only if in directo form 2019-05-14 08:23:06 +02:00
Mariusz Nowak
98ef25bce1 Load hack only if meant to be invoked 2019-05-14 08:23:06 +02:00
Philipp Muens
64ad392c6a Rely on state when updating stage config 2019-05-13 15:58:05 +02:00