0% found this document useful (0 votes)
129 views7 pages

Moneytor Installation and Deployment Guide

The document provides instructions for installing and deploying the Moneytor application. It describes: 1. The overall architecture of Moneytor including its front-end UI, back-end services, and databases. 2. Instructions for installing and configuring dependencies like Redis, then deploying individual services and applications including the Cosmos Control service, front-office UI, front-office services, Aptent services, back-office UI, and back-office service. 3. Additional details on installing Java applications as Windows services using NSSM.

Uploaded by

Bunmi Oye
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
129 views7 pages

Moneytor Installation and Deployment Guide

The document provides instructions for installing and deploying the Moneytor application. It describes: 1. The overall architecture of Moneytor including its front-end UI, back-end services, and databases. 2. Instructions for installing and configuring dependencies like Redis, then deploying individual services and applications including the Cosmos Control service, front-office UI, front-office services, Aptent services, back-office UI, and back-office service. 3. Additional details on installing Java applications as Windows services using NSSM.

Uploaded by

Bunmi Oye
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

MONEYTOR (NIB)

Installation and Deployment


Guide
Architecture Summary

User Facing Application

Handles user authentication,


authorization, audit logs Moneytor Front-Office
UI

Bank API Services

Moneytor Front- Aptent Services


Cosmos Control Service
Office Services

Cosmos Control Database Moneytor Database Aptent Database

Services
 Cosmos Control Service: For user management and authentication
 Moneytor Front-Office UI: Moneytor application front end for Merchant
Users
 Moneytor Front-Office Services: Moneytor API services that handles
request from the front-office ui application.
 Aptent Services: Services that interface with the bank API services.
 Moneytor Back-Office UI: User Interface (Front-End) Application for
BackOffice Users (Bank Users).
 Moneytor Back-Office Services: Moneytor API service that handles request
from the back-office ui application.

SERVER SETUP
REDIS
Redis is an open source in–memory database used as a database, cache and
message broker. Redis is used by Moneytor applications for storing authentication
tokens, and other volatile values for fast retrieval.
To install redis:
- Download executable for windows at
https://github.com/downloads/rgl/redis/redis-2.4.6-setup-64-bit.exe
- Run the executable and configure the port as deemed fit.
Read more about redis here: https://redis.io

NSSM (Non Sucking Service Manager)


Nssm is a service helper for managing windows services. Nssm monitors a running
service and restarts it if it dies

COSMOS CONTROL
 Create database ‘cosmos_control’
 Create folder: cosmos-control-service
 Copy cosmos-control-service-1.2-SNAPSHOT.jar to folder
 Copy application.properties to created folder
 Configure relevant values in the application.properties file.
 Copy file startup.bat to created folder.
 Install cosmos-control-service as a windows service using nssm.
 TEST: Visit localhost:8085 to ensure application is up.

FRONTOFFICE UI
 Create folder (if not existing): moneytor-frontoffice
 In the folder created above (1), create folder: moneytor-frontoffice-ui
 Copy moneytor-ui-1.0-SNAPSHOT.jar to folder
 Copy application.properties to created folder
 Configure relevant values in the application.properties file.
 Copy file startup.bat to created folder.
 Install moneytor-frontoffice-ui as a windows service using nssm.
 Start windows service created.
 Launch browser and visit localhost:{{port-specified-in-props-file}}.
 TEST: Moneytor application should be displayed on the browser if service is
up.

MONEYTOR SERVICES
 Create database ‘moneytor’
 Create Folder (if not existing): moneytor-frontoffice
 In moneytor-frontoffice folder, create folders: moneytor-root-service,
moneytor-vas-service, moneytor-operations-service, moneytor-gamification-
service, moneytor-transfer-service.
 Copy jars of the front-office services to their respective folders.
 Copy resource folders to their respective deployment folders.
 Copy the respective application.properties files of each services to their
folders.
 Configure relevant values for each of the application.properties file.
 Install the frontoffice-services as a windows service using nssm.
o moneytor-root-service

o moneytor-operaions-service

o moneytor-vas-service

o moneytor-transfer-service

o moneytor-gamification-service

 Start windows services created.


 Launch browser and visit localhost:{{port-specified-in-prop-file}}.
 TEST: A response having ‘full authentication is required’, indicates service is
up
APTENT SERVICES
 Create database ‘aptent
 Create Folder (if not existing): aptent
 In aptent folder, create folders: account-service, account-statement-service,
bank-management-service, ui-service, card-service, notification-service,
ticketing-service, tracing-service, transaction-manager, transfer-service,
transfer-jobs-service, vas-service.
 Copy jars of the aptent services to their respective folders.
 Copy resource folders to their respective deployment folders.
 Copy the respective application.properties files of each services to their
folders.
 Configure relevant values for each of the application.properties file.
 Install the aptent-services as a windows service using nssm.
o aptent-account-service

o aptent-account-statement-service

o aptent-bank-management-service

o aptent-ui-service

o aptent-card-service

o aptent-notification-service

o aptent-ticketing-service

o aptent-tracing-service

o aptent-transaction-manager

o aptent-transfer-service

o aptent-transfer-jobs-service

o aptent-vas-service

 Start windows services created.


 Launch browser and visit localhost:{{port-specified-in-prop-file}}.

MONEYTOR BACK-OFFICE UI
 Create Folder (if not existing): moneytor-backoffice
 In the folder created above, create folder: moneytor-backoffice-ui
 Copy moneytor-backoffice-ui-1.0-SNAPSHOT.jar to folder
 Copy application.properties to created folder
 Configure relevant values in the application.properties file.
 Copy file startup.bat to created folder.
 Install moneytor-backoffice-ui as a windows service using nssm.
 Start windows service created.
 Launch browser and visit localhost:{{port-specified-in-props-file}}.
 TEST: Moneytor application should be displayed on the browser if service is
up.

MONEYTOR BACK-OFFICE SERVICE


 Create database (if not existing): ‘moneytor’
 Create Folder (if not existing): moneytor-backoffice
 Copy moneytor-backoffice service to the folder
 Copy application.properties to created folder
 Configure relevant values in the application.properties file.
 Copy file startup.bat to created folder.
 Install moneytor-backoffice service as a windows service using nssm.
 Start window services created.
 Launch browser and visit localhost:{{port-specified-in-prop-file}}.
 TEST: A response having ‘full authentication is required’, indicates service is
up

APPENDIX

How to install a java application(jar) file as a windows service using NSSM.


- Create a file named startup.bat in the folder containing the jar file you wish to
install as a windows service
- Write the following in the created file java –jar {{name-of-jar-file.jar}}
- Open cmd as administrator
- Navigate to nssm win32/win64 folder.
- Run nssm install.
- A window is opened, set the path input as the startup.bat file created in the
first step
- Supply the service name as desired.
- Follow the prompt to complete the steps.
- Refresh windows service to ensure your service has been created.

You might also like