Skip to content

Docker support added #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 112 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
b736850
Merge pull request #17 from xenomorph1096/master
rajatjain1997 Jun 19, 2017
505cef1
Added files for rcs.clj, workspace.clj and files.clj are now dependen…
rajatjain1997 Jun 19, 2017
26b68c0
Workspaces Routes Ready
Shivankit-Gaind Jun 19, 2017
a21dbdd
Added basic rcs functions
xenomorph1096 Jun 19, 2017
9c98def
Workspaces Some Resources Ready
Shivankit-Gaind Jun 19, 2017
d2e7b1c
Additional Resources Added
Shivankit-Gaind Jun 19, 2017
efc5ee4
Additional Resources Added
Shivankit-Gaind Jun 19, 2017
6d73f81
Additional Resources Added
Shivankit-Gaind Jun 19, 2017
b522a90
Additional Resources Added
Shivankit-Gaind Jun 19, 2017
d247d24
Additional Resources Added
Shivankit-Gaind Jun 19, 2017
00a8bb3
Additional Resources Added
Shivankit-Gaind Jun 19, 2017
e56c06f
Additional Resources Added
Shivankit-Gaind Jun 19, 2017
7cab2d1
Merge pull request #18 from xenomorph1096/master
rajatjain1997 Jun 20, 2017
9ebb93b
Added uuidEnabled field
RohitG28 Jun 20, 2017
d12df23
Merge branch 'master' of https://github.com/rajatjain1997/gnowdb
RohitG28 Jun 20, 2017
c58f774
Minor change in core.clj
RohitG28 Jun 20, 2017
386dec6
Slight Changes
Shivankit-Gaind Jun 20, 2017
774cae2
Slight Changes
Shivankit-Gaind Jun 20, 2017
000be91
Added documentation to Workspaces.clj
rajatjain1997 Jun 20, 2017
51765be
Merge Conflicts removed
rajatjain1997 Jun 20, 2017
629daf1
-Resolved a bug in gneo.clj
RohitG28 Jun 20, 2017
4fc8a7d
Slight Changes
Shivankit-Gaind Jun 20, 2017
adbdabd
New Resource Added
Shivankit-Gaind Jun 20, 2017
5584764
-Changed restoreResource function in workspaces.clj
RohitG28 Jun 20, 2017
49e81c2
Files Routes Added
Shivankit-Gaind Jun 20, 2017
73c33c4
Files Resources Added
Shivankit-Gaind Jun 20, 2017
6b7e2e4
Added documentation for workspaces.clj functions
RohitG28 Jun 20, 2017
66b639e
Minor bug fix in workspaces.clj
RohitG28 Jun 20, 2017
1d5b3e1
Added a few testcases for gneo.clj
RohitG28 Jun 20, 2017
b7ef58d
Added a few Test-cases
Prateek0406 Jun 20, 2017
5314ef5
Merge branch 'master' of https://github.com/rajatjain1997/gnowdb
Prateek0406 Jun 20, 2017
b928f21
The levels of data directory used to compute the path for file storag…
RohitG28 Jun 20, 2017
1de8c0f
Fixed a bug
Prateek0406 Jun 21, 2017
53e2bc3
Added documentation for the functions in files.clj
RohitG28 Jun 21, 2017
72d6e81
Merge branch 'master' of https://github.com/rajatjain1997/gnowdb
RohitG28 Jun 21, 2017
64f641a
Merge https://github.com/xenomorph1096/gnowdb
gnowgi Jun 21, 2017
ff492be
Merge https://github.com/rajatjain1997/gnowdb
gnowgi Jun 21, 2017
1d98939
Optimized Performance
rajatjain1997 Jun 22, 2017
2e9a54e
Merge branch 'master' of https://github.com/rajatjain1997/gnowdb
rajatjain1997 Jun 22, 2017
8ce1a9f
Finished basic implementation of rcs. rcs will now be applied to NBH
xenomorph1096 Jun 22, 2017
7429667
Aggregator now has state
rajatjain1997 Jun 23, 2017
58d4566
Merge github.com:rajatjain1997/gnowdb
xenomorph1096 Jun 25, 2017
6d9b19a
Changed input method for labels in gneo from string to collection of …
xenomorph1096 Jun 25, 2017
6ae89f4
Changed calls to gneo in all relevant files i can think of, including…
xenomorph1096 Jun 25, 2017
a185259
Changed gneo/getNBH and gneo/getNode(s)ByUUID, to accept a list of UU…
xenomorph1096 Jun 26, 2017
19df9e2
Changed getNBH, getNodesByUUID, getInRels to be faster
xenomorph1096 Jun 26, 2017
42d47f9
Merge pull request #21 from xenomorph1096/master
rajatjain1997 Jun 27, 2017
c78a341
Added a few testcases for workspaces.clj
RohitG28 Jun 27, 2017
1a93e23
Added a few testcases for workspaces.clj
RohitG28 Jun 27, 2017
6eff913
Added new test functions.
Prateek0406 Jun 27, 2017
ffacf87
Added new test functions.
Prateek0406 Jun 27, 2017
4b177e6
Authentication
Shivankit-Gaind Jun 29, 2017
4df20a3
Added RCS locks.
xenomorph1096 Jun 29, 2017
e76e5cf
Merge github.com:rajatjain1997/gnowdb
xenomorph1096 Jun 29, 2017
32819ce
Fixed functions in workspaces and gneo
rajatjain1997 Jun 30, 2017
892ed94
Merge branch 'gneo-remake' of https://github.com/rajatjain1997/gnowdb…
rajatjain1997 Jun 30, 2017
ad483c9
Merge pull request #22 from rajatjain1997/gneo-remake
rajatjain1997 Jun 30, 2017
188c94a
Added automatic RCS in gdriver. Also changed namespaces around to fix…
xenomorph1096 Jun 30, 2017
9fdbd9d
Merge github.com:rajatjain1997/gnowdb
xenomorph1096 Jun 30, 2017
8c98fa6
Added grouping of uuids with common labels for optimizing rcs
xenomorph1096 Jun 30, 2017
668a108
Added RCS auto parameters to queries in gneo, added readback for rcsE…
xenomorph1096 Jun 30, 2017
a6c77a3
Merge https://github.com/xenomorph1096/gnowdb
gnowgi Jul 1, 2017
92cd16e
Added functions in gneo to edit/delete Class instances. Also added cl…
xenomorph1096 Jul 2, 2017
69d80b4
Reverted to old gdriver.clj, Cant do rcs without commiting
xenomorph1096 Jul 3, 2017
6165611
Fixed chicken-egg problem for rcs calls and transaction commits.
xenomorph1096 Jul 4, 2017
dbaf2de
-Added exception files
RohitG28 Jul 6, 2017
8b2ef27
Added exception files
RohitG28 Jul 6, 2017
acf49ab
Resolved merge conflict
RohitG28 Jul 6, 2017
a3869fd
Merge https://github.com/xenomorph1096/gnowdb
gnowgi Jul 7, 2017
661024a
Added grcs_revert namespace, that reverts a node's NBH to an older rc…
xenomorph1096 Jul 8, 2017
c886d23
Merge https://github.com/xenomorph1096/gnowdb
gnowgi Jul 8, 2017
597707b
Authentication
Shivankit-Gaind Jul 9, 2017
242051c
Added functionality to move deleted nodes to :rcs-bkp-dir
xenomorph1096 Jul 9, 2017
3d38e2b
Added grcs_revert/restoreNode to restore deleted nodes to neo4j
xenomorph1096 Jul 9, 2017
5edf609
Fixed some test cases to account for rcs UUIDs being returned.
xenomorph1096 Jul 10, 2017
871df2f
Merge github.com:rajatjain1997/gnowdb
xenomorph1096 Jul 11, 2017
d37c04a
Fixed workspaces_test.clj
Prateek0406 Jul 11, 2017
2ef11fe
Added some grcs, grcs_locks test cases
xenomorph1096 Jul 11, 2017
68e6880
Merge github.com:rajatjain1997/gnowdb
xenomorph1096 Jul 11, 2017
35adc8a
Added explicit :execute? requirement to gneo/deleteNodes and gneo/det…
xenomorph1096 Jul 11, 2017
85d24ae
Added test cases for gnowdb.neo4j.gqb
xenomorph1096 Jul 11, 2017
641b12d
Authorization Working
Shivankit-Gaind Jul 12, 2017
327181f
Login Added
Shivankit-Gaind Jul 12, 2017
19a5f59
Login Working
Shivankit-Gaind Jul 12, 2017
168eda3
Integrated exceptions in test-cases
Prateek0406 Jul 12, 2017
bfc28cf
Merge branch 'master' of https://github.com/rajatjain1997/gnowdb
Prateek0406 Jul 12, 2017
55c8d1d
Update to gdriver UUID collector
xenomorph1096 Jul 12, 2017
9460e84
Instructions for using API added
Shivankit-Gaind Jul 12, 2017
f80c25d
Merge https://github.com/xenomorph1096/gnowdb
gnowgi Jul 14, 2017
e19be65
Added prettyPrint to rcs commits, so that diffs are more effective.
xenomorph1096 Jul 14, 2017
cdf6b4d
Merge branch 'master' of github.com:xenomorph1096/gnowdb
xenomorph1096 Jul 14, 2017
5ee7b32
Fixed constraint revsion control by using existing transaction object.
xenomorph1096 Jul 15, 2017
8c1d734
Merge https://github.com/rajatjain1997/gnowdb
xenomorph1096 Jul 22, 2017
3e57f40
Added date checkout method for rcs files
xenomorph1096 Jul 22, 2017
fa6531a
Change in backing up nodes. Nodes deleted from DB will not be moved t…
xenomorph1096 Jul 25, 2017
c5b2da5
Added functions to revert a subgraph.
xenomorph1096 Jul 30, 2017
0ec8112
Made changes to revertSubGraph. Bugs though. Some relations are not c…
xenomorph1096 Aug 5, 2017
52a7df9
Indicated mandatory arguments in functions of gneo.clj
xenomorph1096 Aug 29, 2018
5080415
Changed clojure dependency to 1.9.0
xenomorph1096 Sep 24, 2018
251c7a8
Modified keyword arguments throughout project to accommodate for new …
xenomorph1096 Sep 25, 2018
06d30bf
Updated gnowdb.neo4j.queryAggregator for future compatibility with RE…
xenomorph1096 Sep 27, 2018
22b231e
Fixed error: SLF4J: Failed to load class "org.slf4j.impl.StaticLogger…
mrunal4 Oct 4, 2018
89850b2
Wrote Dockerfile and docker-compose.yml for gnowdb project
mrunal4 Oct 4, 2018
2d9c8ea
Fixed error (also needed org.slf4j/slf4j-log4j12 "1.6.1"): SLF4J: Fai…
mrunal4 Oct 4, 2018
944939d
Corrected repo for gnowdb project
mrunal4 Oct 4, 2018
5984ec9
Merge https://gitlab.com/Ev3ryDay1sL3gDay/gnowdb
mrunal4 Oct 4, 2018
53831e4
Bug fixed : Bug was "https://github.com/pandeiro/docker-lein/blob/mas…
mrunal4 Oct 4, 2018
f3c152f
Bug fixed : Bug was "https://github.com/pandeiro/docker-lein/blob/mas…
mrunal4 Oct 4, 2018
bfa5a1a
Dockerfile: replaced repl with deps as we need to download dependenic…
mrunal4 Oct 5, 2018
2c45737
Dockerfile - Added ";" for termination of bash/sh command execution a…
mrunal4 Oct 5, 2018
02a3e6e
Dockerfile - Added install command for rcs
mrunal4 Oct 7, 2018
c2705f6
Dockerfile - Changed server to server-headless to remove warning as s…
mrunal4 Oct 7, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pom.xml.asc
/src/gnowdb/neo4j/gconf.clj
/neo4j/data/
backups/
/rcs-repo/
.lein-deps-sum
.lein-repl-history
.lein-plugins/
Expand Down
72 changes: 72 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
#--------------------------------------------------------------------#
# Dockerfile for creating gnowdb docker image
# File name : Dockerfile
# File version : 1.0
# Created by : Mr. Mrunal M. Nachankar
# Created on : Thu Oct 4 15:12:01 IST 2018
# Modified by : None
# Modified on : Not yet
# Description : This file is used for creating gnowdb docker image.
# Important : 1. It is based on clojure - 1.9.0.384 image (Exact base docker image- clojure:tools-deps-1.9.0.394-alpine). This image is based on alpine OS.
# 2. create "/usr/src/app" for using it as workplace
# 3. Install lein app /engine
# 4. Install git
# 5. git clone gnowdb directory
# 6. Check for existence of files after cloning
# 7. Trigger command : "lein repl". This will take time as it will download dependenices
# 8. Expose 3000 port to render api call outputs in web browser
# 9. Change the working directory as "/usr/src/app/gnowdb"
# 4. Start lein ring server
# File version : 2.0
# Modified by : Mr. Mrunal M. Nachankar
# Modified on : Fri Oct 5 02:05:28 IST 2018
# v2.0 changes : 1. changed lein repo becuase of error (Ref - https://github.com/pandeiro/docker-lein/blob/master/Dockerfile)
# 1.1 on terminal "WARNING: Ignoring https://apkproxy.herokuapp.com/sgerrand/alpine-pkg-leiningen/x86_64/APKINDEX.tar.gz: IO ERROR"
# 1.2 on web url "https://apkproxy.herokuapp.com/sgerrand/alpine-pkg-leiningen/x86_64/APKINDEX.tar.gz:" - "GET https://api.github.com/repos/sgerrand/alpine-pkg-leiningen/releases/latest: 403 API rate limit exceeded for 54.161.227.147. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.); rate reset in 9m11.102348936s"
# File version : 3.0
# Modified by : Mr. Mrunal M. Nachankar
# Modified on : Fri Oct 5 23:56:57 IST 2018
# v3.0 changes : 1. Removed unwanted blank line
# 2. Removed unnecessary cd command
# 3. As we just need to download the dependenices, I am usng "lein deps" instead of "lein repl"
# 3. For using custom config(gconf.clj), Trying to mount it via volume (in docker-compose.yml). If file is present in required directory, just replace it with actual file (in Dockerfile). Once the changes are done, restart the container to make it effective."
# File version : 3.1
# Modified by : Mr. Mrunal M. Nachankar
# Modified on : Sat Oct 6 01:36:48 IST 2018
# v3.1 changes : 1. Added ";" for termination of bash/sh command execution and added print statement incase of file found.
# File version : 3.2
# Modified by : Mr. Mrunal M. Nachankar
# Modified on : Sun Oct 7 11:25:09 IST 2018
# v3.2 changes : 1. Added install command for rcs.
# File version : 3.3
# Modified by : Mr. Mrunal M. Nachankar
# Modified on : Sun Oct 7 14:20:09 IST 2018
# v3.3 changes : Changed server to server-headless to remove warning as suggested by Surrendra
#--------------------------------------------------------------------#

