Kaynağa Gözat

update examcloud-test-pre

deason 1 yıl önce
ebeveyn
işleme
203d756c4c

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

@@ -13,4 +13,4 @@ spring.freemarker.suffix=.ftl
 # ********** other config **********
 #
 examcloud.api.device.record.active=true
-examcloud.api.domain=https://www.ea100.com.cn
+examcloud.api.domain=https://www.exam-cloud.site

+ 1 - 1
config-center-server/src/main/resources/examcloud/test-pre/application-D.properties

@@ -25,7 +25,7 @@ $dock.orgList[0].impl=cn.com.qmth.examcloud.exchange.dock.service.impl.SxsfdxDoc
 #
 # ********** exchange api config **********
 #
-$qmth.exchange.urlPrefix=https://192.168.10.240
+$qmth.exchange.urlPrefix=https://www.exam-cloud.site
 $qmth.exchange.findExamUrl=/api/exchange/outer/exam/getExam
 $qmth.exchange.saveExamUrl=/api/exchange/outer/exam/saveExam
 $qmth.exchange.saveStudentUrl=/api/exchange/outer/student/saveStudent

+ 8 - 0
config-center-server/src/main/resources/examcloud/test-pre/application-M.properties

@@ -25,3 +25,11 @@ $app.paper.clean.time=1
 #
 hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=600000
 hystrix.threadpool.default.coreSize=500
+#
+# ********** db mysql config **********
+#
+dsurl.host=qmth-pre-examcloud-2.rwlb.rds.aliyuncs.com
+dsurl.port=3306
+dsurl.database=ec_m_exam_cloud
+spring.datasource.username=qmth_pre
+spring.datasource.password=qmth_pre_123

+ 5 - 5
config-center-server/src/main/resources/examcloud/test-pre/application-OE.properties

@@ -7,13 +7,13 @@ $rmp.cloud.oe=/api/core/oe/admin
 #
 # ********** mongodb config **********
 #
-mguri.username=examcloud
-mguri.password=examcloud_123
-mguri.hostAndPortGroup=192.168.10.139:27017
+#mguri.username=XXX
+#mguri.password=XXX
+#mguri.hostAndPortGroup=XXX
 #mguri.database=XXX
 mguri.maxPoolSize=50
-spring.data.mongodb.database=examcloud_core_oe
-spring.data.mongodb.grid-fs-database=examcloud_core_oe
+spring.data.mongodb.grid-fs-database=examcloud-core-oe
+spring.data.mongodb.database=examcloud-core-oe
 #
 # ********** pushScore api config **********
 #

+ 5 - 5
config-center-server/src/main/resources/examcloud/test-pre/application-OES.properties

@@ -7,13 +7,13 @@ $rmp.cloud.oe.student=/api/core/oe/student/
 #
 # ********** mongodb config **********
 #
-mguri.username=examcloud
-mguri.password=examcloud_123
-mguri.hostAndPortGroup=192.168.10.139:27017
+#mguri.username=XXX
+#mguri.password=XXX
+#mguri.hostAndPortGroup=XXX
 #mguri.database=XXX
 mguri.maxPoolSize=80
-spring.data.mongodb.database=examcloud_core_oe
-spring.data.mongodb.grid-fs-database=examcloud_core_oe
+spring.data.mongodb.grid-fs-database=examcloud-core-oe
+spring.data.mongodb.database=examcloud-core-oe
 #
 # ********** datasource config **********
 #

+ 5 - 5
config-center-server/src/main/resources/examcloud/test-pre/application-OET.properties

@@ -7,13 +7,13 @@ $rmp.cloud.oe.student.face=/api/core/oe/student/face
 #
 # ********** mongodb config **********
 #
-mguri.username=examcloud
-mguri.password=examcloud_123
-mguri.hostAndPortGroup=192.168.10.139:27017
+#mguri.username=XXX
+#mguri.password=XXX
+#mguri.hostAndPortGroup=XXX
 #mguri.database=XXX
 #mguri.maxPoolSize=50
-spring.data.mongodb.database=examcloud_core_oe
-spring.data.mongodb.grid-fs-database=examcloud_core_oe
+spring.data.mongodb.grid-fs-database=examcloud-core-oe
+spring.data.mongodb.database=examcloud-core-oe
 #
 # ********** xxl job config **********
 #

