forked from joedayz/config-qa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
campus-backend.yml
100 lines (82 loc) · 2.56 KB
/
campus-backend.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
server:
port: ${vcap.application.port:8999}
spring:
profiles: default
mail:
host: smtp.gmail.com
port: 465
sender: [email protected]
username: [email protected]
password: ArrozConAngular2
fromIP: campus.joedayz.pe
datasource:
#url: jdbc:mysql://127.0.0.1:3306/api?useSSL=false&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT
#url: jdbc:mysql://localhost/api?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC&useSSL=false
url: jdbc:mysql://localhost/api?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC&useSSL=false
username: root
#password: joedayz
password: admin
testOnBorrow: true
removeAbandonedTimeout: 1800
removeAbandoned: true
validationQuery: SELECT 1 FROM DUAL
logAbandoned: true
minEvictableIdleTimeMillis: 60000
defaultReadOnly: false
maxWait: 60000
maxIdle: 1
minIdle: 0
maxActive: 50
initialSize: 1
jpa:
#database-platform: org.hibernate.dialect.Oracle10gDialect
database-platform: org.hibernate.dialect.MySQL5Dialect
show-sql: true
#generate-ddl= true.hibernate.ejb.interceptor=MyInterceptorClassName
hibernate:
ddl-auto: update
naming-strategy: org.hibernate.cfg.DefaultNamingStrategy
properties:
hibernate:
ejb:
interceptor: pe.joedayz.api.jpa.ApiEntityInterceptorImpl
jdbc:
batch_size: 20
---
spring:
profiles: joeint
mail:
host: smtp.gmail.com
port: 465
sender: [email protected]
username: [email protected]
password: ArrozConAngular2
fromIP: campus.joedayz.pe
datasource:
url: jdbc:mysql://localhost/joecampus_api
username: joecampus_api
password: Dr3cVhcAB!d#6WqU
testOnBorrow: true
removeAbandonedTimeout: 1800
removeAbandoned: true
validationQuery: SELECT 1 FROM DUAL
logAbandoned: true
minEvictableIdleTimeMillis: 60000
defaultReadOnly: false
maxWait: 60000
maxIdle: 1
minIdle: 0
maxActive: 50
initialSize: 1
jpa:
database-platform: org.hibernate.dialect.MySQL5Dialect
show-sql: true
hibernate:
ddl-auto: update
naming-strategy: org.hibernate.cfg.DefaultNamingStrategy
properties:
hibernate:
ejb:
interceptor: pe.joedayz.api.jpa.ApiEntityInterceptorImpl
jdbc:
batch_size: 20