RADAR-base/RADAR-Schemas

Name: RADAR-Schemas

Owner: RADAR-CNS

Owner: RADAR-CNS

Description: Catalog of the schemas for RADAR-CNS

Created: 2016-09-27 16:28:01.0

Updated: 2017-10-30 09:11:43.0

Pushed: 2018-02-05 16:14:28.0

Homepage:

Size: 875

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

RADAR-Schemas

Build Status

Avro schemas used in RADAR-CNS. The schemas are organized as follows:

Contributing

The Avro schemas should follow the Google JSON style guide.

In addition, schemas in the commons directory should follow the following guidelines:

Validation phase

Avro schemas are automatically validated against RADAR-CNS guide lines while building. For more details, check catalog validator.

Test setup

The RADAR schema tools can be tested locally using Docker. To run the tools, first install Docker. Then run

er-compose build
er-compose up -d zookeeper-1 kafka-1 schema-registry-1

Now you can run tools commands with

age
er-compose run --rm tools
lidation
er-compose run --rm tools radar-schemas-tools validate
st topic information
er-compose run --rm tools radar-schemas-tools list
gister schemas with the schema registry
er-compose run --rm tools radar-schemas-tools register http://schema-registry:8081
eate topics with zookeeper
er-compose run --rm tools radar-schemas-tools create zookeeper-1:2181
n source-catalogue webservice
er-compose run --rm tools radar-schemas-tools serve -p <portnumber>

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.