Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- grails:
- profile: rest-api
- codegen:
- defaultPackage: com.myapp
- spring:
- transactionManagement:
- proxies: false
- gorm:
- # Whether to autowire entities.
- # Disabled by default for performance reasons.
- autowire: false
- reactor:
- # Whether to translate GORM events into Reactor events
- # Disabled by default for performance reasons
- events: false
- info:
- app:
- name: '@info.app.name@'
- version: '@info.app.version@'
- grailsVersion: '@info.app.grailsVersion@'
- spring:
- main:
- banner-mode: 'off'
- groovy:
- template:
- check-template-location: false
- # Spring Actuator Endpoints are Disabled by Default
- endpoints:
- enabled: false
- jmx:
- enabled: true
- ---
- grails:
- mime:
- disable:
- accept:
- header:
- userAgents:
- - Gecko
- - WebKit
- - Presto
- - Trident
- types:
- json:
- - application/json
- - text/json
- hal:
- - application/hal+json
- - application/hal+xml
- xml:
- - text/xml
- - application/xml
- atom: application/atom+xml
- css: text/css
- csv: text/csv
- js: text/javascript
- rss: application/rss+xml
- text: text/plain
- all: '*/*'
- urlmapping:
- cache:
- maxsize: 1000
- controllers:
- defaultScope: singleton
- converters:
- encoding: UTF-8
- ---
- hibernate:
- singleSession: true
- flush:
- mode: manual
- connection:
- useUnicode: true
- charSet: utf8
- characterEncoding: utf8
- provider_class: org.hibernate.hikaricp.internal.HikariCPConnectionProvider
- hikari:
- minimumIdle: '5'
- maximumPoolSize: '20'
- idleTimeout: '30000'
- dataSourceClassName: org.mariadb.jdbc.MySQLDataSource
- cache:
- queries: false
- use_query_cache: false
- use_second_level_cache: true
- provider_class: net.sf.ehcache.hibernate.EhCacheProvider
- region.factory_class: org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory
- dataSource:
- pooled: false
- jmxExport: true
- jmxEnabled: true
- dialect: org.hibernate.dialect.MySQL5InnoDBDialect
- driverClassName: org.mariadb.jdbc.Driver
- environments:
- development:
- dataSource.dbCreate: update
- hibernate.hikari:
- dataSource:
- url: jdbc:mysql://localhost:3306/my_app_db
- user: my_db_username
- password: my_db_password
- test:
- dataSource.dbCreate: update
- hibernate.hikari:
- dataSource:
- url: jdbc:mysql://localhost:3306/my_app_db
- user: my_db_username
- password: my_db_password
- production:
- dataSource.dbCreate: update
- hibernate.hikari:
- dataSource:
- url: jdbc:mysql://localhost:3306/my_app_db
- user: my_db_username
- password: my_db_password
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement