165 Commits

Author SHA1 Message Date
Takahiro Horike
63f15f6741
Merge pull request #4650 from thomasmichaelwallace/master
allow authorizer.name to override implied authorizer.arn name.
2018-01-16 08:55:01 +09:00
Takahiro Horike
5d8acc3853
Merge pull request #4601 from willwhy/4569-cloudwatchlog-filter
improve aws cloudwatchlog filter #4569
2018-01-13 14:52:54 +09:00
thomasmichaelwallace
1ae47641b1 allow authorizer.name to override implied authorizer.arn name. 2018-01-12 13:57:21 +00:00
Alex Casalboni
407b0f06e6 BbPromise.reject instead of throwing error 2018-01-08 15:03:41 +01:00
Alex Casalboni
c720018125 test typo 2018-01-07 17:38:43 +01:00
Alex Casalboni
1aee4b8240 updated tests (100% file coverage) 2018-01-07 17:30:18 +01:00
Alex Casalboni
a9b82e538c Added new no-aws-s3-accelerate argument to explicitly disable S3 Transfer Acceleration (updated doc too) 2018-01-07 17:29:54 +01:00
Alex Casalboni
4de092c092 not setting 'Suspended' acceleration by default (permission would be required!) 2018-01-07 16:37:23 +01:00
Takahiro Horike
13bda4bf1e
Merge pull request #4247 from hgiasac/sls-shared-api
WIP - Added support for using an existing ApiGateway and Resources
2018-01-06 15:42:00 +09:00
Takahiro Horike
45f5e15550
Merge pull request #3953 from lovenm/master
Fix issues with HTTP integration
2018-01-06 00:56:35 +09:00
horike37
408ed25ca4 Merge branch 'master' into 4569-cloudwatchlog-filter 2018-01-05 11:05:26 +09:00
Will Yang
5a0a31f8a0 use double quotes string to be better to represent the test case 2018-01-05 09:37:19 +11:00
Will Yang
6242346034 add test case for escaped quotes 2018-01-04 12:32:46 +11:00
Will Yang
ced088c4fa unescape quotes when necessary to compatible with old filter patterns 2018-01-03 14:15:54 +11:00
Takahiro Horike
890c042fbd Add logRetentionInDays property to provider level (#4591)
* add logRetentionInDays property

* update test and improve code

* minor tweak

* add logRetentionInDays property

update test and improve code

minor tweak
2017-12-25 13:47:00 +01:00
Will Yang
b444155a27 improve aws cloudwatchlog filter to avoid massive quotes in serverless.yml 2017-12-22 11:15:31 +11:00
Toan Nguyen
c279795709
Merge branch 'master' into sls-shared-api 2017-12-17 22:50:59 +07:00
Erik Erikson
ca5ba8daac Remove unused parameters in platform.js (and deal with consequences)
Add explicit use of options where they were defined.
2017-12-12 11:59:08 -08:00
Takahiro Horike
c0967caf14
Merge branch 'master' into sls-shared-api 2017-12-12 13:15:44 +09:00
Erik Erikson
bf8d57fa9f Improve Stage and Region Usage
Remove the errant (but understandable) distributed usage of region and stage settings.  This otherwise locks in a multitude of bugs around the improper algorithm for selecting (given all context) the proper region or stage setting.  Instead, all code should use the centralized algorithm for determining such values.  This creates a strange first and second class configuration concept but these two are sufficiently varied and complex in their creation and use that this seems appropriate.
2017-12-11 16:39:44 -08:00
Frank Schmid
81c896bc12
Removed reintroduction of stage+region in request. Added options.
Delete bucket was still using them

Hopefully all :)

Further test fixes.

.... worked too long yesterday

Fixed Variable tests

Remove not used parameters from request() and add options with warning
2017-12-11 12:33:35 +01:00
Alex DeBrie
a9e8080aec Fix CloudFormation for endpoint configuration 2017-12-09 12:43:19 +00:00
Toan Nguyen
9a8b1337ef fix test script 2017-12-09 18:42:09 +07:00
Toan Nguyen
d3071fdc32 fix test script 2017-12-09 17:56:42 +07:00
Toan Nguyen
bd80e3412f fixed undefined resource name if all resources are predefined 2017-12-09 17:50:46 +07:00
Toan Nguyen
959c2fb4dd fixed undefined resource name if all resources are predefined 2017-12-09 17:21:48 +07:00
Alex DeBrie
9889081914 Add endpointType configuration 2017-12-06 18:28:12 +00:00
Frank Schmid
b1d4925508
Use chunked read 2017-12-01 13:16:58 +01:00
Frank Schmid
57f0561547
Added unit test for configuration change 2017-12-01 12:58:46 +01:00
Frank Schmid
54e10cebbb
Use asynchronous file read and create version hash including config 2017-12-01 11:49:00 +01:00
Rafal Wilinski
ac0319b945 Fix failing test 2017-11-15 23:44:52 +01:00
Rafal Wilinski
f138e4ed5e Reintroduce ignore check for existing deploymentBuckets 2017-11-15 21:43:10 +01:00
Alex Casalboni
4a3d4675d3 Showing warning if --aws-s3-accelerate is used with custom deployment bucket 2017-10-28 02:06:19 +02:00
Alex Casalboni
5c5f893e69 Added tests (increased coverage) 2017-10-28 01:51:42 +02:00
Alex Casalboni
64ccb046a7
Merge branch 'master' into issue4252-s3-transfer-acceleration 2017-10-28 00:59:18 +02:00
Alex Casalboni
257f5dc40d Added custom ServerlessDeploymentBucketAccelerated output 2017-10-28 00:55:36 +02:00
Alex Casalboni
bf6572847e Always adding AccelerateConfiguration to deployment bucket (if not provided manually) 2017-10-27 17:03:41 +02:00
Toan Nguyen
76e4c7934e fixed eslint typo 2017-10-11 10:49:13 +07:00
Toan Nguyen
de60858227 improve test script and revert package-lock.json 2017-10-11 10:09:17 +07:00
Jonathan Spies
1f086cfa14 update validator to accept type 2017-10-10 13:08:40 -05:00
Jonathan Spies
2341e5beae separate expectation for REQUEST into its own test 2017-10-10 12:36:16 -05:00
Jonathan Spies
e75c783365 add type option to authorizer. implements #4325 2017-10-10 12:31:22 -05:00
Takahiro Horike
733e6414c1 Merge pull request #4302 from RafalWilinski/removing-private-true
Removing private: true from function does not change it's state
2017-09-30 15:43:48 +09:00
Rafal Wilinski
a0833cfbda Add implicit private = false test 2017-09-29 22:24:56 +02:00
Marko Lovén
c6fe3a5638 Fix warning message format 2017-09-29 09:29:18 +03:00
Rafal Wilinski
52ce55e903 Set ApiKeyRequired if http.private is not specified 2017-09-21 23:04:15 +02:00
Marko Lovén
14ed89d54a Merge tag 'tags/v1.22.0' 2017-09-21 14:15:51 +03:00
horike37
ad6d14bd4d minor tweaks 2017-09-19 22:01:17 +09:00
Toan Nguyen
ed91fc1ceb fixed lint error 2017-09-12 15:50:42 +07:00
Toan Nguyen
755cc8ad65 improved test cases and fixed empty property check 2017-09-12 15:46:01 +07:00