FakeRiak.Riak (fake_riak v0.1.0)

Copy Markdown View Source

Fake Riak KV endpoint speaking Riak's HTTP API over TCP.

Being bucketed, it maps directly onto the bucketed side of FakeRiak.SimpleStore. Supported routes (both the modern and legacy forms):

GET|PUT|POST|DELETE  /buckets/:bucket/keys/:key
GET|PUT|POST|DELETE  /riak/:bucket/:key
GET                  /ping

Object values are stored as the raw request body.