Skip to content

Stub output of the OASys journey to trigger flow through ARNS Handover Service into ARNS apps

License

Notifications You must be signed in to change notification settings

ministryofjustice/hmpps-assess-risks-and-needs-oastub-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hmpps-assess-risks-and-needs-oastub-ui

repo standards badge

HMPPS Assess Risks and Needs (ARNS) OAStub is a small UI webservice that provides staff within the ARNS space to simulate the outcome of an OASys journey and begin the flow through the HMPPS ARNS Handover Service into one of the ARNS space applications (HMPPS Sentence Plan, HMPPS Strength Based Needs Assessment etc.)

Instructions

Running the app

The easiest way to run the app is to use docker compose to create the service and all dependencies.

make up

The app is available on http://localhost:7072

Dependencies

The app requires:

  • hmpps-auth - for authentication
  • redis - session store and token caching

Running the app for development

make dev-up

Run linter

make lint

Run tests

make test

Running integration tests

Start the app with make up or make dev-up.

Start either SAN or SP so that OAStub has something to redirect to.

Then run the integration tests:

make e2e

About

Stub output of the OASys journey to trigger flow through ARNS Handover Service into ARNS apps

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages