GWicke has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/179862

Change subject: Update restbase-cassandra
......................................................................

Update restbase-cassandra

Change-Id: I7f2fc9733f65bb6df8171e2e65d4f3da5ac2b020
---
M 
node_modules/bunyan/node_modules/mv/node_modules/mkdirp/node_modules/minimist/package.json
M node_modules/mocha/node_modules/mkdirp/node_modules/minimist/package.json
M node_modules/mocha/node_modules/mkdirp/package.json
M node_modules/restbase-cassandra/lib/index.js
M 
node_modules/restbase-cassandra/node_modules/restify/node_modules/lru-cache/package.json
M node_modules/restbase-cassandra/package.json
6 files changed, 14 insertions(+), 11 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/restbase/deploy 
refs/changes/62/179862/1

diff --git 
a/node_modules/bunyan/node_modules/mv/node_modules/mkdirp/node_modules/minimist/package.json
 
b/node_modules/bunyan/node_modules/mv/node_modules/mkdirp/node_modules/minimist/package.json
index 09e9ec4..7cd80f4 100644
--- 
a/node_modules/bunyan/node_modules/mv/node_modules/mkdirp/node_modules/minimist/package.json
+++ 
b/node_modules/bunyan/node_modules/mv/node_modules/mkdirp/node_modules/minimist/package.json
@@ -62,6 +62,5 @@
   ],
   "directories": {},
   "_shasum": "857fcabfc3397d2625b8228262e86aa7a011b05d",
-  "_resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz";,
-  "readme": "ERROR: No README data found!"
+  "_resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz";
 }
diff --git 
a/node_modules/mocha/node_modules/mkdirp/node_modules/minimist/package.json 
b/node_modules/mocha/node_modules/mkdirp/node_modules/minimist/package.json
index 09e9ec4..7cd80f4 100644
--- a/node_modules/mocha/node_modules/mkdirp/node_modules/minimist/package.json
+++ b/node_modules/mocha/node_modules/mkdirp/node_modules/minimist/package.json
@@ -62,6 +62,5 @@
   ],
   "directories": {},
   "_shasum": "857fcabfc3397d2625b8228262e86aa7a011b05d",
-  "_resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz";,
-  "readme": "ERROR: No README data found!"
+  "_resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz";
 }
diff --git a/node_modules/mocha/node_modules/mkdirp/package.json 
b/node_modules/mocha/node_modules/mkdirp/package.json
index a915c51..a6de8f3 100644
--- a/node_modules/mocha/node_modules/mkdirp/package.json
+++ b/node_modules/mocha/node_modules/mkdirp/package.json
@@ -39,7 +39,7 @@
     "shasum": "1d73076a6df986cd9344e15e71fcc05a4c9abf12",
     "tarball": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.0.tgz";
   },
