Skip to content

Commit

Permalink
Fix: add missing json_name to Workflow protos (dapr#6115)
Browse files Browse the repository at this point in the history
Signed-off-by: ItalyPaleAle <[email protected]>
  • Loading branch information
ItalyPaleAle authored Mar 21, 2023
1 parent a146cc9 commit 044931c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 26 deletions.
26 changes: 12 additions & 14 deletions dapr/proto/runtime/v1/dapr.proto
Original file line number Diff line number Diff line change
Expand Up @@ -654,9 +654,7 @@ message TryLockRequest {
int32 expiryInSeconds = 4;
}


message TryLockResponse {

bool success = 1;
}

Expand All @@ -680,13 +678,13 @@ message UnlockResponse {
}

message WorkflowReference {
string instance_id = 1;
string instance_id = 1 [json_name = "instanceId"];
}

message GetWorkflowRequest {
string instance_id = 1;
string workflow_name = 2;
string workflow_component = 3;
string instance_id = 1 [json_name = "instanceId"];
string workflow_component = 2 [json_name = "workflowComponent"];
string workflow_name = 3 [json_name = "workflowName"];
}

message GetWorkflowResponse {
Expand All @@ -696,25 +694,25 @@ message GetWorkflowResponse {
}

message StartWorkflowRequest {
string instance_id = 1;
string workflow_component = 2;
string workflow_name = 3;
string instance_id = 1 [json_name = "instanceId"];
string workflow_component = 2 [json_name = "workflowComponent"];
string workflow_name = 3 [json_name = "workflowName"];
map<string, string> options = 4;
bytes input = 5;
}

message TerminateWorkflowRequest {
string instance_id = 1;
string workflow_component = 2;
string instance_id = 1 [json_name = "instanceId"];
string workflow_component = 2 [json_name = "workflowComponent"];
}

message TerminateWorkflowResponse {
}

message RaiseEventWorkflowRequest {
string instance_id = 1;
string workflow_component = 2;
string event_name = 3;
string instance_id = 1 [json_name = "instanceId"];
string workflow_component = 2 [json_name = "workflowComponent"];
string event_name = 3 [json_name = "eventName"];
bytes input = 4;
}

Expand Down
24 changes: 12 additions & 12 deletions pkg/proto/runtime/v1/dapr.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 044931c

Please sign in to comment.