Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yaconf
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
yaconf
Commits
68db2119
Commit
68db2119
authored
Jun 19, 2021
by
luhongguang
Browse files
Options
Browse Files
Download
Plain Diff
update:处理冲突
parents
940af212
e366fa94
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
287 additions
and
42 deletions
+287
-42
interface.ini
interface.ini
+146
-25
mongo.ini
mongo.ini
+25
-0
mysql.ini
mysql.ini
+76
-17
redis.ini
redis.ini
+40
-0
No files found.
interface.ini
View file @
68db2119
This diff is collapsed.
Click to expand it.
mongo.ini
View file @
68db2119
...
@@ -7,6 +7,31 @@
...
@@ -7,6 +7,31 @@
;商户项目继承common + 自己的配置 + 生产环境特有有配置,此节中配置会覆盖父级的相同配置
;商户项目继承common + 自己的配置 + 生产环境特有有配置,此节中配置会覆盖父级的相同配置
[prod-gateway : gateway : common]
[prod-gateway : gateway : common]
gateway.host
=
"rs_bp_merchant_01.int.yidian-inc.com:27107,rs_bp_merchant_02.int.yidian-inc.com:27107,rs_bp_merchant_03.int.yidian-inc.com:27107"
gateway.uriOptions.username
=
'rs_merchant_rw'
gateway.uriOptions.password
=
'w#JR9tQOVud$jh43V7v#B9Bd#kD4w%'
gateway.uriOptions.replicaSet
=
'rs_bp'
gateway.uriOptions.readPreference
=
'secondaryPreferred'
gateway.uriOptions.connectTimeoutMS
=
500
gateway.uriOptions.socketTimeoutMS
=
6000
gateway.uriOptions.w
=
1
gateway.uriOptions.wTimeoutMS
=
3000
gateway.driverOptions.typeMap.root
=
'array'
gateway.driverOptions.typeMap.document
=
'array'
xhprof.host
=
"rs_bp_merchant_01.int.yidian-inc.com:27107,rs_bp_merchant_02.int.yidian-inc.com:27107,rs_bp_merchant_03.int.yidian-inc.com:27107"
xhprof.uriOptions.username
=
'rs_merchant_rw'
xhprof.uriOptions.password
=
'w#JR9tQOVud$jh43V7v#B9Bd#kD4w%'
xhprof.uriOptions.replicaSet
=
'rs_bp'
xhprof.uriOptions.readPreference
=
'secondaryPreferred'
xhprof.uriOptions.connectTimeoutMS
=
500
xhprof.uriOptions.socketTimeoutMS
=
6000
xhprof.uriOptions.w
=
1
xhprof.uriOptions.wTimeoutMS
=
3000
xhprof.driverOptions.typeMap.root
=
'array'
xhprof.driverOptions.typeMap.document
=
'array'
;商户项目继承common + 自己的配置 + 测试环境特有有配置,此节中配置会覆盖父级的相同配置
;商户项目继承common + 自己的配置 + 测试环境特有有配置,此节中配置会覆盖父级的相同配置
[perf-gateway : prod-gateway : gateway : common]
[perf-gateway : prod-gateway : gateway : common]
...
...
mysql.ini
View file @
68db2119
...
@@ -6,6 +6,15 @@
...
@@ -6,6 +6,15 @@
; 生产环境
; 生产环境
[prod-merchant : merchant : common]
[prod-merchant : merchant : common]
merchant.database_type
=
'mysql'
merchant.database_name
=
'merchant'
merchant.connect_timeout
=
10
merchant.username
=
'bp_merchant_rw'
merchant.password
=
'wNC@zFJzPf1yM$Cv8yB8#AO3i&Ecgx'
merchant.charset
=
'utf8mb4'
merchant.write.host
=
'w.bp_merchant.int.yidian-inc.com:3306'
merchant.read.host
=
'r.bp_merchant_1.int.yidian-inc.com:3306,r.bp_merchant_2.int.yidian-inc.com:3306'
; 预发环境
; 预发环境
[perf-merchant : prod-merchant : merchant : common]
[perf-merchant : prod-merchant : merchant : common]
...
@@ -32,27 +41,42 @@ merchant.charset='utf8mb4'
...
@@ -32,27 +41,42 @@ merchant.charset='utf8mb4'
merchant.write.host
=
'w.bp_test_mysql1.int.yidian-inc.com:3306'
merchant.write.host
=
'w.bp_test_mysql1.int.yidian-inc.com:3306'
merchant.read.host
=
'r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
merchant.read.host
=
'r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
[interaction : common]
; 生产环境
[prod-interaction : interaction : common]
interaction.database_type
=
'mysql'
interaction.database_name
=
'interaction'
interaction.connect_timeout
=
10
interaction.username
=
'bp_interaction_rw'
interaction.password
=
'wNC@zFJzPf1yM$Cv8yB8#AO3i&Ecgx'
interaction.charset
=
'utf8mb4'
interaction.write.host
=
'10.138.7.56:3306'
interaction.read.host
=
'10.138.7.57:3306,10.138.7.58:3306'
; 预发环境
[perf-merchant : prod-merchant : merchant : common]
; 测试环境
; 测试环境
[test-interaction : prod-interaction : interaction : common]
[test-interaction : prod-interaction : interaction : common]
merchant
.database_type
=
'mysql'
interaction
.database_type
=
'mysql'
merchant
.database_name
=
'interaction'
interaction
.database_name
=
'interaction'
merchant
.connect_timeout
=
10
interaction
.connect_timeout
=
10
merchant
.username
=
'bp_test_rw'
interaction
.username
=
'bp_test_rw'
merchant
.password
=
'hf#EPZn9RTppfg9cfboSHVFP38n1hZ'
interaction
.password
=
'hf#EPZn9RTppfg9cfboSHVFP38n1hZ'
merchant
.charset
=
'utf8mb4'
interaction
.charset
=
'utf8mb4'
merchant
.write.host
=
'w.bp_test_mysql4.int.yidian-inc.com:3309'
interaction
.write.host
=
'w.bp_test_mysql4.int.yidian-inc.com:3309'
merchant
.read.host
=
'r.bp_test_mysql4_1.int.yidian-inc.com:3309,r.bp_test_mysql4_2.int.yidian-inc.com:3309'
interaction
.read.host
=
'r.bp_test_mysql4_1.int.yidian-inc.com:3309,r.bp_test_mysql4_2.int.yidian-inc.com:3309'
; 联调环境
; 联调环境
[dev-interaction : prod-interaction : interaction : common]
[dev-interaction : prod-interaction : interaction : common]
merchant
.database_type
=
'mysql'
interaction
.database_type
=
'mysql'
merchant
.database_name
=
'interaction'
interaction
.database_name
=
'interaction'
merchant
.connect_timeout
=
10
interaction
.connect_timeout
=
10
merchant
.username
=
'bp_test_rw'
interaction
.username
=
'bp_test_rw'
merchant
.password
=
'hf#EPZn9RTppfg9cfboSHVFP38n1hZ'
interaction
.password
=
'hf#EPZn9RTppfg9cfboSHVFP38n1hZ'
merchant
.charset
=
'utf8mb4'
interaction
.charset
=
'utf8mb4'
merchant
.write.host
=
'w.bp_test_mysql1.int.yidian-inc.com:3306'
interaction
.write.host
=
'w.bp_test_mysql1.int.yidian-inc.com:3306'
merchant
.read.host
=
'r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
interaction
.read.host
=
'r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
[goods : common]
[goods : common]
...
@@ -74,6 +98,15 @@ goods.charset='utf8mb4'
...
@@ -74,6 +98,15 @@ goods.charset='utf8mb4'
goods.write.host
=
'w.bp_test_mysql1.int.yidian-inc.com:3306'
goods.write.host
=
'w.bp_test_mysql1.int.yidian-inc.com:3306'
goods.read.host
=
'r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
goods.read.host
=
'r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
distribution.database_type
=
'mysql'
distribution.database_name
=
'distribution'
distribution.connect_timeout
=
10
distribution.username
=
'bp_test_rw'
distribution.password
=
'hf#EPZn9RTppfg9cfboSHVFP38n1hZ'
distribution.charset
=
'utf8mb4'
distribution.write.host
=
'w.bp_test_mysql1.int.yidian-inc.com:3306'
distribution.read.host
=
'r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
;开发联调测试
;开发联调测试
[dev-goods : prod-goods : merchant : common]
[dev-goods : prod-goods : merchant : common]
goods.database_type
=
'mysql'
goods.database_type
=
'mysql'
...
@@ -83,4 +116,30 @@ goods.username='bp_test_rw'
...
@@ -83,4 +116,30 @@ goods.username='bp_test_rw'
goods.password
=
'hf#EPZn9RTppfg9cfboSHVFP38n1hZ'
goods.password
=
'hf#EPZn9RTppfg9cfboSHVFP38n1hZ'
goods.charset
=
'utf8mb4'
goods.charset
=
'utf8mb4'
goods.write.host
=
'w.bp_test_mysql1.int.yidian-inc.com:3306'
goods.write.host
=
'w.bp_test_mysql1.int.yidian-inc.com:3306'
goods.read.host
=
'r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
goods.read.host
=
'r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
\ No newline at end of file
distribution.database_type
=
'mysql'
distribution.database_name
=
'distribution'
distribution.connect_timeout
=
10
distribution.username
=
'bp_test_rw'
distribution.password
=
'hf#EPZn9RTppfg9cfboSHVFP38n1hZ'
distribution.charset
=
'utf8mb4'
distribution.write.host
=
'w.bp_test_mysql1.int.yidian-inc.com:3306'
distribution.read.host
=
'r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
[tcc : common]
[prod-tcc : tcc : common]
[dev-tcc : prod-tcc : tcc : common]
tccIndex.database_type
=
'mysql'
tccIndex.database_name
=
'bp_tcc'
tccIndex.connect_timeout
=
10
tccIndex.username
=
'bp_test_rw'
tccIndex.password
=
'hf#EPZn9RTppfg9cfboSHVFP38n1hZ'
tccIndex.charset
=
'utf8'
tccIndex.write.host
=
'w.bp_test_mysql5.int.yidian-inc.com:3310'
tccIndex.read.host
[]
='r.bp_test_mysql5_1.int.yidian-inc.com:3310'
tccIndex.read.host
[]
='r.bp_test_mysql5_2.int.yidian-inc.com:3310'
[test-tcc : dev-tcc]
\ No newline at end of file
redis.ini
View file @
68db2119
...
@@ -3,6 +3,16 @@
...
@@ -3,6 +3,16 @@
[gateway : common]
[gateway : common]
[prod-gateway : gateway : common]
[prod-gateway : gateway : common]
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18134/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'none'
cacheConnect.prefix
=
''
[perf-gateway : gateway : common]
[perf-gateway : gateway : common]
[test-gateway : gateway : common]
[test-gateway : gateway : common]
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
;codis表示集群业务名,mode表示连接数据源的模式(包括codis|sentinel|redis),serializer表示自动序列化方式(包括none|php|igbinary)
...
@@ -25,6 +35,24 @@ cacheConnect.prefix=''
...
@@ -25,6 +35,24 @@ cacheConnect.prefix=''
;商户项目继承common + 自己的配置 + 生产环境特有有配置,此节中配置会覆盖父级的相同配置
;商户项目继承common + 自己的配置 + 生产环境特有有配置,此节中配置会覆盖父级的相同配置
[prod-merchant : merchant : common]
[prod-merchant : merchant : common]
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18135/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'none'
cacheConnect.prefix
=
''
countConnect.mode
=
'codis'
countConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18138/topom'
countConnect.fallback
=
''
countConnect.password
=
''
countConnect.select
=
0
countConnect.timeout
=
1
countConnect.serializer
=
'none'
countConnect.prefix
=
''
;商户项目继承common + 自己的配置 + 测试环境特有有配置,此节中配置会覆盖父级的相同配置
;商户项目继承common + 自己的配置 + 测试环境特有有配置,此节中配置会覆盖父级的相同配置
[perf-merchant : prod-merchant : merchant : common]
[perf-merchant : prod-merchant : merchant : common]
...
@@ -51,3 +79,15 @@ countConnect.prefix=''
...
@@ -51,3 +79,15 @@ countConnect.prefix=''
[dev-merchant : test-merchant : prod-merchant : merchant : common]
[dev-merchant : test-merchant : prod-merchant : merchant : common]
[dev-interaction : test-merchant : prod-merchant : merchant : common]
[dev-interaction : test-merchant : prod-merchant : merchant : common]
[prod-interaction : prod-merchant : merchant : common]
cacheConnect.mode
=
'codis'
cacheConnect.topom
=
'bj2-e05-126-165-6-lg.yidian.com:18139/topom'
cacheConnect.fallback
=
''
cacheConnect.password
=
''
cacheConnect.select
=
0
cacheConnect.timeout
=
1
cacheConnect.serializer
=
'none'
cacheConnect.prefix
=
''
[pre-interaction : prod-interaction : prod-merchant : merchant : common]
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment