logstash-input-neo4j 0.9.2-java → 2.0.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/NOTICE.TXT +5 -0
- data/README.md +5 -5
- data/lib/logstash/inputs/neo4j.rb +4 -0
- data/logstash-input-neo4j.gemspec +4 -4
- data/spec/inputs/neo4j-client_spec.rb +5 -7
- data/spec/inputs/neo4j_spec.rb +8 -2
- data/spec/spec_helper.rb +32 -1
- metadata +35 -115
- data/.gitignore +0 -44
- data/Rakefile +0 -24
- data/spec/fixtures/graph.db/active_tx_log +0 -1
- data/spec/fixtures/graph.db/neostore.id +0 -0
- data/spec/fixtures/graph.db/neostore.labeltokenstore.db +0 -0
- data/spec/fixtures/graph.db/neostore.labeltokenstore.db.id +0 -0
- data/spec/fixtures/graph.db/neostore.labeltokenstore.db.names +0 -0
- data/spec/fixtures/graph.db/neostore.labeltokenstore.db.names.id +0 -0
- data/spec/fixtures/graph.db/neostore.nodestore.db +0 -0
- data/spec/fixtures/graph.db/neostore.nodestore.db.id +0 -0
- data/spec/fixtures/graph.db/neostore.nodestore.db.labels +0 -0
- data/spec/fixtures/graph.db/neostore.nodestore.db.labels.id +0 -0
- data/spec/fixtures/graph.db/neostore.propertystore.db +0 -0
- data/spec/fixtures/graph.db/neostore.propertystore.db.arrays +0 -0
- data/spec/fixtures/graph.db/neostore.propertystore.db.arrays.id +0 -0
- data/spec/fixtures/graph.db/neostore.propertystore.db.id +0 -0
- data/spec/fixtures/graph.db/neostore.propertystore.db.index +0 -0
- data/spec/fixtures/graph.db/neostore.propertystore.db.index.id +0 -0
- data/spec/fixtures/graph.db/neostore.propertystore.db.index.keys +0 -0
- data/spec/fixtures/graph.db/neostore.propertystore.db.index.keys.id +0 -0
- data/spec/fixtures/graph.db/neostore.propertystore.db.strings +0 -0
- data/spec/fixtures/graph.db/neostore.propertystore.db.strings.id +0 -0
- data/spec/fixtures/graph.db/neostore.relationshipstore.db +0 -0
- data/spec/fixtures/graph.db/neostore.relationshipstore.db.id +0 -0
- data/spec/fixtures/graph.db/neostore.relationshiptypestore.db +0 -0
- data/spec/fixtures/graph.db/neostore.relationshiptypestore.db.id +0 -0
- data/spec/fixtures/graph.db/neostore.relationshiptypestore.db.names +0 -0
- data/spec/fixtures/graph.db/neostore.relationshiptypestore.db.names.id +0 -0
- data/spec/fixtures/graph.db/neostore.schemastore.db +0 -0
- data/spec/fixtures/graph.db/neostore.schemastore.db.id +0 -0
- data/spec/fixtures/graph.db/schema/label/lucene/_0.fdt +0 -0
- data/spec/fixtures/graph.db/schema/label/lucene/_0.fdx +0 -0
- data/spec/fixtures/graph.db/schema/label/lucene/_0.fnm +0 -1
- data/spec/fixtures/graph.db/schema/label/lucene/_0.frq +0 -0
- data/spec/fixtures/graph.db/schema/label/lucene/_0.nrm +0 -1
- data/spec/fixtures/graph.db/schema/label/lucene/_0.tii +0 -0
- data/spec/fixtures/graph.db/schema/label/lucene/_0.tis +0 -0
- data/spec/fixtures/graph.db/schema/label/lucene/segments.gen +0 -0
- data/spec/fixtures/graph.db/schema/label/lucene/segments_1 +0 -0
- data/spec/fixtures/graph.db/store_lock +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7acab107090c9375aa890f401e6f307b0ec33a39
|
4
|
+
data.tar.gz: 805211b5269a6f6c24872e0c85f111b1ec063f1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e1b8510c9d6721c4c53a5d633094c3871f46e86f1a3ea9336234a42674b7d4e2655225193b77b74fddcbb4109192bcac36cd673550db255832813071c91e8dc
|
7
|
+
data.tar.gz: 2f2a9fbd2e7284ba1d6663c3ed900b9cbf53f20b186a7d460e67dbdbb89cf7af9f3dd02da41cc4e489fa11bb4c05407e11644ac1a60a38d346c30706789af2c2
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,5 @@
|
|
1
|
+
## 2.0.0
|
2
|
+
- Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
|
3
|
+
instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
|
4
|
+
- Dependency on logstash-core update to 2.0
|
5
|
+
|
data/NOTICE.TXT
ADDED
data/README.md
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
# Logstash Plugin
|
2
2
|
|
3
|
-
This is a plugin for [Logstash](https://github.com/
|
3
|
+
This is a plugin for [Logstash](https://github.com/elastic/logstash).
|
4
4
|
|
5
5
|
It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.
|
6
6
|
|
7
7
|
## Documentation
|
8
8
|
|
9
|
-
Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one [central location](http://www.
|
9
|
+
Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one [central location](http://www.elastic.co/guide/en/logstash/current/).
|
10
10
|
|
11
11
|
- For formatting code or config example, you can use the asciidoc `[source,ruby]` directive
|
12
|
-
- For more asciidoc formatting tips, see the excellent reference here https://github.com/
|
12
|
+
- For more asciidoc formatting tips, see the excellent reference here https://github.com/elastic/docs#asciidoc-guide
|
13
13
|
|
14
14
|
## Need Help?
|
15
15
|
|
16
|
-
Need help? Try #logstash on freenode IRC or the logstash
|
16
|
+
Need help? Try #logstash on freenode IRC or the https://discuss.elastic.co/c/logstash discussion forum.
|
17
17
|
|
18
18
|
## Developing
|
19
19
|
|
@@ -83,4 +83,4 @@ Programming is not a required skill. Whatever you've seen about open source and
|
|
83
83
|
|
84
84
|
It is more important to the community that you are able to contribute.
|
85
85
|
|
86
|
-
For more information about contributing, see the [CONTRIBUTING](https://github.com/
|
86
|
+
For more information about contributing, see the [CONTRIBUTING](https://github.com/elastic/logstash/blob/master/CONTRIBUTING.md) file.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-input-neo4j'
|
4
|
-
s.version = '0.
|
4
|
+
s.version = '2.0.1'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Logstash Input for Neo4j"
|
7
7
|
s.description = "Output events to Neo4j"
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.require_paths = ["lib"]
|
12
12
|
|
13
13
|
# Files
|
14
|
-
s.files =
|
14
|
+
s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
|
15
15
|
|
16
16
|
# Tests
|
17
17
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
@@ -19,12 +19,12 @@ Gem::Specification.new do |s|
|
|
19
19
|
# Special flag to let us know this is actually a logstash plugin
|
20
20
|
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
|
21
21
|
|
22
|
-
s.add_runtime_dependency
|
22
|
+
s.add_runtime_dependency "logstash-core", ">= 2.0.0.snapshot", "< 3.0.0"
|
23
23
|
s.add_runtime_dependency 'rufus-scheduler', '3.0.9'
|
24
24
|
|
25
25
|
if RUBY_PLATFORM == 'java'
|
26
26
|
s.platform = RUBY_PLATFORM
|
27
|
-
s.add_runtime_dependency 'neo4j', '
|
27
|
+
s.add_runtime_dependency 'neo4j', '~> 4.0.0'
|
28
28
|
s.add_runtime_dependency 'neo4j-community', '~> 2.0.0'
|
29
29
|
end
|
30
30
|
|
@@ -2,27 +2,25 @@ require_relative "../spec_helper"
|
|
2
2
|
|
3
3
|
describe "Neo4jrb::Client", :integration => true do
|
4
4
|
|
5
|
-
|
6
|
-
let(:path) { "spec/fixtures/graph.db" }
|
7
|
-
let(:client) { Neo4jrb::Client.open(path) }
|
5
|
+
let(:client) { Neo4jrb::Client.open(temp_db_path) }
|
8
6
|
|
9
7
|
it "can count all nodes within the database" do
|
10
|
-
expect(client.count_nodes).to eq(
|
8
|
+
expect(client.count_nodes).to eq(2)
|
11
9
|
end
|
12
10
|
|
13
11
|
context "while running a query" do
|
14
|
-
let(:query) { "MATCH (p:`
|
12
|
+
let(:query) { "MATCH (p:`person`)-->(m:`person`) WHERE p.name = 'personA' RETURN *" }
|
15
13
|
|
16
14
|
subject(:resultset) { client.execute_query(query) }
|
17
15
|
|
18
16
|
it "return the right amount of data" do
|
19
|
-
expect(resultset.count).to eq(
|
17
|
+
expect(resultset.count).to eq(1)
|
20
18
|
end
|
21
19
|
|
22
20
|
it "return the right type of data as array" do
|
23
21
|
resultset.each do |result|
|
24
22
|
result.map! { |e| e.labels.first }.flatten
|
25
|
-
expect(result).to eq([:
|
23
|
+
expect(result).to eq([:person, :person])
|
26
24
|
end
|
27
25
|
end
|
28
26
|
end
|
data/spec/inputs/neo4j_spec.rb
CHANGED
@@ -22,8 +22,14 @@ describe LogStash::Inputs::Neo4j do
|
|
22
22
|
expect { plugin.register }.to_not raise_error
|
23
23
|
end
|
24
24
|
|
25
|
-
it "
|
26
|
-
expect { plugin.
|
25
|
+
it "close without errors" do
|
26
|
+
expect { plugin.close }.to_not raise_error
|
27
|
+
end
|
28
|
+
|
29
|
+
context "when interrupting the plugin" do
|
30
|
+
it_behaves_like "an interruptible input plugin" do
|
31
|
+
let(:config) { { "path" => path, "query" => query, "schedule" => "* 1 * * *"} }
|
32
|
+
end
|
27
33
|
end
|
28
34
|
|
29
35
|
context "event retrieval" do
|
data/spec/spec_helper.rb
CHANGED
@@ -1,8 +1,39 @@
|
|
1
1
|
require "logstash/devutils/rspec/spec_helper"
|
2
2
|
require "logstash/inputs/neo4j"
|
3
3
|
require "logstash/inputs/neo4j-client"
|
4
|
-
require
|
4
|
+
require "ostruct"
|
5
|
+
require "fileutils"
|
5
6
|
|
6
7
|
def load_fixture(name)
|
7
8
|
IO.read("spec/fixtures/#{name}")
|
8
9
|
end
|
10
|
+
|
11
|
+
def temp_db_path
|
12
|
+
File.join(Dir.tmpdir, "graphdb")
|
13
|
+
end
|
14
|
+
|
15
|
+
def build_database(path)
|
16
|
+
session = ::Neo4j::Session.open(:embedded_db, path, :auto_commit => true)
|
17
|
+
session.start
|
18
|
+
Neo4j::Transaction.run do
|
19
|
+
nodeA = Neo4j::Node.create({name: 'personA'}, :person)
|
20
|
+
nodeB = Neo4j::Node.create({name: 'personB'}, :person)
|
21
|
+
nodeA.create_rel(:knows, nodeB, since: 2015)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
def remove_database(path)
|
26
|
+
session = Neo4j::Session.current
|
27
|
+
session.shutdown
|
28
|
+
FileUtils.rm_rf(path)
|
29
|
+
end
|
30
|
+
|
31
|
+
RSpec.configure do |config|
|
32
|
+
config.before(:all) do
|
33
|
+
build_database(temp_db_path)
|
34
|
+
end
|
35
|
+
|
36
|
+
config.after(:all) do
|
37
|
+
remove_database(temp_db_path)
|
38
|
+
end
|
39
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-neo4j
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Pere Urbon-Bayes
|
@@ -9,153 +9,113 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-10-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name: logstash-core
|
16
|
-
version_requirements: !ruby/object:Gem::Requirement
|
17
|
-
requirements:
|
18
|
-
- - '>='
|
19
|
-
- !ruby/object:Gem::Version
|
20
|
-
version: 1.4.0
|
21
|
-
- - <
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 2.0.0
|
24
15
|
requirement: !ruby/object:Gem::Requirement
|
25
16
|
requirements:
|
26
17
|
- - '>='
|
27
18
|
- !ruby/object:Gem::Version
|
28
|
-
version:
|
19
|
+
version: 2.0.0.snapshot
|
29
20
|
- - <
|
30
21
|
- !ruby/object:Gem::Version
|
31
|
-
version:
|
22
|
+
version: 3.0.0
|
23
|
+
name: logstash-core
|
32
24
|
prerelease: false
|
33
25
|
type: :runtime
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: rufus-scheduler
|
36
26
|
version_requirements: !ruby/object:Gem::Requirement
|
37
27
|
requirements:
|
38
|
-
- - '
|
28
|
+
- - '>='
|
39
29
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
30
|
+
version: 2.0.0.snapshot
|
31
|
+
- - <
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 3.0.0
|
34
|
+
- !ruby/object:Gem::Dependency
|
41
35
|
requirement: !ruby/object:Gem::Requirement
|
42
36
|
requirements:
|
43
37
|
- - '='
|
44
38
|
- !ruby/object:Gem::Version
|
45
39
|
version: 3.0.9
|
40
|
+
name: rufus-scheduler
|
46
41
|
prerelease: false
|
47
42
|
type: :runtime
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: neo4j
|
50
43
|
version_requirements: !ruby/object:Gem::Requirement
|
51
44
|
requirements:
|
52
|
-
- - '
|
45
|
+
- - '='
|
53
46
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
47
|
+
version: 3.0.9
|
48
|
+
- !ruby/object:Gem::Dependency
|
55
49
|
requirement: !ruby/object:Gem::Requirement
|
56
50
|
requirements:
|
57
|
-
- -
|
51
|
+
- - ~>
|
58
52
|
- !ruby/object:Gem::Version
|
59
|
-
version:
|
53
|
+
version: 4.0.0
|
54
|
+
name: neo4j
|
60
55
|
prerelease: false
|
61
56
|
type: :runtime
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: neo4j-community
|
64
57
|
version_requirements: !ruby/object:Gem::Requirement
|
65
58
|
requirements:
|
66
59
|
- - ~>
|
67
60
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
61
|
+
version: 4.0.0
|
62
|
+
- !ruby/object:Gem::Dependency
|
69
63
|
requirement: !ruby/object:Gem::Requirement
|
70
64
|
requirements:
|
71
65
|
- - ~>
|
72
66
|
- !ruby/object:Gem::Version
|
73
67
|
version: 2.0.0
|
68
|
+
name: neo4j-community
|
74
69
|
prerelease: false
|
75
70
|
type: :runtime
|
76
|
-
- !ruby/object:Gem::Dependency
|
77
|
-
name: logstash-devutils
|
78
71
|
version_requirements: !ruby/object:Gem::Requirement
|
79
72
|
requirements:
|
80
|
-
- -
|
73
|
+
- - ~>
|
81
74
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
75
|
+
version: 2.0.0
|
76
|
+
- !ruby/object:Gem::Dependency
|
83
77
|
requirement: !ruby/object:Gem::Requirement
|
84
78
|
requirements:
|
85
79
|
- - '>='
|
86
80
|
- !ruby/object:Gem::Version
|
87
81
|
version: '0'
|
82
|
+
name: logstash-devutils
|
88
83
|
prerelease: false
|
89
84
|
type: :development
|
90
|
-
- !ruby/object:Gem::Dependency
|
91
|
-
name: logstash-codec-plain
|
92
85
|
version_requirements: !ruby/object:Gem::Requirement
|
93
86
|
requirements:
|
94
87
|
- - '>='
|
95
88
|
- !ruby/object:Gem::Version
|
96
89
|
version: '0'
|
90
|
+
- !ruby/object:Gem::Dependency
|
97
91
|
requirement: !ruby/object:Gem::Requirement
|
98
92
|
requirements:
|
99
93
|
- - '>='
|
100
94
|
- !ruby/object:Gem::Version
|
101
95
|
version: '0'
|
96
|
+
name: logstash-codec-plain
|
102
97
|
prerelease: false
|
103
98
|
type: :development
|
99
|
+
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
104
|
description: Output events to Neo4j
|
105
105
|
email: pere.urbon@gmail.com
|
106
106
|
executables: []
|
107
107
|
extensions: []
|
108
108
|
extra_rdoc_files: []
|
109
109
|
files:
|
110
|
-
- .
|
110
|
+
- CHANGELOG.md
|
111
111
|
- CONTRIBUTORS
|
112
112
|
- Gemfile
|
113
113
|
- LICENSE
|
114
|
+
- NOTICE.TXT
|
114
115
|
- README.md
|
115
|
-
- Rakefile
|
116
116
|
- lib/logstash/inputs/neo4j-client.rb
|
117
117
|
- lib/logstash/inputs/neo4j.rb
|
118
118
|
- logstash-input-neo4j.gemspec
|
119
|
-
- spec/fixtures/graph.db/active_tx_log
|
120
|
-
- spec/fixtures/graph.db/index/lucene-store.db
|
121
|
-
- spec/fixtures/graph.db/neostore
|
122
|
-
- spec/fixtures/graph.db/neostore.id
|
123
|
-
- spec/fixtures/graph.db/neostore.labeltokenstore.db
|
124
|
-
- spec/fixtures/graph.db/neostore.labeltokenstore.db.id
|
125
|
-
- spec/fixtures/graph.db/neostore.labeltokenstore.db.names
|
126
|
-
- spec/fixtures/graph.db/neostore.labeltokenstore.db.names.id
|
127
|
-
- spec/fixtures/graph.db/neostore.nodestore.db
|
128
|
-
- spec/fixtures/graph.db/neostore.nodestore.db.id
|
129
|
-
- spec/fixtures/graph.db/neostore.nodestore.db.labels
|
130
|
-
- spec/fixtures/graph.db/neostore.nodestore.db.labels.id
|
131
|
-
- spec/fixtures/graph.db/neostore.propertystore.db
|
132
|
-
- spec/fixtures/graph.db/neostore.propertystore.db.arrays
|
133
|
-
- spec/fixtures/graph.db/neostore.propertystore.db.arrays.id
|
134
|
-
- spec/fixtures/graph.db/neostore.propertystore.db.id
|
135
|
-
- spec/fixtures/graph.db/neostore.propertystore.db.index
|
136
|
-
- spec/fixtures/graph.db/neostore.propertystore.db.index.id
|
137
|
-
- spec/fixtures/graph.db/neostore.propertystore.db.index.keys
|
138
|
-
- spec/fixtures/graph.db/neostore.propertystore.db.index.keys.id
|
139
|
-
- spec/fixtures/graph.db/neostore.propertystore.db.strings
|
140
|
-
- spec/fixtures/graph.db/neostore.propertystore.db.strings.id
|
141
|
-
- spec/fixtures/graph.db/neostore.relationshipstore.db
|
142
|
-
- spec/fixtures/graph.db/neostore.relationshipstore.db.id
|
143
|
-
- spec/fixtures/graph.db/neostore.relationshiptypestore.db
|
144
|
-
- spec/fixtures/graph.db/neostore.relationshiptypestore.db.id
|
145
|
-
- spec/fixtures/graph.db/neostore.relationshiptypestore.db.names
|
146
|
-
- spec/fixtures/graph.db/neostore.relationshiptypestore.db.names.id
|
147
|
-
- spec/fixtures/graph.db/neostore.schemastore.db
|
148
|
-
- spec/fixtures/graph.db/neostore.schemastore.db.id
|
149
|
-
- spec/fixtures/graph.db/schema/label/lucene/_0.fdt
|
150
|
-
- spec/fixtures/graph.db/schema/label/lucene/_0.fdx
|
151
|
-
- spec/fixtures/graph.db/schema/label/lucene/_0.fnm
|
152
|
-
- spec/fixtures/graph.db/schema/label/lucene/_0.frq
|
153
|
-
- spec/fixtures/graph.db/schema/label/lucene/_0.nrm
|
154
|
-
- spec/fixtures/graph.db/schema/label/lucene/_0.tii
|
155
|
-
- spec/fixtures/graph.db/schema/label/lucene/_0.tis
|
156
|
-
- spec/fixtures/graph.db/schema/label/lucene/segments.gen
|
157
|
-
- spec/fixtures/graph.db/schema/label/lucene/segments_1
|
158
|
-
- spec/fixtures/graph.db/store_lock
|
159
119
|
- spec/inputs/neo4j-client_spec.rb
|
160
120
|
- spec/inputs/neo4j_spec.rb
|
161
121
|
- spec/spec_helper.rb
|
@@ -181,51 +141,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
141
|
version: '0'
|
182
142
|
requirements: []
|
183
143
|
rubyforge_project:
|
184
|
-
rubygems_version: 2.
|
144
|
+
rubygems_version: 2.4.8
|
185
145
|
signing_key:
|
186
146
|
specification_version: 4
|
187
147
|
summary: Logstash Input for Neo4j
|
188
148
|
test_files:
|
189
|
-
- spec/fixtures/graph.db/active_tx_log
|
190
|
-
- spec/fixtures/graph.db/index/lucene-store.db
|
191
|
-
- spec/fixtures/graph.db/neostore
|
192
|
-
- spec/fixtures/graph.db/neostore.id
|
193
|
-
- spec/fixtures/graph.db/neostore.labeltokenstore.db
|
194
|
-
- spec/fixtures/graph.db/neostore.labeltokenstore.db.id
|
195
|
-
- spec/fixtures/graph.db/neostore.labeltokenstore.db.names
|
196
|
-
- spec/fixtures/graph.db/neostore.labeltokenstore.db.names.id
|
197
|
-
- spec/fixtures/graph.db/neostore.nodestore.db
|
198
|
-
- spec/fixtures/graph.db/neostore.nodestore.db.id
|
199
|
-
- spec/fixtures/graph.db/neostore.nodestore.db.labels
|
200
|
-
- spec/fixtures/graph.db/neostore.nodestore.db.labels.id
|
201
|
-
- spec/fixtures/graph.db/neostore.propertystore.db
|
202
|
-
- spec/fixtures/graph.db/neostore.propertystore.db.arrays
|
203
|
-
- spec/fixtures/graph.db/neostore.propertystore.db.arrays.id
|
204
|
-
- spec/fixtures/graph.db/neostore.propertystore.db.id
|
205
|
-
- spec/fixtures/graph.db/neostore.propertystore.db.index
|
206
|
-
- spec/fixtures/graph.db/neostore.propertystore.db.index.id
|
207
|
-
- spec/fixtures/graph.db/neostore.propertystore.db.index.keys
|
208
|
-
- spec/fixtures/graph.db/neostore.propertystore.db.index.keys.id
|
209
|
-
- spec/fixtures/graph.db/neostore.propertystore.db.strings
|
210
|
-
- spec/fixtures/graph.db/neostore.propertystore.db.strings.id
|
211
|
-
- spec/fixtures/graph.db/neostore.relationshipstore.db
|
212
|
-
- spec/fixtures/graph.db/neostore.relationshipstore.db.id
|
213
|
-
- spec/fixtures/graph.db/neostore.relationshiptypestore.db
|
214
|
-
- spec/fixtures/graph.db/neostore.relationshiptypestore.db.id
|
215
|
-
- spec/fixtures/graph.db/neostore.relationshiptypestore.db.names
|
216
|
-
- spec/fixtures/graph.db/neostore.relationshiptypestore.db.names.id
|
217
|
-
- spec/fixtures/graph.db/neostore.schemastore.db
|
218
|
-
- spec/fixtures/graph.db/neostore.schemastore.db.id
|
219
|
-
- spec/fixtures/graph.db/schema/label/lucene/_0.fdt
|
220
|
-
- spec/fixtures/graph.db/schema/label/lucene/_0.fdx
|
221
|
-
- spec/fixtures/graph.db/schema/label/lucene/_0.fnm
|
222
|
-
- spec/fixtures/graph.db/schema/label/lucene/_0.frq
|
223
|
-
- spec/fixtures/graph.db/schema/label/lucene/_0.nrm
|
224
|
-
- spec/fixtures/graph.db/schema/label/lucene/_0.tii
|
225
|
-
- spec/fixtures/graph.db/schema/label/lucene/_0.tis
|
226
|
-
- spec/fixtures/graph.db/schema/label/lucene/segments.gen
|
227
|
-
- spec/fixtures/graph.db/schema/label/lucene/segments_1
|
228
|
-
- spec/fixtures/graph.db/store_lock
|
229
149
|
- spec/inputs/neo4j-client_spec.rb
|
230
150
|
- spec/inputs/neo4j_spec.rb
|
231
151
|
- spec/spec_helper.rb
|
data/.gitignore
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
*.lock
|
2
|
-
*.gem
|
3
|
-
*.rbc
|
4
|
-
/.config
|
5
|
-
/coverage/
|
6
|
-
/InstalledFiles
|
7
|
-
/pkg/
|
8
|
-
/spec/reports/
|
9
|
-
/test/tmp/
|
10
|
-
/test/version_tmp/
|
11
|
-
/tmp/
|
12
|
-
|
13
|
-
## Specific to RubyMotion:
|
14
|
-
.dat*
|
15
|
-
.repl_history
|
16
|
-
build/
|
17
|
-
|
18
|
-
## Documentation cache and generated files:
|
19
|
-
/.yardoc/
|
20
|
-
/_yardoc/
|
21
|
-
/doc/
|
22
|
-
/rdoc/
|
23
|
-
|
24
|
-
## Environment normalisation:
|
25
|
-
/.bundle/
|
26
|
-
/vendor/bundle
|
27
|
-
/lib/bundler/man/
|
28
|
-
|
29
|
-
# for a library or gem, you might want to ignore these files since the code is
|
30
|
-
# intended to run in multiple environments; otherwise, check them in:
|
31
|
-
# Gemfile.lock
|
32
|
-
# .ruby-version
|
33
|
-
# .ruby-gemset
|
34
|
-
|
35
|
-
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
36
|
-
.rvmrc
|
37
|
-
|
38
|
-
# fixtures log files
|
39
|
-
spec/fixtures/graph.db/nioneo_logical.log.*
|
40
|
-
spec/fixtures/graph.db/tm_tx_log*
|
41
|
-
spec/fixtures/graph.db/index/lucene.log.*
|
42
|
-
spec/fixtures/graph.db/messages.log
|
43
|
-
spec/fixtures/graph.db/index/lucene-store.db
|
44
|
-
spec/fixtures/graph.db/neostore
|
data/Rakefile
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
ROOT = File.expand_path(File.dirname(__FILE__))
|
2
|
-
$LOAD_PATH.unshift File.join(ROOT, 'lib')
|
3
|
-
Dir.glob('lib/**').each{ |d| $LOAD_PATH.unshift(File.join(ROOT, d)) }
|
4
|
-
|
5
|
-
require 'rubygems'
|
6
|
-
require 'bundler'
|
7
|
-
begin
|
8
|
-
Bundler.setup(:default, :development)
|
9
|
-
rescue Bundler::BundlerError => e
|
10
|
-
$stderr.puts e.message
|
11
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
12
|
-
exit e.status_code
|
13
|
-
end
|
14
|
-
|
15
|
-
require "logstash/devutils/rake"
|
16
|
-
|
17
|
-
require 'rspec'
|
18
|
-
require 'rspec/core/rake_task'
|
19
|
-
|
20
|
-
desc "Specs all at ones."
|
21
|
-
RSpec::Core::RakeTask.new(:spec) do |t|
|
22
|
-
t.fail_on_error = true
|
23
|
-
t.verbose = false
|
24
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
tm_tx_log.1
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
����rangeQ0labelQ1
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
NRM�
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
File without changes
|