Files
tasks/chasm/lib/scheduler/proto/v1/service.proto
Stephan BehnkeandGitHub 70ae876110 buf format (#9663)
## What changed?

Adds `buf format` as a Makefile target; and integrates it into `make
fmt`.

All `.proto` changes are from running `make fmt`.

## Why?

Consistent protobuf file style.

## How did you test it?
- [x] built
- [ ] run locally and tested manually
- [ ] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)
2026-03-30 15:30:50 -07:00

52 lines
2.5 KiB
Protocol Buffer

syntax = "proto3";
package temporal.server.chasm.lib.scheduler.proto.v1;
import "chasm/lib/scheduler/proto/v1/request_response.proto";
import "temporal/server/api/common/v1/api_category.proto";
import "temporal/server/api/routing/v1/extension.proto";
option go_package = "go.temporal.io/server/chasm/lib/scheduler/gen/schedulerpb;schedulerpb";
service SchedulerService {
rpc CreateSchedule(CreateScheduleRequest) returns (CreateScheduleResponse) {
option (temporal.server.api.routing.v1.routing).business_id = "frontend_request.schedule_id";
option (temporal.server.api.common.v1.api_category).category = API_CATEGORY_STANDARD;
}
rpc UpdateSchedule(UpdateScheduleRequest) returns (UpdateScheduleResponse) {
option (temporal.server.api.routing.v1.routing).business_id = "frontend_request.schedule_id";
option (temporal.server.api.common.v1.api_category).category = API_CATEGORY_STANDARD;
}
rpc PatchSchedule(PatchScheduleRequest) returns (PatchScheduleResponse) {
option (temporal.server.api.routing.v1.routing).business_id = "frontend_request.schedule_id";
option (temporal.server.api.common.v1.api_category).category = API_CATEGORY_STANDARD;
}
rpc DeleteSchedule(DeleteScheduleRequest) returns (DeleteScheduleResponse) {
option (temporal.server.api.routing.v1.routing).business_id = "frontend_request.schedule_id";
option (temporal.server.api.common.v1.api_category).category = API_CATEGORY_STANDARD;
}
rpc DescribeSchedule(DescribeScheduleRequest) returns (DescribeScheduleResponse) {
option (temporal.server.api.routing.v1.routing).business_id = "frontend_request.schedule_id";
option (temporal.server.api.common.v1.api_category).category = API_CATEGORY_STANDARD;
}
rpc ListScheduleMatchingTimes(ListScheduleMatchingTimesRequest) returns (ListScheduleMatchingTimesResponse) {
option (temporal.server.api.routing.v1.routing).business_id = "frontend_request.schedule_id";
option (temporal.server.api.common.v1.api_category).category = API_CATEGORY_STANDARD;
}
rpc CreateFromMigrationState(CreateFromMigrationStateRequest) returns (CreateFromMigrationStateResponse) {
option (temporal.server.api.routing.v1.routing).business_id = "state.scheduler_state.schedule_id";
}
rpc CreateSentinel(CreateSentinelRequest) returns (CreateSentinelResponse) {
option (temporal.server.api.routing.v1.routing).business_id = "schedule_id";
}
rpc MigrateToWorkflow(MigrateToWorkflowRequest) returns (MigrateToWorkflowResponse) {
option (temporal.server.api.routing.v1.routing).business_id = "schedule_id";
}
}