-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication.yml
138 lines (132 loc) · 3.31 KB
/
application.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
info:
app:
name: '@info.app.name@'
version: '@info.app.version@'
grailsVersion: '@info.app.grailsVersion@'
grails:
codegen:
defaultPackage: com.arjang
profile: web
views:
default:
codec: html
gsp:
encoding: UTF-8
htmlcodec: xml
codecs:
expression: html
scriptlet: html
taglib: none
staticparts: none
mime:
disable:
accept:
header:
userAgents:
- Gecko
- WebKit
- Presto
- Trident
types:
all: '*/*'
atom: application/atom+xml
css: text/css
csv: text/csv
form: application/x-www-form-urlencoded
html:
- text/html
- application/xhtml+xml
js: text/javascript
json:
- application/json
- text/json
multipartForm: multipart/form-data
pdf: application/pdf
rss: application/rss+xml
text: text/plain
hal:
- application/hal+json
- application/hal+xml
xml:
- text/xml
- application/xml
dataSource:
driverClassName: org.h2.Driver
pooled: true
jmxExport: true
hibernate:
cache:
queries: false
use_second_level_cache: false
use_query_cache: false
myGlobalVariables:
username: 'adminu'
password: 'adminp'
other: 'somethingelse'
environments:
development:
logging.level.com.arjang: INFO
spring.h2.console.enabled: true
myEnvironmentVariables: 'This is Dev variable'
tomcatDirectoryPath: '/tmp/grails-sample/'
testMode: true
fileAge: 30
server:
port: 8081
servlet:
context-path: '/example1'
dataSource:
dbCreate: create-drop
username: 'adminExample1'
password: 'adminExample1'
url: jdbc:h2:mem:devDb;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE
Staging:
logging.level.com.arjang: DEBUG
myEnvironmentVariables: 'This is Staging variable'
tomcatDirectoryPath: '/opt/stage_tomcat/'
testMode: true
fileAge: 30
dataSource:
dbCreate: create-drop
username: 'adminExample1'
password: 'adminExample1'
url: jdbc:h2:mem:devDb;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE
test:
myEnvironmentVariables: 'This is Test variable'
tomcatDirectoryPath: '/opt/stage_tomcat/'
testMode: true
fileAge: 30
dataSource:
dbCreate: create-drop
username: 'adminExample1'
password: 'adminExample1'
url: jdbc:h2:mem:testDb;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE
production:
logging.level.com.arjang: ERROR
myEnvironmentVariables: 'This is Prod variable'
tomcatDirectoryPath: '/opt/prod_tomcat/'
testMode: true
fileAge: 30
dataSource:
dbCreate: create-drop
username: 'adminExample1'
password: 'adminExample1'
url: jdbc:h2:./prodDb;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE
properties:
jmxEnabled: true
initialSize: 5
maxActive: 50
minIdle: 5
maxIdle: 25
maxWait: 10000
maxAge: 600000
timeBetweenEvictionRunsMillis: 5000
minEvictableIdleTimeMillis: 60000
validationQuery: SELECT 1
validationQueryTimeout: 3
validationInterval: 15000
testOnBorrow: true
testWhileIdle: true
testOnReturn: false
jdbcInterceptors: ConnectionState
defaultTransactionIsolation: 2