Skip to content

hmrc/claim-a-trust-frontend

Repository files navigation

Claim a trust frontend

This service is responsible for navigating an organisation 'individual' user to claim their trust. The service sends the user to the trusts-relationship-establishment-service and allocates their enrolment with EACD using tax-enrolments.

To run locally using the micro-service provided by the service manager:

sm2 --start TRUSTS_ALL

If you want to run your local copy, then stop the frontend ran by the service manager and run your local code by using the following (port number is 9785 but is defaulted to that in build.sbt).

sbt run

Testing the service

This service uses sbt-scoverage to provide test coverage reports.

Use the following command to run the tests with coverage and generate a report.

sbt clean coverage test coverageReport

Run this script before raising a PR to ensure your code changes pass the Jenkins pipeline. This runs all the unit tests and integration tests with scalastyle and checks for dependency updates:

./run_all_tests.sh

License

This code is open source software licensed under the Apache 2.0 License.