3216 Commits

Author SHA1 Message Date
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
Eetu Tuomala
1f8e248875
display description on sls info 2019-04-17 13:43:35 +03:00
Eetu Tuomala
cf6075b1ab
add optional description for api key 2019-04-17 13:43:35 +03:00
Eetu Tuomala
e61409b1a2
test usage plan keys 2019-04-17 13:41:48 +03:00
Eetu Tuomala
23a99a7472
fix destructuring issues 2019-04-17 13:40:42 +03:00
Eetu Tuomala
873e777bac
test api key object format validation 2019-04-17 13:38:57 +03:00
Eetu Tuomala
53bd329f80
throw error if api key is not a string or an object with name and/or value 2019-04-17 13:38:57 +03:00
Eetu Tuomala
f1a902eea1
add tests for object syntax api key 2019-04-17 13:36:22 +03:00
Eetu Tuomala
6f5f445f70
add test for get api key values 2019-04-17 13:33:38 +03:00
Eetu Tuomala
f9afb7a3ab
fetch api key values 2019-04-17 13:32:05 +03:00
Eetu Tuomala
e58ddd0614
add api key object format 2019-04-17 13:29:43 +03:00
exoego
d4a6f2ce0e Rename to express intent 2019-04-17 13:15:08 +09:00
exoego
d45884d1b2 Remove unnecessary code. 2019-04-17 12:01:00 +09:00
exoego
dd112c6a1b Update comments. 2019-04-17 11:56:53 +09:00
exoego
dd8b60675c Split test into granular cases. 2019-04-17 11:55:39 +09:00
exoego
7383281a6b Do not add Tags from stage implicitly to avoid breaking change. 2019-04-17 11:34:29 +09:00
exoego
9e42567210 Merge remote-tracking branch 'upstream/master' into tagging-apigw
# Conflicts:
#	lib/plugins/aws/package/compile/events/apiGateway/index.test.js
#	lib/plugins/aws/package/compile/events/apiGateway/lib/apiKeys.js
#	lib/plugins/aws/package/compile/events/apiGateway/lib/apiKeys.test.js
#	lib/plugins/aws/package/compile/events/apiGateway/lib/stage.js
#	lib/plugins/aws/package/compile/events/apiGateway/lib/stage.test.js
2019-04-17 11:24:00 +09:00
Philipp Muens
d4f2161db3
Merge pull request #5988 from endeepak/bugfix/5945_invoke_local_docker_env_vars
#5945: Invoke local docker to pass env vars to lambda container
2019-04-15 13:08:47 +02:00
Philipp Muens
306538fcbf Add support for multiple usage plans 2019-04-15 12:31:25 +02:00
Philipp Muens
90a7adf8f6
Merge pull request #5692 from softprops/deployment-stage-description
Add AWS x-ray support for API Gateway
2019-04-15 12:26:01 +02:00
Daniel Schep
ccb35764ff
Merge pull request #6010 from serverless/retain-layer-versions
Allow specifying a retention policy for lambda layers
2019-04-12 10:13:56 -04:00
Philipp Muens
838c9dd6ea Fix tests 2019-04-12 15:33:41 +02:00
Philipp Muens
76269bb379 Merge branch 'master' into deployment-stage-description 2019-04-12 15:15:31 +02:00
Philipp Muens
dd48f2daec Add check for breaking changes 2019-04-12 15:15:20 +02:00
Philipp Muens
d7dc5ab0f8 Remove custom stack error messages 2019-04-12 15:14:44 +02:00
Philipp Muens
96843e989a Update other Node.js-based templates 2019-04-12 12:49:00 +02:00
Carlos Guerrero
e1498f8f11
Make JSON.stringify easy on the eyes 2019-04-11 20:51:04 +03:00
Philipp Muens
527a906a5b Add strict mode declarative 2019-04-11 12:38:56 +02:00
Sam Hulick
80ed410680
Updating Node.js runtime version
Node.js 6.10 is deprecated for AWS Lambda.
2019-04-10 10:04:43 -05:00
Daniel Schep
dc67db8b7a Allow specifying a retention policy for lambda layers
closes #5765
2019-04-10 09:42:49 -04:00
Philipp Muens
27bc1bde24 Add custom error message when X-Ray tracing deployments fail 2019-04-10 14:31:30 +02:00
Philipp Muens
4143573393 Merge branch 'master' into deployment-stage-description 2019-04-10 11:48:56 +02:00
Deepak N
19e7b7b522 Merge remote-tracking branch 'origin/master' into bugfix/5945_invoke_local_docker_env_vars 2019-04-09 15:25:13 +05:30
Deepak N
de0e24803c Merge remote-tracking branch 'origin/master' into bugfix/5947_invoke_local_handle_dependency 2019-04-09 07:44:43 +05:30
Deepak N
10e6df83e9 Merge remote-tracking branch 'origin/master' into bugfix/5945_invoke_local_docker_env_vars 2019-04-09 07:39:14 +05:30
Daniel Schep
10d73b2bf3
Merge pull request #5992 from endeepak/bugfix/5990_invoke_local_docker_layer_cache_fix
#5990: Fix layer download caching during invoke local docker
2019-04-08 16:14:14 -04:00
Philipp Muens
986f4db6e1
Merge pull request #5997 from pofallon/develop
Add additional Capability when Transform is detected
2019-04-08 14:15:41 +02:00