Skip to content

Commit 07a9ee4

Browse files
committed
FINERACT-2516: Upgrade MariaDB support to version 12
1 parent c34665e commit 07a9ee4

9 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/build-mariadb.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
services:
1919
mariadb:
20-
image: mariadb:11.5.2
20+
image: mariadb:12.2
2121
ports:
2222
- 3306:3306
2323
env:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ In the moment you get started writing code, please consult our [CONTRIBUTING](CO
3030
REQUIREMENTS
3131
============
3232
* min. 16GB RAM and 8 core CPU
33-
* `MariaDB >= 11.5.2` or `PostgreSQL >= 18.0`
33+
* `MariaDB >= 12.2` or `PostgreSQL >= 18.0`
3434
* `Java >= 21` (Azul Zulu JVM is tested by our CI on GitHub Actions)
3535

3636
Tomcat (min. v10) is only required, if you wish to deploy the Fineract WAR to a separate external servlet container. You do not need to install Tomcat to run Fineract. We recommend the use of the self-contained JAR, which transparently embeds a servlet container using Spring Boot.
@@ -293,11 +293,11 @@ DATABASE AND TABLES
293293

294294
You can run the required version of the database server in a container, instead of having to install it, like this:
295295

296-
docker run --name mariadb-11.5 -p 3306:3306 -e MARIADB_ROOT_PASSWORD=mysql -d mariadb:11.5.2
296+
docker run --name mariadb-12.2 -p 3306:3306 -e MARIADB_ROOT_PASSWORD=mysql -d mariadb:12.2.2
297297

298298
and stop and destroy it like this:
299299

300-
docker rm -f mariadb-11.5
300+
docker rm -f mariadb-12.2
301301

302302
Beware that this 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) regarding how to make it persistent instead of ephemeral.
303303

buildSrc/src/main/groovy/org.apache.fineract.dependencies.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ dependencyManagement {
246246

247247
dependency "org.apache.avro:avro:1.12.0"
248248

249-
dependency ('org.mariadb.jdbc:mariadb-java-client:3.5.2') {
249+
dependency ('org.mariadb.jdbc:mariadb-java-client:3.5.7') {
250250
exclude 'org.slf4j:jcl-over-slf4j'
251251
exclude 'org.slf4j:slf4j-api'
252252
}

config/docker/compose/mariadb.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ version: "3.8"
1818
services:
1919
mariadb:
2020
container_name: mariadb
21-
image: mariadb:11.4
21+
image: mariadb:12.2
2222
volumes:
2323
- ${PWD}/config/docker/mysql/conf.d/server_collation.cnf:/etc/mysql/conf.d/server_collation.cnf:ro
2424
- ${PWD}/config/docker/mysql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d:Z,ro

docker-compose-mariadb.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
services:
2020
mariadb:
2121
container_name: mariadb
22-
image: mariadb:11.4
22+
image: mariadb:12.2
2323
volumes:
2424
- ./config/docker/mysql/conf.d/server_collation.cnf:/etc/mysql/conf.d/server_collation.cnf:ro
2525
- ./config/docker/mysql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d:Z,ro

fineract-command/src/test/java/org/apache/fineract/command/CommandBaseTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ abstract class CommandBaseTest {
4949
.withNetwork(network).withUsername("root").withPassword("mifos").withDatabaseName("fineract-test");
5050

5151
@Container
52-
private static final MariaDBContainer<?> MARIADB_CONTAINER = new MariaDBContainer<>(DockerImageName.parse("mariadb:11.4"))
52+
private static final MariaDBContainer<?> MARIADB_CONTAINER = new MariaDBContainer<>(DockerImageName.parse("mariadb:12.2"))
5353
.withNetwork(network).withUsername("root").withPassword("mifos").withDatabaseName("fineract-test");
5454

5555
@Container

fineract-doc/src/docs/en/chapters/testing/cucumber.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Apache Fineract's E2E test suite provides comprehensive coverage of business fun
2424
=== Required Software
2525

2626
* *Java 21*: Apache Fineract requires Java 21 (Azul Zulu JDK recommended)
27-
* *Database*: MariaDB 11.5.2, PostgreSQL 17.4, or MySQL 9.1
27+
* *Database*: MariaDB 12.2, PostgreSQL 17.4, or MySQL 9.1
2828
* *Git*: For source code management
2929
* *Gradle 8.14.3*: Included via wrapper
3030

fineract-doc/src/docs/en/chapters/testing/integration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Integration tests in Apache Fineract validate the complete API layer and busines
2626
=== Required Software
2727

2828
* *Java 21*: Apache Fineract requires Java 21 (Azul Zulu JDK recommended)
29-
* *Database*: MariaDB 11.5.2, PostgreSQL 17.4, or MySQL 9.1
29+
* *Database*: MariaDB 12.2, PostgreSQL 17.4, or MySQL 9.1
3030
* *Git*: For source code management
3131
* *Gradle 8.14.3*: Included via wrapper
3232
* *12GB RAM*: Recommended for test execution

kubernetes/fineractmysql-deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ spec:
8686
tier: fineractmysql
8787
spec:
8888
containers:
89-
- image: mariadb:11.4
89+
- image: mariadb:12.2
9090
name: mysql
9191
resources:
9292
requests:

0 commit comments

Comments
 (0)