Skip to content

Commit 1ae5b67

Browse files
authored
Add endpoint to nexus.Request (#646)
**Why?** It is useful information. I will add this to the server as soon as this is merged.
1 parent 0c89c7d commit 1ae5b67

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

openapi/openapiv2.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9326,6 +9326,10 @@
93269326
},
93279327
"cancelOperation": {
93289328
"$ref": "#/definitions/v1CancelOperationRequest"
9329+
},
9330+
"endpoint": {
9331+
"type": "string",
9332+
"description": "The endpoint this request was addressed to before forwarding to the worker.\nSupported from server version 1.30.0."
93299333
}
93309334
},
93319335
"description": "A Nexus request."

temporal/api/nexus/v1/message.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ message Request {
9090
StartOperationRequest start_operation = 3;
9191
CancelOperationRequest cancel_operation = 4;
9292
}
93+
94+
// The endpoint this request was addressed to before forwarding to the worker.
95+
// Supported from server version 1.30.0.
96+
string endpoint = 10;
9397
}
9498

9599
// Response variant for StartOperationRequest.

0 commit comments

Comments
 (0)