Skip to content

Commit c6eb0ce

Browse files
committed
Update config.
1 parent bc72f11 commit c6eb0ce

File tree

4 files changed

+84
-24
lines changed

4 files changed

+84
-24
lines changed

conf/application-dss.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
21
eureka:
32
client:
3+
registry-fetch-interval-seconds: 8
44
serviceUrl:
55
defaultZone: http://127.0.0.1:20303/eureka/
6-
#instance:
7-
#prefer-ip-address: true
8-
#instance-id: ${spring.cloud.client.ip-address}:${server.port}
9-
#metadata-map:
10-
#test: wedatasphere
6+
instance:
7+
lease-renewal-interval-in-seconds: 4
8+
lease-expiration-duration-in-seconds: 12
119

1210
management:
1311
endpoints:
@@ -17,7 +15,13 @@ management:
1715
logging:
1816
config: classpath:log4j2.xml
1917

20-
#mybatis:
21-
# configuration:
22-
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
18+
ribbon:
19+
ReadTimeout: 300000
20+
ConnectTimeout: 300000
2321

22+
feign:
23+
client:
24+
config:
25+
default:
26+
connectTimeout: 90000
27+
readTimeout: 90000

conf/dss-apps-server.properties

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ wds.linkis.server.mybatis.typeAliasesPackage=com.webank.wedatasphere.dss.apiserv
88
wds.linkis.server.mybatis.BasePackage=com.webank.wedatasphere.dss.apiservice.core.dao,com.webank.wedatasphere.dss.scriptis.dao,com.webank.wedatasphere.dss.guide.server.dao
99
wds.linkis.server.restful.scan.packages=com.webank.wedatasphere.dss.apiservice.core.restful,com.webank.wedatasphere.dss.scriptis.restful,com.webank.wedatasphere.dss.guide.server.restful
1010

11-
#?????datasource??
11+
wds.linkis.server.version=v1
1212
wds.linkis.datasource.hikari.maximumPoolSize=100
1313
wds.linkis.datasource.hikari.minimumIdle=10
1414

@@ -25,15 +25,5 @@ spring.jackson.time-zone=GMT+8
2525
## guide_images_path
2626
guide.content.images.path=/opt/dss/dss-guide-server/guide_images/
2727
guide.chapter.images.path=/opt/dss/dss-guide-server/guide_images/
28-
#gitbook
29-
#The machine where the file exists
30-
target.ip.address=127.0.0.1
31-
#The file path of the machine where the file is stored
32-
host.gitbook.path=/appcom/Install/ApacheInstall/gitbook_books/_book
33-
#The path to copy the file to the current machine
34-
target.gitbook.path=/appcom/Install/ApacheInstall/gitbook_books
35-
#SUMMARY.md ignore absolve
36-
summary.ignore.model=km
37-
#sync model include: gitbook or database
38-
guide.sync.model=gitbook
28+
3929

