From bbb439eb16a73feeba43e6b5c7d9a4627c1e25a2 Mon Sep 17 00:00:00 2001 From: Josh Lagrimas Date: Thu, 13 Apr 2023 17:32:17 +0100 Subject: [PATCH] re-add annotation in SolrIndexer --- .../src/main/java/uk/ac/ebi/spot/indexer/SolrIndexer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oxo-indexer/src/main/java/uk/ac/ebi/spot/indexer/SolrIndexer.java b/oxo-indexer/src/main/java/uk/ac/ebi/spot/indexer/SolrIndexer.java index eb16565..0d4469f 100644 --- a/oxo-indexer/src/main/java/uk/ac/ebi/spot/indexer/SolrIndexer.java +++ b/oxo-indexer/src/main/java/uk/ac/ebi/spot/indexer/SolrIndexer.java @@ -5,6 +5,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; @@ -27,6 +28,7 @@ @SpringBootApplication @EnableNeo4jRepositories(basePackages = "uk.ac.ebi.spot.repository") @EnableSolrRepositories(basePackages = "uk.ac.ebi.spot.index", basePackageClasses = {Document.class}) +@EnableAutoConfiguration @EnableConfigurationProperties @ComponentScan({"uk.ac.ebi"}) public class SolrIndexer implements CommandLineRunner {