fluent-plugin-festival 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/fluent-plugin-festival.gemspec +1 -1
- data/lib/fluent/plugin/in_festival.rb +1 -7
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8ea1438878c69e5bbac6d54234c28a5968c9eac7
|
|
4
|
+
data.tar.gz: 3c20f2d27ad81fa8210a6ec232b4879a2175b30c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4dd051327fb87bbd7da404e2cae013ea8406bddb2838bd64d814d34bd4b2a4daa8ed91057ebf0efac7dadded867872cf9fd96d41f89239ad9365beb0aaee7c02
|
|
7
|
+
data.tar.gz: 36977f5fac9aa8f77ea979d1214657e406647fdb134fad472f9c8923ae2b274c311be3447fe1637d7b846ca33b68cc6051c1a4a1471f93518b2d394ac704197d
|
data/README.md
CHANGED
|
@@ -31,7 +31,7 @@ Input Plugin can receive events from FESTIVAL EaaS API Server. It can be used vi
|
|
|
31
31
|
<source>
|
|
32
32
|
@type festival
|
|
33
33
|
tag tag_name
|
|
34
|
-
|
|
34
|
+
email festival_portal_login_name
|
|
35
35
|
password festival_portal_password
|
|
36
36
|
polling_interval 30
|
|
37
37
|
<resource>
|
|
@@ -45,7 +45,7 @@ Input Plugin can receive events from FESTIVAL EaaS API Server. It can be used vi
|
|
|
45
45
|
<source>
|
|
46
46
|
@type festival
|
|
47
47
|
tag tag_name
|
|
48
|
-
|
|
48
|
+
email festival_portal_login_name
|
|
49
49
|
password festival_portal_password
|
|
50
50
|
polling_interval 180
|
|
51
51
|
<resource>
|
|
@@ -55,7 +55,7 @@ Input Plugin can receive events from FESTIVAL EaaS API Server. It can be used vi
|
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
- **tag** (required): Tag name appended to the input data inside fluentd network
|
|
58
|
-
- **
|
|
58
|
+
- **email** (required): email address (login name) to login https://experiments.festival-project.eu/
|
|
59
59
|
- **password** (required): password for the login_name
|
|
60
60
|
- **polling_interval** (optional): Polling interval (seconds) for accessing EaaS API (default: 60 seconds)
|
|
61
61
|
- **resource** (at least one entry is required): The target resources to obtain sensor data. multiple resources can be specified by multiple <resource> tags. If a user wants to specify different polling interval for each resource, it must be specified different <source> tags.
|
|
@@ -17,11 +17,6 @@ module Fluent::Plugin
|
|
|
17
17
|
config_param :email, :string
|
|
18
18
|
desc 'password for FESTIVAL EaaS API'
|
|
19
19
|
config_param :password, :string, secret: true
|
|
20
|
-
#base.config_param :keep_alive, :integer, :default => 2
|
|
21
|
-
#base.desc 'Start date of historical data'
|
|
22
|
-
#base.config_param :start_date, :string, :default => Time.now.iso8601
|
|
23
|
-
#base.desc 'End date of historical data'
|
|
24
|
-
#base.config_param :end_date, :string, :default => Time.now.iso8601
|
|
25
20
|
desc 'The tag of the event.'
|
|
26
21
|
config_param :tag, :string
|
|
27
22
|
desc 'Polling interval to get message from FESTIVAL EaaS API'
|
|
@@ -73,8 +68,7 @@ module Fluent::Plugin
|
|
|
73
68
|
emit(data) if !(data.nil? || data.empty?)
|
|
74
69
|
rescue Exception => e
|
|
75
70
|
log.error error: e.to_s
|
|
76
|
-
log.
|
|
77
|
-
log.trace_backtrace(e.backtrace)
|
|
71
|
+
log.debug_backtrace(e.backtrace)
|
|
78
72
|
end
|
|
79
73
|
end
|
|
80
74
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-festival
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Toyokazu Akiyama
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-05-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fluentd
|