|
|
@@ -1,5 +1,5 @@
|
|
|
# Microservice Platform - Shop Recycle Services Configuration
|
|
|
-# This file contains global configuration for all microservices
|
|
|
+# Spring Cloud format with standardized application.properties
|
|
|
|
|
|
# Global configuration shared across all services
|
|
|
global:
|
|
|
@@ -15,7 +15,6 @@ global:
|
|
|
# Base chart configuration
|
|
|
base:
|
|
|
enabled: true
|
|
|
-
|
|
|
# shop-recycle-payment Configuration
|
|
|
shop-recycle-payment:
|
|
|
enabled: true
|
|
|
@@ -38,13 +37,6 @@ shop-recycle-payment:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-payment
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/paymentdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8080"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -54,7 +46,6 @@ shop-recycle-payment:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-store Configuration
|
|
|
shop-recycle-store:
|
|
|
enabled: true
|
|
|
@@ -77,13 +68,6 @@ shop-recycle-store:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-store
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/storedb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8081"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -93,7 +77,6 @@ shop-recycle-store:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-pis Configuration
|
|
|
shop-recycle-pis:
|
|
|
enabled: true
|
|
|
@@ -116,13 +99,6 @@ shop-recycle-pis:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-pis
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/pisdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8082"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -132,7 +108,6 @@ shop-recycle-pis:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-merchant Configuration
|
|
|
shop-recycle-merchant:
|
|
|
enabled: true
|
|
|
@@ -155,13 +130,6 @@ shop-recycle-merchant:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-merchant
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/merchantdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8083"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -171,7 +139,6 @@ shop-recycle-merchant:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-account Configuration
|
|
|
shop-recycle-account:
|
|
|
enabled: true
|
|
|
@@ -194,13 +161,6 @@ shop-recycle-account:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-account
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/accountdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8084"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -210,7 +170,6 @@ shop-recycle-account:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-msg Configuration
|
|
|
shop-recycle-msg:
|
|
|
enabled: true
|
|
|
@@ -233,13 +192,6 @@ shop-recycle-msg:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-msg
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/msgdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8085"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -249,7 +201,6 @@ shop-recycle-msg:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-order-center Configuration
|
|
|
shop-recycle-order-center:
|
|
|
enabled: true
|
|
|
@@ -272,13 +223,6 @@ shop-recycle-order-center:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-order-center
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/order-centerdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8086"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -288,7 +232,6 @@ shop-recycle-order-center:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-wechat Configuration
|
|
|
shop-recycle-wechat:
|
|
|
enabled: true
|
|
|
@@ -311,13 +254,6 @@ shop-recycle-wechat:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-wechat
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/wechatdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8087"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -327,7 +263,6 @@ shop-recycle-wechat:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-data-statistics Configuration
|
|
|
shop-recycle-data-statistics:
|
|
|
enabled: true
|
|
|
@@ -350,13 +285,6 @@ shop-recycle-data-statistics:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-data-statistics
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/data-statisticsdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8088"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -366,7 +294,6 @@ shop-recycle-data-statistics:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-platform Configuration
|
|
|
shop-recycle-platform:
|
|
|
enabled: true
|
|
|
@@ -389,13 +316,6 @@ shop-recycle-platform:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-platform
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/platformdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8089"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -405,7 +325,6 @@ shop-recycle-platform:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-wechat-web Configuration
|
|
|
shop-recycle-wechat-web:
|
|
|
enabled: true
|
|
|
@@ -428,13 +347,6 @@ shop-recycle-wechat-web:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-wechat-web
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/wechat-webdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8090"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -444,7 +356,6 @@ shop-recycle-wechat-web:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-payment-web Configuration
|
|
|
shop-recycle-payment-web:
|
|
|
enabled: true
|
|
|
@@ -467,13 +378,6 @@ shop-recycle-payment-web:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-payment-web
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/payment-webdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8091"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -483,7 +387,6 @@ shop-recycle-payment-web:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-store-wechat-web Configuration
|
|
|
shop-recycle-store-wechat-web:
|
|
|
enabled: true
|
|
|
@@ -506,13 +409,6 @@ shop-recycle-store-wechat-web:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-store-wechat-web
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/store-wechat-webdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8092"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -522,7 +418,6 @@ shop-recycle-store-wechat-web:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-platform-pc-web Configuration
|
|
|
shop-recycle-platform-pc-web:
|
|
|
enabled: true
|
|
|
@@ -545,13 +440,6 @@ shop-recycle-platform-pc-web:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-platform-pc-web
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/platform-pc-webdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8093"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -561,7 +449,6 @@ shop-recycle-platform-pc-web:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-out-web Configuration
|
|
|
shop-recycle-out-web:
|
|
|
enabled: true
|
|
|
@@ -584,13 +471,6 @@ shop-recycle-out-web:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-out-web
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/out-webdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8094"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -600,7 +480,6 @@ shop-recycle-out-web:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-store-pc-web Configuration
|
|
|
shop-recycle-store-pc-web:
|
|
|
enabled: true
|
|
|
@@ -623,13 +502,6 @@ shop-recycle-store-pc-web:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-store-pc-web
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/store-pc-webdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8095"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -639,7 +511,6 @@ shop-recycle-store-pc-web:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-login-center Configuration
|
|
|
shop-recycle-login-center:
|
|
|
enabled: true
|
|
|
@@ -662,13 +533,6 @@ shop-recycle-login-center:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-login-center
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/login-centerdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8096"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -678,7 +542,6 @@ shop-recycle-login-center:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-oss-web Configuration
|
|
|
shop-recycle-oss-web:
|
|
|
enabled: true
|
|
|
@@ -701,13 +564,6 @@ shop-recycle-oss-web:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-oss-web
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/oss-webdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8097"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -717,7 +573,6 @@ shop-recycle-oss-web:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-gateway Configuration
|
|
|
shop-recycle-gateway:
|
|
|
enabled: true
|
|
|
@@ -740,13 +595,6 @@ shop-recycle-gateway:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-gateway
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/gatewaydb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8098"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -756,7 +604,6 @@ shop-recycle-gateway:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-sche Configuration
|
|
|
shop-recycle-sche:
|
|
|
enabled: true
|
|
|
@@ -779,13 +626,6 @@ shop-recycle-sche:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-sche
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/schedb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8099"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -795,7 +635,6 @@ shop-recycle-sche:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-merchant-wechat-web Configuration
|
|
|
shop-recycle-merchant-wechat-web:
|
|
|
enabled: true
|
|
|
@@ -818,13 +657,6 @@ shop-recycle-merchant-wechat-web:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-merchant-wechat-web
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/merchant-wechat-webdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8100"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -834,7 +666,6 @@ shop-recycle-merchant-wechat-web:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-import-web Configuration
|
|
|
shop-recycle-import-web:
|
|
|
enabled: true
|
|
|
@@ -857,13 +688,6 @@ shop-recycle-import-web:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-import-web
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/import-webdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8101"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -873,7 +697,6 @@ shop-recycle-import-web:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-marketer-pc-web Configuration
|
|
|
shop-recycle-marketer-pc-web:
|
|
|
enabled: true
|
|
|
@@ -896,13 +719,6 @@ shop-recycle-marketer-pc-web:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-marketer-pc-web
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/marketer-pc-webdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8102"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -912,7 +728,6 @@ shop-recycle-marketer-pc-web:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-erp-pc-web Configuration
|
|
|
shop-recycle-erp-pc-web:
|
|
|
enabled: true
|
|
|
@@ -935,13 +750,6 @@ shop-recycle-erp-pc-web:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-erp-pc-web
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/erp-pc-webdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8103"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|
|
|
@@ -951,7 +759,6 @@ shop-recycle-erp-pc-web:
|
|
|
web:
|
|
|
exposure:
|
|
|
include: health,info,metrics
|
|
|
-
|
|
|
# shop-recycle-merchant-pc-web Configuration
|
|
|
shop-recycle-merchant-pc-web:
|
|
|
enabled: true
|
|
|
@@ -974,13 +781,6 @@ shop-recycle-merchant-pc-web:
|
|
|
cpu: 500m
|
|
|
memory: 512Mi
|
|
|
config:
|
|
|
- properties:
|
|
|
- spring.application.name: shop-recycle-merchant-pc-web
|
|
|
- spring.jpa.hibernate.ddl-auto: update
|
|
|
- spring.datasource.url: jdbc:mysql://mysql-service:3306/merchant-pc-webdb
|
|
|
- spring.datasource.username: root
|
|
|
- spring.datasource.password: password
|
|
|
- server.port: "8104"
|
|
|
yml:
|
|
|
logging:
|
|
|
level:
|