
.plugins.nucleus.0.4.81.source-code.application.yml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nucleus Show documentation
Show all versions of nucleus Show documentation
nucleus is a Grails-Groovy plugin which contains utility methods, classes and endpoints.
grails:
profile: web-plugin
codegen:
defaultPackage: com.causecode
gorm:
failOnError: true
autoFlush: true
info:
app:
name: '@info.app.name@'
version: '@info.app.version@'
grailsVersion: '@info.app.grailsVersion@'
spring:
groovy:
template:
check-template-location: false
---
dataSource:
pooled: true
driverClassName: "org.h2.Driver"
dialect: "org.hibernate.dialect.H2Dialect"
hibernate:
cache:
use_second_level_cache: true
use_query_cache: false
provider_class: 'net.sf.ehcache.hibernate.EhCacheProvider'
region.factory_class: 'org.hibernate.cache.ehcache.EhCacheRegionFactory'
---
environments:
development:
dataSource:
dbCreate: 'create-drop'
url: 'jdbc:h2:mem:devDb'
test:
dataSource:
dbCreate: 'update'
url: 'jdbc:h2:mem:testDb'
production:
dataSource:
dbCreate: 'update'
url: 'jdbc:h2:prodDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE'
properties:
maxActive: -1
minEvictableIdleTimeMillis: 1800000
timeBetweenEvictionRunsMillis: 1800000
numTestsPerEvictionRun: 3
testOnBorrow: true
testWhileIdle: true
testOnReturn: false
validationQuery: 'SELECT 1'
jdbcInterceptors: 'ConnectionState'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy