 (require '[hurvinek.exporter      :as exporter])
 (require '[hurvinek.db-interface  :as db-interface])
 (require '[hurvinek.utils         :as utils])
+(require '[hurvinek.process-info  :as process-info])
 
 (defn println-and-flush
     "Original (println) has problem with syncing when it's called from more threads.

            (http-response/content-type mime-type))))

(defn process-api-info
    [request]
    (let [response {:toasterNotifications [(str "info|Api response|<strong>Hurvinek</strong> api v1")]
                    :configuration (:configuration request)}]
        (send-rest-api-response response)))

(defn return-file
    "Creates HTTP response containing content of specified file.

            "/api/components"             (process-list-of-components   request)
            "/api/components-to-chapter"  (process-list-of-components-to-chapter request)
            "/api/info"                   (process-api-info             request)
            "/api/status"                 (process-status               request)
            )))

