564 Commits

Author SHA1 Message Date
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
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
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
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
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
Eslam A. Hefnawy
4aaa589fe4 updated sls create templates with rc1 changes 2016-09-08 14:49:24 +09: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
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
Nick den Engelsman
9ce66ce620 Add verbose option to remove plugin 2016-09-02 13:19:07 +02:00
Nick den Engelsman
22e812c32a Make eslint happy 2016-09-02 13:19:07 +02:00
Nick den Engelsman
9d2a990364 update test description for monitorStack 2016-09-02 13:19:07 +02:00
Nick den Engelsman
7e77f8aa0c remove unnecessary eslint-disable no-console 2016-09-02 13:19:07 +02:00
Nick den Engelsman
7ed013f98d refactor monitorUpdate within lib/plugins/aws/deploy/lib/updateStack.js to keep track of initial stack error during deployment and show all stack events with --verbose 2016-09-02 13:19:07 +02:00
John McKim
ea864be300 merge with master 2016-09-02 07:17:57 +10:00
John DeVerna
12a069d2f2 Fixing #1168 - adding ability to specify APIG pass through behavior 2016-09-01 11:12:46 -04:00
Florian Motlik
6692d2d0f1 Merge pull request #1961 from mallzee/archivejs-replacing-jszip
fix(zip): Switch to archivejs to reduce high memory footprint
2016-09-01 13:19:34 +02:00