Skip to content
Open
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
20 changes: 20 additions & 0 deletions temporal/api/workflowservice/v1/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1597,6 +1597,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.
Expand All @@ -1611,6 +1615,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
Expand All @@ -1622,6 +1630,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.
Expand Down Expand Up @@ -1659,6 +1671,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.
Expand All @@ -1674,6 +1690,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
Expand Down
Loading