Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 2.02 KB

File metadata and controls

55 lines (33 loc) · 2.02 KB

tenure-cost-and-trade-records-frontend

This is service provides the frontend service for sending trade and cost data to the VOA for business rateable value.

This service is still under development but hoping to move to a limited private beta in November 2023. This is a limited private beta as we are not able to integrate with the new VOA systems until late 2024.

Nomenclature

TCTR - Tenure Cost and Trade Records.

STaCI - Sent Trade and Cost Information.

FOR - form of return - forms used for users to send details of different types of business property.

Prerequisite

Dependencies

  • A local Mongo DB instance needs to run locally
  • You can start the dependencies in service manager by running:

sm2 --start VOA_TCTR
mongod

Unit test

You can run the unit test and produce the test coverage report as follows:

sbt ";clean;coverage;test;it:test;coverageReport"

Then point your browser to the ./target/scala-3.5.1/scoverage-report/index.html file and read the report.

You can configure the test coverage settings by editing the CodeCoverageSettings.scala file, for example by increasing (or decreasing) the coverageMinimumStmtTotal percentage. Read the official scalac-scoverage-plugin and sbt-scoverage user guides to understand more.

Run the service

sbt run

Then you can open in your browser the following url: http://localhost:9526/send-trade-and-cost-information/login

  • Service manager
sm2 --start VOA_TCTR_FRONTEND

License

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