Skip to content

Commit

Permalink
reinstate old batch endpoints for backwards compatibility with UI (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
rossedfort committed Dec 1, 2022
1 parent f4e5126 commit fdfae6e
Show file tree
Hide file tree
Showing 4 changed files with 546 additions and 115 deletions.
14 changes: 14 additions & 0 deletions proto/api/temporal/api/workflowservice/v1/service.proto
Expand Up @@ -459,6 +459,20 @@ service WorkflowService {
};
}

rpc OldStartBatchOperation (StartBatchOperationRequest) returns (StartBatchOperationResponse) {
option (google.api.http) = {
post: "/api/v1/namespaces/{namespace}/workflows/batch/terminate"
body: "*"
};
}

// DescribeBatchOperation returns the information about a batch operation
rpc OldDescribeBatchOperation (DescribeBatchOperationRequest) returns (DescribeBatchOperationResponse) {
option (google.api.http) = {
get: "/api/v1/namespaces/{namespace}/workflows/batch/describe"
};
}

// StartBatchOperation starts a new batch operation
rpc StartBatchOperation (StartBatchOperationRequest) returns (StartBatchOperationResponse) {
option (google.api.http) = {
Expand Down

0 comments on commit fdfae6e

Please sign in to comment.