升级
pib 升级
2022-12-7升级文档
2023-03-23 上线
2022-12-14发布
2023-02-15 上线
2023-02-22 上线
2023-03-01 上线
2023-03-08 上线
2023-03-15 上线
2023-03-22 上线
2023-03-29 上线
2023-04-06 上线
2023-04-12 上线
2023-04-13 上线
2023-04-19 上线
2023-04-25 上线
2023-04-24 上线
2023-04-27 上线
2023-05-09 上线
2023-05-17 上线
2023-05-18 上线
2023-05-24 上线
2023-05-30 上线
2023-05-31 上线
2023-06-07 上线
2023-6-12 上线
2023-6-14 上线
2023-6-15 上线
2023-6-27 上线
2023-06-28 上线
2023-06-29 上线
2023-07-05 上线
2023-07-11 上线
2023-07-12 升级
2023-07-19 升级
2023-07-20 上线
2023-07-26 上线
2023-08-02 上线
2023-08-09 上线
2023-08-16 上线
2023-08-30 上线
2023-09-06 上线
2024-02-21 预升级
2024-03-13 上线
2024-06-26 上线
2024-11-13上线
2024-11-19 待升级
本文档使用 MrDoc 发布
-
+
首页
2023-02-15 上线
# 代码合并 > 1 删除 m-lis 下的项目 mdc-product-amazon > 2 合并代码 mc 下 mc-biz-base-modules > 3 合并代码 m-lis 下项目的 mdc-product-lazada > 4 合并代码 mps-lis 下项目的 mps-product-lazada # nacos > 1 mdc-prd 组下新建 mdc-amazon-product-service.yml dev_mdc_group ```yaml spring: jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 datasource: dynamic: druid: initial-size: 5 max-active: 20 max-wait: 3000 validation-query: 'select 1' primary: product_1 strict: true datasource: # 在线商品 product_1: username: c1_kandeng password: c1_igVeU-y7Hx url: jdbc:mysql://tidb-kandeng.mabangerp.com:3306/mabang_amzitem?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false&useAffectedRows=true driver-class-name: com.mysql.cj.jdbc.Driver db-type: com.alibaba.druid.pool.DruidDataSource product_2: username: c2_kandeng password: c2_igVeU-y7Hx url: jdbc:mysql://private-tidb-kandeng.mabangerp.com:3307/mabang_amzitem?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false&useAffectedRows=true driver-class-name: com.mysql.cj.jdbc.Driver db-type: com.alibaba.druid.pool.DruidDataSource # 店铺 shop_1: username: c1_mabang password: c1_j7p@KUqbnKp url: jdbc:mysql://mysql.mabangerp.com:3306/mabang?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false&useAffectedRows=true driver-class-name: com.mysql.cj.jdbc.Driver db-type: com.alibaba.druid.pool.DruidDataSource shop_2: username: c2_mabang password: c2_j7p@KUqbnKp url: jdbc:mysql://private-mysql.mabangerp.com:3307/mabang?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false&useAffectedRows=true driver-class-name: com.mysql.cj.jdbc.Driver db-type: com.alibaba.druid.pool.DruidDataSource mybatis-plus: type-aliases-package: com.mabang.**.entity global-config: banner: false mdc: api-doc: enable: true home-title: mdc-amazon-product log: enable: true cache: enable: false message: rabbitmq: enable: true consumer: enable: true servers: default: host: rabbitmq-kd.mabangerp.com port: 5672 username: kandeng password: soeVO9BS3xE9GJUlANo1 virtual-host: kandeng-publish publisher-confirm-type: correlated publisher-returns: true redis: enable: true auto-write: true primary: defaultTemplete servers: defaultTemplete: host: redis-publish.mabangerp.com port: 6379 password: 1lFccHspnNRWdop0 timeout: 10000 database: 0 dynamic-datasource: enable: true cluster-param-name: clusterId routes: product: route-name: product default-ds: product_1 mapper-package: com.mabang.product.mapper.product route-rule: product_{clusterId} enableRouteRule: true shop: route-name: shop default-ds: shop_1 mapper-package: com.mabang.product.mapper.shop route-rule: shop_{clusterId} enableRouteRule: true feign: client: config: default: readTimeout: 5000 connectTimeout: 5000 management: endpoint: health: probes: enabled: true livenessState: enabled: true readinessState: enabled: true endpoints: web: base-path: / path-mapping: health: healthz logging: config: local-path: /data/logs logstash-server: mdc-dev-logstash.mabangerp.com:5602 ``` > 2 mdc-prd 组下新建 mdc-product-lazada-service.yml dev_mdc_group 删除mps-prd组下的 mdc-product-lazada-service.yml ```yaml spring: autoconfigure: exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 datasource: dynamic: druid: initial-size: 5 max-active: 20 max-wait: 3000 validation-query: 'select 1' primary: publishTask strict: true datasource: publish_1: username: c1_kandeng password: c1_igVeU-y7Hx url: jdbc:mysql://tidb-kandeng.mabangerp.com:3306/mabang_publishlazada?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false&useAffectedRows=true driver-class-name: com.mysql.cj.jdbc.Driver db-type: com.alibaba.druid.pool.DruidDataSource publish_2: username: c2_kandeng password: c2_igVeU-y7Hx url: jdbc:mysql://private-tidb-kandeng.mabangerp.com:3306/mabang_publishlazada?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false&useAffectedRows=true driver-class-name: com.mysql.cj.jdbc.Driver db-type: com.alibaba.druid.pool.DruidDataSource mybatis-plus: type-aliases-package: com.mabang.**.entity global-config: banner: false mdc: api-doc: enable: true home-title: MDC-Lazada-商品服务 log: enable: true cache: enable: false redis: enable: true auto-write: true primary: defaultTemplete servers: defaultTemplete: host: redis-publish.mabangerp.com port: 6379 password: 1lFccHspnNRWdop0 timeout: 10000 database: 0 dynamic-datasource: enable: true cluster-param-name: clusterId routes: publish: route-name: publish default-ds: publish_1 mapper-package: com.mabang.product.mapper.publish route-rule: publish_{clusterId} enableRouteRule: true logging: config: local-path: /data/logs logstash-server: mdc-dev-logstash.mabangerp.com:5602 rocketmq: name-server: rocketmq-mdc.mabangerp.com:9876 producer: group: mabang-rocketmq-receive # 设置通过 feign 调用的超时时间 feign: client: config: default: readTimeout: 30000 connectTimeout: 30000 ``` # jenkins > 1 打包 mc 下 mc-biz-base-modules > 2 mdc-message 下构建 mabang-receive-message、mabang-push-message > 3 MPS-LIS 下构建 mps-amazon-product > 4 在 M—LIS PRD 下复制 mdc-pib-product 为 mdc-amazon-product,并构建 > 5 打包 M—LIS 下 mdc-product-lazada > 6 打包 Mps—LIS 下 mps-product-lazada
chenjunan
2023年2月16日 09:40
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
Markdown文件
分享
链接
类型
密码
更新密码