Skip to content

Latest commit

 

History

History
45 lines (25 loc) · 1.15 KB

README.md

File metadata and controls

45 lines (25 loc) · 1.15 KB

Trusts

This service is responsible for registering, playing back and varying a Trust registration.

Running the service locally

To run locally using the microservice 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 9782 but is defaulted to that in build.sbt).

sbt run

Use the following command to run your local copy with the test-only routes:

sbt run -Dapplication.router=testOnlyDoNotUseInAppConf.Routes

Testing the service

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

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

Run this script before raising a PR to ensure your code changes pass the Jenkins pipeline. This runs all the unit 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.