fluent-plugin-reckoner-cdp 0.1.2 → 0.1.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef99a2e43f4bb3e08efdc1938fc265d5226fabe7fc392f4a3d757b183e653729
4
- data.tar.gz: 1f0c73faf6d8ae7d7511a505a8e210a8ff27af0993966a66841c16766fd7ceec
3
+ metadata.gz: e1ca1b779884037fbb86f5010ba030966450ad5c9f4a0427fb3f45d8f5fe75b6
4
+ data.tar.gz: 4ea50ff52e4f30c56ae79bd3cef1e07178e0fd34ed567f63fb1e35713ba0156c
5
5
  SHA512:
6
- metadata.gz: 9874a0239e576694799cabaa46df979b53478a8d66c59e5473b48c13cad6bf186b51cb80efd34982ccc818c2c36ebfbf3f7c903e9451b3ef9fe4f20d91426231
7
- data.tar.gz: b719cdbd3393ca3c9a00c66114a2874ad35c0399a0848a1886bf62a3e13c55fded4eda8f34c0eaca2ca245c94c793d27a209956036c4ab57f6ce030745799b0d
6
+ metadata.gz: a04ba6ad620e9e576bd516ba74f99f62699aa01ae2c4a928483effded0e96270f7e049527724ab94c7fee6caf7533f92335e736cc182de607a2b8b52970d8b06
7
+ data.tar.gz: e73c3244320a307b9c2df3975fd650dd47158f1bae6493c22aedcbb37da3f38486f1ffb6cc3fd735c9e6fcd55a254bb674d72a48bfb49b0d10a82370be77ae12
@@ -1,42 +1,43 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-reckoner-cdp (0.1.1)
4
+ fluent-plugin-reckoner-cdp (0.1.3)
5
5
  fluentd (>= 0.14.10, < 2)
6
+ reckoner_cdp (~> 0.1.2)
6
7
 
7
8
  GEM
8
9
  remote: https://rubygems.org/
9
10
  specs:
10
11
  addressable (2.7.0)
11
12
  public_suffix (>= 2.0.2, < 5.0)
12
- cool.io (1.5.3)
13
- declarative (0.0.10)
13
+ concurrent-ruby (1.1.7)
14
+ cool.io (1.7.0)
15
+ declarative (0.0.20)
14
16
  declarative-option (0.1.0)
15
- dig_rb (1.0.1)
16
17
  faraday (0.17.3)
17
18
  multipart-post (>= 1.2, < 3)
18
19
  faraday_middleware (0.14.0)
19
20
  faraday (>= 0.7.4, < 1.0)
20
- fluentd (1.2.6)
21
+ fluentd (1.11.4)
21
22
  cool.io (>= 1.4.5, < 2.0.0)
22
- dig_rb (~> 1.0.0)
23
23
  http_parser.rb (>= 0.5.1, < 0.7.0)
24
- msgpack (>= 0.7.0, < 2.0.0)
24
+ msgpack (>= 1.3.1, < 2.0.0)
25
25
  serverengine (>= 2.0.4, < 3.0.0)
26
26
  sigdump (~> 0.2.2)
27
27
  strptime (>= 0.2.2, < 1.0.0)
28
- tzinfo (~> 1.0)
28
+ tzinfo (>= 1.0, < 3.0)
29
29
  tzinfo-data (~> 1.0)
30
30
  yajl-ruby (~> 1.0)
31
- google-api-client (0.39.2)
31
+ google-api-client (0.48.0)
32
32
  addressable (~> 2.5, >= 2.5.1)
33
33
  googleauth (~> 0.9)
34
34
  httpclient (>= 2.8.1, < 3.0)
35
35
  mini_mime (~> 1.0)
36
36
  representable (~> 3.0)
37
37
  retriable (>= 2.0, < 4.0)
38
+ rexml
38
39
  signet (~> 0.12)
39
- googleauth (0.12.0)
40
+ googleauth (0.14.0)
40
41
  faraday (>= 0.17.3, < 2.0)
41
42
  jwt (>= 1.4, < 3.0)
42
43
  memoist (~> 0.16)
@@ -45,17 +46,17 @@ GEM
45
46
  signet (~> 0.14)
46
47
  http_parser.rb (0.6.0)
47
48
  httpclient (2.8.3)
48
- jwt (2.2.1)
49
+ jwt (2.2.2)
49
50
  memoist (0.16.2)
50
51
  mini_mime (1.0.2)
51
- msgpack (1.2.4)
52
- multi_json (1.14.1)
52
+ msgpack (1.3.3)
53
+ multi_json (1.15.0)
53
54
  multipart-post (2.1.1)
54
- os (1.1.0)
55
+ os (1.1.1)
55
56
  power_assert (1.1.3)
56
- public_suffix (4.0.5)
57
+ public_suffix (4.0.6)
57
58
  rake (12.3.1)
58
- reckoner_cdp (0.1.1)
59
+ reckoner_cdp (0.1.2)
59
60
  faraday_middleware (~> 0.12)
60
61
  google-api-client (~> 0.34)
61
62
  msgpack (~> 1.2)
@@ -64,7 +65,8 @@ GEM
64
65
  declarative-option (< 0.2.0)
65
66
  uber (< 0.2.0)
66
67
  retriable (3.1.2)
67
- serverengine (2.0.7)
68
+ rexml (3.2.4)
69
+ serverengine (2.2.2)
68
70
  sigdump (~> 0.2.2)
69
71
  sigdump (0.2.4)
70
72
  signet (0.14.0)
@@ -72,13 +74,12 @@ GEM
72
74
  faraday (>= 0.17.3, < 2.0)
73
75
  jwt (>= 1.5, < 3.0)
74
76
  multi_json (~> 1.10)
