zeebe-client 0.8.0 → 0.9.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: 96ba28052b1e13576e4bd3c222fcfcc77fd245accb93ccb5a8d0e1319f858731
4
- data.tar.gz: a5a3cd78b8c1cca57da05ca2ac7270bcb6fb344ba6d2eb4a8be54d06b9e39c38
3
+ metadata.gz: b7e54e18715e6c18db7bb25d48d203197de7499d8d78b1b2dcf6d4cd90ad6051
4
+ data.tar.gz: f9a2b0f3fa20feefdf4aa094a22184cf0ba5734bfd1fe36357570ce0a556eed0
5
5
  SHA512:
6
- metadata.gz: 43b8b2e199a439758d2ff2df6a225003ecdb401a9e03cfd04ebf08c0c79fdd8ffaca41076b84c8d4ffc31db5d4e2ce1d470cd4b03b91bbd0edcc03f6901598bf
7
- data.tar.gz: 80a4a2f647c2d32dbd2fa793c8df8fa8fe9f187ccc5826228aeb2d8171bd526c25887c6ceeb6c6ba2d683684f403e58045f217b949d8c075fa11f8983081d385
6
+ metadata.gz: 29536ce1bc542b77f13bce276745ec754cbe07fe66e5810c4244fe909179340f99ef9971039c99d9c963a2363b722dbdf87274dceb9dace7446da4189df81863
7
+ data.tar.gz: 1f4c84a0abee11aebf8d37910548d47b11ec3f05f59488788928f3cba869bd983e83e55a4a46a5a1c1dc3f0fef03c867bd3f429e1d224f8e83613bae79c75d96
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
1
  .DS_Store
2
2
  *.lock
3
3
  pkg/*
4
+ .yardoc
@@ -1,17 +1,10 @@
1
- inherit_from: .rubocop_todo.yml
2
-
1
+ ---
3
2
  AllCops:
4
3
  TargetRubyVersion: '2.3'
5
4
  Exclude:
6
5
  - 'examples/*'
7
6
  - 'lib/zeebe/client/proto/*'
8
7
 
9
- Gemspec/OrderedDependencies:
10
- Enabled: false
11
-
12
- Layout/AlignHash:
13
- Enabled: false
14
-
15
8
  Layout/EmptyLineAfterGuardClause:
16
9
  Enabled: false
17
10
 
@@ -19,9 +12,15 @@ Layout/EmptyLineAfterGuardClause:
19
12
  Layout/EmptyLinesAroundArguments:
20
13
  Enabled: false
21
14
 
22
- Layout/LeadingBlankLines:
15
+ Layout/HashAlignment:
16
+ Enabled: false
17
+
18
+ Layout/LeadingEmptyLines:
23
19
  Enabled: false
24
20
 
21
+ Layout/LineLength:
22
+ Max: 200
23
+
25
24
  Layout/SpaceInsideHashLiteralBraces:
26
25
  Enabled: false
27
26
 
@@ -37,19 +36,16 @@ Metrics/ClassLength:
37
36
  Metrics/CyclomaticComplexity:
38
37
  Enabled: false
39
38
 
40
- Metrics/LineLength:
41
- Max: 200
42
-
43
39
  Metrics/MethodLength:
44
40
  Enabled: false
45
41
 
46
42
  Metrics/PerceivedComplexity:
47
43
  Enabled: false
48
44
 
49
- Naming/UncommunicativeMethodParamName:
45
+ Naming/MemoizedInstanceVariableName:
50
46
  Enabled: false
51
47
 
52
- Naming/MemoizedInstanceVariableName:
48
+ Naming/MethodParameterName:
53
49
  Enabled: false
54
50
 
55
51
  Style/ConditionalAssignment:
@@ -67,6 +63,15 @@ Style/FrozenStringLiteralComment:
67
63
  Style/GuardClause:
68
64
  Enabled: false
69
65
 
66
+ Style/HashEachMethods:
67
+ Enabled: true
68
+
69
+ Style/HashTransformKeys:
70
+ Enabled: true
71
+
72
+ Style/HashTransformValues:
73
+ Enabled: true
74
+
70
75
  Style/IdenticalConditionalBranches:
71
76
  Enabled: false
72
77
 
@@ -0,0 +1,15 @@
1
+ ---
2
+ include:
3
+ - "**/*.rb"
4
+ exclude:
5
+ - spec/**/*
6
+ - test/**/*
7
+ - vendor/**/*
8
+ - ".bundle/**/*"
9
+ require: []
10
+ domains: []
11
+ reporters:
12
+ - rubocop
13
+ - require_not_found
14
+ require_paths: []
15
+ max_files: 5000
@@ -1,13 +1,20 @@
1
1
  ---