conf/dss-server.properties

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Spring configurations
2+
wds.dss.appconn.framework.ismanager=true
3+
spring.server.port=9503
4+
spring.spring.application.name=dss-server-dev
5+
6+
wds.linkis.log.clear=true
7+
8+
wds.linkis.server.version=v1
9+
10+
##restful
11+
wds.linkis.server.restful.scan.packages=com.webank.wedatasphere.dss.framework.workspace.restful,com.webank.wedatasphere.dss.framework.project.restful,com.webank.wedatasphere.dss.framework.release.restful,com.webank.wedatasphere.dss.framework.appconn.restful,com.webank.wedatasphere.dss.framework.admin.restful,com.webank.wedatasphere.dss.orchestrator.server.restful,com.webank.wedatasphere.dss.flow.execution.entrance.restful,com.webank.wedatasphere.dss.workflow.restful
12+
13+
##mybatis
14+
wds.linkis.server.mybatis.mapperLocations=classpath*:com/webank/wedatasphere/dss/framework/workspace/dao/impl/*.xml,classpath*:com/webank/wedatasphere/dss/framework/project/dao/impl/*Mapper.xml,classpath*:com/webank/wedatasphere/dss/framework/release/dao/impl/*.xml,classpath*:com/webank/wedatasphere/dss/framework/admin/xml/impl/*.xml,classpath*:com/webank/wedatasphere/dss/framework/appconn/dao/impl/*.xml,classpath*:com/webank/wedatasphere/dss/orchestrator/core/dao/impl/*.xml,classpath*:com/webank/wedatasphere/dss/server/dao/impl/*.xml,classpath*:com/webank/wedatasphere/dss/application/dao/impl/*.xml,classpath*:com/webank/wedatasphere/dss/workspace/mapper/impl/*.xml,classpath*:com/webank/wedatasphere/dss/workspace/common/dao/impl/*.xml,classpath*:com/webank/wedatasphere/dss/orchestrator/db/dao/impl/*.xml,classpath*:com/webank/wedatasphere/dss/flow/execution/entrance/dao/impl/*.xml,classpath*:org/apache/linkis/jobhistory/dao/impl/*.xml,classpath*:com/webank/wedatasphere/dss/workflow/dao/impl/*.xml,classpath*:com/webank/wedatasphere/dss/scriptis/dao/mapper/*.xml,classpath*:com/webank/wedatasphere/dss/common/dao/impl/*.xml
15+
16+
wds.linkis.server.mybatis.typeAliasesPackage=com.webank.wedatasphere.dss.application.entity,com.webank.wedatasphere.dss.common.entity,com.webank.wedatasphere.dss.framework.workspace.bean,com.webank.wedatasphere.dss.framework.project.entity,com.webank.wedatasphere.dss.framework.appconn.entity,com.webank.wedatasphere.dss.framework.release.entity,com.webank.wedatasphere.dss.framework.admin.pojo.entity,com.webank.wedatasphere.dss.server.entity,com.webank.wedatasphere.dss.application.entity,com.webank.wedatasphere.dss.framework.appconn.entity,com.webank.wedatasphere.dss.workflow.entity,com.webank.wedatasphere.dss.framework.appconn.entity,com.webank.wedatasphere.dss.scriptis.pojo.entity,com.webank.wedatasphere.dss.common.entity
17+
18+
wds.linkis.server.mybatis.BasePackage=com.webank.wedatasphere.dss.framework.workspace.dao,com.webank.wedatasphere.dss.application.dao,com.webank.wedatasphere.dss.framework.project.dao,com.webank.wedatasphere.dss.framework.appconn.dao,com.webank.wedatasphere.dss.framework.release.dao,com.webank.wedatasphere.dss.orchestrator.db.dao,com.webank.wedatasphere.dss.framework.admin.xml,com.webank.wedatasphere.dss.common.server.dao,com.webank.wedatasphere.dss.orchestrator.core.dao,com.webank.wedatasphere.dss.server.dao,com.webank.wedatasphere.dss.application.dao,com.webank.wedatasphere.dss.workspace.mapper,com.webank.wedatasphere.dss.workspace.common.dao,com.webank.wedatasphere.dss.workspace.common.dao,com.webank.wedatasphere.dss.orchestrator.db.dao,com.webank.wedatasphere.dss.flow.execution.entrance.dao,org.apache.linkis.jobhistory.dao,com.webank.wedatasphere.dss.workflow.dao,com.webank.wedatasphere.dss.scriptis.dao,com.webank.wedatasphere.dss.common.dao
19+
20+
####project
21+
wds.dss.appconn.checker.development.ignore.list=orchestrator-framework,workflow,sendemail
22+
wds.dss.appconn.checker.project.ignore.list=visualis
23+
24+
####exclude appconn
25+
wds.dss.appconn.disabled=exchangis
26+
27+
##import file dir
28+
wds.dss.server.scheduling.clear.cs.cron=0/5 * * * * ?
29+
30+
wds.dss.publish.max.remain.version=10
31+
32+
####workflow
33+
wds.dss.appconn.scheduler.project.store.dir=file:///appcom/tmp/wds/scheduler
34+
wds.dss.appconn.scheduler.azkaban.login.passwd=userpwd
35+
##import file dir
36+
wds.dss.file.upload.dir=/appcom/tmp/uploads
37+
wds.dss.server.flow.edit.lock.timeout=180000
38+
39+
wds.dss.server.export.env=DEV
40+
wds.dss.server.import.env=DEV
41+
42+
###flow-execution
43+
wds.linkis.engine.application.name=flowExecutionEngine
44+
wds.linkis.enginemanager.application.name=flowExecution
45+
46+
wds.linkis.query.application.name=linkis-ps-publicservice
47+
wds.linkis.jobhistory.application.name=linkis-ps-publicservice
48+
wds.linkis.console.config.application.name=linkis-ps-publicservice
49+
wds.linkis.engine.creation.wait.time.max=20m
50+
51+
#hadoop config dir
52+
wds.linkis.entrance.config.log.path=hdfs:///appcom/logs/linkis
53+
wds.linkis.resultSet.store.path=hdfs:///tmp/linkis
54+
55+
wds.linkis.server.socket.mode=true
56+
57+
wds.linkis.client.flow.adminuser=ws
58+
wds.linkis.client.flow.author.user.token=172.0.0.1
59+
60+
wds.linkis.server.component.exclude.classes=org.apache.linkis.entranceclient.conf.ClientForEntranceSpringConfiguration,org.apache.linkis.entranceclient.conf.ClientSpringConfiguration
61+
62+
wds.linkis.server.component.exclude.packages=org.apache.linkis.entrance.restful.
63+
64+
spring.spring.main.allow-bean-definition-overriding=true
65+
66+
wds.linkis.flow.job.creator.v1=nodeexecution

conf/dss.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ wds.linkis.server.mybatis.datasource.url=
2424
wds.linkis.server.mybatis.datasource.username=
2525
***REMOVED***
2626

27-
wds.dss.esb.appid=
28-
wds.dss.esb.token=
27+
wds.dss.check.server.active.period=30
2928

3029
wds.dss.appconn.scheduler.job.label=dev
3130

32-
3331
wds.linkis.reflect.scan.package=org.apache.linkis,com.webank.wedatasphere.dss
3432
spring.spring.mvc.servlet.path=/api/rest_j/v1
3533
spring.spring.servlet.multipart.max-file-size=200MB
3634
spring.spring.servlet.multipart.max-request-size=200MB
3735
wds.dss.project.strict.mode=true
36+
wds.linkis.rpc.spring.params.enable=true
37+
wds.linkis.gateway.conf.publicservice.list=query,application,filesystem,udf,variable,microservice

0 commit comments

Comments
 (0)