Skip to content

ministryofjustice/laa-crime-application-tracking-service

Repository files navigation

laa-crime-application-tracking-service

This is a Java 21 based Spring Boot application hosted on MOJ Cloud Platform.

MIT license

Decrypting docker-compose.override.yml

The docker-compose.override.yml is encrypted using git-crypt.

To run the app locally you need to be able to decrypt this file.

You will first need to create a GPG key. See Create a GPG Key for details on how to do this with GPGTools (GUI) or gpg (command line). You can install either from a terminal or just download the UI version.

brew update
brew install gpg
brew install git-crypt

Once you have done this, a team member who already has access can add your key by running git-crypt add-gpg-user USER_ID* and creating a pull request to this repo.

Once this has been merged you can decrypt your local copy of the repository by running git-crypt unlock.

*USER_ID can be your key ID, a full fingerprint, an email address, or anything else that uniquely identifies a public key to GPG (see "HOW TO SPECIFY A USER ID" in the gpg man page). The apps should then startup cleanly if you run

Application Set up

Clone Repository

git clone git@github.com:ministryofjustice/laa-crime-application-tracking-service.git

cd crime-application-tracking

Make sure all tests are passed by running following ‘gradle’ Command

./gradlew clean test

You will need to build the artifacts for the source code, using gradle.

./gradlew clean build
docker-compose build
docker-compose up

laa-crime-application-tracking-service application will be running on http://localhost:8490

Metrics and Health Check endpoints

There are a number of out of the box endpoints provided by Spring Boot for verifying application health and various metrics, some of which are enabled and accessible.

These endpoints include:

For a complete list of all out of the box actuator endpoints see Spring Boot 3.2.3 - Actuator.

Swagger and API Docs

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages