Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update proto 1.12.4 #114

Merged
merged 2 commits into from
Feb 12, 2024
Merged
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
43 changes: 33 additions & 10 deletions dapr/proto/runtime/v1/dapr.proto
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,26 @@ service Dapr {
// Raise an event to a running workflow instance
rpc RaiseEventWorkflowAlpha1 (RaiseEventWorkflowRequest) returns (google.protobuf.Empty) {}

// Starts a new instance of a workflow
rpc StartWorkflowBeta1 (StartWorkflowRequest) returns (StartWorkflowResponse) {}

// Gets details about a started workflow instance
rpc GetWorkflowBeta1 (GetWorkflowRequest) returns (GetWorkflowResponse) {}

// Purge Workflow
rpc PurgeWorkflowBeta1 (PurgeWorkflowRequest) returns (google.protobuf.Empty) {}

// Terminates a running workflow instance
rpc TerminateWorkflowBeta1 (TerminateWorkflowRequest) returns (google.protobuf.Empty) {}

// Pauses a running workflow instance
rpc PauseWorkflowBeta1 (PauseWorkflowRequest) returns (google.protobuf.Empty) {}

// Resumes a paused workflow instance
rpc ResumeWorkflowBeta1 (ResumeWorkflowRequest) returns (google.protobuf.Empty) {}

// Raise an event to a running workflow instance
rpc RaiseEventWorkflowBeta1 (RaiseEventWorkflowRequest) returns (google.protobuf.Empty) {}
// Shutdown the sidecar
rpc Shutdown (google.protobuf.Empty) returns (google.protobuf.Empty) {}
}
Expand Down Expand Up @@ -542,6 +562,9 @@ message GetActorStateRequest {
// GetActorStateResponse is the response conveying the actor's state value.
message GetActorStateResponse {
bytes data = 1;

// The metadata which will be sent to app.
map<string, string> metadata = 2;
}

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

// GetWorkflowRequest is the request for GetWorkflowAlpha1.
// GetWorkflowRequest is the request for GetWorkflowBeta1.
message GetWorkflowRequest {
// ID of the workflow instance to query.
string instance_id = 1 [json_name = "instanceID"];
// Name of the workflow component.
string workflow_component = 2 [json_name = "workflowComponent"];
}

// GetWorkflowResponse is the response for GetWorkflowAlpha1.
// GetWorkflowResponse is the response for GetWorkflowBeta1.
message GetWorkflowResponse {
// ID of the workflow instance.
string instance_id = 1 [json_name = "instanceID"];
Expand All @@ -1002,7 +1025,7 @@ message GetWorkflowResponse {
map<string, string> properties = 6;
}

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

// StartWorkflowResponse is the response for StartWorkflowAlpha1.
// StartWorkflowResponse is the response for StartWorkflowBeta1.
message StartWorkflowResponse {
// ID of the started workflow instance.
string instance_id = 1 [json_name = "instanceID"];
}

// TerminateWorkflowRequest is the request for TerminateWorkflowAlpha1.
// TerminateWorkflowRequest is the request for TerminateWorkflowBeta1.
message TerminateWorkflowRequest {
// ID of the workflow instance to terminate.
string instance_id = 1 [json_name = "instanceID"];
// Name of the workflow component.
string workflow_component = 2 [json_name = "workflowComponent"];
}

// PauseWorkflowRequest is the request for PauseWorkflowAlpha1.
// PauseWorkflowRequest is the request for PauseWorkflowBeta1.
message PauseWorkflowRequest {
// ID of the workflow instance to pause.
string instance_id = 1 [json_name = "instanceID"];
// Name of the workflow component.
string workflow_component = 2 [json_name = "workflowComponent"];
}

// ResumeWorkflowRequest is the request for ResumeWorkflowAlpha1.
// ResumeWorkflowRequest is the request for ResumeWorkflowBeta1.
message ResumeWorkflowRequest {
// ID of the workflow instance to resume.
string instance_id = 1 [json_name = "instanceID"];
// Name of the workflow component.
string workflow_component = 2 [json_name = "workflowComponent"];
}

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

// PurgeWorkflowRequest is the request for PurgeWorkflowAlpha1.
// PurgeWorkflowRequest is the request for PurgeWorkflowBeta1.
message PurgeWorkflowRequest {
// ID of the workflow instance to purge.
string instance_id = 1 [json_name = "instanceID"];
// Name of the workflow component.
string workflow_component = 2 [json_name = "workflowComponent"];
}
}
Loading