+ 1 - 1
config-center-server/src/main/resources/examcloud/test-pre/application-P.properties

@@ -16,7 +16,7 @@ $upyun.site.1.uploadUrl=/ecs-print/test/
 #
 # ********** question api prefix config **********
 #
-$question.url.prefix=https://192.168.10.240
+$question.url.prefix=https://www.exam-cloud.site
 #
 # ********** dataDir config **********
 #

+ 5 - 5
config-center-server/src/main/resources/examcloud/test-pre/application-Q.properties

@@ -10,13 +10,13 @@ spring.servlet.multipart.max-request-size=200MB
 #
 # ********** mongodb config **********
 #
-mguri.username=examcloud
-mguri.password=examcloud_123
-mguri.hostAndPortGroup=192.168.10.139:27017
+#mguri.username=XXX
+#mguri.password=XXX
+#mguri.hostAndPortGroup=XXX
 #mguri.database=XXX
 mguri.maxPoolSize=50
-spring.data.mongodb.database=comm_ques_bank
-spring.data.mongodb.grid-fs-database=comm_ques_bank
+spring.data.mongodb.database=comm-ques-bank
+spring.data.mongodb.grid-fs-database=comm-ques-bank
 #
 # ********** upload config **********
 #

+ 31 - 31
config-center-server/src/main/resources/examcloud/test-pre/application.properties

@@ -14,7 +14,7 @@ management.endpoints.web.exposure.include=health,info,config-refresh
 #
 # ********** eureka config **********
 #
-eureka.client.serviceUrl.defaultZone=http://192.168.10.240:1111/eureka/
+eureka.client.serviceUrl.defaultZone=http://192.168.12.243:1111/eureka/
 eureka.instance.instance-id=${spring.cloud.client.ip-address}:${server.port}
 eureka.instance.lease-renewal-interval-in-seconds=3
 eureka.instance.lease-expiration-duration-in-seconds=6
@@ -26,17 +26,17 @@ eureka.client.initial-instance-info-replication-interval-seconds=5
 #
 # ********** db mysql config **********
 #
-dsurl.host=192.168.10.201
-dsurl.port=3309
-dsurl.database=exam_cloud_test
-spring.datasource.username=exam_cloud_test
-spring.datasource.password=exam_cloud_test
+dsurl.host=qmth-pre-examcloud-1.rwlb.rds.aliyuncs.com
+dsurl.port=3306
+dsurl.database=exam_cloud_pre
+spring.datasource.username=qmth_pre
+spring.datasource.password=qmth_pre_123
 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
 spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
 spring.jpa.hibernate.ddl-auto=validate
-spring.datasource.druid.initial-size=2
-spring.datasource.druid.min-idle=2
+spring.datasource.druid.initial-size=0
+spring.datasource.druid.min-idle=0
 spring.datasource.druid.max-active=350
 spring.datasource.druid.max-wait=3000
 spring.datasource.druid.validation-query=SELECT 1
@@ -61,19 +61,19 @@ spring.datasource.druid.stat-view-servlet.login-password=Qmth2020
 #
 # ********** db redis config **********
 #
-spring.redis.host=192.168.10.139
+spring.redis.host=qmth-pre-examcloud.redis.rds.aliyuncs.com
 spring.redis.port=6379
-spring.redis.password=123456
-spring.redis.database=9
+spring.redis.password=qmth_pre_123
+spring.redis.database=1
 #
 # ********** db mongodb config **********
 #
-mguri.username=examcloud
-mguri.password=examcloud_123
-mguri.hostAndPortGroup=192.168.10.139:27017
+mguri.username=root
+mguri.password=qmth_pre_123
+mguri.hostAndPortGroup=qmth-pre-examcloud.mongodb.rds.aliyuncs.com:3717
 mguri.database=admin
 mguri.maxPoolSize=50
-spring.data.mongodb.uri=mongodb://${mguri.username}:${mguri.password}@${mguri.hostAndPortGroup}/${mguri.database}?maxPoolSize=${mguri.maxPoolSize}&maxIdleTimeMS=6000
+spring.data.mongodb.uri=mongodb://${mguri.username}:${mguri.password}@${mguri.hostAndPortGroup}/${mguri.database}?replicaSet=mgset-2892097&maxPoolSize=${mguri.maxPoolSize}&maxIdleTimeMS=6000
 #
 # ********** rocket mq config **********
 #
