Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6850e367
authored
Jan 09, 2024
by
yangxiujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:配置文件修改
1 parent
3ae512ff
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
117 additions
and
117 deletions
project-dispatch/src/main/resources/application-dev.yaml
project-dispatch/src/main/resources/application.yaml
project-gateway/src/main/resources/application.yaml
project-order/src/main/resources/application.yaml
project-order/src/test/resources/application.yaml
project-user/src/main/resources/application-dev.yaml
project-user/src/main/resources/application.yaml
project-dispatch/src/main/resources/application-dev.yaml
View file @
6850e36
...
...
@@ -48,7 +48,7 @@ spring:
enabled
:
false
datasource
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://1
24.70.188.174
:32306/saas_aftersale_test?serverTimezone=Asia/Shanghai
url
:
jdbc:mysql://1
92.168.0.62
:32306/saas_aftersale_test?serverTimezone=Asia/Shanghai
username
:
root
password
:
boxi_dev_0725
# url: jdbc:mysql://localhost:32306/saas_aftersale_test?serverTimezone=Asia/Shanghai
...
...
project-dispatch/src/main/resources/application.yaml
View file @
6850e36
...
...
@@ -36,10 +36,10 @@ spring:
cloud
:
nacos
:
discovery
:
server-addr
:
1
24.70.188.174
:8848
server-addr
:
1
92.168.0.62
:8848
group
:
project
config
:
server-addr
:
1
24.70.188.174
:8848
server-addr
:
1
92.168.0.62
:8848
group
:
project
file-extension
:
yaml
import-check
:
...
...
@@ -50,7 +50,7 @@ spring:
-
nacos:redis-config.yaml?group=project&refreshEnabled=true
datasource
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://1
24.70.188.174
:32306/saas_aftersale_test?serverTimezone=Asia/Shanghai
url
:
jdbc:mysql://1
92.168.0.62
:32306/saas_aftersale_test?serverTimezone=Asia/Shanghai
username
:
root
password
:
boxi_dev_0725
type
:
com.alibaba.druid.pool.DruidDataSource
...
...
project-gateway/src/main/resources/application.yaml
View file @
6850e36
...
...
@@ -6,11 +6,11 @@ spring:
cloud
:
nacos
:
config
:
server-addr
:
1
24.70.188.174
:8848
server-addr
:
1
92.168.0.62
:8848
group
:
project
file-extension
:
yaml
discovery
:
server-addr
:
1
24.70.188.174
:8848
server-addr
:
1
92.168.0.62
:8848
group
:
project
config
:
import
:
...
...
project-order/src/main/resources/application.yaml
View file @
6850e36
...
...
@@ -11,10 +11,10 @@ spring:
cloud
:
nacos
:
discovery
:
server-addr
:
1
24.70.188.174
:8848
server-addr
:
1
92.168.0.62
:8848
group
:
project
config
:
server-addr
:
1
24.70.188.174
:8848
server-addr
:
1
92.168.0.62
:8848
group
:
project
file-extension
:
yaml
import-check
:
...
...
@@ -30,7 +30,7 @@ spring:
# - optional:nacos:datasource-config.yaml
datasource
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://1
24.70.188.174
:32306/saas_aftersale_test?serverTimezone=Asia/Shanghai
url
:
jdbc:mysql://1
92.168.0.62
:32306/saas_aftersale_test?serverTimezone=Asia/Shanghai
username
:
root
password
:
boxi_dev_0725
type
:
com.alibaba.druid.pool.DruidDataSource
...
...
@@ -66,7 +66,7 @@ SaaS:
ak
:
216d013687ba46f5ad990e9380ec56c6
userAccount
:
1YL+MfLj/Oy70Dvbvn3mYg==
userPassword
:
EDcMZqTNwRv/ZvGJ8KG+bg==
encryptionPassWord
:
64e1cde3f9144bfb
encryptionPassWord
:
ceshidt123456!@#
bean
:
server
:
https://bean-test.bshg.com.cn
app-key
:
eDZEhTCxAcM9paRfwPjAM7RGkfmbf15S_PEA
...
...
project-order/src/test/resources/application.yaml
View file @
6850e36
server
:
port
:
8013
spring
:
application
:
name
:
project-order
jackson
:
default-property-inclusion
:
NON_NULL
time-zone
:
GMT+8
date-format
:
yyyy-MM-dd HH:mm:ss
cloud
:
nacos
:
discovery
:
server-addr
:
127.0.0.1:8848
group
:
project
username
:
nacos
password
:
nacos
config
:
server-addr
:
127.0.0.1:8848
group
:
project
file-extension
:
yaml
import-check
:
# no config file
enabled
:
false
username
:
nacos
password
:
nacos
config
:
import
:
-
nacos:redis-config.yaml?group=project&refreshEnabled=true
-
nacos:bean-kafka-config.yaml?group=project&refreshEnabled=true
#config:
# import:
# - optional:nacos:project-order.yaml
# - optional:nacos:datasource-config.yaml
datasource
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://127.0.0.1:32306/saas_aftersale_test?serverTimezone=Asia/Shanghai
username
:
boxi
password
:
boxi_dev_0725
type
:
com.alibaba.druid.pool.DruidDataSource
seata
:
application-id
:
${spring.application.name}
tx-service-group
:
${spring.application.name}-group
service
:
vgroup-mapping
:
project-order-group
:
default
grouplist
:
default
:
127.0.0.1:8091
mybatis-plus
:
global-config
:
db-config
:
id-type
:
auto
configuration
:
log-impl
:
org.apache.ibatis.logging.stdout.StdOutImpl
sentry
:
dsn
:
http://85293a9310fc4a8187422a7a257fc1ba@sentry.zjhuixinyun.com/8
# Set traces_sample_rate to 1.0 to capture 100%
# of transactions for performance monitoring.
# We recommend adjusting this value in production.
tracesSampleRate
:
1.0
exception-resolver-order
:
-2147483647
SaaS
:
url
:
https://pea-test.bshg.com.cn
ak
:
64e1cde3f9144bfb850b7d37c51af559
userAccount
:
sMvf3yZWA69lKcvlgKcOHQ==
userPassword
:
qjOHxpQPXLnJP+Jq1CZGBQ==
encryptionPassWord
:
64e1cde3f9144bfb
bean
:
server
:
https://bean-test.bshg.com.cn
app-key
:
eDZEhTCxAcM9paRfwPjAM7RGkfmbf15S_PEA
secret-key
:
9kB3ESrYhh8A08nta7CjnYn2Jw1wAEXH_PEA
scheduler
:
init-engineer-capacity
:
# 每天22点1次
cron-expr
:
0 0 22 * * ?
day-offset-begin
:
1
day-offset-end
:
20
rewrite-force
:
true
calc-engineer-capacity
:
# 8-20点,每30分钟1次
cron-expr
:
0 */30 1-23 * * ?
day-offset-begin
:
0
day-offset-end
:
20
calc-org-capacity
:
# 8-20点,每小时1次
cron-expr
:
0 0 1-23 * * ?
day-offset-begin
:
0
day-offset-end
:
20
logging
:
level
:
root
:
info
org.hibernate.type.descriptor.sql.BasicBinder
:
trace
\ No newline at end of file
#server:
# port: 8013
#
#spring:
# application:
# name: project-order
# jackson:
# default-property-inclusion: NON_NULL
# time-zone: GMT+8
# date-format: yyyy-MM-dd HH:mm:ss
# cloud:
# nacos:
# discovery:
# server-addr: 127.0.0.1:8848
# group: project
# username: nacos
# password: nacos
# config:
# server-addr: 127.0.0.1:8848
# group: project
# file-extension: yaml
# import-check:
# # no config file
# enabled: false
# username: nacos
# password: nacos
# config:
# import:
# - nacos:redis-config.yaml?group=project&refreshEnabled=true
# - nacos:bean-kafka-config.yaml?group=project&refreshEnabled=true
# #config:
# # import:
# # - optional:nacos:project-order.yaml
# # - optional:nacos:datasource-config.yaml
# datasource:
# driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://127.0.0.1:32306/saas_aftersale_test?serverTimezone=Asia/Shanghai
# username: boxi
# password: boxi_dev_0725
# type: com.alibaba.druid.pool.DruidDataSource
#
#seata:
# application-id: ${spring.application.name}
# tx-service-group: ${spring.application.name}-group
# service:
# vgroup-mapping:
# project-order-group: default
# grouplist:
# default: 127.0.0.1:8091
#
#mybatis-plus:
# global-config:
# db-config:
# id-type: auto
# configuration:
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
#
#sentry:
# dsn: http://85293a9310fc4a8187422a7a257fc1ba@sentry.zjhuixinyun.com/8
#
# # Set traces_sample_rate to 1.0 to capture 100%
# # of transactions for performance monitoring.
# # We recommend adjusting this value in production.
# tracesSampleRate: 1.0
# exception-resolver-order: -2147483647
#
#SaaS:
# url: https://pea-test.bshg.com.cn
# ak: 64e1cde3f9144bfb850b7d37c51af559
# userAccount: sMvf3yZWA69lKcvlgKcOHQ==
# userPassword: qjOHxpQPXLnJP+Jq1CZGBQ==
# encryptionPassWord: 64e1cde3f9144bfb
#bean:
# server: https://bean-test.bshg.com.cn
# app-key: eDZEhTCxAcM9paRfwPjAM7RGkfmbf15S_PEA
# secret-key: 9kB3ESrYhh8A08nta7CjnYn2Jw1wAEXH_PEA
#
#scheduler:
# init-engineer-capacity:
# # 每天22点1次
# cron-expr: 0 0 22 * * ?
# day-offset-begin: 1
# day-offset-end: 20
# rewrite-force: true
#
# calc-engineer-capacity:
# # 8-20点,每30分钟1次
# cron-expr: 0 */30 1-23 * * ?
# day-offset-begin: 0
# day-offset-end: 20
#
# calc-org-capacity:
# # 8-20点,每小时1次
# cron-expr: 0 0 1-23 * * ?
# day-offset-begin: 0
# day-offset-end: 20
#logging:
# level:
# root: info
# org.hibernate.type.descriptor.sql.BasicBinder: trace
\ No newline at end of file
project-user/src/main/resources/application-dev.yaml
View file @
6850e36
...
...
@@ -7,10 +7,10 @@ spring:
cloud
:
nacos
:
discovery
:
server-addr
:
1
24.70.188.174
:8848
server-addr
:
1
92.168.0.62
:8848
group
:
project
config
:
server-addr
:
1
24.70.188.174
:8848
server-addr
:
1
92.168.0.62
:8848
group
:
project
file-extension
:
yaml
config
:
...
...
@@ -20,7 +20,7 @@ spring:
allow-bean-definition-overriding
:
true
datasource
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://1
24.70.188.174
:32306/saas_aftersale_test?serverTimezone=Asia/Shanghai
url
:
jdbc:mysql://1
92.168.0.62
:32306/saas_aftersale_test?serverTimezone=Asia/Shanghai
username
:
root
password
:
boxi_dev_0725
type
:
com.alibaba.druid.pool.DruidDataSource
...
...
project-user/src/main/resources/application.yaml
View file @
6850e36
...
...
@@ -7,10 +7,10 @@ spring:
cloud
:
nacos
:
discovery
:
server-addr
:
1
24.70.188.174
:8848
server-addr
:
1
92.168.0.62
:8848
group
:
project
config
:
server-addr
:
1
24.70.188.174
:8848
server-addr
:
1
92.168.0.62
:8848
group
:
project
file-extension
:
yaml
config
:
...
...
@@ -20,7 +20,7 @@ spring:
allow-bean-definition-overriding
:
true
datasource
:
driver-class-name
:
com.mysql.cj.jdbc.Driver
url
:
jdbc:mysql://1
24.70.188.174
:32306/saas_aftersale_test?serverTimezone=Asia/Shanghai
url
:
jdbc:mysql://1
92.168.0.62
:32306/saas_aftersale_test?serverTimezone=Asia/Shanghai
username
:
root
password
:
boxi_dev_0725
type
:
com.alibaba.druid.pool.DruidDataSource
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment