cf-copilot 0.0.8 → 0.0.9

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: 90d3fef7a0568e95f87db4c5ddf416ba43f097a4
4
- data.tar.gz: 7486c50e5e5c8fe467b83248a0624f7c27e271ae
3
+ metadata.gz: fef3bb928b89e79083b4b981d60287af514d420a
4
+ data.tar.gz: 74df4427431b6383ef4ca66bd2835de55b29fd23
5
5
  SHA512:
6
- metadata.gz: 2fca16925da4da8d0a1a8b62e32d6781f95dfb82e3c1d519b42b8d4a46685a0c02504ecb83278ba308a5864f38918e21b1d024524450d9072e62f9ab9fcc6f7d
7
- data.tar.gz: fc16fbc427c4dca9a86cdeba85782478bd4f2d0c19ccc2a5640050f527ed245918e0655aa9d55aafb54f2ff5980c9daff1ff15c7be88f6dcef722387820aa143
6
+ metadata.gz: 1e0e5a1abf10dd98130d9420313ff8a4d6f7c23b8d735b779a5cebafdc03c43a39a7a67566309fd48f54dc5ca24f2eca2313585c2b4224f4b31b0d68b9ce665f
7
+ data.tar.gz: d7096904bf85e1cfb31d47cc8e995cfc4c59982e97428dd6923980884127cb359783784e000474d9a6cf05ee58845f87b0257c4ce37e8756fab005c3b2e82ecd
@@ -95,8 +95,15 @@ module Cloudfoundry
95
95
  @tls_credentials ||= GRPC::Core::ChannelCredentials.new(@client_ca, @client_key, @client_chain)
96
96
  end
97
97
 
98
+ def compression_options
99
+ @compression_options ||= GRPC::Core::CompressionOptions.new(
100
+ default_algorithm: :gzip,
101
+ default_level: :low
102
+ )
103
+ end
104
+
98
105
  def service
99
- @service ||= Api::CloudControllerCopilot::Stub.new(@url, tls_credentials, timeout: @timeout)
106
+ @service ||= Api::CloudControllerCopilot::Stub.new(@url, tls_credentials, channel_args: compression_options.to_hash, timeout: @timeout)
100
107
  end
101
108
  end
102
109
  end
@@ -1,5 +1,5 @@
1
1
  module Cloudfoundry
2
2
  module Copilot
3
- VERSION = '0.0.8'.freeze
3
+ VERSION = '0.0.9'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cf-copilot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cloud Foundry Routing Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-26 00:00:00.000000000 Z
11
+ date: 2018-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  version: '0'
122
122
  requirements: []
123
123
  rubyforge_project:
124
- rubygems_version: 2.5.1
124
+ rubygems_version: 2.6.13
125
125
  signing_key:
126
126
  specification_version: 4
127
127
  summary: Ruby client for copilot (a CF istio data transformer).