FROM clojure:tools-deps-1.9.0.394-alpine

MAINTAINER [email protected]

ENV LEIN_REPO=https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
ENV LEIN_ROOT=true
ENV GNOWDB_REPO=https://github.com/mrunal4/gnowdb

RUN mkdir -p /usr/src/app \
&& cd /usr/src/app \
&& wget -q -O /usr/bin/lein ${LEIN_REPO} \
&& chmod +x /usr/bin/lein \
&& apk add rcs --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ --allow-untrusted --no-cache \
&& apk add --no-cache git \
&& git clone ${GNOWDB_REPO} \
&& ls -ltr gnowdb \
&& cd gnowdb \
&& lein deps

EXPOSE 3000

WORKDIR /usr/src/app/gnowdb

ENTRYPOINT if [ -f /root/gnowdb_settings/gconf.clj ]; then echo "File found, hence copying the file gconf.clj"; cp -av /root/gnowdb_settings/gconf.clj /usr/src/app/gnowdb/src/gnowdb/neo4j; else echo "File not found"; fi \
&& cd /usr/src/app/gnowdb \
&& lein ring server-headless
114 changes: 114 additions & 0 deletions Instructions.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
The GnowDB features are exposed via REST API

To set up the server on your system and use the GnowDB features, follow the steps:

