Skip to content

ankitachy/Transaction_Repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PROBLEM STATEMENT

Implement a Spring Boot application that involves transferring money between two bank accounts, ensuring that the transaction is atomic and consistent. Also allow the user to specify the transaction isolation level for the transfer operation. The available isolation levels are:

  • DEFAULT
  • READ_UNCOMMITTED
  • READ_COMMITTED
  • REPEATABLE_READ
  • SERIALIZABLE

Steps:

  1. Create a new Spring Boot project using Spring Initializr.
  2. Define BankAccountEntity.
  3. Implement the service class with transaction management.
  4. Set up the controller to handle the transfer request.

INSTRUCTIONS

Seed code - Boilerplate

Instructions

Refer the problem.md file for problem description.

To use this as a boilerplate for your assignment, please follow these steps

  1. FORK this repository in your Gitlab account

  2. CLONE the forked repository, containing the boilerplate in your local machine

  3. Complete the solution as per the instructions given in problem.md and the boilerplate code

  4. Use the following command to update the index using the current content found in the working tree, to prepare the content staged for the next commit.

    git add .

  5. Commit and Push the project to git

    git commit -a -m "Initial commit | or place your comments according to your need"

    git push -u origin master

  6. Check on the git repo online, if the files have been pushed

  7. Submit your solution on Hobbes

Further Instructions on Release

  • Right click on the Assignment, select Run As -> JUnit Test to run the TestCases.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages