GWicke has submitted this change and it was merged. Change subject: Update to restbase 0.2.3 ......................................................................
Update to restbase 0.2.3 Change-Id: Ifc36ff7026ef4e2a33af48c6de149bb1d0a50ca0 --- M node_modules/node-uuid/node_modules/bignum/node_modules/nan/package.json M node_modules/request/node_modules/form-data/node_modules/mime/package.json M node_modules/request/node_modules/http-signature/node_modules/assert-plus/package.json M node_modules/request/node_modules/http-signature/node_modules/ctype/package.json M node_modules/request/node_modules/tunnel-agent/package.json M node_modules/restbase-cassandra/lib/db.js M node_modules/restbase-cassandra/package.json M restbase 8 files changed, 17 insertions(+), 11 deletions(-) Approvals: GWicke: Verified; Looks good to me, approved diff --git a/node_modules/node-uuid/node_modules/bignum/node_modules/nan/package.json b/node_modules/node-uuid/node_modules/bignum/node_modules/nan/package.json index 6caeafb..fcf77fe 100644 --- a/node_modules/node-uuid/node_modules/bignum/node_modules/nan/package.json +++ b/node_modules/node-uuid/node_modules/bignum/node_modules/nan/package.json @@ -64,5 +64,6 @@ "directories": {}, "_shasum": "9c4d63ce9e4f8e95de2d574e18f7925554a8a8ef", "_resolved": "https://registry.npmjs.org/nan/-/nan-1.2.0.tgz", - "readme": "ERROR: No README data found!" + "readme": "ERROR: No README data found!", + "scripts": {} } diff --git a/node_modules/request/node_modules/form-data/node_modules/mime/package.json b/node_modules/request/node_modules/form-data/node_modules/mime/package.json index d6cffe2..2ee3a33 100644 --- a/node_modules/request/node_modules/form-data/node_modules/mime/package.json +++ b/node_modules/request/node_modules/form-data/node_modules/mime/package.json @@ -53,5 +53,6 @@ ], "directories": {}, "_shasum": "58203eed86e3a5ef17aed2b7d9ebd47f0a60dd10", - "_resolved": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz" + "_resolved": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz", + "scripts": {} } diff --git a/node_modules/request/node_modules/http-signature/node_modules/assert-plus/package.json b/node_modules/request/node_modules/http-signature/node_modules/assert-plus/package.json index 29500a2..1423fb3 100644 --- a/node_modules/request/node_modules/http-signature/node_modules/assert-plus/package.json +++ b/node_modules/request/node_modules/http-signature/node_modules/assert-plus/package.json @@ -33,5 +33,6 @@ "_shasum": "d93ffdbb67ac5507779be316a7d65146417beef8", "_from": "assert-plus@0.1.2", "_resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.1.2.tgz", - "readme": "ERROR: No README data found!" + "readme": "ERROR: No README data found!", + "scripts": {} } diff --git a/node_modules/request/node_modules/http-signature/node_modules/ctype/package.json b/node_modules/request/node_modules/http-signature/node_modules/ctype/package.json index 474e54d..5c70a91 100644 --- a/node_modules/request/node_modules/http-signature/node_modules/ctype/package.json +++ b/node_modules/request/node_modules/http-signature/node_modules/ctype/package.json @@ -31,5 +31,6 @@ "_shasum": "fe8091d468a373a0b0c9ff8bbfb3425c00973a1d", "_from": "ctype@0.5.2", "_resolved": "https://registry.npmjs.org/ctype/-/ctype-0.5.2.tgz", - "readme": "ERROR: No README data found!" + "readme": "ERROR: No README data found!", + "scripts": {} } diff --git a/node_modules/request/node_modules/tunnel-agent/package.json b/node_modules/request/node_modules/tunnel-agent/package.json index 59c7f5c..0b00d7e 100644 --- a/node_modules/request/node_modules/tunnel-agent/package.json +++ b/node_modules/request/node_modules/tunnel-agent/package.json @@ -41,5 +41,6 @@ "directories": {}, "_shasum": "b1184e312ffbcf70b3b4c78e8c219de7ebb1c550", "_resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.0.tgz", - "readme": "ERROR: No README data found!" + "readme": "ERROR: No README data found!", + "scripts": {} } diff --git a/node_modules/restbase-cassandra/lib/db.js b/node_modules/restbase-cassandra/lib/db.js index 6d67368..f75f9ed 100644 --- a/node_modules/restbase-cassandra/lib/db.js +++ b/node_modules/restbase-cassandra/lib/db.js @@ -97,7 +97,8 @@ } if (!schema) { - console.error("No schema!", schema); + throw new Error("restbase-cassandra: No schema for " + keyspace + + ', table: ' + table); } if (!schema.iKeyMap) { diff --git a/node_modules/restbase-cassandra/package.json b/node_modules/restbase-cassandra/package.json index f788e10..7f37d44 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.2.2", + "version": "0.2.3", "dependencies": { "assert": "^1.1.1", "async": "0.x.x", @@ -22,8 +22,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 <gwi...@wikimedia.org>\n* Hardik Juneja <hardikjuneja...@gmail.com>\n", "readmeFilename": "Readme.md", - "gitHead": "998be9f9581f77026f73dcd43cb22ddad177f14c", - "_id": "restbase-cassandra@0.2.2", - "_shasum": "275a0f4331c2752497918a00fb47f89e47b8470b", - "_from": "restbase-cassandra@^0.2.2" + "gitHead": "506bbaa4b5146e3bd011345dd4d2435a444bec8e", + "_id": "restbase-cassandra@0.2.3", + "_shasum": "dba009fc8739751acdf645ab1b7a6a8582ded666", + "_from": "restbase-cassandra@^0.2.3" } diff --git a/restbase b/restbase index ecbac88..f76147c 160000 --- a/restbase +++ b/restbase -Subproject commit ecbac8896693ecd79cec878480809f37b02f0f50 +Subproject commit f76147cc6c384adca24cb96347ab1fdbb8c5254d -- To view, visit https://gerrit.wikimedia.org/r/171970 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ifc36ff7026ef4e2a33af48c6de149bb1d0a50ca0 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/services/restbase/deploy Gerrit-Branch: master Gerrit-Owner: GWicke <gwi...@wikimedia.org> Gerrit-Reviewer: GWicke <gwi...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits