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

Obtaining environment variables for running locally

To run the app locally, you will need to download the appropriate environment variables from the team vault in 1Password. These environment variables are stored as a .env file, which docker-compose uses when starting up the service. If you don't see the team vault, speak to your tech lead to get access.

To begin with, make sure that you have the 1Password CLI installed:

op --version

If the command is not found, follow the steps on the 1Password developer docs to get the CLI set-up.

Once you're ready to run the application:

./start-local.sh

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
./start-local.sh

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

Liquibase documentation

About

No description or website provided.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published