Changeset 944 for trunk/grails-app/conf
- Timestamp:
- Oct 14, 2010, 5:44:21 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrapStudies.groovy
r936 r944 12 12 import dbnp.data.Term 13 13 import dbnp.data.Ontology 14 import org.codehaus.groovy.grails.commons.* 15 import org.codehaus.groovy.grails.commons.ConfigurationHolder as C 14 16 15 17 class BootStrapStudies { … … 469 471 println ".adding assay references to mouse example study..." 470 472 473 def samURL = GrailsApplication.ENV_TEST ? 'http://localhost:8182/sam' : 'http://sam.nmcdsp.org' 474 471 475 // Add SAM assay reference 472 476 def clinicalModule = new AssayModule( 473 477 name: 'SAM module for clinical data', 474 478 platform: 'clinical measurements', 475 url: 'http://sam.nmcdsp.org'479 url: samURL 476 480 ).with { if (!validate()) { errors.each { println it} } else save()} 477 481 … … 480 484 name: 'Metabolomics module', 481 485 platform: 'GCMS/LCMS', 482 url: 'http://nmcdsp.nmcdsp.org'486 url: samURL 483 487 ).with { if (!validate()) { errors.each { println it} } else save()} 484 488
Note: See TracChangeset
for help on using the changeset viewer.