Florian Motlik
07a22d0702
Merge pull request #2015 from rowanu/aws-provider-profile
...
Support provider > profile and profile per stage
2016-09-16 14:05:41 +02:00
Daniel Koo
296810c8b3
- ensure the Create/Update CloudFormation templates are always written to disk, even if the noDeploy option was not specified
...
- using ES6 arrow functions
- added tests
- added to the documentation
2016-09-16 09:58:05 +10:00
Erik Erikson
9d4ed7a13a
Remove Unused Name Generation in CFT Template
2016-09-15 13:06:29 -07:00
Erik Erikson
82272165a0
Fix Policy Naming + Add LogGroup Tests
...
Correct policy naming by doing it in code with appropriate variables - previous code was incorrectly assuming that the template would be rendered with variable names.
Add tests to verify that the CloudWatch LogGroup resources are being properly added into the Service's CFT.
Add minor comment about line length reasoning for extra code.
2016-09-15 13:05:11 -07:00
Erik Erikson
596bb0eb98
Fix the tests to use the updated log group reference
...
TODO: verify the loggroup resource addition
2016-09-15 11:52:26 -07:00
Erik Erikson
b8134cb15e
Create & Ref CloudWatch LogGroup
...
Remove the create log group permissions
Add CloudWatch LogGroup to the CFT
Reference the co-created CloudWatch LogGroup as one of the resources for the IamPolicyLambdaExecution's logging statement
2016-09-15 11:29:21 -07:00
Florian Motlik
2c04703381
Merge pull request #2142 from andymac4182/issue_2140
...
Update to use describeStackResource
2016-09-15 17:04:52 +02:00
Philipp Muens
9699667cc0
Merge pull request #2079 from serverless/api-keys-output
...
Added API Keys to info plugin
2016-09-15 13:40:42 +02:00
Andrew McClenaghan
b92de4ba40
Update to use describeStackResource
2016-09-15 20:56:00 +10:00
rowan
54728ef2b1
Switch CloudFormation OnFailure behaviour to rollback instead of delete. Fixes #2087 .
2016-09-14 10:58:39 +10:00
Florian Motlik
dcaa33d908
Merge pull request #2030 from Anichale/update-sinon-stubbed-tests
...
Issue #1899 : Update sinon stubbed tests to always check for correct args
2016-09-12 21:33:23 +02:00
Erik Erikson
017914e661
Specific Log Resources Specific to Functions
...
Switch from an all lambdas logging resource IAM policy to one that targets specifically and only those CloudWatch logs produces by the lambdas declared by the service.
Modify tests to ensure this is properly done.
2016-09-12 12:08:26 -07:00
Jon Sharratt
493de1e310
add support for dashes as a resource path
2016-09-11 20:28:32 +01:00
Eslam A. Hefnawy
16a20a4bed
updated docs and tests for api keys outputs
2016-09-09 21:26:30 +09:00
Eslam A. Hefnawy
cb076c595e
api keys output - added test for gathering api keys
2016-09-09 21:09:25 +09:00
Eslam A. Hefnawy
624993b036
updated tests
2016-09-09 21:01:37 +09:00
Eslam A. Hefnawy
24acaf56c9
added api keys to info plugin
2016-09-09 19:54:22 +09:00
Eslam A. Hefnawy
0cec5804c3
updated link to docs
2016-09-09 18:08:41 +09:00
Smith, Greg W
21586c47f3
Properly using single quotes only.
2016-09-08 17:49:25 -07:00
Smith, Greg W
f675132780
Provide data to verify YAML result.
2016-09-08 17:46:12 -07:00
Smith, Greg W
290f5af218
Adds test to AWS Invoke to vierify that YAML can be used for event input. Verifies fix for #1994 .
2016-09-08 17:39:30 -07:00
Sander van de Graaf
db31539db0
made implementation more portable
2016-09-08 21:34:40 +02:00
Sander van de Graaf
5545f0f3b1
Merge branch 'master' into feature/method-parameters
2016-09-08 20:52:33 +02:00
Mohamed GHARSALLAH
af3da9a127
Fix typo
2016-09-08 13:35:54 +02:00
Mohamed GHARSALLAH
cb5f9d831a
Update documentation
2016-09-08 13:08:43 +02:00
Mohamed GHARSALLAH
5209b69c6e
Add unit tests
2016-09-08 13:08:31 +02:00
Mohamed GHARSALLAH
b9440f18b4
Add support for s3 events filter rules
2016-09-08 13:08:10 +02:00
Eslam A. Hefnawy
4aaa589fe4
updated sls create templates with rc1 changes
2016-09-08 14:49:24 +09:00
Erik Erikson
5e5efd7774
Resolve Lint Errors
...
Yeesh. Sorry for the noob moves. Resolves lint.
Note that the reduction in coverage is a result of the reduction of lines of code via removal of those lines without removal of uncovered lines.
2016-09-07 15:39:10 -07:00
Erik Erikson
a1eabd7b41
Update Tests
...
Rather than expecting static strings, expect the new joins of various variables.
2016-09-07 15:13:12 -07:00
Erik Erikson
f5470c0828
Removing code-based policy name and resource assignment
2016-09-07 14:56:34 -07:00
Erik Erikson
39500714ff
Merge branch 'master' into reduce-scope-of-rights-of-default-iamlambdarole
2016-09-07 13:38:53 -07:00
Sander van de Graaf
cb98671220
added parameters to method
2016-09-07 15:37:53 +02:00
Fabien Ruffin
2f296c296f
Fixed linting issues
2016-09-07 17:15:24 +10:00
Fabien Ruffin
a568d4f236
Updated tests for API Gateway response integration
2016-09-07 15:45:47 +10:00
Fabien Ruffin
4544bf3d89
Updated API Gateway integration to return 500 when Lambda functions time out
2016-09-07 15:36:45 +10:00
Sanghee Kim
1fb8b0c2df
follow pep8 - Python style guide checker
2016-09-06 18:11:34 -04:00
rowan
7ef598b2fa
Update off master - docs changes.
2016-09-06 09:07:52 +10:00
Florian Motlik
f9f212b404
WIP
2016-09-05 16:18:58 +02:00
Florian Motlik
1364f05f61
Merge pull request #1917 from johncmckim/issue-1777
...
Update packaging to support individual packages per function
2016-09-05 14:56:07 +02:00
John McKim
02c0e6c369
increase coverage of artifact uploads
2016-09-05 22:37:13 +10:00
rowan
474326f4c7
Fix eslint error.
2016-09-05 15:34:56 +10:00
rowan
514d06d304
Remove .only usage.
2016-09-05 13:58:24 +10:00
rowan
7ae87ba27e
Load AWS profile from provider object.
2016-09-05 13:46:40 +10:00
rowan
1ddfdf7fa8
Remove unused variable.
2016-09-03 20:51:11 +10:00
rowan
ad11a3bf5e
Make tests pass by loading credentials from INI file.
2016-09-03 19:56:28 +10:00
rowan
45ef6d2a96
Update getCredentials tests to actually test correct property.
...
See "Using Profiles with the SDK" on
http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/node-configuring.html .
2016-09-03 17:26:34 +10:00
Alexander Anich
8d6748b9eb
Updates sinon stubbed tests in plugins/aws
...
Creates test cases to check for correct arugments from sinon stubs
2016-09-02 17:40:42 -10:00
John McKim
83a9d5e0fd
fixes from pr comments
2016-09-03 12:32:13 +10:00
Florian Motlik
c973594ac4
Merge pull request #1998 from serverless/add-status-code-support-for-api-gateway
...
Add status code support for API Gateway
2016-09-02 17:28:58 +02:00