databases.yml 3.63 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
        - com.yoho.product.dal.ProductSelfShelvesMapper
        - com.yoho.product.dal.ProductSelfShelvesPicMapper
        - com.yoho.product.dal.AuditRejectInfoMapper
        - com.yoho.product.dal.SecondhandInfoMapper
        - com.yoho.product.dal.SecondhandImagesMapper
        - com.yoho.product.dal.SecondhandFlawMapper

   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.BuyerOrderFeedbackMapper
        - com.yoho.order.dal.ExpressCompanyMapper
        - 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.QualityCheckMapper
        - 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
        - com.yoho.order.dal.CameraRecordMapper
        - com.yoho.order.dal.UserCameraRecordMapper
        - com.yoho.order.dal.OrderStatusMonitorMapper
        - com.yoho.order.dal.BusinessLicenseMapper
        - com.yoho.order.dal.LiveRecordTimeMapper
        - com.yoho.order.dal.SignForPackageMapper
        - com.yoho.order.dal.OrderConfigMapper
        - com.yoho.order.dal.PhoneUidCameraMapper
        - com.yoho.order.dal.PhoneUidDepotMapper
        - com.yoho.order.dal.ExpressScreenshotsMapper

   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

   ufo_passport:
      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.ZhimaCertMapper

readOnlyInSlave: ${readOnlyInSlave}