Attention une mise à jour du service Gitlab va être effectuée le mardi 18 janvier (et non lundi 17 comme annoncé précédemment) entre 18h00 et 18h30. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes.

Commit adab0291 authored by calocedre TAC's avatar calocedre TAC
Browse files

remove unused files

parent 763448e4
......@@ -18,8 +18,6 @@ public class RiskConfigurationService {
@Autowired
private RiskConfiguration riskConfiguration;
static final RiskLevelConfig DEFAULT = new RiskLevelConfig(3, 1, 3.0f, 2.0f);
public Optional<RiskRule> evaluate(int venueType, int venueCategory1, int venueCategory2) {
return Optional.of(riskConfiguration.getConfigurationFor(venueType, venueCategory1, venueCategory2));
}
......
package fr.gouv.clea.identification;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* Read-only configuration risk for one {type/categ1/categ2} visit
*/
@AllArgsConstructor
@Getter
public class RiskLevelConfig {
private int backwardTheshold;
private int forwardTheshold;
private float backwardRisk;
private float forwardRisk;
}
spring:
application:
name: clea-scoring-conf
cloud:
consul:
enabled: ${CONSUL_ENABLED:false}
host: ${CONSUL_HOST:localhost}
port: ${CONSUL_PORT:8500}
scheme: ${CONSUL_SCHEME:http}
token: ${CLEA_CONF_CONSUL_ACL_TOKEN:token}
config:
enabled: ${CONSUL_CONFIG_ENABLED:false}
watch:
enabled: false
format: YAML
vault:
enabled: ${VAULT_ENABLED:false}
host: ${VAULT_HOST:localhost}
port: ${VAULT_PORT:8200}
token: ${VAULT_TOKEN:token}
scheme: ${VAULT_SCHEME:http}
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