Wikidata Query Service/Implementation

Labs Deployment (beta)
Note that currently deployment is via git-fat (see below) which means it may not work on labs. In that case the scripts have to be deployed manually. This can be done as follows: See also Wikidata Query service beta.
 * 1) Check out   repository
 * 2) Run git-fat pull to instantiate the binaries
 * 3) rsync the files to deploy directory

Production Deployment
Production deployment is done via git repository. The procedure is as follows: The puppet role that needs to be enabled for the service is.
 * 1)   the repository.
 * 2)   - this deploys the artifacts to archiva. Note that for this you will need repositories   and   configured in   with archiva username/password.
 * 3) Install new files (which will be also in  ) to deploy repo above. Commit them. Note that since git-fat uses archiva as primary storage, there can be a delay between files being deployed to archiva and them appearing on rsync and ready for git-fat deployment.
 * 4) Run deploy procedure as described in Trebuchet docs.

Services
Service wdqs-blazegraph runs the Blazegraph server.

Service wdqs-updater runs the updater. Depends on wdqs-blazegraph.

Releasing to Maven
Release procedure described here: http://central.sonatype.org/pages/ossrh-guide.html

Updating specific ID
If there is a need to update specific ID data manually, this can be done using (for ID Q12345):

The runUpdate.sh script is located in the root of WDQS deployment directory

Contacts
If you need more info, talk to User:Smalyshev_(WMF) or anybody from Discovery team.