524 Commits

Author SHA1 Message Date
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
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
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
erndob
0bcd23637b add tests 2016-12-15 21:15:53 +02: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
Maciej Winnicki
570d23d966 Merge pull request #2799 from dougmoscrop/fix_proxy_parameters
remove request and response config when using proxy integration
2016-12-07 11:19:47 +01:00
Philipp Muens
1f2fd1b438 Update warning message 2016-12-07 11:05:08 +01:00
Petr Kohut
486df0c075 simplified the IAM role check + added tests 2016-12-06 16:40:12 +01:00
Doug Moscrop
c7c3218ff4 remove request and response config when using proxy integration 2016-11-28 15:38:16 -05:00
Petr Kohut
edd923f5e8 fix bug in event source mapping with custom IAM role 2016-11-28 14:12:01 +01:00
Nick den Engelsman
1d0a5e95eb Add missing DependsOn within test suite 2016-11-28 12:24:58 +01:00
Nick den Engelsman
c3620e501b Merge branch 'master' of github.com:serverless/serverless
# Conflicts:
#	lib/plugins/aws/deploy/lib/iam-policy-lambda-execution-template.json
2016-11-28 12:03:25 +01:00
Nick den Engelsman
9e9e0e51c5 Remove Ref support and improve test descriptions 2016-11-28 11:56:45 +01:00
Nick den Engelsman
446abce10e Fix issue where error description becomes unreadable 2016-11-28 11:56:23 +01: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
Eslam A. Hefnawy
697cd7ef9b fixed logical id for lambda version 2016-11-25 18:40:59 +07:00
Eslam λ Hefnawy
5afaedf949 Merge pull request #2676 from ryansb/feature/tagVersions
On every deploy, publish a new Lambda function version
2016-11-25 18:33:48 +07:00
Ryan S. Brown
29de5c2f7a Move Lambda version ID generation out to naming.js 2016-11-24 08:04:07 -05:00
Ryan S. Brown
ed156155f7 Add Lambda fully qualified ARNs to expected output 2016-11-24 08:04:07 -05:00
Ryan S. Brown
1cc3c2c669 Create dummy files for service artifacts 2016-11-24 08:04:07 -05:00
Ryan S. Brown
719f11c4cc Fix variable that had its name changed 2016-11-24 08:04:07 -05:00
Ryan S. Brown
0f86a9524e Fix linting 2016-11-24 08:04:07 -05:00
Ryan S. Brown
20dee7cb1c On every deploy, publish a new Lambda function version
Having Lambda deploys count as distinct function versions is really
helpful for logging, since it cleanly separates out logs between
sources.

This change adds:
- Calculation of SHA256 sums of artifacts
- An `AWS::Lambda::Alias` resource based on that SHA
- A dependency between each deployed function to its alias
- A stack output for each function `LogicalIdQualifiedArn` which is the
  function ARN with the version appended.
2016-11-24 08:04:07 -05: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
Nick den Engelsman
fc5bd1ac43 Add DependsOn for Lambda functions and IamPolicyLambdaExecution 2016-11-22 10:28:13 +01:00
Philipp Muens
70e37028d2 Merge pull request #2763 from serverless/remove-deprecation-notice
removed cflogs deprecation notice
2016-11-22 08:06:36 +01:00
Eslam A. Hefnawy
7e2a2573d7 removed cflogs deprecation notice 2016-11-22 14:02:26 +07:00
Philipp Muens
17286cb87a Add test for overwriting environment variables 2016-11-21 10:45:05 +01:00
Nik Graf
71eb5a13b4 Merge pull request #2748 from braahyan/lambda-environment-variables
Lambda environment variables
2016-11-21 09:47:52 +01:00