GAZ-319: Add PostgreSQL support (default) while keeping MySQL configurable - #85
Merged
Merged
Conversation
Contributor
Author
|
Hey @tdaly-mifos, please take a look at this PR. |
tdaly61
approved these changes
Aug 8, 2026
tdaly61
approved these changes
Aug 8, 2026
tdaly61
approved these changes
Aug 9, 2026
tdaly61
approved these changes
Aug 9, 2026
tdaly61
approved these changes
Aug 9, 2026
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.