 (ns kuona-api.handler
   (:require [cheshire.core :refer :all]
             [clojure.tools.logging :as log]
+            [clojure.java.io :as io]
             [clj-http.client :as http]
             [compojure.core :refer :all]
             [compojure.handler :as handler]

  [id]
  (response (value-stream)))

(defn get-api-info
  []
  (let [es (util/parse-json-body (http/get "http://localhost:9200"))]
    (response {:kuona_api      {:version (System/getProperty "kuona-api.version")}
               :elastic_search es})))

(defroutes app-routes

            [ring.middleware.defaults :refer [wrap-defaults api-defaults]]
            [ring.middleware.json :as middleware]
            [ring.util.response :refer [resource-response response status]])
  (:import java.util.Properties)
  (:gen-class))

(defn service-data
  []
