Advertisement
Guest User

Untitled

a guest
Mar 20th, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. dataSource:
  2. pooled: true
  3. url: jdbc:mysql://127.0.0.1:3306/triz?useUnicode=yes&characterEncoding=UTF-8
  4. driverClassName: "com.mysql.jdbc.Driver"
  5. jmxExport: true
  6. username: root
  7. password: password
  8. dialect: org.hibernate.dialect.MySQL5InnoDBDialect
  9. properties:
  10. jmxEnabled: true
  11. initialSize: 5
  12. maxActive: 50
  13. minIdle: 5
  14. maxIdle: 25
  15. maxWait: 10000
  16. maxAge: 600000
  17. timeBetweenEvictionRunsMillis: 5000
  18. minEvictableIdleTimeMillis: 60000
  19. validationQuery: SELECT 1
  20. validationQueryTimeout: 3
  21. validationInterval: 15000
  22. testOnBorrow: true
  23. testWhileIdle: true
  24. testOnReturn: false
  25. jdbcInterceptors: ConnectionState
  26. defaultTransactionIsolation: 2
  27.  
  28. environments:
  29. development:
  30. dataSource:
  31. dbCreate: create
  32. # url: jdbc:h2:mem:devDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE
  33. test:
  34. dataSource:
  35. dbCreate: update
  36. url: jdbc:h2:mem:testDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE
  37. staging:
  38. dataSource:
  39. url: jdbc:mysql://127.0.0.1:3306/triz_staging?useUnicode=yes&characterEncoding=UTF-8
  40.  
  41. buildscript {
  42. ext {
  43. grailsVersion = project.grailsVersion
  44. }
  45. repositories {
  46. mavenCentral()
  47. mavenLocal()
  48. maven { url "https://repo.grails.org/grails/core" }
  49. }
  50. dependencies {
  51. classpath "org.grails:grails-gradle-plugin:$grailsVersion"
  52. classpath 'com.bertramlabs.plugins:asset-pipeline-gradle:2.5.0'
  53. // classpath 'com.bertramlabs.plugins:less-asset-pipeline:2.6.7'
  54. classpath "org.grails.plugins:hibernate:4.3.10.5"
  55. classpath 'org.grails.plugins:database-migration:2.0.0.RC4'
  56. }
  57. }
  58. ...
  59. ...
  60. dependencies {
  61. ...
  62. compile 'org.liquibase:liquibase-core:3.3.2'
  63. runtime 'org.grails.plugins:database-migration:2.0.0.RC4'
  64. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement