FINERACT-1724: Tomcat adjustments for the cargo test running

This commit is contained in:
Arnold Galovics
2023-06-06 11:45:08 +02:00
committed by Arnold Gálovics
parent 7f2a81b828
commit 8176b6ec81
6 changed files with 9 additions and 6 deletions
+2 -1
View File
@@ -41,7 +41,7 @@ dependencies {
}
cargo {
containerId "tomcat9x"
containerId "tomcat10x"
// looks like Cargo doesn't detect the WAR file automatically in the multi-module setup
deployable {
@@ -76,6 +76,7 @@ cargo {
property 'cargo.start.jvmargs', jvmArgs
property 'cargo.tomcat.connector.keystoreFile', file("$rootDir/fineract-provider/src/main/resources/keystore.jks")
property 'cargo.tomcat.connector.keystorePass', 'openmf'
property 'cargo.tomcat.connector.keystoreType', 'JKS'
property 'cargo.tomcat.httpSecure', true
property 'cargo.tomcat.connector.sslProtocol', 'TLS'
property 'cargo.tomcat.connector.clientAuth', false
+1 -1
View File
@@ -20,7 +20,7 @@ dependencies {
// testCompile dependencies are ONLY used in src/test, not src/main.
// Do NOT repeat dependencies which are ALREADY in implementation or runtimeOnly!
//
tomcat 'org.apache.tomcat:tomcat:9.0.69@zip'
tomcat 'org.apache.tomcat:tomcat:10.1.9@zip'
testImplementation( files("$rootDir/fineract-provider/build/classes/java/main/"),
project(path: ':fineract-provider', configuration: 'runtimeElements'),
'org.junit.jupiter:junit-jupiter-api',