This application is used for managing the fees for the Divorce application.
Prerequisites
Building
The project uses Gradle as a build tool but you don't have to install it locally since there is a
./gradlew
wrapper script.
To build project please execute the following command:
./gradlew build
Running
First you need to create distribution by executing following command:
./gradlew installDist
./gradlew bootRun
Now the API application will be exposing port 4009
Unit tests
To run all unit tests please execute following command:
./gradlew test
Coding style tests
To run all checks (including unit tests) please execute following command:
./gradlew check
Mutation tests
To run all mutation tests execute the following command:
./gradlew pitest
- Add one or more appropriate labels to your PR in GitHub. Valid labels are:
enable_fortify_scan
enable_security_scan
enable_full_functional_tests
- Trigger a build of your PR in Jenkins. Fortify scans will take place asynchronously as part of the Static Checks/Container Build step.
- Check the Blue Ocean view for live monitoring, and review the logs once complete for any issues.
- As Fortify scans execute during the Static Checks/Container Build step, you will need to ensure this is triggered by making a minor change to the PR, such as bumping the chart version.
API documentation
API documentation is provided with Swagger:
http://localhost:4009/swagger-ui.html
- UI to interact with the API resources
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Standard API
We follow RESTful API standards.
This project is licensed under the MIT License - see the LICENSE.md file for details.