public SearchService(ILocalhost localhost, IFhirModel fhirModel, IFhirIndex fhirIndex, IIndexService indexService) { this.fhirModel = fhirModel; this.localhost = localhost; this.indexService = indexService; this.fhirIndex = fhirIndex; }
public static void Import(TestContext unused) { Dependencies.Register(); Settings.AppSettings = ConfigurationManager.AppSettings; FhirMaintenanceService maintenance = Factory.GetFhirMaintenanceService(); index = Factory.GetIndex(); }
public InitializeHub() { this.localhost = InfrastructureProvider.Mongo.Localhost; this.service = InfrastructureProvider.Mongo.CreateService(); this.store = InfrastructureProvider.Mongo.Store; this.index = InfrastructureProvider.Mongo.Index; this.resources = null; }
public InitializeHub(FhirService fhirService, ILocalhost localhost, IFhirStore fhirStore, IFhirIndex fhirIndex) { this.localhost = localhost; this.fhirService = fhirService; this.fhirStore = fhirStore; this.fhirIndex = fhirIndex; this.resources = null; }
public MaintenanceService(FhirService fhirService, ILocalhost localhost, IGenerator keyGenerator, IFhirStore fhirStore, IFhirIndex fhirIndex) { this.fhirService = fhirService; this.localhost = localhost; this.keyGenerator = keyGenerator; this.fhirStore = fhirStore; this.fhirIndex = fhirIndex; }
public MaintenanceService(Infrastructure infrastructure, FhirService service) { this.service = service; this.localhost = infrastructure.Localhost; this.generator = infrastructure.Generator; this.store = infrastructure.Store; this.index = infrastructure.Index; }
public MaintenanceService(IFhirService _fhirServiceFull, ILocalhost localhost, IGenerator keyGenerator, IFhirStoreAdministration fhirStoreAdministration, IFhirIndex fhirIndex) { this._fhirServiceFull = _fhirServiceFull; this.localhost = localhost; this.keyGenerator = keyGenerator; this.fhirStoreAdministration = fhirStoreAdministration; this.fhirIndex = fhirIndex; }
public MaintenanceHub(IFhirService fhirService, ILocalhost localhost, IFhirStoreAdministration fhirStoreAdministration, IFhirIndex fhirIndex, ExamplesSettings examplesSettings) { _localhost = localhost; _fhirService = fhirService; _fhirStoreAdministration = fhirStoreAdministration; _fhirIndex = fhirIndex; _examplesSettings = examplesSettings; }
public InitializerHub(IFhirService fhirService, ILocalhost localhost, IFhirStoreAdministration fhirStoreAdministration, IFhirIndex fhirIndex) { this.localhost = localhost; this.fhirService = fhirService; this.fhirStoreAdministration = fhirStoreAdministration; this.fhirIndex = fhirIndex; this.resources = null; }
public static void Import(TestContext unused) { Dependencies.Register(); Settings.AppSettings = ConfigurationManager.AppSettings; FhirMaintenanceService maintenance = Factory.GetFhirMaintenanceService(); index = Spark.Search.MongoSearchFactory.GetIndex(); }
public FhirService(Uri serviceBase) { _store = DependencyCoupler.Inject <IFhirStore>(); // new MongoFhirStore(); _index = DependencyCoupler.Inject <IFhirIndex>(); // Factory.Index; _importer = DependencyCoupler.Inject <ResourceImporter>(); _exporter = DependencyCoupler.Inject <ResourceExporter>(); _pager = new Pager(_store); Endpoint = serviceBase; }
public FhirService(Uri serviceBase) { store = DependencyCoupler.Inject<IFhirStore>(); // new MongoFhirStore(); _index = DependencyCoupler.Inject<IFhirIndex>(); // Factory.Index; _importer = DependencyCoupler.Inject<ResourceImporter>(); exporter = DependencyCoupler.Inject<ResourceExporter>(); pager = new Pager(store); Endpoint = serviceBase; }
protected virtual IFhirServiceExtension GetSearch() { IFhirIndex fhirStore = fhirStoreBuilder.GetStore <IFhirIndex>(); if (fhirStore != null) { return(new SearchService(new Localhost(baseUri), new FhirModel(), fhirStore)); } return(null); }
public IndexRebuildService( IIndexStore indexStore, IFhirIndex indexService, IFhirStorePagedReader entryReader, SparkSettings sparkSettings) { _indexStore = indexStore ?? throw new ArgumentNullException(nameof(indexStore)); _indexService = indexService ?? throw new ArgumentNullException(nameof(indexService)); _entryReader = entryReader ?? throw new ArgumentNullException(nameof(entryReader)); _sparkSettings = sparkSettings ?? throw new ArgumentNullException(nameof(sparkSettings)); }
public SearchService( ILocalhost localhost, IFhirModel fhirModel, IFhirIndex fhirIndex, IIndexService indexService) { _fhirModel = fhirModel; _localhost = localhost; _indexService = indexService; _fhirIndex = fhirIndex; }
public FhirService(Infrastructure infrastructure) { this.localhost = infrastructure.Localhost; this.store = infrastructure.Store; this.snapshotstore = infrastructure.SnapshotStore; this.generator = infrastructure.Generator; this.index = infrastructure.Index; this.listener = infrastructure.ServiceListener; transfer = new Transfer(generator, localhost); pager = new Pager(store, snapshotstore, localhost, transfer); }
public FhirService(Uri endpoint) { //refac: store = DependencyCoupler.Inject<IFhirStore>(); // new MongoFhirStore(); store = DependencyCoupler.Inject <IFhirStore>(); tagstore = DependencyCoupler.Inject <ITagStore>(); generator = DependencyCoupler.Inject <IGenerator>(); index = DependencyCoupler.Inject <IFhirIndex>(); // Factory.Index; importer = DependencyCoupler.Inject <ResourceImporter>(); exporter = DependencyCoupler.Inject <ResourceExporter>(); pager = new Pager(store, exporter); Endpoint = endpoint; }
public FhirService(Uri endpoint) { //refac: store = DependencyCoupler.Inject<IFhirStore>(); // new MongoFhirStore(); store = DependencyCoupler.Inject<IFhirStore>(); tagstore = DependencyCoupler.Inject<ITagStore>(); generator = DependencyCoupler.Inject<IGenerator>(); index = DependencyCoupler.Inject<IFhirIndex>(); // Factory.Index; importer = DependencyCoupler.Inject<ResourceImporter>(); exporter = DependencyCoupler.Inject<ResourceExporter>(); pager = new Pager(store, exporter); Endpoint = endpoint; }
public FhirService(ILocalhost localhost, IFhirStore fhirStore, ISnapshotStore snapshotStore, IGenerator keyGenerator, IFhirIndex fhirIndex, IServiceListener serviceListener, IFhirResponseFactory responseFactory, IndexService indexService) { this.localhost = localhost; this.fhirStore = fhirStore; this.snapshotstore = snapshotStore; this.keyGenerator = keyGenerator; this.fhirIndex = fhirIndex; this.serviceListener = serviceListener; this.responseFactory = responseFactory; _indexService = indexService; transfer = new Transfer(this.keyGenerator, localhost); pager = new Pager(this.fhirStore, snapshotstore, localhost, transfer, ModelInfo.SearchParameters); //TODO: Use FhirModel instead of ModelInfo for the searchparameters. }
public MaintenanceHub( IAsyncFhirService fhirService, IFhirStoreAdministration fhirStoreAdministration, IFhirIndex fhirIndex, ExamplesSettings examplesSettings, IIndexRebuildService indexRebuildService, ILogger <MaintenanceHub> logger, IHubContext <MaintenanceHub> hubContext) { _fhirService = fhirService; _fhirStoreAdministration = fhirStoreAdministration; _fhirIndex = fhirIndex; _examplesSettings = examplesSettings; _indexRebuildService = indexRebuildService; _logger = logger; _hubContext = hubContext; }
public MaintenanceApiController(IFhirStoreAdministration fhirStoreAdministration, IFhirIndex fhirIndex) { this.fhirStoreAdministration = fhirStoreAdministration; this.fhirIndex = fhirIndex; }
public MaintenanceService(IFhirService fhirService, ILocalhost localhost, IGenerator keyGenerator, IFhirStoreAdministration fhirStoreAdministration, IFhirIndex fhirIndex) : this(fhirService, fhirStoreAdministration, fhirIndex) { }
public MaintenanceService(IFhirService fhirService, IFhirStoreAdministration fhirStoreAdministration, IFhirIndex fhirIndex) { _fhirService = fhirService; _fhirStoreAdministration = fhirStoreAdministration; _fhirIndex = fhirIndex; }