FINERACT-2181: Update non-major
This commit is contained in:
committed by
Adam Saghy
parent
22282ded00
commit
eacfb92545
@@ -7,7 +7,7 @@ jobs:
|
|||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
services:
|
services:
|
||||||
mariad:
|
mariad:
|
||||||
image: mariadb:11.5
|
image: mariadb:11.5.2
|
||||||
ports:
|
ports:
|
||||||
- 3306:3306
|
- 3306:3306
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ jobs:
|
|||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
services:
|
services:
|
||||||
postgresql:
|
postgresql:
|
||||||
image: postgres:17.2
|
image: postgres:17.4
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -26,15 +26,15 @@ If you are interested in contributing to this project, but perhaps don't quite k
|
|||||||
REQUIREMENTS
|
REQUIREMENTS
|
||||||
============
|
============
|
||||||
* `Java >= 17` (Azul Zulu JVM is tested by our CI on GitHub Actions)
|
* `Java >= 17` (Azul Zulu JVM is tested by our CI on GitHub Actions)
|
||||||
* MariaDB `11.4`
|
* MariaDB `11.5.2`
|
||||||
|
|
||||||
You can run the required version of the database server in a container, instead of having to install it, like this:
|
You can run the required version of the database server in a container, instead of having to install it, like this:
|
||||||
|
|
||||||
docker run --name mariadb-11.4 -p 3306:3306 -e MARIADB_ROOT_PASSWORD=mysql -d mariadb:11.4
|
docker run --name mariadb-11.5 -p 3306:3306 -e MARIADB_ROOT_PASSWORD=mysql -d mariadb:11.5.2
|
||||||
|
|
||||||
and stop and destroy it like this:
|
and stop and destroy it like this:
|
||||||
|
|
||||||
docker rm -f mariadb-11.4
|
docker rm -f mariadb-11.5
|
||||||
|
|
||||||
<br>Beware that this database container database keeps its state inside the container and not on the host filesystem. It is lost when you destroy (rm) this container. This is typically fine for development. See [Caveats: Where to Store Data on the database container documentation](https://hub.docker.com/_/mariadb) re. how to make it persistent instead of ephemeral.<br>
|
<br>Beware that this database container database keeps its state inside the container and not on the host filesystem. It is lost when you destroy (rm) this container. This is typically fine for development. See [Caveats: Where to Store Data on the database container documentation](https://hub.docker.com/_/mariadb) re. how to make it persistent instead of ephemeral.<br>
|
||||||
|
|
||||||
@@ -79,11 +79,9 @@ Run the following commands:
|
|||||||
============
|
============
|
||||||
1. Clone the repository or download and extract the archive file to your local directory.
|
1. Clone the repository or download and extract the archive file to your local directory.
|
||||||
2. Run `./gradlew clean bootJar` to build a modern cloud native fully self contained JAR file which will be created at `fineract-provider/build/libs` directory.
|
2. Run `./gradlew clean bootJar` to build a modern cloud native fully self contained JAR file which will be created at `fineract-provider/build/libs` directory.
|
||||||
3. As we are not allowed to include a JDBC driver in the built JAR, download a JDBC driver of your choice. For example: `wget https://downloads.mariadb.com/Connectors/java/connector-java-3.3.2/mariadb-java-client-3.3.2.jar`
|
3. As we are not allowed to include a JDBC driver in the built JAR, download a JDBC driver of your choice. For example: `wget https://dlm.mariadb.com/4174416/Connectors/java/connector-java-3.5.2/mariadb-java-client-3.5.2.jar`
|
||||||
4. Start the jar and pass the directory where you have downloaded the JDBC driver as loader.path, for example: `java -Dloader.path=. -jar fineract-provider/build/libs/fineract-provider.jar` (does not require external Tomcat)
|
4. Start the jar and pass the directory where you have downloaded the JDBC driver as loader.path, for example: `java -Dloader.path=. -jar fineract-provider/build/libs/fineract-provider.jar` (does not require external Tomcat)
|
||||||
|
|
||||||
NOTE: we cannot upgrade to version 3.0.x of the MariaDB driver just yet; have to wait until 3.0.4 is out for a bug fix.
|
|
||||||
|
|
||||||
The tenants database connection details are configured [via environment variables (as with Docker container)](#instructions-to-run-using-docker-and-docker-compose), e.g. like this:
|
The tenants database connection details are configured [via environment variables (as with Docker container)](#instructions-to-run-using-docker-and-docker-compose), e.g. like this:
|
||||||
|
|
||||||
export FINERACT_HIKARI_PASSWORD=verysecret
|
export FINERACT_HIKARI_PASSWORD=verysecret
|
||||||
|
|||||||
@@ -44,8 +44,8 @@ dependencyManagement {
|
|||||||
// We do not use :+ to get the latest available version available on Maven Central, as that could suddenly break things.
|
// We do not use :+ to get the latest available version available on Maven Central, as that could suddenly break things.
|
||||||
// We use the Renovate Bot to automatically propose Pull Requests (PRs) when upgrades for all of these versions are available.
|
// We use the Renovate Bot to automatically propose Pull Requests (PRs) when upgrades for all of these versions are available.
|
||||||
|
|
||||||
dependency 'ch.qos.logback:logback-core:1.5.12'
|
dependency 'ch.qos.logback:logback-core:1.5.17'
|
||||||
dependency 'ch.qos.logback:logback-classic:1.5.12'
|
dependency 'ch.qos.logback:logback-classic:1.5.17'
|
||||||
dependency 'ch.qos.logback.contrib:logback-json-classic:0.1.5'
|
dependency 'ch.qos.logback.contrib:logback-json-classic:0.1.5'
|
||||||
dependency 'ch.qos.logback.contrib:logback-jackson:0.1.5'
|
dependency 'ch.qos.logback.contrib:logback-jackson:0.1.5'
|
||||||
dependency 'org.codehaus.janino:janino:3.1.12'
|
dependency 'org.codehaus.janino:janino:3.1.12'
|
||||||
@@ -169,7 +169,7 @@ dependencyManagement {
|
|||||||
exclude 'io.swagger.core.v3:swagger-core'
|
exclude 'io.swagger.core.v3:swagger-core'
|
||||||
}
|
}
|
||||||
|
|
||||||
dependency 'com.google.cloud.sql:mysql-socket-factory-connector-j-8:1.21.0'
|
dependency 'com.google.cloud.sql:mysql-socket-factory-connector-j-8:1.23.1'
|
||||||
|
|
||||||
dependency ('org.apache.activemq:activemq-client:6.1.3') {
|
dependency ('org.apache.activemq:activemq-client:6.1.3') {
|
||||||
exclude 'javax.annotation:javax.annotation-api'
|
exclude 'javax.annotation:javax.annotation-api'
|
||||||
@@ -227,12 +227,12 @@ dependencyManagement {
|
|||||||
|
|
||||||
dependency "org.apache.avro:avro:1.12.0"
|
dependency "org.apache.avro:avro:1.12.0"
|
||||||
|
|
||||||
dependency ('org.mariadb.jdbc:mariadb-java-client:3.5.0') {
|
dependency ('org.mariadb.jdbc:mariadb-java-client:3.5.2') {
|
||||||
exclude 'org.slf4j:jcl-over-slf4j'
|
exclude 'org.slf4j:jcl-over-slf4j'
|
||||||
exclude 'org.slf4j:slf4j-api'
|
exclude 'org.slf4j:slf4j-api'
|
||||||
}
|
}
|
||||||
|
|
||||||
dependency 'org.postgresql:postgresql:42.7.4'
|
dependency 'org.postgresql:postgresql:42.7.5'
|
||||||
|
|
||||||
dependency 'org.assertj:assertj-core:3.26.3'
|
dependency 'org.assertj:assertj-core:3.26.3'
|
||||||
|
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ dependencies {
|
|||||||
testImplementation 'io.cucumber:cucumber-junit:7.20.1'
|
testImplementation 'io.cucumber:cucumber-junit:7.20.1'
|
||||||
testImplementation 'io.cucumber:cucumber-spring:7.20.1'
|
testImplementation 'io.cucumber:cucumber-spring:7.20.1'
|
||||||
|
|
||||||
testImplementation 'io.qameta.allure:allure-cucumber7-jvm:2.29.0'
|
testImplementation 'io.qameta.allure:allure-cucumber7-jvm:2.29.1'
|
||||||
|
|
||||||
testImplementation 'org.assertj:assertj-core:3.26.3'
|
testImplementation 'org.assertj:assertj-core:3.26.3'
|
||||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.3'
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.3'
|
||||||
@@ -85,10 +85,10 @@ dependencies {
|
|||||||
testCompileOnly 'org.projectlombok:lombok:1.18.36'
|
testCompileOnly 'org.projectlombok:lombok:1.18.36'
|
||||||
testAnnotationProcessor 'org.projectlombok:lombok:1.18.36'
|
testAnnotationProcessor 'org.projectlombok:lombok:1.18.36'
|
||||||
|
|
||||||
testImplementation "ch.qos.logback:logback-core:1.5.12"
|
testImplementation "ch.qos.logback:logback-core:1.5.17"
|
||||||
testImplementation "ch.qos.logback:logback-classic:1.5.12"
|
testImplementation "ch.qos.logback:logback-classic:1.5.17"
|
||||||
|
|
||||||
testImplementation 'org.apache.activemq:activemq-client:6.1.4'
|
testImplementation 'org.apache.activemq:activemq-client:6.1.6'
|
||||||
testImplementation "org.apache.avro:avro:1.12.0"
|
testImplementation "org.apache.avro:avro:1.12.0"
|
||||||
testImplementation "org.awaitility:awaitility:4.2.2"
|
testImplementation "org.awaitility:awaitility:4.2.2"
|
||||||
testImplementation 'io.github.classgraph:classgraph:4.8.179'
|
testImplementation 'io.github.classgraph:classgraph:4.8.179'
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ dependencies {
|
|||||||
testImplementation 'io.cucumber:cucumber-junit:7.20.1'
|
testImplementation 'io.cucumber:cucumber-junit:7.20.1'
|
||||||
testImplementation 'io.cucumber:cucumber-spring:7.20.1'
|
testImplementation 'io.cucumber:cucumber-spring:7.20.1'
|
||||||
|
|
||||||
testImplementation 'io.qameta.allure:allure-cucumber7-jvm:2.29.0'
|
testImplementation 'io.qameta.allure:allure-cucumber7-jvm:2.29.1'
|
||||||
|
|
||||||
testImplementation 'org.assertj:assertj-core:3.26.3'
|
testImplementation 'org.assertj:assertj-core:3.26.3'
|
||||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.3'
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.3'
|
||||||
@@ -57,10 +57,10 @@ dependencies {
|
|||||||
testCompileOnly 'org.projectlombok:lombok:1.18.36'
|
testCompileOnly 'org.projectlombok:lombok:1.18.36'
|
||||||
testAnnotationProcessor 'org.projectlombok:lombok:1.18.36'
|
testAnnotationProcessor 'org.projectlombok:lombok:1.18.36'
|
||||||
|
|
||||||
testImplementation "ch.qos.logback:logback-core:1.5.12"
|
testImplementation "ch.qos.logback:logback-core:1.5.17"
|
||||||
testImplementation "ch.qos.logback:logback-classic:1.5.12"
|
testImplementation "ch.qos.logback:logback-classic:1.5.17"
|
||||||
|
|
||||||
testImplementation 'org.apache.activemq:activemq-client:6.1.4'
|
testImplementation 'org.apache.activemq:activemq-client:6.1.6'
|
||||||
testImplementation "org.apache.avro:avro:1.12.0"
|
testImplementation "org.apache.avro:avro:1.12.0"
|
||||||
testImplementation "org.awaitility:awaitility:4.2.2"
|
testImplementation "org.awaitility:awaitility:4.2.2"
|
||||||
testImplementation 'io.github.classgraph:classgraph:4.8.179'
|
testImplementation 'io.github.classgraph:classgraph:4.8.179'
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ dependencies {
|
|||||||
// testCompile dependencies are ONLY used in src/test, not src/main.
|
// testCompile dependencies are ONLY used in src/test, not src/main.
|
||||||
// Do NOT repeat dependencies which are ALREADY in implementation or runtimeOnly!
|
// Do NOT repeat dependencies which are ALREADY in implementation or runtimeOnly!
|
||||||
//
|
//
|
||||||
tomcat 'org.apache.tomcat:tomcat:10.1.33@zip'
|
tomcat 'org.apache.tomcat:tomcat:10.1.39@zip'
|
||||||
testImplementation( files("$rootDir/fineract-provider/build/classes/java/main/"),
|
testImplementation( files("$rootDir/fineract-provider/build/classes/java/main/"),
|
||||||
project(path: ':fineract-core', configuration: 'runtimeElements'),
|
project(path: ':fineract-core', configuration: 'runtimeElements'),
|
||||||
project(path: ':fineract-accounting', configuration: 'runtimeElements'),
|
project(path: ':fineract-accounting', configuration: 'runtimeElements'),
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ dependencies {
|
|||||||
// testCompile dependencies are ONLY used in src/test, not src/main.
|
// testCompile dependencies are ONLY used in src/test, not src/main.
|
||||||
// Do NOT repeat dependencies which are ALREADY in implementation or runtimeOnly!
|
// Do NOT repeat dependencies which are ALREADY in implementation or runtimeOnly!
|
||||||
//
|
//
|
||||||
tomcat 'org.apache.tomcat:tomcat:10.1.33@zip'
|
tomcat 'org.apache.tomcat:tomcat:10.1.39@zip'
|
||||||
testImplementation( files("$rootDir/fineract-provider/build/classes/java/main/"),
|
testImplementation( files("$rootDir/fineract-provider/build/classes/java/main/"),
|
||||||
project(path: ':fineract-provider', configuration: 'runtimeElements'),
|
project(path: ':fineract-provider', configuration: 'runtimeElements'),
|
||||||
'org.junit.jupiter:junit-jupiter-api',
|
'org.junit.jupiter:junit-jupiter-api',
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ dependencies {
|
|||||||
// testCompile dependencies are ONLY used in src/test, not src/main.
|
// testCompile dependencies are ONLY used in src/test, not src/main.
|
||||||
// Do NOT repeat dependencies which are ALREADY in implementation or runtimeOnly!
|
// Do NOT repeat dependencies which are ALREADY in implementation or runtimeOnly!
|
||||||
//
|
//
|
||||||
tomcat 'org.apache.tomcat:tomcat:10.1.33@zip'
|
tomcat 'org.apache.tomcat:tomcat:10.1.39@zip'
|
||||||
testImplementation( files("$rootDir/fineract-provider/build/classes/java/main/"),
|
testImplementation( files("$rootDir/fineract-provider/build/classes/java/main/"),
|
||||||
project(path: ':fineract-provider', configuration: 'runtimeElements'),
|
project(path: ':fineract-provider', configuration: 'runtimeElements'),
|
||||||
'org.junit.jupiter:junit-jupiter-api',
|
'org.junit.jupiter:junit-jupiter-api',
|
||||||
|
|||||||
Reference in New Issue
Block a user