rlucic / bnk-txns

shows transactions between accounts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bnk-txns

shows transactions between accounts

Endpoints

JSON structure for a transaction:

{

"id": 1,

"value": 100.5,

"currency": "CAD",

"from_acct": "acct-01-2523",

"to_acct": "acct-01-2141",

"from_cust_id": "cust-id-01",

"to_cust_id": "cust-id-02"

}

Using SonarQube

Usually SonarQube runs on port 9000. The usual user/password: admin/admin

1) Running the commands from the command line

First add the two dependencies in the pom.xml (sonar scanner , Java Code Coverage - JaCoCo)

In order to get into the SonarQube DB (and visible in the UI) the code coverage the following need to be run from the command line:

** mvn org.jacoco:jacoco-maven-plugin:prepare-agent package **

this will generate a jacoco.exec file in the /target directory

In order to load the SonarQube, run the: ** mvn sonar:sonar **

2) Running the commands by executing tasks attached to the Maven test lifecycle

About

shows transactions between accounts


Languages

Language:Java 100.0%