Skip to content

Commit b613923

Browse files
cscetbonzedgell
authored andcommitted
Update proto 1.12.4 (dapr#114)
* Update proto Signed-off-by: Cyril Scetbon <[email protected]> * Use v1.12.4 instead of master for now Signed-off-by: Cyril Scetbon <[email protected]> --------- Signed-off-by: Cyril Scetbon <[email protected]> Signed-off-by: Zachary Edgell <[email protected]>
1 parent 0933656 commit b613923

File tree

1 file changed

+33
-10
lines changed

1 file changed

+33
-10
lines changed

dapr/proto/runtime/v1/dapr.proto

+33-10
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,26 @@ service Dapr {
169169
// Raise an event to a running workflow instance
170170
rpc RaiseEventWorkflowAlpha1 (RaiseEventWorkflowRequest) returns (google.protobuf.Empty) {}
171171

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) {}
172192
// Shutdown the sidecar
173193
rpc Shutdown (google.protobuf.Empty) returns (google.protobuf.Empty) {}
174194
}
@@ -542,6 +562,9 @@ message GetActorStateRequest {
542562
// GetActorStateResponse is the response conveying the actor's state value.
543563
message GetActorStateResponse {
544564
bytes data = 1;
565+
566+
// The metadata which will be sent to app.
567+
map<string, string> metadata = 2;
545568
}
546569

547570
// ExecuteActorStateTransactionRequest is the message to execute multiple operations on a specified actor.
@@ -978,15 +1001,15 @@ message DecryptResponse {
9781001
common.v1.StreamPayload payload = 1;
9791002
}
9801003

981-
// GetWorkflowRequest is the request for GetWorkflowAlpha1.
1004+
// GetWorkflowRequest is the request for GetWorkflowBeta1.
9821005
message GetWorkflowRequest {
9831006
// ID of the workflow instance to query.
9841007
string instance_id = 1 [json_name = "instanceID"];
9851008
// Name of the workflow component.
9861009
string workflow_component = 2 [json_name = "workflowComponent"];
9871010
}
9881011

989-
// GetWorkflowResponse is the response for GetWorkflowAlpha1.
1012+
// GetWorkflowResponse is the response for GetWorkflowBeta1.
9901013
message GetWorkflowResponse {
9911014
// ID of the workflow instance.
9921015
string instance_id = 1 [json_name = "instanceID"];
@@ -1002,7 +1025,7 @@ message GetWorkflowResponse {
10021025
map<string, string> properties = 6;
10031026
}
10041027

1005-
// StartWorkflowRequest is the request for StartWorkflowAlpha1.
1028+
// StartWorkflowRequest is the request for StartWorkflowBeta1.
10061029
message StartWorkflowRequest {
10071030
// The ID to assign to the started workflow instance. If empty, a random ID is generated.
10081031
string instance_id = 1 [json_name = "instanceID"];
@@ -1016,37 +1039,37 @@ message StartWorkflowRequest {
10161039
bytes input = 5;
10171040
}
10181041

1019-
// StartWorkflowResponse is the response for StartWorkflowAlpha1.
1042+
// StartWorkflowResponse is the response for StartWorkflowBeta1.
10201043
message StartWorkflowResponse {
10211044
// ID of the started workflow instance.
10221045
string instance_id = 1 [json_name = "instanceID"];
10231046
}
10241047

1025-
// TerminateWorkflowRequest is the request for TerminateWorkflowAlpha1.
1048+
// TerminateWorkflowRequest is the request for TerminateWorkflowBeta1.
10261049
message TerminateWorkflowRequest {
10271050
// ID of the workflow instance to terminate.
10281051
string instance_id = 1 [json_name = "instanceID"];
10291052
// Name of the workflow component.
10301053
string workflow_component = 2 [json_name = "workflowComponent"];
10311054
}
10321055

1033-
// PauseWorkflowRequest is the request for PauseWorkflowAlpha1.
1056+
// PauseWorkflowRequest is the request for PauseWorkflowBeta1.
10341057
message PauseWorkflowRequest {
10351058
// ID of the workflow instance to pause.
10361059
string instance_id = 1 [json_name = "instanceID"];
10371060
// Name of the workflow component.
10381061
string workflow_component = 2 [json_name = "workflowComponent"];
10391062
}
10401063

1041-
// ResumeWorkflowRequest is the request for ResumeWorkflowAlpha1.
1064+
// ResumeWorkflowRequest is the request for ResumeWorkflowBeta1.
10421065
message ResumeWorkflowRequest {
10431066
// ID of the workflow instance to resume.
10441067
string instance_id = 1 [json_name = "instanceID"];
10451068
// Name of the workflow component.
10461069
string workflow_component = 2 [json_name = "workflowComponent"];
10471070
}
10481071

1049-
// RaiseEventWorkflowRequest is the request for RaiseEventWorkflowAlpha1.
1072+
// RaiseEventWorkflowRequest is the request for RaiseEventWorkflowBeta1.
10501073
message RaiseEventWorkflowRequest {
10511074
// ID of the workflow instance to raise an event for.
10521075
string instance_id = 1 [json_name = "instanceID"];
@@ -1058,10 +1081,10 @@ message RaiseEventWorkflowRequest {
10581081
bytes event_data = 4;
10591082
}
10601083

1061-
// PurgeWorkflowRequest is the request for PurgeWorkflowAlpha1.
1084+
// PurgeWorkflowRequest is the request for PurgeWorkflowBeta1.
10621085
message PurgeWorkflowRequest {
10631086
// ID of the workflow instance to purge.
10641087
string instance_id = 1 [json_name = "instanceID"];
10651088
// Name of the workflow component.
10661089
string workflow_component = 2 [json_name = "workflowComponent"];
1067-
}
1090+
}

0 commit comments

Comments
 (0)