fluent-plugin-google-cloud 0.6.14 → 0.6.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/fluent-plugin-google-cloud.gemspec +1 -1
- data/lib/fluent/plugin/out_google_cloud.rb +3 -4
- data/test/plugin/base_test.rb +2 -2
- data/test/plugin/constants.rb +2 -2
- data/test/plugin/test_out_google_cloud.rb +1 -1
- data/test/plugin/test_out_google_cloud_grpc.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a893e6f22835b55a791d1c530286733d22d49a0
|
4
|
+
data.tar.gz: ecd9cf870e72ff2c7b2961cfc5f135df8911c941
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9156624b572bbe99385777b01a6f331920f19387aa2631dedbf14e9b2c1395519932f4ae7bcfde2d8098403e302dbebe0b99ee135fc5dcd30bea67af198a3342
|
7
|
+
data.tar.gz: dc2d3c73e3917020de5da358f5bf731068b1b9bc6e7f20e50130e0e2d6ccb2fe506b561ab17f27581ed72032519aec2d5f1223e2be69907f401e45db2525546e
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fluent-plugin-google-cloud (0.6.
|
4
|
+
fluent-plugin-google-cloud (0.6.15)
|
5
5
|
fluentd (~> 0.10)
|
6
6
|
google-api-client (~> 0.17)
|
7
7
|
google-cloud-logging (~> 1.3, >= 1.3.2)
|
@@ -34,7 +34,7 @@ GEM
|
|
34
34
|
tzinfo (~> 1.0)
|
35
35
|
tzinfo-data (~> 1.0)
|
36
36
|
yajl-ruby (~> 1.0)
|
37
|
-
google-api-client (0.19.
|
37
|
+
google-api-client (0.19.5)
|
38
38
|
addressable (~> 2.5, >= 2.5.1)
|
39
39
|
googleauth (>= 0.5, < 0.7.0)
|
40
40
|
httpclient (>= 2.8.1, < 3.0)
|
@@ -55,7 +55,7 @@ GEM
|
|
55
55
|
googleauth (~> 0.6.2)
|
56
56
|
grpc (>= 1.7.2, < 2.0)
|
57
57
|
rly (~> 0.2.3)
|
58
|
-
google-protobuf (3.5.1.
|
58
|
+
google-protobuf (3.5.1.2)
|
59
59
|
googleapis-common-protos (1.3.7)
|
60
60
|
google-protobuf (~> 3.0)
|
61
61
|
googleapis-common-protos-types (~> 1.0)
|
@@ -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.6.
|
13
|
+
gem.version = '0.6.15'
|
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')
|
@@ -198,7 +198,7 @@ module Fluent
|
|
198
198
|
Fluent::Plugin.register_output('google_cloud', self)
|
199
199
|
|
200
200
|
PLUGIN_NAME = 'Fluentd Google Cloud Logging plugin'.freeze
|
201
|
-
PLUGIN_VERSION = '0.6.
|
201
|
+
PLUGIN_VERSION = '0.6.15'.freeze
|
202
202
|
|
203
203
|
# Name of the the Google cloud logging write scope.
|
204
204
|
LOGGING_SCOPE = 'https://www.googleapis.com/auth/logging.write'.freeze
|
@@ -307,9 +307,8 @@ module Fluent
|
|
307
307
|
|
308
308
|
# Whether valid entries should be written even if some other entries fail
|
309
309
|
# due to INVALID_ARGUMENT or PERMISSION_DENIED errors when communicating to
|
310
|
-
# the Stackdriver Logging API. This is highly recommended.
|
311
|
-
|
312
|
-
config_param :partial_success, :bool, :default => false
|
310
|
+
# the Stackdriver Logging API. This is highly recommended.
|
311
|
+
config_param :partial_success, :bool, :default => true
|
313
312
|
|
314
313
|
# Whether to allow non-UTF-8 characters in user logs. If set to true, any
|
315
314
|
# non-UTF-8 character would be replaced by the string specified by
|
data/test/plugin/base_test.rb
CHANGED
@@ -107,8 +107,8 @@ module BaseTest
|
|
107
107
|
def test_configure_partial_success
|
108
108
|
setup_gce_metadata_stubs
|
109
109
|
{
|
110
|
-
APPLICATION_DEFAULT_CONFIG =>
|
111
|
-
|
110
|
+
APPLICATION_DEFAULT_CONFIG => true,
|
111
|
+
PARTIAL_SUCCESS_DISABLED_CONFIG => false
|
112
112
|
}.each do |(config, partial_success)|
|
113
113
|
d = create_driver(config)
|
114
114
|
assert_equal partial_success,
|
data/test/plugin/constants.rb
CHANGED
@@ -61,7 +61,7 @@ class GoogleCloudOutputTest < Test::Unit::TestCase
|
|
61
61
|
stub_request(:post, WRITE_LOG_ENTRIES_URI)
|
62
62
|
.to_return(status: root_error_code,
|
63
63
|
body: PARTIAL_SUCCESS_RESPONSE_BODY.to_json)
|
64
|
-
d = create_driver(PROMETHEUS_ENABLE_CONFIG
|
64
|
+
d = create_driver(PROMETHEUS_ENABLE_CONFIG)
|
65
65
|
4.times do |i|
|
66
66
|
d.emit('message' => log_entry(i.to_s))
|
67
67
|
end
|
@@ -59,7 +59,7 @@ class GoogleCloudOutputGRPCTest < Test::Unit::TestCase
|
|
59
59
|
'User not authorized.', PARTIAL_SUCCESS_GRPC_METADATA) do
|
60
60
|
# The API Client should not retry this and the plugin should consume
|
61
61
|
# the exception.
|
62
|
-
d = create_driver(PROMETHEUS_ENABLE_CONFIG
|
62
|
+
d = create_driver(PROMETHEUS_ENABLE_CONFIG)
|
63
63
|
4.times do |i|
|
64
64
|
d.emit('message' => log_entry(i.to_s))
|
65
65
|
end
|
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.6.
|
4
|
+
version: 0.6.15
|
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: 2018-01-
|
12
|
+
date: 2018-01-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fluentd
|
@@ -249,7 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
249
249
|
version: '0'
|
250
250
|
requirements: []
|
251
251
|
rubyforge_project:
|
252
|
-
rubygems_version: 2.
|
252
|
+
rubygems_version: 2.6.8
|
253
253
|
signing_key:
|
254
254
|
specification_version: 4
|
255
255
|
summary: fluentd output plugin for the Stackdriver Logging API
|