 (ns satellite-slave.relay
   (:require
    [clj-http.client :as http]
-   [cheshire.core :as json]))
+   [cheshire.core :as json]
+   [satellite-slave.config :as config]))
 
 ;; type state = Map (Any, state) | List state
 

(defn get-observability-metrics
  "Retrieve the observability metrics
  http://mesos.apache.org/documentation/latest/monitoring/"
  ([host]
   (get-observability-metrics ^String host "http"))
  ([^String host ^String scheme]

(defn get-state
  "Retrieve mesos state as a map from a given slave host. If any exception e
   happens, it will simply return a map {:error e}."
  ([]
   (get-state (:slave-host config/settings)))
  ([host]
   (get-state ^String host "http"))
  ([^String host ^String scheme]
