Default riemann.configs: remove example event rate stream
Merge branch 'master' of github.com:aphyr/riemann
package md5sums: two spaces
Merge branch 'master' of github.com:aphyr/riemann
Websocket conn logs: now debug, not info
Fixes #392, update tests so that Unix time is calculated in seconds
Option to supply a custom message formatter for Slack integration
Merge pull request #394 from jwinter/fix-milliseconds-unix-test

Fixes #392, update tests so that Unix time is calculated in seconds
Merge pull request #393 from dm3/customizable-slack

Option to supply a custom message formatter for Slack integration
Merge branch 'master' of github.com:aphyr/riemann
added extended formatter for slack using attachments
Merge pull request #397 from alkar/master

Εxtended formatter for slack using message attachments
Internals for riemann.test; building a test suite for configs.
Merge branch 'master' of github.com:aphyr/riemann
Regenerate test TLS certs.
Test machinery hooked up to configs.

In a config, you can write something like

(let [index (default :ttl 3 (tap :index (index)))]
  (streams
    (expired #(prn "Expired" %))
    (where (not (service #"^riemann "))
           index)))

(tests
  (deftest index-test
    (is (= (inject! [{:service "test"
                      :time    1}])
           {:index [{:service "test"
            :time    1
            :ttl     3}]}))))

and invoke it with

$ riemann test riemann.config

`(inject! events)` returns a map of tap names to a vector of the events
that arrived at that tap. Time is always reset to zero at the beginning
of each test, and is automatically advanced to each event time just
prior to event arrival. You may manually advance the clock using
`riemann.time.controlled/advance!`.

Under the hood, `tests` expands to a new ns declaration based on the
current namespace--if the current namespace is `foo`, tests take place
in `foo-test`. `tests` automatically refers clojure.test's `is` and
`are`, plus riemann.test's version of `deftest` and `inject!` for
inserting events into the config's streams.

You can define regular clojure tests as well as ones using `inject!`.
Every namespace ending in "-test" is eligible for testing.
Fix tests for riemann.test
When recursively loading configuration files, only include those files with a `.clj` or `.config` extension
Merge pull request #399 from dbriones/filter-config-files-by-extension

When recursively loading configuration files, only include those files with a `.clj` or `.config` extension
Clean up config/config-file?