Class TestOntologyConfig

java.lang.Object
ubic.gemma.core.ontology.TestOntologyConfig

@Configuration @Profile("test") public class TestOntologyConfig extends Object
This class contains configuration for the ontology services used in tests

By default, no ontology are loaded in tests and no limit is applied to the number of ontologies that can be loaded concurrently.

Author:
poirigui
  • Constructor Details

    • TestOntologyConfig

      public TestOntologyConfig()
  • Method Details

    • ontologyTaskExecutor

      @Bean public org.springframework.core.task.TaskExecutor ontologyTaskExecutor()
      Executor used for loading ontologies in background.
    • excludedWordsFromStemming

      @Bean public TextResourceToSetOfLinesFactoryBean excludedWordsFromStemming()
    • gemmaOntologyService

      @Bean public org.springframework.beans.factory.FactoryBean<GemmaOntologyService> gemmaOntologyService(@Qualifier("ontologyTaskExecutor") org.springframework.core.task.TaskExecutor taskExecutor)
    • experimentalFactorOntologyService

      @Bean public org.springframework.beans.factory.FactoryBean<ExperimentalFactorOntologyService> experimentalFactorOntologyService(@Qualifier("ontologyTaskExecutor") org.springframework.core.task.TaskExecutor taskExecutor)
    • obiService

      @Bean public org.springframework.beans.factory.FactoryBean<ObiService> obiService(@Qualifier("ontologyTaskExecutor") org.springframework.core.task.TaskExecutor taskExecutor)
    • mondoOntologyServiceOntologyService

      @Bean public org.springframework.beans.factory.FactoryBean<MondoOntologyService> mondoOntologyServiceOntologyService(@Qualifier("ontologyTaskExecutor") org.springframework.core.task.TaskExecutor taskExecutor)
    • mammalianPhenotypeOntologyServiceOntologyService

      @Bean public org.springframework.beans.factory.FactoryBean<MammalianPhenotypeOntologyService> mammalianPhenotypeOntologyServiceOntologyService(@Qualifier("ontologyTaskExecutor") org.springframework.core.task.TaskExecutor taskExecutor)
    • humanPhenotypeOntologyServiceOntologyService

      @Bean public org.springframework.beans.factory.FactoryBean<HumanPhenotypeOntologyService> humanPhenotypeOntologyServiceOntologyService(@Qualifier("ontologyTaskExecutor") org.springframework.core.task.TaskExecutor taskExecutor)
    • nisftOntologyServiceFactory

      @Bean @Deprecated public org.springframework.beans.factory.FactoryBean<NIFSTDOntologyService> nisftOntologyServiceFactory(@Qualifier("ontologyTaskExecutor") org.springframework.core.task.TaskExecutor taskExecutor)
      Deprecated.
    • fmaOntologyService

      @Bean @Deprecated public org.springframework.beans.factory.FactoryBean<FMAOntologyService> fmaOntologyService(@Qualifier("ontologyTaskExecutor") org.springframework.core.task.TaskExecutor taskExecutor)
      Deprecated.
    • uberonOntologyService

      @Bean public org.springframework.beans.factory.FactoryBean<UberonOntologyService> uberonOntologyService(@Qualifier("ontologyTaskExecutor") org.springframework.core.task.TaskExecutor taskExecutor)