Changeset 946 for branches/features/purchaseOrders
- Timestamp:
- May 25, 2011, 1:50:46 PM (14 years ago)
- Location:
- branches/features/purchaseOrders
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/purchaseOrders
-
branches/features/purchaseOrders/gnuMims-config.groovy
r942 r946 20 20 *******************/ 21 21 def appName = grails.util.Metadata.current.'app.name' 22 def appNameLowerCase = appName.toLowerCase() 22 23 println "EXT($appName): External config start." 23 24 … … 49 50 // dialect = org.hibernate.dialect.SQLServerDialect // MSSQL 2000+2005 Useful with `grails schema-export` 50 51 // driverClassName = "com.microsoft.sqlserver.jdbc.SQLServerDriver" 51 // username = " gnumimsadmin"52 // password = " gnumimsadmin"52 // username = "${appNameLowerCase}admin" 53 // password = "${appNameLowerCase}admin" 53 54 // dbCreate = "update" 54 // url = "jdbc:sqlserver:// gnumimssql01:1433;databaseName=gnumims_prod"55 // url = "jdbc:sqlserver://sql01:1433;databaseName=${appNameLowerCase}_prod" 55 56 /** MySQL */ 56 57 dialect = org.hibernate.dialect.MySQL5InnoDBDialect 57 58 driverClassName = "com.mysql.jdbc.Driver" 58 username = " gnumimsadmin"59 password = " gnumimsadmin"59 username = "${appNameLowerCase}admin" 60 password = "${appNameLowerCase}admin" 60 61 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" 62 63 } 63 64 } -
branches/features/purchaseOrders/grails-app/conf/Config.groovy
r942 r946 17 17 grails.config.locations = [ "classpath:${appName}-config.groovy" ] 18 18 19 //grails.project.groupId = appName // change this to alter the default package name and Maven publishing destination 20 19 21 // Set false due to acegi security issue. 20 22 // See: http://jira.grails.org/browse/GPACEGI-41 21 23 // See: http://www.gnumims.org/trac/ticket/98 22 24 grails.mime.file.extensions = false // enables the parsing of file extensions from URLs into the request format 23 25 //grails.mime.use.accept.header = false 24 26 grails.mime.types = [ html: ['text/html','application/xhtml+xml'], 25 27 xml: ['text/xml', 'application/xml'], 26 text: 'text -plain',28 text: 'text/plain', 27 29 js: 'text/javascript', 28 30 rss: 'application/rss+xml', … … 39 41 multipartForm: 'multipart/form-data' 40 42 ] 43 44 // URL Mapping Cache Max Size, defaults to 5000 45 //grails.urlmapping.cache.maxsize = 1000 46 41 47 // The default codec used to encode data with ${} 42 48 grails.views.default.codec="none" // none, html, base64 … … 55 61 grails.enable.native2ascii = true 56 62 57 // whether to install the java.util.logging bridge for sl4j. Disable fo AppEngine!63 // whether to install the java.util.logging bridge for sl4j. Disable for AppEngine! 58 64 grails.logging.jul.usebridge = true 59 65 // packages to include in Spring bean scanning 60 66 grails.spring.bean.packages = [] 67 68 // request parameters to mask when logging exceptions 69 grails.exceptionresolver.params.exclude = ['password'] 61 70 62 71 /** -
branches/features/purchaseOrders/grails-app/conf/DataSource.groovy
r942 r946 15 15 // If nothing specified then do nothing to database schema. 16 16 17 def appNameLowerCase = appName.toLowerCase() 18 17 19 // Environment specific settings. 18 20 // All production config is in external config. … … 29 31 // dialect = org.hibernate.dialect.MySQL5InnoDBDialect 30 32 // driverClassName = "com.mysql.jdbc.Driver" 31 // username = " gnumimsadmin"32 // password = " gnumimsadmin"33 // username = "${appNameLowerCase}admin" 34 // password = "${appNameLowerCase}admin" 33 35 // dbCreate = "create-drop" 34 // url = "jdbc:mysql://host:3306/ gnumims_dev?autoReconnect=true&sessionVariables=storage_engine=InnoDB"36 // url = "jdbc:mysql://host:3306/${appNameLowerCase}_dev?autoReconnect=true&sessionVariables=storage_engine=InnoDB" 35 37 } 36 38 } … … 46 48 // dialect = org.hibernate.dialect.MySQL5InnoDBDialect 47 49 // driverClassName = "com.mysql.jdbc.Driver" 48 // username = " gnumimsadmin"49 // password = " gnumimsadmin"50 // username = "${appNameLowerCase}admin" 51 // password = "${appNameLowerCase}admin" 50 52 // dbCreate = "update" 51 // url = "jdbc:mysql://host:3306/ gnumims_test?autoReconnect=true&sessionVariables=storage_engine=InnoDB"53 // url = "jdbc:mysql://host:3306/${appNameLowerCase}_test?autoReconnect=true&sessionVariables=storage_engine=InnoDB" 52 54 } 53 55 }
Note: See TracChangeset
for help on using the changeset viewer.