deason 4 年之前
父节点
当前提交
54f2e98690

+ 1 - 3
config-center-server/src/main/resources/examcloud/test-40/application-API.properties

@@ -13,6 +13,4 @@ spring.freemarker.request-context-attribute=request
 spring.freemarker.settings.number_format=#
 spring.freemarker.suffix=.ftl
 
-question.api.domain=https://www.ea100.com.cn
-oe.admin.api.domain=https://www.ea100.com.cn
-examcloud.api.domain=https://www.ea100.com.cn
+examcloud.api.domain=https://192.168.10.40

+ 6 - 7
config-center-server/src/main/resources/examcloud/test-40/application-OE.properties

@@ -5,14 +5,13 @@ examcloud.bootstrap.app.appId=4
 examcloud.bootstrap.app.secretKey=123456
 
 #mongodb
-mguri.username=examcloud
-mguri.password=examcloud_123
-mguri.hostAndPortGroup=192.168.10.139:27017
-
-#mguri.database=XXX
+mguri.username=examcloud_oe_test
+mguri.password=examcloud_oe_test
+#mguri.hostAndPortGroup=XXX
+mguri.database=examcloud_oe_test
 mguri.maxPoolSize=50
-spring.data.mongodb.grid-fs-database=examcloud_core_oe
-spring.data.mongodb.database=examcloud_core_oe
+spring.data.mongodb.database=examcloud_oe_test
+spring.data.mongodb.grid-fs-database=examcloud_oe_test
 
 #upyun
 app.upyun.uploadUrl=/offline-exam/dev/

+ 7 - 9
config-center-server/src/main/resources/examcloud/test-40/application-OES.properties

@@ -5,15 +5,13 @@ examcloud.bootstrap.app.appId=5
 examcloud.bootstrap.app.secretKey=123456
 
 #mongodb
-mguri.username=examcloud
-mguri.password=examcloud_123
-mguri.hostAndPortGroup=192.168.10.139:27017
-
-
-#mguri.database=XXX
-mguri.maxPoolSize=80
-spring.data.mongodb.grid-fs-database=examcloud_core_oe
-spring.data.mongodb.database=examcloud_core_oe
+mguri.username=examcloud_oe_test
+mguri.password=examcloud_oe_test
+#mguri.hostAndPortGroup=XXX
+mguri.database=examcloud_oe_test
+mguri.maxPoolSize=50
+spring.data.mongodb.database=examcloud_oe_test
+spring.data.mongodb.grid-fs-database=examcloud_oe_test
 
 #upyun
 app.upyun.uploadUrl=/offline-exam/aliyun-test/

+ 7 - 8
config-center-server/src/main/resources/examcloud/test-40/application-OET.properties

@@ -5,14 +5,13 @@ examcloud.bootstrap.app.appId=6
 examcloud.bootstrap.app.secretKey=123456
 
 #mongodb
-mguri.username=examcloud
-mguri.password=examcloud_123
-mguri.hostAndPortGroup=192.168.10.139:27017
-
-#mguri.database=XXX
-#mguri.maxPoolSize=50
-spring.data.mongodb.grid-fs-database=examcloud_core_oe
-spring.data.mongodb.database=examcloud_core_oe
+mguri.username=examcloud_oe_test
+mguri.password=examcloud_oe_test
+#mguri.hostAndPortGroup=XXX
+mguri.database=examcloud_oe_test
+mguri.maxPoolSize=50
+spring.data.mongodb.database=examcloud_oe_test
+spring.data.mongodb.grid-fs-database=examcloud_oe_test
 
 #upyun
 app.upyun.uploadUrl=/offline-exam/test/

+ 6 - 7
config-center-server/src/main/resources/examcloud/test-40/application-Q.properties

@@ -21,14 +21,13 @@ hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=600000
 hystrix.threadpool.default.coreSize=500
 
 #mongodb config
-mguri.username=examcloud
-mguri.password=examcloud_123
-mguri.hostAndPortGroup=192.168.10.139:27017
-
-#mguri.database=XXX
+mguri.username=examcloud_question_test
+mguri.password=examcloud_question_test
+#mguri.hostAndPortGroup=XXX
+mguri.database=examcloud_question_test
 mguri.maxPoolSize=50
-spring.data.mongodb.database=comm_ques_bank
-spring.data.mongodb.grid-fs-database=comm_ques_bank
+spring.data.mongodb.database=examcloud_question_test
+spring.data.mongodb.grid-fs-database=examcloud_question_test
 
 # upyun config
 upyun.uploadUrl=/comm-ques-bank/prod/exam-paper-file/

+ 15 - 15
config-center-server/src/main/resources/examcloud/test-40/application.properties

@@ -16,14 +16,14 @@ eureka.client.registry-fetch-interval-seconds=3
 eureka.client.instance-info-replication-interval-seconds=5
 eureka.client.initial-instance-info-replication-interval-seconds=5
 
-eureka.client.serviceUrl.defaultZone=http://192.168.10.230:1111/eureka/
+eureka.client.serviceUrl.defaultZone=http://192.168.10.40:1111/eureka/
 
 #datasource
-dsurl.host=192.168.10.201
-dsurl.port=3309
+dsurl.host=192.168.10.30
+dsurl.port=3306
 dsurl.database=exam_cloud_test
-spring.datasource.username=root
-spring.datasource.password=root
+spring.datasource.username=exam_cloud_test
+spring.datasource.password=exam_cloud_test
 
 spring.datasource.url=jdbc:mysql://${dsurl.host}:${dsurl.port}/${dsurl.database}?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=GMT%2b8&rewriteBatchedStatements=true
 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
@@ -33,7 +33,7 @@ spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
 druid.mysql.usePingMethod=false
 spring.datasource.druid.initial-size=20
 spring.datasource.druid.min-idle=20
-spring.datasource.druid.max-active=500
+spring.datasource.druid.max-active=300
 spring.datasource.druid.max-wait=5000
 spring.datasource.druid.validation-query=SELECT 1
 spring.datasource.druid.validation-query-timeout=2000
@@ -55,10 +55,10 @@ spring.datasource.druid.stat-view-servlet.reset-enable=true
 spring.datasource.druid.stat-view-servlet.login-username=admin
 spring.datasource.druid.stat-view-servlet.login-password=admin
 
-spring.redis.host=192.168.10.139
+spring.redis.host=192.168.10.30
 spring.redis.port=6379
-spring.redis.password=123456
-spring.redis.database=9
+spring.redis.password=examcloud
+spring.redis.database=8
 
 #log
 examcloud.web.log.normalResponseLogEnable=true
@@ -94,11 +94,11 @@ $$.$facepp.faceid.api_key=5510119673a52b1710eb9d967f0127f0c7309cb45fdc249ab6c610
 $$.$facepp.faceid.api_secret=5dc6d5cb45fcb3c572499fd4d10c58f3d81a16af1f487f313ff5db38fe00aaf7b2107c0a0c395728d6710bc309e8926a
 
 #mongodb
-mguri.username=examcloud
-mguri.password=examcloud_123
-mguri.hostAndPortGroup=192.168.10.139:27017
-mguri.database=admin
-mguri.maxPoolSize=50
+#mguri.username=XXX
+#mguri.password=XXX
+mguri.hostAndPortGroup=192.168.10.30:27017
+#mguri.database=admin
+#mguri.maxPoolSize=50
 spring.data.mongodb.uri=mongodb://${mguri.username}:${mguri.password}@${mguri.hostAndPortGroup}/${mguri.database}?maxPoolSize=${mguri.maxPoolSize}&maxIdleTimeMS=6000
 
 #baidu
@@ -126,5 +126,5 @@ $report.enable=true
 $report.mq-type=rocketmq
 $rocketmq-accesskey=accesskey
 $rocketmq-secretkey=secretkey
-$rocketmq-namesrv-addr=192.168.10.230:9876
+$rocketmq-namesrv-addr=192.168.10.40:9876