databases.yml 1.98 KB
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
        
        
   app:
      servers:
        - ${bigdate.db.url}
        - ${bigdate.db.url}
      username: ${bigdate.db.username}
      password: ${bigdate.db.password}
      daos:
        - com.yoho.unions.dal.IAppActivateIdfaListDAO

   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.IChannelUserDAO
        - com.yoho.unions.dal.IChannelSmsDetailDAO
        - com.yoho.unions.dal.IChannelGroupConditionDAO
        - com.yoho.unions.dal.IChannelGroupBatchDAO
        - com.yoho.unions.dal.IChannelSmsBlackDAO
        - com.yoho.unions.dal.IMobilePanChannelDAO

readOnlyInSlave: true