Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

This document describes all the steps to be followed to set up a new instance of Finance. When a new State state or city is to be set up, there are some activities to be executed in a defined order. Setting up an instance of an application server and configuration changes etc are a few of the key activities.

  • Centralised Server hosting all the ULBs within a state

  • All ULBs access the software over API calls.

  • Uniform code base supporting all the ULBs for the state. City-specific changes are maintained using client-specific implementation repositories.

  • A separate schema for each ULB in the database.

Technical Prerequisites

  • Prior Knowledge of Java/J2EE.

  • Prior Knowledge of Spring and Hibernate

  • Prior knowledge of Maven

  • Prior knowledge of Git.

...

Hardware/Software Prerequisites

  • Maven v3.2.x

  • PostgreSQL v9.6

  • JBoss Wildfly v11.x

  • Git 2.8.3

  • JDK 8 update 112 or higher

  • Create subdomains under the main domain for each of the cities that are to be set up

  • Create a schema per city in the database

Configurations and Setup

The Co-existence repository is the base repository for the finance product and the client-specific data needs to be defined in the Client implementation repository

How to set up a client implementation repository

  1. Branch out Fork and create a client implementation repository from Client implementation repository to keep client-specific data and configurations.

  2. Any configurations and data specific to the client should be added in the client repository.

Application Configuration

...

Set up a schema-based multi-tenant database

Finance co-existence service uses schema-based multi tenancy i.e . multi-tenancy with a single multi-tenant database, this means there will be one schema present for a city. The following are the configuration changes to setup schema based multi tenant set up this kind of database.

The configurations to be done either in the /egov-egi/src/main/resources/config/application-config.properties or in the ${HOME_DIR}/wildfly-11.0.0.Final/modules/system/layers/base/org/egov/settings/main/config/egov-erp-override.properties

...