1 Added the repository to the initial-setup and pull-all scripts

2 Added notification service dependency to the gradle file
3 Created an instance of the notificationManager
4 Wrote the start and tear down methods
5 Created a listener class for the notificaiton service
6 Added a notification role and gave it customer read permission
7 Created a notification admin user for notification operations

 File changes to be committed:
        modified:   build.gradle
        modified:   scripts/Unix/initial-setup.sh
        modified:   scripts/Unix/pull-all.sh
        modified:   scripts/windows/initial-setup.bat
        modified:   scripts/windows/pull-all.bat
        modified:   src/main/java/org/apache/fineract/cn/dev/ServiceRunner.java
        new file:   src/main/java/org/apache/fineract/cn/dev/listener/NotificationListener.java

7 files changed
tree: d96ef713c9a9ae2e2c2cf1f00def40e378bf58d2
  1. .gitignore
  2. HEADER
  3. LICENSE
  4. NOTICE.txt
  5. README.md
  6. build.gradle
  7. gradle/
  8. gradlew
  9. gradlew.bat
  10. scripts/
  11. settings.gradle
  12. src/
README.md

Apache Fineract CN Demo Server

Simple environment used for demo purposes

Preconditions

All Apache Fineract CN projects must be published to your local Maven repository

Run

IDE

Just start the class DemoServer

Executable JAR file

  1. Open a terminal window
  2. Change directory to your project location
  3. Run gradlew publishToMavenLocal
  4. Change directory to build/libs
  5. Run java -jar demo-server-0.1.0-BUILD-SNAPSHOT.jar

Supported Environment Variables

Sample usage: java -jar -Ddemoserver.persistent=true demo-server-0.1.0-BUILD-SNAPSHOT.jar

demoserver.persistent (true/false)

Run in persistent mode and to NOT use embedded datastores

demoserver.provision (true/false)

Run the provision steps against the services to bootstrap tenants

custom.cassandra.contactPoints

Custom cassandra contact points (multiple values allowed separated by comma e.g. 127.0.0.1:9042,127.0.0.2:9042)

cassandra.cluster.user

cassandra user to use

cassandra.cluster.pwd

cassandra password to use

custom.mariadb.host

mariadb host to use

custom.mariadb.user

mariadb user to use

custom.mariadb.password

mariadb password to use