mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
## What changed? - Added an RPC service to the CHASM Scheduler which implements its CRUD operations. - The intention is for the frontend handler to attempt to route to CHASM operations in history, and in the event of a not-found, let frontend retry its old (V1 scheduler) path. - These assume frontend's validation. As we move towards ripping out the old scheduler code, we'll start moving all of that existing logic over into the CHASM world, but for now, let's keep it as-is for as light a possible touch on existing paths. - This is based on `standalone-activity` just to get the API boilerplate stuff.
63 lines
1.7 KiB
Protocol Buffer
63 lines
1.7 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
package temporal.server.chasm.lib.scheduler.proto.v1;
|
|
|
|
option go_package = "go.temporal.io/server/chasm/lib/scheduler/gen/schedulerpb;schedulerpb";
|
|
|
|
import "temporal/api/workflowservice/v1/request_response.proto";
|
|
|
|
message CreateScheduleRequest {
|
|
// Internal namespace ID (UUID).
|
|
string namespace_id = 1;
|
|
|
|
temporal.api.workflowservice.v1.CreateScheduleRequest frontend_request = 2;
|
|
}
|
|
|
|
message CreateScheduleResponse {
|
|
temporal.api.workflowservice.v1.CreateScheduleResponse frontend_response = 1;
|
|
}
|
|
|
|
message UpdateScheduleRequest {
|
|
// Internal namespace ID (UUID).
|
|
string namespace_id = 1;
|
|
|
|
temporal.api.workflowservice.v1.UpdateScheduleRequest frontend_request = 2;
|
|
}
|
|
|
|
message UpdateScheduleResponse {
|
|
temporal.api.workflowservice.v1.UpdateScheduleResponse frontend_response = 1;
|
|
}
|
|
|
|
message PatchScheduleRequest {
|
|
// Internal namespace ID (UUID).
|
|
string namespace_id = 1;
|
|
|
|
temporal.api.workflowservice.v1.PatchScheduleRequest frontend_request = 2;
|
|
}
|
|
|
|
message PatchScheduleResponse {
|
|
temporal.api.workflowservice.v1.PatchScheduleResponse frontend_response = 1;
|
|
}
|
|
|
|
message DeleteScheduleRequest {
|
|
// Internal namespace ID (UUID).
|
|
string namespace_id = 1;
|
|
|
|
temporal.api.workflowservice.v1.DeleteScheduleRequest frontend_request = 2;
|
|
}
|
|
|
|
message DeleteScheduleResponse {
|
|
temporal.api.workflowservice.v1.DeleteScheduleResponse frontend_response = 1;
|
|
}
|
|
|
|
message DescribeScheduleRequest {
|
|
// Internal namespace ID (UUID).
|
|
string namespace_id = 1;
|
|
|
|
temporal.api.workflowservice.v1.DescribeScheduleRequest frontend_request = 2;
|
|
}
|
|
|
|
message DescribeScheduleResponse {
|
|
temporal.api.workflowservice.v1.DescribeScheduleResponse frontend_response = 1;
|
|
}
|