Commit e80b74ab authored by Figue Orange's avatar Figue Orange
Browse files

missing annotation for configuration logs

parent a9cfb1d6
......@@ -4,6 +4,7 @@ import fr.gouv.clea.scoring.configuration.ScoringConfiguration;
import fr.gouv.clea.scoring.configuration.ScoringRule;
import fr.gouv.clea.scoring.configuration.validators.CheckDefaultRulePresence;
import lombok.Setter;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
......@@ -19,6 +20,7 @@ import java.util.List;
@ConfigurationProperties(prefix = "clea.conf.exposure")
@ConditionalOnProperty(value = "clea.conf.exposure.enabled", havingValue = "true")
@Slf4j
@ToString
public class ExposureTimeConfiguration extends ScoringConfiguration {
@Setter
......
......@@ -4,6 +4,7 @@ import fr.gouv.clea.scoring.configuration.ScoringConfiguration;
import fr.gouv.clea.scoring.configuration.ScoringRule;
import fr.gouv.clea.scoring.configuration.validators.CheckDefaultRulePresence;
import lombok.Setter;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
......@@ -18,6 +19,7 @@ import java.util.List;
@Configuration
@ConfigurationProperties(prefix = "clea.conf.risk")
@ConditionalOnProperty(value = "clea.conf.risk.enabled", havingValue = "true")
@ToString
@Slf4j
public class RiskConfiguration extends ScoringConfiguration {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment