Skip to content

Digital service for allocating, managing and handing over POM cases. API repository. (bootstrapped 2025-02-20)

License

Notifications You must be signed in to change notification settings

ministryofjustice/hmpps-manage-pom-cases-api

Repository files navigation

hmpps-manage-pom-cases-api

repo standards badge Docker Repository on ghcr API docs

New MPC written in Kotlin. Digital service for allocating, managing and handing over POM cases. API repository.

Running the application locally

The application comes with a dev spring profile that includes default settings for running locally. This is not necessary when deploying to kubernetes as these values are included in the helm configuration templates - e.g. values-dev.yaml.

There is also a docker-compose.yml that can be used to run a local instance of the application in docker and also an instance of HMPPS Auth (required if your service calls out to other services using a token).

docker compose pull && docker compose up

will build the application and run it and HMPPS Auth within a local docker instance.

Running the application in IntelliJ

docker compose pull && docker compose up --scale hmpps-manage-pom-cases-api=0

will just start a docker instance of HMPPS Auth. The application should then be started with a dev active profile in Intellij.

Checking changes before pushing

./gradlew check

Linting the code

./gradlew ktlintCheck
./gradlew ktlintFormat

About

Digital service for allocating, managing and handing over POM cases. API repository. (bootstrapped 2025-02-20)

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages