From 150d2211a68794bfae0a5f7fe41201b0ae43489f Mon Sep 17 00:00:00 2001 From: Giuseppe Baittiner Date: Thu, 21 Dec 2023 09:52:51 +0100 Subject: [PATCH] fix: docker setup profile --- .../ms/gtw/rulesmanager/config/DockerSetup.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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 {