This application imports AddressBase-Premium data from Ordnance Survey GB. It regularly check for updates and, when necessary, downloads and converts the data to the format used by the address-reputation microservice, which in turn feeds diverse systems within HMRC.
The application is built upon the Play Framework using Scala.
Timed behaviour is implemented using cron externally by poking the URL /goAuto/to/db
A simple built-in console allows viewing of the current status and triggering or cancelling various processing steps, as required.
You need Elasticsearch for development. Ubuntu example:
SOURCE=/etc/apt/sources.list.d/elasticsearch-2.x.list echo "deb https://packages.elastic.co/elasticsearch/2.x/debian stable main" | sudo tee $SOURCE apt-get -q -q update apt-get -y install default-jdk elasticsearch echo "cluster.name: address-reputation" | sudo tee -a /etc/elasticsearch/elasticsearch.yml
This code is open source software licensed under the Apache 2.0 License.