diff --git a/src/main/java/it/finanze/sanita/fse2/ms/gtw/rulesmanager/config/DockerSetup.java b/src/main/java/it/finanze/sanita/fse2/ms/gtw/rulesmanager/config/DockerSetup.java index 4a6c269..c1a9d52 100644 --- a/src/main/java/it/finanze/sanita/fse2/ms/gtw/rulesmanager/config/DockerSetup.java +++ b/src/main/java/it/finanze/sanita/fse2/ms/gtw/rulesmanager/config/DockerSetup.java @@ -1,11 +1,5 @@ package it.finanze.sanita.fse2.ms.gtw.rulesmanager.config; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.boot.context.event.ApplicationStartedEvent; -import org.springframework.context.annotation.Configuration; -import org.springframework.context.annotation.Profile; -import org.springframework.context.event.EventListener; - import it.finanze.sanita.fse2.ms.gtw.rulesmanager.config.eds.changeset.impl.DictionaryCFG; import it.finanze.sanita.fse2.ms.gtw.rulesmanager.config.eds.changeset.impl.EngineCFG; import it.finanze.sanita.fse2.ms.gtw.rulesmanager.config.eds.changeset.impl.FhirStructuresCFG; @@ -15,8 +9,13 @@ import it.finanze.sanita.fse2.ms.gtw.rulesmanager.scheduler.executors.impl.DictionaryExecutor; import it.finanze.sanita.fse2.ms.gtw.rulesmanager.scheduler.executors.impl.EnginesExecutor; import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.context.event.ApplicationStartedEvent; +import org.springframework.context.annotation.Configuration; +import org.springframework.context.annotation.Profile; +import org.springframework.context.event.EventListener; -@Profile(value = Constants.Profile.DEV) +@Profile(value = Constants.Profile.DOCKER) @Configuration @Slf4j public class DockerSetup {