How to set-up BFSI Connector/Data Manager microservice on any server?

How to set-up BFSI Connector/Data Manager microservice on any server?

Bfsi-Connector can be deployed on the server and we can use it as a Microservice which exposes many Apis that can be used to save , fetch , update and delete the records.

We can integrate the BFSI Connector in three different ways in any project :

1. Deploying the BFSI Connector Jar on server :

  • Building and deploying the jar of BFSI Connector project on the server and accessing its endpoints via vConnect (or can do directly).

2. Integrating into project by importing as dependency :

  • Bfsi-Connector can be integrated with custom microservices. We need to add it as a dependency in our project and can use the predefined tables and methods of Bfsi-Connector.

    System Integration :

    • Add jar file of BFSI Connector into the .m2 folder
    • Add the dependency of BFSI Connector into the pom.xml file

    Server Integration :

    • Deploy the BFSI Connector .jar and .pom file into the Archiva Server (Needs to be done by BFSI Connector Team)
    • Add the dependency of BFSI Connector into the pom.xml file

3. By Using Jenkins :

  • Build and deploy the repository on the server with Jenkins using a respected pipeline.

What are demo steps for integration?

Steps for Integration :

  1. Download the Bfsi Connector Jar for the link below Link and place the folder in the .m2 of your system inside the decimal folder.

    Link - https://drive.google.com/drive/folders/18-AGw0xql9MzPD163hgopNa99dEW2YND?usp=share_link

  2. Add the below dependency in your project pom.xml file.

       <dependency>
       
       <groupId>decimal</groupId>
       
       <artifactId>bfsi-common-backend</artifactId>
       
       <version>2.6</version>
       
       </dependency>
    
  3. In your main Class add below 2 annotations.

       @ComponentScan(basePackages = {"your custom package", "decimal.bfsicommonbackend"})
       
       @EntityScan(basePackages = {"decimal.bfsicommonbackend",”your custom package”})
    
  4. In your application properties file add the following in addition to database properties.

       spring.jpa.properties.hibernate.dialect=decimal.bfsicommonbackend.repository.MidPointPostgreSQLDialect
       
       default.page.number=1
       
       default.page.size=10
    

When we run our application then the tables will be automatically created and we will get all the methods exposed as that of APIs with the same request.

Note : Update the DB details in the property file according to the respected database you need to connect.

Where is repository URL and Property file of BFSI Connector located?

Below Git Url can be used to get the code and deploy the service on the required server.

Project URL -

Sign in · GitLab

Application Properties File -

Sign in · GitLab