-  "_from": "[email protected]",
+  "_from": "mkdirp@~0.5.0",
   "_npmVersion": "1.4.3",
   "_npmUser": {
     "name": "substack",
diff --git a/node_modules/restbase-cassandra/lib/index.js 
b/node_modules/restbase-cassandra/lib/index.js
index 67e0e9b..63fd01b 100644
--- a/node_modules/restbase-cassandra/lib/index.js
+++ b/node_modules/restbase-cassandra/lib/index.js
@@ -10,6 +10,11 @@
     var conf = options.conf;
     clientOpts.keyspace = conf.keyspace || 'system';
     clientOpts.contactPoints = conf.hosts;
+    // Also see
+    // 
http://www.datastax.com/documentation/developer/nodejs-driver/1.0/common/drivers/reference/clientOptions.html
+    clientOpts.reconnection = new cass.policies
+        // Retry immediately, then delay by 100ms, back off up to 2000ms
+        .reconnection.ExponentialReconnectionPolicy(100, 2000, true);
     if (conf.username && conf.password) {
         clientOpts.authProvider = new cass.auth.PlainTextAuthProvider(
                 conf.username, conf.password);
diff --git 
a/node_modules/restbase-cassandra/node_modules/restify/node_modules/lru-cache/package.json
 
b/node_modules/restbase-cassandra/node_modules/restify/node_modules/lru-cache/package.json
index be2cfc9..2474729 100644
--- 
a/node_modules/restbase-cassandra/node_modules/restify/node_modules/lru-cache/package.json
+++ 
b/node_modules/restbase-cassandra/node_modules/restify/node_modules/lru-cache/package.json
@@ -31,7 +31,7 @@
     "shasum": "d82388ae9c960becbea0c73bb9eb79b6c6ce9aeb",
     "tarball": "http://registry.npmjs.org/lru-cache/-/lru-cache-2.5.0.tgz";
   },
-  "_from": "lru-cache@^2.5.0",
+  "_from": "lru-cache@2",
   "_npmVersion": "1.3.15",
   "_npmUser": {
     "name": "isaacs",
diff --git a/node_modules/restbase-cassandra/package.json 
b/node_modules/restbase-cassandra/package.json
index 9db4e46..dfcfe95 100644
--- a/node_modules/restbase-cassandra/package.json
+++ b/node_modules/restbase-cassandra/package.json
@@ -1,7 +1,7 @@
 {
   "name": "restbase-cassandra",
   "description": "RESTBase table storage on Cassandra",
-  "version": "0.3.5",
+  "version": "0.3.6",
   "dependencies": {
     "async": "0.x.x",
     "bluebird": "~2.3.10",
@@ -23,8 +23,8 @@
   },
   "readme": "# [RESTBase](https://github.com/gwicke/restbase) table storage on 
Cassandra\n\nProvides a high-level table storage service abstraction similar to 
Amazon\nDynamoDB or Google DataStore, with a Cassandra backend. See [the 
design\ndocs](https://github.com/gwicke/restbase-cassandra/tree/master/doc) 
for\ndetails and background.\n\nThis is the default table storage backend 
for\n[RESTBase](https://github.com/gwicke/restbase), and automatically 
installed as\nan npm module dependency (`restbase-cassandra`). See the install 
instructions\nthere.\n  \n## Status\nPrototype, not quite ready for 
production.\n\n[![Build 
Status](https://travis-ci.org/gwicke/restbase-cassandra.svg?branch=master)](https://travis-ci.org/gwicke/restbase-cassandra)\n\nFeatures:\n-
 basic table storage service with REST interface, backed by Cassandra\n- 
multi-tenant design: domain creation, prepared for per-domain ACLs\n- table 
creation with declarative JSON schemas\n- secondary index creation and basic 
maintenance\n- data insertion and retrieval by primary key, including range 
queries\n\n### Next steps\n- More refined [secondary\n  
index](https://github.com/gwicke/restbase-cassandra/blob/master/doc/SecondaryIndexes.md)\n
  implementation\n    - range queries on secondary indexes\n- Refine HTTP 
interface & response formats, especially paging\n- Authentication (OAuth2 / JWT 
/ JWS / auth service callbacks) and ACLs\n- 
[Transactions](https://github.com/gwicke/restbase-cassandra/blob/master/doc/Transactions.md):\n
  light-weight CAS and 2PC\n- Get ready for production: robustness, 
performance, logging\n- Basic schema evolution support\n\n## Contributors\n* 
Gabriel Wicke <[email protected]>\n* Hardik Juneja 
<[email protected]>\n",
   "readmeFilename": "Readme.md",
-  "gitHead": "8685ca8987f7a445d3dd846f39c4b17938adcff2",
-  "_id": "[email protected]",
-  "_shasum": "b2c076acd40b7c81648734043e8cb512551b2acf",
-  "_from": "[email protected]"
+  "gitHead": "26626ddee8bb399e8e2fee1efad0bd8914735165",
+  "_id": "[email protected]",
+  "_shasum": "364258a74412aff5952bf320290bbe0df0be6b59",
+  "_from": "[email protected]"
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/179862
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7f2fc9733f65bb6df8171e2e65d4f3da5ac2b020
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/restbase/deploy
Gerrit-Branch: master
Gerrit-Owner: GWicke <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to