A Clojure suite designed to assist with evaluating and testing external components.
This tool is designed to interact with external APIs and tools, with simplified commands and clients to invoke those commands. The approach to the commands is to be low-level and involve only basic query and response communication with no higher logic applied. All commands should be stateless.
(require '[eval.cmr.interface.client :as cmr])
(require '[eval.cmr.interface.search :refer [search]])
(let [client (cmr/create-client {:url "http://cmr-instance"})
command (search :collection
{:provider "PROVIDER_ID"}
{:format :umm-json}))]
(cmr/decode-cmr-response-body (cmr/invoke client command)))
Poly Info
clojure -M:poly info