View gist:969a333d0d71b7b78884825fd68502fd
[org.hornetq/hornetq-core-client "2.4.7.Final"]
[com.h2database/h2 "1.3.171"]
[org.apache.httpcomponents/httpclient "4.5.2" :exclusions [[commons-logging]]]
[org.hornetq/hornetq-commons "2.4.7.Final"]
[org.clojure/tools.cli "0.2.2" :exclusions [[org.clojure/clojure]]]
[org.apache.tomcat/tomcat-juli "7.0.27"]
[net.spy/spymemcached "2.11.4"]
[io.netty/netty-all "4.0.13.Final"]
[org.codehaus.janino/commons-compiler-jdk "2.6.1"]
[org.apache.tomcat/tomcat-jdbc "7.0.27" :exclusions [[commons-logging]]]
View gist:5b4cfb58095fd2767e1990cff0354166
[ch.qos.logback/logback-classic "1.1.7" :exclusions [[org.slf4j/slf4j-api]]]
[ch.qos.logback/logback-core "1.1.7"]
[cheshire "5.5.0" :exclusions [[com.fasterxml.jackson.core/jackson-core]]]
[clj-time "0.9.0"]
[clojure-complete "0.2.4" :exclusions [[org.clojure/clojure]]]
[com.cognitect/transit-clj "0.8.285"]
[com.cognitect/transit-java "0.8.311"]
[com.datomic/datomic-lucene-core "3.3.0"]
[com.datomic/datomic-pro "0.9.5385"]
[com.fasterxml.jackson.core/jackson-core "2.3.2"]
View gist:abbfce956dae48ecec8586775d7ed6d9
[ch.qos.logback/logback-classic "1.1.7" :exclusions [[org.slf4j/slf4j-api]]]
[ch.qos.logback/logback-core "1.1.7"]
[cheshire "5.5.0" :exclusions [[com.fasterxml.jackson.core/jackson-core]]]
[clj-time "0.9.0"]
[clojure-complete "0.2.4" :exclusions [[org.clojure/clojure]]]
[com.cognitect/transit-clj "0.8.285"]
[com.cognitect/transit-java "0.8.311"]
[com.fasterxml.jackson.core/jackson-core "2.3.2"]
[com.fasterxml.jackson.dataformat/jackson-dataformat-cbor "2.5.3"]
[com.fasterxml.jackson.dataformat/jackson-dataformat-smile "2.5.3"]
View gist:13c361cae1faf06f2c9f265dd3d4c525
[ch.qos.logback/logback-classic "1.1.7" :exclusions [[org.slf4j/slf4j-api]]]
[ch.qos.logback/logback-core "1.1.7"]
[clojure-complete "0.2.4" :exclusions [[org.clojure/clojure]]]
[com.datomic/datomic-pro "0.9.5385"]
[com.datomic/datomic-lucene-core "3.3.0"]
[com.google.guava/guava "18.0"]
[com.h2database/h2 "1.3.171"]
[net.spy/spymemcached "2.11.4"]
[org.apache.httpcomponents/httpclient "4.5.2" :exclusions [[commons-logging]]]
[org.apache.httpcomponents/httpcore "4.4.4"]
View gist:c6de149131718bfde9e8c35338c3817d
[ch.qos.logback/logback-classic "1.1.7" :exclusions [[org.slf4j/slf4j-api]]]
[ch.qos.logback/logback-core "1.1.7"]
[clojure-complete "0.2.4" :exclusions [[org.clojure/clojure]]]
[io.pedestal/pedestal.jetty "0.5.0"]
[javax.servlet/javax.servlet-api "3.1.0"]
[org.eclipse.jetty.alpn/alpn-api "1.1.2.v20150522"]
[org.eclipse.jetty.http2/http2-server "9.3.8.v20160314"]
[org.eclipse.jetty.http2/http2-common "9.3.8.v20160314"]
[org.eclipse.jetty.http2/http2-hpack "9.3.8.v20160314"]
[org.eclipse.jetty.websocket/websocket-api "9.3.8.v20160314"]
View project.clj
(defproject just-test "0.0.1-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[io.pedestal/pedestal.service "0.4.2-SNAPSHOT"]
;; Remove this line and uncomment one of the next lines to
;; use Immutant or Tomcat instead of Jetty:
View service.clj
(ns hello-datomic-041.service
(:require [io.pedestal.http :as http]
[io.pedestal.http.body-params :as body-params]
[io.pedestal.http.route.definition :refer [defroutes]]
[ring.util.response :as ring-resp]
[datomic.api :as d]))
(def uri "datomic:dev://localhost:4334/5745c8fc-6d57-4184-972a-eef798243572")
(def schema-tx
View core.clj
(ns simple-ring.core
(:require [datomic.api :as d]))
(def uri "datomic:dev://localhost:4334/5745c8fc-6d57-4184-972a-eef798243572")
(def schema-tx
[{:db/id #db/id[:db.part/db]
:db/ident :hello/color
:db/valueType :db.type/string
:db/cardinality :db.cardinality/one
View project.clj
(defproject io.pedestal/pedestal.immutant "0.4.2-SNAPSHOT"
:description "Embedded Immutant adapter for Pedestal HTTP Service"
:url "https://github.com/pedestal/pedestal"
:scm "https://github.com/pedestal/pedestal"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[potemkin "0.4.3"]
#_[org.immutant/core "2.1.4"]
View project.clj
(defproject io.pedestal/pedestal.immutant "0.4.2-SNAPSHOT"
:description "Embedded Immutant adapter for Pedestal HTTP Service"
:url "https://github.com/pedestal/pedestal"
:scm "https://github.com/pedestal/pedestal"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[potemkin "0.4.2"]
[org.immutant/web "2.1.4" :exclusions [org.jboss.logging/jboss-logging]]]
:min-lein-version "2.0.0"