@@ -288,6 +288,15 @@ message TerminateOrchestrationAction {
288
288
bool recurse = 3 ;
289
289
}
290
290
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
+
291
300
message OrchestratorAction {
292
301
int32 id = 1 ;
293
302
oneof orchestratorActionType {
@@ -297,6 +306,7 @@ message OrchestratorAction {
297
306
SendEventAction sendEvent = 5 ;
298
307
CompleteOrchestrationAction completeOrchestration = 6 ;
299
308
TerminateOrchestrationAction terminateOrchestration = 7 ;
309
+ SendEntityMessageAction sendEntityMessage = 8 ;
300
310
}
301
311
}
302
312
@@ -329,6 +339,7 @@ message CreateInstanceRequest {
329
339
OrchestrationIdReusePolicy orchestrationIdReusePolicy = 6 ;
330
340
google.protobuf.StringValue executionId = 7 ;
331
341
map <string , string > tags = 8 ;
342
+ TraceContext parentTraceContext = 9 ;
332
343
}
333
344
334
345
message OrchestrationIdReusePolicy {
@@ -550,6 +561,8 @@ message EntityBatchResult {
550
561
repeated OperationAction actions = 2 ;
551
562
google.protobuf.StringValue entityState = 3 ;
552
563
TaskFailureDetails failureDetails = 4 ;
564
+ string completionToken = 5 ;
565
+ repeated OperationInfo operationInfos = 6 ; // used only with DTS
553
566
}
554
567
555
568
message EntityRequest {
@@ -572,6 +585,11 @@ message OperationResult {
572
585
}
573
586
}
574
587
588
+ message OperationInfo {
589
+ string requestId = 1 ;
590
+ OrchestrationInstance responseDestination = 2 ; // null for signals
591
+ }
592
+
575
593
message OperationResultSuccess {
576
594
google.protobuf.StringValue result = 1 ;
577
595
}
0 commit comments