LandRegistry/mint-alpha

Name: mint-alpha

Owner: HM Land Registry

Description: Service to create new versions of a title, hashed and signed.

Created: 2014-06-16 11:43:29.0

Updated: 2015-01-28 07:41:00.0

Pushed: 2014-12-19 15:28:48.0

Homepage: null

Size: 544

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Mint

Build Status

Coverage Status

What?

Service to create new versions of a title, hashed and signed.

Takes a document in this form:

https://raw.githubusercontent.com/LandRegistry/migration-emitter/master/samples/BD161871.json

…before posting it to the System Of Record.

Dependencies:

Get started

Install the python modules within requirements.txt. Recommend doing this in a virtual environment. If pip is installed, you can type “pip install -r requirements.txt”

Run the server

./run_dev.sh

Test that it works

python test_post_to_mint.py

This fires a quick get to test the service is there, then posts a test title.

Audit

The audit trail gets logged out to `audit.log` currently, and a sample successful edit would be logged like this:

t start 1403519208
age: OK
us code: 200
:
a
b

itle_number': u'THX015',
oo': u'bar55',

t end 1403519208

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.