databases.yml 3.37 KB
datasources:
   yoho_passport:
      servers:
        - 192.168.102.219:3306
        - 192.168.102.219:3306
      username: yh_test
      password: 9nm0icOwt6bMHjMusIfMLw==
      cobar: true
      maxConnections: 80
      minIdle: 20
      maxIdle: 40

   yohobuy_logs:
      servers:
        - 192.168.102.219:3306
        - 192.168.102.219:3306
      username: yh_test
      password: 9nm0icOwt6bMHjMusIfMLw==
      daos:
        - com.yoho.unions.dal.IUnionLogsDAO
        - com.yoho.unions.dal.IUnionClickLogsDAO
        - com.yoho.unions.dal.IUnionActivityLogsDAO
        - com.yoho.unions.dal.IUnionCallbackLogsDAO
        
   app:
      servers:
        - 192.168.102.219:3306
        - 192.168.102.219:3306
      username: yh_test
      password: 9nm0icOwt6bMHjMusIfMLw==
      daos:
        - com.yoho.unions.dal.IAppActivateIdfaListDAO
        - com.yoho.unions.dal.IAppActivateUdidListDAO
        - com.yoho.unions.dal.BaseUserActiveDayMapper

   yh_unions:
      servers:
        - 192.168.102.219:3306
        - 192.168.102.219:3306
      username: yh_test
      password: 9nm0icOwt6bMHjMusIfMLw==
      cobar: true
      maxConnections: 80
      minIdle: 20
      maxIdle: 40
      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.IMobilePanChannelDAO
        - com.yoho.unions.dal.IUnionUidTypeDAO
        - com.yoho.unions.dal.IChannelReportFormDAO
        - com.yoho.unions.dal.IMktReportFormDAO


   bigdata_yh_unions:
      servers:
        - 118.89.235.30
        - 118.89.235.30
      username: yh_test_bigdata
      password: rALdkYPZCr4QyzBfVCGdXA==
      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

   erp_orders:
      servers:
        - 192.168.102.219:3306
        - 192.168.102.219:3306
      username: yh_test
      password: 9nm0icOwt6bMHjMusIfMLw==
      daos:
        - com.yoho.unions.dal.ErpOrdersMapper
        - com.yoho.unions.dal.ErpOrdersGoodsMapper
        - com.yoho.unions.dal.IOrdersMapper
        - com.yoho.unions.dal.OrdersCouponsMapper

   yh_guang:
    servers:
      - 192.168.102.219:3306
      - 192.168.102.219:3306
    username: yh_test
    password: 9nm0icOwt6bMHjMusIfMLw==
    daos:
      - com.yoho.unions.dal.IArticleDAO
      - com.yoho.unions.dal.IArticleBlockDao

readOnlyInSlave: true