Changeset 1114


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

Legend:

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

    r1107 r1114  
    6969                CommunicationManager.registerRestWrapperMethodsGSCFtoSAM()
    7070        }
     71        nbx14 {
     72                // used by build script
     73                grails.serverURL = "http://nbx14.osx.eu"
     74
     75                CommunicationManager.SAMServerURL = 'http://sam.nbx14.osx.eu'
     76                CommunicationManager.registerRestWrapperMethodsGSCFtoSAM()
     77        }
    7178        production {
    7279                grails.serverURL = "http://www.nmcdsp.org"
  • trunk/grails-app/conf/DataSource.groovy

    r1106 r1114  
    4747                }
    4848        }
     49        nbx14 {
     50                dataSource {
     51                        dbCreate = "update"
     52                        username = "gscf"
     53                        password = "dbnp"
     54
     55                        // PostgreSQL
     56                        driverClassName = "org.postgresql.Driver"
     57                        url = "jdbc:postgresql://localhost:5432/gscf-nbx14"
     58                        dialect = org.hibernate.dialect.PostgreSQLDialect
     59                        //logSql = true // enable logging while not yet final
     60                }
     61        }
    4962        production {
    5063                dataSource {
Note: See TracChangeset for help on using the changeset viewer.