cf-copilot 0.0.13 → 0.0.14

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: 269865176708a705ed2d0f3b2a2ad84461cf7a57
4
- data.tar.gz: f17028b7c22a936bfc89ae230fca77d0397b7d87
3
+ metadata.gz: 813448254f2b4355f0f2946e674cada3a774de57
4
+ data.tar.gz: 18290968ee76e2392e2c265a4512d5125867a2bc
5
5
  SHA512:
6
- metadata.gz: 00de273ffd184a13efd6605537d325a737127117fd39ca1243182e284e3f93b2eba058825fc9436953c52c9bc884d26041e09b42ba045a9d721c433db1b5c7ec
7
- data.tar.gz: 4f89fef2d39c84a72eb66bc150655bb354250dc3a2a2d0de69829c01fc64d06208cca35a09c3a7dd44859c861b6b7ab1e4f39baed9422a77b88b9240bb5815eb
6
+ metadata.gz: 242b3a813e25e375d866d8e6067fbf91d3447df920647c028d73d10500f0a9d39f08b75dc6944af98bcfacba2e35381074ab19495c20ac8973fe05d29507cf42
7
+ data.tar.gz: fda8a29c9155380ede89ec1e7947a720910debb5607898ed866b8d9c7630e4740d24ee1bfad1f4980969d4ac10159e8f20fdd4c6eb68db9eb78850fbdbd05b1b
data/README.md CHANGED
@@ -12,7 +12,6 @@ pushd sdk/ruby
12
12
  popd
13
13
  ```
14
14
 
15
-
16
15
  ### How to build and install the `cf-copilot` ruby gem
17
16
  ```
18
17
  pushd sdk/ruby
@@ -45,16 +45,16 @@ module Cloudfoundry
45
45
  raise Cloudfoundry::Copilot::Client::PilotError, "#{e.details} - #{e.metadata}"
46
46
  end
47
47
 
48
- def map_route(capi_process_guid:, route_guid:, route_weight:, app_port:)
49
- route_mapping = Api::RouteMapping.new(capi_process_guid: capi_process_guid, route_guid: route_guid, route_weight: route_weight, app_port: app_port)
48
+ def map_route(capi_process_guid:, route_guid:, route_weight:)
49
+ route_mapping = Api::RouteMapping.new(capi_process_guid: capi_process_guid, route_guid: route_guid, route_weight: route_weight)
50
50
  request = Api::MapRouteRequest.new(route_mapping: route_mapping)
51
51
  service.map_route(request)
52
52
  rescue GRPC::BadStatus => e
53
53
  raise Cloudfoundry::Copilot::Client::PilotError, "#{e.details} - #{e.metadata}"
54
54
  end
55
55
 
56
- def unmap_route(capi_process_guid:, route_guid:, route_weight:, app_port:)
57
- route_mapping = Api::RouteMapping.new(capi_process_guid: capi_process_guid, route_guid: route_guid, route_weight: route_weight, app_port: app_port)
56
+ def unmap_route(capi_process_guid:, route_guid:, route_weight:)
57
+ route_mapping = Api::RouteMapping.new(capi_process_guid: capi_process_guid, route_guid: route_guid, route_weight: route_weight)
58
58
  request = Api::UnmapRouteRequest.new(route_mapping: route_mapping)
59
59
  service.unmap_route(request)
60
60
  rescue GRPC::BadStatus => e
@@ -44,7 +44,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
44
44
  optional :capi_process_guid, :string, 1
45
45
  optional :route_guid, :string, 2
46
46
  optional :route_weight, :uint32, 3
47
- optional :app_port, :int32, 4
48
47
  end
49
48
  add_message "api.MapRouteRequest" do
50
49
  optional :route_mapping, :message, 1, "api.RouteMapping"
@@ -1,5 +1,5 @@
1
1
  module Cloudfoundry
2
2
  module Copilot
3
- VERSION = '0.0.13'.freeze
3
+ VERSION = '0.0.14'.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.13
4
+ version: 0.0.14
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: 2019-05-23 00:00:00.000000000 Z
11
+ date: 2019-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc