Changeset 183


Ignore:
Timestamp:
Nov 10, 2010, 12:47:31 PM (6 years ago)
Author:
work@…
Message:
  • added nbx14 config, we need a better solution to support multiple domain names / server configurations
Location:
grails-app/conf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • grails-app/conf/Config.groovy

    r180 r183  
    7272                CommunicationManager.SAMServerURL = 'http://test.sam.nmcdsp.org'
    7373        }
     74        nbx14 {
     75                // used by build script
     76                grails.serverURL = "http://sam.nbx14.osx.eu"
     77
     78                // Register the methods that provide the Rest services of GSCF to SAM
     79                CommunicationManager.GSCFServerURL = 'http://nbx14.osx.eu'
     80                CommunicationManager.SAMServerURL = 'http://sam.nbx14.osx.eu'
     81        }
    7482        production {
    7583                grails.serverURL = "http://sam.nmcdsp.org"
  • grails-app/conf/DataSource.groovy

    r166 r183  
    4444                }
    4545        }
     46        nbx14 {
     47                // used by build script
     48                dataSource {
     49                        dbCreate = "update"
     50                        username = "clinical_user"
     51                        password = "clinical_pwd"
     52
     53                        // PostgreSQL
     54                        driverClassName = "org.postgresql.Driver"
     55                        url = "jdbc:postgresql://localhost:5432/sam-nbx14"
     56                        dialect = org.hibernate.dialect.PostgreSQLDialect
     57                }
     58        }
    4659        production {
    4760                dataSource {
Note: See TracChangeset for help on using the changeset viewer.