basho/riak_kv — pull request #250 by skeltoac (2011-11-15 21:30:09+00:00)
Title: Add custom webmachine routes found in app config

We are creating a logging and analytics system in Riak. The first new component is a webmachine module that serves an HTTP resource and logs the interactions directly in riak with a local client. The easiest way I found to add routes to webmachine when riak_kv starts is to look for routes in the config. This is a low-cost, back-compat solution.

Previously I added my custom route while starting a custom application after Riak had started. This is far less cumbersome and more timely.