Skip to content

Commit 9f19af6

Browse files
committed
Use camelCase operation name and add multi-language refs
- Rename operation: execute-commands -> executeCommands - Add refs for all languages: Go, Java, Python, TypeScript, .NET, Ruby Made-with: Cursor
1 parent 106652b commit 9f19af6

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

temporal/api/nexusservices/workerservice/v1/request_response.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ option csharp_namespace = "Temporalio.Api.Nexusservices.Workerservice.V1";
1414
// See service.yaml for the service definition.
1515
// --)
1616

17-
// Request payload for the "execute-commands" Nexus operation.
17+
// Request payload for the "executeCommands" Nexus operation.
1818
message WorkerCommandsRequest {
1919
repeated WorkerCommand commands = 1;
2020

@@ -29,7 +29,7 @@ message WorkerCommandsRequest {
2929
}
3030
}
3131

32-
// Response payload for the "execute-commands" Nexus operation.
32+
// Response payload for the "executeCommands" Nexus operation.
3333
message WorkerCommandsResponse {
3434
repeated WorkerCommandResult results = 1;
3535

temporal/api/nexusservices/workerservice/v1/service.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,20 @@ services:
1313
Internal Nexus service for server-to-worker communication.
1414
Used by the Temporal server to send commands to workers.
1515
operations:
16-
execute-commands:
16+
executeCommands:
1717
description: Executes worker commands sent by the server.
1818
input:
1919
$goRef: "go.temporal.io/api/nexusservices/workerservice/v1.WorkerCommandsRequest"
20+
$javaRef: "io.temporal.api.nexusservices.workerservice.v1.WorkerCommandsRequest"
21+
$pythonRef: "temporalio.api.nexusservices.workerservice.v1.WorkerCommandsRequest"
22+
$typescriptRef: "@temporalio/api/nexusservices/workerservice/v1.WorkerCommandsRequest"
23+
$dotnetRef: "Temporalio.Api.Nexusservices.Workerservice.V1.WorkerCommandsRequest"
24+
$rubyRef: "Temporalio::Api::Nexusservices::Workerservice::V1::WorkerCommandsRequest"
2025
output:
2126
$goRef: "go.temporal.io/api/nexusservices/workerservice/v1.WorkerCommandsResponse"
27+
$javaRef: "io.temporal.api.nexusservices.workerservice.v1.WorkerCommandsResponse"
28+
$pythonRef: "temporalio.api.nexusservices.workerservice.v1.WorkerCommandsResponse"
29+
$typescriptRef: "@temporalio/api/nexusservices/workerservice/v1.WorkerCommandsResponse"
30+
$dotnetRef: "Temporalio.Api.Nexusservices.Workerservice.V1.WorkerCommandsResponse"
31+
$rubyRef: "Temporalio::Api::Nexusservices::Workerservice::V1::WorkerCommandsResponse"
2232

0 commit comments

Comments
 (0)