|
@@ -1,5 +1,3 @@
|
|
|
-spring.profiles.active: dev
|
|
|
-
|
|
|
spring:
|
|
|
cache:
|
|
|
guava:
|
|
@@ -21,277 +19,6 @@ spring:
|
|
|
# The SQL dialect makes Hibernate generate better SQL for the chosen database
|
|
|
properties.hibernate.dialect: org.hibernate.dialect.MySQL5Dialect
|
|
|
|
|
|
-oss:
|
|
|
- endPoint: http://oss-cn-shanghai.aliyuncs.com
|
|
|
- accessKeyId: IvS323TIcWUT57MG
|
|
|
- accessKeySecret: dYml7rvT8stQkoSjMYlfRTxNj9dEsI
|
|
|
- region: oss-cn-shanghai
|
|
|
- expireTime: 600
|
|
|
- roleArn: acs:ram::1525065817051996:role/oss-archive
|
|
|
-
|
|
|
----
|
|
|
-# 开发环境
|
|
|
-spring:
|
|
|
- profiles: dev
|
|
|
- datasource:
|
|
|
- url: jdbc:mysql://101.37.175.111:3306/mooctest_main_dev?useUnicode=yes&characterEncoding=UTF-8
|
|
|
- username: mooctest
|
|
|
- password: secr3t!
|
|
|
- dubbo:
|
|
|
- application.name: local-dubbo-main-site-provider-consumer3
|
|
|
- registry.address: zookeeper://118.178.131.206:2181
|
|
|
- protocol.name: dubbo
|
|
|
- protocol.port: 20884
|
|
|
- scan: cn.iselab.mooctest.site.rpc
|
|
|
- monitor.protocol: registry
|
|
|
- timeout: 120000
|
|
|
- rabbitmq:
|
|
|
- host: 106.14.81.62
|
|
|
- port: 5672
|
|
|
- username: test
|
|
|
- password: test
|
|
|
- virtual-host: dev
|
|
|
- redis:
|
|
|
- host: 106.14.81.62
|
|
|
- port: 6379
|
|
|
- password:
|
|
|
- pool:
|
|
|
- max-active: 8
|
|
|
- max-wait: -1
|
|
|
- max-idle: 8
|
|
|
- min-idle: 0
|
|
|
-
|
|
|
-featureSwitch:
|
|
|
- default:
|
|
|
- role: worker
|
|
|
- client:
|
|
|
- sms: true
|
|
|
- email: true
|
|
|
- oss: true
|
|
|
- webide: true
|
|
|
- server:
|
|
|
- rpcDevService: true
|
|
|
- mongoServer: true
|
|
|
- UserService: true
|
|
|
- enableRabbitListener: false
|
|
|
- initExamScheduler: false
|
|
|
-
|
|
|
-mongodb:
|
|
|
- host: 114.55.91.27
|
|
|
- port: 80
|
|
|
- db: testGraph
|
|
|
- reportCollection: report
|
|
|
- mutationCollection: mutation
|
|
|
- caseGraghCollection: caseGraph
|
|
|
- caughtNodeCollection: caughtNode
|
|
|
- userCatchCollection: userCatch
|
|
|
- catchCollection: catch
|
|
|
- sumCatchCollection: sumCatch
|
|
|
- competeAnalysisCollection: competeAnalysisResult
|
|
|
- difficultAnalysisCollection: difficultAnalysisResult
|
|
|
- timeAnalysisCollection: timeAnalysisResult
|
|
|
- targetGraphCollection: targetGraph
|
|
|
- base64Auth: Basic YWRtaW46Y2hhbmdlaXQ=
|
|
|
-
|
|
|
-oss:
|
|
|
- bucketName:
|
|
|
- dev: mooctest-dev
|
|
|
- static: mooctest-mutation
|
|
|
- main: mooctest-site-dev
|
|
|
- target: kikbug-public
|
|
|
- bucket: mooctest-site-dev
|
|
|
-
|
|
|
-server:
|
|
|
- port: 8080
|
|
|
-
|
|
|
-logging.config: classpath:log4j2.yaml
|
|
|
-#logging.access.enabled: false
|
|
|
-
|
|
|
-host: http://local.mooctest.net
|
|
|
-
|
|
|
-webIDE:
|
|
|
- address: 47.97.4.113:8000
|
|
|
-
|
|
|
-celeryServer:
|
|
|
- host: 106.14.81.62
|
|
|
- port: 5000
|
|
|
----
|
|
|
-# 测试服务环境
|
|
|
-spring:
|
|
|
- profiles: pre
|
|
|
- datasource:
|
|
|
- url: jdbc:mysql://106.14.81.62:3306/mooctest_main_dev?useUnicode=yes&characterEncoding=UTF-8
|
|
|
- username: root
|
|
|
- password: secr3t!0525
|
|
|
- dubbo:
|
|
|
- application.name: pre-dubbo-main-site-provider-consumer
|
|
|
- registry.address: zookeeper://118.178.131.206:2181
|
|
|
- protocol.name: dubbo
|
|
|
- protocol.port: 20883
|
|
|
- protocol.host: 106.14.81.62
|
|
|
- scan: cn.iselab.mooctest.site.rpc
|
|
|
- monitor.protocal: registry
|
|
|
- rabbitmq:
|
|
|
- host: 121.199.32.102
|
|
|
- port: 5672
|
|
|
- username: mooctest
|
|
|
- password: mooctestPassword
|
|
|
- virtual-host: testhost
|
|
|
- redis:
|
|
|
- host: 106.14.81.62
|
|
|
- port: 6379
|
|
|
- password:
|
|
|
- pool:
|
|
|
- max-active: 8
|
|
|
- max-wait: -1
|
|
|
- max-idle: 8
|
|
|
- min-idle: 0
|
|
|
-
|
|
|
-featureSwitch:
|
|
|
- default:
|
|
|
- role: worker
|
|
|
- client:
|
|
|
- sms: true
|
|
|
- email: true
|
|
|
- oss: true
|
|
|
- webide: true
|
|
|
- server:
|
|
|
- rpcDevService: true
|
|
|
- mongoServer: true
|
|
|
- UserService: true
|
|
|
- enableRabbitListener: true
|
|
|
- initExamScheduler: true
|
|
|
-
|
|
|
-mongodb:
|
|
|
- host: 114.55.91.27
|
|
|
- port: 80
|
|
|
- db: testGraph
|
|
|
- reportCollection: report
|
|
|
- mutationCollection: mutation
|
|
|
- caseGraghCollection: caseGraph
|
|
|
- caughtNodeCollection: caughtNode
|
|
|
- userCatchCollection: userCatch
|
|
|
- catchCollection: catch
|
|
|
- sumCatchCollection: sumCatch
|
|
|
- competeAnalysisCollection: competeAnalysisResult
|
|
|
- difficultAnalysisCollection: difficultAnalysisResult
|
|
|
- timeAnalysisCollection: timeAnalysisResult
|
|
|
- targetGraphCollection: targetGraph
|
|
|
- base64Auth: Basic YWRtaW46Y2hhbmdlaXQ=
|
|
|
-
|
|
|
-oss:
|
|
|
- bucketName:
|
|
|
- dev: mooctest-dev
|
|
|
- static: mooctest-mutation
|
|
|
- main: mooctest-site-test
|
|
|
- target: kikbug-public
|
|
|
- bucket: mooctest-site-test
|
|
|
-
|
|
|
-server:
|
|
|
- port: 9001
|
|
|
-
|
|
|
-logging.config: classpath:log4j2.online.yaml
|
|
|
-logging.access.directory: /home/shared/log
|
|
|
-
|
|
|
-spring.jpa.show-sql: false
|
|
|
-
|
|
|
-host: http://test.mooctest.net
|
|
|
-
|
|
|
-webIDE:
|
|
|
- address: 47.97.4.113:8000
|
|
|
-
|
|
|
-celeryServer:
|
|
|
- host: 121.199.32.102
|
|
|
- port: 5001
|
|
|
-
|
|
|
----
|
|
|
-# 线上服务环境
|
|
|
-spring:
|
|
|
- profiles: online
|
|
|
- datasource:
|
|
|
- url: jdbc:mysql://10.24.153.13/mooctest_main?useUnicode=yes&characterEncoding=UTF-8
|
|
|
- username: liuzicong
|
|
|
- password: secr3t!
|
|
|
- dubbo:
|
|
|
- application.name: dubbo-consumer-online
|
|
|
- registry.address: zookeeper://118.178.131.206:2181
|
|
|
- protocol.name: dubbo
|
|
|
- protocol.port: 20880
|
|
|
- protocol.host: 114.55.91.83
|
|
|
- scan: cn.iselab.mooctest.site.rpc
|
|
|
- rabbitmq:
|
|
|
- host: 121.199.32.102
|
|
|
- port: 5672
|
|
|
- username: mooctest
|
|
|
- password: mooctestPassword
|
|
|
- virtual-host: proj
|
|
|
- redis:
|
|
|
- host: 106.14.81.62
|
|
|
- port: 6379
|
|
|
- password:
|
|
|
- pool:
|
|
|
- max-active: 8
|
|
|
- max-wait: -1
|
|
|
- max-idle: 8
|
|
|
- min-idle: 0
|
|
|
-
|
|
|
-featureSwitch:
|
|
|
- default:
|
|
|
- role: worker
|
|
|
- client:
|
|
|
- sms: true
|
|
|
- email: true
|
|
|
- oss: true
|
|
|
- webide: true
|
|
|
- server:
|
|
|
- rpcDevService: true
|
|
|
- mongoServer: true
|
|
|
- UserService: true
|
|
|
- enableRabbitListener: true
|
|
|
- initExamScheduler: true
|
|
|
-
|
|
|
-mongodb:
|
|
|
- host: 114.55.91.27
|
|
|
- port: 80
|
|
|
- db: testdb
|
|
|
- reportCollection: report
|
|
|
- mutationCollection: mutation
|
|
|
- caseGraghCollection: caseGraph
|
|
|
- caughtNodeCollection: caughtNode
|
|
|
- userCatchCollection: userCatch
|
|
|
- catchCollection: catch
|
|
|
- sumCatchCollection: sumCatch
|
|
|
- competeAnalysisCollection: competeAnalysisResult
|
|
|
- difficultAnalysisCollection: difficultAnalysisResult
|
|
|
- timeAnalysisCollection: timeAnalysisResult
|
|
|
- targetGraphCollection: targetGraph
|
|
|
- base64Auth: Basic YWRtaW46Y2hhbmdlaXQ=
|
|
|
-
|
|
|
-oss:
|
|
|
- bucketName:
|
|
|
- dev: mooctest-dev
|
|
|
- static: mooctest-mutation
|
|
|
- main: mooctest-site
|
|
|
- target: kikbug-public
|
|
|
- bucket: mooctest-site
|
|
|
-
|
|
|
-server:
|
|
|
- port: 8088
|
|
|
-
|
|
|
-logging.config: classpath:log4j2.online.yaml
|
|
|
-logging.access.directory: /home/shared/log
|
|
|
-
|
|
|
-spring.jpa.show-sql: false
|
|
|
-
|
|
|
-host: http://www.mooctest.net
|
|
|
-
|
|
|
-webIDE:
|
|
|
- address: 47.97.4.113:8081
|
|
|
-
|
|
|
-celeryServer:
|
|
|
- host: 121.199.32.102
|
|
|
- port: 5000
|
|
|
-
|
|
|
---
|
|
|
# 私有云服务环境
|
|
|
spring:
|
|
@@ -314,23 +41,6 @@ featureSwitch:
|
|
|
enableRabbitListener: true
|
|
|
initExamScheduler: true
|
|
|
|
|
|
-mongodb:
|
|
|
- host: 114.55.91.27
|
|
|
- port: 80
|
|
|
- db: testdb
|
|
|
- reportCollection: report
|
|
|
- mutationCollection: mutation
|
|
|
- caseGraghCollection: caseGraph
|
|
|
- caughtNodeCollection: caughtNode
|
|
|
- userCatchCollection: userCatch
|
|
|
- catchCollection: catch
|
|
|
- sumCatchCollection: sumCatch
|
|
|
- competeAnalysisCollection: competeAnalysisResult
|
|
|
- difficultAnalysisCollection: difficultAnalysisResult
|
|
|
- timeAnalysisCollection: timeAnalysisResult
|
|
|
- targetGraphCollection: targetGraph
|
|
|
- base64Auth:
|
|
|
-
|
|
|
server:
|
|
|
port: 9001
|
|
|
|
|
@@ -340,10 +50,3 @@ logging.access.directory: /home/shared/log
|
|
|
spring.jpa.show-sql: false
|
|
|
|
|
|
host: http://www.mooctest.net
|
|
|
-
|
|
|
-
|
|
|
-dubbo:
|
|
|
- reference.id: UserService
|
|
|
- interface: cn.iselab.mooctest.rpc.user.api.UserService
|
|
|
- version: 1.0.15
|
|
|
- timeout: 12000
|