Andrew Sprouse
d5b64c8c71
Added Access Control Allow Credentials for CORS settings fixes #2182
2017-01-18 17:12:31 -05:00
Eslam λ Hefnawy
7fc058df63
Merge pull request #2141 from johnf/cognito_authorizer
...
add the start of cognito user pool authorizer support
2017-01-03 19:28:00 +07:00
Philipp Muens
96117bf6fb
Merge pull request #2991 from serverless/update-status-code-regex-to-match-newlines
...
Update status code regex to match newlines
2016-12-20 18:08:12 +01:00
Philipp Muens
36f3584c5e
Merge master and resolve conflict
2016-12-20 15:01:16 +01:00
Philipp Muens
7ef084df5d
Update string replacing in replaceAll
2016-12-20 14:35:40 +01:00
Philipp Muens
6ee2c31549
Update status code regex to match newlines
2016-12-20 12:33:10 +01:00
John Ferlito
565afd438e
Throw an error if cognito claims are used in lambda-proxy mode
2016-12-18 09:43:39 +11:00
John Ferlito
c92c33399e
Refactor the integrations templates to remove duplication
...
The two templates DEFAULT_JSON_REQUEST_TEMPLATE and
DEFAULT_FORM_URL_ENCODED_REQUEST_TEMPLATE contained a lot of duplicated
content.
2016-12-18 09:43:39 +11:00
John Ferlito
577ebfd350
Expose the cognito user pool claims
2016-12-18 09:43:39 +11:00
John Ferlito
64fa7c64b3
Add support for Cognito User Pools authorizer
2016-12-18 09:33:46 +11:00
Andrey Pavlov
fba8232931
#2901 fixed
2016-12-09 12:14:58 +03:00
Philipp Muens
cb9f8187e1
Merge pull request #2808 from evilantnie/master
...
adding replaceAll to turn any escaped single quotes back to regular s…
2016-12-08 08:33:49 +01:00
Philipp Muens
e611e4b8ed
Fix linting error
2016-12-08 08:29:49 +01:00
Anthony Mendonca
fd4c6e9ebb
Missing escapes for backslashes required in VTL template
2016-12-07 15:57:51 -08:00
Philipp Muens
1f2fd1b438
Update warning message
2016-12-07 11:05:08 +01:00
Doug Moscrop
c7c3218ff4
remove request and response config when using proxy integration
2016-11-28 15:38:16 -05:00
Anthony Mendonca
e724b810b9
adding replaceAll to turn any escaped single quotes back to regular single quotes
2016-11-26 21:50:48 -08:00
Erik Erikson
6cc5d1364a
Merge branch 'master' into logical-ids-missed-details
2016-11-22 13:26:28 -08:00
Philipp Muens
8aad2372eb
Refactor test structure
...
So that all tests follow the *.test.js pattern and globs are used to find test files.
2016-11-22 12:49:26 +01:00
Eslam A. Hefnawy
cfdac252da
relaxed apig permissions to be rest api scoped
2016-11-18 21:05:21 +07:00
Eslam A. Hefnawy
ad2117423b
limited lambda permissions for events
2016-11-17 18:38:33 +07:00
Eslam A. Hefnawy
91fa043ecc
limited permissions for s3, sns and apig
2016-11-16 16:08:21 +07:00
Erik Erikson
749204d962
Logical IDs Centralization Missed Details
...
A few places where names had been hard coded were missed in #2679 . This pull request attempts to get the rest of these (although I fear a few more exist).
The hard coding of the logical ids for the role and policy were removed from the json files defining those values.
Additionally, the path and name of the default role and policy were extrapolated as were log group and api gateway names.
The new role path, role name, and policy name values were used to amend the static role and policy.
Commentary in the centralization file was re-added.
Tests were updated
No function or documentation changes occurred by these changes
2016-11-15 17:22:59 -08:00
Eslam A. Hefnawy
fef9b68e5a
refactored naming-js method naming
2016-11-10 19:05:02 +07:00
Eslam A. Hefnawy
1a02e15d9b
updated tests using name-js
2016-11-10 15:14:33 +07:00
Eslam A. Hefnawy
61efd35850
added logical id names in naming-js file
2016-11-09 19:31:08 +07:00
Philipp Muens
f7b54cfb5f
Move method.js file into method directory
2016-11-08 14:27:43 +01:00
Philipp Muens
e981d41488
Refactor method used for capitalization of strings
2016-11-08 14:04:52 +01:00
Doug Moscrop
8ba2f19a3a
refactor apiGateway resources and methods
2016-11-08 14:04:52 +01:00
horike37
c13c97b691
fix conflict and test separete
2016-11-05 15:38:04 +09:00
horike37
cf441a4dbc
fixed the bug resultTtlInSeconds defaults to 300 when set to 0
2016-11-02 08:47:56 +09:00
Doug Moscrop
ab4e5d464a
refactor apiGateway authorizers and permissions
2016-10-31 12:04:05 -04:00
Doug Moscrop
453b878caa
refactor apiGateway deployment
2016-10-22 13:16:52 -04:00
Doug Moscrop
12cd6000de
refactor apiKeys and restApi
2016-10-21 19:50:31 -04:00
Doug Moscrop
ddc50e1954
refactor apiGateway index and validate
2016-10-20 19:34:23 -04:00
Nik Graf
360bfb814a
Merge branch 'master' into ellipsis
2016-10-19 10:35:34 +02:00
Philipp Muens
c273abec68
Move AwsProvider plugin into aws directory
2016-10-19 08:32:06 +02:00
Philipp Muens
c7b7472a48
Update provider properties in plugins
2016-10-19 08:32:06 +02:00
Nik Graf
9611150416
replace ... with ellipsis character in lib
2016-10-19 06:31:55 +02:00
Jamie Sutherland
3f96c0d770
refactor(methods): Request parameters
2016-10-11 13:48:24 +01:00
Jamie Sutherland
d3c5d37230
feat(methods): Add multiple response templates per content type
2016-10-11 13:05:12 +01:00
Jamie Sutherland
27bbbb912b
fix(methods): Add default 200 code if one is not supplied
2016-10-11 13:05:12 +01:00
Jamie Sutherland
5c0050d1a0
fix(methods): CORS preflight retains origin and headers per path
...
closes #2024 #1960
2016-10-11 13:05:12 +01:00
Jamie Sutherland
87a0bd3b7e
feat(methods): Add custom codes support
2016-10-11 13:05:12 +01:00
Philipp Muens
26b1ac9578
Merge pull request #2056 from svdgraaf/feature/method-parameters
...
Add parameters to http event
2016-10-10 11:06:04 -07:00
Sander van de Graaf
b1b5fae554
make eslint happy
2016-10-10 14:51:40 +02:00
Sander van de Graaf
52c92d8e3c
fixed test for request parameters
2016-10-10 10:18:21 +02:00
Sander van de Graaf
4ac6c330fb
fixed rebase with master
2016-10-10 09:28:38 +02:00
Marcus Whybrow
9e89979ec4
escape body keys and values in default template
...
Fixes #2270
2016-10-07 01:48:00 +01:00
Philipp Muens
8ba191a5d7
Update misleading comment
2016-10-04 13:53:02 -07:00