proto/gateway.proto in zeebe-client-0.0.1 vs proto/gateway.proto in zeebe-client-0.1.0

- old
+ new

@@ -69,23 +69,10 @@ } message PublishMessageResponse { } -message CreateJobRequest { - string jobType = 1; - int32 retries = 2; - /* custom headers has to be a valid json object as string */ - string customHeaders = 3; - /* payload has to be a valid json object as string */ - string payload = 4; -} - -message CreateJobResponse { - int64 key = 1; -} - message UpdateJobRetriesRequest { int64 jobKey = 1; int32 retries = 2; } @@ -93,10 +80,11 @@ } message FailJobRequest { int64 jobKey = 1; int32 retries = 2; + string errorMessage = 3; } message FailJobResponse { } @@ -198,19 +186,24 @@ message ActivateJobsResponse { repeated ActivatedJob jobs = 1; } +message ResolveIncidentRequest { + int64 incidentKey = 1; +} + +message ResolveIncidentResponse { +} + service Gateway { rpc Topology (TopologyRequest) returns (TopologyResponse) { } rpc DeployWorkflow (DeployWorkflowRequest) returns (DeployWorkflowResponse) { } rpc PublishMessage (PublishMessageRequest) returns (PublishMessageResponse) { } - rpc CreateJob (CreateJobRequest) returns (CreateJobResponse) { - } rpc UpdateJobRetries (UpdateJobRetriesRequest) returns (UpdateJobRetriesResponse) { } rpc FailJob (FailJobRequest) returns (FailJobResponse) { } rpc CompleteJob (CompleteJobRequest) returns (CompleteJobResponse) { @@ -224,7 +217,9 @@ rpc ActivateJobs (ActivateJobsRequest) returns (stream ActivateJobsResponse) { } rpc ListWorkflows (ListWorkflowsRequest) returns (ListWorkflowsResponse) { } rpc GetWorkflow (GetWorkflowRequest) returns (GetWorkflowResponse) { + } + rpc ResolveIncident (ResolveIncidentRequest) returns (ResolveIncidentResponse) { } }