81
matchingClient matchingservice.MatchingServiceClient,
82
versionCache worker_versioning.VersionMembershipAndReactivationStatusCache,
83
>
) *WorkflowTaskCompletedHandler {
api.go
84
>
return &WorkflowTaskCompletedHandler{
85
>
config: shardContext.GetConfig(),
86
>
shardContext: shardContext,
87
>
workflowConsistencyChecker: workflowConsistencyChecker,
88
>
timeSource: shardContext.GetTimeSource(),
89
>
namespaceRegistry: shardContext.GetNamespaceRegistry(),
90
>
eventNotifier: eventNotifier,
91
>
tokenSerializer: tokenSerializer,
92
>
metricsHandler: shardContext.GetMetricsHandler(),
93
>
logger: shardContext.GetLogger(),
94
>
throttledLogger: shardContext.GetThrottledLogger(),
95
>
commandAttrValidator: api.NewCommandAttrValidator(
96
>
shardContext.GetNamespaceRegistry(),
97
>
shardContext.GetConfig(),
98
>
searchAttributesValidator,
99
>
),
100
>
searchAttributesMapperProvider: shardContext.GetSearchAttributesMapperProvider(),
101
>
searchAttributesValidator: searchAttributesValidator,
102
>
persistenceVisibilityMgr: visibilityManager,
103
>
commandHandlerRegistry: commandHandlerRegistry,
104
>
chasmWorkflowRegistry: chasmWorkflowRegistry,
105
>
matchingClient: matchingClient,
106
>
versionCache: versionCache,
107
>
}
108
>
}
109
110
//nolint:revive // cyclomatic complexity