Authored by mali

platform工程拆分

... ... @@ -37,3 +37,9 @@ obj/
logs/
service/target/
web/target/
web/.settings/
service/.settings/
deploy/.settings/
.settings/
*.classpath
deploy/.gitignore
... ...
... ... @@ -60,10 +60,129 @@
</bean>
<!-- 批量操作服务定义 -->
<!-- 批量操作服务定义 -->
<util:map id="batchImportBusiness" key-type="java.lang.String"
value-type="com.yohobuy.platform.common.service.IBusinessImportService">
<!--<entry key="price" value-ref="PriceImportServiceImpl"></entry>
<entry key="brandCooperation" value-ref="brandCooperationImportServiceImpl"></entry>
<entry key="productPool" value-ref="productPoolImportServiceImpl"></entry>
<entry key="brandProperty" value-ref="BrandPropertyImportService"></entry>
<entry key="searchSort" value-ref="SearchSortImportService"></entry>
<entry key="baseProduct" value-ref="baseProductImportServiceImpl"></entry>
<entry key="productImg" value-ref="batchProdImgImportServiceImpl"></entry>
<entry key="productModelTry" value-ref="prodModelTryImportServiceImpl"></entry>
<entry key="outletModify" value-ref="batchModifyOutletImportServiceImpl"></entry>
<entry key="supplyModify" value-ref="batchModifySupplyImportServiceImpl"></entry>
<entry key="drawlineUserQueue" value-ref="DrawlineUserQueueImportServiceImpl"></entry>
<entry key="yohoCoin" value-ref="yohoCoinImportServiceImpl"></entry>
<entry key="payDeliveryModify" value-ref="batchModifyPayDeliveryImportServiceImpl"></entry>
<entry key="activityProduct" value-ref="activityProductService"></entry>
<entry key="refundExchangeModify" value-ref="batchModifyRefundExchangeImportServiceImpl"></entry>
<entry key="skuFactoryCodeModify" value-ref="updateSkuFactoryCodeServiceImpl"></entry>
<entry key="appTypeModify" value-ref="batchModifyAppTypeImportServiceImpl"></entry>
<entry key="productSaleModify" value-ref="batchModifyProductSaleImportServiceImpl"></entry>
<entry key="storeProductSaleModify" value-ref="batchModifyStoreProductSaleImportServiceImpl"></entry>
<entry key="productTagModify" value-ref="productTagImportServiceImpl"></entry>
<entry key="productPriceAudit" value-ref="batchAuditProductPriceServiceImpl"></entry>
<entry key="offShelveSkn" value-ref="OffShelveSknImportService"></entry>
<entry key="studentPrice" value-ref="studentPriceImportService" />
<entry key="limitProductUid" value-ref="limitUidImportServiceImpl"></entry>
<entry key="onShelveSkn" value-ref="onShelveBatchSknImportService" />
<entry key="categoryLinkProduct" value-ref="categoryLinkProductImportServiceImpl"></entry>
<entry key="batchSknLink" value-ref="batchSknLinkImportServiceImpl"></entry>
<entry key="secKill" value-ref="seckillImportServiceImpl"></entry>
<entry key="shopsPromote" value-ref="shopsPromoteImportService" />
<entry key="depositAdvance" value-ref="depositAdvanceImportServiceImpl"></entry>
<entry key="depositAdvanceTime" value-ref="depositAdvanceTimeImportImpl"></entry>
<entry key="productSingleDay" value-ref="productSingleDayService" />
<entry key="makePromtion" value-ref="MakePromotionImportServiceImpl"></entry>
<entry key="productSingleDay" value-ref="productSingleDayService" />
<entry key="productBundle" value-ref="productBundleService" />
<entry key="productBatch" value-ref="productBatchService" />
<entry key="sockpupetCommentsImport" value-ref="sockpupetCommentsImportServiceImpl"/>
<entry key="makePriceItemImport" value-ref="makePriceServiceImpl"/>
<entry key="productBuyLimitImport" value-ref="productBuyLimitServiceImpl"/>
<entry key="promotionPhrase" value-ref="PhraseBatchImportService"/>
<entry key="skcFactoryCode" value-ref="updateSkcFactoryCodeServiceImpl"/>
<entry key="sknYearAndSeason" value-ref="updateSknYearAndSeasonImpl"/>
<entry key="skuUpmCode" value-ref="updateUpmServiceImpl"/>
<entry key="brandSaleTime" value-ref="productBrandSaleTimeService"/>
<entry key="brandClassic" value-ref="productBrandClassicService"/>
<entry key="expectSaleTime" value-ref="productExpectSaleTimeService"/>
<entry key="brandImageBatch" value-ref="batchBrandImgImportServiceImpl"/>
<entry key="productPhrase" value-ref="productPhraseImportService"/>
<entry key="productSknImport" value-ref="productSknImportServiceImpl"/>
<entry key="productMaterialImport" value-ref="productMaterialServiceImpl"/>
<entry key="recProduct" value-ref="newUserRecProductImportServiceImpl"></entry>
<entry key="vipBatch" value-ref="vipServiceImpl"></entry>
<entry key="couponLimitImport" value-ref="couponLimitServiceImpl"></entry>
<entry key="activitySknImport" value-ref="activityRegistrationProductServiceImpl"></entry>
<entry key="sellerProductImport" value-ref="sellerProductImportService"></entry>
<entry key="unionUrlImport" value-ref="unionUrlImportServiceImpl"></entry>
<entry key="couponProductLimit" value-ref="couponProductLimitImportService"></entry>
<entry key="depositPrdImport" value-ref="depositPrdImportService"/>
<entry key="shopCrossRecServiceImpl" value-ref="shopCrossRecServiceImpl"></entry>
<entry key="advancePrdImport" value-ref="advancePrdImportService"></entry>
<entry key="updateSknName" value-ref="updateProductNameService"></entry>
<entry key="downSknName" value-ref="downloadProductNameService"></entry>
<entry key="productPoolBatchDel" value-ref="ProductPoolBatchDelImportServiceImpl"></entry>
<entry key="followPriceImport" value-ref="followPriceOperateService"></entry>
<entry key="nationalCodeImportService" value-ref="nationalCodeImportService"></entry>
<entry key="newNationalCodeImportService" value-ref="newNationalCodeImportService"></entry>
<entry key="collageImport" value-ref="collageProductServiceImpl"></entry>
<entry key="depositPrdDelImport" value-ref="depositPrdDelImportService" />
<entry key="reportFormChannelIdService" value-ref="reportFormChannelIdServiceImpl"/>
<entry key="distributionBatchImportService" value-ref="distributionBatchImportServiceImpl"/>
<entry key="shopCouponLimitImport" value-ref="shopCouponLimitServiceImpl"></entry>
<entry key="priceUpdateImport" value-ref="priceUpdateImportServiceImpl"></entry>
<entry key="vipReturnCoinBatch" value-ref="vipReturnCoinServiceImpl"></entry>
<entry key="changeSize" value-ref="changeSizeImportServiceImpl"></entry>-->
</util:map>
<!-- 批量操作服务定义 -->
<util:map id="batchExportBusiness" key-type="java.lang.String"
value-type="com.yohobuy.platform.common.service.IBusinessExportService">
<!--<entry key="netSale" value-ref="NetSaleExportServiceImpl"></entry>
<entry key="limitProductReminder" value-ref="LimitProductExportServiceImpl"></entry>
<entry key="drawlineUserQueue" value-ref="DrawlineUserQueueExportServiceImpl"></entry>
<entry key="yohoCoin" value-ref="yohoCoinExportService"></entry>
<entry key="suggestExport" value-ref="suggestExportService"/>
<entry key="linkExport" value-ref="linkExportService"/>
<entry key="linkBatchExport" value-ref="linkBatchExportService"/>
<entry key="brandPayDeliveryExport" value-ref="brandPayDeliveryExportServiceImpl"></entry>
<entry key="brandPayDeliveryCheckExport" value-ref="brandPayDeliveryCheckExportServiceImpl"></entry>
<entry key="productPayDeliveryExport" value-ref="productPayDeliveryExportServiceImpl"></entry>
<entry key="couponLogsExport" value-ref="couponLogsExportServiceImpl"></entry>
<entry key="useCouponLogsExport" value-ref="useCouponLogsExportServiceImpl"></entry>
<entry key="pCouponSnsExport" value-ref="pcouponSnsExportServiceImpl"></entry>
<entry key="baseProduce" value-ref="baseProduceExportServiceImpl"/>
<entry key="productRefundExchangeExport" value-ref="productRefundExchangeExportServiceImpl"></entry>
<entry key="productSortRefundExchangeExport" value-ref="productSortRefundExchangeExportServiceImpl"></entry>
<entry key="couponSendErrorExport" value-ref="couponSendErrorExportService"/>
<entry key="instalmentSknsExport" value-ref="instalmentSknsExportServiceImpl"/>
<entry key="shopSaleExport" value-ref="shopSaleExportServiceImpl"/>
<entry key="productSaleExport" value-ref="productSaleExportServiceImpl"/>
<entry key="productSaleOnShelvesExport" value-ref="productSaleOnShelvesExportServiceImpl"/>
<entry key="limitProductUid" value-ref="limitUidExportServiceImpl" />
<entry key="sns" value-ref="showCommentExportService" />
<entry key="changePriceExport" value-ref="changePriceExportServiceImpl"/>
<entry key="productPriceExport" value-ref="productPriceExportServiceImpl"/>
<entry key="makePromotionExportServiceImpl" value-ref="MakePromotionExportServiceImpl"/>
<entry key="userCouponHistoryExport" value-ref="userCouponHistoryExportService"/>
<entry key="userShareHistoryExport" value-ref="userShareHistoryExportService"/>
<entry key="productBatchServiceExport" value-ref="productBatchServiceExportImpl"/>
<entry key="productBundleServiceExport" value-ref="productBundleServiceExportImpl"/>
<entry key="exportConsultServiceExport" value-ref="exportConsultServiceImpl"/>
<entry key="productTagServiceExport" value-ref="productTagExportServiceImpl"/>
<entry key="channelProductServiceExport" value-ref="channelProductServiceExportImpl"/>
<entry key="promotionPhraseExport" value-ref="promotionPhraseExportImpl"/>
<entry key="reportFormExport" value-ref="reportFormServiceImpl"/>
<entry key="channelProductServiceExport" value-ref="channelProductServiceExportImpl"/>
<entry key="productExportServiceImpl" value-ref="productExportService"/>
<entry key="timeLimitDepositImportErrorMsgExport" value-ref="timeLimitDepositImportErrorMsgExportService" />
<entry key="couponExport" value-ref="couponExportService" />
<entry key="distributionBatchExportService" value-ref="distributionBatchExportServiceImpl"/>
<entry key="collageActivityExport" value-ref="collageActivitiesServiceImpl" />
<entry key="batchExportReturnCoin" value-ref="VipReturnCoinExportServiceImpl" />-->
</util:map>
<!-- 批量操作服务定义 -->
... ... @@ -187,4 +306,10 @@
<bean id="batchForkJoinPool" class="java.util.concurrent.ForkJoinPool" >
</bean>
<!--Excel模板生成器配置-->
<util:map id="TemplateCreators" key-type="java.lang.String"
value-type="com.yohobuy.platform.common.service.IExcelTemplatService">
<!--商家端批量创建商品模板-->
</util:map>
</beans>
\ No newline at end of file
... ...
... ... @@ -53,7 +53,7 @@ rabbit_password=yoho
#zookeeper address
zkAddress=192.168.102.45:2181
#dev
web.context=pfproduct
web.context=pfseller
execute.limitcode.host=192.168.90.9
execute.shopmessage.host=192.168.90.9
... ...
consumer:
- address: 192.168.102.45:5672
username: yoho
password: yoho
consumers:
- class: com.yohobuy.platform.product.mq.CleanSknCacheCommonConsumer
topic: platform.clearMemcachedBySkn
federation:
- class: com.yohobuy.platform.product.mq.ProductMqCompleteConsumer
topic: platform.cunsumer.complete
federation:
- class: com.yohobuy.platform.product.mq.SecKillStorageMessageConsumer
topic: secKillStorageUpdateTopic
federation:
- class: com.yohobuy.platform.product.mq.StorageMessageConsumerEx
topic: storageUpdateTopicEx
federation:
# - class: com.yohobuy.platform.sns.mq.ShareOrderAuditMessageConsumer
# topic: sns.shareOrderAuditTopic
# federation:
producer:
- address: 192.168.102.45:5672
username: yoho
... ...
... ... @@ -56,7 +56,7 @@ execute.update_product_price.host=${execute.update_product_price.host}
#zookeeper address
zkAddress=${zkAddress}
web.context=pfproduct
web.context=pfseller
# erp shops login service\
erp.shops.login.url=${erp.shops.login.url}
... ...
producer:
- address: ${rabbit_common}
username: ${rabbit_common_user}
... ...