James Manners
13c71707d5
Updated to use _.includes to check if the method includes 'ANY'
2017-03-03 10:03:00 +11:00
Ryan S. Brown
2c01c06d6d
LINT FOR THE LINTING GODS
2017-03-01 21:52:30 -05:00
Ryan S. Brown
9ca9baabfa
Add tests for dynamic ARNs
2017-03-01 21:33:54 -05:00
Ryan S. Brown
b42585f568
Fix lint errors
2017-03-01 21:00:16 -05:00
Ryan S. Brown
9ab56970e0
Patch DynamoDB and kinesis stream detection to allow use of GetAtt/ImportValue
2017-03-01 21:00:16 -05:00
Philipp Muens
bfb67aadde
Minor typo fixes / cleanup
2017-03-01 09:17:10 +01:00
Philipp Muens
c7414211fb
Merge branch 'master' into allow-self-reference
2017-03-01 09:07:31 +01:00
Eslam A. Hefnawy
fb6b94d088
releasing v1.8
2017-03-01 03:25:28 +08:00
Eslam λ Hefnawy
af3d463e03
Merge pull request #3297 from serverless/fix-monitor-stack-freezing-bug
...
Fix monitorStack freezing bug
2017-02-28 23:49:09 +08:00
Philipp Muens
010fe8b0f3
Merge pull request #3310 from serverless/quickfix-too-many-files-open
...
Quickfix too many files open
2017-02-28 16:40:56 +01:00
Philipp Muens
6c82f71be8
Quickfix too many files open
2017-02-28 16:07:39 +01:00
Eslam λ Hefnawy
dc0c92b00a
Merge pull request #2983 from nicka/master
...
BREAKING - Replace IamPolicyLambdaExecution with inline policies and added ManagedPolicyArns to fix VPC permissions
2017-02-28 22:00:35 +07:00
Colby M. White
0d679c295d
correct spelling typos
2017-02-27 19:34:23 -08:00
Nick den Engelsman
6ee7930526
Replace remaning IamPolicyLambdaExecution’s with IamRoleLambdaExecution
2017-02-27 12:49:36 +01:00
Nick den Engelsman
1e7bc75334
Remove logs:CreateLogGroup from the default IAM policy since Log group resources are created through CloudFormation by default
2017-02-27 12:46:21 +01:00
Philipp Muens
02707b90f5
Merge pull request #3085 from jogold/iam-role-statements-examples
...
Show valid iam role statements examples in docs and templates
2017-02-27 10:19:56 +01:00
Philipp Muens
6144434d47
Merge pull request #3219 from christophgysin/remove-exec-bit
...
remove executable bit
2017-02-27 10:11:56 +01:00
Philipp Muens
d77b5dfbae
Merge pull request #3239 from serverless/update-function-displaying-for-info-plugin
...
BREAKING - Update function name displaying for info plugin
2017-02-27 10:10:02 +01:00
James Manners
2bef69c6ac
Corrected Access-Control-Allow-Methods for ANY HTTP events
...
The Access-Control-Allow-Methods OPTIONS response header for ANY http
verb requests now correctly includes all HTTP verbs.
2017-02-27 15:31:55 +11:00
Nicholas Rakoto
bc9917cffe
Add test for plugins loading relatively to the working directory
2017-02-25 00:19:44 +01:00
Nicholas Rakoto
00bd68cef2
Fix node_modules (serverless plugins) lookup
...
This reset the `module.paths` relatively to the current working directory
`process.cwd()`. So the array of paths used to resolve packages is relative
to where the `serverless` CLI is run.
2017-02-25 00:19:44 +01:00
Philipp Muens
43a721efcb
Fix monitorStack freezing bug
2017-02-24 14:11:59 +01:00
Eslam λ Hefnawy
74ceec541b
Merge pull request #3186 from dannycohn/Issue2997
...
fix #2997
2017-02-23 20:38:53 +07:00
Nick den Engelsman
5a55233d96
Make sure we always create the log group resources
2017-02-23 13:14:55 +01:00
Nick den Engelsman
574a4a78a7
Rebase on top of master
2017-02-20 21:08:45 +01:00
Nick den Engelsman
e879b2a6bc
Improved tests for lib/plugins/aws/deploy/compile/functions/index.test.js
...
Improved tests for lib/plugins/aws/deploy/compile/functions/index.test.js
wip
2017-02-20 21:08:32 +01:00
Nick den Engelsman
dae2a5d359
Add missing policy name
2017-02-19 21:14:58 +01:00
Nick den Engelsman
c8632dded9
Migrated IamPolicyLambdaExecution resource statements towards inline polices within the IamRoleLambdaExecution resource
2017-02-19 21:12:11 +01:00
Andrey Tserkus
09ab0468c0
Improved tests for logBreakingChange() function:
...
- fixed the tests when `SLS_IGNORE_WARNING` is set in the shell environment
- refactored the tests to clearly expose the tested input combinations (+ added the missing combination - to have a formally complete verification)
- added the `SLS_IGNORE_WARNING=*` setting to Travis builds, so that their output doesn't contain unnecessary noise about upcoming changes
2017-02-16 23:18:56 -08:00
Eslam A. Hefnawy
fe2cf87474
updated test
2017-02-14 21:06:01 +07:00
Eslam A. Hefnawy
ba7bb7e0de
releasing v1.7
2017-02-14 20:53:41 +07:00
Eslam λ Hefnawy
cc94945f8e
Merge pull request #3067 from vladgolubev/fix-average-functions-duration
...
Fix average functions duration calculation in metrics output
2017-02-14 20:11:42 +07:00
Eslam λ Hefnawy
724e225864
Merge pull request #3102 from horike37/add-cloudwatch-to-event-source
...
Add CloudWatch event source
2017-02-14 19:49:14 +07:00
Nikos Katsikanis
09ccc63b64
Remove unneeded code
2017-02-14 10:17:45 +00:00
Philipp Muens
ff4bff6b74
Update name displaying to include name and deployed name
2017-02-14 10:19:22 +01:00
Philipp Muens
edbd86aba2
Update function name displaying for info plugin
2017-02-13 13:27:57 +01:00
Erik Erikson
93c7afb3f5
Resolve PR Comments
...
1. Improve wording of documentation. Note the concrete object that will be written in its entirety
2. Expand documentation. Note a potential security risk for secrets
3. Move, without changes, the `warnIfNotFound` method because it was putting space between `getValueFromSource` and the various source type specific functions it uses
4. Implement unit tests for `warnIfNotFound`
5. Implement unit tests for `logWarning`
2017-02-10 18:31:02 -08:00
Philipp Muens
0a818af613
Merge pull request #3217 from serverless/breaking-changes-warning
...
logging upcoming breaking changes
2017-02-10 15:29:58 +01:00
Philipp Muens
b0df37673b
One-Liner to reduce memory footprint during zipping process
2017-02-09 14:56:55 +01:00
Philipp Muens
7044d567df
Refactor for more convenience and add tests
2017-02-09 14:40:08 +01:00
Christoph Gysin
ca7927a0fa
remove executable bit
2017-02-09 15:15:27 +02:00
Philipp Muens
69d872604c
Add minor aesthetic improvements
2017-02-09 11:23:13 +01:00
Eslam A. Hefnawy
4ea752e05e
added opt-out message
2017-02-09 17:12:15 +07:00
Eslam A. Hefnawy
2069ac5352
logging up coming breaking changes
2017-02-09 17:03:26 +07:00
Erik Erikson
7376fc0dff
Merge branch 'master' into allow-self-reference
...
# Conflicts:
# lib/classes/Error.js
2017-02-08 15:51:57 -08:00
Erik Erikson
079d964908
Add Warning Messages for Unresolvable Variables
...
1. define new `logWarning` method in Error class and consolidate message formatting for consistency.
2. use new `logWarning` to inform users if a variable cannot be resolved.
2017-02-08 15:40:31 -08:00
Erik Erikson
b936492af1
Allow for Top Level References & Commit Comments
...
1. Newly allow `${opt:}` and `${env:}` as a valid reference to the root of the option and environment settings hive, respectively
2. Write a test ensuring the above
3. Document the new capability
4. Eliminate a silly through-${self:} use example
5. Allow for the use of populateProperty in a not-in-place manner
6. Allow for the valid (albeit odd) valueToPopulate[''] case
2017-02-08 14:05:36 -08:00
Philipp Muens
a694b7d96a
Remove unnecessary require of sinon-bluebird
2017-02-08 12:59:18 -05:00
Doug Moscrop
1012c351b7
add sinon-bluebird to make promises in tests a bit cleaner
2017-02-08 12:59:18 -05:00
Doug Moscrop
4c8e3421f8
add Expose plugin hooks so that I can visualize them with an external plugin
2017-02-08 10:50:55 -05:00