Advertisement
Guest User

Untitled

a guest
Aug 18th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.41 KB | None | 0 0
  1. ---
  2. hibernate:
  3. cache:
  4. queries: false
  5. use_second_level_cache: true
  6. use_query_cache: false
  7. region.factory_class: org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory
  8.  
  9. server:
  10. 'contextPath': '/fixwo'
  11.  
  12.  
  13. dataSource:
  14. pooled: true
  15. jmxExport: true
  16. driverClassName: org.postgresql.Driver
  17. username: postgres
  18. password: postgres
  19. dataSource_easybpmsdb:
  20. pooled: true
  21. jmxExport: true
  22. driverClassName: org.postgresql.Driver
  23. username: postgres
  24. password: postgres
  25.  
  26. environments:
  27. development:
  28. dataSource:
  29. dbCreate: create-drop
  30. url: jdbc:postgresql://localhost:5432/fixwo
  31. test:
  32. dataSource:
  33. dbCreate: update
  34. url: jdbc:postgresql://localhost:5432/fixwo
  35. production:
  36. dataSource:
  37. dbCreate: update
  38. url: jdbc:postgresql://localhost:5432/fixwo
  39. properties:
  40. jmxEnabled: true
  41. initialSize: 5
  42. maxActive: 50
  43. minIdle: 5
  44. maxIdle: 25
  45. maxWait: 10000
  46. maxAge: 600000
  47. timeBetweenEvictionRunsMillis: 5000
  48. minEvictableIdleTimeMillis: 60000
  49. validationQuery: SELECT 1
  50. validationQueryTimeout: 3
  51. validationInterval: 15000
  52. testOnBorrow: true
  53. testWhileIdle: true
  54. testOnReturn: false
  55. jdbcInterceptors: ConnectionState
  56. defaultTransactionIsolation: 2 # TRANSACTION_READ_COMMITTED
  57. dataSource_easybpmsdb:
  58. dbCreate: update
  59. url: jdbc:postgresql://localhost:5432/easybpms
  60. properties:
  61. jmxEnabled: true
  62. initialSize: 5
  63. maxActive: 50
  64. minIdle: 5
  65. maxIdle: 25
  66. maxWait: 10000
  67. maxAge: 600000
  68. timeBetweenEvictionRunsMillis: 5000
  69. minEvictableIdleTimeMillis: 60000
  70. validationQuery: SELECT 1
  71. validationQueryTimeout: 3
  72. validationInterval: 15000
  73. testOnBorrow: true
  74. testWhileIdle: true
  75. testOnReturn: false
  76. jdbcInterceptors: ConnectionState
  77. defaultTransactionIsolation: 2 # TRANSACTION_READ_COMMITTED
  78.  
  79. ---
  80. grails:
  81. profile: web
  82. codegen:
  83. defaultPackage: fixwoback
  84. spring:
  85. transactionManagement:
  86. proxies: false
  87.  
  88. info:
  89. app:
  90. name: '@info.app.name@'
  91. version: '@info.app.version@'
  92. grailsVersion: '@info.app.grailsVersion@'
  93. spring:
  94. groovy:
  95. template:
  96. check-template-location: false
  97.  
  98. # Spring Actuator Endpoints are Disabled by Default
  99. endpoints:
  100. enabled: false
  101. jmx:
  102. enabled: true
  103.  
  104. ---
  105.  
  106. grails:
  107. gorm:
  108. autoFlush: true
  109. mime:
  110. disable:
  111. accept:
  112. header:
  113. userAgents:
  114. - Gecko
  115. - WebKit
  116. - Presto
  117. - Trident
  118. types:
  119. all: '*/*'
  120. atom: application/atom+xml
  121. css: text/css
  122. csv: text/csv
  123. form: application/x-www-form-urlencoded
  124. html:
  125. - text/html
  126. - application/xhtml+xml
  127. js: text/javascript
  128. json:
  129. - application/json
  130. - text/json
  131. multipartForm: multipart/form-data
  132. pdf: application/pdf
  133. rss: application/rss+xml
  134. text: text/plain
  135. hal:
  136. - application/hal+json
  137. - application/hal+xml
  138. xml:
  139. - text/xml
  140. - application/xml
  141. urlmapping:
  142. cache:
  143. maxsize: 1000
  144. controllers:
  145. defaultScope: singleton
  146. converters:
  147. encoding: UTF-8
  148. views:
  149. default:
  150. codec: html
  151. gsp:
  152. encoding: UTF-8
  153. htmlcodec: xml
  154. codecs:
  155. expression: html
  156. scriptlets: html
  157. taglib: none
  158. staticparts: none
  159. endpoints:
  160. jmx:
  161. unique-names: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement