Authored by 胡古飞

去除无用的配置类

1 datasources: 1 datasources:
2 - yoho_sms: 2 + q_msg_system:
3 servers: 3 servers:
4 - 192.168.102.219:3306 4 - 192.168.102.219:3306
5 - 192.168.102.219:3306 5 - 192.168.102.219:3306
@@ -15,24 +15,6 @@ datasources: @@ -15,24 +15,6 @@ datasources:
15 daos: 15 daos:
16 - com.yoho.message.dal.InBoxMapper 16 - com.yoho.message.dal.InBoxMapper
17 17
18 - q_msg_system:  
19 - servers:  
20 - - 192.168.102.219:3306  
21 - - 192.168.102.219:3306  
22 - username: yh_test  
23 - password: 9nm0icOwt6bMHjMusIfMLw==  
24 - daos:  
25 - - com.yoho.message.dal.IIosTokenDao  
26 - - com.yoho.message.dal.IGetuiTokenDao  
27 - - com.yoho.message.dal.IRecycleTaskDefineDao  
28 - - com.yoho.message.dal.IRecycleTaskUserDao  
29 - - com.yoho.message.dal.SendTaskMapper  
30 - - com.yoho.message.dal.MessageFilterMapper  
31 - - com.yoho.message.dal.MessageSmsLogMapper  
32 - - com.yoho.message.dal.MessageSensitiveWordsMapper  
33 - - com.yoho.message.dal.MessageFilterInfoMapper  
34 - - com.yoho.message.dal.MessageRuleGroupMapper  
35 -  
36 yoho_passport: 18 yoho_passport:
37 servers: 19 servers:
38 - 192.168.102.219:3306 20 - 192.168.102.219:3306
@@ -43,4 +25,5 @@ datasources: @@ -43,4 +25,5 @@ datasources:
43 daos: 25 daos:
44 - com.yoho.message.dal.IUserProfileDao 26 - com.yoho.message.dal.IUserProfileDao
45 - com.yoho.message.dal.IWechatTemplateDao 27 - com.yoho.message.dal.IWechatTemplateDao
  28 +
46 readOnlyInSlave: true 29 readOnlyInSlave: true
1 datasources: 1 datasources:
2 - yoho_sms: 2 + q_msg_system:
3 servers: 3 servers:
4 - - ${jdbc.mysql.yohosms.master}  
5 - - ${jdbc.mysql.yohosms.slave}  
6 - username: ${jdbc.mysql.yohosms.username}  
7 - password: ${jdbc.mysql.yohosms.password}  
8 - maxConnections: 60 4 + - ${jdbc.mysql.yhpush.master}
  5 + - ${jdbc.mysql.yhpush.slave}
  6 + username: ${jdbc.mysql.yhpush.username}
  7 + password: ${jdbc.mysql.yhpush.password}
  8 + maxConnections: 80
9 9
10 yh_inbox: 10 yh_inbox:
11 servers: 11 servers:
@@ -13,44 +13,19 @@ datasources: @@ -13,44 +13,19 @@ datasources:
13 - ${jdbc.mysql.yhmessage.slave} 13 - ${jdbc.mysql.yhmessage.slave}
14 username: ${jdbc.mysql.yhmessage.username} 14 username: ${jdbc.mysql.yhmessage.username}
15 password: ${jdbc.mysql.yhmessage.password} 15 password: ${jdbc.mysql.yhmessage.password}
  16 + maxConnections: 30
16 daos: 17 daos:
17 - com.yoho.message.dal.InBoxMapper 18 - com.yoho.message.dal.InBoxMapper
18 19
19 - yohobuy_logs:  
20 - servers:  
21 - - ${jdbc.mysql.yohologs.master}  
22 - username: ${jdbc.mysql.yohologs.username}  
23 - password: ${jdbc.mysql.yohologs.password}  
24 - daos:  
25 - - com.yoho.message.dal.ISMSLogsDao  
26 -  
27 - q_msg_system:  
28 - servers:  
29 - - ${jdbc.mysql.yhpush.master}  
30 - - ${jdbc.mysql.yhpush.slave}  
31 - username: ${jdbc.mysql.yhpush.username}  
32 - password: ${jdbc.mysql.yhpush.password}  
33 - maxConnections: 80  
34 - daos:  
35 - - com.yoho.message.dal.IIosTokenDao  
36 - - com.yoho.message.dal.IGetuiTokenDao  
37 - - com.yoho.message.dal.IRecycleTaskDefineDao  
38 - - com.yoho.message.dal.IRecycleTaskUserDao  
39 - - com.yoho.message.dal.SendTaskMapper  
40 - - com.yoho.message.dal.MessageFilterMapper  
41 - - com.yoho.message.dal.MessageSmsLogMapper  
42 - - com.yoho.message.dal.MessageSensitiveWordsMapper  
43 - - com.yoho.message.dal.MessageFilterInfoMapper  
44 - - com.yoho.message.dal.MessageRuleGroupMapper  
45 -  
46 yoho_passport: 20 yoho_passport:
47 servers: 21 servers:
48 - ${jdbc.mysql.yhpassport.master} 22 - ${jdbc.mysql.yhpassport.master}
49 - ${jdbc.mysql.yhpassport.slave} 23 - ${jdbc.mysql.yhpassport.slave}
50 username: ${jdbc.mysql.yhpassport.username} 24 username: ${jdbc.mysql.yhpassport.username}
51 password: ${jdbc.mysql.yhpassport.password} 25 password: ${jdbc.mysql.yhpassport.password}
52 - maxConnections: 50 26 + maxConnections: 30
53 daos: 27 daos:
54 - com.yoho.message.dal.IUserProfileDao 28 - com.yoho.message.dal.IUserProfileDao
55 - com.yoho.message.dal.IWechatTemplateDao 29 - com.yoho.message.dal.IWechatTemplateDao
  30 +
56 readOnlyInSlave: ${readOnlyInSlave} 31 readOnlyInSlave: ${readOnlyInSlave}