Fineract with ReadOnly tenant database connection

This commit is contained in:
Jose Alberto Hernandez
2022-06-14 09:15:12 +02:00
committed by Arnold Gálovics
parent 7cd9ff879a
commit 2a7d8b9496
14 changed files with 640 additions and 215 deletions
+12
View File
@@ -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 {