This is the Scala microservice responsible for the transient storage of PPT returns information and PPT Account section, which is part of the PPT tax regime, as discussed in this GovUk Guidance
Other related PPT services:
- Backend service: plastic-packaging-tax-returns
- Stubs: plastic-packaging-tax-stub
- Registration service: plastic-packaging-tax-registration-frontend
- Registration service: plastic-packaging-tax-registration
These are the steps to the Plastic Packaging Tax Returns and Account service, of which this microservice is part of.
-
Start a MongoDB instance
-
Start the microservices
# Start the plastic packaging services and dependencies
sm2 --start PLASTIC_PACKAGING_TAX_ALL
# confirm all services are running
sm2 -s
- Visit http://localhost:9949/auth-login-stub/gg-sign-in
- You may need to add some user details to the form:
Enrolment Key
:HMRC-PPT-ORG
Identifier Name
:EtmpRegistrationNumber
Identifier Value
:XMPPT0000000001
- Then enter a redirect url:
- To see account page: http://localhost:8505/plastic-packaging-tax/account
- Press Submit.
The following command will only run the accessibility tests in a11y directory. (You will need to install Node v12+ and npm.)
sbt a11y:test
Before pushing code for PR / merging, please run
sbt all
This runs the unit, integration, and a11y tests
We no longer use Scalastyle.
This code is open source software licensed under the Apache 2.0 License.