fluent-plugin-google-cloud 0.5.3.grpc.alpha.1 → 0.5.3.grpc.alpha.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +14 -15
- data/fluent-plugin-google-cloud.gemspec +3 -3
- data/lib/fluent/plugin/out_google_cloud.rb +3 -3
- data/lib/google/logging/type/{http_request.rb → http_request_pb.rb} +0 -0
- data/lib/google/logging/type/{log_severity.rb → log_severity_pb.rb} +0 -0
- data/lib/google/logging/v1/{log_entry.rb → log_entry_pb.rb} +5 -5
- data/lib/google/logging/v1/{logging.rb → logging_pb.rb} +4 -4
- data/lib/google/logging/v1/{logging_services.rb → logging_services_pb.rb} +1 -1
- data/test/plugin/test_out_google_cloud.rb +0 -14
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d313f90fa86ac062a46a65bd400a8729085f4c3f
|
4
|
+
data.tar.gz: 6a699b31b50a807178ebd97a913e47666c0f34b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc3b4b13b78bf6c4d04976e79fd91f96801c85e0d26c7ffff93fcb4cc9e27c6d741626f2cd2bf89aeb53932d739568c05e0d3549a7746eec0b3b3ed97d22ab60
|
7
|
+
data.tar.gz: 9edc718d851cb46e511743f16f0228167aafefd0e341a23b4619d57a95ec680e2d17025e7c5b146d435d96a4d79ebb00f4ea7f626e9c12da11d1a5f615486695
|
data/Gemfile.lock
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fluent-plugin-google-cloud (0.5.3.grpc.alpha.
|
4
|
+
fluent-plugin-google-cloud (0.5.3.grpc.alpha.2)
|
5
5
|
fluentd (~> 0.10, <= 0.13)
|
6
6
|
google-api-client (> 0.9)
|
7
|
-
googleapis-common-protos (~> 1.
|
7
|
+
googleapis-common-protos (~> 1.3)
|
8
8
|
googleauth (~> 0.4)
|
9
|
-
grpc (~> 0
|
9
|
+
grpc (~> 1.0)
|
10
10
|
json (~> 1.8)
|
11
11
|
|
12
12
|
GEM
|
@@ -16,7 +16,7 @@ GEM
|
|
16
16
|
ast (2.3.0)
|
17
17
|
astrolabe (1.3.1)
|
18
18
|
parser (~> 2.2)
|
19
|
-
cool.io (1.4.
|
19
|
+
cool.io (1.4.5)
|
20
20
|
crack (0.4.3)
|
21
21
|
safe_yaml (~> 1.0.0)
|
22
22
|
faraday (0.9.2)
|
@@ -31,7 +31,7 @@ GEM
|
|
31
31
|
tzinfo (>= 1.0.0)
|
32
32
|
tzinfo-data (>= 1.0.0)
|
33
33
|
yajl-ruby (~> 1.0)
|
34
|
-
google-api-client (0.9.
|
34
|
+
google-api-client (0.9.13)
|
35
35
|
addressable (~> 2.3)
|
36
36
|
googleauth (~> 0.5)
|
37
37
|
httpclient (~> 2.7)
|
@@ -40,10 +40,10 @@ GEM
|
|
40
40
|
mime-types (>= 1.6)
|
41
41
|
representable (~> 2.3.0)
|
42
42
|
retriable (~> 2.0)
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
43
|
+
google-protobuf (3.0.0)
|
44
|
+
googleapis-common-protos (1.3.0)
|
45
|
+
google-protobuf (~> 3.0)
|
46
|
+
grpc (~> 1.0)
|
47
47
|
googleauth (0.5.1)
|
48
48
|
faraday (~> 0.9)
|
49
49
|
jwt (~> 1.4)
|
@@ -52,12 +52,12 @@ GEM
|
|
52
52
|
multi_json (~> 1.11)
|
53
53
|
os (~> 0.9)
|
54
54
|
signet (~> 0.7)
|
55
|
-
grpc (0.
|
56
|
-
google-protobuf (~> 3.0
|
55
|
+
grpc (1.0.0)
|
56
|
+
google-protobuf (~> 3.0)
|
57
57
|
googleauth (~> 0.5.1)
|
58
58
|
hashdiff (0.3.0)
|
59
59
|
http_parser.rb (0.6.0)
|
60
|
-
httpclient (2.8.
|
60
|
+
httpclient (2.8.2.3)
|
61
61
|
hurley (0.2)
|
62
62
|
json (1.8.3)
|
63
63
|
jwt (1.5.4)
|
@@ -65,7 +65,7 @@ GEM
|
|
65
65
|
logging (2.1.0)
|
66
66
|
little-plugger (~> 1.1)
|
67
67
|
multi_json (~> 1.10)
|
68
|
-
memoist (0.
|
68
|
+
memoist (0.15.0)
|
69
69
|
metaclass (0.0.4)
|
70
70
|
mime-types (3.1)
|
71
71
|
mime-types-data (~> 3.2015)
|
@@ -102,11 +102,10 @@ GEM
|
|
102
102
|
string-scrub (0.0.5)
|
103
103
|
test-unit (3.2.0)
|
104
104
|
power_assert
|
105
|
-
thor (0.19.1)
|
106
105
|
thread_safe (0.3.5)
|
107
106
|
tzinfo (1.2.2)
|
108
107
|
thread_safe (~> 0.1)
|
109
|
-
tzinfo-data (1.2016.
|
108
|
+
tzinfo-data (1.2016.6)
|
110
109
|
tzinfo (>= 1.0.0)
|
111
110
|
uber (0.0.15)
|
112
111
|
webmock (1.24.6)
|
@@ -10,7 +10,7 @@ eos
|
|
10
10
|
gem.homepage = \
|
11
11
|
'https://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud'
|
12
12
|
gem.license = 'Apache-2.0'
|
13
|
-
gem.version = '0.5.3.grpc.alpha.
|
13
|
+
gem.version = '0.5.3.grpc.alpha.2'
|
14
14
|
gem.authors = ['Todd Derr', 'Alex Robinson']
|
15
15
|
gem.email = ['salty@google.com']
|
16
16
|
gem.required_ruby_version = Gem::Requirement.new('>= 2.0')
|
@@ -20,10 +20,10 @@ eos
|
|
20
20
|
gem.require_paths = ['lib']
|
21
21
|
|
22
22
|
gem.add_runtime_dependency 'fluentd', '~> 0.10', '<= 0.13'
|
23
|
-
gem.add_runtime_dependency 'googleapis-common-protos', '~> 1.
|
23
|
+
gem.add_runtime_dependency 'googleapis-common-protos', '~> 1.3'
|
24
24
|
gem.add_runtime_dependency 'google-api-client', '> 0.9'
|
25
25
|
gem.add_runtime_dependency 'googleauth', '~> 0.4'
|
26
|
-
gem.add_runtime_dependency 'grpc', '~> 0
|
26
|
+
gem.add_runtime_dependency 'grpc', '~> 1.0'
|
27
27
|
gem.add_runtime_dependency 'json', '~> 1.8'
|
28
28
|
|
29
29
|
gem.add_development_dependency 'mocha', '~> 1.1'
|
@@ -19,9 +19,9 @@ require 'time'
|
|
19
19
|
require 'yaml'
|
20
20
|
require 'google/apis'
|
21
21
|
require 'google/apis/logging_v1beta3'
|
22
|
-
require 'google/logging/v1/
|
23
|
-
require 'google/logging/v1/
|
24
|
-
require 'google/logging/v1/
|
22
|
+
require 'google/logging/v1/logging_pb'
|
23
|
+
require 'google/logging/v1/logging_services_pb'
|
24
|
+
require 'google/logging/v1/log_entry_pb'
|
25
25
|
require 'googleauth'
|
26
26
|
|
27
27
|
module Fluent
|
File without changes
|
File without changes
|
@@ -3,11 +3,11 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
-
require 'google/logging/type/
|
7
|
-
require 'google/logging/type/
|
8
|
-
require 'google/protobuf/
|
9
|
-
require 'google/protobuf/
|
10
|
-
require 'google/protobuf/
|
6
|
+
require 'google/logging/type/http_request_pb'
|
7
|
+
require 'google/logging/type/log_severity_pb'
|
8
|
+
require 'google/protobuf/any_pb'
|
9
|
+
require 'google/protobuf/struct_pb'
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
11
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
12
|
add_message "google.logging.v1.LogEntry" do
|
13
13
|
optional :metadata, :message, 1, "google.logging.v1.LogEntryMetadata"
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
|
-
require 'google/logging/v1/
|
7
|
-
require 'google/protobuf/
|
8
|
-
require 'google/protobuf/
|
9
|
-
require 'google/rpc/
|
6
|
+
require 'google/logging/v1/log_entry_pb'
|
7
|
+
require 'google/protobuf/empty_pb'
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
9
|
+
require 'google/rpc/status_pb'
|
10
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
11
|
add_message "google.logging.v1.Log" do
|
12
12
|
optional :name, :string, 1
|
@@ -169,10 +169,6 @@ class GoogleCloudOutputTest < Test::Unit::TestCase
|
|
169
169
|
vm_id #{CUSTOM_VM_ID}
|
170
170
|
)
|
171
171
|
|
172
|
-
USE_GRPC_CONFIG = %(
|
173
|
-
use_grpc true
|
174
|
-
)
|
175
|
-
|
176
172
|
# Service configurations for various services
|
177
173
|
COMPUTE_SERVICE_NAME = 'compute.googleapis.com'
|
178
174
|
APPENGINE_SERVICE_NAME = 'appengine.googleapis.com'
|
@@ -1159,16 +1155,6 @@ class GoogleCloudOutputTest < Test::Unit::TestCase
|
|
1159
1155
|
end
|
1160
1156
|
end
|
1161
1157
|
|
1162
|
-
# TODO
|
1163
|
-
# def test_one_log_grpc
|
1164
|
-
# setup_gce_metadata_stubs
|
1165
|
-
# setup_logging_stubs
|
1166
|
-
# d = create_driver(USE_GRPC_CONFIG)
|
1167
|
-
# d.emit('message' => log_entry(0))
|
1168
|
-
# d.run
|
1169
|
-
# verify_log_entries(1, COMPUTE_PARAMS)
|
1170
|
-
# end
|
1171
|
-
|
1172
1158
|
# Make parse_severity public so we can test it.
|
1173
1159
|
class Fluent::GoogleCloudOutput # rubocop:disable Style/ClassAndModuleChildren
|
1174
1160
|
public :parse_severity
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-google-cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.3.grpc.alpha.
|
4
|
+
version: 0.5.3.grpc.alpha.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Todd Derr
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-09-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fluentd
|
@@ -37,14 +37,14 @@ dependencies:
|
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
40
|
+
version: '1.3'
|
41
41
|
type: :runtime
|
42
42
|
prerelease: false
|
43
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1.
|
47
|
+
version: '1.3'
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: google-api-client
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,14 +79,14 @@ dependencies:
|
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0
|
82
|
+
version: '1.0'
|
83
83
|
type: :runtime
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '0
|
89
|
+
version: '1.0'
|
90
90
|
- !ruby/object:Gem::Dependency
|
91
91
|
name: json
|
92
92
|
requirement: !ruby/object:Gem::Requirement
|
@@ -190,11 +190,11 @@ files:
|
|
190
190
|
- Rakefile
|
191
191
|
- fluent-plugin-google-cloud.gemspec
|
192
192
|
- lib/fluent/plugin/out_google_cloud.rb
|
193
|
-
- lib/google/logging/type/
|
194
|
-
- lib/google/logging/type/
|
195
|
-
- lib/google/logging/v1/
|
196
|
-
- lib/google/logging/v1/
|
197
|
-
- lib/google/logging/v1/
|
193
|
+
- lib/google/logging/type/http_request_pb.rb
|
194
|
+
- lib/google/logging/type/log_severity_pb.rb
|
195
|
+
- lib/google/logging/v1/log_entry_pb.rb
|
196
|
+
- lib/google/logging/v1/logging_pb.rb
|
197
|
+
- lib/google/logging/v1/logging_services_pb.rb
|
198
198
|
- test/helper.rb
|
199
199
|
- test/plugin/data/c31e573fd7f62ed495c9ca3821a5a85cb036dee1-privatekey.p12
|
200
200
|
- test/plugin/data/credentials.json
|