Clone the directory gnowdb on your system

Go to the directory 'gnowdb'

Type 'lein ring server' on the command line to start the server.

The server will start on 'localhost:xxxx' where xxxx is the port number

Go to 'localhost:xxxx/login' to login either as a user or an admin. There are certain features which only need to identify the username and password supplied in the POST request, whereas certain features require authorization as a 'user' or an 'admin'.

To use the api through command line, we make use of curl. Here is a sample curl command to login:

curl -H "Content-Type: application/json" -X POST -d '{"username":"a","password":"abc"}' --cookie-jar ./cookies.txt localhost:3000/login -i

This will return:

HTTP/1.1 303 See Other
Date: Wed, 12 Jul 2017 17:51:16 GMT
Location: /api
Set-Cookie: ring-session=ba99d3f6-b0e5-4b68-96a2-0a77e8eea404;Path=/;HttpOnly
Content-Length: 0
Server: Jetty(7.6.8.v20121106)

The login form expects POSTing a map with keys :username and :password as shown. --cookie-jar will help in storing the session as a cookie in cookies.txt.

'Location: /api' in the response means it's redirecting you to the welcome page of gnowdb api.

You can check by typing:

curl -X GET localhost:3000/api -i

Response:

HTTP/1.1 200 OK
Date: Wed, 12 Jul 2017 17:54:03 GMT
Content-Type: text/html;charset=UTF-8
Content-Length: 21
Server: Jetty(7.6.8.v20121106)

