databases.yml 2.15 KB
datasources:
   ${jdbc.mysql.yhbsearch.datasources}:  
      servers:
        - ${jdbc.mysql.yhbsearch.master}
        - ${jdbc.mysql.yhbsearch.slave}
      username: ${jdbc.mysql.yhbsearch.username}
      password: ${jdbc.mysql.yhbsearch.password}
      maxConnections: 60

   ${jdbc.mysql.yhbsearch.dataanalysis.datasources}:
      servers:
        - ${jdbc.mysql.yhbsearch.dataanalysis.master}
        - ${jdbc.mysql.yhbsearch.dataanalysis.slave}
      username: ${jdbc.mysql.yhbsearch.dataanalysis.username}
      password: ${jdbc.mysql.yhbsearch.dataanalysis.password}
      maxConnections: 60
      daos:
        - com.yoho.search.dal.YohoProductAnalysisMapper

   ${jdbc.mysql.ufosearch.datasources}:
      servers:
        - ${jdbc.mysql.ufosearch.master}
        - ${jdbc.mysql.ufosearch.slave}
      username: ${jdbc.mysql.ufosearch.username}
      password: ${jdbc.mysql.ufosearch.password}
      maxConnections: 60
      daos:
        - com.yoho.search.dal.UfoBrandMapper
        - com.yoho.search.dal.UfoBrandSeriesMapper
        - com.yoho.search.dal.UfoGoodsImagesMapper
        - com.yoho.search.dal.UfoGoodsMapper
        - com.yoho.search.dal.UfoProductMapper
        - com.yoho.search.dal.UfoProductColorMapper
        - com.yoho.search.dal.UfoProductPoolMapper
        - com.yoho.search.dal.UfoProductPoolDetailMapper
        - com.yoho.search.dal.UfoProductSortMapper
        - com.yoho.search.dal.UfoSizeMapper
        - com.yoho.search.dal.UfoStorageMapper
        - com.yoho.search.dal.UfoStoragePriceMapper
        - com.yoho.search.dal.UfoSearchSortRelationMapper
        - com.yoho.search.dal.UfoBuyerOrderGoodsMapper
        - com.yoho.search.dal.UfoBuyerOrderMapper
        - com.yoho.search.dal.Yoho2ufoProductMapper
        - com.yoho.search.dal.BigdataUfoUvscoreMapper
        - com.yoho.search.dal.ProductRecommendMapper
        - com.yoho.search.dal.BigdataUfoRankMapper
        - com.yoho.search.dal.BigdataUfoRankBMapper
        - com.yoho.search.dal.UfoProductSalesMapper
        - com.yoho.search.dal.BigdataUfoSalesMoneyMapper
        - com.yoho.search.dal.UfoSuggestWordMapper

readOnlyInSlave: ${readOnlyInSlave}