This is a repository for Import One Stop Shop Intermediary Registration Frontend
Backend: https://github.com/hmrc/ioss-intermediary-registration
Stub: https://github.com/hmrc/ioss-intermediary-registration-stub
This service is written in Scala and Play, so needs at least a [JRE] to run.
sm2 --start IMPORT_ONE_STOP_SHOP_ALL
The service needs to run in testOnly mode in order to access the testOnly get-passcodes endpoint which will generate a passcode for email verification.
sm2 --stop IOSS_INTERMEDIARY_REGISTRATION_FRONTEND
and
sbt run -Dapplication.router=testOnlyDoNotUseInAppConf.Routes
Mongo 6 with a replica set is required to run the service. Please refer to the MDTP Handbook for instructions on how to run this
To run the unit and integration tests, you will need to open an sbt session on the browser.
To run all tests, run the following command in your sbt session:
test
To run a single test, run the following command in your sbt session:
testOnly <package>.<SpecName>
An asterisk can be used as a wildcard character without having to enter the package, as per the example below:
testOnly *<SpecName>
To run all tests, run the following command in your sbt session:
it:test
To run a single test, run the following command in your sbt session:
it:testOnly <package>.<SpecName>
An asterisk can be used as a wildcard character without having to enter the package, as per the example below:
it:testOnly *<SpecName>
This code is open source software licensed under the Apache 2.0 License.