zeebe-client 0.12.1 → 0.13.0

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
  SHA256:
3
- metadata.gz: ca33deb0d1cfdb40a4814745cc0e61f44e477c21c41ee19da439d8515d5dcae5
4
- data.tar.gz: d8058ade9bbdc00a55043c240473534d4829e8a2d7ffd10197a7c370b79ed897
3
+ metadata.gz: 17e37e552793b6e9da2af0ed06224a10c5c85aeb065b123621f7abe422b5101d
4
+ data.tar.gz: 4a0212f29f5d09c31dea91b8796d4f4ae3bff42e6ccfd5dc32eca97530a2b1fb
5
5
  SHA512:
6
- metadata.gz: a8a2db2649ca643094e519123ca2ebaf5676806121af3a9c92333458f07bd2bfa14620888e831a67df6e08a6543655b3467dd2454d0c77d5abcbd3446f7f5ad9
7
- data.tar.gz: 47dd8e5b2ce677168546c2e35efdaa84612d22ccbd79dfd8ceb0815a8ce82f5c0d45ae9c18ba4553b72d3e3d943c73339c4505840d0bf0b70fa3b100ba6421ab
6
+ metadata.gz: 134b6b5d876ce16dfeae427bd24e2b2a4afb8af2a2cf4b368911e3ff37076708d7aa5da911df2b9d7c5a05a774299cba8e15e5eea10deaef9b6f8574701b533f
7
+ data.tar.gz: abddb8c2325a6e4e01aade80b47f61cc9250b10dc9bc1a2463af272cac87e6f3e21440d5fcf418dc4c27e4eeec4946c9c855edbdfc26340b1a2c59d7cb345ff4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.13.0 (February 3, 2021)
4
+
5
+ - add support for [Zeebe 0.26.0](https://github.com/zeebe-io/zeebe/releases/tag/0.26.0)
6
+
3
7
  ## 0.12.1 (December 11, 2020)
4
8
 
5
9
  - add support for [Zeebe 0.25.3](https://github.com/zeebe-io/zeebe/releases/tag/0.25.3)
data/README.md CHANGED
@@ -13,7 +13,7 @@ Install the gem:
13
13
  Run a Zeebe instance locally:
14
14
 
15
15
  ```sh
16
- docker run -it --rm -p 26500:26500 camunda/zeebe:0.25.3
16
+ docker run -it --rm -p 26500:26500 camunda/zeebe:0.26.0
17
17
  ```
18
18
 
19
19
  And then try the available [demo script](examples/demo.rb).
data/Rakefile CHANGED
@@ -13,7 +13,7 @@ task ci: ['zeebe:start', :default, 'zeebe:stop']
13
13
 
14
14
  desc 'Starts Zeebe Docker container'
15
15
  task 'zeebe:start' do
16
- sh 'docker run -d --name zeebe --rm -p 26500:26500 camunda/zeebe:0.25.3'
16
+ sh 'docker run -d --name zeebe --rm -p 26500:26500 camunda/zeebe:0.26.0'
17
17
  sleep(10)
18
18
  end
19
19
 
@@ -137,11 +137,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
137
137
  add_message "gateway_protocol.Partition" do
138
138
  optional :partitionId, :int32, 1
139
139
  optional :role, :enum, 2, "gateway_protocol.Partition.PartitionBrokerRole"
140
+ optional :health, :enum, 3, "gateway_protocol.Partition.PartitionBrokerHealth"
140
141
  end
141
142
  add_enum "gateway_protocol.Partition.PartitionBrokerRole" do
142
143
  value :LEADER, 0
143
144
  value :FOLLOWER, 1
144
145
  end
146
+ add_enum "gateway_protocol.Partition.PartitionBrokerHealth" do
147
+ value :HEALTHY, 0
148
+ value :UNHEALTHY, 1
149
+ end
145
150
  add_message "gateway_protocol.UpdateJobRetriesRequest" do
146
151
  optional :jobKey, :int64, 1
147
152
  optional :retries, :int32, 2
@@ -189,6 +194,7 @@ module Zeebe::Client::GatewayProtocol
189
194
  BrokerInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.BrokerInfo").msgclass
190
195
  Partition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.Partition").msgclass
191
196
  Partition::PartitionBrokerRole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.Partition.PartitionBrokerRole").enummodule
197
+ Partition::PartitionBrokerHealth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.Partition.PartitionBrokerHealth").enummodule
192
198
  UpdateJobRetriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.UpdateJobRetriesRequest").msgclass
193
199
  UpdateJobRetriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.UpdateJobRetriesResponse").msgclass
194
200
  SetVariablesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.SetVariablesRequest").msgclass
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Zeebe
3
3
  module Client
4
- VERSION = '0.12.1'.freeze
4
+ VERSION = '0.13.0'.freeze
5
5
  end
6
6
  end
data/proto/gateway.proto CHANGED
@@ -274,10 +274,18 @@ message Partition {
274
274
  FOLLOWER = 1;
275
275
  }
276
276
 
277
+ // Describes the current health of the partition
278
+ enum PartitionBrokerHealth {
279
+ HEALTHY = 0;
280
+ UNHEALTHY = 1;
281
+ }
282
+
277
283
  // the unique ID of this partition
278
284
  int32 partitionId = 1;
279
285
  // the role of the broker for this partition
280
286
  PartitionBrokerRole role = 2;
287
+ // the health of this partition
288
+ PartitionBrokerHealth health = 3;
281
289
  }
282
290
 
283
291
  message UpdateJobRetriesRequest {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zeebe-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Nicolai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-11 00:00:00.000000000 Z
11
+ date: 2021-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc