databases.yml 2.51 KB
datasources:
   ufo_product:
      servers:
        - ${jdbc.mysql.ufo.master}
        - ${jdbc.mysql.ufo.slave}
      username: ${jdbc.mysql.ufo.username}
      password: ${jdbc.mysql.ufo.password}
      maxTotal: 100
      daos:
        - com.yohobuy.platform.dal.product.IBrandDao

   ufo_order:
      servers:
        - ${jdbc.mysql.ufo.master}
        - ${jdbc.mysql.ufo.slave}
      username: ${jdbc.mysql.ufo.username}
      password: ${jdbc.mysql.ufo.password}
      maxTotal: 100
      daos:
        - com.yoho.order.dal.BuyerOrderMapper
        - com.yoho.order.dal.SellerOrderMapper
        - com.yoho.order.dal.SellerOrderGoodsMapper
        - com.yoho.order.dal.ExpressInfoMapper
        - com.yoho.order.dal.BuyerOrderGoodsMapper
        - com.yoho.order.dal.BuyerOrderMetaMapper
        - com.yoho.order.dal.ExpressCompanyMapper
        - com.yoho.order.dal.BuyerOrderMetaMapper
        - com.yoho.order.dal.SellerOrderMetaMapper
        - com.yoho.order.dal.OrdersPayMapper
        - com.yoho.order.dal.AppraiseAddressMapper
        - com.yoho.order.dal.ExpressRecordMapper
        - com.yoho.order.dal.AreaMapper
        - com.yoho.order.dal.OrderOperateRecordMapper
        - com.yoho.order.dal.TradeBillsMapper
        - com.yoho.order.dal.StoredSellerMapper
        - com.yoho.order.dal.SellerWalletDetailMapper
        - com.yoho.order.dal.SellerWalletMapper
        - com.yoho.order.dal.QiniuLiveRecordMapper
        
   ufo_resource:
      servers:
        - ${jdbc.mysql.ufo.master}
        - ${jdbc.mysql.ufo.slave}
      username: ${jdbc.mysql.ufo.username}
      password: ${jdbc.mysql.ufo.password}
      maxTotal: 100
      daos:
        - com.yoho.ufo.dal.ResourcesMapper
        - com.yoho.ufo.dal.ResourcesContentMapper
        - com.yoho.ufo.dal.ResourcesContentDataMapper
        - com.yoho.ufo.dal.ResourcesGoodsPoolMapper

   erp_product:
      servers:
         - ${jdbc.mysql.erp.master}
         - ${jdbc.mysql.erp.slave}
      username: ${jdbc.mysql.erp.username}
      password: ${jdbc.mysql.erp.password}
      maxTotal: 100
      daos:
        - com.yoho.erpproduct.dal.ErpProductSortMapper

   ufo_promotion:
      servers:
        - ${jdbc.mysql.ufo.master}
        - ${jdbc.mysql.ufo.slave}
      username: ${jdbc.mysql.ufo.username}
      password: ${jdbc.mysql.ufo.password}
      maxTotal: 100
      daos:
        - com.yoho.ufo.dal.CouponMapper
        - com.yoho.ufo.dal.CouponProductLimitMapper
        - com.yoho.ufo.dal.CouponTypeMapper
        - com.yoho.ufo.dal.UserCouponMapper
readOnlyInSlave: ${readOnlyInSlave}