neo4j-admin 0.1.0-java → 0.2.0-java
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -1
- data/README.rdoc +9 -0
- data/lib/neo4j-admin.rb +1 -42
- data/lib/neo4j-admin/jars/jackson-mapper-asl-1.9.7.jar +0 -0
- data/lib/neo4j-admin/jars/jsr311-api-1.1.2.r612.jar +0 -0
- data/lib/neo4j-admin/jars/{neo4j-server-1.7-static-web.jar → neo4j-server-1.8.RC1-static-web.jar} +0 -0
- data/lib/neo4j-admin/jars/neo4j-server-1.8.RC1.jar +0 -0
- data/lib/neo4j-admin/jars/{slf4j-api-1.6.1.jar → slf4j-api-1.6.2.jar} +0 -0
- data/lib/test.rb +4 -2
- data/neo4j-admin.gemspec +2 -1
- metadata +160 -85
- data/lib/neo4j-admin/jars/jackson-mapper-asl-1.8.3.jar +0 -0
- data/lib/neo4j-admin/jars/jsr311-api-1.1.1.jar +0 -0
- data/lib/neo4j-admin/jars/neo4j-server-1.7.jar +0 -0
data/Gemfile
CHANGED
data/README.rdoc
CHANGED
@@ -19,6 +19,15 @@ In your config/application.rb:
|
|
19
19
|
|
20
20
|
This will start the neo4j server at http://localhost:7474 using the same database instance as your rails app.
|
21
21
|
|
22
|
+
For a complete example, see the test/myapp folder
|
23
|
+
|
24
|
+
|
25
|
+
== Known Issues
|
26
|
+
|
27
|
+
The Cypher Console does not work on JRuby 1.7.x because a missmatch of JARs (jline.Terminal seems to be used by both JRuby and Neo4j)
|
28
|
+
|
29
|
+
java.lang.IncompatibleClassChangeError: Found interface jline.Terminal, but class was expected
|
30
|
+
|
22
31
|
== Todo
|
23
32
|
|
24
33
|
I also want it to work standalone:
|
data/lib/neo4j-admin.rb
CHANGED
@@ -1,42 +1 @@
|
|
1
|
-
|
2
|
-
require 'neo4j-admin/jars/asm-3.1.jar'
|
3
|
-
require 'neo4j-admin/jars/asm-analysis-3.2.jar'
|
4
|
-
require 'neo4j-admin/jars/asm-commons-3.2.jar'
|
5
|
-
require 'neo4j-admin/jars/asm-tree-3.2.jar'
|
6
|
-
require 'neo4j-admin/jars/asm-util-3.2.jar'
|
7
|
-
require 'neo4j-admin/jars/bcprov-jdk16-140.jar'
|
8
|
-
require 'neo4j-admin/jars/blueprints-core-1.2.jar'
|
9
|
-
require 'neo4j-admin/jars/blueprints-neo4j-graph-1.2.jar'
|
10
|
-
require 'neo4j-admin/jars/commons-beanutils-1.8.0.jar'
|
11
|
-
require 'neo4j-admin/jars/commons-beanutils-core-1.8.0.jar'
|
12
|
-
require 'neo4j-admin/jars/commons-collections-3.2.1.jar'
|
13
|
-
require 'neo4j-admin/jars/commons-configuration-1.6.jar'
|
14
|
-
require 'neo4j-admin/jars/commons-digester-1.8.1.jar'
|
15
|
-
require 'neo4j-admin/jars/commons-io-1.4.jar'
|
16
|
-
require 'neo4j-admin/jars/commons-lang-2.4.jar'
|
17
|
-
require 'neo4j-admin/jars/commons-logging-1.1.1.jar'
|
18
|
-
require 'neo4j-admin/jars/gremlin-groovy-1.5.jar'
|
19
|
-
require 'neo4j-admin/jars/gremlin-java-1.5.jar'
|
20
|
-
require 'neo4j-admin/jars/groovy-1.8.5.jar'
|
21
|
-
require 'neo4j-admin/jars/jackson-core-asl-1.8.3.jar'
|
22
|
-
require 'neo4j-admin/jars/jackson-jaxrs-1.8.3.jar'
|
23
|
-
require 'neo4j-admin/jars/jackson-mapper-asl-1.8.3.jar'
|
24
|
-
require 'neo4j-admin/jars/jansi-1.5.jar'
|
25
|
-
require 'neo4j-admin/jars/jcl-over-slf4j-1.6.1.jar'
|
26
|
-
require 'neo4j-admin/jars/jersey-core-1.9.jar'
|
27
|
-
require 'neo4j-admin/jars/jersey-multipart-1.9.jar'
|
28
|
-
require 'neo4j-admin/jars/jersey-server-1.9.jar'
|
29
|
-
require 'neo4j-admin/jars/jettison-1.3.jar'
|
30
|
-
require 'neo4j-admin/jars/jetty-6.1.25.jar'
|
31
|
-
require 'neo4j-admin/jars/jetty-util-6.1.25.jar'
|
32
|
-
require 'neo4j-admin/jars/jsr311-api-1.1.1.jar'
|
33
|
-
require 'neo4j-admin/jars/log4j-over-slf4j-1.6.1.jar'
|
34
|
-
require 'neo4j-admin/jars/mimepull-1.6.jar'
|
35
|
-
require 'neo4j-admin/jars/neo4j-server-1.7-static-web.jar'
|
36
|
-
require 'neo4j-admin/jars/neo4j-server-1.7.jar'
|
37
|
-
require 'neo4j-admin/jars/pipes-1.0.jar'
|
38
|
-
require 'neo4j-admin/jars/rrd4j-2.0.7.jar'
|
39
|
-
require 'neo4j-admin/jars/servlet-api-2.5-20081211.jar'
|
40
|
-
require 'neo4j-admin/jars/slf4j-api-1.6.1.jar'
|
41
|
-
require 'neo4j-admin/jars/slf4j-jdk14-1.6.1.jar'
|
42
|
-
require 'neo4j-admin/jars/stax-api-1.0.1.jar'
|
1
|
+
Dir["#{File.dirname(__FILE__)}/neo4j-admin/jars/**/*.jar"].each { |f| require f }
|
Binary file
|
Binary file
|
data/lib/neo4j-admin/jars/{neo4j-server-1.7-static-web.jar → neo4j-server-1.8.RC1-static-web.jar}
RENAMED
Binary file
|
Binary file
|
Binary file
|
data/lib/test.rb
CHANGED
@@ -11,10 +11,12 @@ puts "start server"
|
|
11
11
|
srv = org.neo4j.server.WrappingNeoServerBootstrapper.new(graphdb)
|
12
12
|
srv.start
|
13
13
|
puts "SLEEP"
|
14
|
-
|
14
|
+
while(true)
|
15
|
+
sleep(180)
|
16
|
+
end
|
15
17
|
puts "WAKE UP"
|
16
18
|
puts "Wait"
|
17
19
|
# The server is now running
|
18
20
|
# until we stop it:
|
19
21
|
srv.stop()
|
20
|
-
Neo4j.shutdown
|
22
|
+
Neo4j.shutdown
|
data/neo4j-admin.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "neo4j-admin"
|
3
|
-
s.version = '0.
|
3
|
+
s.version = '0.2.0'
|
4
4
|
s.platform = 'java'
|
5
5
|
s.required_ruby_version = ">= 1.8.7"
|
6
6
|
|
@@ -17,4 +17,5 @@ rails initialization is completed.
|
|
17
17
|
s.require_path = 'lib'
|
18
18
|
s.files = Dir.glob("{lib}/**/*") + %w(README.rdoc CHANGELOG Gemfile neo4j-admin.gemspec)
|
19
19
|
s.has_rdoc = false
|
20
|
+
s.add_dependency("neo4j-community", '>= 1.8.RC1', '< 1.9')
|
20
21
|
end
|
metadata
CHANGED
@@ -1,106 +1,181 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: neo4j-admin
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 0.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 0.2.0
|
6
6
|
platform: java
|
7
|
-
authors:
|
8
|
-
|
9
|
-
autorequire:
|
7
|
+
authors:
|
8
|
+
- Andreas Ronge
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
+
date: 2012-09-27 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: neo4j-community
|
16
|
+
version_requirements: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ! '>='
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 1.8.RC1
|
21
|
+
- - !binary |-
|
22
|
+
PA==
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: '1.9'
|
25
|
+
none: false
|
26
|
+
requirement: !ruby/object:Gem::Requirement
|
27
|
+
requirements:
|
28
|
+
- - ! '>='
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: 1.8.RC1
|
31
|
+
- - !binary |-
|
32
|
+
PA==
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '1.9'
|
35
|
+
none: false
|
36
|
+
prerelease: false
|
37
|
+
type: :runtime
|
38
|
+
description: ! 'Loads all the jar files from the neo4j server. The neo4j-admin railtie
|
39
|
+
will start the neo4j server after all
|
12
40
|
|
13
|
-
date: 2012-05-07 00:00:00 Z
|
14
|
-
dependencies: []
|
15
|
-
|
16
|
-
description: |
|
17
|
-
Loads all the jar files from the neo4j server. The neo4j-admin railtie will start the neo4j server after all
|
18
41
|
rails initialization is completed.
|
19
42
|
|
43
|
+
'
|
20
44
|
email: andreas.ronge@gmail.com
|
21
45
|
executables: []
|
22
|
-
|
23
46
|
extensions: []
|
24
|
-
|
25
47
|
extra_rdoc_files: []
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
48
|
+
files:
|
49
|
+
- !binary |-
|
50
|
+
bGliL25lbzRqLWFkbWluLnJi
|
51
|
+
- !binary |-
|
52
|
+
bGliL3Rlc3QucmI=
|
53
|
+
- !binary |-
|
54
|
+
bGliL25lbzRqLWFkbWluL3JhaWx0aWUucmI=
|
55
|
+
- !binary |-
|
56
|
+
bGliL25lbzRqLWFkbWluL2phcnMvYW50bHItMi43LjcuamFy
|
57
|
+
- !binary |-
|
58
|
+
bGliL25lbzRqLWFkbWluL2phcnMvYXNtLTMuMS5qYXI=
|
59
|
+
- !binary |-
|
60
|
+
bGliL25lbzRqLWFkbWluL2phcnMvYXNtLWFuYWx5c2lzLTMuMi5qYXI=
|
61
|
+
- !binary |-
|
62
|
+
bGliL25lbzRqLWFkbWluL2phcnMvYXNtLWNvbW1vbnMtMy4yLmphcg==
|
63
|
+
- !binary |-
|
64
|
+
bGliL25lbzRqLWFkbWluL2phcnMvYXNtLXRyZWUtMy4yLmphcg==
|
65
|
+
- !binary |-
|
66
|
+
bGliL25lbzRqLWFkbWluL2phcnMvYXNtLXV0aWwtMy4yLmphcg==
|
67
|
+
- !binary |-
|
68
|
+
bGliL25lbzRqLWFkbWluL2phcnMvYmNwcm92LWpkazE2LTE0MC5qYXI=
|
69
|
+
- !binary |-
|
70
|
+
bGliL25lbzRqLWFkbWluL2phcnMvYmx1ZXByaW50cy1jb3JlLTEuMi5qYXI=
|
71
|
+
- !binary |-
|
72
|
+
bGliL25lbzRqLWFkbWluL2phcnMvYmx1ZXByaW50cy1uZW80ai1ncmFwaC0x
|
73
|
+
LjIuamFy
|
74
|
+
- !binary |-
|
75
|
+
bGliL25lbzRqLWFkbWluL2phcnMvY29tbW9ucy1iZWFudXRpbHMtMS44LjAu
|
76
|
+
amFy
|
77
|
+
- !binary |-
|
78
|
+
bGliL25lbzRqLWFkbWluL2phcnMvY29tbW9ucy1iZWFudXRpbHMtY29yZS0x
|
79
|
+
LjguMC5qYXI=
|
80
|
+
- !binary |-
|
81
|
+
bGliL25lbzRqLWFkbWluL2phcnMvY29tbW9ucy1jb2xsZWN0aW9ucy0zLjIu
|
82
|
+
MS5qYXI=
|
83
|
+
- !binary |-
|
84
|
+
bGliL25lbzRqLWFkbWluL2phcnMvY29tbW9ucy1jb25maWd1cmF0aW9uLTEu
|
85
|
+
Ni5qYXI=
|
86
|
+
- !binary |-
|
87
|
+
bGliL25lbzRqLWFkbWluL2phcnMvY29tbW9ucy1kaWdlc3Rlci0xLjguMS5q
|
88
|
+
YXI=
|
89
|
+
- !binary |-
|
90
|
+
bGliL25lbzRqLWFkbWluL2phcnMvY29tbW9ucy1pby0xLjQuamFy
|
91
|
+
- !binary |-
|
92
|
+
bGliL25lbzRqLWFkbWluL2phcnMvY29tbW9ucy1sYW5nLTIuNC5qYXI=
|
93
|
+
- !binary |-
|
94
|
+
bGliL25lbzRqLWFkbWluL2phcnMvY29tbW9ucy1sb2dnaW5nLTEuMS4xLmph
|
95
|
+
cg==
|
96
|
+
- !binary |-
|
97
|
+
bGliL25lbzRqLWFkbWluL2phcnMvZ3JlbWxpbi1ncm9vdnktMS41Lmphcg==
|
98
|
+
- !binary |-
|
99
|
+
bGliL25lbzRqLWFkbWluL2phcnMvZ3JlbWxpbi1qYXZhLTEuNS5qYXI=
|
100
|
+
- !binary |-
|
101
|
+
bGliL25lbzRqLWFkbWluL2phcnMvZ3Jvb3Z5LTEuOC41Lmphcg==
|
102
|
+
- !binary |-
|
103
|
+
bGliL25lbzRqLWFkbWluL2phcnMvamFja3Nvbi1jb3JlLWFzbC0xLjguMy5q
|
104
|
+
YXI=
|
105
|
+
- !binary |-
|
106
|
+
bGliL25lbzRqLWFkbWluL2phcnMvamFja3Nvbi1qYXhycy0xLjguMy5qYXI=
|
107
|
+
- !binary |-
|
108
|
+
bGliL25lbzRqLWFkbWluL2phcnMvamFja3Nvbi1tYXBwZXItYXNsLTEuOS43
|
109
|
+
Lmphcg==
|
110
|
+
- !binary |-
|
111
|
+
bGliL25lbzRqLWFkbWluL2phcnMvamFuc2ktMS41Lmphcg==
|
112
|
+
- !binary |-
|
113
|
+
bGliL25lbzRqLWFkbWluL2phcnMvamNsLW92ZXItc2xmNGotMS42LjEuamFy
|
114
|
+
- !binary |-
|
115
|
+
bGliL25lbzRqLWFkbWluL2phcnMvamVyc2V5LWNvcmUtMS45Lmphcg==
|
116
|
+
- !binary |-
|
117
|
+
bGliL25lbzRqLWFkbWluL2phcnMvamVyc2V5LW11bHRpcGFydC0xLjkuamFy
|
118
|
+
- !binary |-
|
119
|
+
bGliL25lbzRqLWFkbWluL2phcnMvamVyc2V5LXNlcnZlci0xLjkuamFy
|
120
|
+
- !binary |-
|
121
|
+
bGliL25lbzRqLWFkbWluL2phcnMvamV0dGlzb24tMS4zLmphcg==
|
122
|
+
- !binary |-
|
123
|
+
bGliL25lbzRqLWFkbWluL2phcnMvamV0dHktNi4xLjI1Lmphcg==
|
124
|
+
- !binary |-
|
125
|
+
bGliL25lbzRqLWFkbWluL2phcnMvamV0dHktdXRpbC02LjEuMjUuamFy
|
126
|
+
- !binary |-
|
127
|
+
bGliL25lbzRqLWFkbWluL2phcnMvanNyMzExLWFwaS0xLjEuMi5yNjEyLmph
|
128
|
+
cg==
|
129
|
+
- !binary |-
|
130
|
+
bGliL25lbzRqLWFkbWluL2phcnMvbG9nNGotb3Zlci1zbGY0ai0xLjYuMS5q
|
131
|
+
YXI=
|
132
|
+
- !binary |-
|
133
|
+
bGliL25lbzRqLWFkbWluL2phcnMvbWltZXB1bGwtMS42Lmphcg==
|
134
|
+
- !binary |-
|
135
|
+
bGliL25lbzRqLWFkbWluL2phcnMvbmVvNGotc2VydmVyLTEuOC5SQzEtc3Rh
|
136
|
+
dGljLXdlYi5qYXI=
|
137
|
+
- !binary |-
|
138
|
+
bGliL25lbzRqLWFkbWluL2phcnMvbmVvNGotc2VydmVyLTEuOC5SQzEuamFy
|
139
|
+
- !binary |-
|
140
|
+
bGliL25lbzRqLWFkbWluL2phcnMvcGlwZXMtMS4wLmphcg==
|
141
|
+
- !binary |-
|
142
|
+
bGliL25lbzRqLWFkbWluL2phcnMvcnJkNGotMi4wLjcuamFy
|
143
|
+
- !binary |-
|
144
|
+
bGliL25lbzRqLWFkbWluL2phcnMvc2VydmxldC1hcGktMi41LTIwMDgxMjEx
|
145
|
+
Lmphcg==
|
146
|
+
- !binary |-
|
147
|
+
bGliL25lbzRqLWFkbWluL2phcnMvc2xmNGotYXBpLTEuNi4yLmphcg==
|
148
|
+
- !binary |-
|
149
|
+
bGliL25lbzRqLWFkbWluL2phcnMvc2xmNGotamRrMTQtMS42LjEuamFy
|
150
|
+
- !binary |-
|
151
|
+
bGliL25lbzRqLWFkbWluL2phcnMvc3RheC1hcGktMS4wLjEuamFy
|
152
|
+
- README.rdoc
|
153
|
+
- CHANGELOG
|
154
|
+
- Gemfile
|
155
|
+
- neo4j-admin.gemspec
|
77
156
|
homepage: http://github.com/andreasronge/neo4j-admin/tree
|
78
157
|
licenses: []
|
79
|
-
|
80
|
-
post_install_message:
|
158
|
+
post_install_message:
|
81
159
|
rdoc_options: []
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
160
|
+
require_paths:
|
161
|
+
- lib
|
162
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ! '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 1.8.7
|
86
167
|
none: false
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
168
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - ! '>='
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: !binary |-
|
173
|
+
MA==
|
92
174
|
none: false
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: "0"
|
97
175
|
requirements: []
|
98
|
-
|
99
176
|
rubyforge_project: neo4j-admin
|
100
|
-
rubygems_version: 1.8.
|
101
|
-
signing_key:
|
177
|
+
rubygems_version: 1.8.24
|
178
|
+
signing_key:
|
102
179
|
specification_version: 3
|
103
180
|
summary: A mostly a development tool which makes neo4j server admin GUI made available for the embedded Neo4j.rb gem
|
104
181
|
test_files: []
|
105
|
-
|
106
|
-
has_rdoc: false
|
Binary file
|
Binary file
|
Binary file
|