OhmData/c5 — pull request #289 by joshua-g (2014-09-15 16:45:38+00:00)
Title: Get single-node replication test to pass, plus various nits

There is a relatively slow (2 second running time) integration test in the c5-general-replication maven module -- logsToASingleQuorumReplicatorUsingTheGeneralizedInterface. The test asserts that a single-node "general" replication service can start up and replicate some data. This PR implements the code to make that test pass.

Some background: the test bootstraps and operates a real replication service ("real" meaning with a port connected to netty), albeit one separate from c5db. The service is "general" in that it implements a minimal and generic interface for the local jvm to use, GeneralizedReplicationService.

This differs from previous efforts: the preexisting c5db single-node tests ran a full c5 database server, with a tablet and a regionserver everything; in contrast, this just runs the replication portion. There were also replication tests before, but they verified the replication logic worked at a low level, wiring the replicators together with jetlang; they didn't integrate with "Discovery", or netty, etc. Also, this test doesn't check any replication logic except the most basic success case.