fluent-plugin-bcdb 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +9 -8
- data/CODE_OF_CONDUCT.md +74 -74
- data/Gemfile +4 -4
- data/Gemfile.lock +51 -51
- data/LICENSE +204 -204
- data/README.md +76 -78
- data/Rakefile +2 -2
- data/bin/console +14 -14
- data/bin/setup +8 -8
- data/dev/csv-conf/AB_NYC_2019.csv +49081 -0
- data/dev/csv-conf/fluent.conf +39 -0
- data/dev/fluent.conf +37 -37
- data/dev/http-conf/fluent.conf +37 -0
- data/dev/readme.md +64 -0
- data/fluent-plugin-bcdb.gemspec +48 -48
- data/lib/fluent/plugin/bcdb/version.rb +7 -7
- data/lib/fluent/plugin/out_bcdb.rb +467 -459
- metadata +20 -12
- data/Dockerfile +0 -28
- data/docker-compose.yaml +0 -38
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-bcdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Modex Team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: yajl-ruby
|
@@ -64,14 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '
|
67
|
+
version: '13.0'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
74
|
+
version: '13.0'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: test-unit
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,8 +94,14 @@ extensions: []
|
|
94
94
|
extra_rdoc_files: []
|
95
95
|
files:
|
96
96
|
- ".gitignore"
|
97
|
+
- ".idea/.gitignore"
|
98
|
+
- ".idea/codeStyles/codeStyleConfig.xml"
|
99
|
+
- ".idea/fluent-plugin-bcdb.iml"
|
100
|
+
- ".idea/misc.xml"
|
101
|
+
- ".idea/modules.xml"
|
102
|
+
- ".idea/sbt.xml"
|
103
|
+
- ".idea/vcs.xml"
|
97
104
|
- CODE_OF_CONDUCT.md
|
98
|
-
- Dockerfile
|
99
105
|
- Gemfile
|
100
106
|
- Gemfile.lock
|
101
107
|
- LICENSE
|
@@ -103,18 +109,21 @@ files:
|
|
103
109
|
- Rakefile
|
104
110
|
- bin/console
|
105
111
|
- bin/setup
|
112
|
+
- dev/csv-conf/AB_NYC_2019.csv
|
113
|
+
- dev/csv-conf/fluent.conf
|
106
114
|
- dev/fluent.conf
|
107
|
-
-
|
115
|
+
- dev/http-conf/fluent.conf
|
116
|
+
- dev/readme.md
|
108
117
|
- fluent-plugin-bcdb.gemspec
|
109
118
|
- lib/fluent/plugin/bcdb/version.rb
|
110
119
|
- lib/fluent/plugin/out_bcdb.rb
|
111
|
-
homepage: https://github.com/
|
120
|
+
homepage: https://github.com/modex-bcdb/fluent-plugin-bcdb
|
112
121
|
licenses:
|
113
122
|
- APACHE
|
114
123
|
metadata:
|
115
|
-
homepage_uri: https://github.com/
|
116
|
-
source_code_uri: https://github.com/
|
117
|
-
changelog_uri: https://github.com/
|
124
|
+
homepage_uri: https://github.com/modex-bcdb/fluent-plugin-bcdb
|
125
|
+
source_code_uri: https://github.com/modex-bcdb/fluent-plugin-bcdb
|
126
|
+
changelog_uri: https://github.com/modex-bcdb/fluent-plugin-bcdb
|
118
127
|
post_install_message:
|
119
128
|
rdoc_options: []
|
120
129
|
require_paths:
|
@@ -130,8 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
139
|
- !ruby/object:Gem::Version
|
131
140
|
version: '0'
|
132
141
|
requirements: []
|
133
|
-
|
134
|
-
rubygems_version: 2.7.6.2
|
142
|
+
rubygems_version: 3.1.2
|
135
143
|
signing_key:
|
136
144
|
specification_version: 4
|
137
145
|
summary: Fluent output plugin to Modex Blockchain Database
|
data/Dockerfile
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright ©2019. MODEX (Gibraltar) LIMITED
|
3
|
-
#
|
4
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
# you may not use this file except in compliance with the License.
|
6
|
-
# You may obtain a copy of the License at
|
7
|
-
#
|
8
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
#
|
10
|
-
# Unless required by applicable law or agreed to in writing, software
|
11
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
# See the License for the specific language governing permissions and
|
14
|
-
# limitations under the License.
|
15
|
-
|
16
|
-
FROM fluent/fluentd
|
17
|
-
|
18
|
-
USER root
|
19
|
-
|
20
|
-
RUN apk add --no-cache --update --virtual .build-deps \
|
21
|
-
sudo build-base ruby-dev git bash
|
22
|
-
COPY ./ /fluent-plugin-bcdb/
|
23
|
-
RUN gem install bundler
|
24
|
-
WORKDIR /fluent-plugin-bcdb/
|
25
|
-
RUN bundle install
|
26
|
-
RUN bundle exec rake install
|
27
|
-
# cutomize following instruction as you wish
|
28
|
-
# USER root
|
data/docker-compose.yaml
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright ©2019. MODEX (Gibraltar) LIMITED
|
3
|
-
#
|
4
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
# you may not use this file except in compliance with the License.
|
6
|
-
# You may obtain a copy of the License at
|
7
|
-
#
|
8
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
#
|
10
|
-
# Unless required by applicable law or agreed to in writing, software
|
11
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
# See the License for the specific language governing permissions and
|
14
|
-
# limitations under the License.
|
15
|
-
|
16
|
-
version: '2'
|
17
|
-
services:
|
18
|
-
web:
|
19
|
-
image: httpd
|
20
|
-
ports:
|
21
|
-
- "81:80"
|
22
|
-
links:
|
23
|
-
- fluentd
|
24
|
-
logging:
|
25
|
-
driver: "fluentd"
|
26
|
-
options:
|
27
|
-
fluentd-address: localhost:24224
|
28
|
-
tag: httpd.access
|
29
|
-
fluentd:
|
30
|
-
build: ./
|
31
|
-
volumes:
|
32
|
-
- ./dev/fluent.conf:/fluentd/etc/fluent.conf
|
33
|
-
- ./:/plugins
|
34
|
-
ports:
|
35
|
-
- "24224:24224"
|
36
|
-
- "24224:24224/udp"
|
37
|
-
tty: true
|
38
|
-
command: ["/usr/bin/ruby", "-Eascii-8bit:ascii-8bit", "/usr/bin/fluentd", "-c","/fluentd/etc/fluent.conf"]
|