Skip to content

openMF/savings-plugin

Repository files navigation

Mifos® Savings Plugin for Apache Fineract®

For Users

  1. Download link for Mifos® Savings Plugin and extract the files (java jar files are on it)

2a. Execute only for Docker® - Create a directory, copy the Mifos® Savings Plugin and the Pentaho® libraries in it

    mkdir fineract-pentaho  && cd fineract-pentaho

2b. Execute only for Apache Tomcat® - Copy the Mifos® Savings Plugin and Pentaho® libraries in $TOMCAT_HOME/webapps/fineract-provider/WEB-INF/lib/

  1. Restart Docker® or Apache Tomcat®

  2. Test the Mifos® reports.

For Developers

This project is currently only tested against the very latest and greatest bleeding edge Apache Fineract® develop branch on Linux Ubuntu® 24.04LTS. Building and using it against other Apache Fineract® versions may be possible, but is not tested or documented here.

  1. Download and compile
    git clone https://github.com/openMF/savings-plugin.git
    cd savings-plugin && ./mvnw -Dmaven.test.skip=true clean package && cd ..
  1. Execute Apache Fineract® with the location of the Mifos® Savings Plugin library
java -Dloader.path=$MIFOS_PENTAHO_PLUGIN_HOME/libs/ -jar $APACHE_FINERACT_HOME/fineract-provider.jar
  1. Test the Mifos® reports execution using the following curl example or through the Mifos Web App in the Reports Menu
    curl --location --request GET 'https://localhost:8443/fineract-provider/api/v1/runreports/Expected%20Payments%20By%20Date%20-%20Formatted?tenantIdentifier=default&locale=en&dateFormat=dd%20MMMM%20yyyy&R_startDate=01%20January%202022&R_endDate=02%20January%202023&R_officeId=1&output-type=PDF&R_loanOfficerId=-1' \
--header 'Fineract-Platform-TenantId: default' \
--header 'Authorization: Basic bWlmb3M6cGFzc3dvcmQ='

The API call (above) should not fail if you follow the steps as shown, and all conditions met for the version of Apache Fineract®

Please note that the library will work using the latest Apache Fineract® development branch (30th December 2024), also make sure you got installed the type fonts required by the reports. This Mifos® Savings Plugin will work only on Apache Tomcat® version 10+.

License

This code used to be part of the Mifos® codebase before it became Apache Fineract®.

The correct technical solution to resolve such conundrums is to use a plugin architecture - which is what this is.

Note that the code and report templates in this git repo itself are licensed to you under the Mozilla® Public License 2.0 (MPL).

Important

  • Mifos® and Mifos® Savings Plugin are not affiliated with, endorsed by, or otherwise associated with the Apache Software Foundation® (ASF) or any of its projects.
  • Apache Software Foundation® is a vendor-neutral organization and it is an important part of the brand is that Apache Software Foundation® (ASF) projects are governed independently.
  • Apache Fineract®, Fineract, Apache, the Apache® feather, and the Apache Fineract® project logo are either registered trademarks or trademarks of the Apache Software Foundation®.
  • Mifos® and Mifos® Savings Plugin are not affiliated with, endorsed by, or otherwise associated with Hitachi Vantara LLC or any of its projects.

Contribute

If this Mifos® Savings Plugin project is useful to you, please contribute back to it (and to Apache Fineract®) by raising Pull Requests yourself with any enhancements you make, and by helping to maintain this project by helping other users on Issues and reviewing PR from others (you will be promoted to committer on this project when you contribute).
We recommend that you Watch and Star this project on GitHub® to make it easy to get notified.

History

This is a Mifos® Savings Plugin for Apache Fineract®. The original work is this one https://github.com/vorburger/fineract-pentaho.

See TODO for possible future follow-up enhancement work.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages