Skip to content

Add identity param to reset API #590

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions openapi/openapiv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -7483,6 +7483,10 @@
"$ref": "#/definitions/v1PostResetOperation"
},
"title": "Operations to perform after the workflow has been reset. These operations will be applied\nto the *new* run of the workflow execution in the order they are provided.\nAll operations are applied to the workflow before the first new workflow task is generated"
},
"identity": {
"type": "string",
"title": "The identity of the worker/client"
}
}
},
Expand Down
3 changes: 3 additions & 0 deletions openapi/openapiv3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9871,6 +9871,9 @@ components:
Operations to perform after the workflow has been reset. These operations will be applied
to the *new* run of the workflow execution in the order they are provided.
All operations are applied to the workflow before the first new workflow task is generated
identity:
type: string
description: The identity of the worker/client
ResetWorkflowExecutionResponse:
type: object
properties:
Expand Down
2 changes: 2 additions & 0 deletions temporal/api/workflowservice/v1/request_response.proto
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,8 @@ message ResetWorkflowExecutionRequest {
// to the *new* run of the workflow execution in the order they are provided.
// All operations are applied to the workflow before the first new workflow task is generated
repeated temporal.api.workflow.v1.PostResetOperation post_reset_operations = 8;
// The identity of the worker/client
string identity = 9;
}

message ResetWorkflowExecutionResponse {
Expand Down
Loading