Files
tasks/chasm/lib/scheduler/proto/v1/request_response.proto
Lina JodoinandGitHub f2f90fbba4 [Scheduled Actions] CHASM API Handlers (#8474)
## 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.
2025-10-24 18:14:31 +00:00

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;
}