diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 3c601e4b..7b63af02 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -18,7 +18,7 @@ management.endpoint.health.show-details=always #-------------------------------------------------------------------------- # Database MongoDB #-------------------------------------------------------------------------- -spring.data.mongodb.uri=mongodb://${fr.insee.genesis.persistence.database.mongodb.username}:${encodeURIComponent(fr.insee.genesis.persistence.database.mongodb.password)}@${fr.insee.genesis.persistence.database.mongodb.host1}:${fr.insee.genesis.persistence.database.mongodb.port},${fr.insee.genesis.persistence.database.mongodb.host2}:${fr.insee.genesis.persistence.database.mongodb.port},${fr.insee.genesis.persistence.database.mongodb.host3}:${fr.insee.genesis.persistence.database.mongodb.port}/${fr.insee.genesis.persistence.database.mongodb.database} +spring.data.mongodb.uri=mongodb://${fr.insee.genesis.persistence.database.mongodb.username}:${fr.insee.genesis.persistence.database.mongodb.password}@${fr.insee.genesis.persistence.database.mongodb.host1}:${fr.insee.genesis.persistence.database.mongodb.port},${fr.insee.genesis.persistence.database.mongodb.host2}:${fr.insee.genesis.persistence.database.mongodb.port},${fr.insee.genesis.persistence.database.mongodb.host3}:${fr.insee.genesis.persistence.database.mongodb.port}/${fr.insee.genesis.persistence.database.mongodb.database} #-------------------------------------------------------------------------- # Logging #--------------------------------------------------------------------------