5365 Commits

Author SHA1 Message Date
jeffnoehren
5ec11c82a9 Spotinst - adding test cases to java8 tempalte 2018-01-02 13:54:55 -08:00
Alex Casalboni
bb2ddc0eec Fixed S3 Transfer Acceleration bug with custom deployment buckets (#4606)
* fixed s3 transfer acceleration bug with custom deployment buckets

* added test (custom deployment bucket case)

* unwrapping stubs (node 5.11 fail)

* increased coverage

* add return to BbPromise
2017-12-28 11:12:45 +01:00
Frank Schmid
923b2d5a9a
Merge pull request #4572 from erikerikson/fix-crash-cycles-4556
Fix Cycles Crash (#4556)
2017-12-25 13:48:19 +01: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
Jeffrey Noehren
dae7b4ba57
Merge pull request #9 from serverless/master
updating personal branch
2017-12-21 10:47:25 -08:00
jeffnoehren
9def00bfa5 Spotinst - adding stage variable to templates and docs 2017-12-21 10:46:14 -08:00
Pavel Vlasov
a2ae114b2e show warning on plugin uninstall for serverless.js config 2017-12-21 14:37:03 +11:00
Pavel Vlasov
d2ed15839b refactor getServerlessFilePath 2017-12-21 14:24:17 +11:00
Jesús A. Álvarez
db08b03be4 resolve handler method like AWS lambda 2017-12-20 16:21:59 +01:00
Jesús A. Álvarez
d9c986e97f pass handler name to java 2017-12-20 16:21:59 +01:00
Jesús A. Álvarez
11cf69bd80 fall back to POJO if handler doesn't take Map 2017-12-20 16:21:59 +01:00
Pavel Vlasov
ea7c6620af fix eslint 2017-12-19 20:35:07 +11:00
Pavel Vlasov
bca4da55b3 add support for serverless.js 2017-12-19 20:14:39 +11:00
Toan Nguyen
c279795709
Merge branch 'master' into sls-shared-api 2017-12-17 22:50:59 +07:00
jeffnoehren
52a6d6ddc9 Spotinst - moving finalName tag in pom.xml for spotinst-java8 template 2017-12-15 14:26:46 -08:00
jeffnoehren
481c2c3baa Spotinst - adding package.json to spotinst-java8 template 2017-12-15 14:19:43 -08:00
jeffnoehren
11f15517fd Spotinst - adding docs for Java8 template 2017-12-15 14:07:58 -08:00
jeffnoehren
6f10714919 Spotinst - adding java8 template 2017-12-15 13:56:38 -08:00
Christophe Bougère
61cbeb1645 - adding a --template-url option for sls create
- update `walkDirSync` to ignore symbolic links (now ignore node_modules linked via `npm link`)
2017-12-14 16:15:14 +01:00
Erik Erikson
13ae54cacc Fix Cycles Crash (#4556)
Replace the existing service and clear the cache (which references the ammended service)
Remove cycles in that service using json-cycle.
Dump the decycled object as YAML to console.
2017-12-13 16:39:06 -08:00
Frank Schmid
f62116cecf
Merge pull request #4560 from erikerikson/fix-resolve-signature-and-calls
Improve Stage and Region Usage
2017-12-12 21:25:39 +01: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
Hassan Khan
b4b2803a4e Add type APIGatewayEvent to handler 2017-12-12 06:17:35 +00: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
Takahiro Horike
1fb90f6dc1
Merge pull request #4537 from serverless/fix-resolve-signature-and-calls
Remove not used parameters from request() and add options hive
2017-12-12 01:47:04 +09:00
Takahiro Horike
24ce96da84
Merge pull request #4552 from jamestharpe/master
Installs @types/aws-lambda and uses types in handler, per issue #4546
2017-12-12 00:14:03 +09:00
Frank Schmid
e4a5a1d43c
Do not log warning if no options are given 2017-12-11 12:33:40 +01: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
James Tharpe
e16092cc4c Installs @types/aws-lambda and uses types in handler, per issue #4546 2017-12-10 19:48:34 -05:00
Takahiro Horike
12ec3df56f
Merge pull request #4531 from serverless/RegionalEndpoint
Add API Gateway endpoint configuration
2017-12-11 01:07:02 +09:00
James Tharpe
b9efc45ba1 Updates severless-webpack to ^4.0 per request from @HyperBrain 2017-12-10 08:02:05 -05:00
James Tharpe
b397858ef2 Adds @types/node per #4546 2017-12-09 16:25:06 -05: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
5526802a1b
Added request cache and queue to AWS provider
Make sure that requests are throttled. Use a queue for the requests.

Added new expected parameter to request() call in variables test

Added request cache tests
Check that request is indeed called 1000 times

Cache promises, not values

Use request cache for AWS variable requests

Use fromCallback instead of "new Promise" anti-pattern.

Added request cache to AWS provider
2017-12-05 12:39:39 +01:00
Takahiro Horike
b7b31535f6
Merge pull request #4429 from chernando/master
Basic logging for python invoke local
2017-12-04 08:39:29 +09:00
Frank Schmid
48638355a2
Merge pull request #4510 from serverless/fix-version-logical-id
Fix lambda version generation when only function config changes
2017-12-03 12:33:32 +01:00
Rafal Wilinski
8a02d2a4a3
Merge pull request #4118 from geofflancaster/master
Updated awsProvider to allow manual specification of certificate auth…
2017-12-03 09:00:47 +01:00
Takahiro Horike
41baf4cbaf
Merge pull request #4433 from jswift/template/aws-kotlin-jvm-gradle
Template/aws kotlin jvm gradle
2017-12-02 19:20:12 +09: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
Gary Richards
0fc6222026 removed redundant keywords from Handler when constructing and returning Response 2017-11-29 14:02:24 +00:00
Rafal Wilinski
d1516c1485 Add missing newline 2017-11-16 00:16:15 +01:00