Skip to content

Commit 5771218

Browse files
authored
Add identity param to reset API (#590)
1 parent 49f9286 commit 5771218

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

openapi/openapiv2.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7699,6 +7699,10 @@
76997699
"$ref": "#/definitions/v1PostResetOperation"
77007700
},
77017701
"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"
7702+
},
7703+
"identity": {
7704+
"type": "string",
7705+
"title": "The identity of the worker/client"
77027706
}
77037707
}
77047708
},

openapi/openapiv3.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10110,6 +10110,9 @@ components:
1011010110
Operations to perform after the workflow has been reset. These operations will be applied
1011110111
to the *new* run of the workflow execution in the order they are provided.
1011210112
All operations are applied to the workflow before the first new workflow task is generated
10113+
identity:
10114+
type: string
10115+
description: The identity of the worker/client
1011310116
ResetWorkflowExecutionResponse:
1011410117
type: object
1011510118
properties:

temporal/api/workflowservice/v1/request_response.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,8 @@ message ResetWorkflowExecutionRequest {
826826
// to the *new* run of the workflow execution in the order they are provided.
827827
// All operations are applied to the workflow before the first new workflow task is generated
828828
repeated temporal.api.workflow.v1.PostResetOperation post_reset_operations = 8;
829+
// The identity of the worker/client
830+
string identity = 9;
829831
}
830832

831833
message ResetWorkflowExecutionResponse {

0 commit comments

Comments
 (0)