Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions protos/backend_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ service BackendService {
// and for sending orchestration lifecycle events, such as terminate, suspend, resume, etc.
rpc AddEvent (AddEventRequest) returns (AddEventResponse);

// The same as the AddEvent API, except for sending events to multiple orchestration instances at once.
rpc AddEvents (AddEventsRequest) returns (AddEventsResponse);

// Returns metadata about an orchestration instance.
rpc GetInstance (GetInstanceRequest) returns (GetInstanceResponse);

Expand Down Expand Up @@ -101,6 +104,19 @@ message AddEventResponse {
// No fields
}

// Request payload for adding new orchestration events to multiple instances.
message AddEventsRequest {
// A map from instance IDs to the event to add to each.
map<string, HistoryEvent> events = 1;
}

// Response payload for adding new orchestration events to multiple instances.
message AddEventsResponse {
// Those instances for which events were not successfully added.
// Events may not be successfully added due to capacity issues, or if the target instance does not exist.
repeated string unsuccessfulInstanceIds = 1;
}

// Request payload for waiting for instance completion.
message WaitForInstanceRequest {
string instanceId = 1;
Expand Down