zeebe-client 0.19.0 → 0.20.0
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 +4 -4
- data/.github/workflows/ci.yml +1 -1
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/lib/zeebe/client/proto/gateway_pb.rb +9 -1
- data/lib/zeebe/client/proto/gateway_services_pb.rb +49 -0
- data/lib/zeebe/client/version.rb +1 -1
- data/proto/gateway.proto +161 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6193e7d161a1b0cce3494d267cd79e086c5466f10fd7b18b04324434ccd99364
|
|
4
|
+
data.tar.gz: 646e895d11d8fa6e3e6d16abb3a6aa470dff5eab33ed4be18e0f01d435a4941c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a939bee05654c409b31379d725e06c39713840fc419c7541ce0555f90bfb8266bb10f98abeaba48e9fc2711e33341729e79017382df46cbd8aff446c3de7f4e8
|
|
7
|
+
data.tar.gz: 2b5109c205ff51add561b04d605c98e31d423c62c875718bb111d719d11b44f52ff273f7f40690afa575827408fafb7d2f244a9fab5bcaa0b3032c62165924bf
|
data/.github/workflows/ci.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
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:8.
|
|
16
|
+
sh 'docker run -d --name zeebe --rm -p 26500:26500 camunda/zeebe:8.4.0'
|
|
17
17
|
sleep(10)
|
|
18
18
|
end
|
|
19
19
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
descriptor_data = "\n\x13proto/gateway.proto\x12\x10gateway_protocol\"\x8e\x01\n\x13\x41\x63tivateJobsRequest\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0e\n\x06worker\x18\x02 \x01(\t\x12\x0f\n\x07timeout\x18\x03 \x01(\x03\x12\x19\n\x11maxJobsToActivate\x18\x04 \x01(\x05\x12\x15\n\rfetchVariable\x18\x05 \x03(\t\x12\x16\n\x0erequestTimeout\x18\x06 \x01(\x03\"D\n\x14\x41\x63tivateJobsResponse\x12,\n\x04jobs\x18\x01 \x03(\x0b\x32\x1e.gateway_protocol.ActivatedJob\"\xa8\x02\n\x0c\x41\x63tivatedJob\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x1a\n\x12processInstanceKey\x18\x03 \x01(\x03\x12\x15\n\rbpmnProcessId\x18\x04 \x01(\t\x12 \n\x18processDefinitionVersion\x18\x05 \x01(\x05\x12\x1c\n\x14processDefinitionKey\x18\x06 \x01(\x03\x12\x11\n\telementId\x18\x07 \x01(\t\x12\x1a\n\x12\x65lementInstanceKey\x18\x08 \x01(\x03\x12\x15\n\rcustomHeaders\x18\t \x01(\t\x12\x0e\n\x06worker\x18\n \x01(\t\x12\x0f\n\x07retries\x18\x0b \x01(\x05\x12\x10\n\x08\x64\x65\x61\x64line\x18\x0c \x01(\x03\x12\x11\n\tvariables\x18\r \x01(\t\":\n\x1c\x43\x61ncelProcessInstanceRequest\x12\x1a\n\x12processInstanceKey\x18\x01 \x01(\x03\"\x1f\n\x1d\x43\x61ncelProcessInstanceResponse\"7\n\x12\x43ompleteJobRequest\x12\x0e\n\x06jobKey\x18\x01 \x01(\x03\x12\x11\n\tvariables\x18\x02 \x01(\t\"\x15\n\x13\x43ompleteJobResponse\"\xcd\x01\n\x1c\x43reateProcessInstanceRequest\x12\x1c\n\x14processDefinitionKey\x18\x01 \x01(\x03\x12\x15\n\rbpmnProcessId\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\x05\x12\x11\n\tvariables\x18\x04 \x01(\t\x12T\n\x11startInstructions\x18\x05 \x03(\x0b\x32\x39.gateway_protocol.ProcessInstanceCreationStartInstruction\"<\n\'ProcessInstanceCreationStartInstruction\x12\x11\n\telementId\x18\x01 \x01(\t\"\x81\x01\n\x1d\x43reateProcessInstanceResponse\x12\x1c\n\x14processDefinitionKey\x18\x01 \x01(\x03\x12\x15\n\rbpmnProcessId\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\x05\x12\x1a\n\x12processInstanceKey\x18\x04 \x01(\x03\"\x99\x01\n&CreateProcessInstanceWithResultRequest\x12?\n\x07request\x18\x01 \x01(\x0b\x32..gateway_protocol.CreateProcessInstanceRequest\x12\x16\n\x0erequestTimeout\x18\x02 \x01(\x03\x12\x16\n\x0e\x66\x65tchVariables\x18\x03 \x03(\t\"\x9e\x01\n\'CreateProcessInstanceWithResultResponse\x12\x1c\n\x14processDefinitionKey\x18\x01 \x01(\x03\x12\x15\n\rbpmnProcessId\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\x05\x12\x1a\n\x12processInstanceKey\x18\x04 \x01(\x03\x12\x11\n\tvariables\x18\x05 \x01(\t\"U\n\x17\x45valuateDecisionRequest\x12\x13\n\x0b\x64\x65\x63isionKey\x18\x01 \x01(\x03\x12\x12\n\ndecisionId\x18\x02 \x01(\t\x12\x11\n\tvariables\x18\x03 \x01(\t\"\xbe\x02\n\x18\x45valuateDecisionResponse\x12\x13\n\x0b\x64\x65\x63isionKey\x18\x01 \x01(\x03\x12\x12\n\ndecisionId\x18\x02 \x01(\t\x12\x14\n\x0c\x64\x65\x63isionName\x18\x03 \x01(\t\x12\x17\n\x0f\x64\x65\x63isionVersion\x18\x04 \x01(\x05\x12\x1e\n\x16\x64\x65\x63isionRequirementsId\x18\x05 \x01(\t\x12\x1f\n\x17\x64\x65\x63isionRequirementsKey\x18\x06 \x01(\x03\x12\x16\n\x0e\x64\x65\x63isionOutput\x18\x07 \x01(\t\x12?\n\x12\x65valuatedDecisions\x18\x08 \x03(\x0b\x32#.gateway_protocol.EvaluatedDecision\x12\x18\n\x10\x66\x61iledDecisionId\x18\t \x01(\t\x12\x16\n\x0e\x66\x61ilureMessage\x18\n \x01(\t\"\x99\x02\n\x11\x45valuatedDecision\x12\x13\n\x0b\x64\x65\x63isionKey\x18\x01 \x01(\x03\x12\x12\n\ndecisionId\x18\x02 \x01(\t\x12\x14\n\x0c\x64\x65\x63isionName\x18\x03 \x01(\t\x12\x17\n\x0f\x64\x65\x63isionVersion\x18\x04 \x01(\x05\x12\x14\n\x0c\x64\x65\x63isionType\x18\x05 \x01(\t\x12\x16\n\x0e\x64\x65\x63isionOutput\x18\x06 \x01(\t\x12;\n\x0cmatchedRules\x18\x07 \x03(\x0b\x32%.gateway_protocol.MatchedDecisionRule\x12\x41\n\x0f\x65valuatedInputs\x18\x08 \x03(\x0b\x32(.gateway_protocol.EvaluatedDecisionInput\"P\n\x16\x45valuatedDecisionInput\x12\x0f\n\x07inputId\x18\x01 \x01(\t\x12\x11\n\tinputName\x18\x02 \x01(\t\x12\x12\n\ninputValue\x18\x03 \x01(\t\"T\n\x17\x45valuatedDecisionOutput\x12\x10\n\x08outputId\x18\x01 \x01(\t\x12\x12\n\noutputName\x18\x02 \x01(\t\x12\x13\n\x0boutputValue\x18\x03 \x01(\t\"}\n\x13MatchedDecisionRule\x12\x0e\n\x06ruleId\x18\x01 \x01(\t\x12\x11\n\truleIndex\x18\x02 \x01(\x05\x12\x43\n\x10\x65valuatedOutputs\x18\x03 \x03(\x0b\x32).gateway_protocol.EvaluatedDecisionOutput\"U\n\x14\x44\x65ployProcessRequest\x12\x39\n\tprocesses\x18\x01 \x03(\x0b\x32&.gateway_protocol.ProcessRequestObject:\x02\x18\x01\"<\n\x14ProcessRequestObject\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ndefinition\x18\x02 \x01(\x0c:\x02\x18\x01\"^\n\x15\x44\x65ployProcessResponse\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12\x34\n\tprocesses\x18\x02 \x03(\x0b\x32!.gateway_protocol.ProcessMetadata:\x02\x18\x01\"F\n\x15\x44\x65ployResourceRequest\x12-\n\tresources\x18\x01 \x03(\x0b\x32\x1a.gateway_protocol.Resource\")\n\x08Resource\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\x0c\"X\n\x16\x44\x65ployResourceResponse\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12\x31\n\x0b\x64\x65ployments\x18\x02 \x03(\x0b\x32\x1c.gateway_protocol.Deployment\"\xd6\x01\n\nDeployment\x12\x34\n\x07process\x18\x01 \x01(\x0b\x32!.gateway_protocol.ProcessMetadataH\x00\x12\x36\n\x08\x64\x65\x63ision\x18\x02 \x01(\x0b\x32\".gateway_protocol.DecisionMetadataH\x00\x12N\n\x14\x64\x65\x63isionRequirements\x18\x03 \x01(\x0b\x32..gateway_protocol.DecisionRequirementsMetadataH\x00\x42\n\n\x08Metadata\"m\n\x0fProcessMetadata\x12\x15\n\rbpmnProcessId\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x05\x12\x1c\n\x14processDefinitionKey\x18\x03 \x01(\x03\x12\x14\n\x0cresourceName\x18\x04 \x01(\t\"\xac\x01\n\x10\x44\x65\x63isionMetadata\x12\x15\n\rdmnDecisionId\x18\x01 \x01(\t\x12\x17\n\x0f\x64mnDecisionName\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\x05\x12\x13\n\x0b\x64\x65\x63isionKey\x18\x04 \x01(\x03\x12!\n\x19\x64mnDecisionRequirementsId\x18\x05 \x01(\t\x12\x1f\n\x17\x64\x65\x63isionRequirementsKey\x18\x06 \x01(\x03\"\xae\x01\n\x1c\x44\x65\x63isionRequirementsMetadata\x12!\n\x19\x64mnDecisionRequirementsId\x18\x01 \x01(\t\x12#\n\x1b\x64mnDecisionRequirementsName\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\x05\x12\x1f\n\x17\x64\x65\x63isionRequirementsKey\x18\x04 \x01(\x03\x12\x14\n\x0cresourceName\x18\x05 \x01(\t\"p\n\x0e\x46\x61ilJobRequest\x12\x0e\n\x06jobKey\x18\x01 \x01(\x03\x12\x0f\n\x07retries\x18\x02 \x01(\x05\x12\x14\n\x0c\x65rrorMessage\x18\x03 \x01(\t\x12\x14\n\x0cretryBackOff\x18\x04 \x01(\x03\x12\x11\n\tvariables\x18\x05 \x01(\t\"\x11\n\x0f\x46\x61ilJobResponse\"_\n\x11ThrowErrorRequest\x12\x0e\n\x06jobKey\x18\x01 \x01(\x03\x12\x11\n\terrorCode\x18\x02 \x01(\t\x12\x14\n\x0c\x65rrorMessage\x18\x03 \x01(\t\x12\x11\n\tvariables\x18\x04 \x01(\t\"\x14\n\x12ThrowErrorResponse\"w\n\x15PublishMessageRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x16\n\x0e\x63orrelationKey\x18\x02 \x01(\t\x12\x12\n\ntimeToLive\x18\x03 \x01(\x03\x12\x11\n\tmessageId\x18\x04 \x01(\t\x12\x11\n\tvariables\x18\x05 \x01(\t\"%\n\x16PublishMessageResponse\x12\x0b\n\x03key\x18\x01 \x01(\x03\"-\n\x16ResolveIncidentRequest\x12\x13\n\x0bincidentKey\x18\x01 \x01(\x03\"\x19\n\x17ResolveIncidentResponse\"\x11\n\x0fTopologyRequest\"\xa2\x01\n\x10TopologyResponse\x12-\n\x07\x62rokers\x18\x01 \x03(\x0b\x32\x1c.gateway_protocol.BrokerInfo\x12\x13\n\x0b\x63lusterSize\x18\x02 \x01(\x05\x12\x17\n\x0fpartitionsCount\x18\x03 \x01(\x05\x12\x19\n\x11replicationFactor\x18\x04 \x01(\x05\x12\x16\n\x0egatewayVersion\x18\x05 \x01(\t\"z\n\nBrokerInfo\x12\x0e\n\x06nodeId\x18\x01 \x01(\x05\x12\x0c\n\x04host\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\x05\x12/\n\npartitions\x18\x04 \x03(\x0b\x32\x1b.gateway_protocol.Partition\x12\x0f\n\x07version\x18\x05 \x01(\t\"\xa0\x02\n\tPartition\x12\x13\n\x0bpartitionId\x18\x01 \x01(\x05\x12=\n\x04role\x18\x02 \x01(\x0e\x32/.gateway_protocol.Partition.PartitionBrokerRole\x12\x41\n\x06health\x18\x03 \x01(\x0e\x32\x31.gateway_protocol.Partition.PartitionBrokerHealth\"=\n\x13PartitionBrokerRole\x12\n\n\x06LEADER\x10\x00\x12\x0c\n\x08\x46OLLOWER\x10\x01\x12\x0c\n\x08INACTIVE\x10\x02\"=\n\x15PartitionBrokerHealth\x12\x0b\n\x07HEALTHY\x10\x00\x12\r\n\tUNHEALTHY\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\":\n\x17UpdateJobRetriesRequest\x12\x0e\n\x06jobKey\x18\x01 \x01(\x03\x12\x0f\n\x07retries\x18\x02 \x01(\x05\"\x1a\n\x18UpdateJobRetriesResponse\"S\n\x13SetVariablesRequest\x12\x1a\n\x12\x65lementInstanceKey\x18\x01 \x01(\x03\x12\x11\n\tvariables\x18\x02 \x01(\t\x12\r\n\x05local\x18\x03 \x01(\x08\"#\n\x14SetVariablesResponse\x12\x0b\n\x03key\x18\x01 \x01(\x03\"\xa0\x04\n\x1cModifyProcessInstanceRequest\x12\x1a\n\x12processInstanceKey\x18\x01 \x01(\x03\x12`\n\x14\x61\x63tivateInstructions\x18\x02 \x03(\x0b\x32\x42.gateway_protocol.ModifyProcessInstanceRequest.ActivateInstruction\x12\x62\n\x15terminateInstructions\x18\x03 \x03(\x0b\x32\x43.gateway_protocol.ModifyProcessInstanceRequest.TerminateInstruction\x1a\xae\x01\n\x13\x41\x63tivateInstruction\x12\x11\n\telementId\x18\x01 \x01(\t\x12\"\n\x1a\x61ncestorElementInstanceKey\x18\x02 \x01(\x03\x12`\n\x14variableInstructions\x18\x03 \x03(\x0b\x32\x42.gateway_protocol.ModifyProcessInstanceRequest.VariableInstruction\x1a\x39\n\x13VariableInstruction\x12\x11\n\tvariables\x18\x01 \x01(\t\x12\x0f\n\x07scopeId\x18\x02 \x01(\t\x1a\x32\n\x14TerminateInstruction\x12\x1a\n\x12\x65lementInstanceKey\x18\x01 \x01(\x03\"\x1f\n\x1dModifyProcessInstanceResponse\",\n\x15\x44\x65leteResourceRequest\x12\x13\n\x0bresourceKey\x18\x01 \x01(\x03\"\x18\n\x16\x44\x65leteResourceResponse\"?\n\x16\x42roadcastSignalRequest\x12\x12\n\nsignalName\x18\x01 \x01(\t\x12\x11\n\tvariables\x18\x02 \x01(\t\"&\n\x17\x42roadcastSignalResponse\x12\x0b\n\x03key\x18\x01 \x01(\x03\x32\x86\x0f\n\x07Gateway\x12\x61\n\x0c\x41\x63tivateJobs\x12%.gateway_protocol.ActivateJobsRequest\x1a&.gateway_protocol.ActivateJobsResponse\"\x00\x30\x01\x12z\n\x15\x43\x61ncelProcessInstance\x12..gateway_protocol.CancelProcessInstanceRequest\x1a/.gateway_protocol.CancelProcessInstanceResponse\"\x00\x12\\\n\x0b\x43ompleteJob\x12$.gateway_protocol.CompleteJobRequest\x1a%.gateway_protocol.CompleteJobResponse\"\x00\x12z\n\x15\x43reateProcessInstance\x12..gateway_protocol.CreateProcessInstanceRequest\x1a/.gateway_protocol.CreateProcessInstanceResponse\"\x00\x12\x98\x01\n\x1f\x43reateProcessInstanceWithResult\x12\x38.gateway_protocol.CreateProcessInstanceWithResultRequest\x1a\x39.gateway_protocol.CreateProcessInstanceWithResultResponse\"\x00\x12k\n\x10\x45valuateDecision\x12).gateway_protocol.EvaluateDecisionRequest\x1a*.gateway_protocol.EvaluateDecisionResponse\"\x00\x12\x65\n\rDeployProcess\x12&.gateway_protocol.DeployProcessRequest\x1a\'.gateway_protocol.DeployProcessResponse\"\x03\x88\x02\x01\x12\x65\n\x0e\x44\x65ployResource\x12\'.gateway_protocol.DeployResourceRequest\x1a(.gateway_protocol.DeployResourceResponse\"\x00\x12P\n\x07\x46\x61ilJob\x12 .gateway_protocol.FailJobRequest\x1a!.gateway_protocol.FailJobResponse\"\x00\x12Y\n\nThrowError\x12#.gateway_protocol.ThrowErrorRequest\x1a$.gateway_protocol.ThrowErrorResponse\"\x00\x12\x65\n\x0ePublishMessage\x12\'.gateway_protocol.PublishMessageRequest\x1a(.gateway_protocol.PublishMessageResponse\"\x00\x12h\n\x0fResolveIncident\x12(.gateway_protocol.ResolveIncidentRequest\x1a).gateway_protocol.ResolveIncidentResponse\"\x00\x12_\n\x0cSetVariables\x12%.gateway_protocol.SetVariablesRequest\x1a&.gateway_protocol.SetVariablesResponse\"\x00\x12S\n\x08Topology\x12!.gateway_protocol.TopologyRequest\x1a\".gateway_protocol.TopologyResponse\"\x00\x12k\n\x10UpdateJobRetries\x12).gateway_protocol.UpdateJobRetriesRequest\x1a*.gateway_protocol.UpdateJobRetriesResponse\"\x00\x12z\n\x15ModifyProcessInstance\x12..gateway_protocol.ModifyProcessInstanceRequest\x1a/.gateway_protocol.ModifyProcessInstanceResponse\"\x00\x12\x65\n\x0e\x44\x65leteResource\x12\'.gateway_protocol.DeleteResourceRequest\x1a(.gateway_protocol.DeleteResourceResponse\"\x00\x12h\n\x0f\x42roadcastSignal\x12(.gateway_protocol.BroadcastSignalRequest\x1a).gateway_protocol.BroadcastSignalResponse\"\x00\x42,\n!io.camunda.zeebe.gateway.protocolP\x00Z\x05./;pbb\x06proto3"
|
|
8
|
+
descriptor_data = "\n\x13proto/gateway.proto\x12\x10gateway_protocol\"u\n\x1aStreamActivatedJobsRequest\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0e\n\x06worker\x18\x02 \x01(\t\x12\x0f\n\x07timeout\x18\x03 \x01(\x03\x12\x15\n\rfetchVariable\x18\x05 \x03(\t\x12\x11\n\ttenantIds\x18\x06 \x03(\t\"\xa1\x01\n\x13\x41\x63tivateJobsRequest\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0e\n\x06worker\x18\x02 \x01(\t\x12\x0f\n\x07timeout\x18\x03 \x01(\x03\x12\x19\n\x11maxJobsToActivate\x18\x04 \x01(\x05\x12\x15\n\rfetchVariable\x18\x05 \x03(\t\x12\x16\n\x0erequestTimeout\x18\x06 \x01(\x03\x12\x11\n\ttenantIds\x18\x07 \x03(\t\"D\n\x14\x41\x63tivateJobsResponse\x12,\n\x04jobs\x18\x01 \x03(\x0b\x32\x1e.gateway_protocol.ActivatedJob\"\xba\x02\n\x0c\x41\x63tivatedJob\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x1a\n\x12processInstanceKey\x18\x03 \x01(\x03\x12\x15\n\rbpmnProcessId\x18\x04 \x01(\t\x12 \n\x18processDefinitionVersion\x18\x05 \x01(\x05\x12\x1c\n\x14processDefinitionKey\x18\x06 \x01(\x03\x12\x11\n\telementId\x18\x07 \x01(\t\x12\x1a\n\x12\x65lementInstanceKey\x18\x08 \x01(\x03\x12\x15\n\rcustomHeaders\x18\t \x01(\t\x12\x0e\n\x06worker\x18\n \x01(\t\x12\x0f\n\x07retries\x18\x0b \x01(\x05\x12\x10\n\x08\x64\x65\x61\x64line\x18\x0c \x01(\x03\x12\x11\n\tvariables\x18\r \x01(\t\x12\x10\n\x08tenantId\x18\x0e \x01(\t\":\n\x1c\x43\x61ncelProcessInstanceRequest\x12\x1a\n\x12processInstanceKey\x18\x01 \x01(\x03\"\x1f\n\x1d\x43\x61ncelProcessInstanceResponse\"7\n\x12\x43ompleteJobRequest\x12\x0e\n\x06jobKey\x18\x01 \x01(\x03\x12\x11\n\tvariables\x18\x02 \x01(\t\"\x15\n\x13\x43ompleteJobResponse\"\xdf\x01\n\x1c\x43reateProcessInstanceRequest\x12\x1c\n\x14processDefinitionKey\x18\x01 \x01(\x03\x12\x15\n\rbpmnProcessId\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\x05\x12\x11\n\tvariables\x18\x04 \x01(\t\x12T\n\x11startInstructions\x18\x05 \x03(\x0b\x32\x39.gateway_protocol.ProcessInstanceCreationStartInstruction\x12\x10\n\x08tenantId\x18\x06 \x01(\t\"<\n\'ProcessInstanceCreationStartInstruction\x12\x11\n\telementId\x18\x01 \x01(\t\"\x93\x01\n\x1d\x43reateProcessInstanceResponse\x12\x1c\n\x14processDefinitionKey\x18\x01 \x01(\x03\x12\x15\n\rbpmnProcessId\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\x05\x12\x1a\n\x12processInstanceKey\x18\x04 \x01(\x03\x12\x10\n\x08tenantId\x18\x05 \x01(\t\"\x99\x01\n&CreateProcessInstanceWithResultRequest\x12?\n\x07request\x18\x01 \x01(\x0b\x32..gateway_protocol.CreateProcessInstanceRequest\x12\x16\n\x0erequestTimeout\x18\x02 \x01(\x03\x12\x16\n\x0e\x66\x65tchVariables\x18\x03 \x03(\t\"\xb0\x01\n\'CreateProcessInstanceWithResultResponse\x12\x1c\n\x14processDefinitionKey\x18\x01 \x01(\x03\x12\x15\n\rbpmnProcessId\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\x05\x12\x1a\n\x12processInstanceKey\x18\x04 \x01(\x03\x12\x11\n\tvariables\x18\x05 \x01(\t\x12\x10\n\x08tenantId\x18\x06 \x01(\t\"g\n\x17\x45valuateDecisionRequest\x12\x13\n\x0b\x64\x65\x63isionKey\x18\x01 \x01(\x03\x12\x12\n\ndecisionId\x18\x02 \x01(\t\x12\x11\n\tvariables\x18\x03 \x01(\t\x12\x10\n\x08tenantId\x18\x04 \x01(\t\"\xd0\x02\n\x18\x45valuateDecisionResponse\x12\x13\n\x0b\x64\x65\x63isionKey\x18\x01 \x01(\x03\x12\x12\n\ndecisionId\x18\x02 \x01(\t\x12\x14\n\x0c\x64\x65\x63isionName\x18\x03 \x01(\t\x12\x17\n\x0f\x64\x65\x63isionVersion\x18\x04 \x01(\x05\x12\x1e\n\x16\x64\x65\x63isionRequirementsId\x18\x05 \x01(\t\x12\x1f\n\x17\x64\x65\x63isionRequirementsKey\x18\x06 \x01(\x03\x12\x16\n\x0e\x64\x65\x63isionOutput\x18\x07 \x01(\t\x12?\n\x12\x65valuatedDecisions\x18\x08 \x03(\x0b\x32#.gateway_protocol.EvaluatedDecision\x12\x18\n\x10\x66\x61iledDecisionId\x18\t \x01(\t\x12\x16\n\x0e\x66\x61ilureMessage\x18\n \x01(\t\x12\x10\n\x08tenantId\x18\x0b \x01(\t\"\xab\x02\n\x11\x45valuatedDecision\x12\x13\n\x0b\x64\x65\x63isionKey\x18\x01 \x01(\x03\x12\x12\n\ndecisionId\x18\x02 \x01(\t\x12\x14\n\x0c\x64\x65\x63isionName\x18\x03 \x01(\t\x12\x17\n\x0f\x64\x65\x63isionVersion\x18\x04 \x01(\x05\x12\x14\n\x0c\x64\x65\x63isionType\x18\x05 \x01(\t\x12\x16\n\x0e\x64\x65\x63isionOutput\x18\x06 \x01(\t\x12;\n\x0cmatchedRules\x18\x07 \x03(\x0b\x32%.gateway_protocol.MatchedDecisionRule\x12\x41\n\x0f\x65valuatedInputs\x18\x08 \x03(\x0b\x32(.gateway_protocol.EvaluatedDecisionInput\x12\x10\n\x08tenantId\x18\t \x01(\t\"P\n\x16\x45valuatedDecisionInput\x12\x0f\n\x07inputId\x18\x01 \x01(\t\x12\x11\n\tinputName\x18\x02 \x01(\t\x12\x12\n\ninputValue\x18\x03 \x01(\t\"T\n\x17\x45valuatedDecisionOutput\x12\x10\n\x08outputId\x18\x01 \x01(\t\x12\x12\n\noutputName\x18\x02 \x01(\t\x12\x13\n\x0boutputValue\x18\x03 \x01(\t\"}\n\x13MatchedDecisionRule\x12\x0e\n\x06ruleId\x18\x01 \x01(\t\x12\x11\n\truleIndex\x18\x02 \x01(\x05\x12\x43\n\x10\x65valuatedOutputs\x18\x03 \x03(\x0b\x32).gateway_protocol.EvaluatedDecisionOutput\"U\n\x14\x44\x65ployProcessRequest\x12\x39\n\tprocesses\x18\x01 \x03(\x0b\x32&.gateway_protocol.ProcessRequestObject:\x02\x18\x01\"<\n\x14ProcessRequestObject\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ndefinition\x18\x02 \x01(\x0c:\x02\x18\x01\"^\n\x15\x44\x65ployProcessResponse\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12\x34\n\tprocesses\x18\x02 \x03(\x0b\x32!.gateway_protocol.ProcessMetadata:\x02\x18\x01\"X\n\x15\x44\x65ployResourceRequest\x12-\n\tresources\x18\x01 \x03(\x0b\x32\x1a.gateway_protocol.Resource\x12\x10\n\x08tenantId\x18\x02 \x01(\t\")\n\x08Resource\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\x0c\"j\n\x16\x44\x65ployResourceResponse\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12\x31\n\x0b\x64\x65ployments\x18\x02 \x03(\x0b\x32\x1c.gateway_protocol.Deployment\x12\x10\n\x08tenantId\x18\x03 \x01(\t\"\x86\x02\n\nDeployment\x12\x34\n\x07process\x18\x01 \x01(\x0b\x32!.gateway_protocol.ProcessMetadataH\x00\x12\x36\n\x08\x64\x65\x63ision\x18\x02 \x01(\x0b\x32\".gateway_protocol.DecisionMetadataH\x00\x12N\n\x14\x64\x65\x63isionRequirements\x18\x03 \x01(\x0b\x32..gateway_protocol.DecisionRequirementsMetadataH\x00\x12.\n\x04\x66orm\x18\x04 \x01(\x0b\x32\x1e.gateway_protocol.FormMetadataH\x00\x42\n\n\x08Metadata\"\x7f\n\x0fProcessMetadata\x12\x15\n\rbpmnProcessId\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x05\x12\x1c\n\x14processDefinitionKey\x18\x03 \x01(\x03\x12\x14\n\x0cresourceName\x18\x04 \x01(\t\x12\x10\n\x08tenantId\x18\x05 \x01(\t\"\xbe\x01\n\x10\x44\x65\x63isionMetadata\x12\x15\n\rdmnDecisionId\x18\x01 \x01(\t\x12\x17\n\x0f\x64mnDecisionName\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\x05\x12\x13\n\x0b\x64\x65\x63isionKey\x18\x04 \x01(\x03\x12!\n\x19\x64mnDecisionRequirementsId\x18\x05 \x01(\t\x12\x1f\n\x17\x64\x65\x63isionRequirementsKey\x18\x06 \x01(\x03\x12\x10\n\x08tenantId\x18\x07 \x01(\t\"\xc0\x01\n\x1c\x44\x65\x63isionRequirementsMetadata\x12!\n\x19\x64mnDecisionRequirementsId\x18\x01 \x01(\t\x12#\n\x1b\x64mnDecisionRequirementsName\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\x05\x12\x1f\n\x17\x64\x65\x63isionRequirementsKey\x18\x04 \x01(\x03\x12\x14\n\x0cresourceName\x18\x05 \x01(\t\x12\x10\n\x08tenantId\x18\x06 \x01(\t\"h\n\x0c\x46ormMetadata\x12\x0e\n\x06\x66ormId\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x05\x12\x0f\n\x07\x66ormKey\x18\x03 \x01(\x03\x12\x14\n\x0cresourceName\x18\x04 \x01(\t\x12\x10\n\x08tenantId\x18\x05 \x01(\t\"p\n\x0e\x46\x61ilJobRequest\x12\x0e\n\x06jobKey\x18\x01 \x01(\x03\x12\x0f\n\x07retries\x18\x02 \x01(\x05\x12\x14\n\x0c\x65rrorMessage\x18\x03 \x01(\t\x12\x14\n\x0cretryBackOff\x18\x04 \x01(\x03\x12\x11\n\tvariables\x18\x05 \x01(\t\"\x11\n\x0f\x46\x61ilJobResponse\"_\n\x11ThrowErrorRequest\x12\x0e\n\x06jobKey\x18\x01 \x01(\x03\x12\x11\n\terrorCode\x18\x02 \x01(\t\x12\x14\n\x0c\x65rrorMessage\x18\x03 \x01(\t\x12\x11\n\tvariables\x18\x04 \x01(\t\"\x14\n\x12ThrowErrorResponse\"\x89\x01\n\x15PublishMessageRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x16\n\x0e\x63orrelationKey\x18\x02 \x01(\t\x12\x12\n\ntimeToLive\x18\x03 \x01(\x03\x12\x11\n\tmessageId\x18\x04 \x01(\t\x12\x11\n\tvariables\x18\x05 \x01(\t\x12\x10\n\x08tenantId\x18\x06 \x01(\t\"7\n\x16PublishMessageResponse\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12\x10\n\x08tenantId\x18\x02 \x01(\t\"-\n\x16ResolveIncidentRequest\x12\x13\n\x0bincidentKey\x18\x01 \x01(\x03\"\x19\n\x17ResolveIncidentResponse\"\x11\n\x0fTopologyRequest\"\xa2\x01\n\x10TopologyResponse\x12-\n\x07\x62rokers\x18\x01 \x03(\x0b\x32\x1c.gateway_protocol.BrokerInfo\x12\x13\n\x0b\x63lusterSize\x18\x02 \x01(\x05\x12\x17\n\x0fpartitionsCount\x18\x03 \x01(\x05\x12\x19\n\x11replicationFactor\x18\x04 \x01(\x05\x12\x16\n\x0egatewayVersion\x18\x05 \x01(\t\"z\n\nBrokerInfo\x12\x0e\n\x06nodeId\x18\x01 \x01(\x05\x12\x0c\n\x04host\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\x05\x12/\n\npartitions\x18\x04 \x03(\x0b\x32\x1b.gateway_protocol.Partition\x12\x0f\n\x07version\x18\x05 \x01(\t\"\xa0\x02\n\tPartition\x12\x13\n\x0bpartitionId\x18\x01 \x01(\x05\x12=\n\x04role\x18\x02 \x01(\x0e\x32/.gateway_protocol.Partition.PartitionBrokerRole\x12\x41\n\x06health\x18\x03 \x01(\x0e\x32\x31.gateway_protocol.Partition.PartitionBrokerHealth\"=\n\x13PartitionBrokerRole\x12\n\n\x06LEADER\x10\x00\x12\x0c\n\x08\x46OLLOWER\x10\x01\x12\x0c\n\x08INACTIVE\x10\x02\"=\n\x15PartitionBrokerHealth\x12\x0b\n\x07HEALTHY\x10\x00\x12\r\n\tUNHEALTHY\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\":\n\x17UpdateJobRetriesRequest\x12\x0e\n\x06jobKey\x18\x01 \x01(\x03\x12\x0f\n\x07retries\x18\x02 \x01(\x05\"\x1a\n\x18UpdateJobRetriesResponse\":\n\x17UpdateJobTimeoutRequest\x12\x0e\n\x06jobKey\x18\x01 \x01(\x03\x12\x0f\n\x07timeout\x18\x02 \x01(\x03\"\x1a\n\x18UpdateJobTimeoutResponse\"S\n\x13SetVariablesRequest\x12\x1a\n\x12\x65lementInstanceKey\x18\x01 \x01(\x03\x12\x11\n\tvariables\x18\x02 \x01(\t\x12\r\n\x05local\x18\x03 \x01(\x08\"#\n\x14SetVariablesResponse\x12\x0b\n\x03key\x18\x01 \x01(\x03\"\xa0\x04\n\x1cModifyProcessInstanceRequest\x12\x1a\n\x12processInstanceKey\x18\x01 \x01(\x03\x12`\n\x14\x61\x63tivateInstructions\x18\x02 \x03(\x0b\x32\x42.gateway_protocol.ModifyProcessInstanceRequest.ActivateInstruction\x12\x62\n\x15terminateInstructions\x18\x03 \x03(\x0b\x32\x43.gateway_protocol.ModifyProcessInstanceRequest.TerminateInstruction\x1a\xae\x01\n\x13\x41\x63tivateInstruction\x12\x11\n\telementId\x18\x01 \x01(\t\x12\"\n\x1a\x61ncestorElementInstanceKey\x18\x02 \x01(\x03\x12`\n\x14variableInstructions\x18\x03 \x03(\x0b\x32\x42.gateway_protocol.ModifyProcessInstanceRequest.VariableInstruction\x1a\x39\n\x13VariableInstruction\x12\x11\n\tvariables\x18\x01 \x01(\t\x12\x0f\n\x07scopeId\x18\x02 \x01(\t\x1a\x32\n\x14TerminateInstruction\x12\x1a\n\x12\x65lementInstanceKey\x18\x01 \x01(\x03\"\x1f\n\x1dModifyProcessInstanceResponse\"\xf0\x02\n\x1dMigrateProcessInstanceRequest\x12\x1a\n\x12processInstanceKey\x18\x01 \x01(\x03\x12T\n\rmigrationPlan\x18\x02 \x01(\x0b\x32=.gateway_protocol.MigrateProcessInstanceRequest.MigrationPlan\x1a\x94\x01\n\rMigrationPlan\x12\"\n\x1atargetProcessDefinitionKey\x18\x01 \x01(\x03\x12_\n\x13mappingInstructions\x18\x02 \x03(\x0b\x32\x42.gateway_protocol.MigrateProcessInstanceRequest.MappingInstruction\x1a\x46\n\x12MappingInstruction\x12\x17\n\x0fsourceElementId\x18\x01 \x01(\t\x12\x17\n\x0ftargetElementId\x18\x02 \x01(\t\" \n\x1eMigrateProcessInstanceResponse\",\n\x15\x44\x65leteResourceRequest\x12\x13\n\x0bresourceKey\x18\x01 \x01(\x03\"\x18\n\x16\x44\x65leteResourceResponse\"Q\n\x16\x42roadcastSignalRequest\x12\x12\n\nsignalName\x18\x01 \x01(\t\x12\x11\n\tvariables\x18\x02 \x01(\t\x12\x10\n\x08tenantId\x18\x03 \x01(\t\"8\n\x17\x42roadcastSignalResponse\x12\x0b\n\x03key\x18\x01 \x01(\x03\x12\x10\n\x08tenantId\x18\x02 \x01(\t2\xdb\x11\n\x07Gateway\x12\x61\n\x0c\x41\x63tivateJobs\x12%.gateway_protocol.ActivateJobsRequest\x1a&.gateway_protocol.ActivateJobsResponse\"\x00\x30\x01\x12g\n\x13StreamActivatedJobs\x12,.gateway_protocol.StreamActivatedJobsRequest\x1a\x1e.gateway_protocol.ActivatedJob\"\x00\x30\x01\x12z\n\x15\x43\x61ncelProcessInstance\x12..gateway_protocol.CancelProcessInstanceRequest\x1a/.gateway_protocol.CancelProcessInstanceResponse\"\x00\x12\\\n\x0b\x43ompleteJob\x12$.gateway_protocol.CompleteJobRequest\x1a%.gateway_protocol.CompleteJobResponse\"\x00\x12z\n\x15\x43reateProcessInstance\x12..gateway_protocol.CreateProcessInstanceRequest\x1a/.gateway_protocol.CreateProcessInstanceResponse\"\x00\x12\x98\x01\n\x1f\x43reateProcessInstanceWithResult\x12\x38.gateway_protocol.CreateProcessInstanceWithResultRequest\x1a\x39.gateway_protocol.CreateProcessInstanceWithResultResponse\"\x00\x12k\n\x10\x45valuateDecision\x12).gateway_protocol.EvaluateDecisionRequest\x1a*.gateway_protocol.EvaluateDecisionResponse\"\x00\x12\x65\n\rDeployProcess\x12&.gateway_protocol.DeployProcessRequest\x1a\'.gateway_protocol.DeployProcessResponse\"\x03\x88\x02\x01\x12\x65\n\x0e\x44\x65ployResource\x12\'.gateway_protocol.DeployResourceRequest\x1a(.gateway_protocol.DeployResourceResponse\"\x00\x12P\n\x07\x46\x61ilJob\x12 .gateway_protocol.FailJobRequest\x1a!.gateway_protocol.FailJobResponse\"\x00\x12Y\n\nThrowError\x12#.gateway_protocol.ThrowErrorRequest\x1a$.gateway_protocol.ThrowErrorResponse\"\x00\x12\x65\n\x0ePublishMessage\x12\'.gateway_protocol.PublishMessageRequest\x1a(.gateway_protocol.PublishMessageResponse\"\x00\x12h\n\x0fResolveIncident\x12(.gateway_protocol.ResolveIncidentRequest\x1a).gateway_protocol.ResolveIncidentResponse\"\x00\x12_\n\x0cSetVariables\x12%.gateway_protocol.SetVariablesRequest\x1a&.gateway_protocol.SetVariablesResponse\"\x00\x12S\n\x08Topology\x12!.gateway_protocol.TopologyRequest\x1a\".gateway_protocol.TopologyResponse\"\x00\x12k\n\x10UpdateJobRetries\x12).gateway_protocol.UpdateJobRetriesRequest\x1a*.gateway_protocol.UpdateJobRetriesResponse\"\x00\x12z\n\x15ModifyProcessInstance\x12..gateway_protocol.ModifyProcessInstanceRequest\x1a/.gateway_protocol.ModifyProcessInstanceResponse\"\x00\x12}\n\x16MigrateProcessInstance\x12/.gateway_protocol.MigrateProcessInstanceRequest\x1a\x30.gateway_protocol.MigrateProcessInstanceResponse\"\x00\x12k\n\x10UpdateJobTimeout\x12).gateway_protocol.UpdateJobTimeoutRequest\x1a*.gateway_protocol.UpdateJobTimeoutResponse\"\x00\x12\x65\n\x0e\x44\x65leteResource\x12\'.gateway_protocol.DeleteResourceRequest\x1a(.gateway_protocol.DeleteResourceResponse\"\x00\x12h\n\x0f\x42roadcastSignal\x12(.gateway_protocol.BroadcastSignalRequest\x1a).gateway_protocol.BroadcastSignalResponse\"\x00\x42,\n!io.camunda.zeebe.gateway.protocolP\x00Z\x05./;pbb\x06proto3"
|
|
9
9
|
|
|
10
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
11
11
|
|
|
@@ -32,6 +32,7 @@ rescue TypeError => e
|
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
module Zeebe::Client::GatewayProtocol
|
|
35
|
+
StreamActivatedJobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.StreamActivatedJobsRequest").msgclass
|
|
35
36
|
ActivateJobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ActivateJobsRequest").msgclass
|
|
36
37
|
ActivateJobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ActivateJobsResponse").msgclass
|
|
37
38
|
ActivatedJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ActivatedJob").msgclass
|
|
@@ -60,6 +61,7 @@ module Zeebe::Client::GatewayProtocol
|
|
|
60
61
|
ProcessMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ProcessMetadata").msgclass
|
|
61
62
|
DecisionMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.DecisionMetadata").msgclass
|
|
62
63
|
DecisionRequirementsMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.DecisionRequirementsMetadata").msgclass
|
|
64
|
+
FormMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.FormMetadata").msgclass
|
|
63
65
|
FailJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.FailJobRequest").msgclass
|
|
64
66
|
FailJobResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.FailJobResponse").msgclass
|
|
65
67
|
ThrowErrorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ThrowErrorRequest").msgclass
|
|
@@ -76,6 +78,8 @@ module Zeebe::Client::GatewayProtocol
|
|
|
76
78
|
Partition::PartitionBrokerHealth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.Partition.PartitionBrokerHealth").enummodule
|
|
77
79
|
UpdateJobRetriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.UpdateJobRetriesRequest").msgclass
|
|
78
80
|
UpdateJobRetriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.UpdateJobRetriesResponse").msgclass
|
|
81
|
+
UpdateJobTimeoutRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.UpdateJobTimeoutRequest").msgclass
|
|
82
|
+
UpdateJobTimeoutResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.UpdateJobTimeoutResponse").msgclass
|
|
79
83
|
SetVariablesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.SetVariablesRequest").msgclass
|
|
80
84
|
SetVariablesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.SetVariablesResponse").msgclass
|
|
81
85
|
ModifyProcessInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ModifyProcessInstanceRequest").msgclass
|
|
@@ -83,6 +87,10 @@ module Zeebe::Client::GatewayProtocol
|
|
|
83
87
|
ModifyProcessInstanceRequest::VariableInstruction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ModifyProcessInstanceRequest.VariableInstruction").msgclass
|
|
84
88
|
ModifyProcessInstanceRequest::TerminateInstruction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ModifyProcessInstanceRequest.TerminateInstruction").msgclass
|
|
85
89
|
ModifyProcessInstanceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ModifyProcessInstanceResponse").msgclass
|
|
90
|
+
MigrateProcessInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.MigrateProcessInstanceRequest").msgclass
|
|
91
|
+
MigrateProcessInstanceRequest::MigrationPlan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.MigrateProcessInstanceRequest.MigrationPlan").msgclass
|
|
92
|
+
MigrateProcessInstanceRequest::MappingInstruction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.MigrateProcessInstanceRequest.MappingInstruction").msgclass
|
|
93
|
+
MigrateProcessInstanceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.MigrateProcessInstanceResponse").msgclass
|
|
86
94
|
DeleteResourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.DeleteResourceRequest").msgclass
|
|
87
95
|
DeleteResourceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.DeleteResourceResponse").msgclass
|
|
88
96
|
BroadcastSignalRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.BroadcastSignalRequest").msgclass
|
|
@@ -26,6 +26,15 @@ module Zeebe::Client::GatewayProtocol
|
|
|
26
26
|
# - maxJobsToActivate is less than 1
|
|
27
27
|
rpc :ActivateJobs, ::Zeebe::Client::GatewayProtocol::ActivateJobsRequest, stream(::Zeebe::Client::GatewayProtocol::ActivateJobsResponse)
|
|
28
28
|
#
|
|
29
|
+
# Registers client to a job stream that will stream jobs back to the client as
|
|
30
|
+
# they become activatable.
|
|
31
|
+
#
|
|
32
|
+
# Errors:
|
|
33
|
+
# INVALID_ARGUMENT:
|
|
34
|
+
# - type is blank (empty string, null)
|
|
35
|
+
# - timeout less than 1
|
|
36
|
+
rpc :StreamActivatedJobs, ::Zeebe::Client::GatewayProtocol::StreamActivatedJobsRequest, stream(::Zeebe::Client::GatewayProtocol::ActivatedJob)
|
|
37
|
+
#
|
|
29
38
|
# Cancels a running process instance
|
|
30
39
|
#
|
|
31
40
|
# Errors:
|
|
@@ -96,11 +105,17 @@ module Zeebe::Client::GatewayProtocol
|
|
|
96
105
|
# Note that this is an atomic call, i.e. either all resources are deployed, or none of them are.
|
|
97
106
|
#
|
|
98
107
|
# Errors:
|
|
108
|
+
# PERMISSION_DENIED:
|
|
109
|
+
# - if a deployment to an unauthorized tenant is performed
|
|
99
110
|
# INVALID_ARGUMENT:
|
|
100
111
|
# - no resources given.
|
|
101
112
|
# - if at least one resource is invalid. A resource is considered invalid if:
|
|
102
113
|
# - the content is not deserializable (e.g. detected as BPMN, but it's broken XML)
|
|
103
114
|
# - the content is invalid (e.g. an event-based gateway has an outgoing sequence flow to a task)
|
|
115
|
+
# - if multi-tenancy is enabled, and:
|
|
116
|
+
# - a tenant id is not provided
|
|
117
|
+
# - a tenant id with an invalid format is provided
|
|
118
|
+
# - if multi-tenancy is disabled and a tenant id is provided
|
|
104
119
|
rpc :DeployResource, ::Zeebe::Client::GatewayProtocol::DeployResourceRequest, ::Zeebe::Client::GatewayProtocol::DeployResourceResponse
|
|
105
120
|
#
|
|
106
121
|
# Marks the job as failed; if the retries argument is positive, then the job will be immediately
|
|
@@ -184,6 +199,40 @@ module Zeebe::Client::GatewayProtocol
|
|
|
184
199
|
# - scope of variable is unknown
|
|
185
200
|
rpc :ModifyProcessInstance, ::Zeebe::Client::GatewayProtocol::ModifyProcessInstanceRequest, ::Zeebe::Client::GatewayProtocol::ModifyProcessInstanceResponse
|
|
186
201
|
#
|
|
202
|
+
# Migrates the process instance to the specified process definition.
|
|
203
|
+
# In simple terms, this is handled by updating the active element's process.
|
|
204
|
+
#
|
|
205
|
+
# Errors:
|
|
206
|
+
# NOT_FOUND:
|
|
207
|
+
# - no process instance exists with the given key, or it is not active
|
|
208
|
+
# - no process definition exists with the given target definition key
|
|
209
|
+
# - no process instance exists with the given key for the tenants the user is authorized to work with.
|
|
210
|
+
#
|
|
211
|
+
# FAILED_PRECONDITION:
|
|
212
|
+
# - not all active elements in the given process instance are mapped to the elements in the target process definition
|
|
213
|
+
# - a mapping instruction changes the type of an element or event
|
|
214
|
+
# - a mapping instruction refers to an unsupported element (i.e. some elements will be supported later on)
|
|
215
|
+
# - a mapping instruction refers to element in unsupported scenarios.
|
|
216
|
+
# (i.e. migration is not supported when process instance or target process elements contains event subscriptions)
|
|
217
|
+
#
|
|
218
|
+
# INVALID_ARGUMENT:
|
|
219
|
+
# - A `sourceElementId` does not refer to an element in the process instance's process definition
|
|
220
|
+
# - A `targetElementId` does not refer to an element in the target process definition
|
|
221
|
+
# - A `sourceElementId` is mapped by multiple mapping instructions.
|
|
222
|
+
# For example, the engine cannot determine how to migrate a process instance when the instructions are: [A->B, A->C].
|
|
223
|
+
rpc :MigrateProcessInstance, ::Zeebe::Client::GatewayProtocol::MigrateProcessInstanceRequest, ::Zeebe::Client::GatewayProtocol::MigrateProcessInstanceResponse
|
|
224
|
+
#
|
|
225
|
+
# Updates the deadline of a job using the timeout (in ms) provided. This can be used
|
|
226
|
+
# for extending or shortening the job deadline.
|
|
227
|
+
#
|
|
228
|
+
# Errors:
|
|
229
|
+
# NOT_FOUND:
|
|
230
|
+
# - no job exists with the given key
|
|
231
|
+
#
|
|
232
|
+
# INVALID_STATE:
|
|
233
|
+
# - no deadline exists for the given job key
|
|
234
|
+
rpc :UpdateJobTimeout, ::Zeebe::Client::GatewayProtocol::UpdateJobTimeoutRequest, ::Zeebe::Client::GatewayProtocol::UpdateJobTimeoutResponse
|
|
235
|
+
#
|
|
187
236
|
# Deletes a resource from the state. Once a resource has been deleted it cannot
|
|
188
237
|
# be recovered. If the resource needs to be available again, a new deployment
|
|
189
238
|
# of the resource is required.
|
data/lib/zeebe/client/version.rb
CHANGED
data/proto/gateway.proto
CHANGED
|
@@ -8,6 +8,22 @@ option go_package = "./;pb";
|
|
|
8
8
|
// For a more complete documentation, refer to Zeebe documentation at:
|
|
9
9
|
// https://docs.camunda.io/docs/reference/grpc
|
|
10
10
|
|
|
11
|
+
message StreamActivatedJobsRequest {
|
|
12
|
+
// the job type, as defined in the BPMN process (e.g. <zeebe:taskDefinition
|
|
13
|
+
// type="payment-service" />)
|
|
14
|
+
string type = 1;
|
|
15
|
+
// the name of the worker activating the jobs, mostly used for logging purposes
|
|
16
|
+
string worker = 2;
|
|
17
|
+
// a job returned after this call will not be activated by another call until the
|
|
18
|
+
// timeout (in ms) has been reached
|
|
19
|
+
int64 timeout = 3;
|
|
20
|
+
// a list of variables to fetch as the job variables; if empty, all visible variables at
|
|
21
|
+
// the time of activation for the scope of the job will be returned
|
|
22
|
+
repeated string fetchVariable = 5;
|
|
23
|
+
// a list of identifiers of tenants for which to stream jobs
|
|
24
|
+
repeated string tenantIds = 6;
|
|
25
|
+
}
|
|
26
|
+
|
|
11
27
|
message ActivateJobsRequest {
|
|
12
28
|
// the job type, as defined in the BPMN process (e.g. <zeebe:taskDefinition
|
|
13
29
|
// type="payment-service" />)
|
|
@@ -26,6 +42,8 @@ message ActivateJobsRequest {
|
|
|
26
42
|
// if the requestTimeout = 0, a default timeout is used.
|
|
27
43
|
// if the requestTimeout < 0, long polling is disabled and the request is completed immediately, even when no job is activated.
|
|
28
44
|
int64 requestTimeout = 6;
|
|
45
|
+
// a list of IDs of tenants for which to activate jobs
|
|
46
|
+
repeated string tenantIds = 7;
|
|
29
47
|
}
|
|
30
48
|
|
|
31
49
|
message ActivateJobsResponse {
|
|
@@ -63,6 +81,8 @@ message ActivatedJob {
|
|
|
63
81
|
// JSON document, computed at activation time, consisting of all visible variables to
|
|
64
82
|
// the task scope
|
|
65
83
|
string variables = 13;
|
|
84
|
+
// the id of the tenant that owns the job
|
|
85
|
+
string tenantId = 14;
|
|
66
86
|
}
|
|
67
87
|
|
|
68
88
|
message CancelProcessInstanceRequest {
|
|
@@ -102,6 +122,8 @@ message CreateProcessInstanceRequest {
|
|
|
102
122
|
// will start at the start event. If non-empty the process instance will apply start
|
|
103
123
|
// instructions after it has been created
|
|
104
124
|
repeated ProcessInstanceCreationStartInstruction startInstructions = 5;
|
|
125
|
+
// the tenant id of the process definition
|
|
126
|
+
string tenantId = 6;
|
|
105
127
|
}
|
|
106
128
|
|
|
107
129
|
message ProcessInstanceCreationStartInstruction {
|
|
@@ -128,6 +150,8 @@ message CreateProcessInstanceResponse {
|
|
|
128
150
|
// the unique identifier of the created process instance; to be used wherever a request
|
|
129
151
|
// needs a process instance key (e.g. CancelProcessInstanceRequest)
|
|
130
152
|
int64 processInstanceKey = 4;
|
|
153
|
+
// the tenant identifier of the created process instance
|
|
154
|
+
string tenantId = 5;
|
|
131
155
|
}
|
|
132
156
|
|
|
133
157
|
message CreateProcessInstanceWithResultRequest {
|
|
@@ -155,6 +179,8 @@ message CreateProcessInstanceWithResultResponse {
|
|
|
155
179
|
// JSON document
|
|
156
180
|
// consists of visible variables in the root scope
|
|
157
181
|
string variables = 5;
|
|
182
|
+
// the tenant identifier of the process definition
|
|
183
|
+
string tenantId = 6;
|
|
158
184
|
}
|
|
159
185
|
|
|
160
186
|
message EvaluateDecisionRequest {
|
|
@@ -170,6 +196,8 @@ message EvaluateDecisionRequest {
|
|
|
170
196
|
// [{ "a": 1, "b": 2 }] would not be a valid argument, as the root of the
|
|
171
197
|
// JSON document is an array and not an object.
|
|
172
198
|
string variables = 3;
|
|
199
|
+
// the tenant identifier of the decision
|
|
200
|
+
string tenantId = 4;
|
|
173
201
|
}
|
|
174
202
|
|
|
175
203
|
message EvaluateDecisionResponse {
|
|
@@ -199,6 +227,8 @@ message EvaluateDecisionResponse {
|
|
|
199
227
|
string failedDecisionId = 9;
|
|
200
228
|
// an optional message describing why the decision which was evaluated failed
|
|
201
229
|
string failureMessage = 10;
|
|
230
|
+
// the tenant identifier of the evaluated decision
|
|
231
|
+
string tenantId = 11;
|
|
202
232
|
}
|
|
203
233
|
|
|
204
234
|
message EvaluatedDecision {
|
|
@@ -221,6 +251,8 @@ message EvaluatedDecision {
|
|
|
221
251
|
repeated MatchedDecisionRule matchedRules = 7;
|
|
222
252
|
// the decision inputs that were evaluated within this decision evaluation
|
|
223
253
|
repeated EvaluatedDecisionInput evaluatedInputs = 8;
|
|
254
|
+
// the tenant identifier of the evaluated decision
|
|
255
|
+
string tenantId = 9;
|
|
224
256
|
}
|
|
225
257
|
|
|
226
258
|
message EvaluatedDecisionInput {
|
|
@@ -278,6 +310,8 @@ message DeployProcessResponse {
|
|
|
278
310
|
message DeployResourceRequest {
|
|
279
311
|
// list of resources to deploy
|
|
280
312
|
repeated Resource resources = 1;
|
|
313
|
+
// the tenant id of the resources to deploy
|
|
314
|
+
string tenantId = 2;
|
|
281
315
|
}
|
|
282
316
|
|
|
283
317
|
message Resource {
|
|
@@ -292,6 +326,8 @@ message DeployResourceResponse {
|
|
|
292
326
|
int64 key = 1;
|
|
293
327
|
// a list of deployed resources, e.g. processes
|
|
294
328
|
repeated Deployment deployments = 2;
|
|
329
|
+
// the tenant id of the deployed resources
|
|
330
|
+
string tenantId = 3;
|
|
295
331
|
}
|
|
296
332
|
|
|
297
333
|
message Deployment {
|
|
@@ -303,6 +339,8 @@ message Deployment {
|
|
|
303
339
|
DecisionMetadata decision = 2;
|
|
304
340
|
// metadata of a deployed decision requirements
|
|
305
341
|
DecisionRequirementsMetadata decisionRequirements = 3;
|
|
342
|
+
// metadata of a deployed form
|
|
343
|
+
FormMetadata form = 4;
|
|
306
344
|
}
|
|
307
345
|
}
|
|
308
346
|
|
|
@@ -317,6 +355,8 @@ message ProcessMetadata {
|
|
|
317
355
|
// the resource name (see: ProcessRequestObject.name) from which this process was
|
|
318
356
|
// parsed
|
|
319
357
|
string resourceName = 4;
|
|
358
|
+
// the tenant id of the deployed process
|
|
359
|
+
string tenantId = 5;
|
|
320
360
|
}
|
|
321
361
|
|
|
322
362
|
message DecisionMetadata {
|
|
@@ -336,6 +376,8 @@ message DecisionMetadata {
|
|
|
336
376
|
// the assigned key of the decision requirements graph that this decision is
|
|
337
377
|
// part of
|
|
338
378
|
int64 decisionRequirementsKey = 6;
|
|
379
|
+
// the tenant id of the deployed decision
|
|
380
|
+
string tenantId = 7;
|
|
339
381
|
}
|
|
340
382
|
|
|
341
383
|
message DecisionRequirementsMetadata {
|
|
@@ -352,6 +394,22 @@ message DecisionRequirementsMetadata {
|
|
|
352
394
|
// the resource name (see: Resource.name) from which this decision
|
|
353
395
|
// requirements was parsed
|
|
354
396
|
string resourceName = 5;
|
|
397
|
+
// the tenant id of the deployed decision requirements
|
|
398
|
+
string tenantId = 6;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
message FormMetadata {
|
|
402
|
+
// the form ID, as parsed during deployment; together with the
|
|
403
|
+
// versions forms a unique identifier for a specific form
|
|
404
|
+
string formId = 1;
|
|
405
|
+
// the assigned form version
|
|
406
|
+
int32 version = 2;
|
|
407
|
+
// the assigned key, which acts as a unique identifier for this form
|
|
408
|
+
int64 formKey = 3;
|
|
409
|
+
// the resource name
|
|
410
|
+
string resourceName = 4;
|
|
411
|
+
// the tenant id of the deployed form
|
|
412
|
+
string tenantId = 5;
|
|
355
413
|
}
|
|
356
414
|
|
|
357
415
|
message FailJobRequest {
|
|
@@ -407,11 +465,15 @@ message PublishMessageRequest {
|
|
|
407
465
|
// the message variables as a JSON document; to be valid, the root of the document must be an
|
|
408
466
|
// object, e.g. { "a": "foo" }. [ "foo" ] would not be valid.
|
|
409
467
|
string variables = 5;
|
|
468
|
+
// the tenant id of the message
|
|
469
|
+
string tenantId = 6;
|
|
410
470
|
}
|
|
411
471
|
|
|
412
472
|
message PublishMessageResponse {
|
|
413
473
|
// the unique ID of the message that was published
|
|
414
474
|
int64 key = 1;
|
|
475
|
+
// the tenant id of the message
|
|
476
|
+
string tenantId = 2;
|
|
415
477
|
}
|
|
416
478
|
|
|
417
479
|
message ResolveIncidentRequest {
|
|
@@ -484,6 +546,16 @@ message UpdateJobRetriesRequest {
|
|
|
484
546
|
message UpdateJobRetriesResponse {
|
|
485
547
|
}
|
|
486
548
|
|
|
549
|
+
message UpdateJobTimeoutRequest {
|
|
550
|
+
// the unique job identifier, as obtained from ActivateJobsResponse
|
|
551
|
+
int64 jobKey = 1;
|
|
552
|
+
// the duration of the new timeout in ms, starting from the current moment
|
|
553
|
+
int64 timeout = 2;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
message UpdateJobTimeoutResponse {
|
|
557
|
+
}
|
|
558
|
+
|
|
487
559
|
message SetVariablesRequest {
|
|
488
560
|
// the unique identifier of a particular element; can be the process instance key (as
|
|
489
561
|
// obtained during instance creation), or a given element, such as a service task (see
|
|
@@ -549,9 +621,34 @@ message ModifyProcessInstanceResponse {
|
|
|
549
621
|
|
|
550
622
|
}
|
|
551
623
|
|
|
624
|
+
message MigrateProcessInstanceRequest {
|
|
625
|
+
// key of the process instance to migrate
|
|
626
|
+
int64 processInstanceKey = 1;
|
|
627
|
+
// the migration plan that defines target process and element mappings
|
|
628
|
+
MigrationPlan migrationPlan = 2;
|
|
629
|
+
|
|
630
|
+
message MigrationPlan {
|
|
631
|
+
// the key of process definition to migrate the process instance to
|
|
632
|
+
int64 targetProcessDefinitionKey = 1;
|
|
633
|
+
// the mapping instructions describe how to map elements from the source process definition to the target process definition
|
|
634
|
+
repeated MappingInstruction mappingInstructions = 2;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
message MappingInstruction {
|
|
638
|
+
// the element id to migrate from
|
|
639
|
+
string sourceElementId = 1;
|
|
640
|
+
// the element id to migrate into
|
|
641
|
+
string targetElementId = 2;
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
message MigrateProcessInstanceResponse {
|
|
646
|
+
|
|
647
|
+
}
|
|
648
|
+
|
|
552
649
|
message DeleteResourceRequest {
|
|
553
650
|
// The key of the resource that should be deleted. This can either be the key
|
|
554
|
-
// of a process definition,
|
|
651
|
+
// of a process definition, the key of a decision requirements definition or the key of a form.
|
|
555
652
|
int64 resourceKey = 1;
|
|
556
653
|
}
|
|
557
654
|
|
|
@@ -562,15 +659,18 @@ message DeleteResourceResponse {
|
|
|
562
659
|
message BroadcastSignalRequest {
|
|
563
660
|
// The name of the signal
|
|
564
661
|
string signalName = 1;
|
|
565
|
-
|
|
566
662
|
// the signal variables as a JSON document; to be valid, the root of the document must be an
|
|
567
663
|
// object, e.g. { "a": "foo" }. [ "foo" ] would not be valid.
|
|
568
664
|
string variables = 2;
|
|
665
|
+
// the id of the tenant that owns the signal.
|
|
666
|
+
string tenantId = 3;
|
|
569
667
|
}
|
|
570
668
|
|
|
571
669
|
message BroadcastSignalResponse {
|
|
572
670
|
// the unique ID of the signal that was broadcasted.
|
|
573
671
|
int64 key = 1;
|
|
672
|
+
// the tenant id of the signal that was broadcasted.
|
|
673
|
+
string tenantId = 2;
|
|
574
674
|
}
|
|
575
675
|
|
|
576
676
|
service Gateway {
|
|
@@ -588,6 +688,18 @@ service Gateway {
|
|
|
588
688
|
rpc ActivateJobs (ActivateJobsRequest) returns (stream ActivateJobsResponse) {
|
|
589
689
|
}
|
|
590
690
|
|
|
691
|
+
/*
|
|
692
|
+
Registers client to a job stream that will stream jobs back to the client as
|
|
693
|
+
they become activatable.
|
|
694
|
+
|
|
695
|
+
Errors:
|
|
696
|
+
INVALID_ARGUMENT:
|
|
697
|
+
- type is blank (empty string, null)
|
|
698
|
+
- timeout less than 1
|
|
699
|
+
*/
|
|
700
|
+
rpc StreamActivatedJobs (StreamActivatedJobsRequest) returns (stream ActivatedJob) {
|
|
701
|
+
}
|
|
702
|
+
|
|
591
703
|
/*
|
|
592
704
|
Cancels a running process instance
|
|
593
705
|
|
|
@@ -679,11 +791,17 @@ service Gateway {
|
|
|
679
791
|
Note that this is an atomic call, i.e. either all resources are deployed, or none of them are.
|
|
680
792
|
|
|
681
793
|
Errors:
|
|
794
|
+
PERMISSION_DENIED:
|
|
795
|
+
- if a deployment to an unauthorized tenant is performed
|
|
682
796
|
INVALID_ARGUMENT:
|
|
683
797
|
- no resources given.
|
|
684
798
|
- if at least one resource is invalid. A resource is considered invalid if:
|
|
685
799
|
- the content is not deserializable (e.g. detected as BPMN, but it's broken XML)
|
|
686
800
|
- the content is invalid (e.g. an event-based gateway has an outgoing sequence flow to a task)
|
|
801
|
+
- if multi-tenancy is enabled, and:
|
|
802
|
+
- a tenant id is not provided
|
|
803
|
+
- a tenant id with an invalid format is provided
|
|
804
|
+
- if multi-tenancy is disabled and a tenant id is provided
|
|
687
805
|
*/
|
|
688
806
|
rpc DeployResource (DeployResourceRequest) returns (DeployResourceResponse) {
|
|
689
807
|
}
|
|
@@ -795,6 +913,47 @@ service Gateway {
|
|
|
795
913
|
|
|
796
914
|
}
|
|
797
915
|
|
|
916
|
+
/*
|
|
917
|
+
Migrates the process instance to the specified process definition.
|
|
918
|
+
In simple terms, this is handled by updating the active element's process.
|
|
919
|
+
|
|
920
|
+
Errors:
|
|
921
|
+
NOT_FOUND:
|
|
922
|
+
- no process instance exists with the given key, or it is not active
|
|
923
|
+
- no process definition exists with the given target definition key
|
|
924
|
+
- no process instance exists with the given key for the tenants the user is authorized to work with.
|
|
925
|
+
|
|
926
|
+
FAILED_PRECONDITION:
|
|
927
|
+
- not all active elements in the given process instance are mapped to the elements in the target process definition
|
|
928
|
+
- a mapping instruction changes the type of an element or event
|
|
929
|
+
- a mapping instruction refers to an unsupported element (i.e. some elements will be supported later on)
|
|
930
|
+
- a mapping instruction refers to element in unsupported scenarios.
|
|
931
|
+
(i.e. migration is not supported when process instance or target process elements contains event subscriptions)
|
|
932
|
+
|
|
933
|
+
INVALID_ARGUMENT:
|
|
934
|
+
- A `sourceElementId` does not refer to an element in the process instance's process definition
|
|
935
|
+
- A `targetElementId` does not refer to an element in the target process definition
|
|
936
|
+
- A `sourceElementId` is mapped by multiple mapping instructions.
|
|
937
|
+
For example, the engine cannot determine how to migrate a process instance when the instructions are: [A->B, A->C].
|
|
938
|
+
*/
|
|
939
|
+
rpc MigrateProcessInstance (MigrateProcessInstanceRequest) returns (MigrateProcessInstanceResponse) {
|
|
940
|
+
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
/*
|
|
944
|
+
Updates the deadline of a job using the timeout (in ms) provided. This can be used
|
|
945
|
+
for extending or shortening the job deadline.
|
|
946
|
+
|
|
947
|
+
Errors:
|
|
948
|
+
NOT_FOUND:
|
|
949
|
+
- no job exists with the given key
|
|
950
|
+
|
|
951
|
+
INVALID_STATE:
|
|
952
|
+
- no deadline exists for the given job key
|
|
953
|
+
*/
|
|
954
|
+
rpc UpdateJobTimeout (UpdateJobTimeoutRequest) returns (UpdateJobTimeoutResponse) {
|
|
955
|
+
}
|
|
956
|
+
|
|
798
957
|
/*
|
|
799
958
|
Deletes a resource from the state. Once a resource has been deleted it cannot
|
|
800
959
|
be recovered. If the resource needs to be available again, a new deployment
|
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.
|
|
4
|
+
version: 0.20.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:
|
|
11
|
+
date: 2024-01-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: grpc
|