Skip to content

hmrc/alcohol-duty-returns

Repository files navigation

alcohol-duty-returns

This is the backend microservice that handles Returns related operations for Alcohol Duty Service.

API Endpoints

Running the service

sbt run

The service runs on port 16001 by default.

Running tests

Unit tests

sbt test

Integration tests

sbt it/test

Scalafmt and Scalastyle

To check if all the scala files in the project are formatted correctly:

sbt scalafmtCheckAll

To format all the scala files in the project correctly:

sbt scalafmtAll

To check if there are any scalastyle errors, warnings or infos:

sbt scalastyle

All tests and checks

This is an sbt command alias specific to this project. It will run a scala format check, run a scala style check, run unit tests, run integration tests and produce a coverage report:

sbt runAllChecks

License

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