Beispiel #1
0
 public PullIndexParallelWorkflow(
     EntityRepository entityRepository,
     AttributeRepository attributeRepository,
     ScheduleOptionRepository scheduleOptionRepository,
     IndexerManager indexerManager,
     ResolverFactory resolverFactory)
 {
     this.entityRepository         = entityRepository;
     this.attributeRepository      = attributeRepository;
     this.scheduleOptionRepository = scheduleOptionRepository;
     this.indexerManager           = indexerManager;
     this.logger = resolverFactory.Resolve <ILogger>("Workflow");
 }
Beispiel #2
0
 public UpdateIndexChangesStep(
     ResolverFactory resolver,
     EntityRepository entityRepository,
     AttributeRepository attributeRepository,
     ConnectionRepository connectionRepository,
     IEnumerable <IPuller> pullers,
     IEnumerable <IIndexer> indexers,
     IndexerManager indexerManager) : base(resolver)
 {
     this.entityRepository     = entityRepository;
     this.attributeRepository  = attributeRepository;
     this.connectionRepository = connectionRepository;
     this.pullers        = pullers;
     this.indexers       = indexers;
     this.indexerManager = indexerManager;
 }
Beispiel #3
0
 public EntitiesSettingsProvider(
     EntitiesSettingsOptionManager optionManager,
     EntityRepository entityRepository,
     ConnectionRepository connectionRepository,
     IndexerManager indexerManager,
     IEnumerable <IEntityPuller> pullers,
     IEnumerable <IEntityIndexer> indexers,
     ResolverFactory resolverFactory) : base(optionManager)
 {
     this.entityRepository     = entityRepository;
     this.connectionRepository = connectionRepository;
     this.indexerManager       = indexerManager;
     this.pullers  = pullers;
     this.indexers = indexers;
     this.indexerManager.OnReport(s => this.logger.Information(s));
     this.logger      = resolverFactory.Resolve <ILogger>("SyncService");
     this.errorLogger = resolverFactory.Resolve <ILogger>("Error");
 }