Philipp Muens
eb4d17d1b5
Fix linting issues
2016-09-27 12:04:15 +02:00
Philipp Muens
3e93d244d3
Add subdirectory for tmpDirs
...
Add a subdirectory so that all directories which are generated for the tests are stored there.
Furthermore old tests are updated so that they use the tmpDir name generated by the test
utils functionality. This makes working with Docker way better as the tmpDirs are not created
It the root directory.
2016-09-27 11:48:14 +02:00
Erik Erikson
9497b4149e
Merge branch 'master' into reduce-scope-of-rights-of-default-iamlambdarole
2016-09-26 17:41:46 -07:00
Meaghan Harty
a793014bbc
add aws-scala-sbt template for scala lambdas
2016-09-26 17:30:23 -04:00
Florian Motlik
eec54e348b
Merge pull request #2205 from dougmoscrop/fix_win
...
fix Tests not passing on Windows
2016-09-26 17:28:31 +02:00
Doug Moscrop
4490af73c0
fix Tests not passing on Windows
2016-09-26 09:14:54 -04:00
Sander van de Graaf
d97808008e
make eslint happy
2016-09-26 13:20:52 +02:00
Sander van de Graaf
d90fe1636a
added tests for query parameters
2016-09-26 13:16:58 +02:00
Florian Motlik
d6ffe8962b
Add Var at the end of path variable CF name
2016-09-26 12:39:29 +02:00
Philipp Muens
40da6be2b2
Remove dependency on API key id in outputs section
2016-09-26 10:45:03 +02:00
Philipp Muens
a5dcee1cad
Add / fix tests for api key value retrieval
2016-09-26 10:45:03 +02:00
Philipp Muens
41ef1d040d
Fix api key value displaying in info plugin
2016-09-26 10:45:03 +02:00
Sergio Arcos
e7fedf4fd1
wrong description
2016-09-26 15:09:41 +09:00
Florian Motlik
9b5a58c30f
Merge pull request #2125 from rowanu/rollback-on-cfn-failure
...
Switch CloudFormation OnFailure behaviour to rollback instead of dele…
2016-09-23 21:29:42 +02:00
Florian Motlik
b6a39ef115
Merge pull request #2091 from craftship/support-dash-path-name
...
Support Dash Character for API Gateway Resource Path
2016-09-23 20:48:17 +02:00
Florian Motlik
2d4918832f
Merge pull request #2075 from Nordstrom/aws-event-yml-support
...
Fix for #1994 . Adds test to verify that YAML may be used for event.
2016-09-23 20:18:22 +02:00
Florian Motlik
c0ebd38592
Merge pull request #2043 from sangheestyle/master
...
follow pep8 - Python style guide checker
2016-09-23 20:16:53 +02:00
Florian Motlik
e4846edb21
Merge pull request #2050 from fruffin/master
...
Fix #2049 : API Gateway integration to return 500 when Lambda functions time out
2016-09-23 19:55:18 +02:00
zorrofox
478209bfa6
fix : #1973 deploy fails with unhelpful error message when service name is not a valid CF stack name
2016-09-24 00:32:03 +08:00
zorrofox
eaf175da06
fix : #1973 deploy fails with unhelpful error message when service name is not a valid CF stack name
2016-09-24 00:22:19 +08:00
Florian Motlik
e10ff9ee23
Merge pull request #1910 from mrlamroger/add-name-flag-to-create
...
Fix #1902 - Add --name option to create plugin
2016-09-23 18:09:15 +02:00
zorrofox
b8e5bb4eca
fix : #1973 deploy fails with unhelpful error message when service name is not a valid CF stack name
2016-09-23 23:59:13 +08:00
zorrofox
dbeaa54832
fix : #1973 deploy fails with unhelpful error message when service name is not a valid CF stack name
2016-09-23 23:04:34 +08:00
zorrofox
73617d0a66
fix : #1973 deploy fails with unhelpful error message when service name is not a valid CF stack name
2016-09-23 22:47:23 +08:00
David Tanner
d490ed413e
Rename to deploymentBucket as recommended by @flomotlik
2016-09-23 08:18:33 -06:00
David Tanner
1a8b94cc4f
Upping code coverage.
...
Found some unused code when looking for throttling errors, added functionality to get code from SDK errors.
Added tests to cover functionality.
Fixed prefix to be serverless/{serviceName}/{stage}
2016-09-22 15:55:52 -06:00
David Tanner
66525f259e
Deploy by service and stage.
...
Check that the bucket exists before, and that it is in the correct stage
2016-09-22 10:24:35 -06:00
David Tanner
4172655c1b
Cleanup linting issues
2016-09-22 09:19:58 -06:00
David Tanner
a425967654
Add a bucket to the provider for deployments.
...
Also prefix deployments so they can co-exist with other files
2016-09-22 05:35:29 -06:00
Erik Erikson
9ff80a10e5
"Fn:Join" => "Fn::Join"
...
(add a colon - otherwise, it is invalid and blows up stack creation)
2016-09-21 11:22:14 -07:00
Florian Motlik
f732019d5b
Add any to list of allowed http methods
2016-09-21 12:48:32 +02:00
Roger Lam
5cb7dc1734
fix linting errors
2016-09-20 11:15:35 -07:00
Roger Lam
9a5c01815e
remote comments and debug statements
2016-09-20 10:56:27 -07:00
Roger Lam
65489ad34c
add ability to pass custom name through options
2016-09-20 00:30:20 -07:00
Roger Lam
7ca12674a4
add additional test for when path and name are provided
2016-09-20 00:28:58 -07:00
Roger Lam
e04226e922
fix test
2016-09-19 23:40:09 -07:00
Roger Lam
87c37bbc00
Merge branch 'master' of github.com:serverless/serverless into add-name-flag-to-create
2016-09-19 23:05:12 -07:00
Erik Erikson
7d40665fa4
Update Tests
...
(this is just getting embarassing - maybe I should set up a pre-hook?)
2016-09-19 13:12:38 -07:00
Erik Erikson
b768b47090
Remove the "RetentionInDays" Attribute
...
Hopefully this causes the system to fall back to the default setting for the account.
2016-09-19 13:04:44 -07:00
Florian Motlik
7e7dcc4923
Merge pull request #2138 from danielkoo/serverless-#2016-wip
...
- ensure the Create/Update CloudFormation templates are always written to disk, even if the noDeploy option was not specified
2016-09-19 16:22:27 +02:00
Andrew McClenaghan
2cebdff5f7
Update test to just test description
2016-09-19 20:34:02 +10:00
Andrew McClenaghan
17ae7ed96f
Clean up duplicate test
2016-09-17 22:23:22 +10:00
Andrew McClenaghan
39ac286e3c
Add description property for lambda function
2016-09-17 22:22:19 +10:00
Florian Motlik
47e654fe71
Fix profile handling when other keys are present
2016-09-16 15:38:27 +02:00
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