aggregator.query.utils

build-cache-pattern

(build-cache-pattern entity)(build-cache-pattern aggregate-id entity-id version)

Returns the appropriate and current cache URI pattern from entity.

http-response->map

(http-response->map response)

Takes a ring http response in json and converts a clojure map of the body.

underscore-keys

(underscore-keys input)

Takes a map produced by e.g. D-BAS data and converts keywords like :aggregate_id to :aggregate-id