This service handles the risking element of an agent registration made through agent-registration-frontend.
| Task | Supported Methods | Description |
|---|---|---|
/agent-registration-risking/submit-for-risking |
POST | Submit a completed applicaton for risking. More... |
/agent-registration-risking/application/:applicationReference |
GET | Get the application for the given reference. More... |
/agent-registration-risking/individual/:personReference |
GET | Get the individual for the given reference. More... |
/agent-registration-risking/application-status/:applicationReference |
GET | Get the application risking status for the given reference. More... |
To start the service, use the following commands:
sbt runTestOnly- this enables extra test endpointssbt runto launch the service normally.
Ensure that all dependent applications, including MongoDB and other microservices, are also running. See https://github.com/hmrc/agent-registration-frontend for that.
When importing a project into IntelliJ IDEA, it is recommended to configure your setup as follows to optimize the development process:
-
SBT Shell Integration: Utilize the sbt shell for project reloads and builds. This integration automates project discovery and reduces issues when running individual tests from the IDE.
-
Enable Debugging: Ensure that the "Enable debugging" option is selected. This allows you to set breakpoints and use the debugger to troubleshoot and fine-tune your code.
-
Library and SBT Sources: For those working on SBT project definitions, make sure to include "library sources" and "sbt sources." These settings enhance code navigation and comprehension by providing access to the underlying SBT and library code.
Here is a visual guide to assist you in setting up:

In sbt command in intellij:
sbt> relax
This will turn off strict building for this sbt session. When you restart it, or you build on jenkins, this will be turned on.
sbt> runTestOnly
sbt> clean test
This code is open source software licensed under the Apache 2.0 License.