databases.yml
3.99 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
datasources:
yoho_passport:
servers:
- ${jdbc.mysql.yohopassport.master}
- ${jdbc.mysql.yohopassport.slave}
username: ${jdbc.mysql.yohopassport.username}
password: ${jdbc.mysql.yohopassport.password}
yohobuy_logs:
servers:
- ${jdbc.mysql.yohologs.master}
- ${jdbc.mysql.yohologs.master}
username: ${jdbc.mysql.yohologs.username}
password: ${jdbc.mysql.yohologs.password}
daos:
- com.yoho.unions.dal.IUnionLogsDAO
- com.yoho.unions.dal.IUnionClickLogsDAO
- com.yoho.unions.dal.IUnionActivityLogsDAO
- com.yoho.unions.dal.IUnionCallbackLogsDAO
- com.yoho.unions.dal.NowClickLogsMapper
- com.yoho.unions.dal.MarsClickLogsMapper
app:
servers:
- ${bigdate.db.url}
- ${bigdate.db.url}
username: ${bigdate.db.username}
password: ${bigdate.db.password}
daos:
- com.yoho.unions.dal.IAppActivateIdfaListDAO
- com.yoho.unions.dal.IAppActivateUdidListDAO
- com.yoho.unions.dal.BaseUserActiveDayMapper
yh_unions:
servers:
- ${jdbc.mysql.unions.master}
- ${jdbc.mysql.unions.slave}
username: ${jdbc.mysql.unions.username}
password: ${jdbc.mysql.unions.password}
daos:
- com.yoho.unions.dal.IUserOrdersDAO
- com.yoho.unions.dal.IUnionTypeDAO
- com.yoho.unions.dal.IUnionTypeManageDAO
- com.yoho.unions.dal.IUnionOrderPushDAO
- com.yoho.unions.dal.IUnionDepartmentUrlDAO
- com.yoho.unions.dal.IMktMarketingUrlDAO
- com.yoho.unions.dal.IUnionTypeMatchDAO
- com.yoho.unions.dal.ITencentMktActivityDAO
- com.yoho.unions.dal.ITencentMktCouponHistoryDAO
- com.yoho.unions.dal.IUnionActivityDAO
- com.yoho.unions.dal.IUnionConfigDAO
- com.yoho.unions.dal.IUserOrdersRelationDAO
- com.yoho.unions.dal.IChannelGroupDAO
- com.yoho.unions.dal.IChannelSmsDetailDAO
- com.yoho.unions.dal.IChannelGroupConditionDAO
- com.yoho.unions.dal.IChannelGroupBatchDAO
- com.yoho.unions.dal.IChannelSmsBlackDAO
- com.yoho.unions.dal.IUnionUidTypeDAO
- com.yoho.unions.dal.IChannelReportFormDAO
- com.yoho.unions.dal.IMktReportFormDAO
- com.yoho.unions.dal.MktUnionCodeMapper
bigdata_yh_unions:
servers:
- ${jdbc.mysql.bigdataunion.slave}
- ${jdbc.mysql.bigdataunion.slave}
username: ${jdbc.mysql.bigdataunion.username}
password: ${jdbc.mysql.bigdataunion.password}
daos:
- com.yoho.unions.dal.IChannelUserDAO
- com.yoho.unions.dal.AppAdSourceMonitorAnaMapper
- com.yoho.unions.dal.IBaseUdidRelationDAO
- com.yoho.unions.dal.BaseOrderShipmentUdidMapper
- com.yoho.unions.dal.IAppActiveDAO
- com.yoho.unions.dal.AppChannelActiveMapper
- com.yoho.unions.dal.EventPvMapper
- com.yoho.unions.dal.EventUvMapper
bigdata_yoho_passport:
servers:
- ${jdbc.mysql.bigdataunion.slave}
- ${jdbc.mysql.bigdataunion.slave}
username: ${jdbc.mysql.bigdataunion.username}
password: ${jdbc.mysql.bigdataunion.password}
daos:
- com.yoho.unions.dal.IMobilePanChannelDAO
erp_orders:
servers:
- ${jdbc.mysql.platform.erp_orders.slave}
- ${jdbc.mysql.platform.erp_orders.slave}
username: ${jdbc.mysql.platform.erp_orders.username}
password: ${jdbc.mysql.platform.erp_orders.password}
daos:
- com.yoho.unions.dal.ErpOrdersMapper
- com.yoho.unions.dal.ErpOrdersGoodsMapper
- com.yoho.unions.dal.IOrdersMapper
- com.yoho.unions.dal.OrdersCouponsMapper
yh_guang:
servers:
- ${jdbc.mysql.yhguang.master}
- ${jdbc.mysql.yhguang.slave}
username: ${jdbc.mysql.yhguang.username}
password: ${jdbc.mysql.yhguang.password}
maxConnections: 80
daos:
- com.yoho.unions.dal.IArticleDAO
- com.yoho.unions.dal.IArticleBlockDao
readOnlyInSlave: true