mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-13 21:06:48 +08:00
test
This commit is contained in:
181
servers/boe-server-all/src/main/resources/application-test.yml
Normal file
181
servers/boe-server-all/src/main/resources/application-test.yml
Normal file
@@ -0,0 +1,181 @@
|
|||||||
|
spring:
|
||||||
|
# application.yml
|
||||||
|
servlet:
|
||||||
|
multipart:
|
||||||
|
max-file-size: 1000MB
|
||||||
|
max-request-size: 1000MB
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
discovery:
|
||||||
|
server-addr: 10.251.186.27:8848
|
||||||
|
config:
|
||||||
|
server-addr: 10.251.186.27:8848
|
||||||
|
redis:
|
||||||
|
database: 1
|
||||||
|
host: 10.251.160.38
|
||||||
|
password: qwert!W577
|
||||||
|
port: 6379
|
||||||
|
lettuce:
|
||||||
|
pool:
|
||||||
|
max-active: 8
|
||||||
|
min-idle: 0
|
||||||
|
max-idle: 30
|
||||||
|
max-wait: 10000ms
|
||||||
|
shutdown-timeout: 100ms
|
||||||
|
jpa:
|
||||||
|
database: MYSQL
|
||||||
|
properties:
|
||||||
|
hibernate:
|
||||||
|
naming_strategy: org.hibernate.cfg.EJB3NamingStrategy
|
||||||
|
dialect: org.hibernate.dialect.MySQL5InnoDBDialect
|
||||||
|
current_session_context_class: org.springframework.orm.hibernate5.SpringSessionContext
|
||||||
|
show-sql: true
|
||||||
|
hibernate:
|
||||||
|
ddl-auto: update
|
||||||
|
datasource:
|
||||||
|
driverClassName: com.mysql.cj.jdbc.Driver
|
||||||
|
url: jdbc:mysql://10.251.160.40:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
||||||
|
username: admin
|
||||||
|
password: boeRds01
|
||||||
|
web:
|
||||||
|
resources:
|
||||||
|
static-locations: file:E:/Projects/BOE/10/static
|
||||||
|
server:
|
||||||
|
port: 9090
|
||||||
|
tomcat:
|
||||||
|
uri-encoding: UTF-8
|
||||||
|
servlet:
|
||||||
|
multipart:
|
||||||
|
maxFileSize: 1024MB
|
||||||
|
maxRequestSize: 1024MB
|
||||||
|
mvc:
|
||||||
|
static-path-pattern: /cdn/**
|
||||||
|
|
||||||
|
#logging.level.org.hibernate.SQL=DEBUG
|
||||||
|
#logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
||||||
|
#logging.config=classpath:log/logback-@profileActive@.xml
|
||||||
|
|
||||||
|
# logging:
|
||||||
|
# config: classpath:log/logback-${spring.profiles.active}.xml
|
||||||
|
# level:
|
||||||
|
# org:
|
||||||
|
# hibernate:
|
||||||
|
# SQL: DEBUG
|
||||||
|
# type:
|
||||||
|
# descriptor:
|
||||||
|
# sql:
|
||||||
|
# BasicBinder: TRACE
|
||||||
|
|
||||||
|
xcaching:
|
||||||
|
specs:
|
||||||
|
favorites:
|
||||||
|
timeout: 10s
|
||||||
|
praises:
|
||||||
|
timeout: 10s
|
||||||
|
shares:
|
||||||
|
timeout: 10s
|
||||||
|
|
||||||
|
xboe:
|
||||||
|
api:
|
||||||
|
cross_filter: true
|
||||||
|
local:
|
||||||
|
dev: true
|
||||||
|
upload:
|
||||||
|
file:
|
||||||
|
temp_path: /tmp
|
||||||
|
save_path: /home/www/elearning/upload
|
||||||
|
http_path: http://10.251.186.27/upload
|
||||||
|
externalinterface:
|
||||||
|
url:
|
||||||
|
system: http://localhost:9091
|
||||||
|
old:
|
||||||
|
base:
|
||||||
|
url: http://10.251.186.27
|
||||||
|
server:
|
||||||
|
userbasic:
|
||||||
|
url: http://10.251.186.27/userbasic
|
||||||
|
stat:
|
||||||
|
base:
|
||||||
|
url: http://10.251.186.27:9080
|
||||||
|
elasticsearch:
|
||||||
|
server:
|
||||||
|
ip: 10.251.129.25
|
||||||
|
port: 9200
|
||||||
|
user:
|
||||||
|
password:
|
||||||
|
email:
|
||||||
|
url: http://10.251.186.27/api/b1/email/send
|
||||||
|
from: boeu_learning@boe.com.cn
|
||||||
|
user:
|
||||||
|
security:
|
||||||
|
|
||||||
|
jasypt:
|
||||||
|
encryptor:
|
||||||
|
algorithm: PBEWithMD5AndDES
|
||||||
|
iv-generator-classname: org.jasypt.iv.NoIvGenerator
|
||||||
|
|
||||||
|
boe:
|
||||||
|
domain: http://10.251.186.27
|
||||||
|
|
||||||
|
ok:
|
||||||
|
http:
|
||||||
|
connect-timeout: 30
|
||||||
|
read-timeout: 30
|
||||||
|
write-timeout: 30
|
||||||
|
max-idle-connections: 200
|
||||||
|
keep-alive-duration: 300
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
orgTree:
|
||||||
|
orgTreeList: ${boe.domain}/userbasic/org/list
|
||||||
|
orgChildTreeList: ${boe.domain}/userbasic/org/childOrgs
|
||||||
|
|
||||||
|
userBasic:
|
||||||
|
searchUserList: ${boe.domain}/userbasic/user/list
|
||||||
|
getUserBasicInfo: ${boe.domain}/userbasic/user/getUserBasicInfo
|
||||||
|
getTeacherIds: ${boe.domain}/userbasic/user/getTeacherInfo
|
||||||
|
|
||||||
|
audience:
|
||||||
|
usersByAudienceList: ${boe.domain}/userbasic/audience/memberList
|
||||||
|
getOrgUsers: ${boe.domain}/userbasic/user/getOrgUsers
|
||||||
|
|
||||||
|
statApi:
|
||||||
|
userdynamicList: ${boe.domain}/statApi/xboe/m/stat/userdynamic/list
|
||||||
|
|
||||||
|
infrasApi:
|
||||||
|
dict: ${boe.domain}/infrasApi/dict/list
|
||||||
|
|
||||||
|
manageApi:
|
||||||
|
stu:
|
||||||
|
offcourse: ${boe.domain}/manageApi/stu/offcourse/getOffCourseId
|
||||||
|
editExam: ${boe.domain}/manageApi/admin/project/editExam
|
||||||
|
getStudyStatus: ${boe.domain}/manageApi/stu/project/completeStatus
|
||||||
|
coursesuilt:
|
||||||
|
getStudyStatus: ${boe.domain}/manageApi/stu/project/completeStatus
|
||||||
|
|
||||||
|
xxl:
|
||||||
|
job:
|
||||||
|
admin:
|
||||||
|
addresses: http://10.251.186.27/jobAdmin
|
||||||
|
accessToken: 65ddc683-22f5-83b4-de3a-3c97a0a29af0
|
||||||
|
executor:
|
||||||
|
appname: java-servers-job-api
|
||||||
|
port: 9995
|
||||||
|
address:
|
||||||
|
ip:
|
||||||
|
logpath: /var/log/xxl-job/system/
|
||||||
|
logretentiondays: 30
|
||||||
|
|
||||||
|
aop-log-record:
|
||||||
|
#是否开启日志记录
|
||||||
|
enabled: true
|
||||||
|
#不进行拦截的包或者类
|
||||||
|
excludeClassNames:
|
||||||
|
activemq:
|
||||||
|
broker-url: tcp://10.251.129.25:61616
|
||||||
|
user: admin
|
||||||
|
password: admin
|
||||||
|
elasticsearch:
|
||||||
|
host: 10.251.129.25
|
||||||
|
port: 9200
|
||||||
Reference in New Issue
Block a user