|
@@ -1,63 +1,69 @@
|
|
|
-#mvc
|
|
|
-server.port=2008
|
|
|
+#
|
|
|
+# ********** server config **********
|
|
|
+#
|
|
|
+server.port=8081
|
|
|
spring.application.name=EXAMCLOUD-OE-TOOL
|
|
|
-spring.main.allow-bean-definition-overriding=true
|
|
|
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
|
|
|
spring.jackson.time-zone=GMT+8
|
|
|
-
|
|
|
-#datasource
|
|
|
-dsurl.host=qmth-db4.mysql.rds.aliyuncs.com
|
|
|
-dsurl.port=3306
|
|
|
+spring.main.allow-bean-definition-overriding=true
|
|
|
+#
|
|
|
+# ********** redis config **********
|
|
|
+#
|
|
|
+spring.redis.host=192.168.10.139
|
|
|
+spring.redis.port=6379
|
|
|
+spring.redis.password=123456
|
|
|
+spring.redis.database=9
|
|
|
+#
|
|
|
+# ********** mongodb config **********
|
|
|
+#
|
|
|
+mguri.hostAndPortGroup=192.168.10.139:27017
|
|
|
+mguri.username=examcloud
|
|
|
+mguri.password=examcloud_123
|
|
|
+mguri.database=admin
|
|
|
+spring.data.mongodb.uri=mongodb://${mguri.username}:${mguri.password}@${mguri.hostAndPortGroup}/${mguri.database}
|
|
|
+# oe
|
|
|
+spring.data.mongodb.grid-fs-database=examcloud_core_oe
|
|
|
+spring.data.mongodb.database=examcloud_core_oe
|
|
|
+# question
|
|
|
+spring.data.mongodb.database=comm_ques_bank
|
|
|
+spring.data.mongodb.grid-fs-database=comm_ques_bank
|
|
|
+#
|
|
|
+# ********** 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=Examcloud123
|
|
|
+spring.datasource.username=root
|
|
|
+spring.datasource.password=root
|
|
|
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
|
|
|
-
|
|
|
-#druid
|
|
|
spring.datasource.druid.initial-size=5
|
|
|
-spring.datasource.druid.max-active=15
|
|
|
spring.datasource.druid.min-idle=5
|
|
|
-spring.datasource.druid.max-wait=2000
|
|
|
+spring.datasource.druid.max-active=50
|
|
|
+spring.datasource.druid.max-wait=3000
|
|
|
spring.datasource.druid.validation-query=SELECT 1
|
|
|
spring.datasource.druid.validation-query-timeout=2000
|
|
|
spring.datasource.druid.test-on-borrow=false
|
|
|
spring.datasource.druid.test-on-return=false
|
|
|
spring.datasource.druid.test-while-idle=true
|
|
|
-
|
|
|
-#mongodb
|
|
|
-mguri.hostAndPortGroup=dds-wz972dde5d2d78e433270.mongodb.rds.aliyuncs.com:3717
|
|
|
-mguri.username=exam-cloud-dev
|
|
|
-mguri.password=Examcloud123
|
|
|
-mguri.database=admin
|
|
|
-spring.data.mongodb.uri=mongodb://${mguri.username}:${mguri.password}@${mguri.hostAndPortGroup}/${mguri.database}
|
|
|
-spring.data.mongodb.grid-fs-database=examcloud-core-oe
|
|
|
-spring.data.mongodb.database=examcloud-core-oe
|
|
|
-#spring.data.mongodb.database=comm-ques-bank
|
|
|
-#spring.data.mongodb.grid-fs-database=comm-ques-bank
|
|
|
-
|
|
|
-#redis test env
|
|
|
-spring.redis.host=192.168.1.91
|
|
|
-spring.redis.port=6379
|
|
|
-spring.redis.password=jkhm45-UO8rFc-q2Eb90
|
|
|
-spring.redis.database=0
|
|
|
-
|
|
|
-#exchange
|
|
|
+spring.datasource.druid.time-between-eviction-runs-millis=60000
|
|
|
+spring.datasource.druid.min-evictable-idle-time-millis=300000
|
|
|
+spring.jpa.hibernate.ddl-auto=validate
|
|
|
+#
|
|
|
+# ********** exchange api config **********
|
|
|
+#
|
|
|
+qmth.server.host=192.168.10.240
|
|
|
+qmth.server.port=8007
|
|
|
qmth.rootOrgId=0
|
|
|
-qmth.secretKey=123456
|
|
|
qmth.appId=11
|
|
|
-qmth.server.host=192.168.1.91
|
|
|
-qmth.server.port=8007
|
|
|
-
|
|
|
-#fixParam's path
|
|
|
-fixAnswer.data.path=/home/admin/project/temp1.txt
|
|
|
-
|
|
|
-#获取断点续考的考试id
|
|
|
+qmth.secretKey=123456
|
|
|
+#
|
|
|
+# ********** other config **********
|
|
|
+#
|
|
|
+#\u83b7\u53d6\u65ad\u70b9\u7eed\u8003\u7684\u8003\u8bd5ID
|
|
|
getContiuedCount.examId=19
|
|
|
-#通用文件导出目录
|
|
|
+#\u901a\u7528\u6587\u4ef6\u5bfc\u51fa\u76ee\u5f55
|
|
|
file.export.path=/home/admin/project/
|
|
|
-
|
|
|
-
|
|
|
+fixAnswer.data.path=/home/admin/project/temp1.txt
|
|
|
|