diff --git a/processing/src/main/java/edu/harvard/hms/dbmi/avillach/hpds/processing/GenomicProcessorConfig.java b/processing/src/main/java/edu/harvard/hms/dbmi/avillach/hpds/processing/GenomicProcessorConfig.java index 9653fef8..009ee1a7 100644 --- a/processing/src/main/java/edu/harvard/hms/dbmi/avillach/hpds/processing/GenomicProcessorConfig.java +++ b/processing/src/main/java/edu/harvard/hms/dbmi/avillach/hpds/processing/GenomicProcessorConfig.java @@ -3,6 +3,7 @@ import edu.harvard.hms.dbmi.avillach.hpds.processing.genomic.GenomicProcessorRestClient; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.context.annotation.Bean; import reactor.core.publisher.Flux; @@ -72,7 +73,7 @@ public GenomicProcessor remoteGenomicProcessor(@Value("${hpds.genomicProcessor.r } @Bean - @ConditionalOnProperty(prefix = "hpds.genomicProcessor", name = "impl", matchIfMissing = true) + @ConditionalOnMissingBean public GenomicProcessor noOpGenomicProcessor() { return new GenomicProcessorNoOp(); }