Authored by wangshusheng

切换cobar

datasources:
yoho_passport:
servers:
- ${jdbc.mysql.yohopassport.master}
- ${jdbc.mysql.yohopassport.slave}
username: ${jdbc.mysql.yohopassport.username}
password: ${jdbc.mysql.yohopassport.password}
username: ${jdbc.mysql.cobar.username}
password: ${jdbc.mysql.cobar.password}
cobar: true
maxConnections: 80
minIdle: 20
maxIdle: 40
yohobuy_logs:
servers:
- ${jdbc.mysql.yh_logs.master}
... ... @@ -33,11 +34,12 @@ datasources:
- com.yoho.unions.dal.BaseUserActiveDayMapper
yh_unions:
servers:
- ${jdbc.mysql.yh_union.master}
- ${jdbc.mysql.yh_union.slave}
username: ${jdbc.mysql.yh_union.username}
password: ${jdbc.mysql.yh_union.password}
username: ${jdbc.mysql.cobar.username}
password: ${jdbc.mysql.cobar.password}
cobar: true
maxConnections: 80
minIdle: 20
maxIdle: 40
daos:
- com.yoho.unions.dal.IUserOrdersDAO
- com.yoho.unions.dal.IUnionTypeDAO
... ... @@ -66,8 +68,6 @@ datasources:
- com.yoho.unions.dal.UnionShareSettlementMapper
- com.yoho.unions.dal.UnionShareUserMapper
bigdata_yh_unions:
servers:
- ${jdbc.mysql.bigdataunion.slave}
... ... @@ -118,12 +118,12 @@ datasources:
- com.yoho.unions.dal.OrdersGiftCardMapper
yh_guang:
servers:
- ${jdbc.mysql.yhguang.master}
- ${jdbc.mysql.yhguang.slave}
username: ${jdbc.mysql.yhguang.username}
password: ${jdbc.mysql.yhguang.password}
username: ${jdbc.mysql.cobar.username}
password: ${jdbc.mysql.cobar.password}
cobar: true
maxConnections: 80
minIdle: 20
maxIdle: 40
daos:
- com.yoho.unions.dal.IArticleDAO
- com.yoho.unions.dal.IArticleBlockDao
... ...