Giter Club home page Giter Club logo

digitalbank-gen-one's Introduction

Digital Bank (Generation One)

Digital Bank is a sample application that was developed for exploratory purposes to examine development frameworks and techniques. The application is an example online digital banking application with integrations into other services.

Getting Started

  • Using either an Eclipse IDE or IntelliJ, import the source code as an Existing Maven Project.

Prerequisites

Executing Tests

  • JUnit Tests - Execute "mvn clean test"
  • Serenity BDD Acceptance Tests - Execute "mvn clean verify"
    • Serenity BDD tests use Cucumber Feature file definitions.
      • UI Tests are executed using the Selenium Java framework.
      • API Test are executed using the Rest Assured Java framework.
    • Use '-Dcucumber.options="--tags {tag}"' maven command line option to filter test execution based on Feature or Scenario tags defined within the feature files.

Packaging

  • To create a deployment package, execute "mvn clean package -DbuildNumber={###}"
  • To create a new Docker image, update the Dockerfile with the latest build number and then execute "docker build -t {imageName}:{imageTag} ."

Deployment

Digital Bank can be deployed as a single standalone application service or be deployed and configured to integrate with Digital Credit.

  • WAR Package Deployment
    • Apache Tomcat version 8.5 or higher
      • Deployment does not work with Apache Tomcat 7.x
    • Copy the WAR file into an existing Tomcat instance under ${catalina.base}/webapps folder.
    • (Optional) Copy the digitalbank.properites file into the ${catalina.base}/conf folder.
      • Use to customize the configuration of the application.
      • The digitalbank.properties file is configured to be a "watched resource" in the deployment context. Any updates to the digitalbank.properties file will automatically trigger Tomcat to recycle the application to pick up the new changes.
    • Start the Tomcat service.
    • A digitalbank.log file will be created within ${catalina.base}/logs.
  • Docker Deployment
    • Deploy Digital Bank as a standalone service.
  • Docker Compose Deployment

Interfaces

  • Web Interface @ https://{hostname}:{port}/bank
  • Swagger UI @ https://{hostname}:{port}/bank/swagger-ui.html

Built With

Authors

Mark Asbury

See the additional list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

digitalbank-gen-one's People

Contributors

asburymr avatar lax1089 avatar lof000 avatar mark-asbury avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

digitalbank-gen-one's Issues

Unrecognized field "bank_routings"

Getting error on UI when user travels to Home --> External --> Link External Accounts as "Error There are no banking providers available."

Log Trace shows below error -
io.digisic.bank.service.ObpService : Unrecognized field "bank_routings" (class io.digisic.bank.model.obp.Bank), not marked as ignorable (6 known properties: "bank_routing", "id", "short_name", "full_name", "logo", "website"])

at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: java.util.ArrayList[0]->io.digisic.bank.model.obp.Bank["bank_routings"])

Docker Compose: digitalbank and digitalcredit are mapped to the same host port

In the docker compose files for Digital-Bank the "credit:" and "bank:" service both map to the same host port:
credit: . . . ports: - "3500:8080" bank: . . . ports: - "8080:8080"
Since the 'bank' service is last it gets all the traffic. Bank and Credit will still work fine together since they use Queues, but any external attempt to interact or test the credit service directly will fail with a 404 error.

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.