sakaiproject/Hilary — pull request #12 by simong (2012-09-05 19:46:13+00:00)
Title: Updated the Cassandra utility module.

This PR introduces pooled connections for Cassandra.
It adds a little facade over the node-cassandra-client's Connection and PooledConnection.

It also adds 2 extra methods:
* `init(config)` can be used to setup the connection configuration (this is retrieved from a config.js in the root dir.
* `createColumnFamilyIfNotExists(name, cql, callback)` can be used to create a ColumnFamily if it doesn't exist. This could be useful in the install.js files.

I follow this PR up with a utility that can run the unit tests for all our modules (or a specific one) that sets the cassandra config for unit testing.