WELCOME TO GNOWDB API


Now, you can test whether you are a user or an admin using the sample uri's provided as below:

curl -X GET --cookie ./cookies.txt localhost:3000/role-user -i

Response:

HTTP/1.1 200 OK
Date: Wed, 12 Jul 2017 17:55:46 GMT
Content-Type: text/html;charset=UTF-8
Content-Length: 14
Server: Jetty(7.6.8.v20121106)

You're a user!

curl -X GET --cookie ./cookies.txt localhost:3000/role-admin -i

Response:

HTTP/1.1 403 Forbidden
Date: Wed, 12 Jul 2017 17:56:38 GMT
Content-Length: 47
Server: Jetty(7.6.8.v20121106)

Sorry, you do not have access to this resource.

The below url is to check if you are authenticated or not, and doesn't put restriction on your role.

curl -X GET --cookie ./cookies.txt localhost:3000/requires-authentication -i

Response:

HTTP/1.1 200 OK
Date: Wed, 12 Jul 2017 17:57:26 GMT
Content-Type: text/html;charset=UTF-8
Content-Length: 26
Server: Jetty(7.6.8.v20121106)

Thanks for authenticating!

Now, you can access the GnowDB functions as per the access given to you as a user or an admin.

You can logout as:

HTTP/1.1 302 Found
Date: Wed, 12 Jul 2017 18:00:00 GMT
Location: /api
Content-Length: 0
Server: Jetty(7.6.8.v20121106)

