Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.25 KB

README.md

File metadata and controls

36 lines (28 loc) · 1.25 KB

Eval Tools

Test Status Linter Report

A Clojure suite designed to assist with evaluating and testing external components.

Approach

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)))

Developent

Poly Info

clojure -M:poly info