Fineract with ReadOnly tenant database connection
This commit is contained in:
committed by
Arnold Gálovics
parent
7cd9ff879a
commit
2a7d8b9496
@@ -539,6 +539,18 @@ configure(project.fineractJavaProjects) {
|
||||
excludeTestsMatching project.property('excludeTests')
|
||||
}
|
||||
}
|
||||
|
||||
// Database type used in the Test
|
||||
systemProperty 'dbType', 'mariadb'
|
||||
if (project.hasProperty('dbType')) {
|
||||
if ('postgresql'.equalsIgnoreCase(dbType)) {
|
||||
systemProperty 'dbType', 'postgresql'
|
||||
} else if ('mysql'.equalsIgnoreCase(dbType)) {
|
||||
systemProperty 'dbType', 'mysql'
|
||||
} else {
|
||||
throw new GradleException('Provided dbType is not supported')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
testlogger {
|
||||
|
||||
Reference in New Issue
Block a user