fluent-plugin-festival 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 328283ff85d814d57b5e9c06aac86f4d5c3faf7c
4
- data.tar.gz: 20c812a04801f2ebe7940992151824119374b81b
3
+ metadata.gz: 8ea1438878c69e5bbac6d54234c28a5968c9eac7
4
+ data.tar.gz: 3c20f2d27ad81fa8210a6ec232b4879a2175b30c
5
5
  SHA512:
6
- metadata.gz: bce12f937c6e8f2bd01d4dfdbfa5b3a005d4a97c2a03bc8a77237eff0745e4462991990946a0302ecdb608ab03a55f523d059350e79ed35c7da9bb06b608ca84
7
- data.tar.gz: 225ea212bee5b941eb75cd12c86fd5d7f2133af54be5247c3db8320eb555c29a967a283b2ea3af4e7cc40dc6008bef557507d7b0b22deb4ac5b9ac3f46ea5848
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
- username festival_portal_login_name
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
- username festival_portal_login_name
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
- - **login_name** (required): login_name to login https://experiments.festival-project.eu/
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.
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-festival"
7
- spec.version = "0.0.6"
7
+ spec.version = "0.0.7"
8
8
  spec.authors = ["Toyokazu Akiyama"]
9
9
  spec.email = ["toyokazu@gmail.com"]
10
10
 
@@ -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.debug(e.backtrace.join("\n"))
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.6
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-04-27 00:00:00.000000000 Z
11
+ date: 2017-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd