diff options
author | Adrian Batos-Parac <adrian.batos-parac@amdocs.com> | 2018-02-22 15:50:01 -0500 |
---|---|---|
committer | Adrian Batos-Parac <adrian.batos-parac@amdocs.com> | 2018-02-22 15:50:01 -0500 |
commit | d6a36b1577b3220f7822ae655d57fa6a1dded5a6 (patch) | |
tree | 0adf5d8b2f65b0fc6129a42c3fd0309bff9d8700 /dev/dev.clj | |
parent | 030236e7268ca08aeae13acec04e3efc2687b2e6 (diff) |
Initial Commit of Gallifrey
Commit the initial set of code for the Gallifrey offering to ONAP
Change-Id: Id1d3bd2bda5ab530682b6646f2cb0414baf671a5
Issue-ID: AAI-797
Signed-off-by: abatos <adrian.batos-parac@amdocs.com>
Diffstat (limited to 'dev/dev.clj')
-rw-r--r-- | dev/dev.clj | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev/dev.clj b/dev/dev.clj new file mode 100644 index 0000000..63ebec6 --- /dev/null +++ b/dev/dev.clj @@ -0,0 +1,22 @@ +(ns dev + "Tools for interactive development with the REPL. This file should + not be included in a production build of the application." + (:require [gallifrey.config :refer [config]] + [gallifrey.handler :refer [handler]] + [gallifrey.store :as gs] + + [integrant.core :as ig] + + [integrant.repl :refer [clear go halt init reset reset-all]] + [integrant.repl.state :refer [system]] + + [clojure.tools.namespace.repl :refer [refresh refresh-all disable-reload!]] + [clojure.repl :refer [apropos dir doc find-doc pst source]] + [clojure.test :refer [run-tests run-all-tests]] + [clojure.pprint :refer [pprint]] + [clojure.reflect :refer [reflect]])) + +(disable-reload! (find-ns 'integrant.core)) + +(integrant.repl/set-prep! (constantly (config {:db-server {:host "localhost" :port 28015} + :http-port 3449}))) |