Skip to content

marcdubybroad/Ga4ghRegistry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ga4ghRegistry

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

APIs:

/peers GET

Returns a list of server nodes

Example output

{
    "peers": [
        {
            "type": "beacon",
            "url": "http://ga4gh.org"
        },
        {
            "type": "ga4gh",
            "url": "http://test.com"
        }
    ]
}

/peers POST

To add a new server node

Example input

{"url": "http://ga4gh.org", "type": "beacon"}

/peers PUT

To update an existing server node

Example input

{"url": "http://ga4gh.org", "type": "matchmaker"}

/peers DELETE

To delete an existing server node

Example input

{"url": "http://ga4gh.org", "type": "beacon"}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages