public PreValidationOrchestrationSfService( IPopulationService preValidationPopulationService, ICache <IMessage> messageCache, ILearnerPerActorService learnerPerActorService, IJsonSerializationService jsonSerializationService, IInternalDataCache internalDataCache, IExternalDataCache externalDataCache, IFileDataCache fileDataCache, IValidationErrorCache <U> validationErrorCache, IValidationOutputService <U> validationOutputService, IValidationItemProviderService <IEnumerable <IMessage> > validationItemProviderService, IRuleSetOrchestrationService <IMessage, U> ruleSetOrchestrationService, ILogger logger, IValidateXMLSchemaService validateXMLSchemaService) { _preValidationPopulationService = preValidationPopulationService; _learnerPerActorService = learnerPerActorService; _messageCache = messageCache; _jsonSerializationService = jsonSerializationService; _internalDataCache = internalDataCache; _externalDataCache = externalDataCache; _fileDataCache = fileDataCache; _validationErrorCache = validationErrorCache; _validationOutputService = validationOutputService; _validationItemProviderService = validationItemProviderService; _ruleSetOrchestrationService = ruleSetOrchestrationService; _logger = logger; _validateXmlSchemaService = validateXMLSchemaService; }
public ErrorLookupPopulationService( IExternalDataCache externalDataCache, IValidationErrorsDataRetrievalService validationErrorsDataRetrievalService) { _externalDataCache = externalDataCache; _validationErrorsDataRetrievalService = validationErrorsDataRetrievalService; }
public PreValidationOrchestrationSfService( IPopulationService preValidationPopulationService, IErrorLookupPopulationService errorLookupPopulationService, ILearnerPerActorProviderService learnerPerActorProviderService, ILearnerDPPerActorProviderService learnerDPPerActorProviderService, IJsonSerializationService jsonSerializationService, IInternalDataCache internalDataCache, IExternalDataCache externalDataCache, IFileDataCache fileDataCache, IValidationErrorCache <U> validationErrorCache, IValidationOutputService validationOutputService, IRuleSetOrchestrationService <IMessage, U> ruleSetOrchestrationService, ILogger logger) { _preValidationPopulationService = preValidationPopulationService; _errorLookupPopulationService = errorLookupPopulationService; _learnerPerActorProviderService = learnerPerActorProviderService; _learnerDPPerActorProviderService = learnerDPPerActorProviderService; _jsonSerializationService = jsonSerializationService; _internalDataCache = internalDataCache; _externalDataCache = externalDataCache; _fileDataCache = fileDataCache; _validationErrorCache = validationErrorCache; _validationOutputService = validationOutputService; _ruleSetOrchestrationService = ruleSetOrchestrationService; _logger = logger; }
public ExternalDataCachePopulationService( IExternalDataCache externalDataCache, ILARSStandardDataRetrievalService larsStandardDataRetrievalService, ILARSStandardValidityDataRetrievalService larsStandardValidityDataRetrievalService, ILARSLearningDeliveryDataRetrievalService larsLearningDeliveryDataRetrievalService, ILARSFrameworkDataRetrievalService larsFrameworkDataRetrievalService, IULNDataRetrievalService ulnDataRetrievalService, IPostcodesDataRetrievalService postcodesDataRetrievalService, IOrganisationsDataRetrievalService organisationsDataRetrievalService, IEPAOrganisationsDataRetrievalService epaOrganisationsDataRetrievalService, ICampusIdentifierDataRetrievalService campusIdentifierDataRetrievalService, IFCSDataRetrievalService fcsDataRetrievalService, IEmployersDataRetrievalService employersDataRetrievalService) { _externalDataCache = externalDataCache; _larsStandardDataRetrievalService = larsStandardDataRetrievalService; _larsStandardValidityDataRetrievalService = larsStandardValidityDataRetrievalService; _larsLearningDeliveryDataRetrievalService = larsLearningDeliveryDataRetrievalService; _larsFrameworkDataRetrievalService = larsFrameworkDataRetrievalService; _ulnDataRetrievalService = ulnDataRetrievalService; _postcodesDataRetrievalService = postcodesDataRetrievalService; _organisationsDataRetrievalService = organisationsDataRetrievalService; _epaOrganisationsDataRetrievalService = epaOrganisationsDataRetrievalService; _campusIdentifierDataRetrievalService = campusIdentifierDataRetrievalService; _fcsDataRetrievalService = fcsDataRetrievalService; _employersDataRetrievalService = employersDataRetrievalService; }
/// <summary> /// Initializes a new instance of the <see cref="PostcodesDataService"/> class. /// </summary> /// <param name="externalDataCache">The external data cache.</param> public PostcodesDataService(IExternalDataCache externalDataCache) { It.IsNull(externalDataCache) .AsGuard <ArgumentNullException>(nameof(externalDataCache)); _externalDataCache = externalDataCache; _onsPostcodes = _externalDataCache.ONSPostcodes.AsSafeReadOnlyList(); }
/// <summary> /// Initializes a new instance of the <see cref="LARSDataService"/> class. /// </summary> /// <param name="externalDataCache">The external data cache.</param> public LARSDataService(IExternalDataCache externalDataCache) { It.IsNull(externalDataCache) .AsGuard <ArgumentNullException>(nameof(externalDataCache)); _externalDataCache = externalDataCache; // de-sensitise the lars deliveries _larsDeliveries = externalDataCache.LearningDeliveries.ToCaseInsensitiveDictionary(); }
public LARSDataService(IExternalDataCache externalDataCache) { _externalDataCache = externalDataCache; // de-sensitise the lars deliveries _larsDeliveries = externalDataCache.LearningDeliveries.ToCaseInsensitiveDictionary(); if (externalDataCache.Standards != null) { _larsStandards = externalDataCache.Standards.ToDictionary(k => k.StandardCode, v => v); } }
private ExternalDataCachePopulationService NewService( IExternalDataCache externalDataCache = null, IAppsEarningsHistoryDataRetrievalService appsEarningsHistoryDataRetrievalService = null, IFCSDataRetrievalService fcsDataRetrievalService = null, IPostcodesDataRetrievalService postcodesDataRetrievalService = null, ILargeEmployersDataRetrievalService largeEmployersDataRetrievalService = null, ILARSDataRetrievalService larsDataRetrievalService = null, IOrganisationDataRetrievalService organisationDataRetrievalService = null, IFundingServiceDto fundingServiceDto = null) { return(new ExternalDataCachePopulationService(externalDataCache, appsEarningsHistoryDataRetrievalService, fcsDataRetrievalService, postcodesDataRetrievalService, largeEmployersDataRetrievalService, larsDataRetrievalService, organisationDataRetrievalService, fundingServiceDto)); }
public ExternalDataCachePopulationService( IExternalDataCache externalDataCache, ILARSLearningDeliveryDataRetrievalService larsLearningDeliveryDataRetrievalService, ILARSFrameworkDataRetrievalService larsFrameworkDataRetrievalService, IULNDataRetrievalService ulnDataRetrievalService, IPostcodesDataRetrievalService postcodesDataRetrievalService, IOrganisationsDataRetrievalService organisationsDataRetrievalService) { _externalDataCache = externalDataCache; _larsLearningDeliveryDataRetrievalService = larsLearningDeliveryDataRetrievalService; _larsFrameworkDataRetrievalService = larsFrameworkDataRetrievalService; _ulnDataRetrievalService = ulnDataRetrievalService; _postcodesDataRetrievalService = postcodesDataRetrievalService; _organisationsDataRetrievalService = organisationsDataRetrievalService; }
private ExternalDataCachePopulationService NewService( IExternalDataCache externalDataCache = null, ILARSLearningDeliveryDataRetrievalService larsLearningDeliveryDataRetrievalService = null, ILARSFrameworkDataRetrievalService larsFrameworkDataRetrievalService = null, IULNDataRetrievalService ulnDataRetrievalService = null, IPostcodesDataRetrievalService postcodesDataRetrievalService = null, IOrganisationsDataRetrievalService organisationsDataRetrievalService = null) { return(new ExternalDataCachePopulationService( externalDataCache, larsLearningDeliveryDataRetrievalService, larsFrameworkDataRetrievalService, ulnDataRetrievalService, postcodesDataRetrievalService, organisationsDataRetrievalService)); }
public IExternalDataCache BuildExternalDataCache(IExternalDataCache externalCache) { return(new ExternalDataCache { AECLatestInYearEarningHistory = externalCache.AECLatestInYearEarningHistory, FCSContractAllocations = externalCache.FCSContractAllocations, LargeEmployers = externalCache.LargeEmployers, LARSCurrentVersion = externalCache.LARSCurrentVersion, LARSLearningDelivery = externalCache.LARSLearningDelivery.ToDictionary(k => k.Key, v => v.Value, StringComparer.OrdinalIgnoreCase), LARSStandards = externalCache.LARSStandards, OrgFunding = externalCache.OrgFunding, OrgVersion = externalCache.OrgVersion, PostcodeSpecResources = externalCache.PostcodeSpecResources, CampusIdentifierSpecResources = externalCache.CampusIdentifierSpecResources.ToDictionary(k => k.Key, v => v.Value, StringComparer.OrdinalIgnoreCase), PostcodeCurrentVersion = externalCache.PostcodeCurrentVersion, PostcodeRoots = externalCache.PostcodeRoots.ToDictionary(k => k.Key, v => v.Value, StringComparer.OrdinalIgnoreCase), Periods = externalCache.Periods, }); }
public ActorValidationExecutionProvider( ILearnerPerActorProviderService learnerPerActorProviderService, ILearnerDPPerActorProviderService learnerDPPerActorProviderService, IJsonSerializationService jsonSerializationService, IInternalDataCache internalDataCache, IExternalDataCache externalDataCache, IFileDataCache fileDataCache, IValidationErrorCache validationErrorCache, ILogger logger) { _learnerPerActorProviderService = learnerPerActorProviderService; _learnerDPPerActorProviderService = learnerDPPerActorProviderService; _jsonSerializationService = jsonSerializationService; _internalDataCache = internalDataCache; _externalDataCache = externalDataCache; _fileDataCache = fileDataCache; _validationErrorCache = validationErrorCache; _logger = logger; }
public ExternalDataCachePopulationService( IExternalDataCache externalDataCache, IAppsEarningsHistoryDataRetrievalService appsEarningsHistoryDataRetrievalService, IFCSDataRetrievalService fcsDataRetrievalService, IPostcodesDataRetrievalService postcodesDataRetrievalService, ILargeEmployersDataRetrievalService largeEmployersDataRetrievalService, ILARSDataRetrievalService larsDataRetrievalService, IOrganisationDataRetrievalService organisationDataRetrievalService, IFundingServiceDto fundingServiceDto) { _externalDataCache = externalDataCache; _appsEarningsHistoryDataRetrievalService = appsEarningsHistoryDataRetrievalService; _fcsDataRetrievalService = fcsDataRetrievalService; _postcodesDataRetrievalService = postcodesDataRetrievalService; _largeEmployersDataRetrievalService = largeEmployersDataRetrievalService; _larsDataRetrievalService = larsDataRetrievalService; _organisationDataRetrievalService = organisationDataRetrievalService; _fundingServiceDto = fundingServiceDto; }
public ExternalDataCachePopulationService( IExternalDataCache externalDataCache, IEmployersDataMapper employersDataMapper, IEpaOrgDataMapper epaOrgDataMapper, IFcsDataMapper fcsDataMapper, ILarsDataMapper larsDataMapper, IOrganisationsDataMapper organisationsDataMapper, IPostcodesDataMapper postcodesDataMapper, IUlnDataMapper ulnDataMapper, IValidationErrorsDataMapper validationErrorsDataMapper, IValidationRulesDataMapper validationRulesDataMapper) { _externalDataCache = externalDataCache; _employersDataMapper = employersDataMapper; _epaOrgDataMapper = epaOrgDataMapper; _fcsDataMapper = fcsDataMapper; _larsDataMapper = larsDataMapper; _organisationsDataMapper = organisationsDataMapper; _postcodesDataMapper = postcodesDataMapper; _ulnDataMapper = ulnDataMapper; _validationErrorsDataMapper = validationErrorsDataMapper; _validationRulesDataMapper = validationRulesDataMapper; }
public PreFundingSFOrchestrationService( IJsonSerializationService jsonSerializationService, IIlrFileProviderService ilrFileProviderService, IFundingServiceDto fundingServiceDto, IPopulationService populationService, IActorTask <IALBActor, ALBGlobal> albActorTask, IActorTask <IFM81Actor, FM81Global> fm81ActorTask, IActorTask <IFM70Actor, FM70Global> fm70ActorTask, IActorTask <IFM35Actor, FM35Global> fm35ActorTask, IActorTask <IFM36Actor, FM36Global> fm36ActorTask, IActorTask <IFM25Actor, FM25Global> fm25ActorTask, IKeyValuePersistenceService keyValuePersistenceService, IPagingService <ILearner> learnerPagingService, IExternalDataCache externalDataCache, IInternalDataCache internalDataCache, IFileDataCache fileDataCache, ITopicAndTaskSectionConfig topicAndTaskSectionConfig, ILogger logger) { _jsonSerializationService = jsonSerializationService; _ilrFileProviderService = ilrFileProviderService; _fundingServiceDto = fundingServiceDto; _populationService = populationService; _albActorTask = albActorTask; _fm81ActorTask = fm81ActorTask; _fm70ActorTask = fm70ActorTask; _fm35ActorTask = fm35ActorTask; _fm36ActorTask = fm36ActorTask; _fm25ActorTask = fm25ActorTask; _keyValuePersistenceService = keyValuePersistenceService; _externalDataCache = externalDataCache; _internalDataCache = internalDataCache; _fileDataCache = fileDataCache; _learnerPagingService = learnerPagingService; _topicAndTaskSectionConfig = topicAndTaskSectionConfig; _logger = logger; }
private ExternalDataCachePopulationService NewService( IExternalDataCache externalDataCache = null, IEmployersDataMapper employersDataMapper = null, IEpaOrgDataMapper epaOrgDataMapper = null, IFcsDataMapper fcsDataMapper = null, ILarsDataMapper larsDataMapper = null, IOrganisationsDataMapper organisationsDataMapper = null, IPostcodesDataMapper postcodesDataMapper = null, IUlnDataMapper ulnDataMapper = null, IValidationErrorsDataMapper validationErrorsDataMapper = null, IValidationRulesDataMapper validationRulesDataMapper = null) { return(new ExternalDataCachePopulationService( externalDataCache, employersDataMapper, epaOrgDataMapper, fcsDataMapper, larsDataMapper, organisationsDataMapper, postcodesDataMapper, ulnDataMapper, validationErrorsDataMapper, validationRulesDataMapper)); }
private CollectionPeriodDataService NewService(IExternalDataCache referenceDataCache = null) { return(new CollectionPeriodDataService(referenceDataCache)); }
public ValidationErrorsDataService(IExternalDataCache externalDataCache) { _externalDataCache = externalDataCache; }
private EPAOrganisationDataService NewService(IExternalDataCache externalDataCache) { return(new EPAOrganisationDataService(externalDataCache)); }
public AppsEarningsHistoryReferenceDataService(IExternalDataCache referenceDataCache) { _referenceDataCache = referenceDataCache; }
public EnabledRulesProvider(IExternalDataCache externalDataCache) { _externalDataCache = externalDataCache; }
private PostcodesDataService NewService(IExternalDataCache externalDataCache = null) { return(new PostcodesDataService(externalDataCache)); }
private FCSDataService NewService(IExternalDataCache externalDataCache) { return(new FCSDataService(externalDataCache)); }
private EmployersDataService NewService(IExternalDataCache externalDataCache) { return(new EmployersDataService(externalDataCache)); }
public OrganisationReferenceDataService(IExternalDataCache referenceDataCache) { _referenceDataCache = referenceDataCache; }
public PostcodesReferenceDataService(IExternalDataCache referenceDataCache) { _referenceDataCache = referenceDataCache; }
public LargeEmployersReferenceDataService(IExternalDataCache referenceDataCache) { _referenceDataCache = referenceDataCache; }
private OrganisationReferenceDataService NewService(IExternalDataCache referenceDataCache = null) { return(new OrganisationReferenceDataService(referenceDataCache)); }
public AcceptanceTestsValidationErrorsCachePopulationServiceStub(IExternalDataCache iCache) { _dataCache = (ExternalDataCache)iCache; }
public FCSReferenceDataService(IExternalDataCache referenceDataCache) { _referenceDataCache = referenceDataCache; }