@@ -81,11 +81,11 @@ $report.enable=true
 $report.mq-type=rocketmq
 $rocketmq-accesskey=accesskey
 $rocketmq-secretkey=secretkey
-$rocketmq-namesrv-addr=192.168.10.240:9876
+$rocketmq-namesrv-addr=192.168.12.243:9876
 #
 # ********** job center config **********
 #
-xxl.job.admin.addresses=http://192.168.10.240:8800/job-admin
+xxl.job.admin.addresses=http://192.168.12.243:8800/job-admin
 xxl.job.accessToken=91b4ab2460dfee5bc88e377a735551c5
 xxl.job.executor.logpath=dataDir/job-handler
 xxl.job.executor.logretentiondays=30
@@ -143,13 +143,13 @@ examcloud.data.rule.enable=true
 # ********** file storage config **********
 #
 examcloud.fss.type=ALIYUN_OSS
-examcloud.fss.bucket=examcloud-test
+examcloud.fss.bucket=qmth-pre-examcloud
 examcloud.fss.regionId=oss-cn-shenzhen
 examcloud.fss.endpoint=https://${examcloud.fss.regionId}.aliyuncs.com
-examcloud.fss.internalEndpoint=https://${examcloud.fss.regionId}.aliyuncs.com
-examcloud.fss.accessKeyId=LTAI4FboXLCJzrjVo5dUoXaU
-examcloud.fss.accessKeySecret=O0my6eSAl1Ic62WvxEf3WlMXox1LNX
-examcloud.fss.urlPrefix=https://ecs-test-static.qmth.com.cn
+examcloud.fss.internalEndpoint=https://${examcloud.fss.regionId}-internal.aliyuncs.com
+examcloud.fss.accessKeyId=LTAI5t85V74i5MtLYZdcrxXp
+examcloud.fss.accessKeySecret=VLXXFydMDAXrzD33J3zDr4KDHGuAW6
+examcloud.fss.urlPrefix=https://file.exam-cloud.site
 
 # Deprecated config
 $upyun.site.1.bucketName=exam-cloud-test
@@ -158,17 +158,17 @@ $upyun.site.1.domain=https://ecs-test-static-upyun.qmth.com.cn
 $upyun.site.1.domain.backup=https://ecs-test-static-upyun.qmth.com.cn
 $upyun.site.1.password=JEXAA7dvQZse8YxecjNKdU3UoDCqPkuc
 
-$aliyun.site.1.bucket=examcloud-test
-$aliyun.site.1.ossEndpoint=https://oss-cn-shenzhen.aliyuncs.com
-$aliyun.site.1.accessKeyId=LTAI4FboXLCJzrjVo5dUoXaU
-$aliyun.site.1.accessKeySecret=O0my6eSAl1Ic62WvxEf3WlMXox1LNX
-$aliyun.site.1.domain=https://ecs-test-static.qmth.com.cn
+$aliyun.site.1.bucket=qmth-pre-examcloud
+$aliyun.site.1.ossEndpoint=https://oss-cn-shenzhen-internal.aliyuncs.com
+$aliyun.site.1.accessKeyId=LTAI5t85V74i5MtLYZdcrxXp
+$aliyun.site.1.accessKeySecret=VLXXFydMDAXrzD33J3zDr4KDHGuAW6
+$aliyun.site.1.domain=https://file.exam-cloud.site
 
-$aliyun.site.2.bucket=examcloud-test
+$aliyun.site.2.bucket=qmth-pre-examcloud
 $aliyun.site.2.ossEndpoint=https://oss-cn-shenzhen.aliyuncs.com
-$aliyun.site.2.accessKeyId=LTAI4FboXLCJzrjVo5dUoXaU
-$aliyun.site.2.accessKeySecret=O0my6eSAl1Ic62WvxEf3WlMXox1LNX
-$aliyun.site.2.domain=https://ecs-test-static.qmth.com.cn
+$aliyun.site.2.accessKeyId=LTAI5t85V74i5MtLYZdcrxXp
+$aliyun.site.2.accessKeySecret=VLXXFydMDAXrzD33J3zDr4KDHGuAW6
+$aliyun.site.2.domain=https://file.exam-cloud.site
 
 $upyun.site.num=1
 $aliyun.site.num=2