Giter VIP home page Giter VIP logo

app's Introduction

###Customer Accounts Aggregation Application

#####SpringBoot application which has the scope to expose data received from another provider.

Application has 2 main functionalities:

#####Retrieve data:

  • On application start-up an update is being performed, "executeInitialUpdate()" method is being executed, as some data is required in order to test the application.
  • Daily data update is being performed at 01:00 AM, every day, (configurable based on a cron expression specified in application.properties)
  • Daily data update is being performed for specific user (configurable based on update.on.behalf.of.user property in application.properties)
  • wiremock url is configurable from application.properties (default to http://localhost:8080)
  • Due to the requirement(the faster, the better), retrieved data is being saved in a HashMap (key - username) and not in a DB (also because the amount of data is not that large)
  • Basic exception handling implemented
  • Data retrieval required a running wiremock instance.

#####Expose data:

  • default port 8088 (configurable in application.properties)
  • GET /data/account/{username}
  • GET /data/transactions/{username}

####Build & run run mvn spring-boot:run command in the root directory of the project

Build standalone jar application: run mvn clean install in the root directory of the project. Generated Jar will be available in target folder inside the project.

app's People

Contributors

vioo66 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.