thehyve/transmart-core-db

Name: transmart-core-db

Owner: The Hyve

Description: Implementation of transmart-core-api for PostgreSQL/Oracle/H2

Created: 2013-02-27 09:54:58.0

Updated: 2016-05-19 19:41:16.0

Pushed: 2016-12-05 13:31:43.0

Homepage:

Size: 2901

Language: Groovy

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

TranSMART Core-DB

Build Status

The transmart-core-db project is a Grails plugin that implements the API described in transmart-core-api. It should be included as a runtime dependency for the transmartApp.

This plugin also includes additional functionality besides implementing the API, like defining controllers on which the application relies. Gradually, we will want to refactor these components into separate plugins.

Running the integration tests

Ideally, one would run the integration tests against a temporary in-memory database. This is the default. The grails-app/conf/DataSource.groovy has an H2 data source configured.

However, transitional considerations recommend also running the integration tests against a production database (PostgreSQL or Oracle). For this, you can either change the in-tree DataSource.groovy file mentioned before or you can (preferably) create a file in ~/.grails/transmartConfig/DataSource.groovy where you override the in-tree configuration. This file has the same format as the in-tree one. The last option is preferred because it avoids accidental commits to the in-tree file.


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.