2
+ os: linux
2
3
  language: ruby
3
4
  rvm:
4
- - 2.5
5
- - 2.4
6
- - 2.3
7
- - 2.6
5
+ - 2.7
6
+ - 2.6
7
+ - 2.5
8
+ - 2.4
9
+ - 2.3
10
+
11
+ jobs:
12
+ fast_finish: true
13
+ allow_failures:
14
+ - rvm: 2.7
8
15
 
9
16
  services:
10
- - docker
17
+ - docker
11
18
 
12
19
  script:
13
- - bundle exec rake travis
20
+ - bundle exec rake travis
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.9.0 (March 2, 2020)
4
+
5
+ - add support for [Zeebe 0.22.1](https://github.com/zeebe-io/zeebe/releases/tag/0.22.1)
6
+
3
7
  ## 0.8.0 (October 9, 2019)
4
8
 
5
9
  - add support for [Zeebe 0.21.1](https://github.com/zeebe-io/zeebe/releases/tag/0.21.1)
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.21.1
16
+ docker run -it --rm -p 26500:26500 camunda/zeebe:0.22.1
17
17
  ```
18
18
 
19
19
  And then try the available [demo script](examples/demo.rb).
data/Rakefile CHANGED
@@ -13,7 +13,7 @@ task travis: ['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.21.1'
16
+ sh 'docker run -d --name zeebe --rm -p 26500:26500 camunda/zeebe:0.22.1'
17
17
  sleep(5)
18
18
  end
19
19
 
@@ -54,6 +54,18 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
54
54
  optional :version, :int32, 3
55
55
  optional :workflowInstanceKey, :int64, 4
56
56
  end
57
+ add_message "gateway_protocol.CreateWorkflowInstanceWithResultRequest" do
58
+ optional :request, :message, 1, "gateway_protocol.CreateWorkflowInstanceRequest"
59
+ optional :requestTimeout, :int64, 2
60
+ repeated :fetchVariables, :string, 3
61
+ end
62
+ add_message "gateway_protocol.CreateWorkflowInstanceWithResultResponse" do
63
+ optional :workflowKey, :int64, 1
64
+ optional :bpmnProcessId, :string, 2
65
+ optional :version, :int32, 3
66
+ optional :workflowInstanceKey, :int64, 4
67
+ optional :variables, :string, 5
68
+ end
57
69
  add_message "gateway_protocol.DeployWorkflowRequest" do
58
70
  repeated :workflows, :message, 1, "gateway_protocol.WorkflowRequestObject"
59
71
  end
@@ -84,6 +96,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
84
96
  end
85
97
  add_message "gateway_protocol.FailJobResponse" do
86
98
  end
99
+ add_message "gateway_protocol.ThrowErrorRequest" do
100
+ optional :jobKey, :int64, 1
101
+ optional :errorCode, :string, 2
102
+ optional :errorMessage, :string, 3
103
+ end
104
+ add_message "gateway_protocol.ThrowErrorResponse" do
105
+ end
87
106
  add_message "gateway_protocol.PublishMessageRequest" do
88
107
  optional :name, :string, 1
89
108
  optional :correlationKey, :string, 2
@@ -132,38 +151,43 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
132
151
  optional :local, :bool, 3
133
152
  end
134
153
  add_message "gateway_protocol.SetVariablesResponse" do
154
+ optional :key, :int64, 1
135
155
  end
136
156
  end
137
157
  end
138
158
 
139
159
  module Zeebe::Client::GatewayProtocol
140
- ActivateJobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ActivateJobsRequest").msgclass
141
- ActivateJobsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ActivateJobsResponse").msgclass
142
- ActivatedJob = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ActivatedJob").msgclass
143
- CancelWorkflowInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.CancelWorkflowInstanceRequest").msgclass
144
- CancelWorkflowInstanceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.CancelWorkflowInstanceResponse").msgclass
145
- CompleteJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.CompleteJobRequest").msgclass
146
- CompleteJobResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.CompleteJobResponse").msgclass
147
- CreateWorkflowInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.CreateWorkflowInstanceRequest").msgclass
148
- CreateWorkflowInstanceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.CreateWorkflowInstanceResponse").msgclass
149
- DeployWorkflowRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.DeployWorkflowRequest").msgclass
150
- WorkflowRequestObject = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.WorkflowRequestObject").msgclass
151
- WorkflowRequestObject::ResourceType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.WorkflowRequestObject.ResourceType").enummodule
152
- DeployWorkflowResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.DeployWorkflowResponse").msgclass
153
- WorkflowMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.WorkflowMetadata").msgclass
154
- FailJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.FailJobRequest").msgclass
155
- FailJobResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.FailJobResponse").msgclass
156
- PublishMessageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.PublishMessageRequest").msgclass
157
- PublishMessageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.PublishMessageResponse").msgclass
158
- ResolveIncidentRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ResolveIncidentRequest").msgclass
159
- ResolveIncidentResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ResolveIncidentResponse").msgclass
160
- TopologyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.TopologyRequest").msgclass
161
- TopologyResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.TopologyResponse").msgclass
162
- BrokerInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.BrokerInfo").msgclass
163
- Partition = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.Partition").msgclass
164
- Partition::PartitionBrokerRole = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.Partition.PartitionBrokerRole").enummodule
165
- UpdateJobRetriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.UpdateJobRetriesRequest").msgclass
166
- UpdateJobRetriesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.UpdateJobRetriesResponse").msgclass
167
- SetVariablesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.SetVariablesRequest").msgclass
168
- SetVariablesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.SetVariablesResponse").msgclass
160
+ ActivateJobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ActivateJobsRequest").msgclass
161
+ ActivateJobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ActivateJobsResponse").msgclass
162
+ ActivatedJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ActivatedJob").msgclass
163
+ CancelWorkflowInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.CancelWorkflowInstanceRequest").msgclass
164
+ CancelWorkflowInstanceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.CancelWorkflowInstanceResponse").msgclass
165
+ CompleteJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.CompleteJobRequest").msgclass
166
+ CompleteJobResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.CompleteJobResponse").msgclass
167
+ CreateWorkflowInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.CreateWorkflowInstanceRequest").msgclass
168
+ CreateWorkflowInstanceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.CreateWorkflowInstanceResponse").msgclass
169
+ CreateWorkflowInstanceWithResultRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.CreateWorkflowInstanceWithResultRequest").msgclass
170
+ CreateWorkflowInstanceWithResultResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.CreateWorkflowInstanceWithResultResponse").msgclass
171
+ DeployWorkflowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.DeployWorkflowRequest").msgclass
172
+ WorkflowRequestObject = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.WorkflowRequestObject").msgclass
173
+ WorkflowRequestObject::ResourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.WorkflowRequestObject.ResourceType").enummodule
174
+ DeployWorkflowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.DeployWorkflowResponse").msgclass
175
+ WorkflowMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.WorkflowMetadata").msgclass
176
+ FailJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.FailJobRequest").msgclass
177
+ FailJobResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.FailJobResponse").msgclass
178
+ ThrowErrorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ThrowErrorRequest").msgclass
179
+ ThrowErrorResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ThrowErrorResponse").msgclass
180
+ PublishMessageRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.PublishMessageRequest").msgclass
181
+ PublishMessageResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.PublishMessageResponse").msgclass
182
+ ResolveIncidentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ResolveIncidentRequest").msgclass
183
+ ResolveIncidentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ResolveIncidentResponse").msgclass
184
+ TopologyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.TopologyRequest").msgclass
185
+ TopologyResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.TopologyResponse").msgclass
186
+ BrokerInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.BrokerInfo").msgclass
187
+ Partition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.Partition").msgclass
188
+ Partition::PartitionBrokerRole = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.Partition.PartitionBrokerRole").enummodule
189
+ UpdateJobRetriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.UpdateJobRetriesRequest").msgclass
190
+ UpdateJobRetriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.UpdateJobRetriesResponse").msgclass
191
+ SetVariablesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.SetVariablesRequest").msgclass
192
+ SetVariablesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.SetVariablesResponse").msgclass
169
193
  end
@@ -66,6 +66,9 @@ module Zeebe::Client::GatewayProtocol
66
66
  # JSON document where the root node is an object.
67
67
  rpc :CreateWorkflowInstance, CreateWorkflowInstanceRequest, CreateWorkflowInstanceResponse
68
68
  #
69
+ # Behaves similarly to `rpc CreateWorkflowInstance`, except that a successful response is received when the workflow completes successfully.
70
+ rpc :CreateWorkflowInstanceWithResult, CreateWorkflowInstanceWithResultRequest, CreateWorkflowInstanceWithResultResponse
71
+ #
69
72
  # Deploys one or more workflows to Zeebe. Note that this is an atomic call,
70
73
  # i.e. either all workflows are deployed, or none of them are.
71
74
  #
@@ -92,6 +95,16 @@ module Zeebe::Client::GatewayProtocol
92
95
  # - the job is already in a failed state, i.e. ran out of retries
93
96
  rpc :FailJob, FailJobRequest, FailJobResponse
94
97
  #
98
+ # Reports a business error (i.e. non-technical) that occurs while processing a job. The error is handled in the workflow by an error catch event. If there is no error catch event with the specified errorCode then an incident will be raised instead.
99
+ #
100
+ # Errors:
101
+ # NOT_FOUND:
102
+ # - no job was found with the given key
103
+ #
104
+ # FAILED_PRECONDITION:
105
+ # - the job is not in an activated state
106
+ rpc :ThrowError, ThrowErrorRequest, ThrowErrorResponse
107
+ #
95
108
  # Publishes a single message. Messages are published to specific partitions computed from their
96
109
  # correlation keys.
97
110
  #
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Zeebe
3
3
  module Client
4
- VERSION = '0.8.0'.freeze
4
+ VERSION = '0.9.0'.freeze
5
5
  end
6
6
  end
@@ -113,6 +113,34 @@ message CreateWorkflowInstanceResponse {
113
113
  int64 workflowInstanceKey = 4;
114
114
  }
115
115
 
116
+ message CreateWorkflowInstanceWithResultRequest {
117
+ CreateWorkflowInstanceRequest request = 1;
118
+ // timeout in milliseconds. the request will be closed if the workflow is not completed
119
+ // before the requestTimeout.
120
+ // if requestTimeout = 0, uses the generic requestTimeout configured in the gateway.
121
+ int64 requestTimeout = 2;
122
+ // list of names of variables to be included in `CreateWorkflowInstanceWithResultResponse.variables`
123
+ // if empty, all visible variables in the root scope will be returned.
124
+ repeated string fetchVariables = 3;
125
+ }
126
+
127
+ message CreateWorkflowInstanceWithResultResponse {
128
+ // the key of the workflow definition which was used to create the workflow instance
129
+ int64 workflowKey = 1;
130
+ // the BPMN process ID of the workflow definition which was used to create the workflow
131
+ // instance
132
+ string bpmnProcessId = 2;
133
+ // the version of the workflow definition which was used to create the workflow instance
134
+ int32 version = 3;
135
+ // the unique identifier of the created workflow instance; to be used wherever a request
136
+ // needs a workflow instance key (e.g. CancelWorkflowInstanceRequest)
137
+ int64 workflowInstanceKey = 4;
138
+ // JSON document
139
+ // consists of visible variables in the root scope
140
+ string variables = 5;
141
+
142
+ }
143
+
116
144
  message DeployWorkflowRequest {
117
145
  // List of workflow resources to deploy
118
146
  repeated WorkflowRequestObject workflows = 1;
@@ -170,6 +198,18 @@ message FailJobRequest {
170
198
  message FailJobResponse {
171
199
  }
172
200
 
201
+ message ThrowErrorRequest {
202
+ // the unique job identifier, as obtained when activating the job
203
+ int64 jobKey = 1;
204
+ // the error code that will be matched with an error catch event
205
+ string errorCode = 2;
206
+ // an optional error message that provides additional context
207
+ string errorMessage = 3;
208
+ }
209
+
210
+ message ThrowErrorResponse {
211
+ }
212
+
173
213
  message PublishMessageRequest {
174
214
  // the name of the message
175
215
  string name = 1;
@@ -263,6 +303,8 @@ message SetVariablesRequest {
263
303
  }
264
304
 
265
305
  message SetVariablesResponse {
306
+ // the unique key of the set variables command
307
+ int64 key = 1;
266
308
  }
267
309
 
268
310
  service Gateway {
@@ -329,6 +371,12 @@ service Gateway {
329
371
  rpc CreateWorkflowInstance (CreateWorkflowInstanceRequest) returns (CreateWorkflowInstanceResponse) {
330
372
  }
331
373
 
374
+ /*
375
+ Behaves similarly to `rpc CreateWorkflowInstance`, except that a successful response is received when the workflow completes successfully.
376
+ */
377
+ rpc CreateWorkflowInstanceWithResult (CreateWorkflowInstanceWithResultRequest) returns (CreateWorkflowInstanceWithResultResponse) {
378
+ }
379
+
332
380
  /*
333
381
  Deploys one or more workflows to Zeebe. Note that this is an atomic call,
334
382
  i.e. either all workflows are deployed, or none of them are.
@@ -361,6 +409,19 @@ service Gateway {
361
409
  rpc FailJob (FailJobRequest) returns (FailJobResponse) {
362
410
  }
363
411
 
412
+ /*
413
+ Reports a business error (i.e. non-technical) that occurs while processing a job. The error is handled in the workflow by an error catch event. If there is no error catch event with the specified errorCode then an incident will be raised instead.
414
+
415
+ Errors:
416
+ NOT_FOUND:
417
+ - no job was found with the given key
418
+
419
+ FAILED_PRECONDITION:
420
+ - the job is not in an activated state
421
+ */
422
+ rpc ThrowError (ThrowErrorRequest) returns (ThrowErrorResponse) {
423
+ }
424
+
364
425
  /*
365
426
  Publishes a single message. Messages are published to specific partitions computed from their
366
427
  correlation keys.
@@ -19,12 +19,13 @@ Gem::Specification.new do |s|
19
19
 
20
20
  s.required_ruby_version = '>= 2.3'
21
21
 
22
- s.add_runtime_dependency 'grpc', '>= 1.23', '< 1.25'
22
+ s.add_runtime_dependency 'grpc', '~> 1.27.0'
23
23
 
24
- s.add_development_dependency 'grpc-tools', '~> 1.24.0'
25
24
  s.add_development_dependency 'bundler'
25
+ s.add_development_dependency 'bundler-audit', '~> 0.6.0'
26
+ s.add_development_dependency 'grpc-tools', '~> 1.27.0'
26
27
  s.add_development_dependency 'rake'
27
28
  s.add_development_dependency 'rspec'
28
- s.add_development_dependency 'rubocop', '~> 0.75.0'
29
- s.add_development_dependency 'bundler-audit'
29
+ s.add_development_dependency 'rubocop', '~> 0.80.1'
30
+ s.add_development_dependency 'solargraph'
30
31
  end
metadata CHANGED
@@ -1,63 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zeebe-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.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: 2019-10-09 00:00:00.000000000 Z
11
+ date: 2020-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '1.23'
20
- - - "<"
17
+ - - "~>"
21
18
  - !ruby/object:Gem::Version
22
- version: '1.25'
19
+ version: 1.27.0
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.27.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
26
30
  requirements:
27
31
  - - ">="
28
32
  - !ruby/object:Gem::Version
29
- version: '1.23'
30
- - - "<"
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
31
39
  - !ruby/object:Gem::Version
32
- version: '1.25'
40
+ version: '0'
33
41
  - !ruby/object:Gem::Dependency
34
- name: grpc-tools
42
+ name: bundler-audit
35
43
  requirement: !ruby/object:Gem::Requirement
36
44
  requirements:
37
45
  - - "~>"
38
46
  - !ruby/object:Gem::Version
39
- version: 1.24.0
47
+ version: 0.6.0
40
48
  type: :development
41
49
  prerelease: false
42
50
  version_requirements: !ruby/object:Gem::Requirement
43
51
  requirements:
44
52
  - - "~>"
45
53
  - !ruby/object:Gem::Version
46
- version: 1.24.0
54
+ version: 0.6.0
47
55
  - !ruby/object:Gem::Dependency
48
- name: bundler
56
+ name: grpc-tools
49
57
  requirement: !ruby/object:Gem::Requirement
50
58
  requirements:
51
- - - ">="
59
+ - - "~>"
52
60
  - !ruby/object:Gem::Version
53
- version: '0'
61
+ version: 1.27.0
54
62
  type: :development
55
63
  prerelease: false
56
64
  version_requirements: !ruby/object:Gem::Requirement
57
65
  requirements:
58
- - - ">="
66
+ - - "~>"
59
67
  - !ruby/object:Gem::Version
60
- version: '0'
68
+ version: 1.27.0
61
69
  - !ruby/object:Gem::Dependency
62
70
  name: rake
63
71
  requirement: !ruby/object:Gem::Requirement
@@ -92,16 +100,16 @@ dependencies:
92
100
  requirements:
93
101
  - - "~>"
94
102
  - !ruby/object:Gem::Version
95
- version: 0.75.0
103
+ version: 0.80.1
96
104
  type: :development
97
105
  prerelease: false
98
106
  version_requirements: !ruby/object:Gem::Requirement
99
107
  requirements:
100
108
  - - "~>"
101
109
  - !ruby/object:Gem::Version
102
- version: 0.75.0
110
+ version: 0.80.1
103
111
  - !ruby/object:Gem::Dependency
104
- name: bundler-audit
112
+ name: solargraph
105
113
  requirement: !ruby/object:Gem::Requirement
106
114
  requirements:
107
115
  - - ">="
@@ -123,7 +131,7 @@ extra_rdoc_files: []
123
131
  files:
124
132
  - ".gitignore"
125
133
  - ".rubocop.yml"
126
- - ".rubocop_todo.yml"
134
+ - ".solargraph.yml"
127
135
  - ".travis.yml"
128
136
  - CHANGELOG.md
129
137
  - CODE_OF_CONDUCT.md
@@ -160,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
168
  - !ruby/object:Gem::Version
161
169
  version: '0'
162
170
  requirements: []
163
- rubygems_version: 3.0.3
171
+ rubygems_version: 3.0.8
164
172
  signing_key:
165
173
  specification_version: 4
166
174
  summary: Zeebe Client
File without changes