RADAR-base/radar-commons

Name: radar-commons

Owner: RADAR-CNS

Owner: RADAR-CNS

Description: RADAR-CNS platform's common utilities library containing basic schemas, streaming features, testing bridges and utils.

Created: 2017-02-15 14:23:32.0

Updated: 2017-10-09 14:26:32.0

Pushed: 2018-01-26 14:40:03.0

Homepage:

Size: 512

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

RADAR-Commons

Build Status Codacy Badge

Common utilities library containing basic schemas, streaming features, testing bridges and utils.

Usage

Add the RADAR-Commons library to your project with Gradle by updating your build.gradle file with:

sitories {
jcenter()


ndencies {
compile group: 'org.radarcns', name: 'radar-commons', version: '0.8.0'

For mocking clients of the RADAR-CNS infrastructure, use that 'radar-commons-testing' repository:

sitories {
maven { url  'http://dl.bintray.com/radar-cns/org.radarcns' }


ndencies {
testCompile group: 'org.radarcns', name: 'radar-commons-testing', version: '0.8.0'

To test your backend with a MockProducer, copy testing/mock.yml.template to testing/mock.yml and edit its parameters. Then run

adlew :testing:run

to send data to your backend.

Contributing

For latest code use dev branch. This is released on JFrog's OSS Artifactory. To use that release, add the following fragment to your build.gradle file.

sitories {
maven { url  'http://oss.jfrog.org/artifactory/oss-snapshot-local/' }


igurations.all {
// Check for updates every build
resolutionStrategy.cacheChangingModulesFor 0, 'SECONDS'


ndencies {
compile group: 'org.radarcns', name: 'radar-commons', version: '0.8.1-SNAPSHOT', changing: true

Code should be formatted using the Google Java Code Style Guide. If you want to contribute a feature or fix browse our issues, and please make a pull request.


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.