Sergey Semyonov
a636fc7f12
add missing stub restore()
2017-01-18 13:10:49 +00:00
Sergey Semyonov
df03336bee
add tests for #2404 covering inconsistent AWS API responses
2017-01-16 10:39:57 +00:00
Sergey Semyonov
30ec78df37
fix #2404 by handling EU special case response for LocationConstraint
2017-01-16 10:23:35 +00:00
horike37
9a8e5cc465
update errormessage
2017-01-15 23:23:20 +09:00
horike37
3ad27484b5
add CloudWatch event source
2017-01-15 23:00:40 +09:00
Philipp Muens
4f9cafb119
Minor cleanups
2017-01-14 14:04:43 -08:00
Philipp Muens
1f810f4018
Fix and update tests
2017-01-14 12:40:41 -08:00
horike37
64af4ef244
fixed the bug when Multi-line values is given in iot events
2017-01-14 15:33:07 +09:00
Erik Erikson
c93c5b29c4
Allow Role 'Fn::GetAtt' for Lambda role
...
Fix https://github.com/serverless/serverless/issues/3081
The fix is to allow the role defined for a Lambda to be a `{ 'Fn::GetAtt', [ 'LambdaLogicalId', 'Arn'] }` reference to a role in the current service. If the `role` attribute is defined, check whether it is a role reference and if it is, fill the depends on attribute for the event mapping to be that logical ID.
Add tests that make sure this use case is covered in future incarnations of the code.
2017-01-10 18:12:26 -08:00
Ryan S. Brown
d4a1aafd80
Add versionFunctions as an AWS provider option that will reduce the default number of stack outputs.
...
Per #2853 , having versions as resources/outputs can trigger some limits
related to CloudFormation stack outputs. This leaves the existing
default, but if turned to `false` will reduce the number of outputs by
N, where N is the number of functions total.
2017-01-05 11:23:52 -05:00
Philipp Muens
6ae19fd724
Merge pull request #2952 from LightmakerCanada/fix-for-2508
...
Generate a single policy statement to cover all stream events
2017-01-03 15:48:50 +01: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
Nik Graf
dc2d350ff5
Merge pull request #2954 from horike37/add-awsiot-to-event-source
...
Add IoT event source
2017-01-02 16:12:30 +01: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
03cc50b246
Merge pull request #2993 from serverless/fix-vtl-string-escaping
...
Fix VTL string escaping
2016-12-20 14:49:41 +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
horike37
4dfd24ba12
Update hierarchical structure of iot events
2016-12-19 19:52:15 +09: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
Maciej Winnicki
15550f8b60
Merge pull request #2940 from erndob/patch-1
...
fix #2936 . Enable schedule event by default.
2016-12-16 17:45:37 +01:00
Philipp Muens
737b495bd3
Update code so that iot events are enabled by default
2016-12-16 11:16:18 +01:00
erndob
0bcd23637b
add tests
2016-12-15 21:15:53 +02:00
horike37
ed7192e3c9
merged master and fixed conflict
2016-12-15 16:49:57 +09:00
horike37
4593528664
Add IoT event source
2016-12-15 16:18:50 +09:00
Adam Biggs
438054bda5
Update comment to better describe code changes
2016-12-14 16:17:26 -08:00
Adam Biggs
9497e98495
Fix linting errors
2016-12-14 16:15:12 -08:00
Adam Biggs
0b8970fe37
Generate a single policy statement to cover all stream events. Fixes #2508
2016-12-14 13:25:41 -08:00
Nik Graf
f78fee916d
Merge pull request #2885 from serverless/add-alexa-event-source
...
Add alexa event source
2016-12-14 14:36:23 +01:00
Nik Graf
24d47e3e9d
removed debug console.log
2016-12-14 14:07:44 +01:00
Nik Graf
5a9d9feebb
fix tests
2016-12-14 13:47:21 +01:00
Nik Graf
c7df447589
improve alex skill notation
2016-12-14 13:35:11 +01:00
Eslam A. Hefnawy
26a2735e1e
Merge branch 'fix_issue_2132' of https://github.com/imaman/serverless into imaman-fix_issue_2132
2016-12-14 18:54:34 +07:00
erndob
65ca04deaf
fix style
2016-12-14 10:26:10 +02:00
erndob
c433cd1642
fix, remove a line
2016-12-14 10:25:11 +02:00
erndob
67fbcaf736
fix, follow style guide
2016-12-14 10:15:09 +02:00
erndob
b044b7ec48
fix, remove unexpected bracket
2016-12-14 10:04:42 +02:00
erndob
00f46fbbde
fix #2936
2016-12-14 09:50:03 +02:00
Philipp Muens
95ddfacdfa
Update event definition to be object only
2016-12-13 08:04:58 +01:00
Philipp Muens
e707cccff5
Rename alexa to alexaSkill
2016-12-13 08:04:58 +01:00
Philipp Muens
b5ddec70e2
Add alexa event source
...
Based on the great PR and plugin by @rajington 🙌
2016-12-13 08:04:58 +01:00
horike37
fdb5407b5e
Add CloudWatchEvent rule name and description fields
2016-12-10 13:29:18 +09:00
Andrey Pavlov
fba8232931
#2901 fixed
2016-12-09 12:14:58 +03:00
Philipp Muens
818c82410d
Merge pull request #2814 from PetrKohut/fixed-event-source-mapping-with-custom-role
...
fix bug in event source mapping with custom IAM role
2016-12-09 08:53:25 +01: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