public PublishedFundingService(IPublishedFundingDataService publishedFundingDataService, IPublishingResiliencePolicies publishingResiliencePolicies, IPoliciesService policiesService, IOrganisationGroupGenerator organisationGroupGenerator, IPublishedFundingChangeDetectorService publishedFundingChangeDetectorService, IPublishedFundingDateService publishedFundingDateService, IMapper mapper, ILogger logger) { Guard.ArgumentNotNull(publishedFundingDataService, nameof(publishedFundingDataService)); Guard.ArgumentNotNull(policiesService, nameof(policiesService)); Guard.ArgumentNotNull(publishingResiliencePolicies.PublishedFundingRepository, nameof(publishingResiliencePolicies.PublishedFundingRepository)); Guard.ArgumentNotNull(publishedFundingChangeDetectorService, nameof(publishedFundingChangeDetectorService)); Guard.ArgumentNotNull(publishedFundingDateService, nameof(publishedFundingDateService)); Guard.ArgumentNotNull(logger, nameof(logger)); Guard.ArgumentNotNull(mapper, nameof(mapper)); _publishedFundingDataService = publishedFundingDataService; _publishingResiliencePolicy = publishingResiliencePolicies.PublishedFundingRepository; _policiesService = policiesService; _organisationGroupGenerator = organisationGroupGenerator; _publishedFundingChangeDetectorService = publishedFundingChangeDetectorService; _publishedFundingDateService = publishedFundingDateService; _logger = logger; _mapper = mapper; }
public ApproveService(IPublishedProviderStatusUpdateService publishedProviderStatusUpdateService, IPublishedFundingDataService publishedFundingDataService, IPublishedProviderIndexerService publishedProviderIndexerService, IPublishingResiliencePolicies publishingResiliencePolicies, IPrerequisiteCheckerLocator prerequisiteCheckerLocator, IJobManagement jobManagement, ILogger logger, ITransactionFactory transactionFactory, IPublishedProviderVersionService publishedProviderVersionService, IGeneratePublishedFundingCsvJobsCreationLocator generateCsvJobsLocator) : base(jobManagement, logger) { Guard.ArgumentNotNull(generateCsvJobsLocator, nameof(generateCsvJobsLocator)); Guard.ArgumentNotNull(prerequisiteCheckerLocator, nameof(prerequisiteCheckerLocator)); Guard.ArgumentNotNull(publishedProviderStatusUpdateService, nameof(publishedProviderStatusUpdateService)); Guard.ArgumentNotNull(publishedFundingDataService, nameof(publishedFundingDataService)); Guard.ArgumentNotNull(publishedProviderIndexerService, nameof(publishedProviderIndexerService)); Guard.ArgumentNotNull(publishingResiliencePolicies, nameof(publishingResiliencePolicies)); Guard.ArgumentNotNull(logger, nameof(logger)); Guard.ArgumentNotNull(transactionFactory, nameof(transactionFactory)); Guard.ArgumentNotNull(publishedProviderVersionService, nameof(publishedProviderVersionService)); _publishedProviderStatusUpdateService = publishedProviderStatusUpdateService; _publishedFundingDataService = publishedFundingDataService; _publishedProviderIndexerService = publishedProviderIndexerService; _prerequisiteCheckerLocator = prerequisiteCheckerLocator; _logger = logger; _generateCsvJobsLocator = generateCsvJobsLocator; _transactionFactory = transactionFactory; _publishedProviderVersionService = publishedProviderVersionService; }
public TrustIdMismatchErrorDetector(IOrganisationGroupGenerator organisationGroupGenerator, IMapper mapper, IPublishedFundingDataService publishedFundingDataService, IPublishingResiliencePolicies publishingResiliencePolicies) { Guard.ArgumentNotNull(organisationGroupGenerator, nameof(organisationGroupGenerator)); Guard.ArgumentNotNull(mapper, nameof(mapper)); Guard.ArgumentNotNull(publishedFundingDataService, nameof(publishedFundingDataService)); Guard.ArgumentNotNull(publishingResiliencePolicies, nameof(publishingResiliencePolicies)); _organisationGroupGenerator = organisationGroupGenerator; _mapper = mapper; _publishedFundingDataService = publishedFundingDataService; _publishingResiliencePolicy = publishingResiliencePolicies.PublishedFundingRepository; }
public void SetUp() { _logger = Substitute.For <ILogger>(); _jobManagement = Substitute.For <IJobManagement>(); _jobsRunning = Substitute.For <IJobsRunning>(); _prerequisiteCheckerLocator = Substitute.For <IPrerequisiteCheckerLocator>(); _prerequisiteCheckerLocator.GetPreReqChecker(PrerequisiteCheckerType.ApproveAllProviders) .Returns(new ApproveAllProvidersPrerequisiteChecker(_jobsRunning, _jobManagement, _logger)); _prerequisiteCheckerLocator.GetPreReqChecker(PrerequisiteCheckerType.ApproveBatchProviders) .Returns(new ApproveBatchProvidersPrerequisiteChecker(_jobsRunning, _jobManagement, _logger)); _publishedFundingDataService = Substitute.For <IPublishedFundingDataService>(); _publishedProviderStatusUpdateService = Substitute.For <IPublishedProviderStatusUpdateService>(); _publishedProviderIndexerService = Substitute.For <IPublishedProviderIndexerService>(); _generateCsvJobsLocator = Substitute.For <IGeneratePublishedFundingCsvJobsCreationLocator>(); _transactionResiliencePolicies = new TransactionResiliencePolicies { TransactionPolicy = Policy.NoOpAsync() }; _transactionFactory = new TransactionFactory(_logger, _transactionResiliencePolicies); _publishedProviderVersionService = Substitute.For <IPublishedProviderVersionService>(); _approveService = new ApproveService(_publishedProviderStatusUpdateService, _publishedFundingDataService, _publishedProviderIndexerService, new ResiliencePolicies { PublishedFundingRepository = Policy.NoOpAsync() }, _prerequisiteCheckerLocator, _jobManagement, _logger, _transactionFactory, _publishedProviderVersionService, _generateCsvJobsLocator); _jobId = NewRandomString(); _correlationId = NewRandomString(); _userId = NewRandomString(); _userName = NewRandomString(); _message = new Message(); SetUserProperty("user-id", _userId); SetUserProperty("user-name", _userName); SetUserProperty("jobId", null); _publishedFundingDataService.GetPublishedProvidersForApproval(Arg.Any <string>(), Arg.Any <string[]>()) .Returns(new[] { new PublishedProvider() }); }
public PublishedProviderFundingService(IPublishingResiliencePolicies resiliencePolicies, IPublishedFundingDataService publishedFunding, ISpecificationService specificationService, ISpecificationIdServiceRequestValidator validator) { Guard.ArgumentNotNull(resiliencePolicies?.PublishedFundingRepository, nameof(resiliencePolicies.PublishedFundingRepository)); Guard.ArgumentNotNull(publishedFunding, nameof(publishedFunding)); Guard.ArgumentNotNull(specificationService, nameof(specificationService)); Guard.ArgumentNotNull(validator, nameof(validator)); _resiliencePolicy = resiliencePolicies.PublishedFundingRepository; _publishedFunding = publishedFunding; _specificationService = specificationService; _validator = validator; }
public PublishIntegrityCheckService(IJobManagement jobManagement, ILogger logger, ISpecificationService specificationService, IProviderService providerService, IPublishedFundingContentsPersistanceService publishedFundingContentsPersistanceService, IPublishedProviderContentPersistanceService publishedProviderContentsPersistanceService, IPublishingResiliencePolicies publishingResiliencePolicies, IPublishedFundingDataService publishedFundingDataService, IPoliciesService policiesService, ICalculationsApiClient calculationsApiClient, IPublishedFundingService publishedFundingService, IPublishedProviderContentsGeneratorResolver publishedProviderContentsGeneratorResolver, IPublishedFundingVersionDataService publishedFundingVersionDataService) : base(jobManagement, logger) { Guard.ArgumentNotNull(logger, nameof(logger)); Guard.ArgumentNotNull(specificationService, nameof(specificationService)); Guard.ArgumentNotNull(publishedFundingContentsPersistanceService, nameof(publishedFundingContentsPersistanceService)); Guard.ArgumentNotNull(publishedProviderContentsPersistanceService, nameof(publishedProviderContentsPersistanceService)); Guard.ArgumentNotNull(providerService, nameof(providerService)); Guard.ArgumentNotNull(publishedFundingDataService, nameof(publishedFundingDataService)); Guard.ArgumentNotNull(publishingResiliencePolicies.PublishedFundingRepository, nameof(publishingResiliencePolicies.PublishedFundingRepository)); Guard.ArgumentNotNull(policiesService, nameof(policiesService)); Guard.ArgumentNotNull(calculationsApiClient, nameof(calculationsApiClient)); Guard.ArgumentNotNull(publishingResiliencePolicies.CalculationsApiClient, nameof(publishingResiliencePolicies.CalculationsApiClient)); Guard.ArgumentNotNull(publishedFundingService, nameof(publishedFundingService)); Guard.ArgumentNotNull(publishedProviderContentsGeneratorResolver, nameof(publishedProviderContentsGeneratorResolver)); Guard.ArgumentNotNull(publishedFundingVersionDataService, nameof(publishedFundingVersionDataService)); _logger = logger; _calculationsApiClient = calculationsApiClient; _calculationsApiClientPolicy = publishingResiliencePolicies.CalculationsApiClient; _specificationService = specificationService; _publishedFundingContentsPersistanceService = publishedFundingContentsPersistanceService; _publishedProviderContentsPersistanceService = publishedProviderContentsPersistanceService; _providerService = providerService; _publishedFundingDataService = publishedFundingDataService; _publishingResiliencePolicy = publishingResiliencePolicies.PublishedFundingRepository; _policiesService = policiesService; _publishedProviderContentsGeneratorResolver = publishedProviderContentsGeneratorResolver; _publishedFundingVersionDataService = publishedFundingVersionDataService; }
public void SetUp() { _specificationId = NewRandomString(); _validationResult = new ValidationResult(); _fundingPeriodId = NewRandomString(); _fundingStreamId = NewRandomString(); _validator = Substitute.For <ISpecificationIdServiceRequestValidator>(); _validator.Validate(_specificationId) .Returns(_validationResult); _publishedFunding = Substitute.For <IPublishedFundingDataService>(); _specificationService = Substitute.For <ISpecificationService>(); _service = new PublishedProviderFundingService(new ResiliencePolicies { PublishedFundingRepository = Polly.Policy.NoOpAsync() }, _publishedFunding, _specificationService, _validator); }
public void SetUp() { _organisationGroupGenerator = Substitute.For <IOrganisationGroupGenerator>(); _publishedFundingDataService = Substitute.For <IPublishedFundingDataService>(); _publishingResiliencePolicies = new ResiliencePolicies { PublishedFundingRepository = Policy.NoOpAsync(), CalculationsApiClient = Policy.NoOpAsync(), SpecificationsApiClient = Policy.NoOpAsync(), SpecificationsRepositoryPolicy = Policy.NoOpAsync(), CacheProvider = Policy.NoOpAsync(), PoliciesApiClient = Policy.NoOpAsync() }; _mapper = new MapperConfiguration(_ => { _.AddProfile <PublishingServiceMappingProfile>(); }).CreateMapper(); _errorDetector = new TrustIdMismatchErrorDetector( _organisationGroupGenerator, _mapper, _publishedFundingDataService, _publishingResiliencePolicies); }
public void SetUp() { _providers = Substitute.For <IProvidersApiClient>(); _policiesService = Substitute.For <IPoliciesService>(); _publishedFundingDataService = Substitute.For <IPublishedFundingDataService>(); _jobManagement = Substitute.For <IJobManagement>(); _logger = Substitute.For <ILogger>(); _mapper = new MapperConfiguration(_ => { _.AddProfile <PublishingServiceMappingProfile>(); }).CreateMapper(); _providerService = new ProviderService(_providers, _policiesService, _publishedFundingDataService, new ResiliencePolicies { ProvidersApiClient = Policy.NoOpAsync() }, _mapper, _jobManagement, _logger); }
public ProviderService(IProvidersApiClient providersApiClient, IPoliciesService policiesService, IPublishedFundingDataService publishedFundingDataService, IPublishingResiliencePolicies resiliencePolicies, IMapper mapper, IJobManagement jobManagement, ILogger logger) { Guard.ArgumentNotNull(providersApiClient, nameof(providersApiClient)); Guard.ArgumentNotNull(policiesService, nameof(policiesService)); Guard.ArgumentNotNull(publishedFundingDataService, nameof(publishedFundingDataService)); Guard.ArgumentNotNull(resiliencePolicies?.ProvidersApiClient, nameof(resiliencePolicies.ProvidersApiClient)); Guard.ArgumentNotNull(jobManagement, nameof(jobManagement)); Guard.ArgumentNotNull(mapper, nameof(mapper)); Guard.ArgumentNotNull(logger, nameof(logger)); _providersApiClient = providersApiClient; _policiesService = policiesService; _providersApiClientPolicy = resiliencePolicies.ProvidersApiClient; _publishedFundingDataService = publishedFundingDataService; _jobManagement = jobManagement; _logger = logger; _mapper = mapper; }
public void Setup() { _publishedProviderId = NewRandomString(); _publishedProviderIds = new[] { _publishedProviderId }; _publishedFundingStatusUpdateService = Substitute.For <IPublishedFundingStatusUpdateService>(); _publishingResiliencePolicies = new ResiliencePolicies { PublishedFundingRepository = Policy.NoOpAsync(), CalculationsApiClient = Policy.NoOpAsync(), SpecificationsApiClient = Policy.NoOpAsync(), SpecificationsRepositoryPolicy = Policy.NoOpAsync(), PublishedIndexSearchResiliencePolicy = Policy.NoOpAsync() }; _specificationsApiClient = Substitute.For <ISpecificationsApiClient>(); _specificationService = new SpecificationService(_specificationsApiClient, _publishingResiliencePolicies); _specificationFundingStatusService = Substitute.For <ISpecificationFundingStatusService>(); _jobsRunning = Substitute.For <IJobsRunning>(); _logger = Substitute.For <ILogger>(); _publishedFundingChangeDetectorService = Substitute.For <IPublishedFundingChangeDetectorService>(); _publishedFundingGenerator = Substitute.For <IPublishedFundingGenerator>(); _publishedProviderContentsGeneratorResolver = Substitute.For <IPublishedProviderContentsGeneratorResolver>(); _publishedFundingContentsPersistanceService = Substitute.For <IPublishedFundingContentsPersistanceService>(); _publishedProviderContentsPersistanceService = Substitute.For <IPublishedProviderContentPersistanceService>(); _publishedProviderStatusUpdateService = Substitute.For <IPublishedProviderStatusUpdateService>(); _publishedFundingSearchRepository = Substitute.For <ISearchRepository <PublishedFundingIndex> >(); _calculationsApiClient = Substitute.For <ICalculationsApiClient>(); _providerService = Substitute.For <IProviderService>(); _jobManagement = Substitute.For <IJobManagement>(); _prerequisiteCheckerLocator = Substitute.For <IPrerequisiteCheckerLocator>(); _prerequisiteCheckerLocator.GetPreReqChecker(PrerequisiteCheckerType.ReleaseAllProviders) .Returns(new PublishAllPrerequisiteChecker(_specificationFundingStatusService, _jobsRunning, _jobManagement, _logger)); _prerequisiteCheckerLocator.GetPreReqChecker(PrerequisiteCheckerType.ReleaseBatchProviders) .Returns(new PublishBatchPrerequisiteChecker(_specificationFundingStatusService, _jobsRunning, _jobManagement, _logger)); _generateCsvJobsLocator = Substitute.For <IGeneratePublishedFundingCsvJobsCreationLocator>(); _mapper = Substitute.For <IMapper>(); _transactionFactory = new TransactionFactory(_logger, new TransactionResiliencePolicies { TransactionPolicy = Policy.NoOpAsync() }); _publishedProviderVersionService = Substitute.For <IPublishedProviderVersionService>(); _publishedFundingDataService = Substitute.For <IPublishedFundingDataService>(); _policiesService = Substitute.For <IPoliciesService>(); _organisationGroupGenerator = Substitute.For <IOrganisationGroupGenerator>(); _publishedFundingChangeDetectorService = Substitute.For <IPublishedFundingChangeDetectorService>(); _publishedFundingDateService = Substitute.For <IPublishedFundingDateService>(); _publishedFundingDataService = Substitute.For <IPublishedFundingDataService>(); _createPublishIntegrityJob = Substitute.For <ICreatePublishIntegrityJob>(); _publishedFundingService = new PublishedFundingService(_publishedFundingDataService, _publishingResiliencePolicies, _policiesService, _organisationGroupGenerator, _publishedFundingChangeDetectorService, _publishedFundingDateService, _mapper, _logger); _publishService = new PublishService(_publishedFundingStatusUpdateService, _publishingResiliencePolicies, _specificationService, _prerequisiteCheckerLocator, _publishedFundingChangeDetectorService, _publishedFundingGenerator, _publishedProviderContentsGeneratorResolver, _publishedFundingContentsPersistanceService, _publishedProviderContentsPersistanceService, _publishedProviderStatusUpdateService, _providerService, _publishedFundingSearchRepository, _calculationsApiClient, _logger, _jobManagement, _generateCsvJobsLocator, _transactionFactory, _publishedProviderVersionService, _publishedFundingService, _publishedFundingDataService, _policiesService, _createPublishIntegrityJob ); }
public RefreshService(IPublishedProviderStatusUpdateService publishedProviderStatusUpdateService, IPublishedFundingDataService publishedFundingDataService, IPublishingResiliencePolicies publishingResiliencePolicies, ISpecificationService specificationService, IProviderService providerService, ICalculationResultsService calculationResultsService, IPublishedProviderDataGenerator publishedProviderDataGenerator, IPublishedProviderDataPopulator publishedProviderDataPopulator, ILogger logger, ICalculationsApiClient calculationsApiClient, IPrerequisiteCheckerLocator prerequisiteCheckerLocator, IPublishProviderExclusionCheck providerExclusionCheck, IFundingLineValueOverride fundingLineValueOverride, IJobManagement jobManagement, IPublishedProviderIndexerService publishedProviderIndexerService, IVariationService variationService, ITransactionFactory transactionFactory, IPublishedProviderVersionService publishedProviderVersionService, IPoliciesService policiesService, IGeneratePublishedFundingCsvJobsCreationLocator generateCsvJobsLocator, IReApplyCustomProfiles reApplyCustomProfiles, IPublishingEngineOptions publishingEngineOptions, IPublishedProviderErrorDetection detection, IBatchProfilingService batchProfilingService) : base(jobManagement, logger) { Guard.ArgumentNotNull(generateCsvJobsLocator, nameof(generateCsvJobsLocator)); Guard.ArgumentNotNull(publishedProviderStatusUpdateService, nameof(publishedProviderStatusUpdateService)); Guard.ArgumentNotNull(publishedFundingDataService, nameof(publishedFundingDataService)); Guard.ArgumentNotNull(publishingResiliencePolicies, nameof(publishingResiliencePolicies)); Guard.ArgumentNotNull(specificationService, nameof(specificationService)); Guard.ArgumentNotNull(providerService, nameof(providerService)); Guard.ArgumentNotNull(calculationResultsService, nameof(calculationResultsService)); Guard.ArgumentNotNull(publishedProviderDataGenerator, nameof(publishedProviderDataGenerator)); Guard.ArgumentNotNull(publishedProviderDataPopulator, nameof(publishedProviderDataPopulator)); Guard.ArgumentNotNull(calculationsApiClient, nameof(calculationsApiClient)); Guard.ArgumentNotNull(providerExclusionCheck, nameof(providerExclusionCheck)); Guard.ArgumentNotNull(fundingLineValueOverride, nameof(fundingLineValueOverride)); Guard.ArgumentNotNull(jobManagement, nameof(jobManagement)); Guard.ArgumentNotNull(publishedProviderIndexerService, nameof(publishedProviderIndexerService)); Guard.ArgumentNotNull(variationService, nameof(variationService)); Guard.ArgumentNotNull(transactionFactory, nameof(transactionFactory)); Guard.ArgumentNotNull(publishedProviderVersionService, nameof(publishedProviderVersionService)); Guard.ArgumentNotNull(policiesService, nameof(policiesService)); Guard.ArgumentNotNull(logger, nameof(logger)); Guard.ArgumentNotNull(prerequisiteCheckerLocator, nameof(prerequisiteCheckerLocator)); Guard.ArgumentNotNull(reApplyCustomProfiles, nameof(reApplyCustomProfiles)); Guard.ArgumentNotNull(detection, nameof(detection)); Guard.ArgumentNotNull(publishingResiliencePolicies.CalculationsApiClient, nameof(publishingResiliencePolicies.CalculationsApiClient)); Guard.ArgumentNotNull(publishingResiliencePolicies.PublishedFundingRepository, nameof(publishingResiliencePolicies.PublishedFundingRepository)); Guard.ArgumentNotNull(publishingEngineOptions, nameof(publishingEngineOptions)); Guard.ArgumentNotNull(batchProfilingService, nameof(batchProfilingService)); _publishedProviderStatusUpdateService = publishedProviderStatusUpdateService; _publishedFundingDataService = publishedFundingDataService; _specificationService = specificationService; _providerService = providerService; _calculationResultsService = calculationResultsService; _publishedProviderDataGenerator = publishedProviderDataGenerator; _publishedProviderDataPopulator = publishedProviderDataPopulator; _logger = logger; _calculationsApiClient = calculationsApiClient; _prerequisiteCheckerLocator = prerequisiteCheckerLocator; _providerExclusionCheck = providerExclusionCheck; _fundingLineValueOverride = fundingLineValueOverride; _variationService = variationService; _generateCsvJobsLocator = generateCsvJobsLocator; _reApplyCustomProfiles = reApplyCustomProfiles; _detection = detection; _batchProfilingService = batchProfilingService; _publishedProviderIndexerService = publishedProviderIndexerService; _publishingResiliencePolicy = publishingResiliencePolicies.PublishedFundingRepository; _calculationsApiClientPolicy = publishingResiliencePolicies.CalculationsApiClient; _jobManagement = jobManagement; _transactionFactory = transactionFactory; _publishedProviderVersionService = publishedProviderVersionService; _policiesService = policiesService; _publishingEngineOptions = publishingEngineOptions; }
public PublishService(IPublishedFundingStatusUpdateService publishedFundingStatusUpdateService, IPublishingResiliencePolicies publishingResiliencePolicies, ISpecificationService specificationService, IPrerequisiteCheckerLocator prerequisiteCheckerLocator, IPublishedFundingChangeDetectorService publishedFundingChangeDetectorService, IPublishedFundingGenerator publishedFundingGenerator, IPublishedProviderContentsGeneratorResolver publishedProviderContentsGeneratorResolver, IPublishedFundingContentsPersistanceService publishedFundingContentsPersistanceService, IPublishedProviderContentPersistanceService publishedProviderContentsPersistanceService, IPublishedProviderStatusUpdateService publishedProviderStatusUpdateService, IProviderService providerService, ISearchRepository <PublishedFundingIndex> publishedFundingSearchRepository, ICalculationsApiClient calculationsApiClient, ILogger logger, IJobManagement jobManagement, IGeneratePublishedFundingCsvJobsCreationLocator generateCsvJobsLocator, ITransactionFactory transactionFactory, IPublishedProviderVersionService publishedProviderVersionService, IPublishedFundingService publishedFundingService, IPublishedFundingDataService publishedFundingDataService, IPoliciesService policiesService, ICreatePublishIntegrityJob createPublishIntegrityJob) : base(jobManagement, logger) { Guard.ArgumentNotNull(generateCsvJobsLocator, nameof(generateCsvJobsLocator)); Guard.ArgumentNotNull(publishedFundingStatusUpdateService, nameof(publishedFundingStatusUpdateService)); Guard.ArgumentNotNull(publishingResiliencePolicies, nameof(publishingResiliencePolicies)); Guard.ArgumentNotNull(specificationService, nameof(specificationService)); Guard.ArgumentNotNull(prerequisiteCheckerLocator, nameof(prerequisiteCheckerLocator)); Guard.ArgumentNotNull(publishedFundingChangeDetectorService, nameof(publishedFundingChangeDetectorService)); Guard.ArgumentNotNull(publishedFundingGenerator, nameof(publishedFundingGenerator)); Guard.ArgumentNotNull(publishedFundingGenerator, nameof(publishedProviderContentsGeneratorResolver)); Guard.ArgumentNotNull(publishedFundingContentsPersistanceService, nameof(publishedFundingContentsPersistanceService)); Guard.ArgumentNotNull(publishedProviderContentsPersistanceService, nameof(publishedProviderContentsPersistanceService)); Guard.ArgumentNotNull(publishedProviderStatusUpdateService, nameof(publishedProviderStatusUpdateService)); Guard.ArgumentNotNull(publishedFundingSearchRepository, nameof(publishedFundingSearchRepository)); Guard.ArgumentNotNull(providerService, nameof(providerService)); Guard.ArgumentNotNull(publishedFundingService, nameof(publishedFundingService)); Guard.ArgumentNotNull(calculationsApiClient, nameof(calculationsApiClient)); Guard.ArgumentNotNull(publishingResiliencePolicies.CalculationsApiClient, nameof(publishingResiliencePolicies.CalculationsApiClient)); Guard.ArgumentNotNull(logger, nameof(logger)); Guard.ArgumentNotNull(jobManagement, nameof(jobManagement)); Guard.ArgumentNotNull(publishingResiliencePolicies.PublishedIndexSearchResiliencePolicy, nameof(publishingResiliencePolicies.PublishedIndexSearchResiliencePolicy)); Guard.ArgumentNotNull(transactionFactory, nameof(transactionFactory)); Guard.ArgumentNotNull(publishedProviderVersionService, nameof(publishedProviderVersionService)); Guard.ArgumentNotNull(publishedFundingDataService, nameof(publishedFundingDataService)); Guard.ArgumentNotNull(policiesService, nameof(policiesService)); Guard.ArgumentNotNull(createPublishIntegrityJob, nameof(createPublishIntegrityJob)); _publishedFundingStatusUpdateService = publishedFundingStatusUpdateService; _publishedFundingDataService = publishedFundingDataService; _specificationService = specificationService; _prerequisiteCheckerLocator = prerequisiteCheckerLocator; _publishedFundingGenerator = publishedFundingGenerator; _publishedProviderContentsGeneratorResolver = publishedProviderContentsGeneratorResolver; _publishedFundingContentsPersistanceService = publishedFundingContentsPersistanceService; _publishedProviderContentsPersistanceService = publishedProviderContentsPersistanceService; _publishedProviderStatusUpdateService = publishedProviderStatusUpdateService; _publishedFundingSearchRepository = publishedFundingSearchRepository; _logger = logger; _calculationsApiClient = calculationsApiClient; _calculationsApiClientPolicy = publishingResiliencePolicies.CalculationsApiClient; _generateCsvJobsLocator = generateCsvJobsLocator; _jobManagement = jobManagement; _publishedIndexSearchResiliencePolicy = publishingResiliencePolicies.PublishedIndexSearchResiliencePolicy; _transactionFactory = transactionFactory; _publishedProviderVersionService = publishedProviderVersionService; _providerService = providerService; _publishedFundingService = publishedFundingService; _policiesService = policiesService; _createPublishIntegrityJob = createPublishIntegrityJob; }