fluent-plugin-pi 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/fluent-plugin-pi.gemspec +1 -1
- data/lib/fluent/plugin/out_qi.rb +1 -6
- data/pkg/fluent-plugin-pi-0.0.2.gem +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c7bcc07b408fac793498018831cd96172853f6b
|
4
|
+
data.tar.gz: 8be758f11437ecc38ea90e4f2336900df31fa26d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 09754f0910c7b4ad960a7a156ff0a28ccae8f575bd664a4aaeec13c66f616b3a34316c75218b2dc6de7a630ffcf90076c8765c3009a30e6934ea3ad0ddd38451
|
7
|
+
data.tar.gz: a6ab702f9d4b48eedac0ddaf2796493a42b4056c249d3656734a4244da0f35106e2e1a371e3c3a195390782ece248be43320a4a21bb1fd2bcb81ed1854ee9d13
|
data/Gemfile.lock
CHANGED
data/fluent-plugin-pi.gemspec
CHANGED
data/lib/fluent/plugin/out_qi.rb
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
# OSIsoft, LLC
|
13
13
|
# 777 Davis Street, Suite 250, San Leandro CA 94577
|
14
14
|
|
15
|
-
require 'fluent/output'
|
15
|
+
require 'fluent/plugin/output'
|
16
16
|
require 'json'
|
17
17
|
require 'rest-client'
|
18
18
|
require 'adal'
|
@@ -21,8 +21,6 @@ require 'certified'
|
|
21
21
|
module Fluent
|
22
22
|
class Qi < BufferedOutput
|
23
23
|
Fluent::Plugin.register_output('qi', self)
|
24
|
-
|
25
|
-
helpers :inject, :formatter, :compat_parameters
|
26
24
|
|
27
25
|
typeID = nil, streamID = nil, tenantId = nil, namespaceId = nil
|
28
26
|
appId = nil, appKey = nil
|
@@ -63,11 +61,8 @@ module Fluent
|
|
63
61
|
if conf['output_type'] && !conf['format']
|
64
62
|
conf['format'] = conf['output_type']
|
65
63
|
end
|
66
|
-
compat_parameters_convert(conf, :inject, :formatter)
|
67
64
|
|
68
65
|
super
|
69
|
-
|
70
|
-
@formatter = formatter_create(conf: conf.elements('format').first, default_type: DEFAULT_FORMAT_TYPE)
|
71
66
|
|
72
67
|
(conf.key?('tenantId')) ? @tenantId = conf['tenantId'] : @tenantId = nil
|
73
68
|
(conf.key?('namespaceId')) ? @namespaceId = conf['namespaceId'] : @attpath = nil
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-pi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Derek Endres
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -98,6 +98,7 @@ files:
|
|
98
98
|
- lib/fluent/plugin/out_pi.rb
|
99
99
|
- lib/fluent/plugin/out_qi.rb
|
100
100
|
- pkg/fluent-plugin-pi-0.0.1.gem
|
101
|
+
- pkg/fluent-plugin-pi-0.0.2.gem
|
101
102
|
homepage: https://github.com/osisoftresearch
|
102
103
|
licenses:
|
103
104
|
- OSISoft LLC
|