GA4GH Registry reference project
To build and run:
- Make sure you have Java 8: java -version
- Make sure you have Gradle. Use version 1.10 for now
- Run gradle build
- Then issue the command java -jar build/libs/ga4gh-registry-0.0.1-SNAPSHOT.jar
- The server will run on port 8090, under the context root registry
Returns a list of server nodes
Example output
{
"peers": [
{
"type": "beacon",
"url": "http://ga4gh.org"
},
{
"type": "ga4gh",
"url": "http://test.com"
}
]
}
To add a new server node
Example input
{"url": "http://ga4gh.org", "type": "beacon"}
To update an existing server node
Example input
{"url": "http://ga4gh.org", "type": "matchmaker"}
To delete an existing server node
Example input
{"url": "http://ga4gh.org", "type": "beacon"}