Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ReadMe.md

BANK TRANSACTION REPORTS

  • TransactionReports is a microservice that exposes rest endpoints to generate a transaction report based file input provided.
  • The transaction report generated has the list of valid and Invalid Transactions.
  • Transaction are valid only if : The transaction reference number is unique and endBalance = startBalance + Mutation.
  • The API accepts XML/CSV file as an input.

Tech Stack

  • Java Version 1.8
  • Spring 5.x
  • SpringBoot 2.x
  • Maven 3.x
  • Apache Commons 1.5
  • Junit 5
  • Tomcat 8(In Built)

IDE Used

  • Spring Tool Suite

How to Build

  • Build Tool Used : maven
  • Build Command : clean install (from STS)/ mvn clean install (from cmd Prompt)

How to Launch

  • Right click the project->Run/Debug as SpringBootApp
  • Check logs/console to confirm the app has started

How to Test

    Steps :
  • Create a post request with the following details:
    • In body section, select "form-data" radio button and Pass the following details
      • key : file
      • value : file to be uploaded

Logs:

  • Logback.xml has been configured and the log files will be generated in your localMachine.
  • Look for the application.properties file to know the log files path.

JUnit:

  • Test cases have been completed with 100% code coverage
  • ECL Emma plugin can be used for STS

Author :