262 Commits

Author SHA1 Message Date
Philipp Muens
94792284c8 Merge pull request #2198 from zorrofox/master
fix: #1973 deploy fails with unhelpful error message when service name is not a valid CF stack name
2016-09-30 23:03:01 +02:00
zorrofox
9d04ca0a68 modify error message according to the review 2016-09-30 09:22:20 +01:00
Florian Motlik
e1adf6e921 Merge pull request #2175 from serverless/fix-api-key-value-displaying-in-info-plugin
Fix api key value displaying in info plugin
2016-09-28 16:03:21 +02:00
eL0ck
4fa7457f24 fixed. Was incorrectly catching non-http events as empty http events 2016-09-28 08:49:51 +02:00
eL0ck
0f2510eac4 fixed inconsistent error message 2016-09-28 08:49:51 +02:00
eL0ck
dc0b252564 fixed merge error. Tests all passing 2016-09-28 08:49:51 +02:00
eL0ck
a1563a3a73 fix http event validation 2016-09-28 08:47:43 +02:00
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
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
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
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
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
Florian Motlik
f732019d5b Add any to list of allowed http methods 2016-09-21 12:48:32 +02: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
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
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
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
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
24acaf56c9 added api keys to info plugin 2016-09-09 19:54:22 +09: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
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
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
Florian Motlik
62131e3b63 Add documentation for default 500 status 2016-09-02 17:19:56 +02:00
Florian Motlik
bb2ca44623 Capture Exception in handler with 500 status code 2016-09-02 17:02:30 +02:00
Philipp Muens
41260b834e Change from object representation to string representation for status code 2016-09-02 16:01:16 +02:00
Philipp Muens
16863c3303 Fix tests to use new resource logical IDs 2016-09-02 14:20:58 +02:00
Philipp Muens
dede40ba7d Fix broken markdown syntax for table of status codes 2016-09-02 14:20:58 +02:00
Philipp Muens
09139fda18 Add status code support for API Gateway 2016-09-02 14:20:58 +02:00
Nick den Engelsman
c2d2152679 Moved monitorStack to shared lib/plugins/aws/lib 2016-09-02 13:35:29 +02:00
Nick den Engelsman
c347bf8544 Improve check if stack created and test suite 2016-09-02 13:19:07 +02:00