Skip to content

Commit efc4722

Browse files
committed
Update standalone activity protos (#8549)
Update to latest protos from temporalio/api#640
1 parent 27c156a commit efc4722

File tree

13 files changed

+91
-154
lines changed

13 files changed

+91
-154
lines changed

chasm/lib/activity/frontend.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ type FrontendHandler interface {
1919
StartActivityExecution(ctx context.Context, req *workflowservice.StartActivityExecutionRequest) (*workflowservice.StartActivityExecutionResponse, error)
2020
CountActivityExecutions(context.Context, *workflowservice.CountActivityExecutionsRequest) (*workflowservice.CountActivityExecutionsResponse, error)
2121
DeleteActivityExecution(context.Context, *workflowservice.DeleteActivityExecutionRequest) (*workflowservice.DeleteActivityExecutionResponse, error)
22-
DescribeActivityExecution(context.Context, *workflowservice.DescribeActivityExecutionRequest) (*workflowservice.DescribeActivityExecutionResponse, error)
23-
GetActivityExecutionResult(context.Context, *workflowservice.GetActivityExecutionResultRequest) (*workflowservice.GetActivityExecutionResultResponse, error)
22+
PollActivityExecution(context.Context, *workflowservice.PollActivityExecutionRequest) (*workflowservice.PollActivityExecutionResponse, error)
2423
ListActivityExecutions(context.Context, *workflowservice.ListActivityExecutionsRequest) (*workflowservice.ListActivityExecutionsResponse, error)
2524
RequestCancelActivityExecution(context.Context, *workflowservice.RequestCancelActivityExecutionRequest) (*workflowservice.RequestCancelActivityExecutionResponse, error)
2625
TerminateActivityExecution(context.Context, *workflowservice.TerminateActivityExecutionRequest) (*workflowservice.TerminateActivityExecutionResponse, error)

client/frontend/client_gen.go

Lines changed: 10 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/frontend/metric_client_gen.go

Lines changed: 14 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/frontend/retryable_client_gen.go

Lines changed: 15 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/tools/getproto/files.go

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

common/api/metadata.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ var (
9090
"RespondActivityTaskCanceledById": {Scope: ScopeNamespace, Access: AccessWrite, Polling: PollingNone},
9191
"CountActivityExecutions": {Scope: ScopeNamespace, Access: AccessReadOnly, Polling: PollingNone},
9292
"DeleteActivityExecution": {Scope: ScopeNamespace, Access: AccessWrite, Polling: PollingNone},
93-
"DescribeActivityExecution": {Scope: ScopeNamespace, Access: AccessReadOnly, Polling: PollingNone},
94-
"GetActivityExecutionResult": {Scope: ScopeNamespace, Access: AccessReadOnly, Polling: PollingNone},
93+
"PollActivityExecution": {Scope: ScopeNamespace, Access: AccessReadOnly, Polling: PollingCapable},
9594
"ListActivityExecutions": {Scope: ScopeNamespace, Access: AccessReadOnly, Polling: PollingNone},
9695
"PauseActivityExecution": {Scope: ScopeNamespace, Access: AccessWrite, Polling: PollingNone},
9796
"RequestCancelActivityExecution": {Scope: ScopeNamespace, Access: AccessWrite, Polling: PollingNone},

common/rpc/interceptor/logtags/workflow_service_server_gen.go

Lines changed: 8 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

common/rpc/interceptor/redirection.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,7 @@ var (
139139
"StartActivityExecution": func() any { return &workflowservice.StartActivityExecutionResponse{} },
140140
"CountActivityExecutions": func() any { return &workflowservice.CountActivityExecutionsResponse{} },
141141
"ListActivityExecutions": func() any { return &workflowservice.ListActivityExecutionsResponse{} },
142-
"DescribeActivityExecution": func() any { return &workflowservice.DescribeActivityExecutionResponse{} },
143-
"GetActivityExecutionResult": func() any { return &workflowservice.GetActivityExecutionResultResponse{} },
142+
"PollActivityExecution": func() any { return &workflowservice.PollActivityExecutionResponse{} },
144143
"RequestCancelActivityExecution": func() any { return &workflowservice.RequestCancelActivityExecutionResponse{} },
145144
"TerminateActivityExecution": func() any { return &workflowservice.TerminateActivityExecutionResponse{} },
146145
"DeleteActivityExecution": func() any { return &workflowservice.DeleteActivityExecutionResponse{} },

common/rpc/interceptor/redirection_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,7 @@ func (s *redirectionInterceptorSuite) TestGlobalAPI() {
194194
"StartActivityExecution": {},
195195
"CountActivityExecutions": {},
196196
"ListActivityExecutions": {},
197-
"DescribeActivityExecution": {},
198-
"GetActivityExecutionResult": {},
197+
"PollActivityExecution": {},
199198
"RequestCancelActivityExecution": {},
200199
"TerminateActivityExecution": {},
201200
"DeleteActivityExecution": {},

common/testing/mockapi/workflowservicemock/v1/service_grpc.pb.mock.go

Lines changed: 20 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)