gitlab-global-service-client-poc 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f33a5c230a15d87035d6878b3632f5934a64f6aaf3f411a60d6080a08069b4e0
4
- data.tar.gz: d96b6ccfa08778080330d1cf25fc52388d4819ed4849b5c8ce622408a89ba02a
3
+ metadata.gz: e297978df8062a578d6046dee7421835f7da70561a0cc1c952b8836d7589b708
4
+ data.tar.gz: 98527ace4f86f3aa37202b0ddbec020dbd7b97a606e21da767454a5095dea253
5
5
  SHA512:
6
- metadata.gz: '05852f543b6b92fc7c7084b3598ce61317288b07046e7bb82b2bf42da4588d6962c060afd33b81c7ff2425562e8a8f9589d4be5c0731b59bd5c2f0481d0ae561'
7
- data.tar.gz: 92713adbf59c5d979359f1d94ab5aa4d563763f23eb7c71c9ff45f9075bcfa532b3d31f428289613e6307488b5bf6b49a20199cbfd8c913651e4006a089e09c8
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 :claim_value, :string, 2
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 :claim_value, :string, 3
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 :claim_value, :string, 2
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
@@ -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 :GetClaim, Gitlab::Cells::ClaimRequest, Gitlab::Cells::ClaimsResponse
24
+ rpc :GetClaims, Gitlab::Cells::ClaimRequest, Gitlab::Cells::ClaimsResponse
23
25
  rpc :DeleteClaim, Gitlab::Cells::ClaimRequest, Gitlab::Cells::ClaimsResponse
24
- rpc :ClassifyEndpoint, Gitlab::Cells::ClassifyRequest, Gitlab::Cells::ClassifyResponse
26
+ rpc :Classify, Gitlab::Cells::ClassifyRequest, Gitlab::Cells::ClassifyResponse
25
27
  end
26
28
 
27
29
  Stub = Service.rpc_stub_class
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-global-service-client-poc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kamil Trzciński