The Basic TME Transformer generates UPP representations of TME concepts for a set of taxonomies: Alphaville Series, Brands, Genres, Locations, People, Sections, Special Reports, Subjects, Topics .
Download the source code, dependencies and test dependencies:
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
go get -u github.com/Financial-Times/basic-tme-transformer
cd $GOPATH/src/github.com/Financial-Times/basic-tme-transformer
dep ensure -v -vendor-only
Run the tests and install the binary:
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
cd $GOPATH/src/github.com/Financial-Times/basic-tme-transformer
go test -race ./...
go install
Run the binary (using the help flag to see the available optional arguments):
$GOPATH/bin/basic-tme-transformer [--help]
Test:
Either using curl:
curl http://localhost:8080/transformers/topics/__ids | json_pp
Or using httpie:
http GET http://localhost:8080/transformers/topics/__ids
How can I build and deploy it (lots of this will be links out as the steps will be common)
e.g.
For Swagger style documentation, see here.
The standard admin endpoints are supported:
Content type
Image
Digest
Size
84.8 MB
Last updated
about 8 years ago
docker pull coco/basic-tme-transformer