75
- strptime (0.2.3)
77
+ strptime (0.2.5)
76
78
  test-unit (3.2.8)
77
79
  power_assert
78
- thread_safe (0.3.6)
79
- tzinfo (1.2.5)
80
- thread_safe (~> 0.1)
81
- tzinfo-data (1.2018.5)
80
+ tzinfo (2.0.2)
81
+ concurrent-ruby (~> 1.0)
82
+ tzinfo-data (1.2020.4)
82
83
  tzinfo (>= 1.0.0)
83
84
  uber (0.1.0)
84
85
  yajl-ruby (1.4.1)
@@ -90,7 +91,6 @@ DEPENDENCIES
90
91
  bundler (~> 1.14)
91
92
  fluent-plugin-reckoner-cdp!
92
93
  rake (~> 12.0)
93
- reckoner_cdp (~> 0.1.1)
94
94
  test-unit (~> 3.0)
95
95
 
96
96
  BUNDLED WITH
data/README.md CHANGED
@@ -30,7 +30,7 @@ $ bundle
30
30
 
31
31
  ### Fluent::Plugin::ReckonerCdpOutput
32
32
 
33
- * json_key_path (string) (required): Your account's Json Key Path in Reckoner CDP.
33
+ * token (string) (required): Your account's Workflow Token in Reckoner CDP.
34
34
 
35
35
  * workflow_id (string) (required): The Workflow ID in Reckoner CDP.
36
36
 
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "fluent-plugin-reckoner-cdp"
6
- spec.version = "0.1.2"
6
+ spec.version = "0.1.3"
7
7
  spec.authors = ["katsuhito123"]
8
8
  spec.email = ["katsuhito.ac@gmail.com"]
9
9
 
@@ -23,6 +23,6 @@ Gem::Specification.new do |spec|
23
23
  spec.add_development_dependency "bundler", "~> 1.14"
24
24
  spec.add_development_dependency "rake", "~> 12.0"
25
25
  spec.add_development_dependency "test-unit", "~> 3.0"
26
- spec.add_runtime_dependency "reckoner_cdp", '~> 0.1.1'
26
+ spec.add_runtime_dependency "reckoner_cdp", '~> 0.1.2'
27
27
  spec.add_runtime_dependency "fluentd", [">= 0.14.10", "< 2"]
28
28
  end
@@ -0,0 +1,3 @@
1
+ {"context":{"referer":{"web_entry_no":5004707061}}}
2
+ {"context":{"referer":{"web_entry_no":5004707061}}}
3
+ {"context":{"referer":{"web_entry_no":5004707061}}}
@@ -9,7 +9,7 @@ module Fluent
9
9
  Fluent::Plugin.register_output("reckoner_cdp", self)
10
10
 
11
11
  config_param :workflow_id, :integer
12
- config_param :json_key_path, :string
12
+ config_param :token, :string
13
13
  config_param :endpoint, :string, default: Reckoner::Cdp::STREAMING_ENDPOINT
14
14
  config_param :client_id, :string, default: Reckoner::Cdp::STREAMING_CLIENT_ID
15
15
 
@@ -17,14 +17,14 @@ module Fluent
17
17
 
18
18
  def configure(conf)
19
19
  super
20
- @json_key_path = conf['json_key_path']
20
+ @token = conf['token']
21
21
  @endpoint = conf['endpoint']
22
22
  @client_id = conf['client_id']
23
23
  end
24
24
 
25
25
  def start
26
26
  super
27
- @client = Reckoner::Cdp::Client.new(json_key_path, endpoint: @endpoint, client_id: @client_id)
27
+ @client = Reckoner::Cdp::Client.new(token, endpoint: @endpoint, client_id: @client_id)
28
28
  end
29
29
 
30
30
  def write(chunk)
@@ -1,20 +1,20 @@
1
1
  <source>
2
2
  @type tail
3
- path input.txt
3
+ path input.json
4
4
  tag reckoner_cdp
5
5
 
6
6
  <parse>
7
- @type none
7
+ @type json
8
8
  </parse>
9
9
  </source>
10
10
 
11
11
  <match reckoner_cdp>
12
12
  @type reckoner_cdp
13
13
 
14
- workflow_id 329
15
- json_key_path /path/to/thidparty-key.json
16
- endpoint https://streaming.stg-reckoner-api.com
17
- client_id 1084004246200-9rmut82u1jk3ps9mvs4fejnl73ntskh4.apps.googleusercontent.com
14
+ workflow_id 81
15
+ token "73e2c6e242be3c48b7396b1047eb89deb706787d"
16
+ endpoint "https://streaming.dev-reckoner-api.com"
17
+ client_id "606093242341-c2kfbun24o566cqvg82u0n7d63virsvg.apps.googleusercontent.com"
18
18
 
19
19
  <buffer>
20
20
  chunk_limit_records 1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-reckoner-cdp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - katsuhito123
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-14 00:00:00.000000000 Z
11
+ date: 2020-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.1.1
61
+ version: 0.1.2
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.1.1
68
+ version: 0.1.2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: fluentd
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -100,6 +100,7 @@ files:
100
100
  - README.md
101
101
  - Rakefile
102
102
  - fluent-plugin-reckoner-cdp.gemspec
103
+ - input.json
103
104
  - input.txt
104
105
  - lib/fluent/plugin/out_reckoner_cdp.rb
105
106
  - sample.conf
@@ -122,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
123
  - !ruby/object:Gem::Version
123
124
  version: '0'
124
125
  requirements: []
125
- rubygems_version: 3.0.3
126
+ rubygems_version: 3.1.4
126
127
  signing_key:
127
128
  specification_version: 4
128
129
  summary: reckoner-cdp output plugin for Fluentd