@@ -169,6 +169,26 @@ service Dapr {
169
169
// Raise an event to a running workflow instance
170
170
rpc RaiseEventWorkflowAlpha1 (RaiseEventWorkflowRequest ) returns (google .protobuf .Empty ) {}
171
171
172
+ // Starts a new instance of a workflow
173
+ rpc StartWorkflowBeta1 (StartWorkflowRequest ) returns (StartWorkflowResponse ) {}
174
+
175
+ // Gets details about a started workflow instance
176
+ rpc GetWorkflowBeta1 (GetWorkflowRequest ) returns (GetWorkflowResponse ) {}
177
+
178
+ // Purge Workflow
179
+ rpc PurgeWorkflowBeta1 (PurgeWorkflowRequest ) returns (google .protobuf .Empty ) {}
180
+
181
+ // Terminates a running workflow instance
182
+ rpc TerminateWorkflowBeta1 (TerminateWorkflowRequest ) returns (google .protobuf .Empty ) {}
183
+
184
+ // Pauses a running workflow instance
185
+ rpc PauseWorkflowBeta1 (PauseWorkflowRequest ) returns (google .protobuf .Empty ) {}
186
+
187
+ // Resumes a paused workflow instance
188
+ rpc ResumeWorkflowBeta1 (ResumeWorkflowRequest ) returns (google .protobuf .Empty ) {}
189
+
190
+ // Raise an event to a running workflow instance
191
+ rpc RaiseEventWorkflowBeta1 (RaiseEventWorkflowRequest ) returns (google .protobuf .Empty ) {}
172
192
// Shutdown the sidecar
173
193
rpc Shutdown (google .protobuf .Empty ) returns (google .protobuf .Empty ) {}
174
194
}
@@ -542,6 +562,9 @@ message GetActorStateRequest {
542
562
// GetActorStateResponse is the response conveying the actor's state value.
543
563
message GetActorStateResponse {
544
564
bytes data = 1 ;
565
+
566
+ // The metadata which will be sent to app.
567
+ map <string , string > metadata = 2 ;
545
568
}
546
569
547
570
// ExecuteActorStateTransactionRequest is the message to execute multiple operations on a specified actor.
@@ -978,15 +1001,15 @@ message DecryptResponse {
978
1001
common.v1.StreamPayload payload = 1 ;
979
1002
}
980
1003
981
- // GetWorkflowRequest is the request for GetWorkflowAlpha1 .
1004
+ // GetWorkflowRequest is the request for GetWorkflowBeta1 .
982
1005
message GetWorkflowRequest {
983
1006
// ID of the workflow instance to query.
984
1007
string instance_id = 1 [json_name = "instanceID" ];
985
1008
// Name of the workflow component.
986
1009
string workflow_component = 2 [json_name = "workflowComponent" ];
987
1010
}
988
1011
989
- // GetWorkflowResponse is the response for GetWorkflowAlpha1 .
1012
+ // GetWorkflowResponse is the response for GetWorkflowBeta1 .
990
1013
message GetWorkflowResponse {
991
1014
// ID of the workflow instance.
992
1015
string instance_id = 1 [json_name = "instanceID" ];
@@ -1002,7 +1025,7 @@ message GetWorkflowResponse {
1002
1025
map <string , string > properties = 6 ;
1003
1026
}
1004
1027
1005
- // StartWorkflowRequest is the request for StartWorkflowAlpha1 .
1028
+ // StartWorkflowRequest is the request for StartWorkflowBeta1 .
1006
1029
message StartWorkflowRequest {
1007
1030
// The ID to assign to the started workflow instance. If empty, a random ID is generated.
1008
1031
string instance_id = 1 [json_name = "instanceID" ];
@@ -1016,37 +1039,37 @@ message StartWorkflowRequest {
1016
1039
bytes input = 5 ;
1017
1040
}
1018
1041
1019
- // StartWorkflowResponse is the response for StartWorkflowAlpha1 .
1042
+ // StartWorkflowResponse is the response for StartWorkflowBeta1 .
1020
1043
message StartWorkflowResponse {
1021
1044
// ID of the started workflow instance.
1022
1045
string instance_id = 1 [json_name = "instanceID" ];
1023
1046
}
1024
1047
1025
- // TerminateWorkflowRequest is the request for TerminateWorkflowAlpha1 .
1048
+ // TerminateWorkflowRequest is the request for TerminateWorkflowBeta1 .
1026
1049
message TerminateWorkflowRequest {
1027
1050
// ID of the workflow instance to terminate.
1028
1051
string instance_id = 1 [json_name = "instanceID" ];
1029
1052
// Name of the workflow component.
1030
1053
string workflow_component = 2 [json_name = "workflowComponent" ];
1031
1054
}
1032
1055
1033
- // PauseWorkflowRequest is the request for PauseWorkflowAlpha1 .
1056
+ // PauseWorkflowRequest is the request for PauseWorkflowBeta1 .
1034
1057
message PauseWorkflowRequest {
1035
1058
// ID of the workflow instance to pause.
1036
1059
string instance_id = 1 [json_name = "instanceID" ];
1037
1060
// Name of the workflow component.
1038
1061
string workflow_component = 2 [json_name = "workflowComponent" ];
1039
1062
}
1040
1063
1041
- // ResumeWorkflowRequest is the request for ResumeWorkflowAlpha1 .
1064
+ // ResumeWorkflowRequest is the request for ResumeWorkflowBeta1 .
1042
1065
message ResumeWorkflowRequest {
1043
1066
// ID of the workflow instance to resume.
1044
1067
string instance_id = 1 [json_name = "instanceID" ];
1045
1068
// Name of the workflow component.
1046
1069
string workflow_component = 2 [json_name = "workflowComponent" ];
1047
1070
}
1048
1071
1049
- // RaiseEventWorkflowRequest is the request for RaiseEventWorkflowAlpha1 .
1072
+ // RaiseEventWorkflowRequest is the request for RaiseEventWorkflowBeta1 .
1050
1073
message RaiseEventWorkflowRequest {
1051
1074
// ID of the workflow instance to raise an event for.
1052
1075
string instance_id = 1 [json_name = "instanceID" ];
@@ -1058,10 +1081,10 @@ message RaiseEventWorkflowRequest {
1058
1081
bytes event_data = 4 ;
1059
1082
}
1060
1083
1061
- // PurgeWorkflowRequest is the request for PurgeWorkflowAlpha1 .
1084
+ // PurgeWorkflowRequest is the request for PurgeWorkflowBeta1 .
1062
1085
message PurgeWorkflowRequest {
1063
1086
// ID of the workflow instance to purge.
1064
1087
string instance_id = 1 [json_name = "instanceID" ];
1065
1088
// Name of the workflow component.
1066
1089
string workflow_component = 2 [json_name = "workflowComponent" ];
1067
- }
1090
+ }
0 commit comments