|
|
datasources:
|
|
|
${jdbc.mysql.yohomarssearch.datasources}:
|
|
|
yh_mars:
|
|
|
servers:
|
|
|
- ${jdbc.mysql.yohomarssearch.master}
|
|
|
- ${jdbc.mysql.yohomarssearch.slave}
|
|
|
username: ${jdbc.mysql.yohomarssearch.username}
|
|
|
password: ${jdbc.mysql.yohomarssearch.password}
|
|
|
|
|
|
${jdbc.mysql.yohosocialsearch.datasources}:
|
|
|
yh_social:
|
|
|
servers:
|
|
|
- ${jdbc.mysql.yohosocialsearch.master}
|
|
|
- ${jdbc.mysql.yohosocialsearch.slave}
|
|
|
username: ${jdbc.mysql.yohosocialsearch.username}
|
|
|
password: ${jdbc.mysql.yohosocialsearch.password}
|
|
|
- ${jdbc.mysql.yhsocial.master}
|
|
|
- ${jdbc.mysql.yhsocial.slave}
|
|
|
username: ${jdbc.mysql.yhsocial.username}
|
|
|
password: ${jdbc.mysql.yhsocial.password}
|
|
|
daos:
|
|
|
- com.yoho.search.dal.SocialUserMapper
|
|
|
|
|
|
${jdbc.mysql.yohosocialdetailsearch.datasources}:
|
|
|
yh_cms:
|
|
|
servers:
|
|
|
- ${jdbc.mysql.yohosocialdetailsearch.master}
|
|
|
- ${jdbc.mysql.yohosocialdetailsearch.slave}
|
|
|
username: ${jdbc.mysql.yohosocialdetailsearch.username}
|
|
|
password: ${jdbc.mysql.yohosocialdetailsearch.password}
|
|
|
- ${jdbc.mysql.yhnow.master}
|
|
|
- ${jdbc.mysql.yhnow.slave}
|
|
|
username: ${jdbc.mysql.yhnow.username}
|
|
|
password: ${jdbc.mysql.yhnow.password}
|
|
|
daos:
|
|
|
- com.yoho.search.dal.SocialUserDetailMapper
|
|
|
|
|
|
readOnlyInSlave: ${readOnlyInSlave} |
|
|
\ No newline at end of file |
|
|
readOnlyInSlave: true |
|
|
\ No newline at end of file |
...
|
...
|
|