cleanup and refactoring of notification
close rabbit and redis connexion on application close Refactoring of Configuration class fix notification id increment Add builder for NotificationPush Add close to notificationPush to remove listener Clean tags of tests purge queue before functional tests
This commit is contained in:
44
src/test/resources/application-test.conf
Normal file
44
src/test/resources/application-test.conf
Normal file
@@ -0,0 +1,44 @@
|
||||
ktor {
|
||||
deployment {
|
||||
port = 8080
|
||||
port = ${?PORT}
|
||||
}
|
||||
application {
|
||||
modules = [ fr.dcproject.ApplicationKt.module ]
|
||||
}
|
||||
}
|
||||
|
||||
app {
|
||||
envName = test
|
||||
domain = dc-project.fr
|
||||
}
|
||||
|
||||
db {
|
||||
host = localhost
|
||||
host = ${?DB_HOST}
|
||||
database = test
|
||||
username = test
|
||||
password = test
|
||||
port = 5432
|
||||
}
|
||||
|
||||
redis {
|
||||
connection = "redis://localhost:6379"
|
||||
connection = ${?REDIS_CONNECTION}
|
||||
}
|
||||
|
||||
rabbitmq {
|
||||
connection = "amqp://localhost:5672"
|
||||
connection = ${?RABBITMQ_CONNECTION}
|
||||
}
|
||||
|
||||
elasticsearch {
|
||||
connection = "http://localhost:9200"
|
||||
connection = ${?ELASTICSEARCH_CONNECTION}
|
||||
}
|
||||
|
||||
mail {
|
||||
sendGrid {
|
||||
key = "abcd"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user