FINERACT-796

Use Hikari instead of Tomcat Connection Pool
 - Created hikari connection pool bean
 - Configured connection parameters to match hikari
 - Removed tomcat-jdbc and dbcp
 - Remove unused classes
 - Add Hikari to logback
 - update hikaridatasource bean

closes https://issues.apache.org/jira/browse/FINERACT-796

remove hikaricp import from gradle files

more specific bean config

- Set up datasource properties
- Cleanup unused classes
- Add hikari to logback
This commit is contained in:
xurror
2020-03-28 15:06:34 +01:00
committed by Michael Vorburger ⛑️
parent 2e620b4de8
commit 3475c0cfb7
20 changed files with 100 additions and 496 deletions
+3 -6
View File
@@ -22,7 +22,6 @@ dependencies {
tomcat("org.apache.tomcat.embed:tomcat-embed-jasper") {
exclude group: 'org.eclipse.jdt.core.compiler', module: 'ecj'
}
tomcat "org.apache.tomcat:tomcat-dbcp"
providedRuntime("org.springframework.boot:spring-boot-starter-tomcat")
@@ -79,8 +78,6 @@ dependencies {
//'mysql:mysql-connector-java',
'org.drizzle.jdbc:drizzle-jdbc',
'org.apache.tomcat:tomcat-jdbc',
'org.apache.poi:poi',
'org.apache.poi:poi-ooxml',
@@ -125,7 +122,7 @@ dependencies {
'com.sun.jersey:jersey-core',
'com.mockrunner:mockrunner-jdbc'
testCompile ("org.springframework.boot:spring-boot-starter-test") {
exclude group: 'com.jayway.jsonpath', module: 'json-path'
}
testCompile ("org.springframework.boot:spring-boot-starter-test") {
exclude group: 'com.jayway.jsonpath', module: 'json-path'
}
}