-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsecurity-oauth-test.yml
71 lines (71 loc) · 1.93 KB
/
security-oauth-test.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
server:
port: 6001
#error:
# path: /oauth/error
security:
user:
password: barsecret
name: bar
oauth2:
client:
client-id: yvz5o319oolklggq
client-secret: 7g8trcvehjp4bi52
authorized-grant-types: refresh_token,password
scope: openid
eureka:
client:
service-url:
defaultZone : http://10.1.129.197:7001/eureka/
instance:
# prefer-ip-address: true
ip-address: 10.1.129.197
hystrix:
command:
default:
execution:
timeout:
enabled: false
isolation:
thread:
timeoutInMilliseconds: 60000
#spring:
# datasource:
# type: com.zaxxer.hikari.HikariDataSource
# hikari:
# max-lifetime: 1800000
# maximum-pool-size: 20
# read-only: false
# connection-timeout: 30000
# idle-timeout: 600000
# minimum-idle: 10
# driver-class-name: com.mysql.jdbc.Driver
# url: jdbc:mysql://10.1.4.74:3306/hl_oauth?useUnicode=true&characterEncoding=utf-8&useSSL=false
# username: root
# password: hoolai
datasource:
type: com.zaxxer.hikari.HikariDataSource
write:
driver-class-name: com.mysql.jdbc.Driver
jdbc-url: jdbc:mysql://10.1.4.74:3306/hl_oauth?useUnicode=true&characterEncoding=utf-8&useSSL=false
username: root
password: hoolai
max-lifetime: 1800000
maximum-pool-size: 32
read-only: false
connection-timeout: 30000
idle-timeout: 600000
minimum-idle: 20
read:
driver-class-name: com.mysql.jdbc.Driver
jdbc-url: jdbc:mysql://10.1.4.74:3306/hl_oauth?useUnicode=true&characterEncoding=utf-8&useSSL=false
username: root
password: hoolai
max-lifetime: 1800000
maximum-pool-size: 32
read-only: false
connection-timeout: 30000
idle-timeout: 600000
minimum-idle: 20
mybatis:
type-aliases-package: com.hoolai.access.foreign.core.oauth.dao.mybatis.vo
mapper-locations: classpath:com/hoolai/access/foreign/core/oauth/dao/mybatis/mapper/*Mapper.xml