Class AnnotationsWebServiceTest.AnnotationsWebServiceContextConfiguration
java.lang.Object
ubic.gemma.rest.AnnotationsWebServiceTest.AnnotationsWebServiceContextConfiguration
- Enclosing class:
AnnotationsWebServiceTest
@Configuration
@TestComponent
@Import(JacksonConfig.class)
public static class AnnotationsWebServiceTest.AnnotationsWebServiceContextConfiguration
extends Object
- Author:
- poirigui
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.access.AccessDecisionManagerRequired byAnnotationsWebServicesince the relation endpoints landed; without it every test here fails on context init rather than on anything it asserts.annotationsWebService(OntologyService ontologyService, SearchService searchService, CharacteristicService characteristicService, ExpressionExperimentService expressionExperimentService, DatasetArgService datasetRestService, TaxonArgService taxonArgService, GeneService geneService) datasetRestService(ExpressionExperimentService service, SearchService searchService) NCBI fallback for the/annotations/termgene branch.Required since the tag write paths here ground-check the terms they are about to add.Future<io.swagger.v3.oas.models.OpenAPI> openApi()taxonArgService(TaxonService taxonService, GeneService geneService)
-
Constructor Details
-
AnnotationsWebServiceContextConfiguration
public AnnotationsWebServiceContextConfiguration()
-
-
Method Details
-
placeholderConfigurer
-
ontologyService
-
ontologyTermValidator
Required since the tag write paths here ground-check the terms they are about to add. A mock: the checking itself is covered byDatasetsWebServiceTestandOntologyTermValidatorImplTest. -
annotationRelationService
Required byAnnotationsWebServicesince the relation endpoints landed; without it every test here fails on context init rather than on anything it asserts. A mock, because nothing in this class exercises a relation —AnnotationRelationDaoTestdoes. -
searchService
-
characteristicService
-
expressionExperimentService
-
taxonService
-
datasetRestService
@Bean public DatasetArgService datasetRestService(ExpressionExperimentService service, SearchService searchService) -
taxonArgService
-
geneService
-
ncbiGeneResolver
NCBI fallback for the/annotations/termgene branch. A mock: the field it wires into is@Autowired(required = false), so this bean only needs to exist for a test to exercise the NCBI-fallback path at all —findByNCBIId-only tests never touch it. -
annotationsWebService
@Bean public AnnotationsWebService annotationsWebService(OntologyService ontologyService, SearchService searchService, CharacteristicService characteristicService, ExpressionExperimentService expressionExperimentService, DatasetArgService datasetRestService, TaxonArgService taxonArgService, GeneService geneService) -
analyticsProvider
-
accessDecisionManager
@Bean public org.springframework.security.access.AccessDecisionManager accessDecisionManager() -
openApi
-
buildInfo
-