Ignore:
Timestamp:
May 25, 2011, 1:50:46 PM (13 years ago)
Author:
gav
Message:

Svn merge -r942:r945 trunk/ into branches/features/purchaseOrders.
This brings the purchaseOrder branch fully up to date.

Location:
branches/features/purchaseOrders
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/features/purchaseOrders

  • branches/features/purchaseOrders/gnuMims-config.groovy

    r942 r946  
    2020*******************/
    2121def appName = grails.util.Metadata.current.'app.name'
     22def appNameLowerCase = appName.toLowerCase()
    2223println "EXT($appName): External config start."
    2324
     
    4950//             dialect = org.hibernate.dialect.SQLServerDialect // MSSQL 2000+2005 Useful with `grails schema-export`
    5051//             driverClassName = "com.microsoft.sqlserver.jdbc.SQLServerDriver"
    51 //             username = "gnumimsadmin"
    52 //             password = "gnumimsadmin"
     52//             username = "${appNameLowerCase}admin"
     53//             password = "${appNameLowerCase}admin"
    5354//             dbCreate = "update"
    54 //             url = "jdbc:sqlserver://gnumimssql01:1433;databaseName=gnumims_prod"
     55//             url = "jdbc:sqlserver://sql01:1433;databaseName=${appNameLowerCase}_prod"
    5556            /** MySQL */
    5657            dialect = org.hibernate.dialect.MySQL5InnoDBDialect
    5758            driverClassName = "com.mysql.jdbc.Driver"
    58             username = "gnumimsadmin"
    59             password = "gnumimsadmin"
     59            username = "${appNameLowerCase}admin"
     60            password = "${appNameLowerCase}admin"
    6061            dbCreate = "update"
    61             url = "jdbc:mysql://gnumimssql01:3306/gnumims_prod?autoReconnect=true&sessionVariables=storage_engine=InnoDB"
     62            url = "jdbc:mysql://sql01:3306/${appNameLowerCase}_prod?autoReconnect=true&sessionVariables=storage_engine=InnoDB"
    6263        }
    6364    }
Note: See TracChangeset for help on using the changeset viewer.