Skip to content
Content-api thrift models
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
benchmarks/src/main Fix benchmarks Feb 7, 2017
project scala 2.12.3 Sep 15, 2017
.sbtopts add .sbtopts Feb 1, 2019
.travis.yml Merge pull request #149 from guardian/mc-update-to-openjdk Mar 11, 2019 Update Sep 27, 2017
build.sbt Add sonatype release repo Mar 19, 2019

Content API Thrift models

Maven Central Build Status

To release:

$ sbt 'release cross'

will publish to Maven Central via Sonatype. You will need Sonatype credentials and a PGP key. It can take up to 2hrs to show up in search.

Information about built jars

The content-api-models project builds the following jar files:

  • content-api-models-scala - Scrooge generated class files based on the Thrift definitions of the content api models found in the content-api-models dependency.

  • content-api-models-json - Json parsers and deserializers. Used internally by the content api and also by the content-api-scala-client to convert from Elasticsearch returned json to the Scrooge-generated Thrift classes. As a client you should never need to depend on this explicitly, although you may have a transitive dependency on it if using the content-api-scala-client.

  • content-api-models - Contains the Thrift definitions of the content api models only. As a client it is unlikely that you should ever need to depend on this but rather use the content-api-models-scala dependency instead.

You can’t perform that action at this time.