Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.74 KB

README.md

File metadata and controls

30 lines (18 loc) · 1.74 KB

hmpps-person-record

repo standards badge CircleCI Docker Repository on Quay API docs

A service for managing identity data about the people we look after in HMPPS

Running Service Locally

Ensure all docker containers are up and running:

$ docker compose up -d

Which should start the following containers: (verify with $ docker ps if necessary)

  • postgres

Start the service ensuring the local spring boot profile is set:

$ ./gradlew bootRun --args='--spring.profiles.active=local'

NB. All REST endpoints are secured with the role ROLE_VIEW_PRISONER_DATA which will need to be passed to the endpoint as an OAuth token.

Deployment

Builds and deployments are setup in Circle CI and configured in the config file.
Helm is used to deploy the service to a Kubernetes Cluster using templates in the helm_deploy folder.