-
Notifications
You must be signed in to change notification settings - Fork 0
/
todo.yml
77 lines (69 loc) · 2.38 KB
/
todo.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
# HTTP-specific options.
server:
type: simple
registerDefaultExceptionMappers: false
applicationContextPath: /todo
adminContextPath: /rest
connector:
type: http
port: 8181
hibernate:
scanPackages: [io.robe.admin.hibernate.entity, io.robe.sample.todo.entity]
database:
# the name of your JDBC driver
driverClass: com.mysql.jdbc.Driver
# the username
user: root
# the password
password:
# the JDBC URL
url: jdbc:mysql://localhost:3306/todo?autoReconnect=true&useSSL=false
# Properties
properties:
charSet: UTF-8
dialect: org.hibernate.dialect.MySQL5InnoDBDialect
hibernate.hbm2ddl.auto: update
# hibernate.jdbc.wrap_result_sets: true # performance fix specially for oracle
logging:
# The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
level: INFO
# Logger-specific levels.
loggers:
org.hibernate.SQL: INFO
guice:
scanPackages: [io.robe, io.robe.sample.todo]
# Quartz Scheduler configuration
quartz:
scanPackages: [io.robe.admin, io.robe.sample.todo]
properties:
org.quartz.scheduler.instanceName: QuartzScheduler
org.quartz.threadPool.class: org.quartz.simpl.SimpleThreadPool
org.quartz.threadPool.threadCount: 1
org.quartz.threadPool.threadPriority: 8
org.quartz.scheduler.skipUpdateCheck: false
org.quartz.jobStore.class: org.quartz.simpl.RAMJobStore
# org.quartz.jobStore.class: org.quartz.impl.jdbcjobstore.JobStoreTX
# org.quartz.jobStore.dataSource: QuarztDS
# org.quartz.dataSource.myDS.driver: com.mysql.jdbc.Driver
# org.quartz.dataSource.myDS.URL: jdbc:mysql://localhost:3306/robe
# org.quartz.dataSource.myDS.user: root
# org.quartz.dataSource.myDS.password:
# org.quartz.dataSource.myDS.maxConnections: 10
# org.quartz.jobStore.tablePrefix: QRTZ_
# org.quartz.jobStore.driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
auth:
tokenKey: auth-token
domain: 127.0.0.1
path: /
maxage: 6000 #s
secure: false
poolSize: 1 # parallel with cpu cores
algorithm: PBEWithMD5AndTripleDES
serverPassword: auto # auto for uuid, if it is cluster use custom password
assets:
- resourcePath: ../todo-sample-ui/build/
uriPath: /ui/
indexFile: index.html
assetsName: io.robe.admin.ui
cached: false
type: filesystem # use "classpath" or "filesystem" or "http"