Skip to content

ministryofjustice/hmpps-staff-lookup-service

Repository files navigation

hmpps-staff-lookup-service

repo standards badge CircleCI Docker Repository on Quay API docs Confluence runbook

This is the HMPPS Staff lookup service.

What it does

This API has been created to allow consumers to search for information relating to HMPPS staff.

Currently there is only one endpoint, which searches for users with e-mails that begin with the given characters.

Testing

This allows you to test that the scripts work locally against postgresql in docker

docker compose up -d
./gradlew clean check

Code style & formatting

./gradlew ktlintApplyToIdea addKtlintFormatGitPreCommitHook

will apply ktlint styles to intellij and also add a pre-commit hook to format all changed kotlin files.