diff --git a/temporal/api/workflowservice/v1/service.proto b/temporal/api/workflowservice/v1/service.proto index 914bbaf83..5c1e900a3 100644 --- a/temporal/api/workflowservice/v1/service.proto +++ b/temporal/api/workflowservice/v1/service.proto @@ -1653,6 +1653,10 @@ service WorkflowService { body: "*" } }; + option (temporal.api.protometa.v1.request_header) = { + header: "temporal-resource-id" + value: "activity:{activity_id}" + }; } // DescribeActivityExecution returns information about an activity execution. @@ -1667,6 +1671,10 @@ service WorkflowService { get: "/api/v1/namespaces/{namespace}/activities/{activity_id}" } }; + option (temporal.api.protometa.v1.request_header) = { + header: "temporal-resource-id" + value: "activity:{activity_id}" + }; } // PollActivityExecution long-polls for an activity execution to complete and returns the @@ -1678,6 +1686,10 @@ service WorkflowService { get: "/api/v1/namespaces/{namespace}/activities/{activity_id}/outcome" } }; + option (temporal.api.protometa.v1.request_header) = { + header: "temporal-resource-id" + value: "activity:{activity_id}" + }; } // ListActivityExecutions is a visibility API to list activity executions in a specific namespace. @@ -1715,6 +1727,10 @@ service WorkflowService { body: "*" } }; + option (temporal.api.protometa.v1.request_header) = { + header: "temporal-resource-id" + value: "activity:{activity_id}" + }; } // TerminateActivityExecution terminates an existing activity execution immediately. @@ -1730,6 +1746,10 @@ service WorkflowService { body: "*" } }; + option (temporal.api.protometa.v1.request_header) = { + header: "temporal-resource-id" + value: "activity:{activity_id}" + }; } // DeleteActivityExecution asynchronously deletes a specific activity execution (when