Skip to content

GAZ-319: Add PostgreSQL support (default) while keeping MySQL configurable - #85

Merged
tdaly61 merged 2 commits into
openMF:devfrom
kanishksingh23:postgres-support
Aug 9, 2026
Merged

GAZ-319: Add PostgreSQL support (default) while keeping MySQL configurable#85
tdaly61 merged 2 commits into
openMF:devfrom
kanishksingh23:postgres-support

Conversation

@kanishksingh23

Copy link
Copy Markdown
Contributor

Summary

Adds PostgreSQL support to message-gateway on the new JDK 21 base, with PostgreSQL as the default and MySQL retained as a configurable option (the existing MySQL customer is unaffected, master untouched, and the MySQL migrations/checksums are unchanged).

Validated

Builds on JDK 21; boots against Postgres 16 with Flyway applying all 8 postgresql/ migrations and /actuator/health UP; MySQL path unchanged.

@kanishksingh23

Copy link
Copy Markdown
Contributor Author

Hey @tdaly-mifos, please take a look at this PR.
Thank you.

@tdaly-mifos
tdaly-mifos requested a review from a team August 9, 2026 02:33
@tdaly61
tdaly61 merged commit 931a80a into openMF:dev Aug 9, 2026
3 checks passed
tdaly61 added a commit to openMF/mifos-gazelle that referenced this pull request Aug 9, 2026
**Summary**

Adds the openMF message-gateway (SMS & messaging) component to the
MifosX deployment:
- `message-gateway-deployment.yaml`: Deployment with an initContainer
that creates the `messagegateway` DB on the shared Postgres; container
on ports 9191 (REST/actuator) + 5009 (Camel callback); actuator health
probes.
- `message-gateway-service.yaml`: ClusterIP Service (9191 + 5009).
- `infra/values.yaml`: `CREATE DATABASE messagegateway` in the Postgres
init.

Verified via `./run.sh -m deploy -a mifosx`: pod healthy on the shared
Postgres, Flyway applies the Postgres migrations, and a Dummy-provider
send returns DELIVERED.

**Note**

Image is openmf/message-gateway:`dev-51abedb`, the official CI build
from dev after both message-gateway PRs merged ([#85
Postgres](openMF/message-gateway#85) +[ #86 type
fix)](openMF/message-gateway#86). Verified on
the cluster: Fineract SMS campaign → gateway → DELIVERED end-to-end.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants