gitlab-global-service-client-poc 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/proto/gs_pb.rb +13 -3
- data/lib/proto/gs_services_pb.rb +4 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e297978df8062a578d6046dee7421835f7da70561a0cc1c952b8836d7589b708
|
4
|
+
data.tar.gz: 98527ace4f86f3aa37202b0ddbec020dbd7b97a606e21da767454a5095dea253
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1727fc1c1dea2a8765f2a00877bd3db625ba2e134319ebbde9a63a882292ab3c0d6d0b890c7c724f8a08a3d995e6146887bb0dace288ae5db2fc4ecd779f123
|
7
|
+
data.tar.gz: 448bfd580db0358038e5929e663a7d62d1001ea6583737e12f770919367d798d337fbba466ae440ec8785b5ddcc7eb1d63127771fc781d186e4d096cfec15ddd
|
data/lib/proto/gs_pb.rb
CHANGED
@@ -18,16 +18,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
18
18
|
end
|
19
19
|
add_message "gitlab.cells.ClaimRequest" do
|
20
20
|
optional :claim_type, :enum, 1, "gitlab.cells.ClaimType"
|
21
|
-
optional :
|
21
|
+
optional :claim_name, :string, 2
|
22
22
|
optional :resource_type, :string, 3
|
23
23
|
optional :resource_id, :int64, 4
|
24
24
|
end
|
25
25
|
add_message "gitlab.cells.ClaimInfo" do
|
26
26
|
optional :id, :int64, 1
|
27
27
|
optional :claim_type, :enum, 2, "gitlab.cells.ClaimType"
|
28
|
-
optional :
|
28
|
+
optional :claim_name, :string, 3
|
29
29
|
optional :resource_type, :string, 4
|
30
30
|
optional :resource_id, :int64, 5
|
31
|
+
optional :cell_id, :int64, 6
|
31
32
|
end
|
32
33
|
add_message "gitlab.cells.ClaimResponse" do
|
33
34
|
optional :claim, :message, 1, "gitlab.cells.ClaimInfo"
|
@@ -47,7 +48,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
47
48
|
end
|
48
49
|
add_message "gitlab.cells.ClassifyRequest" do
|
49
50
|
optional :claim_type, :enum, 1, "gitlab.cells.ClaimType"
|
50
|
-
optional :
|
51
|
+
optional :match, :enum, 2, "gitlab.cells.ClassifyMatch"
|
52
|
+
proto3_optional :value, :string, 3
|
53
|
+
proto3_optional :filter_resource_type, :string, 4
|
51
54
|
end
|
52
55
|
add_message "gitlab.cells.ClassifyResponse" do
|
53
56
|
optional :claim_info, :message, 1, "gitlab.cells.ClaimInfo"
|
@@ -57,6 +60,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
57
60
|
value :Unknown, 0
|
58
61
|
value :Routes, 1
|
59
62
|
end
|
63
|
+
add_enum "gitlab.cells.ClassifyMatch" do
|
64
|
+
value :Name, 0
|
65
|
+
value :ResourceID, 1
|
66
|
+
value :NameOrResourceID, 2
|
67
|
+
value :UrlEncodedNameOrResourceID, 3
|
68
|
+
end
|
60
69
|
end
|
61
70
|
end
|
62
71
|
|
@@ -74,5 +83,6 @@ module Gitlab
|
|
74
83
|
ClassifyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.cells.ClassifyRequest").msgclass
|
75
84
|
ClassifyResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.cells.ClassifyResponse").msgclass
|
76
85
|
ClaimType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.cells.ClaimType").enummodule
|
86
|
+
ClassifyMatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.cells.ClassifyMatch").enummodule
|
77
87
|
end
|
78
88
|
end
|
data/lib/proto/gs_services_pb.rb
CHANGED
@@ -15,13 +15,15 @@ module Gitlab
|
|
15
15
|
self.unmarshal_class_method = :decode
|
16
16
|
self.service_name = 'gitlab.cells.GlobalService'
|
17
17
|
|
18
|
+
rpc :ClaimCell, Gitlab::Cells::CellInfo, Gitlab::Cells::CellInfo
|
19
|
+
rpc :GetCell, Gitlab::Cells::CellInfo, Gitlab::Cells::CellInfo
|
18
20
|
rpc :GetCells, Gitlab::Cells::CellsRequest, Gitlab::Cells::CellsResponse
|
19
21
|
rpc :RequestSequence, Gitlab::Cells::SequenceRequest, Gitlab::Cells::SequenceResponse
|
20
22
|
rpc :ValidateSequence, Gitlab::Cells::SequenceResponse, Gitlab::Cells::SequenceResponse
|
21
23
|
rpc :RequestClaim, Gitlab::Cells::ClaimRequest, Gitlab::Cells::ClaimResponse
|
22
|
-
rpc :
|
24
|
+
rpc :GetClaims, Gitlab::Cells::ClaimRequest, Gitlab::Cells::ClaimsResponse
|
23
25
|
rpc :DeleteClaim, Gitlab::Cells::ClaimRequest, Gitlab::Cells::ClaimsResponse
|
24
|
-
rpc :
|
26
|
+
rpc :Classify, Gitlab::Cells::ClassifyRequest, Gitlab::Cells::ClassifyResponse
|
25
27
|
end
|
26
28
|
|
27
29
|
Stub = Service.rpc_stub_class
|