Skip to content

Commit b3564a1

Browse files
update orchestrator service for compatibility with DTS
1 parent 3100005 commit b3564a1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

protos/orchestrator_service.proto

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,15 @@ message TerminateOrchestrationAction {
288288
bool recurse = 3;
289289
}
290290

291+
message SendEntityMessageAction {
292+
oneof EntityMessageType {
293+
EntityOperationSignaledEvent entityOperationSignaled = 1;
294+
EntityOperationCalledEvent entityOperationCalled = 2;
295+
EntityLockRequestedEvent entityLockRequested = 3;
296+
EntityUnlockSentEvent entityUnlockSent = 4;
297+
}
298+
}
299+
291300
message OrchestratorAction {
292301
int32 id = 1;
293302
oneof orchestratorActionType {
@@ -297,6 +306,7 @@ message OrchestratorAction {
297306
SendEventAction sendEvent = 5;
298307
CompleteOrchestrationAction completeOrchestration = 6;
299308
TerminateOrchestrationAction terminateOrchestration = 7;
309+
SendEntityMessageAction sendEntityMessage = 8;
300310
}
301311
}
302312

@@ -545,6 +555,8 @@ message EntityBatchResult {
545555
repeated OperationAction actions = 2;
546556
google.protobuf.StringValue entityState = 3;
547557
TaskFailureDetails failureDetails = 4;
558+
string completionToken = 5;
559+
repeated OperationInfo operationInfos = 6; // used only with DTS
548560
}
549561

550562
message EntityRequest {
@@ -567,6 +579,11 @@ message OperationResult {
567579
}
568580
}
569581

582+
message OperationInfo {
583+
string requestId = 1;
584+
OrchestrationInstance responseDestination = 2; // null for signals
585+
}
586+
570587
message OperationResultSuccess {
571588
google.protobuf.StringValue result = 1;
572589
}

0 commit comments

Comments
 (0)