This is redirectiong the user to the welcome page for the api : localhost:3000/api

Now if you try to authenticate or authorize it will redirect you to the login page until you start a new ring login session

curl -X GET --cookie ./cookies.txt localhost:3000/requires-authentication -i

Response:

HTTP/1.1 302 Found
Date: Wed, 12 Jul 2017 18:01:32 GMT
Location: http://localhost:3000/login
Content-Length: 0
Server: Jetty(7.6.8.v20121106)






25 changes: 25 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: "3"
services:
gnowdb:
build: ./
image: gnowdb:v1
container_name: gnowdbc
links:
- neo4j:neo4jc
ports:
- 3000:3000
volumes:
- /tmp/gnowdb_data/gnowdb_settings:/root/gnowdb_settings
# - /tmp/gnowdb/data:/usr/src/app

neo4j:
image: neo4j:3.4.7-enterprise
container_name: neo4jc
ports:
- 7473:7473 #https
- 7474:7474 #http
- 7687:7687 #bolt
environment:
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
# volumes:
# - /tmp/neo4j/data:/data
10 changes: 5 additions & 5 deletions neo4j/conf/neo4j.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
wrapper.java.additional=-Dneo4j.ext.udc.source=docker
ha.host.data=e4adfd7a2b11:6001
ha.host.coordination=e4adfd7a2b11:5001
ha.host.data=88cd236c668d:6001
ha.host.coordination=88cd236c668d:5001
dbms.tx_log.rotation.retention.policy=100M size
dbms.security.auth_enabled=false
dbms.memory.pagecache.size=512M
Expand All @@ -12,11 +12,11 @@ dbms.connector.https.listen_address=0.0.0.0:7473
dbms.connector.http.listen_address=0.0.0.0:7474
dbms.connector.bolt.listen_address=0.0.0.0:7687
causal_clustering.transaction_listen_address=0.0.0.0:6000
causal_clustering.transaction_advertised_address=e4adfd7a2b11:6000
causal_clustering.transaction_advertised_address=88cd236c668d:6000
causal_clustering.raft_listen_address=0.0.0.0:7000
causal_clustering.raft_advertised_address=e4adfd7a2b11:7000
causal_clustering.raft_advertised_address=88cd236c668d:7000
causal_clustering.discovery_listen_address=0.0.0.0:5000
causal_clustering.discovery_advertised_address=e4adfd7a2b11:5000
causal_clustering.discovery_advertised_address=88cd236c668d:5000
dbms.security.procedures.unrestricted=apoc.*
apoc.export.file.enabled=true
apoc.import.file.enabled=true
31 changes: 17 additions & 14 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,32 @@
:license {:name "GNU AFFERO GENERAL PUBLIC LICENSE Version 3"
:url "https://www.gnu.org/licenses/agpl.txt"}
:dependencies [
[org.clojure/clojure "1.8.0"]
[org.clojure/clojure "1.9.0"]
[org.neo4j.driver/neo4j-java-driver "1.3.0"]
[compojure "1.3.4"]
[ring-server "0.3.1"]
[ring/ring-defaults "0.3.0"]
[compojure "1.3.4"]
[ring-server "0.5.0"]
[ring/ring-defaults "0.3.2"]
[ring/ring-json "0.4.0"]
[liberator "0.13"]
[cheshire "5.2.0"]
[async-watch "0.1.1"]
[digest "1.4.5"] ;;for hashing
[liberator "0.15.2"]
[com.cemerick/friend "0.2.3"] ;For Authentication
[cheshire "5.8.1"]
[async-watch "0.1.1"]
[digest "1.4.8"] ;;for hashing
[org.clojure/math.combinatorics "0.1.4"] ;;for nth permutation
[clj-fuzzy "0.4.0"] ;;for levenshtein distance
[com.novemberain/pantomime "2.9.0"];;to extract mime types
[clj-fuzzy "0.4.1"] ;;for levenshtein distance
[com.novemberain/pantomime "2.10.0"];;to extract mime types
[progrock "0.1.2"] ;;For progress bars
[org.slf4j/slf4j-api "1.6.1"] ;; Mrunal - Thu Oct 4 22:50:21 IST 2018 - To remove 'SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".' error - Ref(https://stackoverflow.com/questions/7421612/slf4j-failed-to-load-class-org-slf4j-impl-staticloggerbinder and https://stackoverflow.com/questions/24956310/clojure-log4j-1-2-16-slf4j-1-5-6-clashing-with-clj-tika-and-ring-middleware-l)
[org.slf4j/slf4j-log4j12 "1.6.1"] ;; Mrunal - Thu Oct 4 22:50:21 IST 2018 - To remove 'SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".' error - Ref(https://stackoverflow.com/questions/7421612/slf4j-failed-to-load-class-org-slf4j-impl-staticloggerbinder and https://stackoverflow.com/questions/24956310/clojure-log4j-1-2-16-slf4j-1-5-6-clashing-with-clj-tika-and-ring-middleware-l)
]



:main ^:skip-aot gnowdb.core
:target-path "target/%s"
:profiles {:uberjar {:aot :all}}
:plugins [[lein-codox "0.10.3"] [cider/cider-nrepl "0.15.0-SNAPSHOT"] [lein-ring "0.8.12"]]
:ring { :handler gnowdb.handler/app
:init gnowdb.handler/init
:destroy gnowdb.handler/destroy} )
:plugins [[lein-codox "0.10.3"] [cider/cider-nrepl "0.18.0"] [lein-ring "0.12.4"]]
:ring { :handler gnowdb.handler/app
:init gnowdb.handler/init
:destroy gnowdb.handler/destroy} )

Loading