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

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: 7d4101bc5a6750985de2c2acc677c1a6feea2fa55637192084ebb7e2924e7fad
4
+ data.tar.gz: 1499c31120fd8406b1728228018f5454fd04bc67c0909fdaf35082c532edd0fe
5
5
  SHA512:
6
- metadata.gz: '05852f543b6b92fc7c7084b3598ce61317288b07046e7bb82b2bf42da4588d6962c060afd33b81c7ff2425562e8a8f9589d4be5c0731b59bd5c2f0481d0ae561'
7
- data.tar.gz: 92713adbf59c5d979359f1d94ab5aa4d563763f23eb7c71c9ff45f9075bcfa532b3d31f428289613e6307488b5bf6b49a20199cbfd8c913651e4006a089e09c8
6
+ metadata.gz: eeffc529ddc5f12e1b8372863405e0aa39d0dd85b503703d0dcf4401bffd3cd017d5632a738e3de23c71721776723b04c505447d30a48d6eaeb91e68f7ace8fd
7
+ data.tar.gz: 197ffa8ab9cb0ae92b8caec3e293dd660b175c3fcf8dc9f227abc4f1bc1f70840ebe4357472d58c0338f75f9e47e9433c8ba4a3257be45d250bbf65206666663
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"
@@ -46,8 +47,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
46
47
  repeated :cells, :message, 1, "gitlab.cells.CellInfo"
47
48
  end
48
49
  add_message "gitlab.cells.ClassifyRequest" do
49
- optional :claim_type, :enum, 1, "gitlab.cells.ClaimType"
50
- optional :claim_value, :string, 2
50
+ optional :match, :enum, 2, "gitlab.cells.ClassifyMatch"
51
+ optional :value, :string, 3
51
52
  end
52
53
  add_message "gitlab.cells.ClassifyResponse" do
53
54
  optional :claim_info, :message, 1, "gitlab.cells.ClaimInfo"
@@ -57,6 +58,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
57
58
  value :Unknown, 0
58
59
  value :Routes, 1
59
60
  end
61
+ add_enum "gitlab.cells.ClassifyMatch" do
62
+ value :Route, 0
63
+ end
60
64
  end
61
65
  end
62
66
 
@@ -74,5 +78,6 @@ module Gitlab
74
78
  ClassifyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.cells.ClassifyRequest").msgclass
75
79
  ClassifyResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.cells.ClassifyResponse").msgclass
76
80
  ClaimType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.cells.ClaimType").enummodule
81
+ ClassifyMatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitlab.cells.ClassifyMatch").enummodule
77
82
  end
78
83
  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,14 +1,14 @@
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.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kamil Trzciński
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-21 00:00:00.000000000 Z
11
+ date: 2024-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc