662 Commits

Author SHA1 Message Date
Tobias Gleissenberger
20e052001a Linting fixes 2016-12-05 10:50:49 +11:00
Tobias Gleissenberger
75e610c0bf Fixed unit test 2016-12-05 10:47:21 +11:00
Tobias Gleissenberger
b69790e766 Adding named IAM capability to initial stack creation 2016-12-05 09:15:51 +11:00
Maciej Winnicki
63787df3fb Merge pull request #2845 from serverless/fix-local-invoke-error
fix returning error from local invocation
2016-12-02 19:12:00 +01:00
Maciej Winnicki
b494005543
fix setting exit code 2016-12-02 18:50:46 +01:00
Nik Graf
5ddd8d77e4 remove the lifecycle event from config to hide it in the command list 2016-12-02 10:54:16 +01:00
Nik Graf
b708f66f4e Merge pull request #2819 from serverless/add-metrics-plugin
Add metrics plugin
2016-12-02 10:28:00 +01:00
Maciej Winnicki
ca5b9e119e
fix returning error from local invocation 2016-12-02 10:14:42 +01:00
Nik Graf
29cdbd6de1 fix missing lifecycle updates 2016-12-01 16:44:12 +01:00
Nik Graf
9fc5dc8276 update lifecycle event 2016-12-01 16:31:39 +01:00
Philipp Muens
5ffd70ee3b Fix comment 2016-12-01 14:35:50 +01:00
Philipp Muens
5e4ad45594 Fix date parsing bug 2016-12-01 13:34:24 +01:00
Philipp Muens
f36c119556 Change plugin structure from „setup“ to „config credentials“ 2016-12-01 11:43:30 +01:00
Philipp Muens
1bfa6a9ed4 Add tests for setupAws() method 2016-12-01 10:48:35 +01:00
Philipp Muens
114f54e0ad Minor refactorings 2016-12-01 10:48:35 +01:00
Philipp Muens
ce82aaeb51 Add tests for constructor of AwsSetup 2016-12-01 10:48:35 +01:00
Philipp Muens
88ce330cc1 Split up setup into two plugins 2016-12-01 10:48:35 +01:00
Philipp Muens
6cbe7d834b Rename from init to setup 2016-12-01 10:48:35 +01:00
Philipp Muens
5994360fb3 Update tests for default value setting of startTime and endTime 2016-12-01 10:46:53 +01:00
Philipp Muens
628a55e6b5 Add translation of human friendly startTime syntax 2016-12-01 10:46:53 +01:00
Philipp Muens
80b12f626b Add automatic Period setting and remove period option 2016-12-01 10:46:52 +01:00
Philipp Muens
83900b362b Add AwsMetrics plugin 2016-12-01 10:46:52 +01:00
Philipp Muens
1f3b88baa3 Merge pull request #2743 from nicka/master
Add DependsOn for Lambda functions and IamPolicyLambdaExecution
2016-12-01 10:38:49 +01:00
Philipp Muens
a39e2969de Remove reassignment of this.options.data if JSON parsing fails 2016-11-29 15:06:10 +01:00
Philipp Muens
f02c990fd8 Remove check if options.data exists 2016-11-29 13:32:29 +01:00
Philipp Muens
d048cc3e09 Add check if data is JSON or simple string 2016-11-29 10:35:26 +01:00
Philipp Muens
ef7ccfc8e3 Add tests 2016-11-29 10:35:26 +01:00
Philipp Muens
7837acf360 Fix minor typos 2016-11-29 10:35:26 +01:00
ac360
ee7f0c24bf sanitize strings 2016-11-29 10:35:26 +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
Doug Moscrop
fcbdf8e073 fix Linting 2016-11-25 20:07:32 -05: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
Philipp Muens
3733f49d3d Merge pull request #2719 from erikerikson/logical-ids-missed-details
Logical IDs Centralization Missed Details
2016-11-24 14:04:12 +01: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
Eslam A. Hefnawy
be9e098363 fix typo 2016-11-23 02:49:57 +07:00
Eslam A. Hefnawy
babed90e6c fixed breaking change with apig resource with variable 2016-11-23 02:42:08 +07: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