Skip to content

Commit 3869653

Browse files
authored
Add request/response thrift types for start workflow http endpoint (#729)
## Summary Needed for orchestration service till we move over these thrift files ## Checklist - [ ] Added Unit Tests - [ ] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced support for starting workflows with detailed parameters, including node name, branch, date range, and partition specifications. - Responses now include the workflow identifier when a workflow is started. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 0ec235f commit 3869653

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

api/thrift/orchestration.thrift

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,19 @@ struct UploadResponse {
256256
1: optional string message
257257
}
258258

259+
struct WorkflowStartRequest {
260+
1: optional string nodeName
261+
2: optional string branch
262+
3: optional string startDate
263+
4: optional string endDate
264+
5: optional string partitionSpecFormat
265+
6: optional i64 partitionSpecMillis
266+
}
267+
268+
struct WorkflowStartResponse {
269+
1: optional string workflowId
270+
}
271+
259272
// ====================== End of Orchestration Service API Types ======================
260273

261274
/**

0 commit comments

Comments
 (0)