This is the repository for the Manage Vat Subscription frontend.
This service provides end users with a mechanism to manage their VAT subscription. It allows the users to both view and change their Business name, Business address, bank account details (for repayments) and their VAT return dates.
Backend: https://github.com/hmrc/vat-subscription
Stub: https://github.com/hmrc/manage-vat-subscription-dynamic-stub
This service is written in Scala and Play, so needs at least a [JRE] to run.
To update from Nexus and start all services from the RELEASE version instead of snapshot
sm --start VATC_ALL -f
Kill the service sm --stop MANAGE_VAT_SUBSCRIPTION_FRONTEND
and run:
sbt "run 9150 -Dapplication.router=testOnlyDoNotUseInAppConf.Routes"
or alternatively navigate to the cloned frontend repo and run ./run.sh
sbt clean coverage test it:test coverageReport
Run setup.sh
located in change-vat-acceptance-tests
under src/test/resources/stubData
. The script takes 2 arguments - the name of the environment to populate the stub in. e.g. ./src/test/resources/stubData/setup.sh local
and, if populating the local environment, the port number.
This code is open source software licensed under the Apache 2.0 License