cf-copilot 0.0.2 → 0.0.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 651ed652ed54626994734f86ee06512083462f86
|
4
|
+
data.tar.gz: 9e2a059983f0e0a3947697eaa670bbfc4f2c3c58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e01bf34405aa7271c2c2901faede410c9b9f148b86f007fc0f7f391c3cba00cd92b2f46bf15b2f5494bcf72a989a2248edf0f349f01f40387f7a7f1d0d6260e
|
7
|
+
data.tar.gz: 8c9306ca2ce3922603d30b0632ddfa4078ff9c584b4dbb9776f455927bab928c4d1dde9cf685f6524a36c53f70ee936bfc83ed78abd0ebcc1a670bb181054ad0
|
data/lib/cf-copilot.rb
CHANGED
@@ -64,12 +64,12 @@ module Cloudfoundry
|
|
64
64
|
service.delete_capi_diego_process_association(request)
|
65
65
|
end
|
66
66
|
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
67
|
+
def bulk_sync(routes:, route_mappings:, capi_diego_process_associations:)
|
68
|
+
request = Api::BulkSyncRequest.new(
|
69
|
+
routes: routes,
|
70
|
+
route_mappings: route_mappings,
|
71
|
+
capi_diego_process_associations: capi_diego_process_associations
|
72
|
+
)
|
73
73
|
service.bulk_sync(request)
|
74
74
|
end
|
75
75
|
|
@@ -65,6 +65,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
65
65
|
end
|
66
66
|
add_message "api.DeleteCapiDiegoProcessAssociationResponse" do
|
67
67
|
end
|
68
|
+
add_message "api.BulkSyncRequest" do
|
69
|
+
repeated :route_mappings, :message, 1, "api.RouteMapping"
|
70
|
+
repeated :routes, :message, 2, "api.Route"
|
71
|
+
repeated :capi_diego_process_associations, :message, 3, "api.CapiDiegoProcessAssociation"
|
72
|
+
end
|
73
|
+
add_message "api.BulkSyncResponse" do
|
74
|
+
end
|
68
75
|
end
|
69
76
|
|
70
77
|
module Api
|
@@ -90,4 +97,6 @@ module Api
|
|
90
97
|
UpsertCapiDiegoProcessAssociationResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("api.UpsertCapiDiegoProcessAssociationResponse").msgclass
|
91
98
|
DeleteCapiDiegoProcessAssociationRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("api.DeleteCapiDiegoProcessAssociationRequest").msgclass
|
92
99
|
DeleteCapiDiegoProcessAssociationResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("api.DeleteCapiDiegoProcessAssociationResponse").msgclass
|
100
|
+
BulkSyncRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("api.BulkSyncRequest").msgclass
|
101
|
+
BulkSyncResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("api.BulkSyncResponse").msgclass
|
93
102
|
end
|
@@ -23,6 +23,7 @@ module Api
|
|
23
23
|
rpc :UnmapRoute, UnmapRouteRequest, UnmapRouteResponse
|
24
24
|
rpc :UpsertCapiDiegoProcessAssociation, UpsertCapiDiegoProcessAssociationRequest, UpsertCapiDiegoProcessAssociationResponse
|
25
25
|
rpc :DeleteCapiDiegoProcessAssociation, DeleteCapiDiegoProcessAssociationRequest, DeleteCapiDiegoProcessAssociationResponse
|
26
|
+
rpc :BulkSync, BulkSyncRequest, BulkSyncResponse
|
26
27
|
rpc :Health, HealthRequest, HealthResponse
|
27
28
|
end
|
28
29
|
|
data/lib/copilot/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.3
|
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-
|
11
|
+
date: 2018-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|