Skip to content

tawoe/Hello-OBP-SpringBoot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Bank API client implemented with Spring Boot

This is an OBP Client API using Spring Boot 1.4.x.

Prerequisites

You need to obtain an API key, username and password for the OpenBank sandbox you're planning on using. With these at hand, update application.properties with the values

Code

The code is organized between main and test directories. The tests are covering the following functionality:

  • Authentication
  • Get account details
  • Get transactions for an account
  • Tag transactions

Dependencies

The single dependency is on a live OBP sandbox that needs to run in order for the tested functionality to be successful. This sample project is using the version 2.2.0 of the OBP API. It shouldn't be difficult to use a different API version with the caveat that some of the entities must be adapted to match the data in the target API version. Internally, the project is using Lombok to simplify the code and the Joda Money API for representing monetary values.

Test

Run all tests with: ./gradlew clean build

Run

The standard command ./gradlew bootRun will start a Tomcat container running on port 8080. No end-points are configured at the moment, please rely on tests to check functionality.

About

OPB API client using Spring Boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%