Open Bank API client implemented with Spring Boot
This is an OBP Client API using Spring Boot 1.4.x.
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
The code is organized between main and test directories. The tests are covering the following functionality:
- Get account details
- Get transactions for an account
- Tag transactions
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.
Run all tests with:
./gradlew clean build
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.