 (ns celestial.fixtures.data
   "loading fixtures data"
   (:require 
+    [clojure.java.io :refer (file)]
     [celestial.model :refer (operations)]
     [clojure.core.strint :refer  (<<)]
     [celestial.common :refer (slurp-edn)]

  :envs [] :roles #{:celestial.roles/user} 
  :operations operations
})
(defn read-fixture [fixture]
  (slurp-edn (<< "data/resources/~{fixture}.edn")))
 
(def redis-prox-spec (read-fixture "redis-system"))

(def redis-bridged-prox (read-fixture "redis-system-bridged"))


(def local-prox (read-fixture "celestial"))

(def clustered-prox (read-fixture "celestial-cluster"))
 


(def local-conf 
  (let [path (me.raynes.fs/expand-home "~/.celestial.edn")]
